diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/workbenches.en.yml | 15 | ||||
| -rw-r--r-- | config/locales/workbenches.fr.yml | 15 | ||||
| -rw-r--r-- | config/routes.rb | 2 | 
3 files changed, 27 insertions, 5 deletions
diff --git a/config/locales/workbenches.en.yml b/config/locales/workbenches.en.yml index 7f21f47a0..6e4c9b567 100644 --- a/config/locales/workbenches.en.yml +++ b/config/locales/workbenches.en.yml @@ -2,6 +2,14 @@ en:    workbenches:      show:        title: "%{name}" +    edit: +      title: "Configure the workbench" +    update: +      title: "Configure the workbench" +    referential_count: +      zero: "There is no referential in your workbench" +      one: "There is one referential in your workbench" +      other: "There are #{count} referentials in your workbench"      index:        title: "%{organisation} dashboard"        offers: @@ -12,10 +20,9 @@ en:          calendars: "Calendars"          see: "See the list"          no_content: "No content yet." -    referential_count: -      zero: "There is no referential in your workbench" -      one: "There is one referential in your workbench" -      other: "There are #{count} referentials in your workbench" +    actions: +      show_output: "Merge offer" +      affect_ccset: "Configure"    activerecord:      models:        workbench: diff --git a/config/locales/workbenches.fr.yml b/config/locales/workbenches.fr.yml index e7a392e66..72d72fade 100644 --- a/config/locales/workbenches.fr.yml +++ b/config/locales/workbenches.fr.yml @@ -2,12 +2,27 @@ fr:    workbenches:      show:        title: "%{name}" +    edit: +      title: "Configurer l'espace de travail" +    update: +      title: "Configurer l'espace de travail"      referential_count:        zero: "Aucun jeu de données dans cet espace de travail"        one: "1 jeu de données dans cet espace de travail"        other: "#{count} jeux de données dans cet espace de travail" +    index: +      title: "%{organisation} dashboard" +      offers: +        title: "Transport offers" +        organisation: "Organisation offers" +        idf: "IDF offers" +        referentials: "Referentials" +        calendars: "Calendars" +        see: "Voir la liste" +        no_content: "No content yet."      actions:        show_output: "Finaliser l'Offre" +      configure: "Configurer"    activerecord:      models:        workbench: diff --git a/config/routes.rb b/config/routes.rb index 456cb66f5..33608f3fe 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -174,7 +174,7 @@ ChouetteIhm::Application.routes.draw do    namespace :api do      namespace :v1 do -      resources :workbenches, only: [:index, :show] do +      resources :workbenches, except: [:destroy] do          resources :imports, only: [:index, :show, :create]        end        resources :access_links, only: [:index, :show]  | 
