Bug 1550692 Process subsection headers in about:telemetry should be clear that they're about processes r=chutten,flod
authormonikamaheshwari <monikamaheshwari1996@gmail.com>
Thu, 23 May 2019 18:00:50 +0000
changeset 475227 916a05c96ee29fd1b4dfa9e33c92d4e5a758dcc7
parent 475226 9473fc5214f68bfded83c5f8dd8d582051037008
child 475228 883151b42d88925215fb1212af70e6e425cd0f23
push id36058
push useraciure@mozilla.com
push dateFri, 24 May 2019 03:53:25 +0000
treeherdermozilla-central@c87317c41902 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten, flod
bugs1550692
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1550692 Process subsection headers in about:telemetry should be clear that they're about processes r=chutten,flod Differential Revision: https://phabricator.services.mozilla.com/D31718
toolkit/content/aboutTelemetry.js
toolkit/locales/en-US/toolkit/about/aboutTelemetry.ftl
--- a/toolkit/content/aboutTelemetry.js
+++ b/toolkit/content/aboutTelemetry.js
@@ -1623,17 +1623,17 @@ var AddonDetails = {
   },
 };
 
 class Section {
   static renderContent(data, process, div, section) {
     if (data && Object.keys(data).length > 0) {
       let s = GenericSubsection.renderSubsectionHeader(process, true, section);
       let heading = document.createElement("h2");
-      heading.textContent = process;
+      document.l10n.setAttributes(heading, "about-telemetry-process", {process});
       s.appendChild(heading);
 
       this.renderData(data, s);
 
       div.appendChild(s);
       let separator = document.createElement("div");
       separator.classList.add("clearfix");
       div.appendChild(separator);
--- a/toolkit/locales/en-US/toolkit/about/aboutTelemetry.ftl
+++ b/toolkit/locales/en-US/toolkit/about/aboutTelemetry.ftl
@@ -137,8 +137,11 @@ about-telemetry-method-header = method
 about-telemetry-object-header = object
 about-telemetry-extra-header = extra
 about-telemetry-origin-section = Origin Telemetry
 about-telemetry-origin-origin = origin
 about-telemetry-origin-count = count
 # Variables:
 #   $telemetryServerOwner (String): the value of the toolkit.telemetry.server_owner preference. Typically "Mozilla"
 about-telemetry-origins-explanation = <a data-l10n-name="origin-doc-link">Firefox Origin Telemetry</a> encodes data before it is sent so that { $telemetryServerOwner } can count things, but not know whether or not any given { -brand-product-name } contributed to that count. (<a data-l10n-name="prio-blog-link">learn more</a>)
+# Variables:
+#  $process (String): type of process in subsection headers ( e.g. "content", "parent" )
+about-telemetry-process = { $process } process