[Tickets #7245] Strings in "multiple message view" aren't being translated

bugs at horde.org bugs at horde.org
Wed Aug 27 20:03:55 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7245
------------------------------------------------------------------------------
  Ticket             | 7245
  Created By         | agerhard at usp.br
  Summary            | Strings in "multiple message view" aren't being
                     | translated
  Queue              | IMP
  Version            | 4.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


agerhard at usp.br (2008-08-27 16:03) wrote:

When I select more than one message to be viewed simultaneously, the  
page displayed are not being translated as it should be. Single  
messages are translated ok.

I tried to pinpoint the bug, but no way. For example, I thought  
thread.php should have a line setting gettext:
$template->setOption('gettext', true);
I tried to put this line in various places of thread.php (as I have  
seen in other files) but the translation didn´t work.

I also think there is a typo in thread.html (From instead of From:)  
and missing <gettext>/</gettext> tags. The diff is below:

--- thread.html.orig    2008-08-27 14:46:48.000000000 -0300
+++ thread.html 2008-08-27 16:27:14.000000000 -0300
@@ -1,5 +1,5 @@
  <h1 class="header">
- <if:thread><gettext>Thread Display:</gettext><else:thread>Multiple  
Message View:</else:thread></if:thread> <tag:subject /> <tag:delete />
+ <if:thread><gettext>Thread  
Display:</gettext><else:thread><gettext>Multiple Message  
View:</gettext></else:thread></if:thread> <tag:subject /> <tag:delete />
  </h1>
  <br class="spacer" />

@@ -28,7 +28,7 @@
          <td class="item0 rightAlign"><tag:messages.link /></td>
         </tr>
         <tr>
-        <td class="item1 rightAlign" valign="top"  
nowrap="nowrap"><strong><if:messages.addr_to><gettext>To:</gettext><else:messages.addr_to><gettext>From</gettext></else:messages.addr_to></if:messages.addr_to></strong>&nbsp;</td>
+        <td class="item1 rightAlign" valign="top"  
nowrap="nowrap"><strong><if:messages.addr_to><gettext>To:</gettext><else:messages.addr_to><gettext>From:</gettext></else:messages.addr_to></if:messages.addr_to></strong>&nbsp;</td>
          <td class="item1 leftAlign" width="100%"  
colspan="2"><tag:messages.addr /></td>
         </tr>
  <if:messages.subject>

Andre Gerhard





More information about the bugs mailing list