diff --git a/CHANGES.md b/CHANGES.md index 84eeafa50..168bf5e1d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/frontend/src/app/main/ui/dashboard/file_menu.cljs b/frontend/src/app/main/ui/dashboard/file_menu.cljs index e7f70c225..ddb3f9dbb 100644 --- a/frontend/src/app/main/ui/dashboard/file_menu.cljs +++ b/frontend/src/app/main/ui/dashboard/file_menu.cljs @@ -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] diff --git a/frontend/translations/en.po b/frontend/translations/en.po index c3422c650..6c669652a 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -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" - diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 529eb38ca..9258d52c2 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -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"