vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r19578: LJSUP-8549: Incorrect languege in RTE ed...

Committer: vsukhanov
LJSUP-8549: Incorrect languege in RTE editor
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2011-08-03 06:16:47 UTC (rev 19577)
+++ trunk/cgi-bin/weblib.pl	2011-08-03 06:33:58 UTC (rev 19578)
@@ -1393,7 +1393,7 @@
             %journal_info = $journalu->info_for_js;
         }
 
-        my $current_lang = eval { Apache::BML::get_language(); } || ($LJ::DEFAULT_LANG || $LJ::LANGS[0]);
+        my $current_lang = eval { BML::get_language(); } || ($LJ::DEFAULT_LANG || $LJ::LANGS[0]);
            $current_lang =~ s/^([^_]+)_.*/$1/; # en_LJ -> en
 
         my $journal_info_json = LJ::JSON->to_json(\%journal_info);

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