diff --git a/web/src/components/settings/PersonalSetting.js b/web/src/components/settings/PersonalSetting.js index 95821332..36eb4e4d 100644 --- a/web/src/components/settings/PersonalSetting.js +++ b/web/src/components/settings/PersonalSetting.js @@ -368,13 +368,13 @@ const PersonalSetting = () => { }); if (res.data.success) { - showSuccess(t('通知设置已更新')); + showSuccess(t('设置保存成功')); await getUserData(); } else { showError(res.data.message); } } catch (error) { - showError(t('更新通知设置失败')); + showError(t('设置保存失败')); } }; diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index 6b0d80fb..4fcf19e4 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -1650,5 +1650,7 @@ "IP记录": "IP Record", "记录请求与错误日志 IP": "Record request and error log IP", "开启后,仅“消费”和“错误”日志将记录您的客户端 IP 地址": "After enabling, only \"consumption\" and \"error\" logs will record your client IP address", - "只有当用户设置开启IP记录时,才会进行请求和错误类型日志的IP记录": "Only when the user sets IP recording, the IP recording of request and error type logs will be performed" + "只有当用户设置开启IP记录时,才会进行请求和错误类型日志的IP记录": "Only when the user sets IP recording, the IP recording of request and error type logs will be performed", + "设置保存成功": "Settings saved successfully", + "设置保存失败": "Settings save failed" } \ No newline at end of file