зеркало из https://github.com/mozilla/pjs.git
39790: [L12y] Move all localizable prefs into chrome://.a=ftang. piggy back
ftang's hacky code. To be replaced by ben.
This commit is contained in:
Родитель
01e5afde9d
Коммит
4f97d1a296
|
@ -146,7 +146,12 @@ nsPrefWindow.prototype =
|
|||
case "color":
|
||||
case "string":
|
||||
default:
|
||||
if((aPrefString == "mailnews.view_default_charset") ||
|
||||
// BEN: please remove this hacky coe once you add a new
|
||||
// preftype for localizable pref.
|
||||
if((aPrefString == "browser.startup.homepage") ||
|
||||
(aPrefString == "wallet.Server") ||
|
||||
(aPrefString == "intl.accept_languages") ||
|
||||
(aPrefString == "mailnews.view_default_charset") ||
|
||||
(aPrefString == "mailnews.send_default_charset")) {
|
||||
return pref.getLocalizedUnicharPref( aPrefString );
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче