diff options
| author | Alban Peignier | 2018-04-18 22:39:54 +0200 | 
|---|---|---|
| committer | Alban Peignier | 2018-04-18 22:40:07 +0200 | 
| commit | 10ac46e2d829d24ce3cac3a0ca84801bb09e6f31 (patch) | |
| tree | 486b2af766129b5a185eff4dfb727f2d6ea887b0 | |
| parent | af36cb9b844760adb26863bb4d9c3c55209557a9 (diff) | |
| download | chouette-core-10ac46e2d829d24ce3cac3a0ca84801bb09e6f31.tar.bz2 | |
Use config/locales/zzz-stif.yml to store STIF i18n values. Refs #6545
| -rw-r--r-- | app/views/layouts/navigation/_main_nav_left_content_stif.html.slim | 4 | ||||
| -rw-r--r-- | config/locales/layouts.fr.yml | 4 | ||||
| -rw-r--r-- | config/locales/zzz-stif.yml | 5 | 
3 files changed, 9 insertions, 4 deletions
| diff --git a/app/views/layouts/navigation/_main_nav_left_content_stif.html.slim b/app/views/layouts/navigation/_main_nav_left_content_stif.html.slim index 323fffedd..589f99ae3 100644 --- a/app/views/layouts/navigation/_main_nav_left_content_stif.html.slim +++ b/app/views/layouts/navigation/_main_nav_left_content_stif.html.slim @@ -13,8 +13,8 @@                span = t('layouts.navbar.dashboard')              = link_to workbench_output_path(workbench), class: 'list-group-item' do                span = t('layouts.navbar.workbench_outputs.organisation') -            = link_to '#', class: 'list-group-item' do -              span = t('layouts.navbar.workbench_outputs.idf') +            = link_to '#', class: 'list-group-item disabled' do +              span = t('layouts.navbar.workbench_outputs.workgroup')        .menu-item.panel          .panel-heading diff --git a/config/locales/layouts.fr.yml b/config/locales/layouts.fr.yml index 345151223..019c72701 100644 --- a/config/locales/layouts.fr.yml +++ b/config/locales/layouts.fr.yml @@ -21,8 +21,8 @@ fr:          one: Offres courante          other: Offres courantes        workbench_outputs: -        organisation: Offres de mon organisation -        idf: Offres IDF +        organisation: Offre de mon organisation +        workgroup: Offre du groupe de travail        tools: Outils        sync: Synchronisation        sync_icar: Synchronisation iCAR diff --git a/config/locales/zzz-stif.yml b/config/locales/zzz-stif.yml new file mode 100644 index 000000000..a9e6a0ef4 --- /dev/null +++ b/config/locales/zzz-stif.yml @@ -0,0 +1,5 @@ +fr: +  layouts: +    navbar: +      workbench_outputs: +        workgroup: Offre IDF | 
