From 191990426a692e5c157488eb5411b6a65009f6cb Mon Sep 17 00:00:00 2001 From: max Date: Fri, 19 Apr 2024 18:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E9=80=82=E9=85=8D?= =?UTF-8?q?=EF=BC=9A=E8=B5=A0=E9=80=81=E7=A4=BC=E7=89=A9=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/chwl/app/avroom/fragment/BaseRoomFragment.kt | 7 ++++++- app/src/main/res/values-ar/strings.xml | 2 ++ app/src/main/res/values-zh-rTW/strings.xml | 2 ++ app/src/main/res/values/strings.xml | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/chwl/app/avroom/fragment/BaseRoomFragment.kt b/app/src/main/java/com/chwl/app/avroom/fragment/BaseRoomFragment.kt index ddee51708..609f5752d 100644 --- a/app/src/main/java/com/chwl/app/avroom/fragment/BaseRoomFragment.kt +++ b/app/src/main/java/com/chwl/app/avroom/fragment/BaseRoomFragment.kt @@ -714,7 +714,12 @@ open class BaseRoomFragment?> : .compose(bindUntilEvent(FragmentEvent.DESTROY)) .doOnError { if (it is VipLevelNotEnoughException) { - dialogManager.showOkDialog("尚未達到贈送${giftInfo.giftName}所需貴族等級,所需貴族等級:${giftInfo.giftVipInfo?.vipName}") + val message = context?.getString( + R.string.send_gift_vip_level_tips, + giftInfo.giftName ?: "", + giftInfo.giftVipInfo?.vipName ?: "" + ) + dialogManager.showOkDialog(message) } } .subscribe { _, throwable -> diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 3e597885d..5d2c90e2f 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -5260,4 +5260,6 @@ ,ظهرت هدية من العملات الذهبية تقديم إلى + + لم تصل إلى المستوى النبيل المطلوب لإرسال %1$s. المستوى النبيل المطلوب: %2$s \ No newline at end of file diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 647aa0813..7b94b3211 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -5202,4 +5202,6 @@ ,爆出了 金幣的禮物 送给 + + 尚未達到贈送%1$s所需貴族等級,所需貴族等級:%2$s \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 85c4322df..dbe051a1e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -5237,6 +5237,8 @@ , triggering a gift of gold coins give to + + You have not reached the required noble level to send %1$s. Required noble level: %2$s