﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
385,i18n:msg directive not working when used as an element,cboos,cmlenz,"At least in one situation, a correctly extracted message from an <i18n:msg> tag didn't get translated during filtering (as reported in #9308).

The workaround was to use the `i18n:msg` directive as an attribute instead of a tag:
{{{
#!diff
tracopt/ticket/templates/ticket_delete.html
Index: tracopt/ticket/templates/ticket_delete.html
===================================================================
--- tracopt/ticket/templates/ticket_delete.html (revision 9625)
+++ tracopt/ticket/templates/ticket_delete.html (working copy)
@@ -17,7 +17,7 @@
     <div id=""content"" class=""ticket"" py:choose=""action"">
       <py:when test=""'delete'"">
         <h1 id=""trac-ticket-title"">
-          <i18n:msg params=""id"">Delete <a href=""${href.ticket(ticket.id)}"">Ticket #$ticket.id</a></i18n:msg>
+          <span i18n:msg=""id"">Delete <a href=""${href.ticket(ticket.id)}"">Ticket #$ticket.id</a></span>
           <span class=""status"">($ticket.status<py:if
               test=""ticket.type""> $ticket.type</py:if><py:if
               test=""ticket.resolution"">: $ticket.resolution</py:if>)</span>
}}}

Surprising, no?",defect,new,major,0.9,Internationalization,0.5.1,,i18n:msg,palgarvio
