Bug 1109757 - show update channel and build ID on about:support, r=MattN

This commit is contained in:
Gijs Kruitbosch 2015-01-28 02:01:26 +00:00
parent 4edd8cb048
commit 8350d13bd6
3 changed files with 22 additions and 1 deletions

View File

@ -41,6 +41,9 @@ let snapshotFormatters = {
if (data.vendor)
version += " (" + data.vendor + ")";
$("version-box").textContent = version;
$("buildid-box").textContent = data.buildID;
if (data.updateChannel)
$("updatechannel-box").textContent = data.updateChannel;
$("multiprocess-box").textContent = stringBundle().formatStringFromName("multiProcessStatus",
[data.numRemoteWindows, data.numTotalWindows, data.remoteAutoStart], 3);

View File

@ -81,6 +81,13 @@
</td>
</tr>
<tr>
<th class="column">
&aboutSupport.appBasicsBuildID;
</th>
<td id="buildid-box"></td>
</tr>
#ifndef ANDROID
<tr class="no-copy">
<th class="column">
@ -95,6 +102,15 @@
</tr>
#endif
#ifdef MOZ_UPDATER
<tr>
<th class="column">
&aboutSupport.appBasicsUpdateChannel;
</th>
<td id="updatechannel-box"></td>
</tr>
#endif
<tr>
<th class="column">
&aboutSupport.appBasicsUserAgent;

View File

@ -37,9 +37,11 @@ This is likely the same like id.heading in crashes.dtd. -->
<!ENTITY aboutSupport.appBasicsTitle "Application Basics">
<!ENTITY aboutSupport.appBasicsName "Name">
<!ENTITY aboutSupport.appBasicsVersion "Version">
<!ENTITY aboutSupport.appBasicsBuildID "Build ID">
<!-- LOCALIZATION NOTE (aboutSupport.appBasicsUpdateHistory, aboutSupport.appBasicsShowUpdateHistory):
<!-- LOCALIZATION NOTE (aboutSupport.appBasicsUpdateChannel, aboutSupport.appBasicsUpdateHistory, aboutSupport.appBasicsShowUpdateHistory):
"Update" is a noun here, not a verb. -->
<!ENTITY aboutSupport.appBasicsUpdateChannel "Update Channel">
<!ENTITY aboutSupport.appBasicsUpdateHistory "Update History">
<!ENTITY aboutSupport.appBasicsShowUpdateHistory "Show Update History">