Defect #33426
Error messages for Wiki macros are not internationalized
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | I18n | |||
Target version: | 4.2.0 | |||
Resolution: | Fixed | Affected version: |
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.
Associated revisions
Internationalize error messages for wiki macros (#33426).
Patch by Go MAEDA.
Update locales (#33426).
Don't internationalize error messages used when defining a macro (#33426).
History
#1
Updated by Go MAEDA 8 months ago
- File 33426.patch
added
- Target version set to Candidate for next major release
Here is a patch to fix the issue.
#4
Updated by Go MAEDA 4 months ago
- File fix-r20013.patch
added
- Status changed from Closed to Reopened
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.
#5
Updated by Go MAEDA 4 months ago
- 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.