Methods

Included Modules

Class Index [+]

Quicksearch

ActiveLdap::GetTextSupport

Public Class Methods

included(base) click to toggle source
    # File lib/active_ldap/get_text_support.rb, line 10
10:       def included(base)
11:         base.class_eval do
12:           include(GetText::Translation)
13:           po_dir = File.join(File.dirname(__FILE__), "..", "..", "po")
14:           po_dir = File.expand_path(po_dir)
15:           GetText.add_text_domain('active-ldap', :path => po_dir, :type => :po)
16:           GetText.default_available_locales = ['en', 'jp']
17:           GetText.default_text_domain = "active-ldap"
18:         end
19:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.