Committer: akanashin
LJSUP-14322: not translate error for digits only passwordU 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); } };