[dw-free] imported patch bug1325
[commit: http://hg.dwscoalition.org/dw-free/rev/b975a01b5175]
imported patch bug1325
Files modified:
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 --------------------------------------------------------------------------------