Closed
Bug 523091
Opened 16 years ago
Closed 16 years ago
Values in selectboxes "Severity", "OS" and "Platform" are not translated
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 512623
People
(Reporter: dizelgenerator, Unassigned)
Details
User-Agent: Opera/9.64 (Windows NT 5.1; U; ru) Presto/2.1.1
Build Identifier: 3.4.2
On page "Enter a bug" (URI /enter_bug.cgi) values in selectboxes "Severity", "OS" and "Platform" are not translated. Localized template for test I used (downloaded from http://www.bugzilla.org/download/ page):
- Русский / Russian 3.4.2 by Виталий Федрушков (Vitaly Fedrushkov)
Localized template files contain translated strings
Reproducible: Always
Steps to Reproduce:
1. Install Bugzilla;
2. Install one of localized template (for example, Russian);
3. Go to "Enter a bug" page.
Actual Results:
Values in selectbox "Severity" are not translated ("blocker", "critical", etc.)
Values in selectbox "Platform" are not translated ("All", "PC", etc.)
Values in selectbox "OS" are not translated ("All", "Windows", etc.)
Expected Results:
Values in selectbox "Severity": ("Чрезвычайная", "Критическая", etc.)
Values in selectbox "Platform": ("Любая", "PC", etc.)
Values in selectbox "OS": ("Любая", "Windows", etc.)
Environment where the problem occured:
PC1:
Windows XP SP3 Russian
Perl 5.10.1
Apache 2.2.9
PC2:
Windows 2008 Server Standard SP2 Russian
Perl 5.8.8
Apache 2.2.8
I've written a dirty workaround to fix this issue:
File "\template\ru\default\bug\field.html.tmpl"
Change code from (line 155 in original file)
[%- legal_value.name FILTER html %]</option>
to
[% IF "bug_severity" == field.name %]
[%- get_severity(legal_value.name) FILTER html %]
[% ELSIF "op_sys" == field.name %]
[%- get_os(legal_value.name) FILTER html %]
[% ELSIF "rep_platform" == field.name %]
[%- get_platform(legal_value.name) FILTER html %]
[% ELSE %]
[%- legal_value.name FILTER html %]
[% END %]</option>
| Reporter | ||
Updated•16 years ago
|
Version: unspecified → 3.4.2
Comment 1•16 years ago
|
||
This has been fixed in Bugzilla 3.5, but as it's a pretty big change, we won't backport it to the 3.4 branch.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Comment 2•16 years ago
|
||
Suggested fix is relevant to Bugzilla-ru only. And yes, newer version already includes bug 512623 outcome.
You need to log in
before you can comment on or make changes to this bug.
Description
•