From 10c9be356bb736e4d2c922c2b51ae683665562f6 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 31 Dec 2017 13:45:14 +0100 Subject: [PATCH] Rename Options to Preferences and unify location. This also removes OS-specific naming/handling for separate locations. Fixes #270. --- browser/base/content/browser-menubar.inc | 11 ----------- browser/base/content/browser.js | 4 +--- browser/base/content/sync/customize.xul | 7 +------ browser/base/jar.mn | 2 +- .../components/customizableui/CustomizableWidgets.jsm | 5 +---- .../components/preferences/in-content/preferences.xul | 8 -------- browser/locales/en-US/chrome/browser/aboutHome.dtd | 2 +- browser/locales/en-US/chrome/browser/browser.dtd | 6 ++---- .../locales/en-US/chrome/browser/browser.properties | 6 ++---- .../customizableui/customizableWidgets.properties | 4 ---- .../en-US/chrome/browser/migration/migration.dtd | 3 +-- .../en-US/chrome/browser/preferences/preferences.dtd | 1 - .../locales/en-US/chrome/browser/syncCustomize.dtd | 3 +-- browser/locales/en-US/chrome/browser/syncSetup.dtd | 2 +- 14 files changed, 12 insertions(+), 52 deletions(-) diff --git a/browser/base/content/browser-menubar.inc b/browser/base/content/browser-menubar.inc index e952bc3cac..3fc098755e 100644 --- a/browser/base/content/browser-menubar.inc +++ b/browser/base/content/browser-menubar.inc @@ -179,15 +179,6 @@ label="&bidiSwitchTextDirectionItem.label;" accesskey="&bidiSwitchTextDirectionItem.accesskey;" hidden="true"/> -#ifdef XP_UNIX -#ifndef XP_MACOSX - - -#endif -#endif @@ -521,13 +512,11 @@ -#ifndef XP_UNIX -#endif diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index a8aff1bd7b..9ccd86b121 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -473,9 +473,7 @@ var gPopupBlockerObserver = { var brandShortName = brandBundle.getString("brandShortName"); var popupCount = gBrowser.selectedBrowser.blockedPopups.length; - var stringKey = AppConstants.platform == "win" - ? "popupWarningButton" - : "popupWarningButtonUnix"; + var stringKey = "popupWarningButton"; var popupButtonText = gNavigatorBundle.getString(stringKey); var popupButtonAccesskey = gNavigatorBundle.getString(stringKey + ".accesskey"); diff --git a/browser/base/content/sync/customize.xul b/browser/base/content/sync/customize.xul index d95536d9ac..827edf5655 100644 --- a/browser/base/content/sync/customize.xul +++ b/browser/base/content/sync/customize.xul @@ -31,12 +31,7 @@