diff --git a/CHANGES.md b/CHANGES.md index 7c768f4356..cd5fbe92e5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -63,6 +63,7 @@ - Fix invalid files amount after moving on dashboard [Taiga #5080](https://tree.taiga.io/project/penpot/issue/5080) - Fix dashboard left sidebar, the [x] overlaps the field [Taiga #5064](https://tree.taiga.io/project/penpot/issue/5064) - Fix expanded typography on assets sidebar is moving [Taiga #5063](https://tree.taiga.io/project/penpot/issue/5063) +- Fix spelling mistake in confirmation after importing only 1 file [Taiga #5095](https://tree.taiga.io/project/penpot/issue/5095) ### :heart: Community contributions by (Thank you!) - To @ondrejkonec: for contributing to the code with: diff --git a/frontend/src/app/main/ui/dashboard/import.cljs b/frontend/src/app/main/ui/dashboard/import.cljs index ad3d3800ee..7bc0966caf 100644 --- a/frontend/src/app/main/ui/dashboard/import.cljs +++ b/frontend/src/app/main/ui/dashboard/import.cljs @@ -378,7 +378,7 @@ [:div.feedback-banner [:div.icon i/checkbox-checked] - [:div.message (tr "dashboard.import.import-message" (if (some? template) 1 success-files))]])) + [:div.message (tr "dashboard.import.import-message" (i18n/c (if (some? template) 1 success-files)))]])) (for [file files] (let [editing? (and (some? (:file-id file)) diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 6ba10ca4f0..b17f83cee3 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -443,7 +443,9 @@ msgid "dashboard.import.import-error" msgstr "There was a problem importing the file. The file wasn't imported." msgid "dashboard.import.import-message" -msgstr "%s files have been imported successfully." +msgid_plural "dashboard.import.import-message" +msgstr[0] "1 file have been imported successfully." +msgstr[1] "%s files have been imported successfully." msgid "dashboard.import.import-warning" msgstr "Some files containted invalid objects that have been removed." diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 36b754898d..52c687d119 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -450,7 +450,9 @@ msgid "dashboard.import.import-error" msgstr "Hubo un problema importando el fichero. No ha podido ser importado." msgid "dashboard.import.import-message" -msgstr "%s files have been imported succesfully." +msgid_plural "dashboard.import.import-message" +msgstr[0] "1 fichero se ha importado correctamente." +msgstr[1] "%s ficheros se han importado correctamente." msgid "dashboard.import.import-warning" msgstr "Algunos ficheros contenĂ­an objetos erroneos que no han sido importados."