aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/stif/dashboards/_dashboard.html.slim5
-rw-r--r--config/locales/calendars.fr.yml24
2 files changed, 14 insertions, 15 deletions
diff --git a/app/views/stif/dashboards/_dashboard.html.slim b/app/views/stif/dashboards/_dashboard.html.slim
index f3cd01f46..64e7d4f96 100644
--- a/app/views/stif/dashboards/_dashboard.html.slim
+++ b/app/views/stif/dashboards/_dashboard.html.slim
@@ -56,9 +56,8 @@
.panel.panel-default
.panel-heading
h3.panel-title.with_actions
- div
- = t('.calendars')
- span.badge.ml-xs = @dashboard.calendars.count if @dashboard.calendars.present?
+ = I18n.t("calendars.index.title")
+ span.badge.ml-xs = @dashboard.calendars.count if @dashboard.calendars.present?
div
= link_to '', calendars_path, class: ' fa fa-chevron-right pull-right', title: t('.see')
diff --git a/config/locales/calendars.fr.yml b/config/locales/calendars.fr.yml
index 88cb275ff..f9eaf1be5 100644
--- a/config/locales/calendars.fr.yml
+++ b/config/locales/calendars.fr.yml
@@ -25,28 +25,28 @@ fr:
standard_calendars: Calendriers standards
standard_calendar: Calendrier standard
actions:
- new: Ajouter un calendrier
- edit: Editer cet calendrier
- destroy: Supprimer cet calendrier
- destroy_confirm: Etes vous sûr de supprimer cet calendrier ?
+ new: Ajouter un modèle de calendrier
+ edit: Editer ce modèle de calendrier
+ destroy: Supprimer ce modèle de calendrier
+ destroy_confirm: Etes vous sûr de supprimer ce modèle de calendrier ?
errors:
overlapped_periods: Une autre période chevauche cette période
short_period: "Une période doit être d'une durée de deux jours minimum"
index:
- title: Calendriers
+ title: Modèles de calendrier
all: Tous
shared: Partagées
not_shared: Non partagées
- search_no_results: Aucun calendrier ne correspond à votre recherche
+ search_no_results: Aucun modèle de calendrier ne correspond à votre recherche
date: Date
new:
- title: Ajouter un calendrier
+ title: Ajouter un modèle de calendrier
create:
- title: Ajouter un calendrier
+ title: Ajouter un modèle de calendrier
edit:
- title: Editer le calendrier %{name}
+ title: Editer le modèle de calendrier %{name}
show:
- title: Calendrier %{name}
+ title: Modèle de calendrier %{name}
simple_form:
labels:
calendar:
@@ -59,8 +59,8 @@ fr:
activerecord:
models:
calendar:
- one: "calendrier"
- other: "calendriers"
+ one: "modèle de calendrier"
+ other: "modèles de calendrier"
attributes:
calendar:
name: Nom