commit 63f206c80e05210ee748e42cf5bd85e8e718f84b
parent 628bc536a0fc47a429b300a35f6b0fbb3638b3cd
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 16 Feb 2018 06:33:10 -0500
Hard-code strings and tweak styling for disabled word processor plugins
This will hopefully be both temporary and rare, so let's not bother
localizing htem.
Diffstat:
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/chrome/content/zotero/preferences/preferences_cite.xul b/chrome/content/zotero/preferences/preferences_cite.xul
@@ -97,12 +97,10 @@
</tabpanel>
<tabpanel orient="vertical" id="wordProcessors">
<vbox id="wordProcessors-somePluginsDisabled" hidden="true">
- <label>
- &zotero.preferences.cite.wordProcessors.somePluginsDisabled;
- </label>
- <hbox pack="center">
+ <label style="font-weight: bold; margin-top: 1em; text-align: center">Some word processor plugins are disabled.</label>
+ <hbox pack="center" style="margin-bottom: 2em">
<button id="wordProcessors-enablePlugins"
- label="&zotero.preferences.cite.wordProcessors.enablePlugins;"
+ label="Enable Plugins and Restart Zotero"
oncommand="Zotero_Preferences.Cite.enableWordPlugins()"/>
</hbox>
</vbox>
diff --git a/chrome/locale/en-US/zotero/preferences.dtd b/chrome/locale/en-US/zotero/preferences.dtd
@@ -121,8 +121,6 @@
<!ENTITY zotero.preferences.prefpane.cite "Cite">
<!ENTITY zotero.preferences.cite.styles "Styles">
<!ENTITY zotero.preferences.cite.wordProcessors "Word Processors">
-<!ENTITY zotero.preferences.cite.wordProcessors.somePluginsDisabled "Some word processor plugins are disabled.">
-<!ENTITY zotero.preferences.cite.wordProcessors.enablePlugins "Enable Plugins and Restart Zotero">
<!ENTITY zotero.preferences.cite.wordProcessors.useClassicAddCitationDialog "Use classic Add Citation dialog">
<!ENTITY zotero.preferences.styleEditor "Style Editor">
<!ENTITY zotero.preferences.stylePreview "Style Preview">