diff --git a/V2rayNG/app/src/main/java/com/v2ray/ang/ui/MainActivity.kt b/V2rayNG/app/src/main/java/com/v2ray/ang/ui/MainActivity.kt index c835cc92..4327a5cf 100644 --- a/V2rayNG/app/src/main/java/com/v2ray/ang/ui/MainActivity.kt +++ b/V2rayNG/app/src/main/java/com/v2ray/ang/ui/MainActivity.kt @@ -94,7 +94,6 @@ class MainActivity : HelperBaseActivity(), NavigationView.OnNavigationItemSelect }) binding.fab.setOnClickListener { handleFabAction() } - binding.fabLocate.setOnClickListener { locateSelectedServer() } binding.layoutTest.setOnClickListener { handleLayoutTestClick() } setupGroupTab() @@ -340,6 +339,10 @@ class MainActivity : HelperBaseActivity(), NavigationView.OnNavigationItemSelect true } + R.id.locate_selected_config -> { + locateSelectedServer() + true + } else -> super.onOptionsItemSelected(item) } diff --git a/V2rayNG/app/src/main/res/layout/activity_main.xml b/V2rayNG/app/src/main/res/layout/activity_main.xml index 54716e71..0c08851f 100644 --- a/V2rayNG/app/src/main/res/layout/activity_main.xml +++ b/V2rayNG/app/src/main/res/layout/activity_main.xml @@ -97,19 +97,6 @@ android:layout_marginBottom="-16dp" android:layout_marginEnd="@dimen/padding_spacing_dp16"> - - + No subscriptions Selected server not found in current group Unable to locate current view + Locate the selected config + بدء الخدمة تأكيد diff --git a/V2rayNG/app/src/main/res/values-bn/strings.xml b/V2rayNG/app/src/main/res/values-bn/strings.xml index c12d7f1b..6c7f7385 100644 --- a/V2rayNG/app/src/main/res/values-bn/strings.xml +++ b/V2rayNG/app/src/main/res/values-bn/strings.xml @@ -300,6 +300,8 @@ No subscriptions Selected server not found in current group Unable to locate current view + Locate the selected config + সার্ভিস শুরু করুন নিশ্চিত করুন diff --git a/V2rayNG/app/src/main/res/values-bqi-rIR/strings.xml b/V2rayNG/app/src/main/res/values-bqi-rIR/strings.xml index 7a65f62d..d4793f4f 100644 --- a/V2rayNG/app/src/main/res/values-bqi-rIR/strings.xml +++ b/V2rayNG/app/src/main/res/values-bqi-rIR/strings.xml @@ -301,6 +301,8 @@ بؽ اشتراک Selected server not found in current group Unable to locate current view + Locate the selected config + ره وندن خدمات قوۊل diff --git a/V2rayNG/app/src/main/res/values-fa/strings.xml b/V2rayNG/app/src/main/res/values-fa/strings.xml index 7f9b4f73..ff6bb021 100644 --- a/V2rayNG/app/src/main/res/values-fa/strings.xml +++ b/V2rayNG/app/src/main/res/values-fa/strings.xml @@ -298,6 +298,8 @@ No subscriptions Selected server not found in current group Unable to locate current view + Locate the selected config + شروع خدمات تایید diff --git a/V2rayNG/app/src/main/res/values-ru/strings.xml b/V2rayNG/app/src/main/res/values-ru/strings.xml index b8229246..b2285310 100644 --- a/V2rayNG/app/src/main/res/values-ru/strings.xml +++ b/V2rayNG/app/src/main/res/values-ru/strings.xml @@ -299,6 +299,7 @@ Нет подписок Выбранный профиль не найден в текущей группе Фрагмент недоступен + Locate the selected config Запуск службы Подтвердить diff --git a/V2rayNG/app/src/main/res/values-vi/strings.xml b/V2rayNG/app/src/main/res/values-vi/strings.xml index 83aae0b9..baf8bca4 100644 --- a/V2rayNG/app/src/main/res/values-vi/strings.xml +++ b/V2rayNG/app/src/main/res/values-vi/strings.xml @@ -301,6 +301,8 @@ No subscriptions Selected server not found in current group Unable to locate current view + Locate the selected config + Khởi động v2rayNG Xác nhận diff --git a/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml b/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml index 78bd8f02..ea994f89 100644 --- a/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml +++ b/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml @@ -299,6 +299,8 @@ 无订阅 当前分组中未找到选中的服务器 无法定位当前视图 + 定位所选配置 + 启动服务 确定 diff --git a/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml b/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml index 96e5c0fe..594e9c4f 100644 --- a/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml +++ b/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml @@ -298,7 +298,9 @@ 更新了 %1$d 個配置(%2$d 個成功,%3$d 個失敗,%4$d 個跳過) 無訂閱 當前分組中未找到選中的伺服器 - 無法定位當前視圖 + 定位所選配置 + Locate the selected config + 啟動服務 確定 diff --git a/V2rayNG/app/src/main/res/values/strings.xml b/V2rayNG/app/src/main/res/values/strings.xml index 9faa9a1f..d5d682dd 100644 --- a/V2rayNG/app/src/main/res/values/strings.xml +++ b/V2rayNG/app/src/main/res/values/strings.xml @@ -305,6 +305,7 @@ No subscriptions Selected server not found in current group Unable to locate current view + Locate the selected config Start Service Confirm