aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/locales/actions.en.yml1
-rw-r--r--config/locales/actions.fr.yml1
-rw-r--r--config/locales/time_tables.en.yml2
-rw-r--r--config/locales/time_tables.fr.yml2
-rw-r--r--config/routes.rb1
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