lib/i18n/migrations/config.rb in i18n-migrations-1.2.2 vs lib/i18n/migrations/config.rb in i18n-migrations-1.2.3
- old
+ new
@@ -57,10 +57,10 @@
get_value([:other_locales, locale])['do_not_translate'] || {}
end
def google_translate_api_key
- get_value(:google_translate_api_key)
+ get_value(:google_translate_api_key, ENV['GOOGLE_TRANSLATE_API_KEY'])
end
def concurrency
get_value(:concurrency, DEFAULT_CONCURRENCY)
end