Bug 1394458 - Update copy for about:tabcrashed. r=johannh draft
authorNihanth Subramanya <nhnt11@gmail.com>
Wed, 20 Sep 2017 02:09:19 +0530
changeset 667208 216b8f0626b2a10bd30bd119de3fe3bc6e51e476
parent 667207 ca7d1157321f2a2115bf41dd6676c73b19d36c1a
child 732332 8aef1f5694f7c74fdb455359f2a794a5c1bdfbee
push id80653
push usernhnt11@gmail.com
push dateTue, 19 Sep 2017 21:31:37 +0000
reviewersjohannh
bugs1394458
milestone57.0a1
Bug 1394458 - Update copy for about:tabcrashed. r=johannh MozReview-Commit-ID: Fyx4ug6ZiQO
browser/base/content/aboutTabCrashed.xhtml
browser/locales/en-US/chrome/browser/aboutTabCrashed.dtd
--- a/browser/base/content/aboutTabCrashed.xhtml
+++ b/browser/base/content/aboutTabCrashed.xhtml
@@ -22,75 +22,77 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <link rel="stylesheet" type="text/css" media="all"
           href="chrome://global/skin/in-content/info-pages.css"/>
     <link rel="stylesheet" type="text/css" media="all"
           href="chrome://browser/content/aboutTabCrashed.css"/>
     <link rel="stylesheet" type="text/css" media="all"
           href="chrome://browser/skin/aboutTabCrashed.css"/>
+
+    <title>&tabCrashed.title;</title>
   </head>
 
   <body dir="&locale.dir;">
     <div id="main" class="container" multiple="false">
 
       <div class="title">
         <h1 class="title-text">&tabCrashed.header2;</h1>
       </div>
 
       <div class="offers">
-        <h2>&tabCrashed.offerHelp;</h2>
-        <p id="offerHelpMessageSingle">&tabCrashed.single.offerHelpMessage;</p>
-        <p id="offerHelpMessageMultiple">&tabCrashed.multiple.offerHelpMessage;</p>
+        <h2>&tabCrashed.offerHelp2;</h2>
+        <p id="offerHelpMessageSingle">&tabCrashed.single.offerHelpMessage2;</p>
+        <p id="offerHelpMessageMultiple">&tabCrashed.multiple.offerHelpMessage2;</p>
       </div>
 
       <div id="reportBox">
         <h2>&tabCrashed.requestHelp;</h2>
         <p>&tabCrashed.requestHelpMessage;</p>
 
         <h2>&tabCrashed.requestReport;</h2>
 
         <div class="checkbox-with-label">
           <input type="checkbox" id="sendReport" role="checkbox"/>
-          <label for="sendReport">&tabCrashed.sendReport2;</label>
+          <label for="sendReport">&tabCrashed.sendReport3;</label>
         </div>
 
         <ul id="options">
           <li>
             <textarea id="comments" placeholder="&tabCrashed.commentPlaceholder2;" rows="4"></textarea>
           </li>
 
           <li class="checkbox-with-label">
             <input type="checkbox" id="includeURL" role="checkbox"/>
-            <label for="includeURL">&tabCrashed.includeURL2;</label>
+            <label for="includeURL">&tabCrashed.includeURL3;</label>
           </li>
 
           <li id="requestEmail" hidden="true">
             <div class="checkbox-with-label">
               <input type="checkbox" id="emailMe" role="checkbox"/>
               <label for="emailMe">&tabCrashed.emailMe;</label>
             </div>
             <input type="text" id="email" placeholder="&tabCrashed.emailPlaceholder;"/>
           </li>
         </ul>
 
         <div id="requestAutoSubmit" hidden="true">
           <h2>&tabCrashed.requestAutoSubmit2;</h2>
           <div class="checkbox-with-label">
             <input type="checkbox" id="autoSubmit" role="checkbox"/>
