Fix missing Options menu on Windows/Linux

This commit is contained in:
Dan Stillman 2017-01-10 21:26:39 -05:00
parent c631bc4257
commit cbcfb6b92e
48 changed files with 196 additions and 17 deletions

View file

@ -33,10 +33,9 @@
<!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % standaloneDTD SYSTEM "chrome://zotero/locale/standalone.dtd" >
%standaloneDTD;
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD;
<!ENTITY % standaloneDTD SYSTEM "chrome://zotero/locale/standalone.dtd"> %standaloneDTD;
<!ENTITY % browserDTD SYSTEM "chrome://zotero/locale/mozilla/browser.dtd"> %browserDTD;
]>
<overlay id="menuOverlay"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@ -84,7 +83,7 @@
<menuitem id="menu_preferences"
label="&preferencesCmdMac.label;"
key="key_preferencesCmdMac"
oncommand="Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow('navigator:browser').ZoteroPane.openPreferences();"/>
oncommand="Zotero.Utilities.Internal.openPreferences();"/>
<menuitem id="menu_mac_services"
label="&servicesMenuMac.label;"/>
<menuitem id="menu_mac_hide_app"

View file

@ -33,10 +33,9 @@
<!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % standaloneDTD SYSTEM "chrome://zotero/locale/standalone.dtd" >
%standaloneDTD;
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD;
<!ENTITY % standaloneDTD SYSTEM "chrome://zotero/locale/standalone.dtd"> %standaloneDTD;
<!ENTITY % browserDTD SYSTEM "chrome://zotero/locale/mozilla/browser.dtd"> %browserDTD;
]>
<overlay id="menuOverlay"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@ -51,7 +50,8 @@
<menupopup id="menu_EditPopup">
<menuseparator/>
<menuitem id="menu_preferences"
label="&preferencesCmd.label;"
oncommand="ZoteroPane.openPreferences();"/>
label="&preferencesCmdUnix.label;"
accesskey="&preferencesCmdUnix.accesskey;"
oncommand="Zotero.Utilities.Internal.openPreferences();"/>
</menupopup>
</overlay>

View file

