diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-05-30 00:06:02 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-05-30 12:54:17 +0200 |
commit | 041c7691827357ceecb5c2d1ef47761b097be163 (patch) | |
tree | acb6f556b0f37c0ce8fd8258c6e8e22be2b58175 /config/initializers | |
parent | 491588f6b42fb42cf0b8e648aff958bac1add407 (diff) |
Move glitch-specific ruby-side locales to their own files
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/locale.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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] |