diff options
| author | cedricnjanga | 2017-09-04 09:27:41 +0200 | 
|---|---|---|
| committer | cedricnjanga | 2017-09-04 09:34:47 +0200 | 
| commit | adee10292855612808a8e6d1c764a148f68eb69f (patch) | |
| tree | 1fa83cf86fb095afd538b722ad2f48500fc72b9e | |
| parent | ed64dc517bca5f775631d999aa2e60f78d4dae30 (diff) | |
| download | chouette-core-adee10292855612808a8e6d1c764a148f68eb69f.tar.bz2 | |
Add locales for import error messages
| -rw-r--r-- | config/locales/import_messages.en.yml | 48 | ||||
| -rw-r--r-- | config/locales/import_messages.fr.yml | 48 | 
2 files changed, 96 insertions, 0 deletions
| diff --git a/config/locales/import_messages.en.yml b/config/locales/import_messages.en.yml new file mode 100644 index 000000000..665cff605 --- /dev/null +++ b/config/locales/import_messages.en.yml @@ -0,0 +1,48 @@ +en: +  import_messages: +    1_netexstif_2: "The file %{file_name} does not respect the XML structure or the NeTEx XSD : '%{xercex_message}' error" +    1_netexstif_5: "%{file}-Line %{line}-Column %{column} : the %{netex_type} object with %{objectid} id has an update in the future" +    2_netexstif_1_1: "The commun.xml file doesn't have a NETEX_COMMUN named frame" +    2_netexstif_1_2: "The commun.xml file frame name : %{frame_name} is not accepted" +    2_netexstif_2_1: "The calendriers.xml file doesn't have a NETEX_CALENDRIER named frame" +    2_netexstif_2_2: "The calendriers.xml file frame name : %{frame_name} is not accepted" +    2_netexstif_3_1: "The %{file_name} doesn't have a NETEX_OFFRE_LIGNE named frame" +    2_netexstif_3_2: "The %{file_name} frame name : %{frame_name} is not accepted" +    2_netexstif_3_3: "The NETEX_OFFRE_LIGNE frame of the %{file_name} file doesn't have the required frame %{NETEX_STRUCTURE|NETEX_HORAIRE}" +    2_netexstif_3_4: "The NETEX_OFFRE_LIGNE frame of the %{file_name} file has a non accepted %{frame_name} frame" +    2_netexstif_4: "%{file}-Line %{line}-Column %{column} : the %{objectid} id of the %{netex_type} object does not have the right syntax : [CODESPACE]:%{netex_type}:[identifiant Technique]:LOC" +    2_netexstif_6: "%{file}-Line %{line}-Column %{column} : The %{netex_type} object with the id of %{objectid} has a forbidden update type : 'delete'" +    2_netexstif_7: "%{file}-Line %{line}-Column %{column} : The %{netex_type} object with the id of %{objectid} define a %{objectRef} reference with an invalid syntaxe : %{ref}" +    2_netexstif_8_1: "%{file}-Line %{line}-Column %{column} : The %{netex_type} object with the id of %{objectid} define a %{objectRef} reference with an extern type : intern type required" +    2_netexstif_8_2: "%{file}-Line %{line}-Column %{column} : The %{netex_type} object with the id of %{objectid} define a %{objectRef} reference with an intern type but has a content (extern version allowed" +    2_netexstif_9_1: "%{file}-Line %{line}-Column %{column} : The %{netex_type} object with the id of %{objectid} define a %{objectRef} reference with an intern type : extern reference expected" +    2_netexstif_9_2: "%{file}-Line %{line}-Column %{column} : The %{netex_type} object with the id of %{objectid} define a %{objectRef} reference with an extern type without version info" +    2_netexstif_10: "%{file}-Line %{line}-Column %{column} : The %{netex_type} object with the id of %{objectid} define a %{objectRef} reference with an unknown extern type" +    2_netexstif_daytype_1: "%{file}-Line %{line}-Column %{column} : the DayType object with %{objectid} id does not have a time table, it's ignored" +    2_netexstif_daytype_2: "%{file}-Line %{line}-Column %{column} : the DayType object with %{objectid} id has periods but no day types" +    2_netexstif_daytypeassignment_1: "%{file}-Line %{line}-Column %{column} : the DayTypeAssignment object with %{objectid} id cannot reference a OperatingDay" +    2_netexstif_daytypeassignment_2: "%{file}-Line %{line}-Column %{column} : the DayTypeAssignment object with %{objectid} id cannot reference a OperatingPeriod on false IsAvailable condition" +    2_netexstif_direction_1: "%{file}-Line %{line}-Column %{column} : the Direction object with %{objectid} id has a blank value for the Name attribute" +    2_netexstif_direction_2: "%{file}-Line %{line}-Column %{column} : the Direction object with %{objectid} id define a forbidden attribute : %{forbidden_aatribute}" +    2_netexstif_notice_1: "%{file}-Line %{line}-Column %{column} : the Notice object with %{objectid} id needs to define a text" +    2_netexstif_notice_2: "%{file}-Line %{line}-Column %{column} : the Notice object with %{objectid} id of %{type_of_notice_ref} type is ignored" +    2_netexstif_operatingperiod_1: "%{file}-Line %{line}-Column %{column} : the OperatingPeriod object with %{objectid} id must have an end date (%{start_date}) which is greater than the start date (%{end_date})" +    2_netexstif_passengerstopassignment_1: "%{file}-Line %{line}-Column %{column}, the %{required_attribute} attribute of the PassengerStopAssignment object with %{objectid} id is required" +    2_netexstif_passengerstopassignment_2: "The %{objectid} stop point is not available for your organization." +    2_netexstif_passingtime_1: "%{file}-Line %{line}-Column %{column}, the ServiceJourney object with %{objectid} id : the passingTime with the %{rank} rank does not have a DepartureTime" +    2_netexstif_passingtime_2: "%{file}-Line %{line}-Column %{column}, the ServiceJourney object with %{objectid} id : the passingTime with the %{rank} rank has an ArrivalTime greater than the DepartureTime" +    2_netexstif_route_1: "%{file}-Line %{line}-Column %{column} : the Route object with %{objectid} has a forbidden value for the DirectionType attribute : %{direction_type}" +    2_netexstif_route_2_1: "%{file}-Line %{line}-Column %{column} : the Route object with %{objectid} references an inverse route %{inverse_route_ref.ref} which doesn't references it" +    2_netexstif_route_2_2: "%{file}-Line %{line}-Column %{column} : the Route object with %{objectid} references an inverse route %{inverse_route_ref.ref} of the same DirectionType" +    2_netexstif_route_3: "%{file}-Line %{line}-Column %{column} : th ServiceJourneyPattern objects of the Route with %{objectid} id does permit the reconstitution of the stop points sequence" +    2_netexstif_route_4: "%{file}-Line %{line}-Column %{column}, The up/down info of the %{stop_point_id} stop point of the Route %{objectid} id are different on multiple ServiceJourneyPattern, those informations are not imported" +    2_netexstif_routingconstraintzone_1: "%{file}-Line %{line}-Column %{column}, the RoutingConstraintZone object with %{objectid} must references at least two ScheduledStopPoint" +    2_netexstif_routingconstraintzone_2: "%{file}-Line %{line}-Column %{column}, the RoutingConstraintZone object with %{objectid} has a forbidden value for the ZoneUse attribute: %{zone_use}" +    2_netexstif_servicejourney_1: "%{file}-Line %{line}-Column %{column} : the ServiceJourney object with %{objectid} id does not references a ServiceJourneyPattern" +    2_netexstif_servicejourney_2: "%{file}-Line %{line}-Column %{column} : the ServiceJourney object with %{objectid} id doesn't have a trainNumber" +    2_netexstif_servicejourney_3: "%{file}-Line %{line}-Column %{column} : the number of passing_time of the ServiceJourney object with %{objectid} id is not consistent with the associated ServiceJourneyPattern" +    2_netexstif_servicejourney_4: "%{file}-Line %{line}-Column %{column} , the ServiceJourney object with the %{objectid} id : the passingTime of %{rank} rank has smaller schedules compared to the prior passingTime" +    2_netexstif_servicejourneypattern_1: "%{file}-Line %{line}-Column %{column} : the ServiceJourneyPattern with %{objectid} id does not reference a Route" +    2_netexstif_servicejourneypattern_2: "%{file}-Line %{line}-Column %{column} : the ServiceJourneyPattern with %{objectid} id must contain at least 2 StopPointInJourneyPattern" +    2_netexstif_servicejourneypattern_3: "%{file}-Line %{line}-Column %{column} : the ServiceJourneyPattern with %{objectid} id does not have a value for the ServiceJourneyPatternType attribute" +    2_netexstif_servicejourneypattern_4: "%{file}-Line %{line}-Column %{column}, the ServiceJourneyPattern with %{objectid} id : the 'order' attributes for the StopPointInJourneyPattern are not in ascending order" diff --git a/config/locales/import_messages.fr.yml b/config/locales/import_messages.fr.yml new file mode 100644 index 000000000..f5934f5db --- /dev/null +++ b/config/locales/import_messages.fr.yml @@ -0,0 +1,48 @@ +fr: +  import_messages: +    1_netexstif_2: "Le fichier %{file_name} ne respecte pas la syntaxe XML ou la XSD NeTEx : erreur '%{xercex_message}' rencontré" +    1_netexstif_5: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} a une date de mise à jour dans le futur" +    2_netexstif_1_1: "Le fichier commun.xml ne contient pas de frame nommée NETEX_COMMUN" +    2_netexstif_1_2: "Le fichier commun.xml contient une frame nommée %{frame_name} non acceptée" +    2_netexstif_2_1: "Le fichier calendriers.xml ne contient pas de frame nommée NETEX_CALENDRIER" +    2_netexstif_2_2: "Le fichier calendriers.xml contient une frame nommée %{frame_name} non acceptée" +    2_netexstif_3_1: "Le fichier %{file_name} ne contient pas de frame nommée NETEX_OFFRE_LIGNE" +    2_netexstif_3_2: "Le fichier %{file_name} contient une frame nommée %{frame_name} non acceptée" +    2_netexstif_3_3: "la frame NETEX_OFFRE_LIGNE du fichier %{file_name} ne contient pas la frame %{NETEX_STRUCTURE|NETEX_HORAIRE} obligatoire" +    2_netexstif_3_4: "la frame NETEX_OFFRE_LIGNE du fichier %{file_name} contient une frame %{frame_name} non acceptée" +    2_netexstif_4: "%{file}-Ligne %{line}-Colonne %{column} : l'identifiant %{objectid} de l'objet %{netex_type} ne respecte pas la syntaxe [CODESPACE]:%{netex_type}:[identifiant Technique]:LOC" +    2_netexstif_6: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} a un état de modification interdit : 'delete'" +    2_netexstif_7: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} définit une référence %{objectRef} de syntaxe invalide : %{ref}" +    2_netexstif_8_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} définit une référence %{objectRef} de type externe : référence interne attendue" +    2_netexstif_8_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} définit une référence %{objectRef} de type interne mais disposant d'un contenu (version externe possible)" +    2_netexstif_9_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} définit une référence %{objectRef} de type interne : référence externe attendue" +    2_netexstif_9_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} définit une référence %{objectRef} de type externe sans information de version" +    2_netexstif_10: "%{file}-Ligne %{line}-Colonne %{column} : l'objet %{netex_type} d'identifiant %{objectid} définit une référence %{objectRef} de type externe inconnue" +    2_netexstif_daytype_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet DayType d'identifiant %{objectid} ne définit aucun calendrier, il est ignoré" +    2_netexstif_daytype_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet DayType d'identifiant %{objectid} est reliée à des périodes mais ne définit pas de types de jours" +    2_netexstif_daytypeassignment_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet DayTypeAssignment d'identifiant %{objectid} ne peut référencer un OperatingDay" +    2_netexstif_daytypeassignment_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet DayTypeAssignment d'identifiant %{objectid} ne peut référencer un OperatingPeriod sur la condition IsAvailable à faux." +    2_netexstif_direction_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet Direction d'identifiant %{objectid} n'a pas de valeur pour l'attribut Name" +    2_netexstif_direction_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet Direction d'identifiant %{objectid} définit un attribut %{forbidden_aatribute} non autorisé" +    2_netexstif_notice_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet Notice d'identifiant %{objectid} doit définir un texte" +    2_netexstif_notice_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet Notice d'identifiant %{objectid} de type %{type_of_notice_ref} est ignoré" +    2_netexstif_operatingperiod_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet OperatingPeriod d'identifiant %{objectid} a une date de fin %{start_date} inférieure ou égale à la date de début %{end_date}" +    2_netexstif_passengerstopassignment_1: "%{file}-Ligne %{line}-Colonne %{column}, l'attribut %{required_attribute} de l'objet PassengerStopAssignment %{objectid} doit être renseigné" +    2_netexstif_passengerstopassignment_2: "L'arrêt %{objectid} ne fait pas partie des arrêts disponibles pour votre organisation." +    2_netexstif_passingtime_1: "%{file}-Ligne %{line}-Colonne %{column} , objet ServiceJourney d'identifiant %{objectid} : le passingTime de rang %{rank} ne dispose pas de DepartureTime" +    2_netexstif_passingtime_2: "%{file}-Ligne %{line}-Colonne %{column} , objet ServiceJourney d'identifiant %{objectid} : le passingTime de rang %{rank} fournit un ArrivalTime supérieur à son DepartureTime" +    2_netexstif_route_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet Route d'identifiant %{objectid} a une valeur de l'attribut DirectionType interdite : %{direction_type}" +    2_netexstif_route_2_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet Route d'identifiant %{objectid} référence un objet Route inverse %{inverse_route_ref.ref} qui ne le référence pas" +    2_netexstif_route_2_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet Route d'identifiant %{objectid} référence un objet Route inverse %{inverse_route_ref.ref} de même DirectionType" +    2_netexstif_route_3: "%{file}-Ligne %{line}-Colonne %{column} : Les ServiceJourneyPattern de l'objet Route d'identifiant %{objectid} ne permettent pas de reconstituer la séquence des arrêts de celui-ci" +    2_netexstif_route_4: "%{file}-Ligne %{line}-Colonne %{column}, Les informations de montée/Descente à l'arrêt %{stop_point_id} de la Route %{objectid} diffèrent sur plusieurs ServiceJourneyPattern, ces informations ne sont pas importées" +    2_netexstif_routingconstraintzone_1: "%{file}-Ligne %{line}-Colonne %{column}, l'objet RoutingConstraintZone %{objectid} doit référencer au moins deux ScheduledStopPoint" +    2_netexstif_routingconstraintzone_2: "%{file}-Ligne %{line}-Colonne %{column}, l'objet RoutingConstraintZone %{objectid} a une valeur interdite pour l'attribut ZoneUse : %{zone_use}" +    2_netexstif_servicejourney_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet ServiceJourney d'identifiant %{objectid} ne référence pas de ServiceJourneyPattern" +    2_netexstif_servicejourney_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet ServiceJourney d'identifiant %{objectid} fournit plus d'un trainNumber" +    2_netexstif_servicejourney_3: "%{file}-Ligne %{line}-Colonne %{column} : Le nombre d'horaires (passing_times) de l'objet ServiceJourney d'identifiant %{objectid} n'est pas cohérent avec le ServiceJourneyPattern associé." +    2_netexstif_servicejourney_4: "%{file}-Ligne %{line}-Colonne %{column} , objet ServiceJourney d'identifiant %{objectid} : le passingTime de rang %{rank} fournit des horaires antérieurs au passingTime précédent." +    2_netexstif_servicejourneypattern_1: "%{file}-Ligne %{line}-Colonne %{column} : l'objet ServiceJourneyPattern d'identifiant %{objectid} ne référence pas de Route" +    2_netexstif_servicejourneypattern_2: "%{file}-Ligne %{line}-Colonne %{column} : l'objet ServiceJourneyPattern d'identifiant %{objectid} doit contenir au moins 2 StopPointInJourneyPattern" +    2_netexstif_servicejourneypattern_3: "%{file}-Ligne %{line}-Colonne %{column} : l'objet ServiceJourneyPattern d'identifiant %{objectid} n'a pas de valeur pour l'attribut ServiceJourneyPatternType" +    2_netexstif_servicejourneypattern_4: "%{file}-Ligne %{line}-Colonne %{column}, objet ServiceJourneyPattern d'identifiant %{objectid} : les attributs 'order' des StopPointInJourneyPattern ne sont pas croissants." | 
