Project

General

Profile

« Previous | Next » 

Revision 51546fe5

Added by Marc Dequènes over 13 years ago

  • ID 51546fe57a7c69cdece4127636d9bb2eb3d7528d

[evol] adapted current I18n system for late translation

View differences:

bin/test_client
module CyborgHood
module TestClientHome
include I18nTranslation
bindtextdomain("cyborghood_mapmaker", {:path => Config::L10N_DIR, :charset => "UTF-8"})
bindtextdomain("cyborghood_mapmaker", {:path => Config::L10N_DIR, :output_charset => "UTF-8"})
class TestClientClient < Cyborg
# load config before modules are included
......
#know? "MapMaker", :k1, "/Zones"
#know? "MapMaker", :k2, "/prout"
set_user "guihome"
set_preferred_locales "fr"
ask "Clerk", :dns_info, "/Commands/DNS/INFO"
on_error do
puts "PLOUF"

Also available in: Unified diff