diff options
| author | cedricnjanga | 2017-10-23 17:07:14 +0200 |
|---|---|---|
| committer | cedricnjanga | 2017-10-23 17:07:14 +0200 |
| commit | 4e3fefe39274424c14c12cd93016fdf495e7cc08 (patch) | |
| tree | 5c9765dcdedfc849c2c6b523768fa99b8a69db73 /config | |
| parent | 34e17a46d1564aafb05a4fb7e123188df58bc297 (diff) | |
| download | chouette-core-4e3fefe39274424c14c12cd93016fdf495e7cc08.tar.bz2 | |
Refs #4762 Add file extension checking before importing (standard app and api)
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/imports.en.yml | 4 | ||||
| -rw-r--r-- | config/locales/imports.fr.yml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/config/locales/imports.en.yml b/config/locales/imports.en.yml index 9bf877c86..f3bcad9e9 100644 --- a/config/locales/imports.en.yml +++ b/config/locales/imports.en.yml @@ -53,6 +53,10 @@ en: zero: "import" one: "NeTEx import" other: "imports" + errors: + models: + imports: + wrong_file_extension: "The imported file must be a zip file" attributes: import: resources: "File to import" diff --git a/config/locales/imports.fr.yml b/config/locales/imports.fr.yml index 6998c89d2..6e74fa33c 100644 --- a/config/locales/imports.fr.yml +++ b/config/locales/imports.fr.yml @@ -53,6 +53,10 @@ fr: zero: "import" one: "import NeTEx" other: "imports" + errors: + models: + imports: + wrong_file_extension: "Le fichier importé doit être au format zip" attributes: import: resources: "Fichier à importer" |
