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: "标签视图", }, };