修正多语言当中的硬编码,更新七国语言
(cherry picked from commit e72e682f526651453dc44b2db78a5df8ba70a733)
This commit is contained in:
@@ -50,7 +50,7 @@ class KRDeleteAccountController extends GetxController {
|
||||
Future<void> kr_sendCode() async {
|
||||
final account = KRAppRunData.getInstance().kr_account.value;
|
||||
if (account == null || account.isEmpty) {
|
||||
KRCommonUtil.kr_showToast('账号不能为空');
|
||||
KRCommonUtil.kr_showToast('account.accountRequired'.tr);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ class KRDeleteAccountController extends GetxController {
|
||||
KRCommonUtil.kr_showToast(error.msg);
|
||||
},
|
||||
(success) {
|
||||
KRCommonUtil.kr_showToast('删除账号成功');
|
||||
KRCommonUtil.kr_showToast('account.deleteSuccess'.tr);
|
||||
KRAppRunData.getInstance().kr_loginOut();
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user