diff options
| author | Luc Donnet | 2017-10-24 15:55:11 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-24 15:55:11 +0200 |
| commit | d36f86eabbb749d30e70c45dae3cc4343ce137ee (patch) | |
| tree | 27e0421f49827fd2af4c94815c71a588260f0ade /config | |
| parent | efe056fb645f0380e594f57ad058409194f3becd (diff) | |
| parent | 489d2b19f4039daa14799122901f6e27b6c0dba5 (diff) | |
| download | chouette-core-d36f86eabbb749d30e70c45dae3cc4343ce137ee.tar.bz2 | |
Merge pull request #99 from af83/import_file_extension
Refs #4762 Add file extension checking before importing (standard app…
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" |
