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

View file

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

View file

@ -520,7 +520,9 @@ const locale = {
"Import helpers": "Import helpers",
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
"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.setLocale("en")

View file

@ -520,5 +520,7 @@
"Import helpers": "Import helpers",
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
"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 will fill the URL field for you.": "Les assistants d'import vont renseigner le champ URL pour vous.",
"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.setLocale("fr")

View file

@ -520,5 +520,7 @@
"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.",
"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"
}