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

[livejournal] r20065: LJSUP-9767: Need to translate language f...

Committer: gprochaev
LJSUP-9767: Need to translate language for months depending on selected localization

U   trunk/htdocs/editjournal.bml
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2011-09-16 09:17:44 UTC (rev 20064)
+++ trunk/htdocs/editjournal.bml	2011-09-19 03:31:05 UTC (rev 20065)
@@ -148,7 +148,7 @@
             }
             $ret .= "</a></h2>";
             my ($year, $mon, $mday, $hour, $min) = split(/\D/, LJ::TimeUtil->alldatepart_s2($entry->{'eventtime'}));
-            my $monthlong = LJ::Lang::month_long($mon);
+            my $monthlong = BML::ml(LJ::Lang::month_long_langcode($mon));
             $ret .= "<p class='date'>" . $poster . " $monthlong $mday, $year, $hour:$min" . "</p>";
 
             my $event = LJ::ehtml(LJ::durl($entry->event_raw));

Tags: bml, livejournal, 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