0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 06:41:40 -05:00

🎉 Add main/copy label on component in right bar

This commit is contained in:
Pablo Alba 2023-09-08 12:16:00 +02:00
parent bc45b15b79
commit 79ecdebfee
4 changed files with 18 additions and 1 deletions

View file

@ -72,6 +72,7 @@
padding: $size-1;
width: 100%;
align-items: center;
justify-content: space-between;
}
}

View file

@ -219,7 +219,11 @@
(when show?
[:div.element-set
[:div.element-set-title
[:span (tr "workspace.options.component")]]
[:span (tr "workspace.options.component")]
[:span (if main-instance?
(tr "workspace.options.component.main")
(tr "workspace.options.component.copy"))]
]
[:div.element-set-content
[:div.row-flex.component-row
(if main-instance?

View file

@ -3396,6 +3396,12 @@ msgstr "Create an annotation"
msgid "workspace.options.component.edit-annotation"
msgstr "Edit an annotation"
msgid "workspace.options.component.main"
msgstr "MAIN"
msgid "workspace.options.component.copy"
msgstr "COPY"
#: src/app/main/ui/workspace/sidebar/options/menus/measures.cljs
msgid "workspace.options.constraints"
msgstr "Constraints"

View file

@ -3479,6 +3479,12 @@ msgstr "Crear una nota"
msgid "workspace.options.component.edit-annotation"
msgstr "Editar una nota"
msgid "workspace.options.component.main"
msgstr "PRINCIPAL"
msgid "workspace.options.component.copy"
msgstr "COPIA"
#: src/app/main/ui/workspace/sidebar/options/menus/measures.cljs
msgid "workspace.options.constraints"
msgstr "Restricciones"