diff options
| author | Xinhui | 2017-05-22 15:22:52 +0200 |
|---|---|---|
| committer | Xinhui | 2017-05-22 15:22:59 +0200 |
| commit | 897bc5fb10b1867970367ede388feac0ac1a5791 (patch) | |
| tree | 0f62692076d035a470033bc43082b96228162df3 /config | |
| parent | 7b498a92d79a0305b98418774b65cf9fcb1ce237 (diff) | |
| download | chouette-core-897bc5fb10b1867970367ede388feac0ac1a5791.tar.bz2 | |
TimeTables#actualize retrieve dates & periods from calendar
Refs #3445
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/actions.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/actions.fr.yml | 1 | ||||
| -rw-r--r-- | config/locales/time_tables.en.yml | 2 | ||||
| -rw-r--r-- | config/locales/time_tables.fr.yml | 2 | ||||
| -rw-r--r-- | config/routes.rb | 1 |
5 files changed, 7 insertions, 0 deletions
diff --git a/config/locales/actions.en.yml b/config/locales/actions.en.yml index 5bfd9d9fb..6e2dd3aa2 100644 --- a/config/locales/actions.en.yml +++ b/config/locales/actions.en.yml @@ -13,6 +13,7 @@ en: clean_up: 'Clean up' sync: 'Synchronize' combine: 'Combine' + actualize: 'Actualize' or: "or" cancel: "Cancel" search_hint: "Type in a search term" diff --git a/config/locales/actions.fr.yml b/config/locales/actions.fr.yml index 94afc1393..8f2fc90f8 100644 --- a/config/locales/actions.fr.yml +++ b/config/locales/actions.fr.yml @@ -14,6 +14,7 @@ fr: clean_up: 'Purger' sync: 'Synchroniser' combine: 'Combiner' + actualize: 'Actualiser' or: "ou" cancel: "Annuler" search_hint: "Entrez un texte à rechercher" diff --git a/config/locales/time_tables.en.yml b/config/locales/time_tables.en.yml index 495770987..6c5aac012 100644 --- a/config/locales/time_tables.en.yml +++ b/config/locales/time_tables.en.yml @@ -20,6 +20,8 @@ en: add_period: "Add a period" add_date: "Add a peculiar date" add_excluded_date: "Add an excluded date" + actualize: + success: "Actualize succeded" new: title: "Add a new timetable" edit: diff --git a/config/locales/time_tables.fr.yml b/config/locales/time_tables.fr.yml index fbd1386c8..36a588eb4 100644 --- a/config/locales/time_tables.fr.yml +++ b/config/locales/time_tables.fr.yml @@ -20,6 +20,8 @@ fr: add_period: "Ajouter une période" add_date: "Ajouter une date particulière" add_excluded_date: "Ajouter une date exclue" + actualize: + success: "Actualisation terminée" new: title: "Ajouter un calendrier" duplicate: diff --git a/config/routes.rb b/config/routes.rb index 4342052f7..f75578106 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -168,6 +168,7 @@ ChouetteIhm::Application.routes.draw do get :tags end member do + post 'actualize' get 'duplicate' get 'month', defaults: { format: :json } end |
