Skip to content

Commit 3c67ae1

Browse files
authored
fix(lang): move load_default_setting to manage.json (#123)
Move to manage.json to prevent being deleted by bot, like 226498d .
1 parent 226498d commit 3c67ae1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/lang/en/manage.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@
3535
"receive": "Receive",
3636
"received_msgs": "Received messages",
3737
"add_storage-tips": "You may need to fill in some information in the newly opened tab.",
38-
"messenger-tips": "You may need to fill in some information on this tab as prompted."
38+
"messenger-tips": "You may need to fill in some information on this tab as prompted.",
39+
"load_default_setting": "Load default settings",
40+
"load_default_setting_success": "Load default settings successfully"
3941
}

src/pages/manage/settings/Common.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ const CommonSettings = (props: CommonSettingsProps) => {
8080
onClick={async () => {
8181
const resp = await defaultSettings()
8282
handleResp(resp, (data) => {
83-
notify.info(t("settings.load_default_setting_success"))
83+
notify.info(t("manage.load_default_setting_success"))
8484
setSettings(data)
8585
})
8686
}}
8787
>
88-
{t("settings.load_default_setting")}
88+
{t("manage.load_default_setting")}
8989
</Button>
9090
</HStack>
9191
</VStack>

0 commit comments

Comments
 (0)