From 041c7691827357ceecb5c2d1ef47761b097be163 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sat, 30 May 2020 00:06:02 +0200 Subject: Move glitch-specific ruby-side locales to their own files --- config/initializers/locale.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config/initializers') diff --git a/config/initializers/locale.rb b/config/initializers/locale.rb index 04ed31646..fed182a71 100644 --- a/config/initializers/locale.rb +++ b/config/initializers/locale.rb @@ -4,3 +4,4 @@ I18n.load_path += Dir[Rails.root.join('app', 'javascript', 'flavours', '*', 'nam I18n.load_path += Dir[Rails.root.join('app', 'javascript', 'flavours', '*', 'names', '*.{rb,yml}').to_s] I18n.load_path += Dir[Rails.root.join('app', 'javascript', 'skins', '*', '*', 'names.{rb,yml}').to_s] I18n.load_path += Dir[Rails.root.join('app', 'javascript', 'skins', '*', '*', 'names', '*.{rb,yml}').to_s] +I18n.load_path += Dir[Rails.root.join('config', 'locales-glitch', '*.{rb,yml}').to_s] -- cgit