afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-07-05 05:13 pm

[dw-free] imported patch bug1325

[commit: http://hg.dwscoalition.org/dw-free/rev/b975a01b5175]

imported patch bug1325

Files modified:
  • cgi-bin/LJ/S2.pm
--------------------------------------------------------------------------------
diff -r 3f4ce4b2ddd9 -r b975a01b5175 cgi-bin/LJ/S2.pm
--- a/cgi-bin/LJ/S2.pm	Sun Jul 05 16:40:08 2009 +0000
+++ b/cgi-bin/LJ/S2.pm	Sun Jul 05 17:02:43 2009 +0000
@@ -69,7 +69,7 @@ sub make_journal
         return;
     }
 
-    my $lang = 'en';
+    my $lang = $remote && $remote->prop( "browselang" );
     LJ::run_hook('set_s2bml_lang', $ctx, \$lang);
 
     # note that's it's very important to pass LJ::Lang::get_text here explicitly
--------------------------------------------------------------------------------