mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
✨ Improve token import error copy
This commit is contained in:
parent
0a7d6d98e1
commit
8f840daa91
3 changed files with 5 additions and 7 deletions
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
(defn- show-unknown-types-warning [unknown-tokens]
|
(defn- show-unknown-types-warning [unknown-tokens]
|
||||||
(let [type->tokens (group-by-value 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]
|
:detail (->> (for [[token-type tokens] type->tokens]
|
||||||
(tr "workspace.tokens.unknown-token-type-section" token-type (count tokens)))
|
(tr "workspace.tokens.unknown-token-type-section" token-type (count tokens)))
|
||||||
(str/join "\n"))
|
(str/join "\n"))
|
||||||
|
|
|
@ -7548,8 +7548,8 @@ msgid "workspace.tokens.tools"
|
||||||
msgstr "Tools"
|
msgstr "Tools"
|
||||||
|
|
||||||
#: src/app/main/data/workspace/tokens/import_export.cljs:45
|
#: src/app/main/data/workspace/tokens/import_export.cljs:45
|
||||||
msgid "workspace.tokens.unknown-token-type"
|
msgid "workspace.tokens.unknown-token-type-message"
|
||||||
msgstr "The import was successful, but some tokens were skipped. "
|
msgstr "Import was successful. Some tokens may not be included."
|
||||||
|
|
||||||
#: src/app/main/data/workspace/tokens/import_export.cljs:47
|
#: src/app/main/data/workspace/tokens/import_export.cljs:47
|
||||||
msgid "workspace.tokens.unknown-token-type-section"
|
msgid "workspace.tokens.unknown-token-type-section"
|
||||||
|
|
|
@ -7483,10 +7483,8 @@ msgid "workspace.tokens.tools"
|
||||||
msgstr "Herramientas"
|
msgstr "Herramientas"
|
||||||
|
|
||||||
#: src/app/main/data/workspace/tokens/import_export.cljs:45
|
#: src/app/main/data/workspace/tokens/import_export.cljs:45
|
||||||
msgid "workspace.tokens.unknown-token-type"
|
msgid "workspace.tokens.unknown-token-type-message"
|
||||||
msgstr ""
|
msgstr "La importación se ha realizado correctamente. Es posible que no se incluyan algunos tokens."
|
||||||
"La importación se ha realizado correctamente pero se omitieron algunos "
|
|
||||||
"tokens."
|
|
||||||
|
|
||||||
#: src/app/main/data/workspace/tokens/import_export.cljs:47
|
#: src/app/main/data/workspace/tokens/import_export.cljs:47
|
||||||
msgid "workspace.tokens.unknown-token-type-section"
|
msgid "workspace.tokens.unknown-token-type-section"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue