From b2e91e476fb6b742a11b883091b2beabc142538f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Fri, 6 Jan 2023 21:47:11 +0800 Subject: [PATCH] =?UTF-8?q?perf(lang):=E5=B8=83=E5=B1=80=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E6=94=BE=E7=BD=AE=E5=88=B0=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E5=85=AC=E5=85=B1=E8=AF=AD=E8=A8=80=E5=8C=85=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=86=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/lang/backend/en.ts | 35 ++++++++++++++++++++++++++++ web/src/lang/backend/zh-cn.ts | 34 +++++++++++++++++++++++++++ web/src/lang/common/en/layouts.ts | 34 --------------------------- web/src/lang/common/zh-cn/layouts.ts | 34 --------------------------- 4 files changed, 69 insertions(+), 68 deletions(-) delete mode 100644 web/src/lang/common/en/layouts.ts delete mode 100644 web/src/lang/common/zh-cn/layouts.ts diff --git a/web/src/lang/backend/en.ts b/web/src/lang/backend/en.ts index 405f98f1..2439b698 100644 --- a/web/src/lang/backend/en.ts +++ b/web/src/lang/backend/en.ts @@ -2,6 +2,41 @@ * backend common language package */ export default { + layouts: { + 'Layout configuration': 'Layout configuration', + 'Layout mode': 'Layout mode', + default: 'Default', + classic: 'Classic', + 'Single column': 'Single Column', + 'overall situation': 'Global', + 'Background page switching animation': 'Background page switching animation', + 'Please select an animation name': 'Please select an animation name', + sidebar: 'Sidebar', + 'Side menu bar background color': 'Background color of the side menu bar', + 'Side menu text color': 'Side menu text color', + 'Side menu active item background color': 'Background color of the side menu activation item', + 'Side menu active item text color': 'Side menu activation item text color', + 'Show side menu top bar (logo bar)': 'Display the top bar of the side menu (Logo Bar)', + 'Side menu top bar background color': 'Background color of the top bar of the side menu ', + 'Side menu width (when expanded)': 'Width of the side menu (Unfolding)', + 'Side menu default icon': 'Side menu default icon', + 'Side menu horizontal collapse': 'Side menu collapsed horizontally', + 'Side menu accordion': 'Side menu accordion', + 'Top bar': 'Top bar', + 'Top bar background color': 'Top bar background color', + 'Top bar text color': 'Top bar text color', + 'Background color when hovering over the top bar': 'Top bar hover background color', + 'Top bar menu active item background color': 'Background color of the top bar activation item', + 'Top bar menu active item text color': 'Top bar menu activation item text color', + 'Are you sure you want to restore all configurations to the default values?': + 'Are you sure to restore all configurations to the default values?', + 'Restore default': 'Restore default', + 'personal data': 'Personal data', + cancellation: 'Cancellation', + 'Dark mode': 'Dark mode', + 'Exit full screen': 'Exit Full Screen', + 'Full screen is not supported': 'Your browser does not support full screen, please change another browser and try again~', + }, terminal: { Terminal: 'Terminal', 'Command run log': 'Command Run Log', diff --git a/web/src/lang/backend/zh-cn.ts b/web/src/lang/backend/zh-cn.ts index 8c513725..a0a94a51 100644 --- a/web/src/lang/backend/zh-cn.ts +++ b/web/src/lang/backend/zh-cn.ts @@ -3,6 +3,40 @@ * 覆盖风险:请避免使用页面语言包的目录名、文件名作为翻译 key */ export default { + layouts: { + 'Layout configuration': '布局配置', + 'Layout mode': '布局方式', + default: '默认', + classic: '经典', + 'Single column': '单栏', + 'overall situation': '全局', + 'Background page switching animation': '后台页面切换动画', + 'Please select an animation name': '请选择动画名称', + sidebar: '侧边栏', + 'Side menu bar background color': '侧边菜单栏背景色', + 'Side menu text color': '侧边菜单文字颜色', + 'Side menu active item background color': '侧边菜单激活项背景色', + 'Side menu active item text color': '侧边菜单激活项文字色', + 'Show side menu top bar (logo bar)': '显示侧边菜单顶栏(LOGO栏)', + 'Side menu top bar background color': '侧边菜单顶栏背景色', + 'Side menu width (when expanded)': '侧边菜单宽度(展开时)', + 'Side menu default icon': '侧边菜单默认图标', + 'Side menu horizontal collapse': '侧边菜单水平折叠', + 'Side menu accordion': '侧边菜单手风琴', + 'Top bar': '顶栏', + 'Top bar background color': '顶栏背景色', + 'Top bar text color': '顶栏文字色', + 'Background color when hovering over the top bar': '顶栏悬停时背景色', + 'Top bar menu active item background color': '顶栏菜单激活项背景色', + 'Top bar menu active item text color': '顶栏菜单激活项文字色', + 'Are you sure you want to restore all configurations to the default values?': '确定要恢复全部配置到默认值吗?', + 'Restore default': '恢复默认', + 'personal data': '个人资料', + cancellation: '注销', + 'Dark mode': '暗黑模式', + 'Exit full screen': '退出全屏', + 'Full screen is not supported': '您的浏览器不支持全屏,请更换浏览器再试~', + }, terminal: { Terminal: '终端', 'Command run log': '命令运行日志', diff --git a/web/src/lang/common/en/layouts.ts b/web/src/lang/common/en/layouts.ts deleted file mode 100644 index f80dcff2..00000000 --- a/web/src/lang/common/en/layouts.ts +++ /dev/null @@ -1,34 +0,0 @@ -export default { - 'Layout configuration': 'Layout configuration', - 'Layout mode': 'Layout mode', - default: 'Default', - classic: 'Classic', - 'Single column': 'Single Column', - 'overall situation': 'Global', - 'Background page switching animation': 'Background page switching animation', - 'Please select an animation name': 'Please select an animation name', - sidebar: 'Sidebar', - 'Side menu bar background color': 'Background color of the side menu bar', - 'Side menu text color': 'Side menu text color', - 'Side menu active item background color': 'Background color of the side menu activation item', - 'Side menu active item text color': 'Side menu activation item text color', - 'Show side menu top bar (logo bar)': 'Display the top bar of the side menu (Logo Bar)', - 'Side menu top bar background color': 'Background color of the top bar of the side menu ', - 'Side menu width (when expanded)': 'Width of the side menu (Unfolding)', - 'Side menu default icon': 'Side menu default icon', - 'Side menu horizontal collapse': 'Side menu collapsed horizontally', - 'Side menu accordion': 'Side menu accordion', - 'Top bar': 'Top bar', - 'Top bar background color': 'Top bar background color', - 'Top bar text color': 'Top bar text color', - 'Background color when hovering over the top bar': 'Top bar hover background color', - 'Top bar menu active item background color': 'Background color of the top bar activation item', - 'Top bar menu active item text color': 'Top bar menu activation item text color', - 'Are you sure you want to restore all configurations to the default values?': 'Are you sure to restore all configurations to the default values?', - 'Restore default': 'Restore default', - 'personal data': 'Personal data', - cancellation: 'Cancellation', - 'Dark mode': 'Dark mode', - 'Exit full screen': 'Exit Full Screen', - 'Full screen is not supported': 'Your browser does not support full screen, please change another browser and try again~', -} diff --git a/web/src/lang/common/zh-cn/layouts.ts b/web/src/lang/common/zh-cn/layouts.ts deleted file mode 100644 index eb9a8012..00000000 --- a/web/src/lang/common/zh-cn/layouts.ts +++ /dev/null @@ -1,34 +0,0 @@ -export default { - 'Layout configuration': '布局配置', - 'Layout mode': '布局方式', - default: '默认', - classic: '经典', - 'Single column': '单栏', - 'overall situation': '全局', - 'Background page switching animation': '后台页面切换动画', - 'Please select an animation name': '请选择动画名称', - sidebar: '侧边栏', - 'Side menu bar background color': '侧边菜单栏背景色', - 'Side menu text color': '侧边菜单文字颜色', - 'Side menu active item background color': '侧边菜单激活项背景色', - 'Side menu active item text color': '侧边菜单激活项文字色', - 'Show side menu top bar (logo bar)': '显示侧边菜单顶栏(LOGO栏)', - 'Side menu top bar background color': '侧边菜单顶栏背景色', - 'Side menu width (when expanded)': '侧边菜单宽度(展开时)', - 'Side menu default icon': '侧边菜单默认图标', - 'Side menu horizontal collapse': '侧边菜单水平折叠', - 'Side menu accordion': '侧边菜单手风琴', - 'Top bar': '顶栏', - 'Top bar background color': '顶栏背景色', - 'Top bar text color': '顶栏文字色', - 'Background color when hovering over the top bar': '顶栏悬停时背景色', - 'Top bar menu active item background color': '顶栏菜单激活项背景色', - 'Top bar menu active item text color': '顶栏菜单激活项文字色', - 'Are you sure you want to restore all configurations to the default values?': '确定要恢复全部配置到默认值吗?', - 'Restore default': '恢复默认', - 'personal data': '个人资料', - cancellation: '注销', - 'Dark mode': '暗黑模式', - 'Exit full screen': '退出全屏', - 'Full screen is not supported': '您的浏览器不支持全屏,请更换浏览器再试~', -}