feat(settings): support collapsing shortcut groups

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-10-01 23:51:00 +08:00
1 parent 3d6a5088f4
commit 36ecfc6ea4
13 files changed
+182 -2

No files matched your search

@@ -2076,6 +2076,7 @@ const crossScopeShortcutPairCount = computed(() => countShortcutConflictPairs(cr
const sqlShortcutConflicts = computed(() => findSqlShortcutConflicts(editSqlShortcuts.value, editShortcuts.value)); const sqlShortcutConflicts = computed(() => findSqlShortcutConflicts(editSqlShortcuts.value, editShortcuts.value));
const hasSqlShortcutConflicts = computed(() => sqlShortcutConflicts.value.length > 0); const hasSqlShortcutConflicts = computed(() => sqlShortcutConflicts.value.length > 0);
const shortcutSearchQuery = ref(""); const shortcutSearchQuery = ref("");
const collapsedShortcutScopes = ref<Set<ShortcutScope>>(new Set());
const formatterEditorShortcutIds: ShortcutActionId[] = [ const formatterEditorShortcutIds: ShortcutActionId[] = [
"formatSql", "formatSql",
"toggleLineComment", "toggleLineComment",
@@ -2165,6 +2166,24 @@ const shortcutScopeGroups = computed<ShortcutScopeGroup[]>(() =>
}).filter((group) => group.definitions.length > 0), }).filter((group) => group.definitions.length > 0),
); );
function shortcutScopeContentId(scope: ShortcutScope): string {
return `shortcut-scope-content-${scope}`;
}
function isShortcutScopeExpanded(group: ShortcutScopeGroup): boolean {
// Keep manually collapsed groups visible while searching so matching rows
// cannot be hidden. The Set itself is left untouched, so clearing search
// restores the user's previous collapsed state.
return shortcutSearchQuery.value.trim().length > 0 || !collapsedShortcutScopes.value.has(group.scope);
}
function toggleShortcutScope(scope: ShortcutScope) {
const next = new Set(collapsedShortcutScopes.value);
if (next.has(scope)) next.delete(scope);
else next.add(scope);
collapsedShortcutScopes.value = next;
}
function isShortcutModified(definition: ShortcutDefinition): boolean { function isShortcutModified(definition: ShortcutDefinition): boolean {
return editShortcuts.value[definition.id] !== definition.defaultShortcut; return editShortcuts.value[definition.id] !== definition.defaultShortcut;
} }
@@ -9056,7 +9075,17 @@ onUnmounted(() => {
圆角改由组头(上)与末行(下)分别承担。 --> 圆角改由组头(上)与末行(下)分别承担。 -->
<div v-else class="flex flex-col gap-2"> <div v-else class="flex flex-col gap-2">
<section v-for="group in shortcutScopeGroups" :key="group.scope" class="rounded-md border border-border/70 bg-background"> <section v-for="group in shortcutScopeGroups" :key="group.scope" class="rounded-md border border-border/70 bg-background">
<header class="sticky top-0 z-10 flex items-center gap-2 rounded-t-md border-b border-border/70 bg-popover px-3 py-2"> <header
class="sticky top-0 z-10 flex cursor-pointer items-center gap-2 rounded-t-md border-b border-border/70 bg-popover px-3 py-2 outline-none focus-visible:ring-2 focus-visible:ring-ring/50"
role="button"
tabindex="0"
:aria-expanded="isShortcutScopeExpanded(group)"
:aria-controls="shortcutScopeContentId(group.scope)"
:aria-label="`${group.label} · ${isShortcutScopeExpanded(group) ? t('settings.shortcutGroupCollapse') : t('settings.shortcutGroupExpand')}`"
@click="toggleShortcutScope(group.scope)"
@keydown.enter.prevent="toggleShortcutScope(group.scope)"
@keydown.space.prevent="toggleShortcutScope(group.scope)"
>
<component :is="shortcutScopeIcon(group.scope)" class="h-3.5 w-3.5 shrink-0 text-muted-foreground" aria-hidden="true" /> <component :is="shortcutScopeIcon(group.scope)" class="h-3.5 w-3.5 shrink-0 text-muted-foreground" aria-hidden="true" />
<h3 class="shrink-0 text-[13px] leading-none font-semibold">{{ group.label }}</h3> <h3 class="shrink-0 text-[13px] leading-none font-semibold">{{ group.label }}</h3>
<span class="shrink-0 rounded-sm border border-border/80 px-1 font-mono text-[10px] leading-4 text-muted-foreground/75">{{ group.scope }}</span> <span class="shrink-0 rounded-sm border border-border/80 px-1 font-mono text-[10px] leading-4 text-muted-foreground/75">{{ group.scope }}</span>
@@ -9073,12 +9102,16 @@ onUnmounted(() => {
<span class="inline-flex shrink-0 cursor-help items-center gap-1 text-[11px] font-medium tabular-nums text-warning"> <span class="size-[5px] rounded-full bg-current" aria-hidden="true" />{{ group.crossScopeCount }} </span> <span class="inline-flex shrink-0 cursor-help items-center gap-1 text-[11px] font-medium tabular-nums text-warning"> <span class="size-[5px] rounded-full bg-current" aria-hidden="true" />{{ group.crossScopeCount }} </span>
</LightTooltip> </LightTooltip>
<span class="ml-auto hidden truncate text-[11px] text-muted-foreground xl:block">{{ group.hint }}</span> <span class="ml-auto hidden truncate text-[11px] text-muted-foreground xl:block">{{ group.hint }}</span>
<ChevronDown class="settings-shortcut-chevron h-3.5 w-3.5 shrink-0 text-muted-foreground" :class="{ 'settings-shortcut-chevron--expanded': isShortcutScopeExpanded(group) }" aria-hidden="true" />
</header> </header>
<div :id="shortcutScopeContentId(group.scope)" class="settings-shortcut-drawer" :class="{ 'settings-shortcut-drawer--expanded': isShortcutScopeExpanded(group) }" :aria-hidden="!isShortcutScopeExpanded(group)" :inert="!isShortcutScopeExpanded(group)">
<div class="settings-shortcut-drawer-inner">
<div <div
v-for="(definition, index) in group.definitions" v-for="(definition, index) in group.definitions"
:key="definition.id" :key="definition.id"
class="settings-shortcut-row group grid gap-2 border-t border-border/70 px-3 py-2 transition-colors hover:bg-muted/40 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-center" class="settings-shortcut-row group grid gap-2 border-t border-border/70 px-3 py-2 transition-colors hover:bg-muted/40 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-center"
:class="index === group.definitions.length - 1 ? 'rounded-b-md' : ''" :class="index === group.definitions.length - 1 ? 'rounded-b-md' : ''"
:style="{ '--shortcut-row-index': index }"
:data-conflict="shortcutConflictMap[definition.id] ? 'true' : undefined" :data-conflict="shortcutConflictMap[definition.id] ? 'true' : undefined"
:data-cross-scope="shortcutHasCrossScopeConflict(definition) ? 'true' : undefined" :data-cross-scope="shortcutHasCrossScopeConflict(definition) ? 'true' : undefined"
> >
@@ -9151,6 +9184,8 @@ onUnmounted(() => {
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
</section> </section>
</div> </div>
@@ -11889,6 +11924,69 @@ LIMIT 100;</pre
* 书写顺序;aria-invalid 那条能工作是因为变体在生成顺序上排在基类之后。 * 书写顺序;aria-invalid 那条能工作是因为变体在生成顺序上排在基类之后。
* `:not([aria-invalid="true"])` 保证阻断性冲突(红)优先于提示(琥珀)。 * `:not([aria-invalid="true"])` 保证阻断性冲突(红)优先于提示(琥珀)。
*/ */
/* Animate only the body: clipping the section would break its sticky header.
Fractional grid rows follow the content height and reverse smoothly on rapid toggles. */
.settings-shortcut-drawer {
display: grid;
grid-template-rows: 0fr;
opacity: 0;
visibility: hidden;
transition:
grid-template-rows 340ms cubic-bezier(0.22, 1, 0.36, 1),
opacity 240ms ease;
}
.settings-shortcut-drawer--expanded {
grid-template-rows: 1fr;
opacity: 1;
visibility: visible;
transition-duration: 650ms, 420ms;
}
.settings-shortcut-drawer-inner {
min-height: 0;
overflow: hidden;
perspective: 900px;
}
/* Let each shortcut row arrive just after the previous one. The drawer still
controls the overall height, while these transitions provide the staged,
drawer-like reveal without delaying long groups excessively. */
.settings-shortcut-drawer-inner > .settings-shortcut-row {
opacity: 0;
transform: perspective(700px) rotateX(-72deg) translateY(-6px) scaleY(0.86);
transform-origin: top center;
backface-visibility: hidden;
will-change: opacity, transform;
transition:
opacity 240ms ease,
transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
transition-delay: 0ms;
}
.settings-shortcut-drawer--expanded .settings-shortcut-drawer-inner > .settings-shortcut-row {
opacity: 1;
transform: perspective(700px) rotateX(0deg) translateY(0) scaleY(1);
transition-duration: 420ms, 650ms;
transition-delay: min(calc(var(--shortcut-row-index) * 85ms), 850ms);
}
.settings-shortcut-chevron {
transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.settings-shortcut-chevron--expanded {
transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
.settings-shortcut-drawer,
.settings-shortcut-chevron,
.settings-shortcut-drawer-inner > .settings-shortcut-row {
transition: none;
}
}
.settings-shortcut-row[data-cross-scope="true"] .settings-shortcut-pill:not([aria-invalid="true"]) { .settings-shortcut-row[data-cross-scope="true"] .settings-shortcut-pill:not([aria-invalid="true"]) {
border-color: color-mix(in srgb, var(--warning) 45%, transparent); border-color: color-mix(in srgb, var(--warning) 45%, transparent);
} }
@@ -1,6 +1,6 @@
// @vitest-environment happy-dom // @vitest-environment happy-dom
import { createApp, defineComponent, h, nextTick, ref, type App } from "vue"; import { createApp, defineComponent, h, nextTick, type App } from "vue";
import { afterEach, describe, expect, it, vi } from "vitest"; import { afterEach, describe, expect, it, vi } from "vitest";
import { createPinia } from "pinia"; import { createPinia } from "pinia";
import { DEFAULT_EDITOR_SETTINGS } from "@/stores/settingsStore"; import { DEFAULT_EDITOR_SETTINGS } from "@/stores/settingsStore";
@@ -154,6 +154,13 @@ const inputFor = (host: HTMLElement, id: string) => shortcutsPane(host).querySel
const rowFor = (host: HTMLElement, id: string) => inputFor(host, id).closest<HTMLElement>(".settings-shortcut-row")!; const rowFor = (host: HTMLElement, id: string) => inputFor(host, id).closest<HTMLElement>(".settings-shortcut-row")!;
const headerFor = (host: HTMLElement, scope: string) =>
groupSections(host)
.find((section) => section.querySelector("h3")?.textContent?.trim() === `settings.shortcutScope${scope[0].toUpperCase()}${scope.slice(1)}`)!
.querySelector<HTMLElement>("header")!;
const contentFor = (host: HTMLElement, scope: string) => shortcutsPane(host).querySelector<HTMLElement>(`#shortcut-scope-content-${scope}`)!;
function button(host: HTMLElement, text: string) { function button(host: HTMLElement, text: string) {
return [...host.querySelectorAll<HTMLButtonElement>("button")].find((item) => item.textContent?.trim() === text) ?? null; return [...host.querySelectorAll<HTMLButtonElement>("button")].find((item) => item.textContent?.trim() === text) ?? null;
} }
@@ -202,6 +209,59 @@ describe("EditorSettingsDialog shortcut scope grouping (behaviour)", () => {
} }
}); });
it("collapses and expands a group from its accessible header", async () => {
hoisted.shortcuts = defaults();
const host = await mountShortcutsTab();
const header = headerFor(host, "editor");
expect(header.getAttribute("role")).toBe("button");
expect(header.getAttribute("aria-expanded")).toBe("true");
expect(header.getAttribute("aria-controls")).toBe("shortcut-scope-content-editor");
expect(rowFor(host, "formatSql")).toBeTruthy();
header.click();
await flushAsyncUpdates();
expect(header.getAttribute("aria-expanded")).toBe("false");
expect(contentFor(host, "editor").getAttribute("aria-hidden")).toBe("true");
expect(contentFor(host, "editor").hasAttribute("inert")).toBe(true);
header.dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: true }));
await flushAsyncUpdates();
expect(header.getAttribute("aria-expanded")).toBe("true");
expect(contentFor(host, "editor").getAttribute("aria-hidden")).toBe("false");
expect(contentFor(host, "editor").hasAttribute("inert")).toBe(false);
expect(rowFor(host, "formatSql")).toBeTruthy();
header.dispatchEvent(new KeyboardEvent("keydown", { key: " ", bubbles: true }));
await flushAsyncUpdates();
expect(header.getAttribute("aria-expanded")).toBe("false");
});
it("auto-expands a collapsed group while searching and restores it afterward", async () => {
hoisted.shortcuts = defaults();
const host = await mountShortcutsTab();
const header = headerFor(host, "editor");
header.click();
await flushAsyncUpdates();
expect(header.getAttribute("aria-expanded")).toBe("false");
const search = shortcutsPane(host).querySelector<HTMLInputElement>('input[placeholder="settings.shortcutSearchPlaceholder"]')!;
search.value = "shortcutFormatSql";
search.dispatchEvent(new Event("input", { bubbles: true }));
await flushAsyncUpdates();
expect(header.getAttribute("aria-expanded")).toBe("true");
expect(rows(host).length).toBe(1);
expect(rowFor(host, "formatSql")).toBeTruthy();
search.value = "";
search.dispatchEvent(new Event("input", { bubbles: true }));
await flushAsyncUpdates();
expect(header.getAttribute("aria-expanded")).toBe("false");
expect(contentFor(host, "editor").getAttribute("aria-hidden")).toBe("true");
expect(contentFor(host, "editor").hasAttribute("inert")).toBe(true);
});
it("treats a same-scope duplicate as blocking: red pills, footer reason and a disabled Apply", async () => { it("treats a same-scope duplicate as blocking: red pills, footer reason and a disabled Apply", async () => {
const base = defaults(); const base = defaults();
hoisted.shortcuts = base; hoisted.shortcuts = base;
+2
View File
@@ -8001,6 +8001,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Axtarış sahəsi fokusda olduqda keçərlidir", shortcutScopeHintSearch: "Axtarış sahəsi fokusda olduqda keçərlidir",
shortcutScopeHintSidebar: "Yan panel fokusda olduqda keçərlidir", shortcutScopeHintSidebar: "Yan panel fokusda olduqda keçərlidir",
shortcutGroupCount: "{count} əməliyyat", shortcutGroupCount: "{count} əməliyyat",
shortcutGroupCollapse: "Qrupu yığ",
shortcutGroupExpand: "Qrupu genişləndir",
shortcutGroupUnbound: "{count} təyin edilməyib", shortcutGroupUnbound: "{count} təyin edilməyib",
shortcutGroupUnboundTooltip: "Bu əməliyyatlara qısayol təyin edilməyib; sətirdəki karandaş ikonundan istifadə edərək təyin edin.", shortcutGroupUnboundTooltip: "Bu əməliyyatlara qısayol təyin edilməyib; sətirdəki karandaş ikonundan istifadə edərək təyin edin.",
shortcutModifiedTag: "Dəyişdirilib", shortcutModifiedTag: "Dəyişdirilib",
+2
View File
@@ -8877,6 +8877,8 @@ export default {
shortcutScopeHintSearch: "Applies while the search field is focused", shortcutScopeHintSearch: "Applies while the search field is focused",
shortcutScopeHintSidebar: "Applies while the sidebar is focused", shortcutScopeHintSidebar: "Applies while the sidebar is focused",
shortcutGroupCount: "{count} actions", shortcutGroupCount: "{count} actions",
shortcutGroupCollapse: "Collapse group",
shortcutGroupExpand: "Expand group",
shortcutGroupUnbound: "{count} unbound", shortcutGroupUnbound: "{count} unbound",
shortcutGroupUnboundTooltip: "These actions have no shortcut assigned; use the pencil icon on the row to record one.", shortcutGroupUnboundTooltip: "These actions have no shortcut assigned; use the pencil icon on the row to record one.",
shortcutModifiedTag: "Changed", shortcutModifiedTag: "Changed",
+2
View File
@@ -8216,6 +8216,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Se aplica con el campo de búsqueda enfocado", shortcutScopeHintSearch: "Se aplica con el campo de búsqueda enfocado",
shortcutScopeHintSidebar: "Se aplica con la barra lateral enfocada", shortcutScopeHintSidebar: "Se aplica con la barra lateral enfocada",
shortcutGroupCount: "{count} acciones", shortcutGroupCount: "{count} acciones",
shortcutGroupCollapse: "Contraer grupo",
shortcutGroupExpand: "Expandir grupo",
shortcutGroupUnbound: "{count} sin asignar", shortcutGroupUnbound: "{count} sin asignar",
shortcutGroupUnboundTooltip: "Estas acciones no tienen atajo asignado; usa el icono de lápiz de la fila para asignar uno.", shortcutGroupUnboundTooltip: "Estas acciones no tienen atajo asignado; usa el icono de lápiz de la fila para asignar uno.",
shortcutModifiedTag: "Modificado", shortcutModifiedTag: "Modificado",
+2
View File
@@ -7987,6 +7987,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Si applica con il campo di ricerca attivo", shortcutScopeHintSearch: "Si applica con il campo di ricerca attivo",
shortcutScopeHintSidebar: "Si applica con la barra laterale attiva", shortcutScopeHintSidebar: "Si applica con la barra laterale attiva",
shortcutGroupCount: "{count} azioni", shortcutGroupCount: "{count} azioni",
shortcutGroupCollapse: "Comprimi gruppo",
shortcutGroupExpand: "Espandi gruppo",
shortcutGroupUnbound: "{count} non assegnate", shortcutGroupUnbound: "{count} non assegnate",
shortcutGroupUnboundTooltip: "Queste azioni non hanno una scorciatoia assegnata; usa l’icona a matita nella riga per assegnarne una.", shortcutGroupUnboundTooltip: "Queste azioni non hanno una scorciatoia assegnata; usa l’icona a matita nella riga per assegnarne una.",
shortcutModifiedTag: "Modificata", shortcutModifiedTag: "Modificata",
+2
View File
@@ -7984,6 +7984,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "検索フィールドにフォーカス時", shortcutScopeHintSearch: "検索フィールドにフォーカス時",
shortcutScopeHintSidebar: "サイドバーにフォーカス時", shortcutScopeHintSidebar: "サイドバーにフォーカス時",
shortcutGroupCount: "{count} 件", shortcutGroupCount: "{count} 件",
shortcutGroupCollapse: "グループを折りたたむ",
shortcutGroupExpand: "グループを展開",
shortcutGroupUnbound: "未割り当て {count} 件", shortcutGroupUnbound: "未割り当て {count} 件",
shortcutGroupUnboundTooltip: "これらの操作にはショートカットが割り当てられていません。行内の鉛筆アイコンから登録できます。", shortcutGroupUnboundTooltip: "これらの操作にはショートカットが割り当てられていません。行内の鉛筆アイコンから登録できます。",
shortcutModifiedTag: "変更済み", shortcutModifiedTag: "変更済み",
+2
View File
@@ -7767,6 +7767,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "검색 필드에 포커스 시 적용", shortcutScopeHintSearch: "검색 필드에 포커스 시 적용",
shortcutScopeHintSidebar: "사이드바에 포커스 시 적용", shortcutScopeHintSidebar: "사이드바에 포커스 시 적용",
shortcutGroupCount: "{count}개", shortcutGroupCount: "{count}개",
shortcutGroupCollapse: "그룹 접기",
shortcutGroupExpand: "그룹 펼치기",
shortcutGroupUnbound: "{count}개 미할당", shortcutGroupUnbound: "{count}개 미할당",
shortcutGroupUnboundTooltip: "이 작업에는 단축키가 지정되어 있지 않습니다. 행의 연필 아이콘으로 지정할 수 있습니다.", shortcutGroupUnboundTooltip: "이 작업에는 단축키가 지정되어 있지 않습니다. 행의 연필 아이콘으로 지정할 수 있습니다.",
shortcutModifiedTag: "변경됨", shortcutModifiedTag: "변경됨",
+2
View File
@@ -7988,6 +7988,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Aplica-se com o campo de busca em foco", shortcutScopeHintSearch: "Aplica-se com o campo de busca em foco",
shortcutScopeHintSidebar: "Aplica-se com a barra lateral em foco", shortcutScopeHintSidebar: "Aplica-se com a barra lateral em foco",
shortcutGroupCount: "{count} ações", shortcutGroupCount: "{count} ações",
shortcutGroupCollapse: "Recolher grupo",
shortcutGroupExpand: "Expandir grupo",
shortcutGroupUnbound: "{count} sem atalho", shortcutGroupUnbound: "{count} sem atalho",
shortcutGroupUnboundTooltip: "Estas ações não têm atalho atribuído; use o ícone de lápis na linha para definir um.", shortcutGroupUnboundTooltip: "Estas ações não têm atalho atribuído; use o ícone de lápis na linha para definir um.",
shortcutModifiedTag: "Alterado", shortcutModifiedTag: "Alterado",
+2
View File
@@ -9253,6 +9253,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Действует, когда фокус в поле поиска", shortcutScopeHintSearch: "Действует, когда фокус в поле поиска",
shortcutScopeHintSidebar: "Действует, когда фокус на боковой панели", shortcutScopeHintSidebar: "Действует, когда фокус на боковой панели",
shortcutGroupCount: "{count} действий", shortcutGroupCount: "{count} действий",
shortcutGroupCollapse: "Свернуть группу",
shortcutGroupExpand: "Развернуть группу",
shortcutGroupUnbound: "{count} без привязки", shortcutGroupUnbound: "{count} без привязки",
shortcutGroupUnboundTooltip: "У этих действий нет назначенных сочетаний клавиш; используйте значок карандаша в строке, чтобы задать его.", shortcutGroupUnboundTooltip: "У этих действий нет назначенных сочетаний клавиш; используйте значок карандаша в строке, чтобы задать его.",
shortcutModifiedTag: "Изменено", shortcutModifiedTag: "Изменено",
+2
View File
@@ -7900,6 +7900,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Arama alanı odaktayken geçerli", shortcutScopeHintSearch: "Arama alanı odaktayken geçerli",
shortcutScopeHintSidebar: "Kenar çubuğu odaktayken geçerli", shortcutScopeHintSidebar: "Kenar çubuğu odaktayken geçerli",
shortcutGroupCount: "{count} eylem", shortcutGroupCount: "{count} eylem",
shortcutGroupCollapse: "Grubu daralt",
shortcutGroupExpand: "Grubu genişlet",
shortcutGroupUnbound: "{count} atanmamış", shortcutGroupUnbound: "{count} atanmamış",
shortcutGroupUnboundTooltip: "Bu eylemlerde kısayol atanmamış; satırdaki kalem simgesiyle atayabilirsiniz.", shortcutGroupUnboundTooltip: "Bu eylemlerde kısayol atanmamış; satırdaki kalem simgesiyle atayabilirsiniz.",
shortcutModifiedTag: "Değiştirildi", shortcutModifiedTag: "Değiştirildi",
+2
View File
@@ -8843,6 +8843,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "搜索框聚焦时生效", shortcutScopeHintSearch: "搜索框聚焦时生效",
shortcutScopeHintSidebar: "侧边栏聚焦时生效", shortcutScopeHintSidebar: "侧边栏聚焦时生效",
shortcutGroupCount: "{count} 项", shortcutGroupCount: "{count} 项",
shortcutGroupCollapse: "折叠分组",
shortcutGroupExpand: "展开分组",
shortcutGroupUnbound: "{count} 项未绑定", shortcutGroupUnbound: "{count} 项未绑定",
shortcutGroupUnboundTooltip: "这些操作当前没有绑定快捷键;点击行内铅笔图标即可录入。", shortcutGroupUnboundTooltip: "这些操作当前没有绑定快捷键;点击行内铅笔图标即可录入。",
shortcutModifiedTag: "已改", shortcutModifiedTag: "已改",
+2
View File
@@ -7282,6 +7282,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "搜尋框聚焦時生效", shortcutScopeHintSearch: "搜尋框聚焦時生效",
shortcutScopeHintSidebar: "側邊欄聚焦時生效", shortcutScopeHintSidebar: "側邊欄聚焦時生效",
shortcutGroupCount: "{count} 項", shortcutGroupCount: "{count} 項",
shortcutGroupCollapse: "摺疊分組",
shortcutGroupExpand: "展開分組",
shortcutGroupUnbound: "{count} 項未綁定", shortcutGroupUnbound: "{count} 項未綁定",
shortcutGroupUnboundTooltip: "這些操作目前沒有綁定快速鍵;點擊行內鉛筆圖示即可錄入。", shortcutGroupUnboundTooltip: "這些操作目前沒有綁定快速鍵;點擊行內鉛筆圖示即可錄入。",
shortcutModifiedTag: "已改", shortcutModifiedTag: "已改",