[tbb-commits] [torbutton/master] Bug 15085: Fix about:tor RTL text alignment problems.
brade at torproject.org
brade at torproject.org
Wed Mar 4 20:07:41 UTC 2015
commit 31b174a2ca518663d756bcb7aff92be119eefb58
Author: Arthur Edelstein <arthuredelstein at gmail.com>
Date: Wed Mar 4 14:56:51 2015 -0500
Bug 15085: Fix about:tor RTL text alignment problems.
---
src/chrome/locale/ar/aboutTor.dtd | 2 +-
src/chrome/locale/fa/aboutTor.dtd | 2 +-
src/chrome/skin/aboutTor.css | 9 +++++++++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/chrome/locale/ar/aboutTor.dtd b/src/chrome/locale/ar/aboutTor.dtd
index 4ab6609..da6be21 100644
--- a/src/chrome/locale/ar/aboutTor.dtd
+++ b/src/chrome/locale/ar/aboutTor.dtd
@@ -44,6 +44,6 @@
<!ENTITY aboutTor.helpInfo5.label "تبرع »">
<!ENTITY aboutTor.helpInfo5.link "https://www.torproject.org/donate/donate.html.en">
-<!ENTITY aboutTor.footer.label "Ù
شرÙع تÙر ÙÙ US 501(c)(3) غÙر ربØÙ Ù
ÙÙرس ÙÙبØØ«Ø Ù Ø§ÙتطÙÙØ±Ø Ù Ø§ÙتÙعÙØ© بإخÙاء اÙÙÙÙØ© ÙاÙخصÙصÙØ©.">
+<!ENTITY aboutTor.footer.label "Ù
شرÙع تÙر ÙÙ ‭US 501(c)(3)‬ غÙر ربØÙ Ù
ÙÙرس ÙÙبØØ«Ø Ù Ø§ÙتطÙÙØ±Ø Ù Ø§ÙتÙعÙØ© بإخÙاء اÙÙÙÙØ© ÙاÙخصÙصÙØ©.">
<!ENTITY aboutTor.learnMore.label "تعÙÙ
اÙÙ
زÙد ع٠Ù
شرÙع تÙر »">
<!ENTITY aboutTor.learnMore.link "https://www.torproject.org/about/overview.html.en">
diff --git a/src/chrome/locale/fa/aboutTor.dtd b/src/chrome/locale/fa/aboutTor.dtd
index a7bd20f..aaa04be 100644
--- a/src/chrome/locale/fa/aboutTor.dtd
+++ b/src/chrome/locale/fa/aboutTor.dtd
@@ -44,6 +44,6 @@
<!ENTITY aboutTor.helpInfo5.label "اÙدا ÙÙÙد »">
<!ENTITY aboutTor.helpInfo5.link "https://www.torproject.org/donate/donate.html.en">
-<!ENTITY aboutTor.footer.label "پرÙÚÙ٠تÙر سازÙ
ا٠غÛر اÙتÙØ§Ø¹Û Ø¢Ù
رÛکاÛÛ 501(c)3 Ù
ختص Ù¾ÚÙÙØ´, تÙسع٠٠آÙ
Ùزش در زÙ
ÛÙ ÙاشÙØ§Ø³Û Ù ØرÛÙ
Ø´Ø®ØµÛ Ø¢ÙÙاÙÙ Ùست.">
+<!ENTITY aboutTor.footer.label "پرÙÚÙ٠تÙر سازÙ
ا٠غÛر اÙتÙØ§Ø¹Û Ø¢Ù
رÛکاÛÛ ‭501(c)(3)‬ Ù
ختص Ù¾ÚÙÙØ´, تÙسع٠٠آÙ
Ùزش در زÙ
ÛÙ ÙاشÙØ§Ø³Û Ù ØرÛÙ
Ø´Ø®ØµÛ Ø¢ÙÙاÙÙ Ùست.">
<!ENTITY aboutTor.learnMore.label "اطÙاعات بÛشتر در پرÙÚÙ٠تÙر Ùسب ÙÙÙد">
<!ENTITY aboutTor.learnMore.link "https://www.torproject.org/about/overview.html.en">
diff --git a/src/chrome/skin/aboutTor.css b/src/chrome/skin/aboutTor.css
index 0c12374..1342404 100644
--- a/src/chrome/skin/aboutTor.css
+++ b/src/chrome/skin/aboutTor.css
@@ -224,6 +224,10 @@ body .top div.hideIfTorIsUpToDate h1.hideIfTorOff {
text-align: left;
}
+#middle p:-moz-dir(rtl) {
+ text-align: right;
+}
+
#middle a {
font-size: 1.35em;
}
@@ -238,6 +242,11 @@ body .top div.hideIfTorIsUpToDate h1.hideIfTorOff {
padding: 5px 0 0 22px;
}
+#middle ul:-moz-dir(rtl) {
+ text-align: right;
+ padding: 5px 22px 0 0;
+}
+
#middle li {
padding-top: 2px;
}
More information about the tbb-commits
mailing list