fix titles in showmessage

darcs-hash:20080917190745-5ed1f-c9305b7ee5f4cd79524491e8e0d676cf42f6ebc1.gz
This commit is contained in:
Evan Prodromou 2008-09-17 15:07:45 -04:00
parent 24496bafd2
commit 823737891b
1 changed files with 2 additions and 2 deletions

View File

@ -63,12 +63,12 @@ class ShowmessageAction extends MailboxAction {
if ($user->id == $message->from_profile) {
$to = $message->getTo();
$title = sprintf(_('Message to %1\$s on %2\$s'),
$title = sprintf(_("Message to %1\$s on %2\$s"),
$to->nickname,
common_exact_date($message->created));
} else if ($user->id == $message->to_profile) {
$from = $message->getFrom();
$title = sprintf(_('Message from %1\$s on %2\$s'),
$title = sprintf(_("Message from %1\$s on %2\$s"),
$from->nickname,
common_exact_date($message->created));
}