diff --git a/frontend/src/components/common/ToolbarControlWidget.vue b/frontend/src/components/common/ToolbarControlWidget.vue index bf89612..b7f0167 100644 --- a/frontend/src/components/common/ToolbarControlWidget.vue +++ b/frontend/src/components/common/ToolbarControlWidget.vue @@ -4,7 +4,7 @@ import WindowMax from '@/components/icons/WindowMax.vue' import WindowClose from '@/components/icons/WindowClose.vue' import { computed } from 'vue' import { useThemeVars } from 'naive-ui' -import { Quit, WindowMinimise, WindowToggleMaximise } from 'wailsjs/runtime/runtime.js' +import { Quit, WindowIsMaximised, WindowMinimise, WindowToggleMaximise } from 'wailsjs/runtime/runtime.js' const themeVars = useThemeVars() const props = defineProps({ @@ -33,15 +33,30 @@ const handleClose = () => { diff --git a/frontend/src/langs/en.json b/frontend/src/langs/en.json index 591563a..a4947fb 100644 --- a/frontend/src/langs/en.json +++ b/frontend/src/langs/en.json @@ -180,6 +180,10 @@ } }, "menu": { + "minimise": "Minimise", + "maximise": "Maximise", + "restore": "Restore Down", + "close": "Close", "preferences": "Preferences", "help": "Help", "check_update": "Check for Updates..." diff --git a/frontend/src/langs/zh-cn.json b/frontend/src/langs/zh-cn.json index caf95b0..575e4fd 100644 --- a/frontend/src/langs/zh-cn.json +++ b/frontend/src/langs/zh-cn.json @@ -181,6 +181,10 @@ } }, "menu": { + "minimise": "最小化", + "maximise": "最大化", + "restore": "还原", + "close": "关闭", "preferences": "偏好设置", "help": "帮助", "check_update": "检查更新..."