Bug 713634 - [RTL] Firefox Sync completion message doesn't contain dir=rtl. r=philikon
authorElad Alfassa <elad@fedoraproject.org>
Thu, 01 Mar 2012 18:04:08 -0800
changeset 88463 ba7ce48a3f134dec4c3d60f61484b08f640d8221
parent 88462 b4b8a60097b01b07e5288338c7c6779a5d3f1dab
child 88464 7fdb9fb133f180b968c91feeec362fca8309178a
push id157
push userMs2ger@gmail.com
push dateWed, 07 Mar 2012 19:27:10 +0000
reviewersphilikon
bugs713634
milestone13.0a1
Bug 713634 - [RTL] Firefox Sync completion message doesn't contain dir=rtl. r=philikon
browser/base/content/syncProgress.xhtml
--- a/browser/base/content/syncProgress.xhtml
+++ b/browser/base/content/syncProgress.xhtml
@@ -43,32 +43,35 @@
     "DTD/xhtml1-strict.dtd">
   %htmlDTD;
   <!ENTITY % syncProgressDTD
     SYSTEM "chrome://browser/locale/syncProgress.dtd">
     %syncProgressDTD;
   <!ENTITY % syncSetupDTD
     SYSTEM "chrome://browser/locale/syncSetup.dtd">
     %syncSetupDTD;
+  <!ENTITY % globalDTD 
+    SYSTEM "chrome://global/locale/global.dtd">
+    %globalDTD;
 ]>
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>&syncProgress.pageTitle;</title>
 
     <link rel="stylesheet" type="text/css" media="all"
           href="chrome://browser/skin/syncProgress.css"/>
 
     <link rel="icon" type="image/png" id="favicon"
           href="chrome://browser/skin/sync-16.png"/>
 
     <script type="text/javascript;version=1.8"
             src="chrome://browser/content/syncProgress.js"/>
   </head>
-  <body onload="onLoad(event)" onunload="onUnload(event)">
+  <body onload="onLoad(event)" onunload="onUnload(event)" dir="&locale.dir;">
     <title>&setup.successPage.title;</title>
     <div id="floatingBox" class="main-content">
       <div id="title">
         <h1>&setup.successPage.title;</h1>
       </div>
       <div id="successLogo">
         <img id="brandSyncLogo" src="chrome://browser/skin/sync-128.png" alt="&syncProgress.logoAltText;" />
       </div>