-            <label for="autoSubmit">&tabCrashed.autoSubmit2;</label>
+            <label for="autoSubmit">&tabCrashed.autoSubmit3;</label>
           </div>
         </div>
       </div>
 
       <p id="reportSent">&tabCrashed.reportSent;</p>
 
       <div class="button-container">
         <button id="closeTab">
-          &tabCrashed.closeTab;</button>
+          &tabCrashed.closeTab2;</button>
         <button id="restoreTab" class="primary">
           &tabCrashed.restoreTab;</button>
         <button id="restoreAll" autofocus="true" class="primary">
           &tabCrashed.restoreAll;</button>
       </div>
     </div>
   </body>
   <script type="text/javascript" src="chrome://browser/content/aboutTabCrashed.js"/>
--- a/browser/locales/en-US/chrome/browser/aboutTabCrashed.dtd
+++ b/browser/locales/en-US/chrome/browser/aboutTabCrashed.dtd
@@ -1,30 +1,32 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
-<!ENTITY tabCrashed.closeTab "Close This Tab">
+<!ENTITY tabCrashed.title "Tab crash reporter">
+
+<!ENTITY tabCrashed.closeTab2  "Close Tab">
 <!ENTITY tabCrashed.restoreTab "Restore This Tab">
 <!ENTITY tabCrashed.restoreAll "Restore All Crashed Tabs">
 
 <!-- LOCALIZATION NOTE (tabCrashed.header2): "Gah" is an English slang word
      used to express surprise or frustration (or both at the same time).  We
      are using it to communicate in an informal way that it is both
      frustrating that your tab crashed and a surprise that we didn't want to
      happen. If you have a similar word or short phrase that is not profane or
      vulgar, use it. If not, feel free to skip the word in your
      translation. -->
 <!ENTITY tabCrashed.header2 "Gah. Your tab just crashed.">
-<!ENTITY tabCrashed.offerHelp "We can help you!">
-<!ENTITY tabCrashed.single.offerHelpMessage "Choose &tabCrashed.restoreTab; to reload page content.">
-<!ENTITY tabCrashed.multiple.offerHelpMessage "Choose &tabCrashed.restoreTab; or &tabCrashed.restoreAll; to reload page content.">
+<!ENTITY tabCrashed.offerHelp2 "We can help!">
+<!ENTITY tabCrashed.single.offerHelpMessage2 "Choose &tabCrashed.restoreTab; to reload the page.">
+<!ENTITY tabCrashed.multiple.offerHelpMessage2 "Choose &tabCrashed.restoreTab; or &tabCrashed.restoreAll; to reload the page/pages.">
 <!ENTITY tabCrashed.requestHelp "Will you help us?">
 <!ENTITY tabCrashed.requestHelpMessage "Crash reports help us diagnose problems and make &brandShortName; better.">
 <!ENTITY tabCrashed.requestReport "Report this tab">
-<!ENTITY tabCrashed.sendReport2 "Send a crash report for the tab you are viewing">
+<!ENTITY tabCrashed.sendReport3 "Send an automated crash report so we can fix issues like this.">
 <!ENTITY tabCrashed.commentPlaceholder2 "Optional comments (comments are publicly visible)">
-<!ENTITY tabCrashed.includeURL2 "Include page URL with this crash report">
+<!ENTITY tabCrashed.includeURL3 "Include the URLs of the sites you were on when &brandShortName; crashed.">
 <!ENTITY tabCrashed.emailPlaceholder "Enter your email address here">
 <!ENTITY tabCrashed.emailMe "Email me when more information is available">
 <!ENTITY tabCrashed.reportSent "Crash report already submitted; thank you for helping make &brandShortName; better!">
 <!ENTITY tabCrashed.requestAutoSubmit2 "Report background tabs">
-<!ENTITY tabCrashed.autoSubmit2 "Update preferences to automatically send crash reports, including reports for crashed background tabs from this session and future sessions">
+<!ENTITY tabCrashed.autoSubmit3 "Update preferences to automatically submit reports when &brandShortName; crashes.">