mirror of
https://github.com/OpenListTeam/OpenList-Frontend.git
synced 2026-03-15 03:20:25 +00:00
fix(lang): move load_default_setting to manage.json (#123)
Move to manage.json to prevent being deleted by bot, like 226498d649 .
This commit is contained in:
@@ -35,5 +35,7 @@
|
||||
"receive": "Receive",
|
||||
"received_msgs": "Received messages",
|
||||
"add_storage-tips": "You may need to fill in some information in the newly opened tab.",
|
||||
"messenger-tips": "You may need to fill in some information on this tab as prompted."
|
||||
"messenger-tips": "You may need to fill in some information on this tab as prompted.",
|
||||
"load_default_setting": "Load default settings",
|
||||
"load_default_setting_success": "Load default settings successfully"
|
||||
}
|
||||
|
||||
@@ -80,12 +80,12 @@ const CommonSettings = (props: CommonSettingsProps) => {
|
||||
onClick={async () => {
|
||||
const resp = await defaultSettings()
|
||||
handleResp(resp, (data) => {
|
||||
notify.info(t("settings.load_default_setting_success"))
|
||||
notify.info(t("manage.load_default_setting_success"))
|
||||
setSettings(data)
|
||||
})
|
||||
}}
|
||||
>
|
||||
{t("settings.load_default_setting")}
|
||||
{t("manage.load_default_setting")}
|
||||
</Button>
|
||||
</HStack>
|
||||
</VStack>
|
||||
|
||||
Reference in New Issue
Block a user