Revision eb6e0359
Added by Marc Dequènes about 14 years ago
- ID eb6e0359e66f7e92e69b30eaa3795818d2e29ab0
lib/cyborghood/order.rb | ||
---|---|---|
end
|
||
|
||
class Order
|
||
include GetText
|
||
include CHTranslation
|
||
attr_reader :error, :user, :commands, :shared_parameters
|
||
|
||
def initialize(params = {})
|
||
... | ... | |
begin
|
||
raw_cmd_parts = line.shellsplit
|
||
rescue
|
||
errors << N_("Syntax error in command.")
|
||
errors << _("Syntax error in command.")
|
||
raw_cmd_parts = []
|
||
end
|
||
cmd_parts = raw_cmd_parts.collect do |word|
|
Also available in: Unified diff
[evol] translation rework: new mechanism to handle translated/untranslated strings, make use of translation parameters, moved I18n class, translations update