From 2ac5451cee473f0fc393bee85768ac988e76cedc Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 31 Jan 2022 14:35:48 +0100 Subject: [PATCH] locales --- app/views/admin/education/school/roles/index.html.erb | 2 +- config/locales/en.yml | 1 + config/locales/fr.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/admin/education/school/roles/index.html.erb b/app/views/admin/education/school/roles/index.html.erb index 4d62fb4f5..169795ed2 100644 --- a/app/views/admin/education/school/roles/index.html.erb +++ b/app/views/admin/education/school/roles/index.html.erb @@ -2,5 +2,5 @@ <%= render 'admin/education/school/roles/list', roles: @roles %> <% content_for :action_bar_right do %> - <%= link_to t('create'), new_admin_education_school_role_path(school_id: @school.id), class: button_classes if can? :create, University::Role %> + <%= link_to t('add'), new_admin_education_school_role_path(school_id: @school.id), class: button_classes if can? :create, University::Role %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index c692b52c3..1c421f6e3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -32,6 +32,7 @@ en: user: one: User other: Users + add: Add admin: attachment_not_available: Attachment not available dashboard: Dashboard diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 768f6224d..933bbc312 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -32,6 +32,7 @@ fr: user: one: Utilisateur·rice other: Utilisateur·rice·s + add: Ajouter admin: attachment_not_available: Impossible d'accéder à l'élément dashboard: Tableau de bord -- GitLab