From 8cb4f2f9610f02d96d23e286bed977522b8b8952 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Wed, 2 Apr 2025 15:53:28 +0800 Subject: [PATCH] Adjusted the server configuration right-click menu --- v2rayN/ServiceLib/Resx/ResUI.Designer.cs | 37 ++++++++++++------- v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx | 19 ++++++---- v2rayN/ServiceLib/Resx/ResUI.hu.resx | 19 ++++++---- v2rayN/ServiceLib/Resx/ResUI.resx | 19 ++++++---- v2rayN/ServiceLib/Resx/ResUI.ru.resx | 17 +++++---- v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx | 17 +++++---- v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx | 19 ++++++---- .../v2rayN.Desktop/Views/ProfilesView.axaml | 10 ++--- v2rayN/v2rayN/Views/ProfilesView.xaml | 16 ++++---- 9 files changed, 100 insertions(+), 73 deletions(-) diff --git a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs index 63932bed..e3d7ff50 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.Designer.cs +++ b/v2rayN/ServiceLib/Resx/ResUI.Designer.cs @@ -933,6 +933,15 @@ namespace ServiceLib.Resx { } } + /// + /// 查找类似 Export server 的本地化字符串。 + /// + public static string menuExportConfig { + get { + return ResourceManager.GetString("menuExportConfig", resourceCulture); + } + } + /// /// 查找类似 Global Hotkey Setting 的本地化字符串。 /// @@ -1474,7 +1483,16 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Multi-Server lowest latency sing-box 的本地化字符串。 + /// 查找类似 Multi-server to custom configuration 的本地化字符串。 + /// + public static string menuSetDefaultMultipleServer { + get { + return ResourceManager.GetString("menuSetDefaultMultipleServer", resourceCulture); + } + } + + /// + /// 查找类似 Multi-server LeastPing by sing-box 的本地化字符串。 /// public static string menuSetDefaultMultipleServerSingBoxLeastPing { get { @@ -1483,16 +1501,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Multi-Server Xray 的本地化字符串。 - /// - public static string menuSetDefaultMultipleServerXray { - get { - return ResourceManager.GetString("menuSetDefaultMultipleServerXray", resourceCulture); - } - } - - /// - /// 查找类似 Multi-Server LeastLoad 的本地化字符串。 + /// 查找类似 Multi-server LeastLoad by Xray 的本地化字符串。 /// public static string menuSetDefaultMultipleServerXrayLeastLoad { get { @@ -1501,7 +1510,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Multi-Server LeastPing 的本地化字符串。 + /// 查找类似 Multi-server LeastPing by Xray 的本地化字符串。 /// public static string menuSetDefaultMultipleServerXrayLeastPing { get { @@ -1510,7 +1519,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Multi-Server Random 的本地化字符串。 + /// 查找类似 Multi-server Random by Xray 的本地化字符串。 /// public static string menuSetDefaultMultipleServerXrayRandom { get { @@ -1519,7 +1528,7 @@ namespace ServiceLib.Resx { } /// - /// 查找类似 Multi-Server RoundRobin 的本地化字符串。 + /// 查找类似 Multi-server RoundRobin by Xray 的本地化字符串。 /// public static string menuSetDefaultMultipleServerXrayRoundRobin { get { diff --git a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx index dda5bc32..7d5d8aa3 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.fa-Ir.resx @@ -1395,22 +1395,25 @@ مخفی و پورت می شود، با کاما (،) جدا می شود - - چند سرور Xray (چند انتخابی) + + Multi-server to custom configuration - چند سرور تصادفی + Multi-server Random by Xray - چند سرور گردشی + Multi-server RoundRobin by Xray - چند سرور کمترین تأخیر + Multi-server LeastPing by Xray - چند سرور پایدارترین + Multi-server LeastLoad by Xray - چند سرور کمترین تأخیر sing-box (چند انتخابی) + Multi-server LeastPing by sing-box - + + Export server + + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.hu.resx b/v2rayN/ServiceLib/Resx/ResUI.hu.resx index c6529357..05a12c10 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.hu.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.hu.resx @@ -1395,22 +1395,25 @@ Will cover the port, separate with commas (,) - - Többszerveres Xray (többválasztásos) + + Multi-server to custom configuration - Többszerveres véletlenszerű + Multi-server Random by Xray - Többszerveres körforgásos + Multi-server RoundRobin by Xray - Többszerveres legkisebb késleltetésű + Multi-server LeastPing by Xray - Többszerveres legstabilabb + Multi-server LeastLoad by Xray - Többszerveres legkisebb késleltetésű sing-box (többválasztásos) + Multi-server LeastPing by sing-box - + + Export server + + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.resx b/v2rayN/ServiceLib/Resx/ResUI.resx index f1b3133f..54a487f4 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.resx @@ -1395,22 +1395,25 @@ Will cover the port, separate with commas (,) - - Multi-Server Xray + + Multi-server to custom configuration - Multi-Server Random + Multi-server Random by Xray - Multi-Server RoundRobin + Multi-server RoundRobin by Xray - Multi-Server LeastPing + Multi-server LeastPing by Xray - Multi-Server LeastLoad + Multi-server LeastLoad by Xray - Multi-Server lowest latency sing-box + Multi-server LeastPing by sing-box - + + Export server + + \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.ru.resx b/v2rayN/ServiceLib/Resx/ResUI.ru.resx index b740f033..824ea29a 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.ru.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.ru.resx @@ -1395,22 +1395,25 @@ Will cover the port, separate with commas (,) - - Мультисерверный Xray (множественный выбор) + + Multi-server to custom configuration - Мультисерверный случайный + Multi-server Random by Xray - Мультисерверный круговой + Multi-server RoundRobin by Xray - Мультисерверная минимальная задержка + Multi-server LeastPing by Xray - Мультисерверный наиболее стабильный + Multi-server LeastLoad by Xray - Мультисерверная минимальная задержка sing-box (множественный выбор) + Multi-server LeastPing by sing-box + + + Export server \ No newline at end of file diff --git a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx index 0b1cb9e1..3ccb6462 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hans.resx @@ -1392,22 +1392,25 @@ 会覆盖端口,多组时用逗号 (,) 隔开 - - 多服务器 Xray (多选) + + 多服务器产生自定义配置 (多选) - 多服务器随机 + 多服务器随机 Xray - 多服务器轮询 + 多服务器负载均衡 Xray - 多服务器最低延迟 + 多服务器最低延迟 Xray - 多服务器最稳定 + 多服务器最稳定 Xray - 多服务器最低延迟 sing-box (多选) + 多服务器最低延迟 sing-box + + + 导出服务器 diff --git a/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx b/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx index 86f9fa1f..0f827408 100644 --- a/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx +++ b/v2rayN/ServiceLib/Resx/ResUI.zh-Hant.resx @@ -1392,22 +1392,25 @@ 會覆蓋端口,多組時用逗號 (,) 隔開 - - 多伺服器 Xray (多選) + + 多伺服器產生自訂配置 (多選) - 多伺服器隨機 + 多伺服器隨機 Xray - 多伺服器輪詢 + 多伺服器負載平衡 Xray - 多伺服器最低延遲 + 多伺服器最低延遲 Xray - 多伺服器最穩定 + 多伺服器最穩定 Xray - 多伺服器最低延遲 sing-box (多選) + 多伺服器最低延遲 sing-box - \ No newline at end of file + + 匯出伺服器 + + diff --git a/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml b/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml index a08d3037..3c2cd91b 100644 --- a/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml +++ b/v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml @@ -99,13 +99,14 @@ - + + + - @@ -138,11 +139,10 @@ - + - - + diff --git a/v2rayN/v2rayN/Views/ProfilesView.xaml b/v2rayN/v2rayN/Views/ProfilesView.xaml index 1dc8e65e..59f9e68e 100644 --- a/v2rayN/v2rayN/Views/ProfilesView.xaml +++ b/v2rayN/v2rayN/Views/ProfilesView.xaml @@ -120,7 +120,7 @@ Height="{StaticResource MenuItemHeight}" Header="{x:Static resx:ResUI.menuShareServer}" /> - + + + - - + - - +