Skip to content

Commit

Permalink
Hard-code strings and tweak styling for disabled word processor plugins
Browse files Browse the repository at this point in the history
This will hopefully be both temporary and rare, so let's not bother
localizing htem.
  • Loading branch information
dstillman committed Feb 16, 2018
1 parent 628bc53 commit 63f206c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 3 additions & 5 deletions chrome/content/zotero/preferences/preferences_cite.xul
Expand Up @@ -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>
Expand Down
2 changes: 0 additions & 2 deletions chrome/locale/en-US/zotero/preferences.dtd
Expand Up @@ -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">
Expand Down

0 comments on commit 63f206c

Please sign in to comment.