mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
✨ Improve token import error copy
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
(defn- show-unknown-types-warning [unknown-tokens]
|
||||
(let [type->tokens (group-by-value unknown-tokens)]
|
||||
(ntf/show {:content (tr "workspace.tokens.unknown-token-type")
|
||||
(ntf/show {:content (tr "workspace.tokens.unknown-token-type-message")
|
||||
:detail (->> (for [[token-type tokens] type->tokens]
|
||||
(tr "workspace.tokens.unknown-token-type-section" token-type (count tokens)))
|
||||
(str/join "\n"))
|
||||
|
||||
@@ -7548,8 +7548,8 @@ msgid "workspace.tokens.tools"
|
||||
msgstr "Tools"
|
||||
|
||||
#: src/app/main/data/workspace/tokens/import_export.cljs:45
|
||||
msgid "workspace.tokens.unknown-token-type"
|
||||
msgstr "The import was successful, but some tokens were skipped. "
|
||||
msgid "workspace.tokens.unknown-token-type-message"
|
||||
msgstr "Import was successful. Some tokens may not be included."
|
||||
|
||||
#: src/app/main/data/workspace/tokens/import_export.cljs:47
|
||||
msgid "workspace.tokens.unknown-token-type-section"
|
||||
|
||||
@@ -7483,10 +7483,8 @@ msgid "workspace.tokens.tools"
|
||||
msgstr "Herramientas"
|
||||
|
||||
#: src/app/main/data/workspace/tokens/import_export.cljs:45
|
||||
msgid "workspace.tokens.unknown-token-type"
|
||||
msgstr ""
|
||||
"La importación se ha realizado correctamente pero se omitieron algunos "
|
||||
"tokens."
|
||||
msgid "workspace.tokens.unknown-token-type-message"
|
||||
msgstr "La importación se ha realizado correctamente. Es posible que no se incluyan algunos tokens."
|
||||
|
||||
#: src/app/main/data/workspace/tokens/import_export.cljs:47
|
||||
msgid "workspace.tokens.unknown-token-type-section"
|
||||
|
||||
Reference in New Issue
Block a user