mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Rename Options to Preferences and unify location.
This also removes OS-specific naming/handling for separate locations. Fixes #270.
This commit is contained in:
parent
0c6ab64d91
commit
10c9be356b
14 changed files with 12 additions and 52 deletions
|
|
@ -179,15 +179,6 @@
|
|||
label="&bidiSwitchTextDirectionItem.label;"
|
||||
accesskey="&bidiSwitchTextDirectionItem.accesskey;"
|
||||
hidden="true"/>
|
||||
#ifdef XP_UNIX
|
||||
#ifndef XP_MACOSX
|
||||
<menuseparator/>
|
||||
<menuitem id="menu_preferences"
|
||||
label="&preferencesCmdUnix.label;"
|
||||
accesskey="&preferencesCmdUnix.accesskey;"
|
||||
oncommand="openPreferences();"/>
|
||||
#endif
|
||||
#endif
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
|
@ -521,13 +512,11 @@
|
|||
<menupopup id="menu_mirrorTab-popup"
|
||||
onpopupshowing="populateMirrorTabMenu(this)"/>
|
||||
</menu>
|
||||
#ifndef XP_UNIX
|
||||
<menuseparator id="prefSep"/>
|
||||
<menuitem id="menu_preferences"
|
||||
label="&preferencesCmd2.label;"
|
||||
accesskey="&preferencesCmd2.accesskey;"
|
||||
oncommand="openPreferences();"/>
|
||||
#endif
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
|
|
|||
|
|
@ -473,9 +473,7 @@ var gPopupBlockerObserver = {
|
|||
var brandShortName = brandBundle.getString("brandShortName");
|
||||
var popupCount = gBrowser.selectedBrowser.blockedPopups.length;
|
||||
|
||||
var stringKey = AppConstants.platform == "win"
|
||||
? "popupWarningButton"
|
||||
: "popupWarningButtonUnix";
|
||||
var stringKey = "popupWarningButton";
|
||||
|
||||
var popupButtonText = gNavigatorBundle.getString(stringKey);
|
||||
var popupButtonAccesskey = gNavigatorBundle.getString(stringKey + ".accesskey");
|
||||
|
|
|
|||
|
|
@ -31,12 +31,7 @@
|
|||
|
||||
<label id="sync-customize-title" value="&syncCustomize.title;"/>
|
||||
<description id="sync-customize-subtitle"
|
||||
#ifdef XP_UNIX
|
||||
value="&syncCustomizeUnix.description;"
|
||||
#else
|
||||
value="&syncCustomize.description;"
|
||||
#endif
|
||||
/>
|
||||
value="&syncCustomize.description;"/>
|
||||
|
||||
<vbox align="start">
|
||||
<checkbox label="&engine.tabs.label;"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue