Module: GetText

### Home Classes Methods

### In Files

- lib/gettext_activerecord/tools.rb
- lib/gettext_activerecord/parser.rb

### Namespace

- MODULE GetText::ActiveRecordParser

### Methods

- #update_pofiles
- #update_pofiles_org

### Class/Module Index

Quicksearch

- ActiveRecord
- ActiveRecord::Base
- ActiveRecord::ConnectionAdapters
- ActiveRecord::ConnectionAdapters::Column
- ActiveRecord::Migration
- GetText
- GetText::ActiveRecordParser
- Class
- GetTextActiveRecord
- Object

No matching classes.

# 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
    def update_pofiles(textdomain, files, app_version, options = {})
      GetText::ActiveRecordParser.init(options)
      GetText.update_pofiles_org(textdomain, files, app_version, options)
    end

Also aliased as: update_pofiles_org
update_pofiles_org(textdomain, files, app_version, options = {}) click to toggle source
Alias for: update_pofiles

[Validate]

Generated with the Darkfish Rdoc Generator 2.