Bug 1356021 - Update about:preferences#advanced to fix inconsistencies with strings, show the bottom-border beneath the header to match other categories, and update the layout of radio buttons and checkboxes to match the requested layout. r=florian

MozReview-Commit-ID: GAepdok7x3R

--HG--
extra : rebase_source : f9d41fd4f55bf1f8cb2f096f4e96cc9f0963b49d
This commit is contained in:
Jared Wein 2017-04-14 02:10:53 -04:00
Родитель 4c8fa6d5da
Коммит 2c196d9ca0
3 изменённых файлов: 47 добавлений и 49 удалений

Просмотреть файл

@ -51,41 +51,44 @@
</hbox>
<!-- Update -->
#ifdef MOZ_UPDATER
<groupbox id="updateApp" align="start" data-category="paneAdvanced" hidden="true">
<groupbox id="updateApp" data-category="paneAdvanced" hidden="true">
<caption><label>&updateApplication.label;</label></caption>
<radiogroup id="updateRadioGroup" align="start">
<radio id="autoDesktop"
value="auto"
label="&updateAuto1.label;"
accesskey="&updateAuto1.accesskey;"/>
<radio value="checkOnly"
label="&updateCheckChoose.label;"
accesskey="&updateCheckChoose.accesskey;"/>
<radio value="manual"
label="&updateManual.label;"
accesskey="&updateManual.accesskey;"/>
</radiogroup>
<separator class="thin"/>
<hbox>
<button id="showUpdateHistory"
label="&updateHistory.label;"
accesskey="&updateHistory.accesskey;"
preference="app.update.disable_button.showUpdateHistory"/>
</hbox>
<description>&updateApplication.description;</description>
<hbox align="start">
<vbox flex="1">
#ifdef MOZ_UPDATER
<radiogroup id="updateRadioGroup" align="start">
<radio id="autoDesktop"
value="auto"
label="&updateAuto2.label;"
accesskey="&updateAuto2.accesskey;"/>
<radio value="checkOnly"
label="&updateCheckChoose2.label;"
accesskey="&updateCheckChoose2.accesskey;"/>
<radio value="manual"
label="&updateManual2.label;"
accesskey="&updateManual2.accesskey;"/>
</radiogroup>
#ifdef MOZ_MAINTENANCE_SERVICE
<checkbox id="useService"
label="&useService.label;"
accesskey="&useService.accesskey;"
preference="app.update.service.enabled"/>
<checkbox id="useService"
label="&useService.label;"
accesskey="&useService.accesskey;"
preference="app.update.service.enabled"/>
#endif
</groupbox>
#endif
<groupbox id="updateOthers" align="start" data-category="paneAdvanced" hidden="true">
<caption><label>&autoUpdateOthers.label;</label></caption>
<checkbox id="enableSearchUpdate"
label="&enableSearchUpdate.label;"
accesskey="&enableSearchUpdate.accesskey;"
preference="browser.search.update"/>
<checkbox id="enableSearchUpdate"
label="&enableSearchUpdate2.label;"
accesskey="&enableSearchUpdate2.accesskey;"
preference="browser.search.update"/>
</vbox>
#ifdef MOZ_UPDATER
<spacer flex="1"/>
<vbox>
<button id="showUpdateHistory"
label="&updateHistory2.label;"
accesskey="&updateHistory2.accesskey;"
preference="app.update.disable_button.showUpdateHistory"/>
</vbox>
#endif
</hbox>
</groupbox>

Просмотреть файл

@ -84,22 +84,22 @@
<!ENTITY updateTab.label "Update">
<!ENTITY updateApplication.label "&brandShortName; Updates">
<!ENTITY updateAuto1.label "Automatically install updates (recommended: improved security)">
<!ENTITY updateAuto1.accesskey "A">
<!ENTITY updateCheckChoose.label "Check for updates, but let you choose whether to install them">
<!ENTITY updateCheckChoose.accesskey "C">
<!ENTITY updateManual.label "Never check for updates (not recommended: security risk)">
<!ENTITY updateManual.accesskey "N">
<!ENTITY updateApplication.description "Allow &brandShortName; to">
<!ENTITY updateAuto2.label "Automatically install updates (recommended for improved security)">
<!ENTITY updateAuto2.accesskey "A">
<!ENTITY updateCheckChoose2.label "Check for updates but let you choose to install them">
<!ENTITY updateCheckChoose2.accesskey "C">
<!ENTITY updateManual2.label "Never check for updates (not recommended)">
<!ENTITY updateManual2.accesskey "N">
<!ENTITY updateHistory.label "Show Update History">
<!ENTITY updateHistory.accesskey "p">
<!ENTITY updateHistory2.label "Show Update History">
<!ENTITY updateHistory2.accesskey "p">
<!ENTITY useService.label "Use a background service to install updates">
<!ENTITY useService.accesskey "b">
<!ENTITY autoUpdateOthers.label "Automatically Update">
<!ENTITY enableSearchUpdate.label "Search Engines">
<!ENTITY enableSearchUpdate.accesskey "E">
<!ENTITY enableSearchUpdate2.label "Automatically update search engines">
<!ENTITY enableSearchUpdate2.accesskey "e">
<!ENTITY reports.label "Reports">

Просмотреть файл

@ -110,11 +110,6 @@ treecol {
display: none;
}
#header-advanced {
border-bottom: none;
padding-bottom: 0;
}
/* General Pane */
#startupTable {