]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix titles in showmessage
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Sep 2008 19:07:45 +0000 (15:07 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Sep 2008 19:07:45 +0000 (15:07 -0400)
darcs-hash:20080917190745-5ed1f-c9305b7ee5f4cd79524491e8e0d676cf42f6ebc1.gz

actions/showmessage.php

index c57c96aefdfc8ee178ff14507b8c77157c23c309..184060aa914508ffab31de9ed9dec9f3d3ee95fe 100644 (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));
                }