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.
This commit is contained in:
Dan Stillman 2018-02-16 06:33:10 -05:00
parent 628bc536a0
commit 63f206c80e
2 changed files with 3 additions and 7 deletions

View file

@ -97,12 +97,10 @@
</tabpanel> </tabpanel>
<tabpanel orient="vertical" id="wordProcessors"> <tabpanel orient="vertical" id="wordProcessors">
<vbox id="wordProcessors-somePluginsDisabled" hidden="true"> <vbox id="wordProcessors-somePluginsDisabled" hidden="true">
<label> <label style="font-weight: bold; margin-top: 1em; text-align: center">Some word processor plugins are disabled.</label>
&zotero.preferences.cite.wordProcessors.somePluginsDisabled; <hbox pack="center" style="margin-bottom: 2em">
</label>
<hbox pack="center">
<button id="wordProcessors-enablePlugins" <button id="wordProcessors-enablePlugins"
label="&zotero.preferences.cite.wordProcessors.enablePlugins;" label="Enable Plugins and Restart Zotero"
oncommand="Zotero_Preferences.Cite.enableWordPlugins()"/> oncommand="Zotero_Preferences.Cite.enableWordPlugins()"/>
</hbox> </hbox>
</vbox> </vbox>

View file

@ -121,8 +121,6 @@
<!ENTITY zotero.preferences.prefpane.cite "Cite"> <!ENTITY zotero.preferences.prefpane.cite "Cite">
<!ENTITY zotero.preferences.cite.styles "Styles"> <!ENTITY zotero.preferences.cite.styles "Styles">
<!ENTITY zotero.preferences.cite.wordProcessors "Word Processors"> <!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.cite.wordProcessors.useClassicAddCitationDialog "Use classic Add Citation dialog">
<!ENTITY zotero.preferences.styleEditor "Style Editor"> <!ENTITY zotero.preferences.styleEditor "Style Editor">
<!ENTITY zotero.preferences.stylePreview "Style Preview"> <!ENTITY zotero.preferences.stylePreview "Style Preview">