aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorZog2018-02-26 09:58:16 +0100
committerAlban Peignier2018-03-14 15:03:03 +0100
commit8baaa7947ea1e229f67149d221dea76450f040a5 (patch)
treef70abb8951d0f682342452d66c2eca854c2651f6 /config
parent1457744f19109a402f76b7d1aafcb1709e38f877 (diff)
downloadchouette-core-8baaa7947ea1e229f67149d221dea76450f040a5.tar.bz2
Refs #5972 @1h; Automatic registration_number generation
Diffstat (limited to 'config')
-rw-r--r--config/locales/stop_areas.en.yml5
-rw-r--r--config/locales/stop_areas.fr.yml5
2 files changed, 10 insertions, 0 deletions
diff --git a/config/locales/stop_areas.en.yml b/config/locales/stop_areas.en.yml
index ac3dce280..33722b60b 100644
--- a/config/locales/stop_areas.en.yml
+++ b/config/locales/stop_areas.en.yml
@@ -5,6 +5,10 @@ en:
errors:
empty: Aucun stop_area_id
parent_area_type: can not be of type %{area_type}
+ registration_number:
+ already_taken: Already taken
+ cannot_be_empty: This field is mandatory
+ invalid: Incorrect value
default_geometry_success: "%{count} modified stop areas"
stop_area:
no_position: "No Position"
@@ -148,6 +152,7 @@ en:
stop_area:
name: ""
registration_number: "only alphanumerical or underscore characters"
+ registration_number_format: "authorized format : %{registration_number_format}"
objectid: "[prefix]:StopArea:[unique_key] : prefix contains only alphanumerical or underscore characters, unique_key accepts also minus character"
nearest_topic_name: ""
city_name: ""
diff --git a/config/locales/stop_areas.fr.yml b/config/locales/stop_areas.fr.yml
index f75c4ebe7..605e6158e 100644
--- a/config/locales/stop_areas.fr.yml
+++ b/config/locales/stop_areas.fr.yml
@@ -6,6 +6,10 @@ fr:
empty: Aucun stop_area_id
parent_area_type: ne peut être de type %{area_type}
incorrect_kind_area_type: Ce type d'arrêt est invalide pour cette catégorie
+ registration_number:
+ already_taken: Déjà utilisé
+ cannot_be_empty: Ce champ est requis
+ invalid: Valeur invalide
default_geometry_success: "%{count} arrêts édités"
stop_area:
no_position: "Pas de position"
@@ -150,6 +154,7 @@ fr:
stop_area:
name: ""
registration_number: "caractères autorisés : alphanumériques et 'souligné'"
+ registration_number_format: "format autorisé: %{registration_number_format}"
objectid: "[prefixe]:StopArea:[clé_unique] caractères autorisés : alphanumériques et 'souligné' pour le préfixe, la clé unique accepte en plus le 'moins'"
nearest_topic_name: ""
city_name: ""