Vote #65652
完了text_journal_changed, text_journal_set_to, text_journal_deleted
0%
説明
@issues_helper.rb@ composes message strings for @text_journal_changed@, @text_journal_set_to@, and @text_journal_deleted@ messages by string concatenation, like this:
label + " " + l(:text_journal_changed, :old => old_value, :new => value)
This produces clumsy messages with russian translation.
The label should be moved to message arguments, and russian translations should be changed as follows:
text_journal_changed: "Параметр '{{label}}' изменен с {{old}} на {{new}}"
text_journal_deleted: "Значение '{{label}}' удалено"
text_journal_set_to: "Параметр '{{label}}' изменен на {{value}}"
journals
OK, I created patch to solve this, but final decision will take Jean-Philippe.
--------------------------------------------------------------------------------
Azamat Hackimov:
Looks good to me. We would need to change any other translation also, otherwise Rails might throw an exception from missing I18n arguments.
--------------------------------------------------------------------------------
OK, patch now in tree.
--------------------------------------------------------------------------------