@ -33,10 +33,9 @@
<!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % standaloneDTD SYSTEM "chrome://zotero/locale/standalone.dtd" >
%standaloneDTD;
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD;
<!ENTITY % standaloneDTD SYSTEM "chrome://zotero/locale/standalone.dtd"> %standaloneDTD;
<!ENTITY % browserDTD SYSTEM "chrome://zotero/locale/mozilla/browser.dtd"> %browserDTD;
]>
<overlay id="menuOverlay"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@ -51,7 +50,8 @@
<menupopup id="menu_ToolsPopup">
<menuseparator/>
<menuitem id="menu_preferences"
label="&preferencesCmd.label;"
oncommand="ZoteroPane.openPreferences();"/>
label="&preferencesCmd2.label;"
accesskey="&preferencesCmd2.accesskey;"
oncommand="Zotero.Utilities.Internal.openPreferences();"/>
</menupopup>
</overlay>

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opsies">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Voorkeure">
<!ENTITY preferencesCmdUnix.accesskey "k">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "خيارات">
<!ENTITY preferencesCmd2.accesskey "خ">
<!ENTITY preferencesCmdUnix.label "التفضيلات">
<!ENTITY preferencesCmdUnix.accesskey "ف">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Настройки">
<!ENTITY preferencesCmd2.accesskey "Н">
<!ENTITY preferencesCmdUnix.label "Настройки">
<!ENTITY preferencesCmdUnix.accesskey "Н">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opcions">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferències">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Možnosti">
<!ENTITY preferencesCmd2.accesskey "M">
<!ENTITY preferencesCmdUnix.label "Předvolby">
<!ENTITY preferencesCmdUnix.accesskey "v">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Indstillinger">
<!ENTITY preferencesCmd2.accesskey "I">
<!ENTITY preferencesCmdUnix.label "Indstillinger">
<!ENTITY preferencesCmdUnix.accesskey "I">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Einstellungen">
<!ENTITY preferencesCmd2.accesskey "E">
<!ENTITY preferencesCmdUnix.label "Einstellungen">
<!ENTITY preferencesCmdUnix.accesskey "E">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Επιλογές">
<!ENTITY preferencesCmd2.accesskey "Ε">
<!ENTITY preferencesCmdUnix.label "Προτιμήσεις">
<!ENTITY preferencesCmdUnix.accesskey "μ">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opciones">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferencias">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Sätted">
<!ENTITY preferencesCmd2.accesskey "S">
<!ENTITY preferencesCmdUnix.label "Eelistused">
<!ENTITY preferencesCmdUnix.accesskey "E">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Aukerak">
<!ENTITY preferencesCmd2.accesskey "A">
<!ENTITY preferencesCmdUnix.label "Hobespenak">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "گزینه‌ها">
<!ENTITY preferencesCmd2.accesskey "گ">
<!ENTITY preferencesCmdUnix.label "ترجیحات">
<!ENTITY preferencesCmdUnix.accesskey "ح">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Asetukset">
<!ENTITY preferencesCmd2.accesskey "A">
<!ENTITY preferencesCmdUnix.label "Asetukset">
<!ENTITY preferencesCmdUnix.accesskey "A">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Préférences">
<!ENTITY preferencesCmdUnix.accesskey "f">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "אפשרויות">
<!ENTITY preferencesCmd2.accesskey "א">
<!ENTITY preferencesCmdUnix.label "העדפות">
<!ENTITY preferencesCmdUnix.accesskey "ד">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Mogućnosti">
<!ENTITY preferencesCmd2.accesskey "M">
<!ENTITY preferencesCmdUnix.label "Postavke">
<!ENTITY preferencesCmdUnix.accesskey "P">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Beállítások">
<!ENTITY preferencesCmd2.accesskey "e">
<!ENTITY preferencesCmdUnix.label "Beállítások">
<!ENTITY preferencesCmdUnix.accesskey "e">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Pengaturan…">
<!ENTITY preferencesCmd2.accesskey "g">
<!ENTITY preferencesCmdUnix.label "Pengaturan">
<!ENTITY preferencesCmdUnix.accesskey "g">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Valkostir">
<!ENTITY preferencesCmd2.accesskey "V">
<!ENTITY preferencesCmdUnix.label "Valkostir">
<!ENTITY preferencesCmdUnix.accesskey "V">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opzioni">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferenze">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "オプション">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "設定">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "ជម្រើស">
<!ENTITY preferencesCmd2.accesskey "ជ">
<!ENTITY preferencesCmdUnix.label "ចំណូលចិត្ត">
<!ENTITY preferencesCmdUnix.accesskey "ច">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "설정…">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "환경 설정">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Nuostatos">
<!ENTITY preferencesCmd2.accesskey "N">
<!ENTITY preferencesCmdUnix.label "Nuostatos">
<!ENTITY preferencesCmdUnix.accesskey "N">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Innstillinger">
<!ENTITY preferencesCmd2.accesskey "I">
<!ENTITY preferencesCmdUnix.label "Innstillinger">
<!ENTITY preferencesCmdUnix.accesskey "I">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opties">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Voorkeuren">
<!ENTITY preferencesCmdUnix.accesskey "V">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Innstillingar">
<!ENTITY preferencesCmd2.accesskey "I">
<!ENTITY preferencesCmdUnix.label "Innstillingar">
<!ENTITY preferencesCmdUnix.accesskey "I">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opcje">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferencje">
<!ENTITY preferencesCmdUnix.accesskey "r">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opções">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferências">
<!ENTITY preferencesCmdUnix.accesskey "P">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Opções">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferências">
<!ENTITY preferencesCmdUnix.accesskey "f">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Options">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Настройки">
<!ENTITY preferencesCmd2.accesskey "Н">
<!ENTITY preferencesCmdUnix.label "Настройки">
<!ENTITY preferencesCmdUnix.accesskey "Н">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Možnosti">
<!ENTITY preferencesCmd2.accesskey "M">
<!ENTITY preferencesCmdUnix.label "Možnosti">
<!ENTITY preferencesCmdUnix.accesskey "M">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Možnosti">
<!ENTITY preferencesCmd2.accesskey "o">
<!ENTITY preferencesCmdUnix.label "Nastavitve">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Поставке">
<!ENTITY preferencesCmd2.accesskey "о">
<!ENTITY preferencesCmdUnix.label "Поставке">
<!ENTITY preferencesCmdUnix.accesskey "П">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Inställningar">
<!ENTITY preferencesCmd2.accesskey "I">
<!ENTITY preferencesCmdUnix.label "Inställningar">
<!ENTITY preferencesCmdUnix.accesskey "I">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "ตัวเลือก">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "การตั้งค่า">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Seçenekler">
<!ENTITY preferencesCmd2.accesskey "S">
<!ENTITY preferencesCmdUnix.label "Tercihler">
<!ENTITY preferencesCmdUnix.accesskey "T">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Налаштування">
<!ENTITY preferencesCmd2.accesskey "Н">
<!ENTITY preferencesCmdUnix.label "Налаштування">
<!ENTITY preferencesCmdUnix.accesskey "Н">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "Tùy chỉnh">
<!ENTITY preferencesCmd2.accesskey "y">
<!ENTITY preferencesCmdUnix.label "Tùy chỉnh">
<!ENTITY preferencesCmdUnix.accesskey "y">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "选项">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "首选项">
<!ENTITY preferencesCmdUnix.accesskey "n">

View file

@ -0,0 +1,4 @@
<!ENTITY preferencesCmd2.label "選項">
<!ENTITY preferencesCmd2.accesskey "O">
<!ENTITY preferencesCmdUnix.label "偏好設定">
<!ENTITY preferencesCmdUnix.accesskey "n">