eepsite: Fix RTL issues on Arabic help page (ticket #2731)

patch from 'rany'
This commit is contained in:
zzz
2020-05-02 10:50:44 +00:00
parent 80d24fa70d
commit 47f09479ad
3 changed files with 20 additions and 18 deletions

View File

@ -576,7 +576,9 @@ trans.zh_CN = installer/resources/locale-man/man_zh.po
type = HTML type = HTML
source_file = installer/resources/eepsite/docroot/help/index.html source_file = installer/resources/eepsite/docroot/help/index.html
source_lang = en source_lang = en
trans.ar = installer/resources/eepsite/docroot/help/index_ar.html ;; File contains local changes to fix RTL issues.
;; Merge locally or make changes on TX side before re-enabling
;;trans.ar = installer/resources/eepsite/docroot/help/index_ar.html
trans.az = installer/resources/eepsite/docroot/help/index_az.html trans.az = installer/resources/eepsite/docroot/help/index_az.html
trans.de = installer/resources/eepsite/docroot/help/index_de.html trans.de = installer/resources/eepsite/docroot/help/index_de.html
;; not yet translated on TX, use old page ;; not yet translated on TX, use old page

View File

@ -44,14 +44,14 @@
<ul> <ul>
<li><b>Linux</b><br> <li><b>Linux</b><br>
Standard install: <code>~/.i2p/eepsite/docroot/</code><br> Standard install: <code dir="ltr">~/.i2p/eepsite/docroot/</code><br>
Package install, running as a service: <code>/var/lib/i2p/i2p-config/eepsite/docroot/</code> Package install, running as a service: <code dir="ltr">/var/lib/i2p/i2p-config/eepsite/docroot/</code>
</li> </li>
<li><b>Windows</b><br> <li><b>Windows</b><br>
<code>%LOCALAPPDATA%\I2P\eepsite\docroot\</code> <code dir="ltr">%LOCALAPPDATA%\I2P\eepsite\docroot\</code>
</li> </li>
<li><b>Mac</b><br> <li><b>Mac</b><br>
<code>/Users/(user)/Library/Application Support/i2p</code> <code dir="ltr">/Users/(user)/Library/Application Support/i2p</code>
</li> </li>
</ul> </ul>
@ -140,15 +140,15 @@
</p> </p>
<ul> <ul>
<li><code>http://stats.i2p/cgi-bin/newhosts.txt</code> (<a href="http://stats.i2p/cgi-bin/newhosts.txt" target="_blank">stats.i2p</a>) <li><code dir="ltr">http://stats.i2p/cgi-bin/newhosts.txt</code> (<a href="http://stats.i2p/cgi-bin/newhosts.txt" target="_blank">stats.i2p</a>)
</li> </li>
<li><code>http://no.i2p/export/alive-hosts.txt</code> (<a href="http://no.i2p/export/alive-hosts.txt" target="_blank">no.i2p</a>) <li><code dir="ltr">http://no.i2p/export/alive-hosts.txt</code> (<a href="http://no.i2p/export/alive-hosts.txt" target="_blank">no.i2p</a>)
</li> </li>
</ul> </ul>
<p>If you are in a hurry and can't wait a few hours, you can tell people to use a "jump" address helper redirection service. <p>If you are in a hurry and can't wait a few hours, you can tell people to use a "jump" address helper redirection service.
This will work within a few minutes of your registering your hostname on the same site. This will work within a few minutes of your registering your hostname on the same site.
Test it yourself first by entering <code>http://stats.i2p/cgi-bin/jump.cgi?a=<i>something</i>.i2p</code> into your browser. Test it yourself first by entering <code dir="ltr">http://stats.i2p/cgi-bin/jump.cgi?a=<i>something</i>.i2p</code> into your browser.
Once it is working, you can tell others to use it. Once it is working, you can tell others to use it.
</p> </p>
@ -187,7 +187,7 @@
</p> </p>
<p>There is one important issue with the Apache web server. <p>There is one important issue with the Apache web server.
The <code>mod_status</code> and <code>mod_info</code> Apache modules are enabled by default on some operating systems. The <code dir="ltr">mod_status</code> and <code dir="ltr">mod_info</code> Apache modules are enabled by default on some operating systems.
These modules expose internal data which can lead to serious compromise of anonymity when used on an anonymous network. These modules expose internal data which can lead to serious compromise of anonymity when used on an anonymous network.
Removing the lines in the configuration file where these modules are loaded is the easiest way to prevent these issues. Removing the lines in the configuration file where these modules are loaded is the easiest way to prevent these issues.
</p> </p>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ar"> <html dir="rtl" lang="ar">
<head> <head>
<title>I2P خادم الويب المجهول</title> <title>I2P خادم الويب المجهول</title>
<link rel="shortcut icon" href="favicon.ico"> <link rel="shortcut icon" href="favicon.ico">
@ -33,12 +33,12 @@
<ul> <ul>
<li> <li>
<b> لينكس </b><br> <b> لينكس </b><br>
تثبيت عادي: <code>~/.i2p/eepsite/docroot/ </code><br> تثبيت عادي: <code dir="ltr">~/.i2p/eepsite/docroot/ </code><br>
تثبيت الحزمة، وتشغيلها كخدمة: <code>/var/lib/i2p/i2p-config/eepsite/docroot/ </code> </li> تثبيت الحزمة، وتشغيلها كخدمة: <code dir="ltr">/var/lib/i2p/i2p-config/eepsite/docroot/ </code> </li>
<li> <li>
<b> ويندوز </b><br><code>%LOCALAPPDATA%\I2P\eepsite\docroot\</code> </li> <b> ويندوز </b><br><code dir="ltr">%LOCALAPPDATA%\I2P\eepsite\docroot\</code> </li>
<li> <li>
<b> ماك </b><br><code>/Users/(user)/Library/Application Support/i2p</code> <b> ماك </b><br><code dir="ltr">/Users/(user)/Library/Application Support/i2p</code>
</li> </li>
</ul> </ul>
<p>في I2P ، يتم تناول الخدمات المخفية باستخدام عنوان Base32 ينتهي بـ ".b32.i2p" ، أو وجهة يتم تمثيلها كسلسلة Base64 طويلة. <p>في I2P ، يتم تناول الخدمات المخفية باستخدام عنوان Base32 ينتهي بـ ".b32.i2p" ، أو وجهة يتم تمثيلها كسلسلة Base64 طويلة.
@ -117,13 +117,13 @@
<ul> <ul>
<li> <li>
<code>http://stats.i2p/cgi-bin/newhosts.txt</code> (<a href="http://stats.i2p/cgi-bin/newhosts.txt" target="_blank">stats.i2p</a>)</li> <code dir="ltr">http://stats.i2p/cgi-bin/newhosts.txt</code> (<a href="http://stats.i2p/cgi-bin/newhosts.txt" target="_blank">stats.i2p</a>)</li>
<li> <li>
<code>http://no.i2p/export/alive-hosts.txt</code> (<a href="http://no.i2p/export/alive-hosts.txt" target="_blank">no.i2p</a>)</li> <code dir="ltr">http://no.i2p/export/alive-hosts.txt</code> (<a href="http://no.i2p/export/alive-hosts.txt" target="_blank">no.i2p</a>)</li>
</ul> </ul>
<p>إذا كنت في عجلة من أمرك ولا يمكنك الانتظار لبضع ساعات ، فيمكنك إخبار الأشخاص باستخدام خدمة "القفزة" لإعادة توجيه عنوان المساعد. <p>إذا كنت في عجلة من أمرك ولا يمكنك الانتظار لبضع ساعات ، فيمكنك إخبار الأشخاص باستخدام خدمة "القفزة" لإعادة توجيه عنوان المساعد.
سيعمل هذا في غضون بضع دقائق من تسجيل اسم مضيفك على نفس الموقع. سيعمل هذا في غضون بضع دقائق من تسجيل اسم مضيفك على نفس الموقع.
اختبر هذا أولا بنفسك عن طريق إدخال <code> http: //stats.i2p/cgi-bin/jump.cgi؟ a=<i>something</i>.i2p </code>في متصفحك. اختبر هذا أولا بنفسك عن طريق إدخال <code dir="ltr"> http://stats.i2p/cgi-bin/jump.cgi?a=<i>something</i>.i2p </code> في متصفحك.
بمجرد أن تعمل، يمكنك إخبار الآخرين باستخدامها.</p> بمجرد أن تعمل، يمكنك إخبار الآخرين باستخدامها.</p>
<p>يقوم بعض الأشخاص بالتحقق من قوائم مواقع الويب مثل <a href="http://identiguy.i2p/" target="_blank"> قائمة الحالة Identiguy الخاصة بـ eepsite </a>أو <a href="http://no.i2p/browse/" target="_blank"> قائمة المضيف النشط no.i2p </a> لـ eepites الجديدة ، وبالتالي قد يبدأ موقعك في الحصول على بعض الزيارات. <p>يقوم بعض الأشخاص بالتحقق من قوائم مواقع الويب مثل <a href="http://identiguy.i2p/" target="_blank"> قائمة الحالة Identiguy الخاصة بـ eepsite </a>أو <a href="http://no.i2p/browse/" target="_blank"> قائمة المضيف النشط no.i2p </a> لـ eepites الجديدة ، وبالتالي قد يبدأ موقعك في الحصول على بعض الزيارات.
@ -154,7 +154,7 @@
هناك الكثير من الأدلة اﻹرشادية عبر الإنترنت، على سبيل المثال إذا بحث عن "دليل nginx الإرشادي لتقوية الأمان " فستجد عددًا من الأدلة اﻹرشادية التي تحتوي على توصيات جيدة.</p> هناك الكثير من الأدلة اﻹرشادية عبر الإنترنت، على سبيل المثال إذا بحث عن "دليل nginx الإرشادي لتقوية الأمان " فستجد عددًا من الأدلة اﻹرشادية التي تحتوي على توصيات جيدة.</p>
<p>هناك مشكلة واحدة مهمة مع خادم ويب أباتشي. <p>هناك مشكلة واحدة مهمة مع خادم ويب أباتشي.
تمكين Apache للوحدات النمطية <code> mod_status</code> و <code>mod_info</code> افتراضيًا في بعض أنظمة التشغيل. تمكين Apache للوحدات النمطية <code dir="ltr"> mod_status</code> و <code dir="ltr">mod_info</code> افتراضيًا في بعض أنظمة التشغيل.
تفضح هذه الوحدات البيانات الداخلية التي يمكن أن تؤدي إلى تنازل خطير عن إخفاء الهوية عند استخدامها على شبكة مجهولة. تفضح هذه الوحدات البيانات الداخلية التي يمكن أن تؤدي إلى تنازل خطير عن إخفاء الهوية عند استخدامها على شبكة مجهولة.
تعد إزالة هذه الأسطر في ملف التهيئة حيث يتم تحميلها في الوحدات النمطية أسهل طريقة لمنع حدوث هذه المشكلات.</p> تعد إزالة هذه الأسطر في ملف التهيئة حيث يتم تحميلها في الوحدات النمطية أسهل طريقة لمنع حدوث هذه المشكلات.</p>