forked from mirrors/gecko-dev
In some locales, the actual size of the bottom boxes can be big enough to overflow. Instead of fixing the size to 620px, let the dialog be content-sized, but limit the right box to take 500px by default (which seems reasonable, as everything in there should wrap reasonably). Make the release notes label actually flex (and thus wrap if there's not enough space instead of overflowing). Differential Revision: https://phabricator.services.mozilla.com/D158453
156 lines
8.1 KiB
HTML
156 lines
8.1 KiB
HTML
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/content/aboutDialog.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://branding/content/aboutDialog.css" type="text/css"?>
|
|
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
id="aboutDialog"
|
|
windowtype="Browser:About"
|
|
onload="init(event);"
|
|
#ifdef MOZ_UPDATER
|
|
onunload="onUnload(event);"
|
|
#endif
|
|
#ifdef XP_MACOSX
|
|
inwindowmenu="false"
|
|
#else
|
|
data-l10n-id="aboutDialog-title"
|
|
#endif
|
|
role="dialog"
|
|
aria-describedby="version distribution distributionId communityDesc contributeDesc trademark"
|
|
>
|
|
#ifdef XP_MACOSX
|
|
#include macWindow.inc.xhtml
|
|
#else
|
|
<script src="chrome://browser/content/utilityOverlay.js"/>
|
|
#endif
|
|
|
|
<linkset>
|
|
<html:link rel="localization" href="branding/brand.ftl"/>
|
|
<html:link rel="localization" href="browser/aboutDialog.ftl"/>
|
|
</linkset>
|
|
|
|
<script src="chrome://browser/content/aboutDialog.js"/>
|
|
|
|
<html:div id="aboutDialogContainer">
|
|
<hbox id="clientBox">
|
|
<vbox id="leftBox" flex="1"/>
|
|
<vbox id="rightBox">
|
|
<label id="release" hidden="true">
|
|
<!-- This string is explicitly not translated -->
|
|
Extended Support Release
|
|
</label>
|
|
#ifndef MOZ_UPDATER
|
|
<!-- This HBOX is duplicated below with class="update" -->
|
|
<hbox align="baseline">
|
|
<label id="version"/>
|
|
<label id="releasenotes" is="text-link" hidden="true" flex="1" data-l10n-id="releaseNotes-link"/>
|
|
</hbox>
|
|
#endif
|
|
|
|
<label id="distribution" class="text-blurb"/>
|
|
<label id="distributionId" class="text-blurb"/>
|
|
|
|
<vbox id="detailsBox">
|
|
<hbox id="updateBox">
|
|
#ifdef MOZ_UPDATER
|
|
<html:div id="icons">
|
|
<html:img class="icon update-throbber" src="chrome://global/skin/icons/loading.png" role="presentation"/>
|
|
<html:img class="icon noUpdatesFound" src="chrome://global/skin/icons/check.svg" role="presentation"/>
|
|
<html:img class="icon apply" src="chrome://global/skin/icons/reload.svg" role="presentation"/>
|
|
</html:div>
|
|
<vbox>
|
|
<deck id="updateDeck" orient="vertical">
|
|
<description id="checkForUpdates">
|
|
<button id="checkForUpdatesButton"
|
|
data-l10n-id="update-checkForUpdatesButton"
|
|
oncommand="gAppUpdater.checkForUpdates();"/>
|
|
</description>
|
|
<description id="downloadAndInstall">
|
|
<button id="downloadAndInstallButton"
|
|
oncommand="gAppUpdater.startDownload();"/>
|
|
<!-- label and accesskey will be filled by JS -->
|
|
</description>
|
|
<description id="apply">
|
|
<button id="updateButton"
|
|
data-l10n-id="update-updateButton"
|
|
oncommand="gAppUpdater.buttonRestartAfterDownload();"/>
|
|
</description>
|
|
<description id="checkingForUpdates" data-l10n-id="update-checkingForUpdates"/>
|
|
<description id="downloading" data-l10n-id="update-downloading-message">
|
|
<label id="downloadStatus" data-l10n-name="download-status"/>
|
|
</description>
|
|
<description id="applying" data-l10n-id="update-applying"/>
|
|
<description id="downloadFailed" data-l10n-id="update-failed">
|
|
<label id="failedLink" is="text-link" data-l10n-name="failed-link"/>
|
|
</description>
|
|
<description id="policyDisabled" data-l10n-id="update-adminDisabled"/>
|
|
<description id="noUpdatesFound" data-l10n-id="update-noUpdatesFound"/>
|
|
<description id="otherInstanceHandlingUpdates" data-l10n-id="update-otherInstanceHandlingUpdates"/>
|
|
<description id="manualUpdate" data-l10n-id="update-manual">
|
|
<label class="manualLink" is="text-link" data-l10n-name="manual-link"/>
|
|
</description>
|
|
<description id="unsupportedSystem" data-l10n-id="update-unsupported">
|
|
<label id="unsupportedLink" is="text-link" data-l10n-name="unsupported-link"/>
|
|
</description>
|
|
<description id="restarting" data-l10n-id="update-restarting"/>
|
|
<description id="internalError" data-l10n-id="update-internal-error">
|
|
<label class="manualLink" is="text-link" data-l10n-name="manual-link"/>
|
|
</description>
|
|
</deck>
|
|
<!-- This HBOX is duplicated above without class="update" -->
|
|
<hbox align="baseline">
|
|
<label id="version" class="update"/>
|
|
<label id="releasenotes" is="text-link" hidden="true" flex="1" data-l10n-id="releaseNotes-link"/>
|
|
</hbox>
|
|
<description class="text-blurb">
|
|
<label is="text-link" onclick="openHelpLink('firefox-help')" data-l10n-id="aboutdialog-help-user"/>
|
|
<label id="submit-feedback" is="text-link" onclick="openFeedbackPage()" data-l10n-id="aboutdialog-submit-feedback"/>
|
|
</description>
|
|
</vbox>
|
|
#endif
|
|
</hbox>
|
|
|
|
#ifdef MOZ_UPDATER
|
|
<description class="text-blurb" id="currentChannelText" data-l10n-id="channel-description">
|
|
<label id="currentChannel" data-l10n-name="current-channel"/>
|
|
</description>
|
|
#endif
|
|
<vbox id="experimental" hidden="true">
|
|
<description class="text-blurb" id="warningDesc" data-l10n-id="warningDesc-version"></description>
|
|
<description class="text-blurb" id="communityExperimentalDesc" data-l10n-id="community-exp">
|
|
<label is="text-link" href="https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog" data-l10n-name="community-exp-mozillaLink"/>
|
|
<label is="text-link" useoriginprincipal="true" href="about:credits" data-l10n-name="community-exp-creditsLink"/>
|
|
</description>
|
|
</vbox>
|
|
<description class="text-blurb" id="communityDesc" data-l10n-id="community-2">
|
|
<label is="text-link" href="https://www.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog" data-l10n-name="community-mozillaLink"/>
|
|
<label is="text-link" useoriginprincipal="true" href="about:credits" data-l10n-name="community-creditsLink"/>
|
|
</description>
|
|
<description class="text-blurb" id="contributeDesc" data-l10n-id="helpus">
|
|
<label is="text-link" href="https://donate.mozilla.org/?utm_source=firefox&utm_medium=referral&utm_campaign=firefox_about&utm_content=firefox_about" data-l10n-name="helpus-donateLink"/>
|
|
<label is="text-link" href="https://www.mozilla.org/contribute/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog" data-l10n-name="helpus-getInvolvedLink"/>
|
|
</description>
|
|
</vbox>
|
|
</vbox>
|
|
</hbox>
|
|
<vbox id="bottomBox">
|
|
<hbox pack="center">
|
|
<label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="bottomLinks-license"/>
|
|
<label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:rights" data-l10n-id="bottomLinks-rights"/>
|
|
<label is="text-link" class="bottom-link" href="https://www.mozilla.org/privacy/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog" data-l10n-id="bottomLinks-privacy"/>
|
|
</hbox>
|
|
<description id="trademark" data-l10n-id="trademarkInfo"></description>
|
|
</vbox>
|
|
</html:div>
|
|
|
|
<keyset>
|
|
<key keycode="VK_ESCAPE" oncommand="window.close();"/>
|
|
</keyset>
|
|
|
|
</window>
|