プロジェクト

全般

プロフィール

Vote #65652

完了

text_journal_changed, text_journal_set_to, text_journal_deleted

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Translations_12
対象バージョン:
開始日:
2009/09/05
期日:
進捗率:

0%

予定工数:
category_id:
12
version_id:
6
issue_org_id:
3807
author_id:
7804
assigned_to_id:
1592
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

@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.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリTranslations_12 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0