mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-18 12:40:06 +08:00
chore: rename
This commit is contained in:
parent
45ce180932
commit
6a1dec8755
@ -116,7 +116,7 @@ set(PROJECT_SOURCES
|
||||
src/ui/setting/ThemeManager.cpp
|
||||
src/ui/setting/Icon.cpp
|
||||
|
||||
src/ui/mainwindow_grpc.cpp
|
||||
src/ui/mainwindow_rpc.cpp
|
||||
src/ui/mainwindow.cpp
|
||||
include/ui/mainwindow.h
|
||||
include/ui/mainwindow.ui
|
||||
|
||||
@ -254,9 +254,9 @@ private:
|
||||
|
||||
void loadShortcuts();
|
||||
|
||||
// grpc
|
||||
// rpc
|
||||
|
||||
static void setup_grpc();
|
||||
static void setup_rpc();
|
||||
|
||||
void urltest_current_group(const QList<std::shared_ptr<Configs::ProxyEntity>>& profiles);
|
||||
|
||||
|
||||
@ -1991,8 +1991,8 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
<translation>نمایه دیگری در حال توقف است...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Try to start the config, but the core has not listened to the grpc port, so restart it...</source>
|
||||
<translation>تلاش برای شروع پیکربندی، اما هسته به پورت grpc گوش نداده است، بنابراین آن را دوباره راهاندازی کنید...</translation>
|
||||
<source>Try to start the config, but the core has not listened to the RPC port, so restart it...</source>
|
||||
<translation>تلاش برای شروع پیکربندی، اما هسته به پورت RPC گوش نداده است، بنابراین آن را دوباره راهاندازی کنید...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Stop return error</source>
|
||||
|
||||
@ -1993,8 +1993,8 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
<translation>Другой профиль останавливается...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Try to start the config, but the core has not listened to the grpc port, so restart it...</source>
|
||||
<translation>Попытка запустить конфигурацию — ядро не прослушивает порт gRPC, поэтому перезапустите его...</translation>
|
||||
<source>Try to start the config, but the core has not listened to the RPC port, so restart it...</source>
|
||||
<translation>Попытка запустить конфигурацию — ядро не прослушивает порт RPC, поэтому перезапустите его...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Stop return error</source>
|
||||
|
||||
@ -1991,8 +1991,8 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
<translation>另一个配置档正在停止...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Try to start the config, but the core has not listened to the grpc port, so restart it...</source>
|
||||
<translation>尝试启动该配置,但核心尚未监听到 grpc 端口,因此请重启它...</translation>
|
||||
<source>Try to start the config, but the core has not listened to the RPC port, so restart it...</source>
|
||||
<translation>尝试启动该配置,但核心尚未监听到 RPC 端口,因此请重启它...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Stop return error</source>
|
||||
|
||||
@ -164,7 +164,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
||||
core_process->start_profile_when_core_is_up = Configs::dataStore->remember_id;
|
||||
}
|
||||
// Setup
|
||||
setup_grpc();
|
||||
setup_rpc();
|
||||
core_process->Start();
|
||||
},
|
||||
DS_cores);
|
||||
|
||||
@ -12,11 +12,11 @@
|
||||
#include <QDesktopServices>
|
||||
#include <QMessageBox>
|
||||
|
||||
// grpc
|
||||
// rpc
|
||||
|
||||
using namespace API;
|
||||
|
||||
void MainWindow::setup_grpc() {
|
||||
void MainWindow::setup_rpc() {
|
||||
// Setup Connection
|
||||
defaultClient = new Client(
|
||||
[=](const QString &errStr) {
|
||||
@ -552,7 +552,7 @@ void MainWindow::profile_start(int _id) {
|
||||
if (!Configs::dataStore->core_running) {
|
||||
runOnThread(
|
||||
[=, this] {
|
||||
MW_show_log(tr("Try to start the config, but the core has not listened to the grpc port, so restart it..."));
|
||||
MW_show_log(tr("Try to start the config, but the core has not listened to the RPC port, so restart it..."));
|
||||
core_process->start_profile_when_core_is_up = ent->id;
|
||||
core_process->Restart();
|
||||
},
|
||||
Loading…
Reference in New Issue
Block a user