wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18433: LJSV-1394. Widget Birthdays on home page

Committer: gprochaev
LJSV-1394. Widget Birthdays on home page

U   trunk/cgi-bin/LJ/Widget/FriendBirthdays.pm
Modified: trunk/cgi-bin/LJ/Widget/FriendBirthdays.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/FriendBirthdays.pm	2011-03-02 09:02:59 UTC (rev 18432)
+++ trunk/cgi-bin/LJ/Widget/FriendBirthdays.pm	2011-03-02 09:58:02 UTC (rev 18433)
@@ -52,7 +52,7 @@
 
         $ret .= "<tr>";
         $ret .= "<td>" . $u->ljuser_display . "</td>";
-        $ret .= "<td>" . $class->ml('widget.friendbirthdays.userbirthday', {'month' => LJ::Lang::month_short($month), 'day' => $day}) . "</td>";
+        $ret .= "<td>" . $class->ml('widget.friendbirthdays.userbirthday', {'month' => LJ::Lang::ml(LJ::Lang::month_short_langcode($month)), 'day' => $day}) . "</td>";
         $ret .= "<td><a href='$LJ::SITEROOT/shop/view.bml?item=paidaccount&gift=1&for=" . $u->user . "' title='" .  $class->ml('widget.friendbirthdays.gift') . "' class='gift-link'><span>";
         $ret .= $class->ml('widget.friendbirthdays.gift') . "</span></a></td>";
         $ret .= "<td>" . (scalar @$wishes ? "<a href='$wish_url' class='wish-link' title='" . $class->ml('widget.friendbirthdays.wishlist') . "'><span>" . $class->ml('widget.friendbirthdays.wishlist') . "</span></a>" : "&nbsp;") . "</td>";

Tags: livejournal, pm, wisest-owl
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