From 9570df983d3c4e3e4519b731a0f6bface465df71 Mon Sep 17 00:00:00 2001 From: XC <603550500@qq.com> Date: Wed, 4 Jun 2025 21:09:34 +0800 Subject: [PATCH] Update zh locales & dbmlView switch (#476) --- src/components/EditorHeader/ControlPanel.jsx | 4 ++-- src/i18n/locales/zh.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/EditorHeader/ControlPanel.jsx b/src/components/EditorHeader/ControlPanel.jsx index 05fc717..729c14c 100644 --- a/src/components/EditorHeader/ControlPanel.jsx +++ b/src/components/EditorHeader/ControlPanel.jsx @@ -1223,9 +1223,9 @@ export default function ControlPanel({ }, dbml_view: { state: layout.dbmlEditor ? ( - - ) : ( + ) : ( + ), function: toggleDBMLEditor, shortcut: "Alt+E", diff --git a/src/i18n/locales/zh.js b/src/i18n/locales/zh.js index edfea24..dd62837 100644 --- a/src/i18n/locales/zh.js +++ b/src/i18n/locales/zh.js @@ -245,6 +245,8 @@ const zh = { supported_types: "支持的文件类型:", bulk_update: "批量更新", multiselect: "多选", + dbml_view: "DBML 视图", + tab_view: "标签视图", }, };