зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1443771 - Add ESR name to the about dialog. It is not translated. r=Felipe,jaws
MozReview-Commit-ID: FYjA7IrTGYt --HG-- extra : rebase_source : 2b0a6773e5098e1963792a38b5251066f758a3ce
This commit is contained in:
Родитель
d5edf55cc2
Коммит
c4e0dd8f57
|
@ -26,6 +26,13 @@
|
|||
padding: 15px 10px 0;
|
||||
}
|
||||
|
||||
#release {
|
||||
font-weight: bold;
|
||||
font-size: 125%;
|
||||
margin-top: 10px;
|
||||
margin-inline-start: 0;
|
||||
}
|
||||
|
||||
#version {
|
||||
font-weight: bold;
|
||||
margin-top: 10px;
|
||||
|
|
|
@ -78,6 +78,9 @@ function init(aEvent) {
|
|||
currentChannelText.hidden = true;
|
||||
}
|
||||
|
||||
if (AppConstants.MOZ_UPDATE_CHANNEL == "esr") {
|
||||
document.getElementById("release").hidden = false;
|
||||
}
|
||||
if (AppConstants.platform == "macosx") {
|
||||
// it may not be sized at this point, and we need its width to calculate its position
|
||||
window.sizeToContent();
|
||||
|
|
|
@ -45,6 +45,10 @@
|
|||
<hbox id="clientBox">
|
||||
<vbox id="leftBox" flex="1"/>
|
||||
<vbox id="rightBox" flex="1">
|
||||
<label id="release" hidden="true">
|
||||
<!-- This string is explicitly not translated -->
|
||||
Extended Support Release
|
||||
</label>
|
||||
<hbox align="baseline">
|
||||
#expand <label id="version">__MOZ_APP_VERSION_DISPLAY__</label>
|
||||
<label id="releasenotes" class="text-link" hidden="true">&releaseNotes.link;</label>
|
||||
|
|
Загрузка…
Ссылка в новой задаче