mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 701182: add additional descriptive text in the About dialog for Nightly/Aurora builds, including a mention of Telemetry being enabled by default, r=gavin
This commit is contained in:
parent
f298556127
commit
a9ec399632
@ -67,12 +67,14 @@ function init(aEvent)
|
||||
// Pref is unset
|
||||
}
|
||||
|
||||
// Include the build ID if this is an "a#" (nightly or aurora) build
|
||||
// Include the build ID and display warning if this is an "a#" (nightly or aurora) build
|
||||
let version = Services.appinfo.version;
|
||||
if (/a\d+$/.test(version)) {
|
||||
let buildID = Services.appinfo.appBuildID;
|
||||
let buildDate = buildID.slice(0,4) + "-" + buildID.slice(4,6) + "-" + buildID.slice(6,8);
|
||||
document.getElementById("version").textContent += " (" + buildDate + ")";
|
||||
document.getElementById("experimental").hidden = false;
|
||||
document.getElementById("communityDesc").hidden = true;
|
||||
}
|
||||
|
||||
#ifdef MOZ_OFFICIAL_BRANDING
|
||||
|
@ -120,8 +120,19 @@
|
||||
&channel.description.start;<label id="currentChannel"/>&channel.description.end;
|
||||
</description>
|
||||
#endif
|
||||
<vbox id="experimental" hidden="true">
|
||||
<description class="text-blurb" id="warningDesc">
|
||||
&warningDesc.version;
|
||||
#ifdef MOZ_TELEMETRY_REPORTING
|
||||
&warningDesc.telemetry;
|
||||
#endif
|
||||
</description>
|
||||
<description class="text-blurb" id="communityExperimentalDesc">
|
||||
&community.exp.start;<label class="text-link" href="http://www.mozilla.org/">&community.exp.mozillaLink;</label>&community.exp.middle;<label class="text-link" href="about:credits">&community.exp.creditsLink;</label>&community.exp.end;
|
||||
</description>
|
||||
</vbox>
|
||||
<description class="text-blurb" id="communityDesc">
|
||||
&community.start2;<label class="text-link" href="http://www.mozilla.org/">&community.mozillaLink;</label>&community.middle2;<label class="text-link" href="about:credits">&community.creditsLink;</label>&community.end2;
|
||||
&community.start2;<label class="text-link" href="http://www.mozilla.org/">&community.mozillaLink;</label>&community.middle2;<label class="text-link" href="about:credits">&community.creditsLink;</label>&community.end3;
|
||||
</description>
|
||||
<description class="text-blurb" id="contributeDesc">
|
||||
&contribute.start;<label class="text-link" href="http://www.mozilla.org/contribute/">&contribute.getInvolvedLink;</label>&contribute.end;
|
||||
|
@ -1,12 +1,26 @@
|
||||
<!ENTITY aboutDialog.title "About &brandFullName;">
|
||||
|
||||
<!-- LOCALIZATION NOTE (warningDesc.version): This is a warning about the experimental nature of Nightly and Aurora builds. It is only shown in those versions. -->
|
||||
<!ENTITY warningDesc.version "&brandShortName; is experimental and may be unstable.">
|
||||
<!-- LOCALIZATION NOTE (warningDesc.telemetry): This is a notification that Nightly/Aurora builds automatically send Telemetry data back to Mozilla. It is only shown in those versions. "It" refers to brandShortName. -->
|
||||
<!ENTITY warningDesc.telemetry "It automatically sends test information back to &vendorShortName; to help make &brandShortName; better.">
|
||||
|
||||
<!-- LOCALIZATION NOTE (community.exp.*) This paragraph is shown in "experimental" builds, i.e. Nightly and Aurora builds, instead of the other "community.*" strings below. -->
|
||||
<!ENTITY community.exp.start "">
|
||||
<!-- LOCALIZATION NOTE (community.exp.mozillaLink): This is a link title that links to http://www.mozilla.org/. -->
|
||||
<!ENTITY community.exp.mozillaLink "&vendorShortName;">
|
||||
<!ENTITY community.exp.middle " is a ">
|
||||
<!-- LOCALIZATION NOTE (community.exp.creditslink): This is a link title that links to about:credits. -->
|
||||
<!ENTITY community.exp.creditsLink "global community">
|
||||
<!ENTITY community.exp.end " working together to keep the Web open, public and accessible to all.">
|
||||
|
||||
<!ENTITY community.start2 "&brandShortName; is designed by ">
|
||||
<!-- LOCALIZATION NOTE (community.mozillaLink): This is a link title that links to http://www.mozilla.org/. -->
|
||||
<!ENTITY community.mozillaLink "&vendorShortName;">
|
||||
<!ENTITY community.middle2 ", a ">
|
||||
<!-- LOCALIZATION NOTE (community.creditsLink): This is a link title that links to about:credits. -->
|
||||
<!ENTITY community.creditsLink "global community">
|
||||
<!ENTITY community.end2 " working together to make the Internet better. We believe that the Internet should be open, public, and accessible to everyone without any restrictions.">
|
||||
<!ENTITY community.end3 " working together to keep the Web open, public and accessible to all.">
|
||||
|
||||
<!ENTITY contribute.start "Sound interesting? ">
|
||||
<!-- LOCALIZATION NOTE (contribute.getInvolvedLink): This is a link title that links to http://www.mozilla.org/contribute/. -->
|
||||
|
Loading…
Reference in New Issue
Block a user