Bug 349176 - [RTL] About Firefox; r=gavin
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 13 Jan 2009 21:30:05 +0330
changeset 23609 2723c17e550236c20a1677ea59e8d97db35c06d4
parent 23608 98e0b6b69e054a9be1da8755b8560b53672d6858
child 23610 c8faab9608dc165311446e8cf127ff9feab37fd7
push id4637
push userehsan.akhgari@gmail.com
push dateTue, 13 Jan 2009 18:02:29 +0000
treeherdermozilla-central@6e089951b915 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs349176
milestone1.9.2a1pre
Bug 349176 - [RTL] About Firefox; r=gavin
browser/base/content/credits.xhtml
--- a/browser/base/content/credits.xhtml
+++ b/browser/base/content/credits.xhtml
@@ -16,16 +16,17 @@
 #
 # The Initial Developer of the Original Code is Ben Goodger.
 # Portions created by the Initial Developer are Copyright (C) 2004
 # the Initial Developer. All Rights Reserved.
 #
 # Contributor(s):
 #   Ben Goodger <ben@mozilla.org>
 #   David Baron <dbaron@mozilla.org>
+#   Ehsan Akhgari <ehsan.akhgari@gmail.com>
 #
 # Alternatively, the contents of this file may be used under the terms of
 # either the GNU General Public License Version 2 or later (the "GPL"), or
 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 # in which case the provisions of the GPL or the LGPL are applicable instead
 # of those above. If you wish to allow use of your version of this file only
 # under the terms of either the GPL or the LGPL, and not to allow others to
 # use your version of this file under the terms of the MPL, indicate your
@@ -40,16 +41,18 @@
                       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
   [
     <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
     %brandDTD;
     <!ENTITY % creditsDTD SYSTEM "chrome://browser/locale/credits.dtd">
     %creditsDTD;
     <!ENTITY % licenseDTD SYSTEM "chrome://global/locale/license.dtd">
     %licenseDTD;
+    <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
+    %globalDTD;
   ]
 >
 
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>&brandFullName; Credits</title>
 
@@ -201,20 +204,20 @@
     </script>
   </head>
   <body onload="init();" onunload="uninit();">
     <div id="titleBox">
       <img src="chrome://branding/content/aboutCredits.png" />
     </div>
 
     <div id="creditsBox">
-        <h2 class="title">&brandFullName;&trade;
+        <h2 class="title" dir="&locale.dir;">&brandFullName;&trade;
           <div class="motto">&brandMotto;</div>
         </h2>
-        <div class="links">
+        <div class="links" dir="&locale.dir;">
           &credit.thanks2; <a href="" link="about:credits" onclick="visitLink(event);">&credit.contributors2;</a>
         </div>
 
         <div class="creditsGroup">
           <ul>
             <li>Josh Aas</li>
             <li>Robert Accettura</li>
             <li>Ehsan Akhgari</li>
@@ -489,22 +492,24 @@
             <li>Christine Yen</li>
             <li>Kohei Yoshino</li>
             <li>Shigeru Yoshitake</li>
             <li>Boris Zbarsky</li>
             <li>Marco Zehe</li>
             <li>Matthew Zeier</li>
           </ul>
 
-          &credit.translation;
+          <div dir="&locale.dir;">
+            &credit.translation;
+          </div>
         </div>
 
         <!-- organizational supporters -->
         <div class="creditsGroup">
-          <h3>&credit.thanks;</h3>
+          <h3 dir="&locale.dir;">&credit.thanks;</h3>
           <ul>
             <li>Google</li>
             <li>Yahoo!</li>
             <li>IBM</li>
             <li>Sun Microsystems</li>
             <li>Red Hat</li>
             <li></li>
             <li>Oregon State University - Open Source Lab</li>
@@ -521,19 +526,19 @@
             <li>Nobox</li>
             <li>silverorange</li>
             <li>Glaxstar</li>
             <li></li>
             <li>MozillaZine Community</li>
           </ul>
         </div>
 
-        <p id="gecko" class="center">&credit.poweredByGeckoReg;</p>
+        <p id="gecko" class="center" dir="&locale.dir;">&credit.poweredByGeckoReg;</p>
 
-        <p class="footnote">
+        <p class="footnote" dir="&locale.dir;">
           &brandFullName;&trade; &license.part0; &copy;1998-2009 &license.part1;
           <a href="" link="about:credits" onclick="visitLink(event);">&license.contrib;</a>,
           &license.part2;
           <a href="" link="about:license" onclick="visitLink(event);">about:license</a>
           &license.part3;</p>
 
         <p class="footnote">
           Mozilla Firefox&reg; and the Firefox logo are registered trademarks of the