lib/i18n/migrations/migrator.rb in i18n-migrations-0.2.0 vs lib/i18n/migrations/migrator.rb in i18n-migrations-0.2.1
- old
+ new
@@ -80,10 +80,10 @@
end
def push(locale_or_all, force = false)
each_locale(locale_or_all) do |locale|
next if locale.main_locale?
- sheet = get_google_spreadsheet(locale)
+ sheet = get_google_spreadsheet(locale.name)
unless force
locale.pull(sheet)
migrate(locale.name)
end
locale.push(sheet)