修正多语言当中的硬编码,更新七国语言

(cherry picked from commit e72e682f526651453dc44b2db78a5df8ba70a733)
This commit is contained in:
2025-11-01 03:34:43 -07:00
committed by speakeloudest
parent 8b982d1ba8
commit 18ec3e36fc
21 changed files with 273 additions and 2627 deletions
@@ -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();
},
);