summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-06-26 16:22:58 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-06-26 16:22:58 -0400
commitc7abad75208513553e41ac0f984f170ba5fd09a3 (patch)
tree72bac4037c064b4d9b1899f64acab21bbff0f2d0
parentfd4f7960e56b22cd6fe2f2dc34b3994da1ccc79c (diff)
downloadUXP-c7abad75208513553e41ac0f984f170ba5fd09a3.tar
UXP-c7abad75208513553e41ac0f984f170ba5fd09a3.tar.gz
UXP-c7abad75208513553e41ac0f984f170ba5fd09a3.tar.lz
UXP-c7abad75208513553e41ac0f984f170ba5fd09a3.tar.xz
UXP-c7abad75208513553e41ac0f984f170ba5fd09a3.zip
[AllAM] Preprocess extensions.dtd to exclude WebExAM-only strings
-rw-r--r--toolkit/locales/en-US/chrome/mozapps/extensions/extensions.dtd6
-rw-r--r--toolkit/locales/jar.mn2
2 files changed, 6 insertions, 2 deletions
diff --git a/toolkit/locales/en-US/chrome/mozapps/extensions/extensions.dtd b/toolkit/locales/en-US/chrome/mozapps/extensions/extensions.dtd
index 76f5570f9..b5086032c 100644
--- a/toolkit/locales/en-US/chrome/mozapps/extensions/extensions.dtd
+++ b/toolkit/locales/en-US/chrome/mozapps/extensions/extensions.dtd
@@ -24,10 +24,12 @@
<!ENTITY cmd.back.tooltip "Go back one page">
<!ENTITY cmd.forward.tooltip "Go forward one page">
+#ifdef MOZ_WEBEXTENSIONS
<!ENTITY showUnsignedExtensions.button.label "Some extensions could not be verified">
<!ENTITY showAllExtensions.button.label "Show all extensions">
<!ENTITY debugAddons.label "Debug Add-ons">
<!ENTITY debugAddons.accesskey "B">
+#endif
<!-- global warnings -->
<!ENTITY warning.safemode.label "All add-ons have been disabled by safe mode.">
@@ -241,6 +243,7 @@
<!ENTITY setting.learnmore "Learn Moreā€¦">
+#ifdef MOZ_WEBEXTENSIONS
<!ENTITY disabledUnsigned.heading "Some add-ons have been disabled">
<!-- LOCALIZATION NOTE (disabledUnsigned.description.start, disabledUnsigned.description.findAddonsLink, disabledUnsigned.description.end):
These entities form a sentence, with
@@ -257,4 +260,5 @@
<!ENTITY disabledUnsigned.devInfo.end ".">
<!ENTITY pluginDeprecation.description "Missing something? Some plugins are no longer supported by &brandShortName;.">
-<!ENTITY pluginDeprecation.learnMore "Learn More."> \ No newline at end of file
+<!ENTITY pluginDeprecation.learnMore "Learn More.">
+#endif
diff --git a/toolkit/locales/jar.mn b/toolkit/locales/jar.mn
index 1254047cb..23b9d72fb 100644
--- a/toolkit/locales/jar.mn
+++ b/toolkit/locales/jar.mn
@@ -108,7 +108,7 @@
locale/@AB_CD@/mozapps/downloads/settingsChange.dtd (%chrome/mozapps/downloads/settingsChange.dtd)
locale/@AB_CD@/mozapps/downloads/downloads.dtd (%chrome/mozapps/downloads/downloads.dtd)
locale/@AB_CD@/mozapps/downloads/downloads.properties (%chrome/mozapps/downloads/downloads.properties)
- locale/@AB_CD@/mozapps/extensions/extensions.dtd (%chrome/mozapps/extensions/extensions.dtd)
+* locale/@AB_CD@/mozapps/extensions/extensions.dtd (%chrome/mozapps/extensions/extensions.dtd)
locale/@AB_CD@/mozapps/extensions/extensions.properties (%chrome/mozapps/extensions/extensions.properties)
locale/@AB_CD@/mozapps/extensions/blocklist.dtd (%chrome/mozapps/extensions/blocklist.dtd)
locale/@AB_CD@/mozapps/extensions/about.dtd (%chrome/mozapps/extensions/about.dtd)