[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Bug 15085: Fix about:tor RTL text alignment problems.
commit 31b174a2ca518663d756bcb7aff92be119eefb58
Author: Arthur Edelstein <arthuredelstein@xxxxxxxxx>
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;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits