🐛 Fix uppercase text and copy (#5821)

This commit is contained in:
Eva Marco 2025-02-11 16:46:17 +01:00 committed by GitHub
parent cd87cbe44e
commit 10174aa7bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 13 deletions

View file

@ -241,7 +241,7 @@ test.describe("Tokens: Tokens Tab", () => {
.click();
await expect(
tokenThemeUpdateCreateModal.getByText("Changed" + "4 sets"),
tokenThemeUpdateCreateModal.getByText("Changed" + "4 active sets"),
).toBeVisible();
await tokenThemeUpdateCreateModal

View file

@ -135,7 +135,7 @@
:on-click on-edit-theme}
[:div {:class (stl/css :label-wrapper)}
[:> 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"}]]]
[:> button* {:class (stl/css :sets-count-empty-button)
@ -144,7 +144,7 @@
:on-click on-edit-theme}
[:div {:class (stl/css :label-wrapper)}
[:> text* {:as "span" :typography "body-medium"}
(tr "workspace.token.no-sets")]
(tr "workspace.token.no-active-sets")]
[:> icon* {:icon-id "arrow-right"}]]])
[:> icon-button* {:on-click delete-theme

View file

@ -162,6 +162,7 @@
display: flex;
align-items: center;
justify-content: center;
text-transform: lowercase;
}
.edit-theme-wrapper {

View file

@ -6575,9 +6575,9 @@ msgstr "You need to be an editor to activate / deactivate sets"
msgid "workspace.token.no-permission-themes"
msgstr "You need to be an editor to use themes"
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:146
msgid "workspace.token.no-sets"
msgstr "No sets"
#: src/app/main/ui/workspace/tokens/modals/themes.cljs
msgid "workspace.token.no-active-sets"
msgstr "No active sets"
#: src/app/main/ui/workspace/tokens/sets.cljs:401, src/app/main/ui/workspace/tokens/sets.cljs:405
msgid "workspace.token.no-sets-create"
@ -6596,8 +6596,8 @@ msgid "workspace.token.no-themes-currently"
msgstr "You currently have no themes."
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:137
msgid "workspace.token.num-sets"
msgstr "%s sets"
msgid "workspace.token.num-active-sets"
msgstr "%s active sets"
#: src/app/main/ui/workspace/tokens/token_pill.cljs:114
#, fuzzy

View file

@ -6569,9 +6569,9 @@ msgstr "Debes ser editor para activar / desactivar sets"
msgid "workspace.token.no-permission-themes"
msgstr "Debes ser editor para usar temas"
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:146
msgid "workspace.token.no-sets"
msgstr "Aun no hay sets."
#: src/app/main/ui/workspace/tokens/modals/themes.cljs
msgid "workspace.token.no-active-sets"
msgstr "No hay sets activos"
#: src/app/main/ui/workspace/tokens/sets.cljs:401, src/app/main/ui/workspace/tokens/sets.cljs:405
msgid "workspace.token.no-sets-create"
@ -6586,8 +6586,8 @@ msgid "workspace.token.no-themes-currently"
msgstr "Actualmente no existen temas."
#: src/app/main/ui/workspace/tokens/modals/themes.cljs:137
msgid "workspace.token.num-sets"
msgstr "%s sets"
msgid "workspace.token.num-active-sets"
msgstr "%s sets activos"
#: src/app/main/ui/workspace/tokens/token_pill.cljs:114
#, fuzzy