Bug 556313 - about:home not fully localizable, mismatch in the UI for Spanish (and others?) [r=pike]
authorMark Finkle <mfinkle@mozilla.com>
Wed, 31 Mar 2010 16:14:10 -0400
changeset 1425 77a6b8c699617590833f4e206391b5c0c5d435b0
parent 1424 0f023dc422c54b12b3c648e165634e5d4b3452ee
child 1426 510811b8618eaadce27b8510c68344e99f873c8e
push id1274
push usermfinkle@mozilla.com
push dateWed, 31 Mar 2010 20:14:05 +0000
reviewerspike
bugs556313
Bug 556313 - about:home not fully localizable, mismatch in the UI for Spanish (and others?) [r=pike]
chrome/content/aboutHome.xhtml
locales/en-US/chrome/aboutHome.dtd
--- a/chrome/content/aboutHome.xhtml
+++ b/chrome/content/aboutHome.xhtml
@@ -252,17 +252,17 @@
         repo.cancelSearch();
       repo.retrieveRecommendedAddons(kAddonsMaxDisplay, RecommendedSearchResults);
     }
   ]]></script>
 </head>
 
 <body dir="&locale.dir;" onload="init();">
   <div id="wrapper">
-    <div id="header"><div id="logo"><img src="chrome://branding/content/logo.png"/></div><span>&brandShortName; </span><span id="header-suffix">&aboutHome.start;</span></div>
+    <div id="header"><div id="logo"><img src="chrome://branding/content/logo.png"/></div>&aboutHome.header;</div>
 
     <div id="recentTabs" class="section-box">
       <h1>&aboutHome.recentTabs;</h1>
     </div>
 
     <div id="remoteTabs" class="section-row" onclick="openRemoteTabs();">
       <div>
         <img class="favicon" src="chrome://browser/skin/images/remotetabs-32.png"/>
--- a/locales/en-US/chrome/aboutHome.dtd
+++ b/locales/en-US/chrome/aboutHome.dtd
@@ -1,6 +1,6 @@
-<!ENTITY aboutHome.start                        "Start">
+<!ENTITY aboutHome.header                       "<span>&brandShortName; </span><span id='header-suffix'>Start</span>">
 <!ENTITY aboutHome.recentTabs                   "Your tabs from last time">
 <!ENTITY aboutHome.remoteTabs                   "Tabs from your other computers">
 <!ENTITY aboutHome.recommendedAddons2           "Add-ons for your &brandShortName;">
 <!ENTITY aboutHome.aboutMozilla                 "About Mozilla">
 <!ENTITY aboutHome.openAllTabs                  "Open all in tabs">