Bug 158739 Tabbed Browsing, OS X: Command+Enter checkbox text displayed in 3 lines (should be 1 line)

r=doron sr=jag
This commit is contained in:
timeless%mac.com 2006-05-17 02:36:08 +00:00
parent 30803f91c4
commit 8837cbce50
5 changed files with 11 additions and 16 deletions

View File

@ -23,27 +23,22 @@
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-tabs.dtd">
<!DOCTYPE page [
<!ENTITY % platformCommunicationDTD SYSTEM "chrome://communicator-platform/locale/pref/platformPrefOverlay.dtd">
%platformCommunicationDTD;
<!ENTITY % tabsDTD SYSTEM "chrome://communicator/locale/pref/pref-tabs.dtd">
%tabsDTD;
]>
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://communicator/content/pref/pref-tabs.xul');
loadPanel();"
onload="parent.initPanel('chrome://communicator/content/pref/pref-tabs.xul');"
headertitle="&tabHeader.label;">
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["tabStrip", "tabBackground", "middleClick", "urlBar"];
function loadPanel() {
if (navigator.platform.indexOf("Mac") != -1) {
var string = document.getElementById("macUrlbarPref");
var checkbox = document.getElementById("urlBar");
checkbox.label = string.getAttribute("label");
}
}
]]>
</script>
<data id="macUrlbarPref" label="&urlbarMac.label;"/>
<groupbox id="generalTabPreferences" align="start">
<caption label="&tabDisplay.label;"/>
<checkbox id="tabStrip"
@ -61,7 +56,7 @@
prefstring="browser.tabs.opentabfor.middleclick"/>
<checkbox id="urlBar"
label="&urlbarWinUnix.label;"
label="&urlbar.label;"
prefstring="browser.tabs.opentabfor.urlbar"/>
</groupbox>

View File

@ -0,0 +1 @@
<!ENTITY urlbar.label "Command+Enter in the Location bar">

View File

@ -4,6 +4,3 @@
<!ENTITY background.label "Load links in the background">
<!ENTITY openTabs.label "Open tabs instead of windows for">
<!ENTITY middleClick.label "Middle-click or control-click of links in a Web page">
<!ENTITY urlbarWinUnix.label "Control+Enter in the Location bar">
<!ENTITY urlbarMac.label "Command+Enter in the Location bar">

View File

@ -0,0 +1 @@
<!ENTITY urlbar.label "Control+Enter in the Location bar">

View File

@ -6,3 +6,4 @@
<!ENTITY defaultPendingText "&brandShortName; will be set as your default browser when you click OK.">
<!ENTITY makeDefaultText "Set &brandShortName; as your default browser.">
<!ENTITY urlbar.label "Control+Enter in the Location bar">