6.0.0-beta1
7/4/25

[#7408] Translation of "Delete" string / key in DIMP entry page
Summary Translation of "Delete" string / key in DIMP entry page
Queue DIMP
Queue Version 1.1
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester agerhard (at) usp (dot) br
Created 09/29/2008 (6122 days ago)
Due
Updated 10/07/2008 (6114 days ago)
Assigned
Resolved 10/07/2008 (6114 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/07/2008 01:11:29 PM Jan Schneider Comment #5
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment

[Show Quoted Text - 10 lines]
That's not that easy, because the text used inside _() is always the 
default fallback string, and it wouldn't help the users either if they 
read "Home_Key".

But it's not a problem anyway, because the string "Home" only appears 
in this context in DIMP, thus the translators only have to take care 
that they don't pickup Horde's "Home" translation when merging from a 
compendium.
10/07/2008 01:08:19 PM Jan Schneider Comment #4 Reply to this comment
So In line 247 of templates/index/index.inc,  we could not use
_("Delete") meaning the key,
instead we shoud use "_(Del)", as in the first sentence. It's
Shift+Del, not Shift+Delete/Shift+Excluir.
Fixed for DIMP 1.1.1.
10/07/2008 01:08:05 PM CVS Commit Comment #3 Reply to this comment
09/29/2008 05:56:19 PM agerhard (at) usp (dot) br Comment #2 Reply to this comment
The "Home" key also has a similar problem.



In the keyboard, the name of the key is "Home", but in other places of 
IMP/DIMP it could be

translated to "Inicio".



So maybe is better to have strings that should be translated to key names and

strings that should be translated literally.



For example, _(Home_Key) for the keyboard key "Home".

[Show Quoted Text - 25 lines]
09/29/2008 02:56:35 PM agerhard (at) usp (dot) br Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Translation of "Delete" string / key in DIMP entry page
Queue ⇒ DIMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
In brazilian portuguese, the "Del" keyboard key also has the name "Del".



The _("Delete") string is used in other parts of the code and is 
translated to "Excluir".



So In line 247 of templates/index/index.inc,  we could not use 
_("Delete") meaning the key,

instead we shoud use "_(Del)", as in the first sentence. It's 
Shift+Del, not Shift+Delete/Shift+Excluir.





diff index.inc.org index.inc:



247c247

<        <span class="kbd"><?php echo _("Del") ?></span> : <?php echo 
_("Delete the currently selected message(s).") ?> <?php printf(_("%s 
will delete the current message and move to the next message if a 
single message is selected."), '<span class="kbd">' . _("Shift") . 
'</span> + <span class="kbd">' . _("Delele") . '</span>') ?><br />

---
        <span class="kbd"><?php echo _("Del") ?></span> : <?php echo 
_("Delete the currently selected message(s).") ?> <?php printf(_("%s 
will delete the current message and move to the next message if a 
single message is selected."), '<span class="kbd">' . _("Shift") . 
'</span> + <span class="kbd">' . _("Del") . '</span>') ?><br />

Saved Queries