aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2018-01-02 17:37:38 +0100
committercedricnjanga2018-01-04 10:40:49 +0100
commit1e1b0b142170bc251a92f1b73ba9098f473a7f13 (patch)
tree470ed5a8de228aa6b60f034ab95800c3ac99ca86
parent102db8a01b2a0fa9f77650c231f208d2875cc473 (diff)
downloadchouette-core-1e1b0b142170bc251a92f1b73ba9098f473a7f13.tar.bz2
Refs #5359 UI changes on calendars name display
-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