mirror of
https://github.com/penpot/penpot.git
synced 2026-03-07 18:51:14 +00:00
✨ Improve translation strings for token set drop errors
This commit is contained in:
@@ -234,8 +234,8 @@
|
||||
ptk/WatchEvent
|
||||
(watch [_ _ _]
|
||||
(let [content (case error
|
||||
:path-exists (tr "errors.drag-drop.set-exists" to-path)
|
||||
:parent-to-child (tr "errors.drag-drop.parent-to-child")
|
||||
:path-exists (tr "errors.token-set-exists-on-drop" to-path)
|
||||
:parent-to-child (tr "errors.drop-token-set-parent-to-child")
|
||||
nil)]
|
||||
(when content
|
||||
(rx/of
|
||||
|
||||
@@ -1160,11 +1160,11 @@ msgid "errors.clipboard-not-implemented"
|
||||
msgstr "Your browser cannot do this operation"
|
||||
|
||||
#: src/app/main/data/tokens.cljs:199
|
||||
msgid "errors.drag-drop.parent-to-child"
|
||||
msgid "errors.drop-token-set-parent-to-child"
|
||||
msgstr "Cannot drop a parent set to an own child path."
|
||||
|
||||
#: src/app/main/data/tokens.cljs:198
|
||||
msgid "errors.drag-drop.set-exists"
|
||||
msgid "errors.token-set-exists-on-drop"
|
||||
msgstr "Cannot complete drop, a set with same name already exists at path %s."
|
||||
|
||||
#: src/app/main/data/tokens.cljs:294
|
||||
|
||||
Reference in New Issue
Block a user