This commit is contained in:
arm64v8a
2023-08-15 13:55:01 +09:00
parent e6fc84e97b
commit 835bd55a32
6 changed files with 28 additions and 51 deletions

View File

@@ -309,11 +309,14 @@ set(TS_FILES
translations/fa_IR.ts
translations/ru_RU.ts
)
set(LUPDATE_OPTIONS
-locations none -no-obsolete
)
if (${QT_VERSION_MAJOR} GREATER_EQUAL 6)
qt_add_lupdate(nekoray TS_FILES ${TS_FILES})
qt_add_lupdate(nekoray TS_FILES ${TS_FILES} OPTIONS ${LUPDATE_OPTIONS})
qt_add_lrelease(nekoray TS_FILES ${TS_FILES} QM_FILES_OUTPUT_VARIABLE QM_FILES)
else ()
qt5_create_translation(QM_FILES ${PROJECT_SOURCES} ${TS_FILES} OPTIONS -locations none)
qt5_create_translation(QM_FILES ${PROJECT_SOURCES} ${TS_FILES} OPTIONS ${LUPDATE_OPTIONS})
endif ()
configure_file(translations/translations.qrc ${CMAKE_BINARY_DIR} COPYONLY)
target_sources(nekoray PRIVATE ${CMAKE_BINARY_DIR}/translations.qrc)

View File

@@ -198,7 +198,6 @@ namespace NekoGui_fmt {
if (streamReceiveWindow > 0) q.addQueryItem("recv_window_conn", Int2String(streamReceiveWindow));
if (!q.isEmpty()) url.setQuery(q);
if (!name.isEmpty()) url.setFragment(name);
} else if (proxy_type == proxy_TUIC) {
url.setScheme("tuic");
url.setUserName(uuid);

View File

@@ -253,7 +253,6 @@ namespace NekoGui_fmt {
connectionReceiveWindow = query.queryItemValue("recv_window").toInt();
streamReceiveWindow = query.queryItemValue("recv_window_conn").toInt();
} else if (url.scheme() == "tuic") {
// by daeuniverse
// https://github.com/daeuniverse/dae/discussions/182

View File

@@ -83,10 +83,6 @@
<source>Concurrent</source>
<translation>هم زمان</translation>
</message>
<message>
<source>Test URL</source>
<translation type="vanished">url تست</translation>
</message>
<message>
<source>Use proxy when updating subscription</source>
<translation>استفاده از پروکسی زمانی که اشتراک را بروزرسانی می کنید</translation>
@@ -255,6 +251,14 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
<source>Interval (minute, invalid if less than 30)</source>
<translation type="unfinished">فاصله (به دقیقا ، اگر کمتر از ۳۰ باشد نادرست است)</translation>
</message>
<message>
<source>Share VMess Link with v2rayN Format</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Old Share Link Format</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DialogEditGroup</name>
@@ -498,10 +502,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
These settings can be changed later.</source>
<translation type="unfinished">به نظر میرسد که شما برای اولین بار است که از این نرم افزار استفاده میکنید ، لطفا یک هسته را انتخاب کنید ، این تنظیمات میتواند بعدا تغییر یابد.</translation>
</message>
<message>
<source>Exit</source>
<translation type="obsolete">خروج</translation>
</message>
<message>
<source>Quit</source>
<translation type="unfinished">خروج</translation>
@@ -1357,10 +1357,6 @@ This needs to be run NekoBox with administrator privileges.</source>
<source>Open Config Folder</source>
<translation>پوشه Config باز شود</translation>
</message>
<message>
<source>Default</source>
<translation type="vanished">پیش فرض</translation>
</message>
<message>
<source>Load routing and apply: %1</source>
<translation type="unfinished"></translation>
@@ -1476,10 +1472,6 @@ End: %2</source>
<source>Failed to stop Tun process</source>
<translation>فرآیند Tun متوقف نشد</translation>
</message>
<message>
<source>Input</source>
<translation type="vanished">ورودی</translation>
</message>
<message>
<source>[%1] test error: %2</source>
<translation type="unfinished"></translation>
@@ -1676,10 +1668,6 @@ Direct: %2</source>
<source>Request with proxy but no profile started.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable System Proxy</source>
<translation type="obsolete">پروکسی سیستم را فعال کنید</translation>
</message>
<message>
<source>Subscription request fininshed: %1</source>
<translation type="unfinished"></translation>

View File

@@ -251,6 +251,14 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
<source>Interval (minute, invalid if less than 30)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Share VMess Link with v2rayN Format</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Old Share Link Format</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DialogEditGroup</name>
@@ -979,10 +987,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
<source>Plugin Args</source>
<translation>Аргументы</translation>
</message>
<message>
<source>Server support is required</source>
<translation type="vanished">Необходима поддержка со стороны сервера</translation>
</message>
<message>
<source>Version of UDP over TCP protocol, server support is required.</source>
<translation type="unfinished"></translation>
@@ -1370,10 +1374,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
<source>Restart Proxy</source>
<translation>Перезапустить прокси</translation>
</message>
<message>
<source>Default</source>
<translation type="vanished">По умолчанию</translation>
</message>
<message>
<source>Load routing and apply: %1</source>
<translation>Загрузить маршруты и активировать: %1</translation>
@@ -1430,10 +1430,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
<source>Not Running</source>
<translation>Не запущен</translation>
</message>
<message>
<source>Running: %1</source>
<translation type="vanished">Работает: %1</translation>
</message>
<message>
<source>None</source>
<translation>Нет</translation>

View File

@@ -1217,10 +1217,6 @@ This needs to be run NekoBox with administrator privileges.</source>
<source>Error</source>
<translation></translation>
</message>
<message>
<source>Default</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Confirmation</source>
<translation></translation>
@@ -1233,10 +1229,6 @@ This needs to be run NekoBox with administrator privileges.</source>
<source>Imported %1 profile(s)</source>
<translation> %1 </translation>
</message>
<message>
<source>Running: %1</source>
<translation type="vanished">: %1</translation>
</message>
<message>
<source>None</source>
<translation></translation>