mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 16:26:13 +02:00
🐛 Fix uppercase text and copy (#5821)
This commit is contained in:
parent
cd87cbe44e
commit
10174aa7bc
5 changed files with 14 additions and 13 deletions
|
@ -241,7 +241,7 @@ test.describe("Tokens: Tokens Tab", () => {
|
||||||
.click();
|
.click();
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
tokenThemeUpdateCreateModal.getByText("Changed" + "4 sets"),
|
tokenThemeUpdateCreateModal.getByText("Changed" + "4 active sets"),
|
||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
|
|
||||||
await tokenThemeUpdateCreateModal
|
await tokenThemeUpdateCreateModal
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
:on-click on-edit-theme}
|
:on-click on-edit-theme}
|
||||||
[:div {:class (stl/css :label-wrapper)}
|
[:div {:class (stl/css :label-wrapper)}
|
||||||
[:> text* {:as "span" :typography "body-medium"}
|
[:> text* {:as "span" :typography "body-medium"}
|
||||||
(tr "workspace.token.num-sets" sets-count)]
|
(tr "workspace.token.num-active-sets" sets-count)]
|
||||||
[:> icon* {:icon-id "arrow-right"}]]]
|
[:> icon* {:icon-id "arrow-right"}]]]
|
||||||
|
|
||||||
[:> button* {:class (stl/css :sets-count-empty-button)
|
[:> button* {:class (stl/css :sets-count-empty-button)
|
||||||
|
@ -144,7 +144,7 @@
|
||||||
:on-click on-edit-theme}
|
:on-click on-edit-theme}
|
||||||
[:div {:class (stl/css :label-wrapper)}
|
[:div {:class (stl/css :label-wrapper)}
|
||||||
[:> text* {:as "span" :typography "body-medium"}
|
[:> text* {:as "span" :typography "body-medium"}
|
||||||
(tr "workspace.token.no-sets")]
|
(tr "workspace.token.no-active-sets")]
|
||||||
[:> icon* {:icon-id "arrow-right"}]]])
|
[:> icon* {:icon-id "arrow-right"}]]])
|
||||||
|
|
||||||
[:> icon-button* {:on-click delete-theme
|
[:> icon-button* {:on-click delete-theme
|
||||||
|
|
|
@ -162,6 +162,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
text-transform: lowercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-theme-wrapper {
|
.edit-theme-wrapper {
|
||||||
|
|
|
@ -6575,9 +6575,9 @@ msgstr "You need to be an editor to activate / deactivate sets"
|
||||||
msgid "workspace.token.no-permission-themes"
|
msgid "workspace.token.no-permission-themes"
|
||||||
msgstr "You need to be an editor to use themes"
|
msgstr "You need to be an editor to use themes"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:146
|
#: src/app/main/ui/workspace/tokens/modals/themes.cljs
|
||||||
msgid "workspace.token.no-sets"
|
msgid "workspace.token.no-active-sets"
|
||||||
msgstr "No sets"
|
msgstr "No active sets"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/sets.cljs:401, src/app/main/ui/workspace/tokens/sets.cljs:405
|
#: src/app/main/ui/workspace/tokens/sets.cljs:401, src/app/main/ui/workspace/tokens/sets.cljs:405
|
||||||
msgid "workspace.token.no-sets-create"
|
msgid "workspace.token.no-sets-create"
|
||||||
|
@ -6596,8 +6596,8 @@ msgid "workspace.token.no-themes-currently"
|
||||||
msgstr "You currently have no themes."
|
msgstr "You currently have no themes."
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:137
|
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:137
|
||||||
msgid "workspace.token.num-sets"
|
msgid "workspace.token.num-active-sets"
|
||||||
msgstr "%s sets"
|
msgstr "%s active sets"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/token_pill.cljs:114
|
#: src/app/main/ui/workspace/tokens/token_pill.cljs:114
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
|
|
|
@ -6569,9 +6569,9 @@ msgstr "Debes ser editor para activar / desactivar sets"
|
||||||
msgid "workspace.token.no-permission-themes"
|
msgid "workspace.token.no-permission-themes"
|
||||||
msgstr "Debes ser editor para usar temas"
|
msgstr "Debes ser editor para usar temas"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:146
|
#: src/app/main/ui/workspace/tokens/modals/themes.cljs
|
||||||
msgid "workspace.token.no-sets"
|
msgid "workspace.token.no-active-sets"
|
||||||
msgstr "Aun no hay sets."
|
msgstr "No hay sets activos"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/sets.cljs:401, src/app/main/ui/workspace/tokens/sets.cljs:405
|
#: src/app/main/ui/workspace/tokens/sets.cljs:401, src/app/main/ui/workspace/tokens/sets.cljs:405
|
||||||
msgid "workspace.token.no-sets-create"
|
msgid "workspace.token.no-sets-create"
|
||||||
|
@ -6586,8 +6586,8 @@ msgid "workspace.token.no-themes-currently"
|
||||||
msgstr "Actualmente no existen temas."
|
msgstr "Actualmente no existen temas."
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:137
|
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:137
|
||||||
msgid "workspace.token.num-sets"
|
msgid "workspace.token.num-active-sets"
|
||||||
msgstr "%s sets"
|
msgstr "%s sets activos"
|
||||||
|
|
||||||
#: src/app/main/ui/workspace/tokens/token_pill.cljs:114
|
#: src/app/main/ui/workspace/tokens/token_pill.cljs:114
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue