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:
tao%netscape.com 2000-07-20 00:00:29 +00:00
Родитель 01e5afde9d
Коммит 4f97d1a296
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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 {