Edgewall Software

Opened 14 years ago

Last modified 14 years ago

#9308 closed defect

Text of h1 element in ticket-delete page isn't translated — at Version 2

Reported by: Jun Omae Owned by:
Priority: normal Milestone: 0.12
Component: i18n Version: 0.12dev
Severity: normal Keywords:
Cc: Pedro Algarvio, aka, s0undt3ch, Christopher Lenz Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

The translated message in each language catalog exists. However, the text of h1 element in ticket-delete page isn't translated.

Is it Genshi issue?

French

Japanese

Change History (4)

by Jun Omae, 14 years ago

Attachment: locale-fr.png added

by Jun Omae, 14 years ago

Attachment: locale-ja.png added

in reply to:  description comment:1 by Christian Boos, 14 years ago

Cc: Pedro Algarvio, aka, s0undt3ch Christopher Lenz added
Milestone: 0.120.12.1

Replying to jomae:

Is it Genshi issue?

I'm afraid so, I could reproduced the issue, but was not able to understand why that specific message couldn't be translated.

I first thought it could be related to the fact that there are two very similar messages:

#: tracopt/ticket/templates/ticket_delete.html:11
#, python-format
msgid "Delete Ticket #%(id)s"
msgstr ""

# ...

#: tracopt/ticket/templates/ticket_delete.html:20
#, python-format
msgid "Delete [1:Ticket #%(id)s]"
msgstr ""

But the first gets correctly translated, and changing it so that they're really different doesn't make it better for the second message…

No clue so far.

comment:2 by Christian Boos, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.