From 7b955f616ec16d800c73f037a16f54255f0c192f Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 24 Feb 2020 15:25:15 +0100 Subject: [PATCH] fix i18n syntax + missing transaltion --- config/locales/app.admin.en.yml | 4 ++-- config/locales/app.public.en.yml | 6 +++--- config/locales/app.public.fr.yml | 7 ++++--- config/locales/app.public.pt.yml | 6 +++--- config/locales/app.shared.en.yml | 4 ++-- config/locales/app.shared.fr.yml | 4 ++-- config/locales/app.shared.pt.yml | 2 +- 7 files changed, 17 insertions(+), 16 deletions(-) diff --git a/config/locales/app.admin.en.yml b/config/locales/app.admin.en.yml index 873020316..1672ef99c 100644 --- a/config/locales/app.admin.en.yml +++ b/config/locales/app.admin.en.yml @@ -797,8 +797,8 @@ en: statistics: "Statistics" evolution: "Evolution" age_filter: "Age filter" - from_age: "From" # context: age. eg: from 8 to 40 years old - to_age: "to" # context: age. eg: from 8 to 40 years old + from_age: "From" # eg. from 8 to 40 years old + to_age: "to" # eg. from 8 to 40 years old _years_old: "years old" start: "Start:" end: "End:" diff --git a/config/locales/app.public.en.yml b/config/locales/app.public.en.yml index 4122457c7..75bf82171 100644 --- a/config/locales/app.public.en.yml +++ b/config/locales/app.public.en.yml @@ -294,7 +294,7 @@ en: add_an_event: "Add an event" load_the_next_events: "Load the next events..." full_price_: "Full price:" - to_date: "to" # context: date. eg: 'from 01/01 to 01/05' + to_date: "to" # eg. from 01/01 to 01/05 events_show: # details and booking of an event @@ -306,8 +306,8 @@ en: ending: "Ending:" opening_hours: "Opening hours:" all_day: "All day" - from_time: "From" # context: time. eg. 'from 18:00 to 21:00' - to_time: "to" # context: time. eg. 'from 18:00 to 21:00' + from_time: "From" # eg. from 18:00 to 21:00 + to_time: "to" # eg. from 18:00 to 21:00 full_price_: "Full price:" tickets_still_availables: "Tickets still available:" sold_out: "Sold out." diff --git a/config/locales/app.public.fr.yml b/config/locales/app.public.fr.yml index 4907761f4..da69cede4 100644 --- a/config/locales/app.public.fr.yml +++ b/config/locales/app.public.fr.yml @@ -294,7 +294,8 @@ fr: add_an_event: "Ajouter un évènement" load_the_next_events: "Charger les évènements suivants..." full_price_: "Plein tarif :" - to_date: "au" # context: date. eg: 'from 01/01 to 01/05' + to_date: "au" # eg. from 01/01 to 01/05 + all_themes: "Toutes les thématiques" events_show: # détails d'un événement et réservation @@ -306,8 +307,8 @@ fr: ending: "Fin :" opening_hours: "Horaires :" all_day: "Toute la journée" - from_time: "De" # context: time. eg. 'from 18:00 to 21:00' - to_time: "à" # context: time. eg. 'from 18:00 to 21:00' + from_time: "De" # eg. from 18:00 to 21:00 + to_time: "à" # eg. from 18:00 to 21:00 full_price_: "Plein tarif :" tickets_still_availables: "Places encore disponibles :" sold_out: "Événement complet" diff --git a/config/locales/app.public.pt.yml b/config/locales/app.public.pt.yml index 671d8ff3d..081522873 100755 --- a/config/locales/app.public.pt.yml +++ b/config/locales/app.public.pt.yml @@ -294,7 +294,7 @@ pt: add_an_event: "Add an event" load_the_next_events: "Load the next events..." full_price_: "Full price:" - to_date: "to" # context: date. eg: 'from 01/01 to 01/05' + to_date: "to" # eg. from 01/01 to 01/05 events_show: # details and booking of an event @@ -306,8 +306,8 @@ pt: ending: "Término:" opening_hours: "Abre ás:" all_day: "All day" - from_time: "From" # context: time. eg. 'from 18:00 to 21:00' - to_time: "to" # context: time. eg. 'from 18:00 to 21:00' + from_time: "From" # eg. from 18:00 to 21:00 + to_time: "to" # eg. from 18:00 to 21:00 full_price_: "Full price:" tickets_still_availables: "Tickets ainda disponíveis:" sold_out: "Esgotado." diff --git a/config/locales/app.shared.en.yml b/config/locales/app.shared.en.yml index dc22183b4..d71c918f1 100644 --- a/config/locales/app.shared.en.yml +++ b/config/locales/app.shared.en.yml @@ -427,7 +427,7 @@ en: tags_of_the_destination_slot: "Tags of the destination slot:" confirm_my_modification: "Confirm my modification" your_booking_slot_was_successfully_moved_from_: "Your booking slot was successfully moved from" - to_date: "to" # context: date. eg: 'from 01/01 to 01/05' + to_date: "to" # eg. from 01/01 to 01/05 please_select_a_member_first: 'Please select a member first' unable_to_select_plan_if_slots_in_the_past: 'Unable to select a plan if any of the selected slots is in the past' unable_to_change_the_reservation: "Unable to change the reservation" @@ -435,7 +435,7 @@ en: do_you_really_want_to_cancel_this_reservation: "Do you really want to cancel this reservation?" reservation_was_cancelled_successfully: "Reservation was cancelled successfully." cancellation_failed: "Cancellation failed." - confirm_payment_of_html: "{ROLE, select, admin{Payment on site} other{Pay}}: {AMOUNT}" # (context: confirm my payment of $20.00) + confirm_payment_of_html: "{ROLE, select, admin{Payment on site} other{Pay}}: {AMOUNT}" # eg. confirm my payment of $20.00 a_problem_occurred_during_the_payment_process_please_try_again_later: "A problem occurred during the payment process. Please try again later." none: "None" online_payment_disabled: "Online payment is not available. Please contact the Fablab reception directly." diff --git a/config/locales/app.shared.fr.yml b/config/locales/app.shared.fr.yml index 4f2c6fd0b..ab54810b9 100644 --- a/config/locales/app.shared.fr.yml +++ b/config/locales/app.shared.fr.yml @@ -427,7 +427,7 @@ fr: tags_of_the_destination_slot: "Étiquettes du créneau de destination :" confirm_my_modification: "Valider ma modification" your_booking_slot_was_successfully_moved_from_: "Votre créneau de réservation a bien été déplacé du" - to_date: "au" # context: date. eg: 'from 01/01 to 01/05' + to_date: "au" # eg. from 01/01 to 01/05 please_select_a_member_first: "Veuillez tout d'abord sélectionner un membre" unable_to_select_plan_if_slots_in_the_past: "Impossible de sélectionner un abonnement si l'un des créneaux sélectionné est dans le passé" unable_to_change_the_reservation: "Impossible de modifier la réservation" @@ -435,7 +435,7 @@ fr: do_you_really_want_to_cancel_this_reservation: "Êtes-vous sur de vouloir annuler cette réservation ?" reservation_was_cancelled_successfully: "La réservation a bien été annulée." cancellation_failed: "L'annulation a échouée." - confirm_payment_of_html: "{ROLE, select, admin{Paiement sur place} other{Payer}} : {AMOUNT}" # (contexte : valider mon paiement de 20,00 €) + confirm_payment_of_html: "{ROLE, select, admin{Paiement sur place} other{Payer}} : {AMOUNT}" # eg. valider mon paiement de 20,00 € a_problem_occurred_during_the_payment_process_please_try_again_later: "Il y a eu un problème lors de la procédure de paiement. Veuillez réessayer plus tard." none: "Aucune" online_payment_disabled: "Le payment par carte bancaire n'est pas disponible. Merci de contacter directement l'accueil du Fablab." diff --git a/config/locales/app.shared.pt.yml b/config/locales/app.shared.pt.yml index f3e770b8e..a84320b49 100755 --- a/config/locales/app.shared.pt.yml +++ b/config/locales/app.shared.pt.yml @@ -427,7 +427,7 @@ pt: tags_of_the_destination_slot: "Tags do slot de destino:" confirm_my_modification: "Confirmar minha modificação" your_booking_slot_was_successfully_moved_from_: "Seu slot de reserva foi movido com sucesso para" - to_date: "até" # context: date. eg: 'from 01/01 to 01/05' + to_date: "até" # eg. from 01/01 to 01/05 please_select_a_member_first: "Por favor selecione o membro primeiramente" unable_to_select_plan_if_slots_in_the_past: 'Não é possível selecionar um plano se algum dos slots selecionados estiver no passado' unable_to_change_the_reservation: "Não permitido alterar esta reserva"