プロジェクト

全般

プロフィール

Vote #80868

完了

Error messages for Wiki macros are not internationalized

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
37
version_id:
152
issue_org_id:
33426
author_id:
332
assigned_to_id:
332
comments:
5
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Error messages of Wiki macros are always displayed in English regardless of the current user's language setting. In the screenshot below, the user's language is Japanese.

!{width: 600px; border: 1px solid grey;}.en-error-message-on-ja-page.png!


journals

Here is a patch to fix the issue.

--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------
Error messages in @macro@ method that is used when making a macro should not be internationalized for the following reasons:

* Macros are defined during the startup process of Redmine. At that point, I18n strings are not available yet
* The error messages appear only in logs, not UI

The attached patch partially reverts the change.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Error messages in @macro@ method that is used when making a macro should not be internationalized for the following reasons:
>
> * Macros are defined during the startup process of Redmine. At that point, I18n strings are not available yet
> * The error messages appear only in logs, not UI
>
> The attached patch partially reverts the change.

Fixed in r20015.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリI18n_37 にセット
  • 対象バージョン4.2.0_152 にセット

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

いいね!0
いいね!0