Fixed typo.
This commit is contained in:
parent
4e8ee5159e
commit
e21966aede
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ load translations from online
|
|||
def self.load
|
||||
locales = Locale.where(active: true)
|
||||
if Rails.env.test?
|
||||
locales = Locale.where(active: true, name: ['en-us', 'de-de'])
|
||||
locales = Locale.where(active: true, locale: ['en-us', 'de-de'])
|
||||
end
|
||||
locales.each {|locale|
|
||||
url = "https://i18n.zammad.com/api/v1/translations/#{locale.locale}"
|
||||
|
|
Loading…
Reference in a new issue