From 153b4cffef86c64ddcad3e8670ce7d69e1f633ea Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Tue, 5 Nov 2024 14:29:44 +0800
Subject: [PATCH] Unable to obtain the notification permission
---
V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainActivity.kt | 2 +-
V2rayNG/app/src/main/res/values-ar/strings.xml | 1 +
V2rayNG/app/src/main/res/values-bn/strings.xml | 1 +
V2rayNG/app/src/main/res/values-fa/strings.xml | 1 +
V2rayNG/app/src/main/res/values-ru/strings.xml | 1 +
V2rayNG/app/src/main/res/values-vi/strings.xml | 1 +
V2rayNG/app/src/main/res/values-zh-rCN/strings.xml | 1 +
V2rayNG/app/src/main/res/values-zh-rTW/strings.xml | 1 +
V2rayNG/app/src/main/res/values/strings.xml | 1 +
9 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainActivity.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainActivity.kt
index 8b38b368e..5c64b4093 100644
--- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainActivity.kt
+++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainActivity.kt
@@ -133,7 +133,7 @@ class MainActivity : BaseActivity(), NavigationView.OnNavigationItemSelectedList
.request(Manifest.permission.POST_NOTIFICATIONS)
.subscribe {
if (!it)
- toast(R.string.toast_permission_denied)
+ toast(R.string.toast_permission_denied_notification)
}
}
diff --git a/V2rayNG/app/src/main/res/values-ar/strings.xml b/V2rayNG/app/src/main/res/values-ar/strings.xml
index 3df135d83..9ed2c3b61 100644
--- a/V2rayNG/app/src/main/res/values-ar/strings.xml
+++ b/V2rayNG/app/src/main/res/values-ar/strings.xml
@@ -12,6 +12,7 @@
إيقاف
تعذر الحصول على الإذن
+ Unable to obtain the notification permission
انقر للمزيد
بدء الخدمات
إيقاف الخدمات
diff --git a/V2rayNG/app/src/main/res/values-bn/strings.xml b/V2rayNG/app/src/main/res/values-bn/strings.xml
index 3c4602730..353932cec 100644
--- a/V2rayNG/app/src/main/res/values-bn/strings.xml
+++ b/V2rayNG/app/src/main/res/values-bn/strings.xml
@@ -12,6 +12,7 @@
বন্ধ করুন
অনুমতি পাওয়া যাচ্ছে না
+ Unable to obtain the notification permission
আরও দেখতে ক্লিক করুন
সার্ভিস শুরু করুন
সার্ভিস বন্ধ করুন
diff --git a/V2rayNG/app/src/main/res/values-fa/strings.xml b/V2rayNG/app/src/main/res/values-fa/strings.xml
index 63892a6eb..baff194f6 100644
--- a/V2rayNG/app/src/main/res/values-fa/strings.xml
+++ b/V2rayNG/app/src/main/res/values-fa/strings.xml
@@ -11,6 +11,7 @@
توقف
قادر به دریافت مجوز نیست
+ Unable to obtain the notification permission
برای اطلاعات بیشتر کلیک کنید
شروع خدمات
توقف خدمات
diff --git a/V2rayNG/app/src/main/res/values-ru/strings.xml b/V2rayNG/app/src/main/res/values-ru/strings.xml
index 9d0ab8f90..10d74ab34 100644
--- a/V2rayNG/app/src/main/res/values-ru/strings.xml
+++ b/V2rayNG/app/src/main/res/values-ru/strings.xml
@@ -11,6 +11,7 @@
Остановить
Разрешение не получено
+ Unable to obtain the notification permission
Ещё…
Запуск служб
Остановка служб
diff --git a/V2rayNG/app/src/main/res/values-vi/strings.xml b/V2rayNG/app/src/main/res/values-vi/strings.xml
index 43fa89611..4dc712301 100644
--- a/V2rayNG/app/src/main/res/values-vi/strings.xml
+++ b/V2rayNG/app/src/main/res/values-vi/strings.xml
@@ -11,6 +11,7 @@
Ngắt kết nối v2rayNG
Vui lòng cấp quyền cần thiết cho v2rayNG! Bạn đã từ chối các quyền cần thiết như Camera hay Bộ nhớ?
+ Unable to obtain the notification permission
Nhấn để biết thêm...
Đang khởi động v2rayNG...
Đã dừng v2rayNG!
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 1fb9bcb48..aaa7bea71 100644
--- a/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml
+++ b/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml
@@ -11,6 +11,7 @@
停止
无法取得权限
+ 无法取得通知权限
点击了解更多
启动服务中
关闭中
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 7a6a75094..1828940b7 100644
--- a/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml
+++ b/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml
@@ -11,6 +11,7 @@
停止
無法取得此權限
+ 無法取得此通知權限
瞭解更多
啟動服務
停止服務
diff --git a/V2rayNG/app/src/main/res/values/strings.xml b/V2rayNG/app/src/main/res/values/strings.xml
index f70936dec..59db241c2 100644
--- a/V2rayNG/app/src/main/res/values/strings.xml
+++ b/V2rayNG/app/src/main/res/values/strings.xml
@@ -12,6 +12,7 @@
Stop
Unable to obtain the permission
+ Unable to obtain the notification permission
click for more
Start Services
Stop Services