Skip to content

Commit

Permalink
tips-set-ok
Browse files Browse the repository at this point in the history
  • Loading branch information
li-peifeng committed Jan 29, 2025
1 parent e62ab00 commit d6b9fbd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/lang/en/settings_other.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"set_pikpak": "Set PikPak",
"thunder": "Thunder",
"set_thunder": "Set Thunder",
"thunder_temp_dir": "Thunder Temp DIR"
"thunder_temp_dir": "Thunder Temp DIR",
"set_ok": "Option setting completed"
}
3 changes: 2 additions & 1 deletion src/lang/zh-CN/settings_other.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"set_pikpak": "设置 PikPak",
"thunder": "Thunder",
"set_thunder": "设置 Thunder",
"thunder_temp_dir": "Thunder 缓存目录"
"thunder_temp_dir": "Thunder 缓存目录",
"set_ok": "设置已完成"
}
6 changes: 3 additions & 3 deletions src/pages/manage/settings/Other.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const OtherSettings = () => {
onClick={async () => {
const resp = await set115()
handleResp(resp, (data) => {
notify.success(data)
notify.success(t("settings_other.set_ok"))
})
}}
>
Expand All @@ -217,7 +217,7 @@ const OtherSettings = () => {
onClick={async () => {
const resp = await setPikPak()
handleResp(resp, (data) => {
notify.success(data)
notify.success(t("settings_other.set_ok"))
})
}}
>
Expand All @@ -240,7 +240,7 @@ const OtherSettings = () => {
onClick={async () => {
const resp = await setThunder()
handleResp(resp, (data) => {
notify.success(data)
notify.success(t("settings_other.set_ok"))
})
}}
>
Expand Down

0 comments on commit d6b9fbd

Please sign in to comment.