Sha256: 2c11310c01f51f9aa1a81c0a667408285fc4062e6cc3eb12214020305e757d5e
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
module ActiveLdap class << self def get_text_supported? not const_defined?(:GetTextFallback) end end module GetTextSupport class << self def included(base) base.class_eval do include(GetText::Translation) GetText.add_text_domain('active-ldap',:path=>'po', :type=>:po) GetText.default_available_locales = ['en', 'jp'] GetText.default_text_domain = "active-ldap" end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
activeldap-1.2.3 | lib/active_ldap/get_text_support.rb |
activeldap3-1.2.3 | lib/active_ldap/get_text_support.rb |