lib/alephant/renderer/i18n/locale_component_yaml.rb in alephant-renderer-3.0.0 vs lib/alephant/renderer/i18n/locale_component_yaml.rb in alephant-renderer-3.1.0
- old
+ new
@@ -31,16 +31,14 @@
.flatten
.uniq
end
def translation_filename
- File.join(
- translations_path,
- '*.yml')
+ File.join(translations_path, '*.yml')
end
def translations_path
- @translations_path || './components/lib/locales'
+ @translations_path || './components/lib/locale'
end
def i18n_lib
i18n_lib = ::I18n
i18n_lib.enforce_available_locales = false