alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r19529: LJSUP-9340: Add ml vars for links and bu...

Committer: afedorov
LJSUP-9340: Add ml vars for links and buttons in inbox

U   trunk/cgi-bin/LJ/Event/UserMessageRecvd.pm
Modified: trunk/cgi-bin/LJ/Event/UserMessageRecvd.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/UserMessageRecvd.pm	2011-07-26 08:25:28 UTC (rev 19528)
+++ trunk/cgi-bin/LJ/Event/UserMessageRecvd.pm	2011-07-26 09:12:36 UTC (rev 19529)
@@ -112,14 +112,14 @@
     my $u = LJ::want_user($msg->journalid);
 
     my $ret = "<div class='actions'>";
-    $ret .= " <a href='$LJ::SITEROOT/inbox/compose.bml?mode=reply&msgid=$msgid'>Reply</a>";
+    $ret .= " <a href='$LJ::SITEROOT/inbox/compose.bml?mode=reply&msgid=$msgid'>".LJ::Lang::ml('esn.html_actions.reply')."</a>";
 
     if (LJ::is_enabled('spam_inbox') && $opts{'state'} && $opts{'state'} eq 'S') {
-        $ret .= " | <a href='#$LJ::SITEROOT/inbox/markspam.bml?msgid=". $msg->msgid ."'>Mark as not Spam</a>";
+        $ret .= " | <a href='#$LJ::SITEROOT/inbox/markspam.bml?msgid=". $msg->msgid ."'>".LJ::Lang::ml('esn.html_actions.unspam')."</a>";
     } else {
-        $ret .= " | <a href='$LJ::SITEROOT/friends/add.bml?user=". $msg->other_u->user ."'>Add as friend</a>"
+        $ret .= " | <a href='$LJ::SITEROOT/friends/add.bml?user=". $msg->other_u->user ."'>".LJ::Lang::ml('esn.html_actions.add_as_friend')."</a>"
             unless $u->is_friend($msg->other_u);
-        $ret .= " | <a href='$LJ::SITEROOT/inbox/markspam.bml?msgid=". $msg->msgid ."'>Mark as Spam</a>";
+        $ret .= " | <a href='$LJ::SITEROOT/inbox/markspam.bml?msgid=". $msg->msgid ."'>".LJ::Lang::ml('esn.html_actions.spam')."</a>";
     }
     $ret .= "</div>";
 

Tags: livejournal, pm, red_alf
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments