From 4b088c6decc938b30475f6e521512ccfef17aa08 Mon Sep 17 00:00:00 2001 From: "loadrunner%betak.net" Date: Thu, 16 Aug 2001 23:43:06 +0000 Subject: [PATCH] bug 84188, Need to migrate existing localizable string preferences to a new pref type, r=tao, sr=blake --- .../resources/content/pref-contentpacks.xul | 2 +- extensions/wallet/resources/content/pref-wallet.xul | 2 +- .../base/prefs/resources/content/pref-mailnews.xul | 2 +- .../resources/content/pref-viewing_messages.xul | 2 +- .../resources/content/pref-composing_messages.xul | 4 ++-- .../prefwindow/resources/content/nsPrefWindow.js | 12 ------------ .../prefwindow/resources/content/pref-languages.xul | 6 +++--- .../prefwindow/resources/content/pref-navigator.xul | 2 +- 8 files changed, 10 insertions(+), 22 deletions(-) diff --git a/extensions/content-packs/resources/content/pref-contentpacks.xul b/extensions/content-packs/resources/content/pref-contentpacks.xul index e9b4e948418a..bda50ec1f7bd 100644 --- a/extensions/content-packs/resources/content/pref-contentpacks.xul +++ b/extensions/content-packs/resources/content/pref-contentpacks.xul @@ -61,7 +61,7 @@ function SwitchContentPack() { - var oldContentPack = parent.hPrefWindow.getPref( "string", "general.useragent.contentlocale"); + var oldContentPack = parent.hPrefWindow.getPref( "localizedstring", "general.useragent.contentlocale"); var newContentPack; try { diff --git a/extensions/wallet/resources/content/pref-wallet.xul b/extensions/wallet/resources/content/pref-wallet.xul index cb066d5bb34b..4bcb2e2c539a 100644 --- a/extensions/wallet/resources/content/pref-wallet.xul +++ b/extensions/wallet/resources/content/pref-wallet.xul @@ -68,7 +68,7 @@ diff --git a/mailnews/base/prefs/resources/content/pref-mailnews.xul b/mailnews/base/prefs/resources/content/pref-mailnews.xul index a21bc4b88ce5..2e2e3191b075 100644 --- a/mailnews/base/prefs/resources/content/pref-mailnews.xul +++ b/mailnews/base/prefs/resources/content/pref-mailnews.xul @@ -82,7 +82,7 @@ Contributor(s): - diff --git a/mailnews/base/prefs/resources/content/pref-viewing_messages.xul b/mailnews/base/prefs/resources/content/pref-viewing_messages.xul index 50607b41faf6..7a5cc1495427 100644 --- a/mailnews/base/prefs/resources/content/pref-viewing_messages.xul +++ b/mailnews/base/prefs/resources/content/pref-viewing_messages.xul @@ -110,7 +110,7 @@