This commit is contained in:
Yohan Boniface 2024-12-13 09:31:02 +01:00
parent cd24bf0b3d
commit 8346459f28
6 changed files with 28 additions and 18 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-11 17:05+0000\n" "POT-Creation-Date: 2024-12-13 08:26+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -617,57 +617,57 @@ msgstr ""
msgid "View the map" msgid "View the map"
msgstr "" msgstr ""
#: views.py:820 #: views.py:821
msgid "See full screen" msgid "See full screen"
msgstr "" msgstr ""
#: views.py:963 #: views.py:964
msgid "Map editors updated with success!" msgid "Map editors updated with success!"
msgstr "" msgstr ""
#: views.py:999 #: views.py:1000
#, python-format #, python-format
msgid "The uMap edit link for your map: %(map_name)s" msgid "The uMap edit link for your map: %(map_name)s"
msgstr "" msgstr ""
#: views.py:1002 #: views.py:1003
#, python-format #, python-format
msgid "Here is your secret edit link: %(link)s" msgid "Here is your secret edit link: %(link)s"
msgstr "" msgstr ""
#: views.py:1009 #: views.py:1010
#, python-format #, python-format
msgid "Can't send email to %(email)s" msgid "Can't send email to %(email)s"
msgstr "" msgstr ""
#: views.py:1012 #: views.py:1013
#, python-format #, python-format
msgid "Email sent to %(email)s" msgid "Email sent to %(email)s"
msgstr "" msgstr ""
#: views.py:1023 #: views.py:1024
msgid "Only its owner can delete the map." msgid "Only its owner can delete the map."
msgstr "" msgstr ""
#: views.py:1026 #: views.py:1027
msgid "Map successfully deleted." msgid "Map successfully deleted."
msgstr "" msgstr ""
#: views.py:1052 #: views.py:1053
#, python-format #, python-format
msgid "" msgid ""
"Your map has been cloned! If you want to edit this map from another " "Your map has been cloned! If you want to edit this map from another "
"computer, please use this link: %(anonymous_url)s" "computer, please use this link: %(anonymous_url)s"
msgstr "" msgstr ""
#: views.py:1057 #: views.py:1058
msgid "Congratulations, your map has been cloned!" msgid "Congratulations, your map has been cloned!"
msgstr "" msgstr ""
#: views.py:1308 #: views.py:1309
msgid "Layer successfully deleted." msgid "Layer successfully deleted."
msgstr "" msgstr ""
#: views.py:1330 #: views.py:1331
msgid "Permissions updated with success!" msgid "Permissions updated with success!"
msgstr "" msgstr ""

View file

@ -355,7 +355,9 @@ export default class Importer extends Utils.WithTemplate {
onSuccess(count) { onSuccess(count) {
if (count) { if (count) {
Alert.success(translate(`Successfully imported ${count} feature(s)`)) Alert.success(translate('Successfully imported {count} feature(s)'), {
count: count,
})
} else { } else {
Alert.success(translate('Data successfully imported!')) Alert.success(translate('Data successfully imported!'))
} }

View file

@ -520,7 +520,9 @@ const locale = {
"Import helpers": "Import helpers", "Import helpers": "Import helpers",
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.", "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
"Wikipedia": "Wikipedia", "Wikipedia": "Wikipedia",
"Save draft": "Save draft" "Save draft": "Save draft",
"No data has been found for import": "No data has been found for import",
"Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)"
} }
L.registerLocale("en", locale) L.registerLocale("en", locale)
L.setLocale("en") L.setLocale("en")

View file

@ -520,5 +520,7 @@
"Import helpers": "Import helpers", "Import helpers": "Import helpers",
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.", "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
"Wikipedia": "Wikipedia", "Wikipedia": "Wikipedia",
"Save draft": "Save draft" "Save draft": "Save draft",
"No data has been found for import": "No data has been found for import",
"Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)"
} }

View file

@ -520,7 +520,9 @@ const locale = {
"Import helpers": "Assistants d'import", "Import helpers": "Assistants d'import",
"Import helpers will fill the URL field for you.": "Les assistants d'import vont renseigner le champ URL pour vous.", "Import helpers will fill the URL field for you.": "Les assistants d'import vont renseigner le champ URL pour vous.",
"Wikipedia": "Wikipedia", "Wikipedia": "Wikipedia",
"Save draft": "Enregistrer le brouillon" "Save draft": "Enregistrer le brouillon",
"No data has been found for import": "Aucunes données à importer",
"Successfully imported {count} feature(s)": "{count} élément(s) ajouté(s) à la carte"
} }
L.registerLocale("fr", locale) L.registerLocale("fr", locale)
L.setLocale("fr") L.setLocale("fr")

View file

@ -520,5 +520,7 @@
"Import helpers": "Assistants d'import", "Import helpers": "Assistants d'import",
"Import helpers will fill the URL field for you.": "Les assistants d'import vont renseigner le champ URL pour vous.", "Import helpers will fill the URL field for you.": "Les assistants d'import vont renseigner le champ URL pour vous.",
"Wikipedia": "Wikipedia", "Wikipedia": "Wikipedia",
"Save draft": "Enregistrer le brouillon" "Save draft": "Enregistrer le brouillon",
"No data has been found for import": "Aucunes données à importer",
"Successfully imported {count} feature(s)": "{count} élément(s) ajouté(s) à la carte"
} }