Namespace

GetText

Public Instance Methods

update_pofiles(textdomain, files, app_version, options = {}) click to toggle source

update_pofiles for ActiveRecord. In this method, GetText::ActiveRecordParser.init is called with “options”.

 (e.g.)
 GetText.update_po_files("foo", Dir.glob("lib/**/*"), "1.0.0", :untranslate_classes = ["UntranslateClass"]
    # File lib/gettext_activerecord/tools.rb, line 25
25:   def update_pofiles(textdomain, files, app_version, options = {})
26:     GetText::ActiveRecordParser.init(options)
27:     GetText.update_pofiles_org(textdomain, files, app_version, options)
28:   end
Also aliased as: update_pofiles_org
update_pofiles_org(textdomain, files, app_version, options = {}) click to toggle source
Alias for: update_pofiles

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.