aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml3
-rw-r--r--config/locales/fr.yml3
-rw-r--r--config/routes.rb3
3 files changed, 9 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index cc6751f..1ad71b1 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -55,6 +55,9 @@ en:
view_live_html: 'View this blog post live <br/><em>(opens in a new window)</em>'
edit: Edit this blog post
delete: Remove this blog post forever
+ delete_translation: Remove this translation
+ delete_translation_confirmation: Are you sure you want to remove this translation forever ?
+ delete_translation_success: The translation was successfully removed.
draft: Draft
settings:
notification_recipients:
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index fe62db2..867aacc 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -55,6 +55,9 @@ fr:
view_live_html: 'Voir cet article sur le site<br/><em>(Ouvre une nouvelle fenêtre)</em>'
edit: Modifier cet article
delete: Supprimer cet article
+ delete_translation: Supprimer cette traduction
+ delete_translation_confirmation: Êtes-vous sûr de vouloir supprimer cette traduction ?
+ delete_translation_success: La traduction a été correctement supprimée.
draft: Brouillon
settings:
notification_recipients:
diff --git a/config/routes.rb b/config/routes.rb
index 8a7ae27..f36bc11 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -20,6 +20,9 @@ Refinery::Core::Engine.routes.draw do
get :uncategorized
get :tags
end
+ member do
+ post :delete_translation
+ end
end
resources :categories