From 325c6433146367c097cd319e4ecfda2809f25e28 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:05:17 +0800 Subject: [PATCH] Adjusting the text display --- V2rayNG/app/src/main/kotlin/com/v2ray/ang/AppConfig.kt | 2 +- .../src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt | 6 +----- V2rayNG/app/src/main/res/values-ar/strings.xml | 4 ++-- V2rayNG/app/src/main/res/values-bn/strings.xml | 4 ++-- V2rayNG/app/src/main/res/values-fa/strings.xml | 4 ++-- V2rayNG/app/src/main/res/values-vi/strings.xml | 4 ++-- V2rayNG/app/src/main/res/values-zh-rCN/strings.xml | 4 ++-- V2rayNG/app/src/main/res/values-zh-rTW/strings.xml | 4 ++-- V2rayNG/app/src/main/res/values/strings.xml | 4 ++-- V2rayNG/settings.gradle.kts | 2 +- 10 files changed, 17 insertions(+), 21 deletions(-) diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/AppConfig.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/AppConfig.kt index a621f36e..9b3ae860 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/AppConfig.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/AppConfig.kt @@ -133,7 +133,7 @@ object AppConfig { /** Notification channel IDs and names. */ const val RAY_NG_CHANNEL_ID = "RAY_NG_M_CH_ID" - const val RAY_NG_CHANNEL_NAME = "V2rayNG Background Service" + const val RAY_NG_CHANNEL_NAME = "v2rayNG Background Service" const val SUBSCRIPTION_UPDATE_CHANNEL = "subscription_update_channel" const val SUBSCRIPTION_UPDATE_CHANNEL_NAME = "Subscription Update Service" diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt index d163a5f0..23c52d5e 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt @@ -79,12 +79,8 @@ class MainRecyclerAdapter(val activity: MainActivity) : RecyclerView.Adapter { - holder.itemMainBinding.tvType.text = profile.configType.name - } - else -> { - holder.itemMainBinding.tvType.text = profile.configType.name.lowercase() + holder.itemMainBinding.tvType.text = profile.configType.name } } diff --git a/V2rayNG/app/src/main/res/values-ar/strings.xml b/V2rayNG/app/src/main/res/values-ar/strings.xml index 56b77744..fd091b45 100644 --- a/V2rayNG/app/src/main/res/values-ar/strings.xml +++ b/V2rayNG/app/src/main/res/values-ar/strings.xml @@ -25,10 +25,10 @@ حذف التكوين استيراد التكوين من رمز الاستجابة السريعة (QRcode) استيراد التكوين من الحافظة - الكتابة يدويًا [Vmess] + الكتابة يدويًا [VMess] الكتابة يدويًا [VLESS] الكتابة يدويًا [Shadowsocks] - الكتابة يدويًا [Socks] + الكتابة يدويًا [SOCKS] Type manually[HTTP] الكتابة يدويًا [Trojan] الكتابة يدويًا [Wireguard] diff --git a/V2rayNG/app/src/main/res/values-bn/strings.xml b/V2rayNG/app/src/main/res/values-bn/strings.xml index f44d1129..5c06b789 100644 --- a/V2rayNG/app/src/main/res/values-bn/strings.xml +++ b/V2rayNG/app/src/main/res/values-bn/strings.xml @@ -25,10 +25,10 @@ কনফিগারেশন মুছুন QR কোড থেকে কনফিগারেশন আমদানি করুন ক্লিপবোর্ড থেকে কনফিগারেশন আমদানি করুন - ম্যানুয়ালি টাইপ করুন [Vmess] + ম্যানুয়ালি টাইপ করুন [VMess] ম্যানুয়ালি টাইপ করুন [VLESS] ম্যানুয়ালি টাইপ করুন [Shadowsocks] - ম্যানুয়ালি টাইপ করুন [Socks] + ম্যানুয়ালি টাইপ করুন [SOCKS] Type manually[HTTP] ম্যানুয়ালি টাইপ করুন [Trojan] ম্যানুয়ালি টাইপ করুন [Wireguard] diff --git a/V2rayNG/app/src/main/res/values-fa/strings.xml b/V2rayNG/app/src/main/res/values-fa/strings.xml index b9340e32..1cbccca4 100644 --- a/V2rayNG/app/src/main/res/values-fa/strings.xml +++ b/V2rayNG/app/src/main/res/values-fa/strings.xml @@ -24,10 +24,10 @@ حذف کانفیگ کانفیگ را از QRcode وارد کنید کانفیگ را از کلیپ‌بورد وارد کنید - تایپ دستی[Vmess] + تایپ دستی[VMess] تایپ دستی[VLESS] تایپ دستی[Shadowsocks] - تایپ دستی[Socks] + تایپ دستی[SOCKS] Type manually[HTTP] تایپ دستی[Trojan] [Wireguard]تایپ دستی diff --git a/V2rayNG/app/src/main/res/values-vi/strings.xml b/V2rayNG/app/src/main/res/values-vi/strings.xml index 1fe6e114..271e5d5c 100644 --- a/V2rayNG/app/src/main/res/values-vi/strings.xml +++ b/V2rayNG/app/src/main/res/values-vi/strings.xml @@ -24,10 +24,10 @@ Xoá cấu hình Nhập cấu hình từ mã QR Nhập cấu hình từ Clipboard - Nhập thủ công [VMESS] + Nhập thủ công [VMess] Nhập thủ công [VLESS] Nhập thủ công [ShadowSocks] - Nhập thủ công [Socks] + Nhập thủ công [SOCKS] Type manually[HTTP] Nhập thủ công [Trojan] Nhập thủ công [WireGuard] 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 ef32eb7e..4349ce6a 100644 --- a/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml +++ b/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml @@ -24,10 +24,10 @@ 删除配置 扫描二维码 从剪贴板导入 - 手动输入[Vmess] + 手动输入[VMess] 手动输入[VLESS] 手动输入[Shadowsocks] - 手动输入[Socks] + 手动输入[SOCKS] 手动输入[HTTP] 手动输入[Trojan] 手动输入[Wireguard] 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 af786cda..d69b0e3b 100644 --- a/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml +++ b/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml @@ -24,10 +24,10 @@ 刪除配置 從 QR Code 匯入配置 從剪貼簿匯入配置 - 手動鍵入 [Vmess] + 手動鍵入 [VMess] 手動鍵入 [VLESS] 手動鍵入 [Shadowsocks] - 手動鍵入 [Socks] + 手動鍵入 [SOCKS] 手動鍵入 [HTTP] 手動鍵入 [Trojan] 手動鍵入 [Wireguard] diff --git a/V2rayNG/app/src/main/res/values/strings.xml b/V2rayNG/app/src/main/res/values/strings.xml index 84f79a7a..dd4494ad 100644 --- a/V2rayNG/app/src/main/res/values/strings.xml +++ b/V2rayNG/app/src/main/res/values/strings.xml @@ -25,10 +25,10 @@ Delete config Import config from QRcode Import config from Clipboard - Type manually[Vmess] + Type manually[VMess] Type manually[VLESS] Type manually[Shadowsocks] - Type manually[Socks] + Type manually[SOCKS] Type manually[HTTP] Type manually[Trojan] Type manually[Wireguard] diff --git a/V2rayNG/settings.gradle.kts b/V2rayNG/settings.gradle.kts index f86c0114..60ba4300 100644 --- a/V2rayNG/settings.gradle.kts +++ b/V2rayNG/settings.gradle.kts @@ -14,5 +14,5 @@ dependencyResolutionManagement { maven { url = uri("https://jitpack.io") } } } -rootProject.name = "V2rayNG" +rootProject.name = "v2rayNG" include(":app")