From 8aee735d03dee2ccccc42c4a60b68f9edd01bcca Mon Sep 17 00:00:00 2001 From: Persian Prince <118456291+DanielBlackBeard@users.noreply.github.com> Date: Sun, 1 Jan 2023 11:59:13 +0330 Subject: [PATCH] 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 --- CMakeLists.txt | 1 + README.md | 4 +- docs/readme-fa.md | 94 +++ main/main.cpp | 3 + translations/fa_IR.ts | 1372 +++++++++++++++++++++++++++++++++ translations/translations.qrc | 1 + ui/dialog_basic_settings.ui | 5 + 7 files changed, 1479 insertions(+), 1 deletion(-) create mode 100644 docs/readme-fa.md create mode 100644 translations/fa_IR.ts diff --git a/CMakeLists.txt b/CMakeLists.txt index f38b5ad..16f6ac3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/README.md b/README.md index 7aa8893..149797d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/readme-fa.md b/docs/readme-fa.md new file mode 100644 index 0000000..a84cd3e --- /dev/null +++ b/docs/readme-fa.md @@ -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) diff --git a/main/main.cpp b/main/main.cpp index 020cf8a..2f34a0d 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -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(); } diff --git a/translations/fa_IR.ts b/translations/fa_IR.ts new file mode 100644 index 0000000..08f2c69 --- /dev/null +++ b/translations/fa_IR.ts @@ -0,0 +1,1372 @@ + + + + + DialogBasicSettings + + Basic Settings + تنظیمات پایه + + + Enable + فعال کردن + + + HTTP Listen Port + پورت HTTP درحال شنود + + + Listen Address + آدرس درحال شنود + + + Socks Listen Port + پورت ساکس درحال شنود + + + concurrency + همزمانی + + + User Agent + عامل کاربر + + + Common + متداول + + + Style + استایل + + + Theme + پوسته + + + System + سیستم + + + Subscription + اشتراک + + + Core + هسته + + + Extra Core + هسته اضافی + + + Select + برگزیدن + + + Edit + ویرایش + + + Custom Inbound + ورودی سفارشی + + + Asset Location + مکان دارایی + + + Default: dir of "nekoray" + + + + Settings changed + تنظیمات تغییر کرد + + + Restart nekoray to take effect. + برای اعمال تغییرات nekoray را مجددا راه اندازی کنید. + + + Concurrent + هم زمان + + + Test URL + url تست + + + Use proxy when updating subscription + استفاده از پروکسی زمانی که اشتراک را بروزرسانی می کنید + + + Language + زبان + + + Security + امنیت security + امنیت + + + Insecure hint + اشاره ناامن + + + Skip TLS certificate authentication by default + + + + Traffic statistics refresh rate + نرخ تازه سازی آمار ترافیک + + + Fast + سریع + + + Slow + کند + + + Off + خاموش + + + Add + اضافه کردن + + + Delete + حذف + حذف کردن + + + Please input the core name. + + + + Please select the core name. + + + + Connection statistics + آمار اتصال + + + Include Pre-release when checking update + هنگام بررسی به‌روزرسانی، نسخه پیش‌انتشار را نیز لحاظ شود + + + System proxy format + فرمت پروکسی سیستم + + + Set custom icon + تنظیم آیکون سفارشی + + + Hide dashboard at startup + مخفی کردن داشبورد هنگام راه‌اندازی + + + Clear servers before updating subscription + قبل از به‌روزرسانی اشتراک، سرورها را پاک شود + + + Ignore TLS errors when updating subscription + هنگام به‌روزرسانی اشتراک، خطاهای TLS را نادیده گرفته شود + + + Switch core + سوئیچ هسته + + + Enable hook.js + + + + Advanced system proxy settings. Please select a format. + تنظیمات پیشرفته پروکسی سیستم. لطفا یک قالب را انتخاب کنید. + + + Confirmation + تائیدیه + + + Switching the core to %1, click "Yes" to complete the switch and the program will restart. This feature may be unstable, please do not switch frequently. + + + + Please select a PNG file. + لطفاً یک فایل PNG انتخاب کنید. + + + Reset + بازنشانی + + + Cancel + لغو کردن + + + Please select a valid square image. + لطفاً یک تصویر مربع معتبر انتخاب کنید. + + + + DialogEditGroup + + Edit Group + ویرایش گروه + + + Type + نوع + + + Name + نام + + + Basic + پایه + + + Subscription + اشتراک + + + Archive + بایگانی + + + URL + + + + Copy profile share links + لینک های اشتراک گذاری نمایه را کپی کنید + + + Copy profile share links (Neko Links) + + + + Warning + هشدار + + + Please input URL + لطفا URL را وارد کنید + + + Copied + کپی شده است + + + + DialogEditProfile + + Edit + ویرایش کردن + + + Common + متداول + + + Type + نوع + + + Port + پورت + + + Address + آدرس + + + Name + اسم + + + Custom Json Settings + + + + Settings + تنظیمات + + + The underlying transport method. It must be consistent with the server, otherwise, the connection cannot be established. + + + + Network + شبکه + + + Transport Layer Security. It must be consistent with the server, otherwise, the connection cannot be established. + + + + Security + امنیت + + + UDP FullCone Packet encoding for implementing features such as UDP FullCone. Server support is required, if the wrong selection is made, the connection cannot be made. Please leave it blank. + + + + Packet Encoding + + + + Network Settings (%1) + + + + Security Settings + تنظیمات امنیت + + + When enabled, V2Ray will not check the validity of the TLS certificate provided by the remote host (the security is equivalent to plaintext) + + + + Allow insecure + اجازه ناامن بودن + + + Certificate + + + + Server name indication, clear text. + + + + Application layer protocol negotiation, clear text. Please separate them with commas. + + + + Custom (%1) + + + + Custom (Extra Core) + + + + Not set + تنظیم نشده + + + Already set + تنظیم شده + + + + DialogHotkey + + Hotkey + کلید میانبر + + + Show routes + مسیرها را نمایش بده + + + Show groups + نمایش گروه ها + + + Trigger main window + + + + System Proxy + پروکسی سیستم + + + + DialogManageGroups + + Groups + گروه هاگروه ها + + + New group + گروه جدید + + + Update all subscriptions + + + + Confirmation + تاییدیه + + + Update all subscriptions? + آیا همه اشتراک ها بروزرسانی شوند؟ + + + + DialogManageRoutes + + Routes + مسیرها + + + Sniffing Mode + + + + Disable + غیرفعال کردن + + + The sniffing result is used for routing + + + + The sniffing result is used for destination + + + + Outbound Domain Strategy + + + + Remote DNS + + + + Direct DNS + + + + Using multiple overseas DNS to query the server address can alleviate the DNS pollution of the server domain name to a certain extent, which may have side effects. + + + + Enhanced domain name resolution + + + + Enable DNS Routing + + + + Domain Strategy + + + + Matcher + + + + Block + + + + Direct + مستقیم + + + Domain + دامنه + + + Proxy + پروکسی + + + IP + آی پی + + + Preset + + + + Custom + + + + Custom (global) + + + + Mange route set + + + + Bypass LAN and China + + + + Global + + + + Load + + + + Save + ذخیره کردن + + + Remove + حذف کردن + + + Cancel + + + + Load routing: %1 + + + + Save routing: %1 + + + + Remove routing: %1 + + + + + DialogVPNSettings + + VPN Settings + تنظیمات vpn + + + VPN Implementation + + + + Hide Console + مخفی کردن کنسول + + + VPN Enable IPv6 + + + + Bypass CIDR + + + + Bypass Process Name + + + + + EditChain + + EditChain + + + + Traffic order is from top to bottom + + + + Select Profile + انتخاب کردن پروفایل + + + + EditCustom + + EditCustom + + + + Core + هسته + + + Json Editor + + + + Command + + + + Config Suffix + + + + Generator + + + + Please read the documentation. If you don't understand, use a share link instead. + + + + Outbound JSON, please read the documentation. + + + + Please pick a core. + لطفا یک هسته انتخاب کنید. + + + + EditNaive + + EditNaive + + + + Protocol + پروتکل + + + Password + رمزعبور + + + Extra headers + + + + SNI + + + + Username + نام کاربری + + + Certificate + + + + Insecure concurrency + همزمانی ناامن + + + + EditShadowSocks + + Form + + + + Plugin Args + + + + Password + کلمه عبور + + + Encryption + رمزگذاری + + + Plugin + پلاگین + + + + EditSocksHttp + + Form + فرم + + + Version + نسخه + + + Username + نام کاربری + + + Password + کلمه عبور + + + + EditTrojanVLESS + + Password + کلمه عبور + + + + EditVMess + + EditVMess + ویرایش VMess + + + Alter Id + + + + Security + امنیت + + + UUID + + + + + GroupItem + + Update Subscription + به روز رسانی اشتراک + + + Edit + ویرایش + + + Remove + حذف کردن + + + Basic + پایه + + + Subscription + اشتراک + + + Archive + آرشیو + + + Last update: %1 + + + + Confirmation + + + + Remove %1? + + + + + JsonEditor + + JSON Editor + + + + Format JSON + + + + Remove All Comments + + + + Json Editor + ویرایشگر Json + + + Structure Preview + + + + OK + + + + Json Contains Syntax Errors + + + + Original Json may contain syntax errors. Json tree is disabled. + + + + You must correct these errors before continuing. + + + + Syntax Errors + خطاهای نحوی + + + Please fix the JSON errors or remove the comments before continue + + + + + MainWindow + + NekoRay + + + + Program + برنامه + + + Preferences + تنظیمات + + + Server + سرور + + + Ads + تبلیغات + + + Document + اسناد + + + Update + بروزرسانی + + + VPN Mode + حالتvpn + + + System Proxy + پروکسی سیستمی + + + Type + نوع + + + Address + آدرس + + + Name + اسم + + + Test Result + نتیجه تست + + + Traffic + ترافیک + + + Log + ثبت رویدادها + + + Connection + اتصال + + + Status + وضعیت + + + Outbound + خروجی + + + Destination + مقصد + + + Active Server + سرور فعال + + + Active Routing + مسیریابی فعال + + + Share + اشتراک گذاری + + + Current Group + گروه فعلی + + + Exit + خروج + + + Basic Settings + تنظیمات پایه + + + New profile + پروفایل جدید + + + Groups + گروه ها + + + Start + آغازکردن + + + Stop + متوقف کردن + + + Routing Settings + تنظیمات مسیریابی + + + Add profile from clipboard + افزودن پروفایل از کلیپ بورد + + + Delete + از بین بردن + + + Debug Info + اطلاعات اشکال زدایی + + + QR Code and link + کد QR و پیوند + + + Copy Link + لینک را کپی کنید + + + Clear Test Result + نتایج تست پاک شود + + + Export %1 config + + + + Reset Traffic + بازنشانی ترافیک + + + Scan QR Code + کد QR را اسکن کنید + + + Enable System Proxy + پروکسی سیستم را فعال کنید + + + Disable + غیرفعال کردن + + + Remove Duplicates + موارد تکراری را حذف کردن + + + fake + جعلی + + + Move + جابجایی + + + Start with system + با سیستم شروع شود + + + Remember last profile + آخرین پروفایل را به خاطر بسپار + + + Allow other devices to connect + به دستگاه های دیگر اجازه اتصال دهید + + + Remove Unavailable + غیرقابل دستیابی پاک شود + + + Full Test + تست کامل + + + Hotkey Settings + تنظیمات کلید میانبر + + + Select All + انتخاب همه + + + Copy links of selected (Neko Links) + کپی لینک های انتخاب شده (پیوندهای Neko) + + + Copy links of selected + لینک های انتخاب شده را کپی کنید + + + Enable VPN + فعال کردن vpn + + + Clone + همزادسازی + + + Update subscription + اشتراک را به روز کنید + + + Resolve domain + دامنه را حل کنید + + + VPN Settings + تنظیمات vpn + + + Restart Program + اجرا دوباره برنامه + + + Open Config Folder + پوشه Config باز شود + + + Default + پیش فرض + + + Load routing and apply: %1 + + + + Error + خطا + + + VPN settings changed + تنظیمات VPN تغییر کرد + + + Restart VPN to take effect. + VPN را مجدداً راه اندازی کنید تا اعمال شود. + + + Confirmation + تائیدیه + + + Settings changed, restart proxy? + تنظیمات تغییر کرد، پراکسی راه اندازی مجدد شود؟ + + + Imported %1 profile(s) + + + + Http inbound is not enabled, can't set system proxy. + + + + Settings + تنظیمات + + + Current server is incompatible with VPN. Please stop the server first, enable VPN mode, and then restart. + + + + Not Running + در حال اجرا نیست + + + Running: %1 + + + + None + هیچ یک + هیچ یک + + + Select + انتخاب + + + Clone %1 item(s) + + + + Move %1 item(s) + + + + Remove %1 item(s) ? + + + + Reset traffic of %1 item(s) ? + + + + Copied %1 item(s) + + + + Config copied + کانفیگ کپی شد + + + QR Code not found + کد QR یافت نشد + + + Resolving current group domain to IP, if support. + + + + Set ignore keyword + کلیدواژه نادیده گرفتن را تنظیم کنید + + + Set the following keywords to ignore? +Split by line. + + + + Save as route + ذخیره به عنوان مسیر + + + Edit + ویرایش کردن + + + Save "%1" as a routing rule? + + + + Clear + پاک کردن + + + End + پایان + + + Active + فعال + + + Start: %1 +End: %2 + + + + Failed to stop VPN process + فرآیند VPN متوقف نشد + + + Input + ورودی + + + Please enter the items to be tested, separated by commas +1. Latency +2. Download speed +3. In and Out IP +4. NAT type + + + + [%1] test error: %2 + + + + Testing + آزمایش کردن + + + Unavailable + غیرقایل دسترسی + + + Starting profile %1 + اغاز پروفایل %1 + + + Profile is insecure: %1 + پروفایل ناامن می باشد: %1 + + + Stopping profile %1 + متوقف کردن پروفایل %1 + + + + ProxyItem + + Remove + حذف کردن + + + Confirmation + تائیدیه + + + Remove %1? + + + + + QObject + + Used: %1 Remain: %2 Expire: %3 + + + + Select + انتخاب کردن + + + Update + بروزرسانی + + + No update + بدون بروزرسانی جدید + + + Update found: %1 +Release note: +%2 + + + + Open in browser + در مرور گر باز شود + + + Close + بستن + + + Update is ready, restart to install? + به روز رسانی آماده است، برای نصب مجدد راه اندازی شود؟ + + + As Subscription + + + + As link + به عنوان لینک + + + url detected + + + + %1 +How to update? + + + + Requesting subscription: %1 + + + + Requesting subscription %1 error: %2 + + + + Clearing servers... + + + + Added %1 profiles: +%2 +Deleted %3 Profiles: +%4 + + + + Nothing + + + + Change of %1: + + + + Chain Proxy + پروکسی زنجیره ای + + + The configuration (insecure) can be detected and identified, the transmission is fully visible to the censor and is not resistant to man-in-the-middle tampering with the content of the communication. + + + + This configuration (Shadowsocks streaming cipher) can be accurately proactively detected and decrypted by censors without requiring a password, and cannot be mitigated by turning on IV replay filters on the server side. + +Learn more: https://github.com/net4people/bbs/issues/24 + + + + This profile is cleartext, don't use it if the server is not in your local network. + + + + This configuration (VMess MD5 authentication) has been deprecated by upstream because of its questionable resistance to tampering and concealment. + +As of January 1, 2022, compatibility with MD5 authentication information will be disabled on the server side by default. Any client using MD5 authentication information will not be able to connect to a server with VMess MD5 authentication information disabled. + + + + Core not found: %1 + + + + Proxy: %1 +Direct: %2 + + + + Unavailable + غیرقابل دسترس + + + Request with proxy but no profile started. + + + + + Qv2ray::ui::widgets::AutoCompleteTextEdit + + You can not input space characters here. + شما نمی توانید کاراکتر فضای خالی در اینجا استفاده کنید. + + + diff --git a/translations/translations.qrc b/translations/translations.qrc index ee9968c..6e05e60 100644 --- a/translations/translations.qrc +++ b/translations/translations.qrc @@ -1,5 +1,6 @@ zh_CN.qm + fa_IR.qm diff --git a/ui/dialog_basic_settings.ui b/ui/dialog_basic_settings.ui index 2767de1..2140597 100644 --- a/ui/dialog_basic_settings.ui +++ b/ui/dialog_basic_settings.ui @@ -326,6 +326,11 @@ 简体中文 + + + فارسی + +