fix translations tabs menu

This commit is contained in:
Julie Salha 2023-02-03 09:17:16 +01:00
parent 9164abe988
commit b39d658c06
5 changed files with 9 additions and 7 deletions

View file

@ -5,7 +5,7 @@
= link_to "Nouvelle Démarche", new_from_existing_admin_procedures_path, id: 'new-procedure', class: 'fr-btn'
.fr-container
%nav.tabs{ role: 'navigation', 'aria-label': t('views.users.dossiers.label_navigation') }
%nav.tabs{ role: 'navigation', 'aria-label': t('views.users.dossiers.secondary_menu') }
%ul
= tab_item(t('pluralize.published', count: @procedures_publiees.count), admin_procedures_path(statut: 'publiees'), active: @statut == 'publiees', badge: number_with_html_delimiter(@procedures_publiees_count))
= tab_item('En test', admin_procedures_path(statut: 'brouillons'), active: @statut == 'brouillons', badge: number_with_html_delimiter(@procedures_draft_count))

View file

@ -1,4 +1,4 @@
#search-modal.fr-header__search.fr-modal{ "aria-label" => t('views.users.dossiers.search.search_file') }
#search-modal.fr-header__search.fr-modal{ "aria-label": t('views.users.dossiers.search.search_file') }
.fr-container.fr-container-lg--fluid
%button.fr-btn--close.fr-btn{ "aria-controls" => "search-modal", :title => t('close_modal', scope: [:layouts, :header]) }= t('close_modal', scope: [:layouts, :header])
#search-473.fr-search-bar.fr-search-bar--lg

View file

@ -14,7 +14,7 @@
- else
%h1.page-title= t('views.users.dossiers.index.dossiers')
%nav.tabs{ role: 'navigation', "aria-label" => t('views.users.dossiers.label_navigation') }
%nav.tabs{ role: 'navigation', 'aria-label': t('views.users.dossiers.secondary_menu') }
%ul
- if @user_dossiers.present?
= tab_item(t('pluralize.en_cours', count: @user_dossiers.count),

View file

@ -317,8 +317,9 @@ en:
demande:
edit_dossier: "Edit file"
search:
search_file: "Search a file"
simple: "Search"
search_file: Search a file
simple: Search
secondary_menu: Secondary menu
index:
dossiers: "Files"
dossiers_list:

View file

@ -313,8 +313,9 @@ fr:
demande:
edit_dossier: "Modifier le dossier"
search:
search_file: "Rechercher un dossier"
simple: "Rechercher"
search_file: Rechercher un dossier
simple: Rechercher
secondary_menu: Menu secondaire
index:
dossiers: "Dossiers"
dossiers_list: