From 1a7edf3b3ca47d0a4a6bf8280d11abfc7b23fe06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yingyi=20/=20=E9=A2=96=E9=80=B8?= <49649786+Zuoqiu-Yingyi@users.noreply.github.com> Date: Wed, 21 Jun 2023 23:03:41 +0800 Subject: [PATCH] Add `ICommand.langText` for plugin (#8589) * :art: Support custom text when plugin register command REF: https://github.com/siyuan-note/petal/pull/9 * :art: Support custom text when plugin register command --- app/src/config/keymap.ts | 2 +- app/src/types/index.d.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/config/keymap.ts b/app/src/config/keymap.ts index 6b9406c3c..29378196a 100644 --- a/app/src/config/keymap.ts +++ b/app/src/config/keymap.ts @@ -39,7 +39,7 @@ export const keymap = { item.commands.forEach(command => { const keyValue = updateHotkeyTip(command.customHotkey); commandHTML += `