зеркало из https://github.com/mozilla/gecko-dev.git
Bug 161466 Better UI for tabbed browsing prefs
p=mozilla@Weilbacher.org r=jag sr=neil.parkwaycc.co.uk a=asa
This commit is contained in:
Родитель
d154395bb2
Коммит
5b957f99cc
|
@ -21,6 +21,7 @@
|
|||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Peter Weilbacher <mozilla@Weilbacher.org>
|
||||
|
||||
Alternatively, the contents of this file may be used under the terms of
|
||||
either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
|
@ -51,16 +52,19 @@
|
|||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
var _elementIDs = ["tabStrip", "tabBackground", "middleClick", "urlBar", "loadGroup"];
|
||||
var _elementIDs = ["tabStrip", "tabBackground", "middleClick", "urlBar", "loadGroup",
|
||||
"newWindowGroup", "externalGroup"];
|
||||
]]>
|
||||
</script>
|
||||
<groupbox id="generalTabPreferences" align="start">
|
||||
<caption label="&tabDisplay.label;"/>
|
||||
<checkbox id="tabStrip"
|
||||
label="&autoHide.label;"
|
||||
accesskey="&autoHide.accesskey;"
|
||||
prefstring="browser.tabs.autoHide"/>
|
||||
<checkbox id="tabBackground"
|
||||
label="&background.label;"
|
||||
accesskey="&background.accesskey;"
|
||||
prefstring="browser.tabs.loadInBackground"
|
||||
reversed="true"/>
|
||||
</groupbox>
|
||||
|
@ -79,11 +83,41 @@
|
|||
<caption label="&openTabs.label;"/>
|
||||
<checkbox id="middleClick"
|
||||
label="&middleClick.label;"
|
||||
accesskey="&middleClick.accesskey;"
|
||||
prefstring="browser.tabs.opentabfor.middleclick"/>
|
||||
|
||||
<checkbox id="urlBar"
|
||||
label="&urlbar.label;"
|
||||
accesskey="&urlbar.accesskey;"
|
||||
prefstring="browser.tabs.opentabfor.urlbar"/>
|
||||
</groupbox>
|
||||
|
||||
<hbox equalsize="always">
|
||||
<groupbox flex="1">
|
||||
<caption label="&newWindow.label;"/>
|
||||
<description>&newWindowDescription.label;</description>
|
||||
<radiogroup id="newWindowGroup" prefstring="browser.link.open_newwindow">
|
||||
<radio value="1" label="&openCurrent.label;"
|
||||
accesskey="&newWindowGroupCurrent.accesskey;"/>
|
||||
<radio value="3" label="&openTab.label;"
|
||||
accesskey="&newWindowGroupTab.accesskey;"/>
|
||||
<radio value="2" label="&openWindow.label;"
|
||||
accesskey="&newWindowGroupWindow.accesskey;"/>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
|
||||
<groupbox flex="1">
|
||||
<caption label="&external.label;"/>
|
||||
<description>&externalDescription.label;</description>
|
||||
<radiogroup id="externalGroup" prefstring="browser.link.open_external">
|
||||
<radio value="1" label="&openCurrent.label;"
|
||||
accesskey="&externalGroupCurrent.accesskey;"/>
|
||||
<radio value="3" label="&openTab.label;"
|
||||
accesskey="&externalGroupTab.accesskey;"/>
|
||||
<radio value="2" label="&openWindow.label;"
|
||||
accesskey="&externalGroupWindow.accesskey;"/>
|
||||
</radiogroup>
|
||||
</groupbox>
|
||||
</hbox>
|
||||
|
||||
</page>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!ENTITY urlbar.label "⌘+Return in the Location bar">
|
||||
<!ENTITY urlbar.accesskey "L">
|
||||
<!ENTITY middleClick.label "Middle-click, ⌘+click or ⌘+Return on links in a Web page">
|
||||
<!ENTITY middleClick.accesskey "M">
|
||||
|
||||
<!-- LOCALIZATION NOTE : this is part of an inline-style attribute on the
|
||||
preference dialog's <window> node, which specifies the width and height
|
||||
|
|
|
@ -1,10 +1,26 @@
|
|||
<!ENTITY tabHeader.label "Tabbed Browsing">
|
||||
<!ENTITY tabDisplay.label "Tab Display">
|
||||
<!ENTITY autoHide.label "Hide the tab bar when only one tab is open">
|
||||
<!ENTITY autoHide.accesskey "d">
|
||||
<!ENTITY background.label "Select new tabs opened from links">
|
||||
<!ENTITY background.accesskey "S">
|
||||
<!ENTITY loadGroup.label "When opening a bookmark group">
|
||||
<!ENTITY loadGroupAppend.label "Add tabs">
|
||||
<!ENTITY loadGroupAppend.accesskey "A">
|
||||
<!ENTITY loadGroupReplace.label "Replace existing tabs">
|
||||
<!ENTITY loadGroupReplace.accesskey "R">
|
||||
<!ENTITY openTabs.label "Open tabs instead of windows for">
|
||||
|
||||
<!ENTITY newWindow.label "Link open behavior">
|
||||
<!ENTITY newWindowDescription.label "Open links meant to open a new window in">
|
||||
<!ENTITY external.label "Links from other applications">
|
||||
<!ENTITY externalDescription.label "Open links passed from other applications in">
|
||||
<!ENTITY openCurrent.label "The current tab/window">
|
||||
<!ENTITY newWindowGroupCurrent.accesskey "c">
|
||||
<!ENTITY externalGroupCurrent.accesskey "u">
|
||||
<!ENTITY openTab.label "A new tab in the current window">
|
||||
<!ENTITY newWindowGroupTab.accesskey "n">
|
||||
<!ENTITY externalGroupTab.accesskey "e">
|
||||
<!ENTITY openWindow.label "A new window">
|
||||
<!ENTITY newWindowGroupWindow.accesskey "w">
|
||||
<!ENTITY externalGroupWindow.accesskey "o">
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!ENTITY urlbar.label "Ctrl+Enter in the Location bar">
|
||||
<!ENTITY urlbar.accesskey "L">
|
||||
<!ENTITY middleClick.label "Middle-click, Ctrl+click or Ctrl+Enter on links in a Web page">
|
||||
<!ENTITY middleClick.accesskey "M">
|
||||
|
||||
<!-- LOCALIZATION NOTE : this is part of an inline-style attribute on the
|
||||
preference dialog's <window> node, which specifies the width and height
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
<!ENTITY makeDefaultText "Set &brandShortName; as your default browser.">
|
||||
|
||||
<!ENTITY urlbar.label "Ctrl+Enter in the Location bar">
|
||||
<!ENTITY urlbar.accesskey "L">
|
||||
<!ENTITY middleClick.label "Middle-click, Ctrl+click or Ctrl+Enter on links in a Web page">
|
||||
<!ENTITY middleClick.accesskey "M">
|
||||
|
||||
<!-- LOCALIZATION NOTE : this is part of an inline-style attribute on the
|
||||
preference dialog's <window> node, which specifies the width and height
|
||||
|
|
Загрузка…
Ссылка в новой задаче