Fix bug: - 提现记录里失败的原因需要按照附件里那个多语言来
This commit is contained in:
parent
d368441ddf
commit
7d1e4b64b1
|
|
@ -344,7 +344,23 @@ class WithdrawManager private constructor() {
|
|||
fun getFailHintStrRes(failType: Int) : Int {
|
||||
var failTextRes = R.string.withdraw_normal_fail
|
||||
when (failType) {
|
||||
ERROR_COMMON_UNKNOW -> {
|
||||
// 仅仅显示三种
|
||||
ERROR_PAYOUT_ACCOUNT_INVALID -> {
|
||||
failTextRes = R.string.withdraw_account_invalid
|
||||
}
|
||||
|
||||
|
||||
ERROR_PAYOUT_REACH_TOTAL_LIMIT, ERROR_PAYOUT_TODAY_NO_CHANCE,
|
||||
ERROR_PAYOUT_ACCOUNT_REACH_TIMES_LIMIT, ERROR_PAYOUT_REACH_TIMES_LIMIT -> {
|
||||
failTextRes = R.string.withdraw_fail_reach_times_limit
|
||||
}
|
||||
|
||||
else -> {
|
||||
failTextRes = R.string.withdraw_normal_fail
|
||||
}
|
||||
|
||||
|
||||
/*ERROR_COMMON_UNKNOW -> {
|
||||
failTextRes = R.string.withdraw_normal_fail
|
||||
}
|
||||
|
||||
|
|
@ -410,7 +426,7 @@ class WithdrawManager private constructor() {
|
|||
|
||||
ERROR_PAYOUT_MUST_WITHDRAW01_FIRST -> {
|
||||
failTextRes = R.string.withdraw_fail_must_withdraw_01_first
|
||||
}
|
||||
}*/
|
||||
}
|
||||
return failTextRes
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,4 +54,8 @@
|
|||
<string name="benefit_task_top_hint">Finish all tasks to earn!</string>
|
||||
<string name="withdraw_fail_dailog_common_hint">Withdrawal failed. Check your withdrawal history for details.</string>
|
||||
|
||||
<string name="withdraw_normal_fail">Other Error</string>
|
||||
<string name="withdraw_account_invalid"> Account Error</string>
|
||||
<string name="withdraw_fail_reach_times_limit">Daily limit reached</string>
|
||||
|
||||
</resources>
|
||||
|
|
@ -225,12 +225,12 @@
|
|||
<string name="withdraw_fail_withdrawing">Withdrawing</string>
|
||||
<string name="withdraw_fail_country_restriction">Country restriction</string>
|
||||
<string name="withdraw_fail_reach_amount_limit">Reach amount limit</string>
|
||||
<string name="withdraw_fail_reach_times_limit">Reach times limit</string>
|
||||
<string name="withdraw_fail_reach_times_limit">Limite diário atingido</string>
|
||||
<string name="withdraw_fail_today_no_chance">You have no more withdrawal opportunities today.</string>
|
||||
<string name="withdraw_account_times_limit">Your account is reach times limit</string>
|
||||
<string name="withdraw_fail_user_identity_limit">Your account is not valid</string>
|
||||
<string name="withdraw_fail_must_withdraw_01_first">You have to withdraw 0.1 firstly</string>
|
||||
<string name="withdraw_account_invalid">Your CPF account is invalid.</string>
|
||||
<string name="withdraw_account_invalid">Erro de conta</string>
|
||||
<string name="withdraw_fail_dailog_common_hint">Retirada falhou. Verifique o histórico de retiradas para detalhes.</string>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue