Parent

Object

Public Instance Methods

files_to_translate() click to toggle source
# File lib/gettext_i18n_rails_js/tasks.rb, line 44
def files_to_translate
  puts 'translate these files'
  Dir.glob("{app,lib,config,#{locale_path}}/**/*.{rb,erb,haml,slim,js,coffee,handlebars}")
end
js_gettext_function() click to toggle source

The parser will use this as the function basename when parsing translations.

# File lib/gettext_i18n_rails_js/tasks.rb, line 50
def js_gettext_function
  '__'
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.