Revision ed09e1e5
Added by Marc Dequènes over 14 years ago
- ID ed09e1e54f715adf2b319596f79ede9fcbf91c8f
bin/postman | ||
---|---|---|
|
||
module CyborgHood
|
||
module PostmanHome
|
||
include CHTranslation
|
||
include I18nTranslation
|
||
bindtextdomain("cyborghood_postman", {:path => Config::L10N_DIR, :charset => "UTF-8"})
|
||
|
||
# not yet ready to be a real Cyborg
|
||
class Postman #< Cyborg
|
||
include CHTranslation
|
||
include I18nTranslation
|
||
|
||
def initialize
|
||
# load config
|
||
... | ... | |
result_msg += " (#{report.error.untranslated})" unless report.ok?
|
||
logger.info result_msg
|
||
|
||
i18n = I18n.instance
|
||
i18n = I18nController.instance
|
||
i18n.set_language_for_user(report.user)
|
||
|
||
unless report.ok?
|
||
... | ... | |
end
|
||
|
||
class CommandRunner
|
||
include CHTranslation
|
||
include I18nTranslation
|
||
|
||
def self.run(order)
|
||
result_list = []
|
Also available in: Unified diff
[cleanup] better class/modules names for a few items