Revision bf23ac8c
Added by Marc Dequènes almost 15 years ago
- ID bf23ac8c74dbe0ad5720ba4c742369e3eafbab85
lib/ldap_shadows.rb | ||
---|---|---|
require 'ldap_shadows/info'
|
||
require 'ldap_shadows/config'
|
||
require 'ldap_shadows/lang_additions'
|
||
require 'ldap_shadows/exceptions'
|
||
require 'ldap_shadows/controller'
|
||
require 'gettext'
|
||
|
||
|
||
module LdapShadows
|
||
include GetText
|
||
ENV['LC_ALL'] = "C"
|
||
bindtextdomain('ldapshadows', {:path => Config::L10N_DIR, :charset => "UTF-8"})
|
||
# default locale
|
||
set_locale('en')
|
||
end
|
Also available in: Unified diff
[evol] begining of the error abstraction with a simplied exception list, with translation using gettext (no translations yet)