Revision c2f9dd87
Added by Marc Dequènes over 13 years ago
- ID c2f9dd871aeff90135d85c2fa43ce6ad62e35e30
bin/test_client | ||
---|---|---|
|
||
module CyborgHood
|
||
module TestClientHome
|
||
include I18nTranslation
|
||
bindtextdomain("cyborghood_mapmaker", {:path => Config::L10N_DIR, :output_charset => "UTF-8"})
|
||
add_translations 'testclient'
|
||
|
||
class TestClientClient < Cyborg
|
||
# load config before modules are included
|
||
Config.load
|
||
|
||
inject_deferred_translations
|
||
|
||
include BotNet
|
||
|
||
def start_work
|
Also available in: Unified diff
[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))