Vote #80868
完了Error messages for Wiki macros are not internationalized
0%
説明
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.
--------------------------------------------------------------------------------