0
Fork 0
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:
Andrey Antukh 2023-09-12 16:15:50 +02:00 committed by GitHub
commit b03492e187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"