From 885bc6799414c8ef73d5974586e804e2ea12d030 Mon Sep 17 00:00:00 2001
From: renhaoting <370797079@qq.com>
Date: Wed, 24 Dec 2025 19:34:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=87=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/gamedog/vididin/beans/RecordCash.kt | 42 ++++++++-----------
.../com/gamedog/vididin/beans/RecordGold.kt | 42 ++++++++++---------
.../com/gamedog/vididin/beans/RecordZero.kt | 28 -------------
.../vididin/manager/WithdrawManager.kt | 3 --
app/src/main/res/values-pt/strings.xml | 38 +++++++++++++++++
app/src/main/res/values/strings.xml | 36 ++++++++++++++++
6 files changed, 114 insertions(+), 75 deletions(-)
create mode 100644 app/src/main/res/values-pt/strings.xml
diff --git a/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt b/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt
index 8e2f7f2..af64d23 100644
--- a/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt
+++ b/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt
@@ -7,11 +7,11 @@ import com.vididin.real.money.game.R
// Record 类型
const val RECORD_CASH_PLUS_GOLD_CONVERT: Int = 1
-const val RECORD_CASH_PLUS_NEWBIE_GIFT: Int = 2
-const val RECORD_CASH_PLUS_BOX_TASK: Int = 3
+const val RECORD_CASH_PLUS_BOX_TASK: Int = 2
+const val RECORD_CASH_PLUS_WITHDRAW_ONGOING: Int = 3
const val RECORD_CASH_PLUS_WITHDRAW_FAIL: Int = 4
-const val RECORD_CASH_MINUS_WITHDRAW_SMALL: Int = 5
-const val RECORD_CASH_MINUS_WITHDRAW_BIG: Int = 6
+const val RECORD_CASH_MINUS_WITHDRAW_SUCCESS: Int = 5
+
open class RecordCash (var recordType: Int = 0,
var amountNum: Double = 0.0,
@@ -37,41 +37,35 @@ fun RecordCash.toShowBean(): RecordCashShow {
when (this@apply.recordType) {
RECORD_CASH_PLUS_GOLD_CONVERT -> {
- title = R.string.apply
- description = R.string.apply
- iconRes = R.mipmap.icon_ad
- }
-
- RECORD_CASH_PLUS_NEWBIE_GIFT -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_cash_title_convert_from_gold
+ description = R.string.record_cash_descr_convert_from_gold
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_PLUS_BOX_TASK -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_cash_title_box
+ description = R.string.record_cash_descr_box
iconRes = R.mipmap.icon_ad
}
+ RECORD_CASH_PLUS_WITHDRAW_ONGOING -> {
+ title = R.string.record_cash_title_withdraw_ongoing
+ description = R.string.record_cash_descr_withdraw_onging
+ iconRes = R.mipmap.icon_ad
+ }
RECORD_CASH_PLUS_WITHDRAW_FAIL -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_cash_title_withdraw_failed
+ description = R.string.record_cash_descr_withdraw_failed
iconRes = R.mipmap.icon_ad
}
- RECORD_CASH_MINUS_WITHDRAW_SMALL -> {
- title = R.string.apply
- description = R.string.apply
+ RECORD_CASH_MINUS_WITHDRAW_SUCCESS -> {
+ title = R.string.record_cash_title_withdraw_success
+ description = R.string.record_cash_descr_withdraw_success
iconRes = R.mipmap.icon_ad
}
- RECORD_CASH_MINUS_WITHDRAW_BIG -> {
- title = R.string.apply
- description = R.string.apply
- iconRes = R.mipmap.icon_ad
- }
}
}
}
\ No newline at end of file
diff --git a/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt b/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt
index 0531d9b..3fcadb2 100644
--- a/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt
+++ b/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt
@@ -40,64 +40,66 @@ fun RecordGold.toShowBean(): RecordGoldShow {
this@apply.amountNum = this@toShowBean.amountNum
this@apply.recordType = this@toShowBean.recordType
+
+
when (this@apply.recordType) {
RECORD_GOLD_PLUS_WATCH_VIDEO_BY_TIME_DURATION -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_watch_video_time_duration
+ description = R.string.record_gold_descr_watch_video_time_duration
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_WATCH_REWARD_AD -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_watch_reward_ad
+ description = R.string.record_gold_descr_watch_reward_ad
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_NEWBIE_GIFT -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_newbie_gift
+ description = R.string.record_gold_descr_newbie_gift
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_ENABLE_NOTIFY -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_enable_notify
+ description = R.string.record_gold_descr_enable_notify
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_FIRST_WITHDRAW -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_first_withdraw
+ description = R.string.record_gold_descr_first_withdraw
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_JOIN_DISCORD -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_join_discord
+ description = R.string.record_gold_descr_join_discord
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_SIGN -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_sign
+ description = R.string.record_gold_descr_sign
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_DAILY_AD -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_daily_task_ad
+ description = R.string.record_gold_descr_daily_task_ad
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_DAILY_VIDEO -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_daily_task_video
+ description = R.string.record_gold_descr_daily_task_video
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_MINUS_CONVERT_2_CASH -> {
- title = R.string.apply
- description = R.string.apply
+ title = R.string.record_gold_title_convert_2_cash
+ description = R.string.record_gold_descr_convert_2_cash
iconRes = R.mipmap.icon_ad
}
}
diff --git a/app/src/main/java/com/gamedog/vididin/beans/RecordZero.kt b/app/src/main/java/com/gamedog/vididin/beans/RecordZero.kt
index fb52e7d..bf37f61 100644
--- a/app/src/main/java/com/gamedog/vididin/beans/RecordZero.kt
+++ b/app/src/main/java/com/gamedog/vididin/beans/RecordZero.kt
@@ -27,35 +27,7 @@ fun RecordZero.toShowBean(): RecordZeroShow {
this@apply.recordType = this@toShowBean.recordType
when (this@apply.recordType) {
- RECORD_CASH_PLUS_GOLD_CONVERT -> {
- title = R.string.apply
- description = R.string.apply
- iconRes = R.mipmap.icon_ad
- }
- RECORD_CASH_PLUS_NEWBIE_GIFT -> {
- title = R.string.apply
- description = R.string.apply
- iconRes = R.mipmap.icon_ad
- }
-
- RECORD_CASH_PLUS_BOX_TASK -> {
- title = R.string.apply
- description = R.string.apply
- iconRes = R.mipmap.icon_ad
- }
-
- RECORD_CASH_MINUS_WITHDRAW_SMALL -> {
- title = R.string.apply
- description = R.string.apply
- iconRes = R.mipmap.icon_ad
- }
-
- RECORD_CASH_MINUS_WITHDRAW_BIG -> {
- title = R.string.apply
- description = R.string.apply
- iconRes = R.mipmap.icon_ad
- }
}
}
}
diff --git a/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt b/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt
index f5f5673..e8f0ba8 100644
--- a/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt
+++ b/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt
@@ -9,9 +9,6 @@ import com.ama.core.architecture.util.SpUtil
import com.ama.core.architecture.util.eventbus.NotifyMan
import com.gamedog.vididin.VidiConst
import com.gamedog.vididin.VididinEvents
-import com.gamedog.vididin.beans.RECORD_CASH_MINUS_WITHDRAW_BIG
-import com.gamedog.vididin.beans.RECORD_CASH_MINUS_WITHDRAW_SMALL
-import com.gamedog.vididin.beans.RECORD_CASH_PLUS_BOX_TASK
import com.gamedog.vididin.beans.RECORD_CASH_PLUS_WITHDRAW_FAIL
import com.gamedog.vididin.beans.RecordCash
import com.gamedog.vididin.beans.req.PayInitReq
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
new file mode 100644
index 0000000..59985c2
--- /dev/null
+++ b/app/src/main/res/values-pt/strings.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+ Conversão
+ xxx
+ Baú de Bônus
+ xxx
+ Processamento...
+ xxx
+ Sucesso
+ xxx
+ Falhou
+ xxx
+
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+
+
\ 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 9f13631..d656652 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -164,4 +164,40 @@
Diamantes insuficientes
Festa Grátis
+
+
+
+ Conversion
+ xxx
+ Bonus Chest
+ xxx
+ Processing...
+ xxx
+ Success
+ xxx
+ Failed
+ xxx
+
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+ xxx
+
+
\ No newline at end of file