holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12926: LJSUP-14322: not translate error for dig...

Committer: akanashin
LJSUP-14322: not translate error for digits only password
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2012-11-21 05:34:19 UTC (rev 12925)
+++ trunk/cgi-bin/ljcom.pl	2012-11-21 08:44:54 UTC (rev 12926)
@@ -787,7 +787,7 @@
             LJ::load_user_props($arg->{'u'}, 'browselang');
             return LJ::Lang::get_text($arg->{'u'}->{'browselang'}, $ml_code);
         } else {
-            return LJ::Lang::get_text('en_LJ', $ml_code);
+            return LJ::Lang::get_text(BML::get_language(), $ml_code);
         }
     };
 

Tags: akanashin, holyandrew, ljcom, pl
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