Project

General

Profile

« Previous | Next » 

Revision bf23ac8c

Added by Marc Dequènes almost 15 years ago

  • ID bf23ac8c74dbe0ad5720ba4c742369e3eafbab85

[evol] begining of the error abstraction with a simplied exception list, with translation using gettext (no translations yet)

View differences:

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