Project

General

Profile

« Previous | Next » 

Revision c2f9dd87

Added by Marc Dequènes about 13 years ago

  • ID c2f9dd871aeff90135d85c2fa43ce6ad62e35e30

[evol] I18n: new helpers to setup gettext domains and deferred translations (and one to inject the correct domain into specific core classes in order to be able to use cyborg-local translations into them (currently only needed for DSL classes))

View differences:

lib/cyborghood/cyborg.rb
self.class.model
end
def self.inject_deferred_translations
DSL.add_deferred_translations self.model.downcase
end
# #^.*/system$# categories are reserved
# but you may enhance or break the system as you wish
def get_channel(name)

Also available in: Unified diff