mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
Merge pull request #3610 from penpot/palba-add-main-copy-label-to-component
🎉 Add main/copy label on component in right bar
This commit is contained in:
commit
b03492e187
4 changed files with 18 additions and 1 deletions
|
@ -72,6 +72,7 @@
|
|||
padding: $size-1;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue