Load also de-de for tests.
This commit is contained in:
parent
7ea7c1aa83
commit
e1d8e76f60
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ returns
|
||||||
def self.to_sync
|
def self.to_sync
|
||||||
locales = Locale.where(active: true)
|
locales = Locale.where(active: true)
|
||||||
if Rails.env.test?
|
if Rails.env.test?
|
||||||
locales = Locale.where(active: true, locale: ['en-us'])
|
locales = Locale.where(active: true, locale: ['en-us', 'de-de'])
|
||||||
end
|
end
|
||||||
|
|
||||||
# read used locales based on env, e. g. export Z_LOCALES='en-us:de-de'
|
# read used locales based on env, e. g. export Z_LOCALES='en-us:de-de'
|
||||||
|
|
Loading…
Reference in a new issue