feat: 新增设置页面及外观设置功能

添加了设置页面路由、外观设置子页面,支持主题模式切换和自定义窗口背景图片,新增相关 Rust 后端模块、数据库初始化、多语言文案及配置项,更新 Tauri 配置和项目描述。
This commit is contained in:
Yuhang Wu
2026-10-13 11:15:58 +08:00
parent d4257481f4
commit fd47adea1e
24 changed files with 6673 additions and 38 deletions
+18 -1
View File
@@ -34,7 +34,24 @@
},
"settings": {
"title": "Settings",
"placeholder": "The settings page is under construction."
"placeholder": "The settings page is under construction.",
"menu": {
"appearance": "Appearance"
},
"appearance": {
"title": "Appearance",
"subtitle": "Customize the theme mode and window background",
"themeMode": "Theme mode",
"themeModeTip": "Switch between light and dark mode",
"light": "Light",
"dark": "Dark",
"background": "Background image",
"backgroundTip": "Pick an image as the window background. It keeps its original aspect ratio and is never stretched.",
"none": "Default",
"bg1": "Background 1",
"bg2": "Background 2",
"bg3": "Background 3"
}
},
"common": {
"developing": "This feature is under construction"
+18 -1
View File
@@ -34,7 +34,24 @@
},
"settings": {
"title": "设置",
"placeholder": "设置页面开发中,敬请期待。"
"placeholder": "设置页面开发中,敬请期待。",
"menu": {
"appearance": "外观设置"
},
"appearance": {
"title": "外观设置",
"subtitle": "自定义窗口的主题模式与背景图片",
"themeMode": "主题模式",
"themeModeTip": "切换窗口的明暗显示模式",
"light": "浅色",
"dark": "深色",
"background": "背景图片",
"backgroundTip": "选择一张图片作为窗口背景,图片保持原始比例自适应,不会变形拉伸",
"none": "默认",
"bg1": "背景一",
"bg2": "背景二",
"bg3": "背景三"
}
},
"common": {
"developing": "功能开发中,敬请期待"