mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 05:46:04 +01:00
Less specific
This commit is contained in:
parent
ff956febee
commit
53f3e487fd
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ I18n.with_locale("") do
|
|||
unless flag_map.index(cc).nil?
|
||||
begin
|
||||
lang = I18n.translate("#{l}.language")
|
||||
lang = '' if lang == "translation missing: #{l}.language"
|
||||
lang = '' if lang.index "translation missing"
|
||||
APP_LOCALES[l] = [lang, cc]
|
||||
rescue I18n.MissingTranslationData
|
||||
APP_LOCALES[l] = ['', cc]
|
||||
|
|
Loading…
Reference in a new issue