madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20414: LJSUP-10089: Months names translation is...

Committer: sbelyaev
LJSUP-10089: Months names translation is appened to ml_text
U   trunk/htdocs/editjournal.bml
U   trunk/htdocs/update.bml
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2011-10-24 09:55:04 UTC (rev 20413)
+++ trunk/htdocs/editjournal.bml	2011-10-24 10:35:58 UTC (rev 20414)
@@ -62,6 +62,12 @@
                             entryform.choose_date/);
     }
     
+    my @ml_months;
+    push @ml_months, map { LJ::Lang::month_long_langcode($_) } (1 .. 12);
+    foreach my $month_ml_name (@ml_months) {
+        LJ::need_string($month_ml_name);
+    }
+
     return LJ::bad_input("You must be authenticated as a person.")
         unless $remote->is_personal || $remote->is_identity;
 

Modified: trunk/htdocs/update.bml
===================================================================
--- trunk/htdocs/update.bml	2011-10-24 09:55:04 UTC (rev 20413)
+++ trunk/htdocs/update.bml	2011-10-24 10:35:58 UTC (rev 20414)
@@ -756,7 +756,13 @@
     BML::noparse();
 
     my $is_sup = LJ::SUP->is_remote_sup() ? 1 : 0;
-    LJ::need_string('entryform.close.confirm');
+  
+    LJ::need_string('entryform.close.confirm'); 
+    my @ml_months; 
+    push @ml_months, map { LJ::Lang::month_long_langcode($_) } (1 .. 12);
+    foreach my $month_ml_name (@ml_months) {
+        LJ::need_string($month_ml_name);
+    }
 
     $ret .= qq^
     <script type="text/javascript">

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