зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1198287 - New widths for the two sections of about:privatebrowsing. r=bgrins
--HG-- extra : commitid : ACFT3LMfeEg extra : rebase_source : 4db3401266dfaf17f237048347e3d929d0c9cecb extra : amend_source : 50a095a62f1857391e40d129c32afdf3e2b27e9a
This commit is contained in:
Родитель
f429a16600
Коммит
d7ff28539d
|
@ -34,7 +34,7 @@
|
|||
<div id="bar" class="showPrivate">&privateBrowsing.title;</div>
|
||||
<div id="main" class="showPrivate">
|
||||
<div id="privateBrowsingSection"
|
||||
style="width: &aboutPrivateBrowsing.width;">
|
||||
style="width: &aboutPrivateBrowsing.width1;">
|
||||
<div class="sectionHeader">&aboutPrivateBrowsing.title;</div>
|
||||
<p>&aboutPrivateBrowsing.subtitle;</p>
|
||||
<div id="list-area">
|
||||
|
@ -59,7 +59,7 @@
|
|||
<a id="learnMore" target="_blank">&aboutPrivateBrowsing.learnMore;</a>
|
||||
</div>
|
||||
<div id="trackingProtectionSection"
|
||||
style="width: &trackingProtection.width;">
|
||||
style="width: &trackingProtection.width1;">
|
||||
<div class="sectionHeader">&trackingProtection.title;
|
||||
<span id="tpEnabled"
|
||||
style="width: &trackingProtection.state.width;"
|
||||
|
|
|
@ -8,10 +8,13 @@
|
|||
|
||||
<!ENTITY privateBrowsing.title "Private Browsing">
|
||||
|
||||
<!-- LOCALIZATION NOTE (aboutPrivateBrowsing.width):
|
||||
Width of the Private Browsing section.
|
||||
<!-- LOCALIZATION NOTE (aboutPrivateBrowsing.width1):
|
||||
Width of the Private Browsing section. This should depend primarily on the
|
||||
length of the headers and text, but should be roughly 1.5 times the width
|
||||
of the Tracking Protection section, and in general not much larger than
|
||||
30em to prevent the sections from wrapping on smaller window sizes.
|
||||
-->
|
||||
<!ENTITY aboutPrivateBrowsing.width "25em">
|
||||
<!ENTITY aboutPrivateBrowsing.width1 "30em">
|
||||
|
||||
<!-- LOCALIZATION NOTE (aboutPrivateBrowsing.subtitle,
|
||||
aboutPrivateBrowsing.info.forgotten, aboutPrivateBrowsing.info.kept):
|
||||
|
@ -36,11 +39,15 @@
|
|||
<!ENTITY aboutPrivateBrowsing.note1 "Please note that your employer or Internet service provider can still track the pages you visit.">
|
||||
<!ENTITY aboutPrivateBrowsing.learnMore "Learn More.">
|
||||
|
||||
<!-- LOCALIZATION NOTE (trackingProtection.width):
|
||||
Width of the Tracking Protection section. This should be enough to
|
||||
accommodate the title as well as the enabled or disabled indicator.
|
||||
<!-- LOCALIZATION NOTE (trackingProtection.width1):
|
||||
Width of the Tracking Protection section. It is fine for the enabled or
|
||||
disabled indicator or the words in the title to wrap to the next line, but
|
||||
you can expand or reduce this section to fit better, as long as the width
|
||||
of the Private Browsing section is roughly 1.5 times the width of this one.
|
||||
Note that the required space may vary between platforms because fonts are
|
||||
different, so testing on Windows, Mac, and Linux is encouraged.
|
||||
-->
|
||||
<!ENTITY trackingProtection.width "22em">
|
||||
<!ENTITY trackingProtection.width1 "22em">
|
||||
<!ENTITY trackingProtection.title "Tracking Protection">
|
||||
|
||||
<!-- LOCALIZATION NOTE (trackingProtection.state.width):
|
||||
|
|
Загрузка…
Ссылка в новой задаче