-
Notifications
You must be signed in to change notification settings - Fork 306
[WIP] add arabic and RTL basic support. #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ | |
| # in the templates via {{ site.myvariable }}. | ||
| title: Termux | ||
| lang: en | ||
| supported_langs: [en,cn] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. th |
||
| supported_langs: [en,cn,ar] | ||
| baseurl: "" # the subpath of your site, e.g. /blog | ||
| url: "https://termux.dev" # the base hostname & protocol for your site, e.g. http://example.com | ||
| site_source: "https://github.com/termux/termux.github.io" | ||
|
|
@@ -78,6 +78,12 @@ defaults: | |
| lang: cn | ||
| permalink: /:path/:basename:output_ext | ||
|
|
||
| - | ||
| scope: | ||
| path: "ar" | ||
| values: | ||
| lang: ar | ||
| permalink: /:path/:basename:output_ext | ||
|
|
||
| # Set page.category for all posts under respective categories | ||
| - | ||
|
|
@@ -114,6 +120,12 @@ defaults: | |
| lang: cn | ||
| permalink: /cn/:collection/:categories/:year/:month/:day/:title:output_ext | ||
|
|
||
| - | ||
| scope: | ||
| path: "_posts/ar" | ||
| values: | ||
| lang: ar | ||
| permalink: /ar/:collection/:categories/:year/:month/:day/:title:output_ext | ||
|
|
||
| # Exclude from processing. | ||
| # The following items will not be processed, by default. Create a custom list | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,7 @@ en: | |
| cn: | ||
| name_english: "Chinese" | ||
| name_native: "中文" | ||
|
|
||
| ar: | ||
| name_english: "Arabic" | ||
| name_native: "العربية" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| --- | ||
| intro: >- | ||
| ترمكس <strong> هو محاكي طرفية، وبيئة تشغيلية للينكس </strong> يعمل مباشرة على جهازك دون الحاجة إلى | ||
| صلاحيات الروت، أو خطوات تثبيت، | ||
| كما يتضمن أهم الحزم الأساسية بشكل تلقائي - | ||
| وتتوفر العديد | ||
| من الحزم الإضافية عبر مدير الحزم | ||
|
|
||
| features: | ||
| secure: | ||
| title: آمن. | ||
| description: >- | ||
| أتصل بالأجهزة البعيدة (Access remote) عبر ssh من خلال حزمة OpenSSH، وتفاعل مع باقي الحزم المعايرة | ||
| (standard packages) على ترمكس، عبر محاكي طرفية رائع ومفتوح المصدر. | ||
| feature_packed: | ||
| title: أختر، وأفعل ما يحلو لك. | ||
| description: >- | ||
| خذ معك Bash أو ربما تفضل استخدام fish أو Zsh، من خلال nano، ربما Emacs أو Vim، | ||
| اسحب الرسائل من SMS هاتفك، وأربطها مع خدمات أخرى من خلال curl، استخدم rsync لتحفظ نسخة احتياطية | ||
| من قائمة جهات الاتصال في هاتفك وتسترجعها في خادم بعيد (remote server). | ||
| customizable: | ||
| title: قابل للتخصيص | ||
| description: >- | ||
| حمل ما تريده من خلال مدير الحزم APT، ذاته المستخدم في توزيعات ديبيان، وأبونتو | ||
| ما رأيك بالبدأ في تحميل git ونسخ الملفات إلى هاتفك؟ | ||
| explorable: | ||
| title: أبحر بخيالك | ||
| description: >- | ||
| Have you ever sat on a bus and wondered exactly which arguments | ||
| tar accepts? Packages available in Termux are the same as those | ||
| on Mac and Linux - install man pages on your phone and read them | ||
| in one session while experimenting with them in another. | ||
| portable: | ||
| title: Portable - With batteries included. | ||
| description: >- | ||
| Can you imagine a more powerful yet elegant pocket calculator | ||
| than a readline-powered Python console? Up-to-date versions of | ||
| Perl, Python, Ruby and Node.js are all available. | ||
| scalable: | ||
| title: Ready to scale up. | ||
| description: >- | ||
| Connect a Bluetooth keyboard and hook up your device to an external | ||
| display if you need to - Termux supports keyboard shortcuts and | ||
| has full mouse support. | ||
| tinkerable: | ||
| title: Tinkerable. | ||
| description: >- | ||
| Develop by compiling Go, Rust, Swift, or C files with Clang and | ||
| build your own projects with CMake and pkg-config. Both lldb/GDB | ||
| and strace are available if you get stuck and need to debug. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| # Header | ||
| docs: Docs | ||
| posts: Posts | ||
| packages: Packages | ||
| donate: Donate | ||
| privacy_policy: Privacy Policy | ||
|
|
||
| # Footer | ||
| description: Terminal emulator and Linux environment for Android. | ||
| site_source: Site Source |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../_submodules/termux-app/docs/en |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| page_ref: /docs/index.html | ||
| lang: ar | ||
| page_ref: /docs/index.html | ||
| --- | ||
|
|
||
| # Termux Docs ?? | ||
|
|
||
| Welcome to documentation for Termux. | ||
|
|
||
| **Currently, [termux wiki site](https://wiki.termux.com/wiki/Main_Page) is the primary place for documentation but there are plans to remove it and move all documentation here instead. The documentation here is in the process of being written and will slowly be updated and contains info that is not available on the wiki site.** | ||
|
|
||
| ## Apps | ||
|
|
||
| The following Android apps are supported. | ||
|
|
||
| - [Termux app](apps/termux/index.md) | ||
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| --- | ||
| layout: page | ||
| title: Donate | ||
| redirect_from: /donate | ||
| page_ref: /donate.html | ||
| --- | ||
|
|
||
| You can consider donating if you want to support [@termux](https://github.com/termux) development, encourage us to bring more features/packages and help pay hosting costs for our sites and additional packages repositories and mirrors, pay testing devices costs, etc. | ||
|
|
||
| We are currently using github actions for building and uploading packages to our [repositories](https://packages.termux.dev) hosted by [FossHost](https://fosshost.org/). Thanks to this, the main infrastructure does not incur any costs for individual developers. | ||
|
|
||
| Donating to us will show your appreciation and help support the work (as in development or maintenance) of the various members and contributors. Even a small amount (for a cup of coffee) is greatly appreciated. Look at the git history and repository statistics ([`termux-packages`](https://github.com/termux/termux-packages/graphs/contributors), [`termux-app`](https://github.com/termux/termux-app/graphs/contributors)) to see all the people that have put time and effort into the packages and apps. Many of these people are outside contributors and not part of the [@termux team](https://github.com/orgs/termux/people), but should be supported as well. You can also check out [`CODEOWNERS`](https://github.com/termux/termux-packages/blob/master/CODEOWNERS) for the `termux-packages` if you want to support the maintenance of specific packages. | ||
|
|
||
|
|
||
| ### Open Collective | ||
|
|
||
| Our [@opencollective](https://github.com/opencollective) account at https://opencollective.com/termux whose fiscal hosting (financial management) is done by Open Source Collective (https://www.oscollective.org). Recurring custom monthly/yearly (fiat only) and one time [contributions](https://opencollective.com/termux/contribute) are supported. You can pay fiat currencies with credit/debit card, PayPal, bank transfer and can also pay with `40+` supported crypto currencies, including `BTC` and `ETH`. | ||
|
|
||
|
|
||
| ### Github Sponsors | ||
|
|
||
| Become our [github sponsor](https://github.com/sponsors) at https://github.com/sponsors/termux whose fiscal hosting (financial management) is done by Open Source Collective (https://www.oscollective.org). Recurring custom monthly and one time contributions are [supported](https://docs.github.com/en/sponsors/sponsoring-open-source-contributors/sponsoring-an-open-source-contributor). You can pay fiat currencies with credit/debit card or PayPal. | ||
|
|
||
|
|
||
| ### Agnostic Apollo | ||
|
|
||
| [@agnostic-apollo](https://github.com/agnostic-apollo) is currently the main developer and maintainer of the android apps, termux site and some other repositories/packages. See [Donations.md](https://github.com/agnostic-apollo/agnostic-apollo/blob/main/Donations.md) for how to donate. | ||
|
|
||
|
|
||
| ### Grimler | ||
|
|
||
| [@grimler91](https://github.com/grimler91) makes contributions to all the repositories and manages primary and grimler repos. Donate ETH to `0x09D42e7518f5bF6eF173c536Ad8e87c973615A9D`, or through [liberapay](https://liberapay.com/grimler). | ||
|
|
||
|
|
||
| ### Landfillbaby | ||
|
|
||
| [@landfillbaby](https://github.com/landfillbaby) makes contributions to all the repositories, but mostly concerns herself with package updates. Donate through [Liberapay](https://liberapay.com/landfillbaby) (preferred), [PayPal.Me](https://paypal.me/landfillbaby), or [Ko-fi](https://ko-fi.com/landfillbaby). | ||
|
|
||
|
|
||
| ### Yaksh Bariya | ||
|
|
||
| [@thunder-coding](https://github.com/thunder-coding) maintains `nodejs`, and often updates critical dependencies in main repo. Mostly packaging work and other chore tasks. Visit [Yaksh Bariya's website](https://codingthunder.me/sponsor) for more information. | ||
|
|
||
|
|
||
| ### Max Ivan | ||
|
|
||
| [@maxython](https://github.com/maxython) supports termux `pacman` package manager and its packages. Check [maxython.pw](https://maxython.pw) for how to donate. | ||
|
|
||
|
|
||
| ### Fornwall | ||
|
|
||
| [@fornwall](https://github.com/fornwall) is the creator of the [@termux](https://github.com/termux) project and was for several years the sole termux developer and created the apps and ported many packages, but is currently inactive. You can donate through https://paypal.me/fornwall, https://www.patreon.com/termux, or by buying the (now [deprecated](https://github.com/termux/termux-app#google-play-store-deprecated) and basically non-working) termux addon apps on Google play ([Termux:API](https://play.google.com/store/apps/details?id=com.termux.api), [Termux:Float](https://play.google.com/store/apps/details?id=com.termux.window), [Termux:Widget](https://play.google.com/store/apps/details?id=com.termux.widget), [Termux:Styling](https://play.google.com/store/apps/details?id=com.termux.styling), [Termux:Tasker](https://play.google.com/store/apps/details?id=com.termux.tasker), [Termux:Boot](https://play.google.com/store/apps/details?id=com.termux.boot)). *Note that any donations sent to [termux's patreon](https://www.patreon.com/termux) account controlled by fornwall are not shared with rest of the members to support* **current** *termux development/costs, so consider moving to Open Collective instead. However, if you want to support fornwall's past work, then you can of course send donations to him.* | ||
| ## | ||
|
|
||
| *Note for [@termux](https://github.com/termux) maintainers: Feel free to add/update/delete your donation links on [page source(s)](@SITE__URL@/blob/master/@PAGE__LANG@/donate.md) (of all languages).* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| layout: home | ||
| lang: ar | ||
| page_ref: /index.html | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| layout: page | ||
| title: Apps Posts | ||
| no_add_title_heading: true | ||
| category_name: apps | ||
| page_ref: /posts/apps.html | ||
| --- | ||
|
|
||
| {% include posts/category.html %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| layout: page | ||
| title: General Posts | ||
| no_add_title_heading: true | ||
| category_name: general | ||
| page_ref: /posts/general.html | ||
| --- | ||
|
|
||
| {% include posts/category.html %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| layout: posts/index | ||
| title: Posts | ||
| page_ref: /posts/index.html | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| layout: page | ||
| title: Packages Posts | ||
| no_add_title_heading: true | ||
| category_name: packages | ||
| page_ref: /posts/packages.html | ||
| --- | ||
|
|
||
| {% include posts/category.html %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| layout: page | ||
| title: Privacy Policy | ||
| redirect_from: /privacy-policy | ||
| page_ref: /privacy-policy.html | ||
| --- | ||
|
|
||
| Termux does not record any personal information and requests permissions only for termux and its plugin apps to function properly, without sending any data over the network in the background. | ||
|
|
||
| The [primary FossHost server](https://packages.termux.dev) which serves packages records a log of remote IP, access time and what is being accessed. This information is only stored for troubleshooting purposes and is not shared with any third parties. The [CloudFlare CDN endpoint](https://packages-cf.termux.dev) for primary host and [other termux mirrors](https://github.com/termux/termux-packages/wiki/Mirrors) hosted by the community and maintainers may have different policies. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| layout: redirect | ||
| sitemap: false | ||
| permalink: /community | ||
| redirect_to: https://wiki.termux.com/wiki/Community | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| layout: redirect | ||
| sitemap: false | ||
| permalink: /docs | ||
| redirect_to: /en/docs | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| layout: redirect | ||
| sitemap: false | ||
| permalink: /issues | ||
| redirect_to: https://github.com/termux/termux-packages/issues | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| layout: redirect | ||
| sitemap: false | ||
| permalink: /posts | ||
| redirect_to: /en/posts | ||
| --- |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.