Project

General

Profile

« Previous | Next » 

Revision 2b56c5a4

Added by Marc Dequènes almost 15 years ago

  • ID 2b56c5a4c5c1c8cb3cb1fa6b7740b7f8f03bb8d3

[evol] improve config #3 (move non-framework translations in config dir)

View differences:

lib/ldap_shadows/display_utils.rb
module LdapShadows
module Translator
I18n.load_path += Dir[File.join(Config::DATA_DIR, "*.yml")]
I18n.load_path += Dir[File.join(Config::CFG_DIR, "translations", "**", "*.yml")]
I18n.default_locale = :en
def self.translate_object_name(obj_hdl)

Also available in: Unified diff