From 0bcf668a8221bcd6171734e0cacf8dcea4f8e20e Mon Sep 17 00:00:00 2001 From: Gabriel Machado Date: Wed, 4 Feb 2015 16:06:48 +0000 Subject: [PATCH] Bug 1117889 - Fix hard-coded general data caption in about:telemetry. r=gfritzsche --- toolkit/content/aboutTelemetry.js | 3 ++- toolkit/locales/en-US/chrome/global/aboutTelemetry.properties | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/toolkit/content/aboutTelemetry.js b/toolkit/content/aboutTelemetry.js index e7c98072e7d5..063c6fa8c09a 100644 --- a/toolkit/content/aboutTelemetry.js +++ b/toolkit/content/aboutTelemetry.js @@ -119,7 +119,8 @@ let GeneralData = { let table = document.createElement("table"); let caption = document.createElement("caption"); - caption.appendChild(document.createTextNode("General data\n")); + let captionString = bundle.GetStringFromName("generalDataTitle"); + caption.appendChild(document.createTextNode(captionString + "\n")); table.appendChild(caption); let headings = document.createElement("tr"); diff --git a/toolkit/locales/en-US/chrome/global/aboutTelemetry.properties b/toolkit/locales/en-US/chrome/global/aboutTelemetry.properties index 44d026b3c3e0..1604a1ba982b 100644 --- a/toolkit/locales/en-US/chrome/global/aboutTelemetry.properties +++ b/toolkit/locales/en-US/chrome/global/aboutTelemetry.properties @@ -7,6 +7,8 @@ # - %2$S will be replaced with the value of the toolkit.telemetry.server_owner preference pageSubtitle = This page shows the information about performance, hardware, usage and customizations collected by Telemetry. This information is submitted to %1$S to help improve %2$S. +generalDataTitle = General Data + generalDataHeadingName = Name generalDataHeadingValue = Value