Modify ↓
#9308 closed defect (fixed)
Text of h1 element in ticket-delete page isn't translated
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| 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 )
Attachments (2)
Change History (7)
by , 16 years ago
| Attachment: | locale-fr.png added |
|---|
by , 16 years ago
| Attachment: | locale-ja.png added |
|---|
comment:1 by , 16 years ago
| Cc: | added |
|---|---|
| Milestone: | 0.12 → 0.12.1 |
comment:2 by , 16 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 16 years ago
I found a workaround for the issue. The message is translated now, but I'm not able to understand why….
-
tracopt/ticket/templates/ticket_delete.html
17 17 <div id="content" class="ticket" py:choose="action"> 18 18 <py:when test="'delete'"> 19 19 <h1 id="trac-ticket-title"> 20 < i18n:msg params="id">Delete <a href="${href.ticket(ticket.id)}">Ticket #$ticket.id</a></i18n:msg>20 <span i18n:msg="id">Delete <a href="${href.ticket(ticket.id)}">Ticket #$ticket.id</a></span> 21 21 <span class="status">($ticket.status<py:if 22 22 test="ticket.type"> $ticket.type</py:if><py:if 23 23 test="ticket.resolution">: $ticket.resolution</py:if>)</span>
comment:4 by , 16 years ago
| Milestone: | 0.12.1 → 0.12 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Great! Fix verified and applied in r9630.
Note:
See TracTickets
for help on using tickets.





Replying to jomae:
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:
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.