diff --git a/config/environment.rb b/config/environment.rb index 5574632..f3325bd 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -6,6 +6,8 @@ # Initialize the Rails application. Rails.application.initialize! -# Wipe out default Rails & gem i18n. -I18n.load_path = Dir[Rails.root.join('config', 'locales', '*.{rb,yml}')] -I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')] +# Wipe out default gem i18n. +I18n.load_path = I18n.load_path.delete_if { |i| i =~ /gems/ } + +# I18n.load_path = Dir[Rails.root.join('config', 'locales', '*.{rb,yml}')] +# I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')] diff --git a/config/locales/events/de.yml b/config/locales/events/de.yml index e4221c8..55280c3 100644 --- a/config/locales/events/de.yml +++ b/config/locales/events/de.yml @@ -119,7 +119,3 @@ de: delete: Entferne Volume imported: "Importiertes Volume %{volume}" restore: Wiederherstellung Volume - wordpress: - protect: - enable: "[%{service}] Enabling protect mode" - disable: "[%{service}] Disabling protect mode" diff --git a/config/locales/events/en.yml b/config/locales/events/en.yml index a87b7ef..6b9d537 100644 --- a/config/locales/events/en.yml +++ b/config/locales/events/en.yml @@ -121,7 +121,3 @@ en: delete: Removing volume imported: "Imported volume %{volume}" restore: Performing volume restore - wordpress: - protect: - enable: "[%{service}] Enabling protect mode" - disable: "[%{service}] Disabling protect mode" diff --git a/config/locales/events/fi.yml b/config/locales/events/fi.yml index 87aef58..a95de30 100644 --- a/config/locales/events/fi.yml +++ b/config/locales/events/fi.yml @@ -119,7 +119,3 @@ fi: delete: "Poistetaan tallennustila %{volume}" imported: "Tuotu tallennustila %{volume}" restore: Suoritetaan tallennustilan palautus - wordpress: - protect: - enable: "[%{service}] Enabling protect mode" - disable: "[%{service}] Disabling protect mode" diff --git a/config/locales/events/fr.yml b/config/locales/events/fr.yml index e5f37f0..f3fd2d0 100644 --- a/config/locales/events/fr.yml +++ b/config/locales/events/fr.yml @@ -119,7 +119,3 @@ fr: delete: Removing volume imported: "Imported volume %{volume}" restore: Performing volume restore - wordpress: - protect: - enable: "[%{service}] Enabling protect mode" - disable: "[%{service}] Disabling protect mode" diff --git a/config/locales/events/nl.yml b/config/locales/events/nl.yml index ba52db5..1589b01 100644 --- a/config/locales/events/nl.yml +++ b/config/locales/events/nl.yml @@ -119,7 +119,3 @@ nl: delete: Removing volume imported: "Imported volume %{volume}" restore: Performing volume restore - wordpress: - protect: - enable: "[%{service}] Enabling protect mode" - disable: "[%{service}] Disabling protect mode"