chore: standardize project comments in English

This commit is contained in:
eezd committed 2026-10-26 22:52:12 +08:00
1 parent a874a39ea5
commit ccb16acbea
167 files changed
+820 -820

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { isMac } from './keys'
// https://support.typora.io/Shortcut-Keys/;仅为已有功能提供默认值。
// https://support.typora.io/Shortcut-Keys/; provide defaults only for existing actions.
export function typoraKeys(id: string, mac = isMac): string[] {
if (/^editor\.heading[1-6]$/.test(id)) return [`Mod+${id.at(-1)}`]
const common: Record<string, string[]> = {