[Tickets #7390] Re: Folder names are not translated when using access keys

bugs at horde.org bugs at horde.org
Thu Sep 25 09:50:55 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7390
------------------------------------------------------------------------------
  Ticket             | 7390
  Updated By         | benjamin.kostner at tirol.gv.at
  Summary            | Folder names are not translated when using access keys
  Queue              | DIMP
  Version            | 1.1-RC2
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


benjamin.kostner at tirol.gv.at (2008-09-25 05:50) wrote:

I have to excuse myself, the title was chosen completely wrong.

It should be "Action Buttons are not translated into German when using  
e.g. _("_Compose") (for access key usage) instead of _("Compose") in  
Dimp"

My problem is as follows:
I am using the German translation of DIMP, CVS Version of 22.09.2008.

In Dimp's left navigation bar there are Buttons for composing a mail  
("Compose") and for checking for new Mail ("Get Mail").

These Buttons are not translated because they are built with  
_("_Compose") rather than _("Compose"), as far as I can see from the  
following function call found in horde/dimp/templates/index/index.inc:

<?php echo _simpleButton('composelink', _("_Compose"), 'compose.png') ?>

The rendered HTML code is as follows:
<a><span class="accessKey">C</span>ompose</a>
which is correct for the English version.

I simply wanted to suggest that either a translation mapping  
"_Compose" is missing or that the "_" has to be stripped before  
applying the _()-function.

I hope that this explanation has clarified the issue I am facing.







More information about the bugs mailing list