fix titles in showmessage
darcs-hash:20080917190745-5ed1f-c9305b7ee5f4cd79524491e8e0d676cf42f6ebc1.gz
This commit is contained in:
parent
24496bafd2
commit
823737891b
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user