From: Jan Schneider Date: Thu, 5 Feb 2009 21:59:43 +0000 (+0100) Subject: Fix rendering of subjects in RTL scripts when using LTR translations (vilius@lnk... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=29d05715d9b9f696cfe0e56cec8f9877a4d1235e;p=horde.git Fix rendering of subjects in RTL scripts when using LTR translations (vilius@lnk.lt, Bug #3511). --- diff --git a/imp/docs/CHANGES b/imp/docs/CHANGES index 752a6d4a6..fb577407e 100644 --- a/imp/docs/CHANGES +++ b/imp/docs/CHANGES @@ -50,6 +50,10 @@ v5.0-git v4.3.4-cvs ---------- +[jan] Fix rendering of subjects in RTL scripts when using LTR translations + (vilius@lnk.lt, Bug #3511). +[mms] Add hook to allow hiding of IMAP folders (Request #7353, Gunnar + Wrobel ). [jan] Fix logging of messages forwarded with attachments (Bug #7911). diff --git a/imp/message.php b/imp/message.php index b2794bb39..57a7428e3 100644 --- a/imp/message.php +++ b/imp/message.php @@ -437,7 +437,8 @@ if (!IMP::$printMode) { $t_template->set('thismailbox', htmlspecialchars($mailbox_name)); $t_template->set('start', htmlspecialchars($msgindex)); $t_template->set('index', htmlspecialchars($index)); - $t_template->set('label', sprintf(_("%s: %s (%d of %d)"), $header_label, $shortsub, $msgindex, $imp_mailbox->getMessageCount())); + $t_template->set('label', sprintf(_("%s: %s"), $header_label, $shortsub)); + $t_template->set('msg_count', sprintf(_("(%d of %d)"), $msgindex, $imp_mailbox->getMessageCount())); $t_template->set('status', $status); $t_template->set('message_token', $message_token); diff --git a/imp/templates/message/navbar_top.html b/imp/templates/message/navbar_top.html index 299d7d91a..36fc85c8f 100644 --- a/imp/templates/message/navbar_top.html +++ b/imp/templates/message/navbar_top.html @@ -9,5 +9,5 @@

- +