GlazAnd / fxif

Automatically exported from code.google.com/p/fxif
1 stars 0 forks source link

%lang% is replaced by "chr" #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set map link to use Google Maps
2. click the link
3. in the link, there is "hl=chr"

What is the expected output? What do you see instead?
it should be "en" or "fr", not "chr"

What version of the product are you using? On what operating system?
svn r20.

Please provide any additional information below.
http://code.google.com/p/fxif/source/browse/trunk/content/fxifUtils.js#114
this line is the source of the problem, in this case, 
getComplexValue('accept_languages', Ci.nsIPrefLocalizedString).data should 
be used, instead of getCharPref("accept_languages").

Original issue reported on code.google.com by zhaobot...@gmail.com on 8 Feb 2010 at 7:57

GoogleCodeExporter commented 8 years ago
This has been fixed in 0.4.1.

Original comment by cueyr...@gmail.com on 4 Nov 2010 at 7:10