Initialize Persian Language (#239)

Translate Readme to Persian and make it in Docs section
 Translate Phrases and words for Persian language
 Add Macos build section to main readme
This commit is contained in:
Persian Prince
2023-01-01 11:59:13 +03:30
committed by GitHub
parent e21433a107
commit 8aee735d03
7 changed files with 1479 additions and 1 deletions

View File

@@ -292,6 +292,7 @@ set_target_properties(nekoray PROPERTIES
set(TS_FILES
translations/zh_CN.ts
translations/fa_IR.ts
)
if (${QT_VERSION_MAJOR} GREATER_EQUAL 6)
qt_add_lupdate(nekoray TS_FILES ${TS_FILES})

View File

@@ -62,10 +62,12 @@ https://matsuridayo.github.io
[Linux 运行教程](docs/Run_Linux.md)
## 编译教程
## 编译教程 / Compile Tutorial
[Linux](docs/Build_Linux.md)
[Mac](docs/Build_MacOS.md)
[Windows](docs/Build_Windows.md)
## 捐助 / Donate

94
docs/readme-fa.md Normal file
View File

@@ -0,0 +1,94 @@
# NekoRay
مدیریت پیکربندی پروکسی با رابط کاربری مبتنی بر QT , کراس پلتفرم . (بک اند : v2ray / sing-box )
اکنون از Windows / Linux / macOS amd64 پشتیبانی می کند.
## دانلود / Download
### GitHub Releases (Portable ZIP)
فرمت قابل حمل، بدون نصب. برای دانلود باینری های از پیش کامپایل شده به Releases بروید، آنها را باز کرده و از آنها استفاده کنید.
[![GitHub All Releases](https://img.shields.io/github/downloads/Matsuridayo/nekoray/total?label=downloads-total&logo=github&style=flat-square)](https://github.com/Matsuridayo/nekoray/releases)
[Download](https://github.com/Matsuridayo/nekoray/releases)
### بسته
1. AUR [nekoray-git](https://aur.archlinux.org/packages/nekoray-git)
2. Scoop extras: `scoop install nekoray`
## تغییرات برنامه و کانال تلگرام / Changelog & Telegram channel
https://t.me/Matsuridayo
## صفحه مستندات / Homepage & Documents
https://matsuridayo.github.io
## پروکسی / Proxy
* SOCKS (4/4a/5)
* HTTP(S)
* Shadowsocks
* VMess
* VLESS
* Trojan
* NaïveProxy ( Custom Core )
* Hysteria ( Custom Core or sing-box )
* Custom Outbound
* Custom Core
## اشتراک / Subscription
* Raw: some widely used formats (like shadowsocks, clash and v2rayN)
* فرمت های خام: برخی از فرمت های پرکاربرد (مانند shadowsocks، clash و v2rayN)
## پارامترهای عملیاتی
- `-many` نمونه در حال اجرا همان دایرکتوری را نادیده بگیرید و به اجبار یک نمونه جدید راه اندازی کنید(0.11+)
- `-appdata` پس از باز کردن، فایل پیکربندی در دایرکتوری مشترک قرار می گیرد و نمی توان آن را بیشتر باز کرد و به طور خودکار ارتقا داد. (0.11+)
## Windows
اگر به شما می گوید که DLL وجود ندارد و نمی تواند اجرا شود، لطفاً [Microsoft C++ Runtime Library] (https://aka.ms/vs/17/release/vc_redist.x64.exe) را دانلود و نصب کنید.
## Linux
[آموزش اجرای لینوکس] (docs/Run_Linux.md)
## آموزش کامپایل
[Linux](docs/Build_Linux.md)
[Windows](docs/Build_Windows.md)
## کمک مالی / Donate
Donations are welcome to support project development.
از کمک های مالی برای حمایت از توسعه پروژه استقبال می شود。
USDT TRC20
`TRhnA7SXE5Sap5gSG3ijxRmdYFiD4KRhPs`
XMR
`49bwESYQjoRL3xmvTcjZKHEKaiGywjLYVQJMUv79bXonGiyDCs8AzE3KiGW2ytTybBCpWJUvov8SjZZEGg66a4e59GXa6k5`
## Credits
- [v2fly/v2ray-core](https://github.com/v2fly/v2ray-core)
- [MatsuriDayo/Matsuri](https://github.com/MatsuriDayo/Matsuri)
- [MatsuriDayo/v2ray-core](https://github.com/MatsuriDayo/v2ray-core)
- [SagerNet/sing-box](https://github.com/SagerNet/sing-box)
- [Qv2ray](https://github.com/Qv2ray/Qv2ray)
- [Qt](https://www.qt.io/)
- [protobuf](https://github.com/protocolbuffers/protobuf)
- [yaml-cpp](https://github.com/jbeder/yaml-cpp)
- [zxing-cpp](https://github.com/nu-book/zxing-cpp)
- [QHotkey](https://github.com/Skycoder42/QHotkey)

View File

@@ -164,6 +164,9 @@ int main(int argc, char *argv[]) {
case 2:
locale = "zh_CN";
break;
case 3:
locale = "fa_IR"; //farsi(iran)
break;
default:
locale = QLocale().name();
}

1372
translations/fa_IR.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/translations">
<file>zh_CN.qm</file>
<file>fa_IR.qm</file>
</qresource>
</RCC>

View File

@@ -326,6 +326,11 @@
<string notr="true">简体中文</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">فارسی</string>
</property>
</item>
</widget>
</item>
</layout>