perf: replace vue-sonner with the toast component of shadcn-ui

This commit is contained in:
vben
2024-07-07 11:36:32 +08:00
parent fd61d2efc4
commit 0eda99ec3b
23 changed files with 536 additions and 131 deletions

View File

@@ -113,6 +113,8 @@
"title": "Preferences",
"subtitle": "Customize Preferences & Preview in Real Time",
"reset-tip": "The data has changed, click to reset",
"reset-title": "Preferences reset",
"reset-success": "Preferences reset successfully",
"appearance": "Appearance",
"layout": "Layout",
"content": "Content",
@@ -140,7 +142,6 @@
"copy": "Copy Preferences",
"copy-success": "Copy successful. Please replace in `src/preferences.ts` of the app",
"clear-and-logout": "Clear Cache & Logout",
"reset-success": "Preferences reset successfully",
"mode": "Mode",
"logo-visible": "Display Logo",
"general": "General",

View File

@@ -113,7 +113,9 @@
"preferences": {
"title": "偏好设置",
"subtitle": "自定义偏好设置 & 实时预览",
"reset-title": "重置偏好设置",
"reset-tip": "数据有变化,点击可进行重置",
"reset-success": "重置偏好设置成功",
"appearance": "外观",
"layout": "布局",
"content": "内容",
@@ -137,9 +139,8 @@
"plain": "朴素",
"rounded": "圆润",
"copy": "复制偏好设置",
"copy-success": "拷贝成功,请在 app 下的 `src/preferences.ts`内进行覆盖",
"copy-success": "复制成功,请在 app 下的 `src/preferences.ts`内进行覆盖",
"clear-and-logout": "清空缓存 & 退出登录",
"reset-success": "重置偏好设置成功",
"mode": "模式",
"logo-visible": "显示 Logo",
"general": "通用",