diff --git a/CHANGES.md b/CHANGES.md index c4f89d6793..c8a3061d7e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -22,6 +22,7 @@ - Fix display error message on register form [Taiga #11444](https://tree.taiga.io/project/penpot/issue/11444) - Fix toggle focus mode did not restore viewport and selection upon exit [GitHub #6280](https://github.com/penpot/penpot/issues/6820) - Fix problem when creating a layout from an existing layout [Taiga #11554](https://tree.taiga.io/project/penpot/issue/11554) +- Fix title button from Title Case to Capitalize [Taiga #11476](https://tree.taiga.io/project/penpot/issue/11476) ## 2.8.0 diff --git a/frontend/src/app/main/ui/inspect/attributes/text.cljs b/frontend/src/app/main/ui/inspect/attributes/text.cljs index 82ad28fdf2..82ef17f97d 100644 --- a/frontend/src/app/main/ui/inspect/attributes/text.cljs +++ b/frontend/src/app/main/ui/inspect/attributes/text.cljs @@ -152,7 +152,7 @@ ;; Execution time translation strings: ;; (tr "inspect.attributes.typography.text-transform.lowercase") ;; (tr "inspect.attributes.typography.text-transform.none") - ;; (tr "inspect.attributes.typography.text-transform.titlecase") + ;; (tr "inspect.attributes.typography.text-transform.capitalize") ;; (tr "inspect.attributes.typography.text-transform.uppercase") ;; (tr "inspect.attributes.typography.text-transform.unset") [:div {:class (stl/css :global/attr-value)} diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs index f462aa9092..6f4db43e23 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.cljs @@ -426,7 +426,7 @@ [:& radio-button {:icon i/text-mixed :type "checkbox" :value "capitalize" - :title (tr "inspect.attributes.typography.text-transform.titlecase") + :title (tr "inspect.attributes.typography.text-transform.capitalize") :id "text-transform-capitalize"}] [:& radio-button {:icon i/text-lowercase :type "checkbox" diff --git a/frontend/translations/ar.po b/frontend/translations/ar.po index 4aac63df45..9c0ea74271 100644 --- a/frontend/translations/ar.po +++ b/frontend/translations/ar.po @@ -1171,7 +1171,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "لا شئ" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "حالة العنوان" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/ca.po b/frontend/translations/ca.po index b8fd14f457..488334359f 100644 --- a/frontend/translations/ca.po +++ b/frontend/translations/ca.po @@ -1102,7 +1102,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Cap" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Inicials en majúscules" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/cs.po b/frontend/translations/cs.po index ad0fc3aaa8..3728338cf1 100644 --- a/frontend/translations/cs.po +++ b/frontend/translations/cs.po @@ -1573,7 +1573,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Žádná" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "První písmena velká" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/de.po b/frontend/translations/de.po index 8f9bea9cf6..3a8e1e5c48 100644 --- a/frontend/translations/de.po +++ b/frontend/translations/de.po @@ -1670,7 +1670,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Keine" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Kapitälchen" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/el.po b/frontend/translations/el.po index 43e507612f..0a10a0ea34 100644 --- a/frontend/translations/el.po +++ b/frontend/translations/el.po @@ -619,7 +619,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Κανένα" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Πρώτα κεφαλαία" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 41d976df70..703bb3afd8 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -1705,8 +1705,8 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "None" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" -msgstr "Title Case" +msgid "inspect.attributes.typography.text-transform.capitalize" +msgstr "Capitalize" #: src/app/main/ui/inspect/attributes/text.cljs:157 msgid "inspect.attributes.typography.text-transform.unset" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index cf1fa0b593..06d0bd35c7 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -1723,7 +1723,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Ninguna" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Primera en mayúscula" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/eu.po b/frontend/translations/eu.po index db1d1a40b1..f3f6fd333e 100644 --- a/frontend/translations/eu.po +++ b/frontend/translations/eu.po @@ -1185,7 +1185,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Bat ere ez" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Lehenengoa letra larriz" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/fr.po b/frontend/translations/fr.po index 338e0fca5b..d8ca2e5505 100644 --- a/frontend/translations/fr.po +++ b/frontend/translations/fr.po @@ -1732,7 +1732,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Aucune" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Premières Lettres en Capitales" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/ha.po b/frontend/translations/ha.po index 237e81d759..d6bfe7635c 100644 --- a/frontend/translations/ha.po +++ b/frontend/translations/ha.po @@ -1243,7 +1243,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "babu" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "yadda ake rubuta batu" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/he.po b/frontend/translations/he.po index 8e653ae779..cde086b870 100644 --- a/frontend/translations/he.po +++ b/frontend/translations/he.po @@ -1667,7 +1667,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "ללא" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "ראשונות גדולות" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/hr.po b/frontend/translations/hr.po index d59e8256bd..98e2f044bb 100644 --- a/frontend/translations/hr.po +++ b/frontend/translations/hr.po @@ -1546,7 +1546,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Nikakav" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Velika i mala slova" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/id.po b/frontend/translations/id.po index 521651f0d2..ed77b3a781 100644 --- a/frontend/translations/id.po +++ b/frontend/translations/id.po @@ -1647,7 +1647,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Tidak ada" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Huruf Judul" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/ig.po b/frontend/translations/ig.po index 0bf63273e0..1d332b52d5 100644 --- a/frontend/translations/ig.po +++ b/frontend/translations/ig.po @@ -1091,7 +1091,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "None" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Mkpụrụ edemede isiokwu" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/it.po b/frontend/translations/it.po index 4f79876227..a67474a9cc 100644 --- a/frontend/translations/it.po +++ b/frontend/translations/it.po @@ -1716,7 +1716,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Nessuno" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Prime lettere maiuscole" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/lv.po b/frontend/translations/lv.po index 2aeec8243b..392f617f9c 100644 --- a/frontend/translations/lv.po +++ b/frontend/translations/lv.po @@ -1704,7 +1704,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Nav" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Virsraksta stils" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/ms.po b/frontend/translations/ms.po index 37a1b09d3c..681be70770 100644 --- a/frontend/translations/ms.po +++ b/frontend/translations/ms.po @@ -1290,7 +1290,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Tiada" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Huruf Tajuk" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/nl.po b/frontend/translations/nl.po index f6efacb9fb..21863b9ade 100644 --- a/frontend/translations/nl.po +++ b/frontend/translations/nl.po @@ -1716,7 +1716,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Geen" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Beginhoofdletters" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/pl.po b/frontend/translations/pl.po index 8819eb916a..0db427a2fa 100644 --- a/frontend/translations/pl.po +++ b/frontend/translations/pl.po @@ -1168,7 +1168,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Brak" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Kapitaliki" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/pt_BR.po b/frontend/translations/pt_BR.po index a01a15eb40..c9fcc84382 100644 --- a/frontend/translations/pt_BR.po +++ b/frontend/translations/pt_BR.po @@ -1529,7 +1529,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Nenhuma" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Iniciais em maiúsculas" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/pt_PT.po b/frontend/translations/pt_PT.po index 4d5cd8f515..c4a7cfb247 100644 --- a/frontend/translations/pt_PT.po +++ b/frontend/translations/pt_PT.po @@ -1571,7 +1571,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Nenhum" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Capitalização de Título" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/ro.po b/frontend/translations/ro.po index d22d27e93b..13fbd20591 100644 --- a/frontend/translations/ro.po +++ b/frontend/translations/ro.po @@ -1460,7 +1460,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Niciunul" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Majuscule Titlu" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/ru.po b/frontend/translations/ru.po index 1de036480e..8f90429a35 100644 --- a/frontend/translations/ru.po +++ b/frontend/translations/ru.po @@ -1502,7 +1502,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Какой есть" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Регистр Заголовка" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/sr.po b/frontend/translations/sr.po index 490e12aaf1..a84e2da29b 100644 --- a/frontend/translations/sr.po +++ b/frontend/translations/sr.po @@ -1341,7 +1341,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Ништа" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Насловно слово" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/sv.po b/frontend/translations/sv.po index 5457d900f8..8c62989802 100644 --- a/frontend/translations/sv.po +++ b/frontend/translations/sv.po @@ -1570,7 +1570,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Ingen" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Versalbörjan" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/tr.po b/frontend/translations/tr.po index 9043c54495..e77e6f7d6b 100644 --- a/frontend/translations/tr.po +++ b/frontend/translations/tr.po @@ -1372,7 +1372,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Hiçbiri" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "İlk Harfleri Büyük" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/ukr_UA.po b/frontend/translations/ukr_UA.po index da85ad6ace..e1ff028e2e 100644 --- a/frontend/translations/ukr_UA.po +++ b/frontend/translations/ukr_UA.po @@ -1716,7 +1716,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Який є" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Заголовковий регістр" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/yo.po b/frontend/translations/yo.po index 49cd4c6e78..ad0b90cb9b 100644 --- a/frontend/translations/yo.po +++ b/frontend/translations/yo.po @@ -1201,7 +1201,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "Kò sí" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "Àkọlé Lẹ́tà" #: src/app/main/ui/inspect/attributes/text.cljs:156, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:424 diff --git a/frontend/translations/zh_CN.po b/frontend/translations/zh_CN.po index 2e7c66f9ff..7aa111c3ea 100644 --- a/frontend/translations/zh_CN.po +++ b/frontend/translations/zh_CN.po @@ -1290,7 +1290,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "无" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "首字母大写" #: src/app/main/ui/inspect/attributes/text.cljs:157 diff --git a/frontend/translations/zh_Hant.po b/frontend/translations/zh_Hant.po index 02c1deb68a..e4846c0509 100644 --- a/frontend/translations/zh_Hant.po +++ b/frontend/translations/zh_Hant.po @@ -1510,7 +1510,7 @@ msgid "inspect.attributes.typography.text-transform.none" msgstr "無" #: src/app/main/ui/inspect/attributes/text.cljs:155, src/app/main/ui/workspace/sidebar/options/menus/typography.cljs:430 -msgid "inspect.attributes.typography.text-transform.titlecase" +msgid "inspect.attributes.typography.text-transform.capitalize" msgstr "詞首字母大寫" #: src/app/main/ui/inspect/attributes/text.cljs:157