mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 02:58:27 +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]
|
||||
(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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue