Bug 459950 - Polish about:sessionrestore; r=l10n, ui-r=faaborg
authorSimon Bünzli <zeniko@gmail.com>
Thu, 30 Oct 2008 12:40:48 +0330
changeset 21089 0e702acc89d97b11a3d7a7f199f7aa77515cc2f6
parent 21088 03288ea8c289788ccac08094157e57e6ce6a05ef
child 21090 90ddcaa921e4834b88962031c74cdc07c0e55544
push id3301
push userehsan.akhgari@gmail.com
push dateThu, 30 Oct 2008 09:11:43 +0000
treeherdermozilla-central@0e702acc89d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersl10n, faaborg
bugs459950
milestone1.9.1b2pre
Bug 459950 - Polish about:sessionrestore; r=l10n, ui-r=faaborg
browser/components/sessionstore/content/aboutSessionRestore.xhtml
browser/locales/en-US/chrome/browser/aboutSessionRestore.dtd
--- a/browser/components/sessionstore/content/aboutSessionRestore.xhtml
+++ b/browser/components/sessionstore/content/aboutSessionRestore.xhtml
@@ -44,40 +44,40 @@
   <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
   %globalDTD;
   <!ENTITY % restorepageDTD SYSTEM "chrome://browser/locale/aboutSessionRestore.dtd">
   %restorepageDTD;
 ]>
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
-    <title>&restorepage.title;</title>
+    <title>&restorepage.tabtitle;</title>
     <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all"/>
     <link rel="stylesheet" href="chrome://browser/skin/aboutSessionRestore.css" type="text/css" media="all"/>
     <link rel="icon" type="image/png" href="chrome://global/skin/icons/question-16.png"/>
 
     <script type="application/javascript" src="chrome://browser/content/aboutSessionRestore.js"/>
   </head>
 
   <body dir="&locale.dir;">
 
     <!-- PAGE CONTAINER (for styling purposes only) -->
     <div id="errorPageContainer">
     
       <!-- Error Title -->
       <div id="errorTitle">
-        <h1 id="errorTitleText">&restorepage.titletext;</h1>
+        <h1 id="errorTitleText">&restorepage.pagetitle;</h1>
       </div>
       
       <!-- LONG CONTENT (the section most likely to require scrolling) -->
       <div id="errorLongContent">
       
         <!-- Short Description -->
         <div id="errorShortDesc">
-          <p id="errorShortDescText">&restorepage.shortDesc;</p>
+          <p id="errorShortDescText">&restorepage.issueDesc;</p>
         </div>
 
         <!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
         <div id="errorLongDesc">
           <p>&restorepage.remedies;</p>
           <ul>
             <li>&restorepage.dueToChrome;</li>
             <li>&restorepage.dueToContent;</li>
--- a/browser/locales/en-US/chrome/browser/aboutSessionRestore.dtd
+++ b/browser/locales/en-US/chrome/browser/aboutSessionRestore.dtd
@@ -1,16 +1,18 @@
-<!ENTITY restorepage.title          "Restore Previous Session">
-<!ENTITY restorepage.titletext      "Your Last &brandShortName; Session Closed Unexpectedly">
-<!ENTITY restorepage.shortDesc      "You can restore the tabs and windows from your previous session, or start a new session if they are no longer needed. Our apologies for the inconvenience.">
+<!ENTITY restorepage.tabtitle       "Restore Session">
+<!ENTITY restorepage.pagetitle      "Would You Like to Restore Your Session?">
+<!-- LOCALIZATION NOTE: If "closed unexpectedly" sounds too awkward in the translation,
+                        you may translate "crash" instead (even though it's IT-speak) -->
+<!ENTITY restorepage.issueDesc      "Your previous &brandShortName; session closed unexpectedly. We sincerely apologize for the inconvenience. You can restore the tabs and windows from your previous session, or start a new session if they are no longer needed.">
 <!ENTITY restorepage.remedies       "If &brandShortName; closes repeatedly:">
 <!ENTITY restorepage.dueToChrome    "Try disabling any recently added extensions in the Add-ons Manager.">
-<!ENTITY restorepage.dueToContent   "Try restoring your session without any Web pages you suspect might be causing the crash:">
+<!ENTITY restorepage.dueToContent   "Try restoring your session without any Web pages you suspect might be causing the problem:">
 
 <!ENTITY restorepage.restoreButton  "Restore Previous Session">
 <!ENTITY restorepage.restore.access "R">
 <!ENTITY restorepage.cancelButton   "Start New Session">
 <!ENTITY restorepage.cancel.access  "S">
 
 <!ENTITY restorepage.restoreHeader  "Restore">
 <!ENTITY restorepage.listHeader     "Windows and Tabs">
-<!-- LOCALIZATION NOTE: %S will be replaced with a number. -->
-<!ENTITY restorepage.windowLabel    "Window #&#37;S">
+<!-- LOCALIZATION NOTE: &#37;S will be replaced with a number. -->
+<!ENTITY restorepage.windowLabel    "Window &#37;S">