Defect #33426
closed
Error messages for Wiki macros are not internationalized
Added by Go MAEDA over 4 years ago.
Updated about 4 years ago.
Description
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.
Files
Here is a patch to fix the issue.
- Target version changed from Candidate for next major release to 4.2.0
Setting the target version to 4.2.0.
- Subject changed from Error messages of Wiki macros are not internationalized to Error messages for Wiki macros are not internationalized
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
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.
- Status changed from Reopened to Closed
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.
- Related to Patch #37668: Fix bad I18n `t` call in macro error handler added
Also available in: Atom
PDF