🎉 Add translation string to switcher label

This commit is contained in:
elhombretecla 2025-10-01 15:53:29 +02:00
parent b4c6bbb191
commit 0722af3a2f
3 changed files with 9 additions and 3 deletions

View File

@ -75,9 +75,7 @@
has-label (not (str/blank? label))
effective-aria-label (if has-label
(or aria-label label)
;; TODO: Add translation string
;; (tr "linea de traduccion")
"Toggle switch")
(tr "ds.switcher.aria-label"))
props (mf/spread-props props {:id id
:ref ref

View File

@ -1186,6 +1186,10 @@ msgstr "Detach token"
msgid "ds.inputs.token-field.no-active-token-option"
msgstr "This token is not available in any active set or theme."
#: src/app/main/ui/ds/controls/switcher/switcher.cljs:78
msgid "ds.switcher.aria-label"
msgstr "Switcher label"
#: src/app/main/data/auth.cljs:314
msgid "errors.auth-provider-not-allowed"
msgstr "Auth provider not allowed for this profile"

View File

@ -1198,6 +1198,10 @@ msgstr "Desvincular token"
msgid "ds.inputs.token-field.no-active-token-option"
msgstr "Este token no está disponible en ningún set ni tema activo."
#: src/app/main/ui/ds/controls/switcher/switcher.cljs:78
msgid "ds.switcher.aria-label"
msgstr "Etiqueta del switcher"
#: src/app/main/data/auth.cljs:314
msgid "errors.auth-provider-not-allowed"
msgstr "El proveedor de autenticación no permitido para este perfil de usuario"