🐛 Fix wrong validation text after interaction with 2 and more files

This commit is contained in:
Alejandro Alonso 2022-10-19 14:36:04 +02:00 committed by Alonso Torres
parent a1c9503fea
commit 02382b95f6
4 changed files with 15 additions and 8 deletions

View file

@ -7,9 +7,9 @@
- Fix firefox changing layer color type is not applied [Taiga #4292](https://tree.taiga.io/project/penpot/issue/4292)
- Fix justify alignes text left [Taiga #4322](https://tree.taiga.io/project/penpot/issue/4322)
- Fix text out of borders with "auto width" and center align [Taiga #4308](https://tree.taiga.io/project/penpot/issue/4308)
- Fix wrong validation text after interaction with 2 and more files [Taiga #4276](https://tree.taiga.io/project/penpot/issue/4276)
- Fix auto-width for texts can make text appear stretched [Github #2482](https://github.com/penpot/penpot/issues/2482)
- Fix boards name do not disappear in focus mode [#4272](https://tree.taiga.io/project/penpot/issue/4272)
## 1.16.0-beta
### :boom: Breaking changes & Deprecations

View file

@ -81,12 +81,12 @@
on-duplicate
(fn [_]
(apply st/emit! (map dd/duplicate-file files))
(st/emit! (dm/success (tr "dashboard.success-duplicate-file"))))
(st/emit! (dm/success (tr "dashboard.success-duplicate-file" (i18n/c (count files))))))
delete-fn
(fn [_]
(apply st/emit! (map dd/delete-file files))
(st/emit! (dm/success (tr "dashboard.success-delete-file"))))
(st/emit! (dm/success (tr "dashboard.success-delete-file" (i18n/c (count files))))))
on-delete
(fn [event]

View file

@ -620,7 +620,9 @@ msgstr "Show all files"
#: src/app/main/ui/dashboard/file_menu.cljs
msgid "dashboard.success-delete-file"
msgstr "Your file has been deleted successfully"
msgid_plural "dashboard.success-delete-file"
msgstr[0] "Your file has been deleted successfully"
msgstr[1] "Your files have been deleted successfully"
#: src/app/main/ui/dashboard/project_menu.cljs
msgid "dashboard.success-delete-project"
@ -628,7 +630,9 @@ msgstr "Your project has been deleted successfully"
#: src/app/main/ui/dashboard/file_menu.cljs
msgid "dashboard.success-duplicate-file"
msgstr "Your file has been duplicated successfully"
msgid_plural "dashboard.success-delete-file"
msgstr[0] "Your file has been duplicated successfully"
msgstr[1] "Your files have been duplicated successfully"
#: src/app/main/ui/dashboard/project_menu.cljs
msgid "dashboard.success-duplicate-project"
@ -4564,4 +4568,3 @@ msgstr "The font %s could not be loaded"
msgid "errors.bad-font-plural"
msgstr "The fonts %s could not be loaded"

View file

@ -635,7 +635,9 @@ msgstr "Ver todos los archivos"
#: src/app/main/ui/dashboard/file_menu.cljs
msgid "dashboard.success-delete-file"
msgstr "Tu archivo ha sido borrado con éxito"
msgid_plural "dashboard.success-delete-file"
msgstr[0] "Tu archivo ha sido borrado con éxito"
msgstr[1] "Tus archivos han sido borrado con éxito"
#: src/app/main/ui/dashboard/project_menu.cljs
msgid "dashboard.success-delete-project"
@ -643,7 +645,9 @@ msgstr "Tu proyecto ha sido borrado con éxito"
#: src/app/main/ui/dashboard/file_menu.cljs
msgid "dashboard.success-duplicate-file"
msgstr "Tu archivo ha sido duplicado con éxito"
msgid_plural "dashboard.success-delete-file"
msgstr[0] "Tu archivo ha sido duplicado con éxito"
msgstr[1] "Tus archivos han sido duplicado con éxito"
#: src/app/main/ui/dashboard/project_menu.cljs
msgid "dashboard.success-duplicate-project"