Module: GettextI18nRailsJs::Task

Extended by:
Task
Included in:
Task
Defined in:
lib/gettext_i18n_rails_js/task.rb

Instance Method Summary collapse

Instance Method Details

#po_to_jsonObject



30
31
32
33
34
35
36
37
38
39
# File 'lib/gettext_i18n_rails_js/task.rb', line 30

def po_to_json
  set_config

  if files_list.empty?
    puts "Couldn't find PO files in #{locale_path}, run 'rake gettext:find'"
  else
    files_iterate
    print_footer
  end
end