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
+256 -76

No files matched your search

@@ -2076,6 +2076,7 @@ const crossScopeShortcutPairCount = computed(() => countShortcutConflictPairs(cr
const sqlShortcutConflicts = computed(() => findSqlShortcutConflicts(editSqlShortcuts.value, editShortcuts.value));
const hasSqlShortcutConflicts = computed(() => sqlShortcutConflicts.value.length > 0);
const shortcutSearchQuery = ref("");
const collapsedShortcutScopes = ref<Set<ShortcutScope>>(new Set());
const formatterEditorShortcutIds: ShortcutActionId[] = [
"formatSql",
"toggleLineComment",
@@ -2165,6 +2166,24 @@ const shortcutScopeGroups = computed<ShortcutScopeGroup[]>(() =>
}).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 {
return editShortcuts.value[definition.id] !== definition.defaultShortcut;
}
@@ -9056,7 +9075,17 @@ onUnmounted(() => {
圆角改由组头(上)与末行(下)分别承担。 -->
<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">
<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" />
<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>
@@ -9073,81 +9102,87 @@ 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>
</LightTooltip>
<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>
<div
v-for="(definition, index) in group.definitions"
: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="index === group.definitions.length - 1 ? 'rounded-b-md' : ''"
:data-conflict="shortcutConflictMap[definition.id] ? 'true' : undefined"
:data-cross-scope="shortcutHasCrossScopeConflict(definition) ? 'true' : undefined"
>
<div class="settings-shortcut-label min-w-0">
<div class="flex min-w-0 items-center gap-2">
<Label class="min-w-0 truncate leading-none">{{ t(definition.labelKey) }}</Label>
<!-- scope 已由分组标题承载,行内不再重复散章 -->
<LightTooltip v-if="isShortcutModified(definition)" :text="t('settings.shortcutModifiedTagTooltip')">
<span class="shrink-0 cursor-help rounded-sm border border-border/90 px-1 text-[10px] leading-4 text-muted-foreground">
{{ t("settings.shortcutModifiedTag") }}
</span>
</LightTooltip>
</div>
</div>
<div class="settings-shortcut-actions min-w-0 text-right">
<div class="settings-shortcut-controls flex items-center justify-end gap-1.5">
<!-- 冲突解释改为悬停才出现:默认只留胶囊颜色这一条定位线索。 -->
<LightTooltip side="left" :disabled="editingShortcutId === definition.id" :text="shortcutConflictHintText(definition)" content-class="max-w-[320px]">
<input
:data-shortcut-input="definition.id"
:value="editingShortcutId === definition.id ? '' : formatShortcutPill(editShortcuts[definition.id])"
:style="{
width: editingShortcutId === definition.id ? shortcutPressShortcutInputWidth : `${Math.max(4, formatShortcutPill(editShortcuts[definition.id]).length + 3)}ch`,
}"
readonly
:aria-invalid="shortcutConflicts.includes(definition.id)"
:placeholder="t('settings.shortcutPressShortcut')"
class="settings-shortcut-pill h-7 w-auto min-w-12 max-w-64 shrink-0 cursor-default rounded-[6px] border border-transparent bg-muted px-2.5 text-center font-mono text-[13px] font-semibold text-foreground/75 shadow-inner outline-none selection:bg-transparent placeholder:text-muted-foreground aria-invalid:border-destructive/55 aria-invalid:text-destructive"
:class="editingShortcutId === definition.id ? 'max-w-64 cursor-text border-border/80 bg-background text-left text-foreground shadow-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/35' : ''"
@keydown="(event: KeyboardEvent) => onShortcutKeydown(definition.id, event)"
/>
</LightTooltip>
<Button
v-if="editingShortcutId !== definition.id"
type="button"
variant="ghost"
size="icon"
class="settings-shortcut-action-button settings-shortcut-action-button--fix h-7 w-7 shrink-0 text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100"
:aria-label="t('settings.shortcutPressShortcut')"
@click="focusShortcutInput(definition.id)"
>
<Pencil class="h-4 w-4" />
</Button>
<Button v-else type="button" variant="ghost" size="sm" class="h-7 shrink-0 px-2 text-sm font-medium text-muted-foreground hover:text-foreground" @click="cancelShortcutEdit">
{{ t("settings.cancel") }}
</Button>
<Button
v-if="editingShortcutId !== definition.id"
type="button"
variant="ghost"
size="icon"
class="settings-shortcut-action-button settings-shortcut-action-button--fix h-7 w-7 shrink-0 text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100"
:aria-label="t('settings.reset')"
@click="resetShortcut(definition.id)"
>
<RotateCcw class="h-4 w-4" />
</Button>
<Button
v-if="editingShortcutId !== definition.id && editShortcuts[definition.id]"
type="button"
variant="ghost"
size="icon"
class="settings-shortcut-action-button h-7 w-7 shrink-0 text-muted-foreground opacity-0 transition-opacity hover:text-destructive focus-visible:opacity-100 group-hover:opacity-100"
:aria-label="t('settings.shortcutClear')"
@click="clearShortcut(definition.id)"
>
<X class="h-4 w-4" />
</Button>
<span v-else-if="editingShortcutId !== definition.id" class="h-7 w-7 shrink-0" aria-hidden="true" />
<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
v-for="(definition, index) in group.definitions"
: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="index === group.definitions.length - 1 ? 'rounded-b-md' : ''"
:style="{ '--shortcut-row-index': index }"
:data-conflict="shortcutConflictMap[definition.id] ? 'true' : undefined"
:data-cross-scope="shortcutHasCrossScopeConflict(definition) ? 'true' : undefined"
>
<div class="settings-shortcut-label min-w-0">
<div class="flex min-w-0 items-center gap-2">
<Label class="min-w-0 truncate leading-none">{{ t(definition.labelKey) }}</Label>
<!-- scope 已由分组标题承载,行内不再重复散章 -->
<LightTooltip v-if="isShortcutModified(definition)" :text="t('settings.shortcutModifiedTagTooltip')">
<span class="shrink-0 cursor-help rounded-sm border border-border/90 px-1 text-[10px] leading-4 text-muted-foreground">
{{ t("settings.shortcutModifiedTag") }}
</span>
</LightTooltip>
</div>
</div>
<div class="settings-shortcut-actions min-w-0 text-right">
<div class="settings-shortcut-controls flex items-center justify-end gap-1.5">
<!-- 冲突解释改为悬停才出现:默认只留胶囊颜色这一条定位线索。 -->
<LightTooltip side="left" :disabled="editingShortcutId === definition.id" :text="shortcutConflictHintText(definition)" content-class="max-w-[320px]">
<input
:data-shortcut-input="definition.id"
:value="editingShortcutId === definition.id ? '' : formatShortcutPill(editShortcuts[definition.id])"
:style="{
width: editingShortcutId === definition.id ? shortcutPressShortcutInputWidth : `${Math.max(4, formatShortcutPill(editShortcuts[definition.id]).length + 3)}ch`,
}"
readonly
:aria-invalid="shortcutConflicts.includes(definition.id)"
:placeholder="t('settings.shortcutPressShortcut')"
class="settings-shortcut-pill h-7 w-auto min-w-12 max-w-64 shrink-0 cursor-default rounded-[6px] border border-transparent bg-muted px-2.5 text-center font-mono text-[13px] font-semibold text-foreground/75 shadow-inner outline-none selection:bg-transparent placeholder:text-muted-foreground aria-invalid:border-destructive/55 aria-invalid:text-destructive"
:class="editingShortcutId === definition.id ? 'max-w-64 cursor-text border-border/80 bg-background text-left text-foreground shadow-none focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/35' : ''"
@keydown="(event: KeyboardEvent) => onShortcutKeydown(definition.id, event)"
/>
</LightTooltip>
<Button
v-if="editingShortcutId !== definition.id"
type="button"
variant="ghost"
size="icon"
class="settings-shortcut-action-button settings-shortcut-action-button--fix h-7 w-7 shrink-0 text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100"
:aria-label="t('settings.shortcutPressShortcut')"
@click="focusShortcutInput(definition.id)"
>
<Pencil class="h-4 w-4" />
</Button>
<Button v-else type="button" variant="ghost" size="sm" class="h-7 shrink-0 px-2 text-sm font-medium text-muted-foreground hover:text-foreground" @click="cancelShortcutEdit">
{{ t("settings.cancel") }}
</Button>
<Button
v-if="editingShortcutId !== definition.id"
type="button"
variant="ghost"
size="icon"
class="settings-shortcut-action-button settings-shortcut-action-button--fix h-7 w-7 shrink-0 text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100"
:aria-label="t('settings.reset')"
@click="resetShortcut(definition.id)"
>
<RotateCcw class="h-4 w-4" />
</Button>
<Button
v-if="editingShortcutId !== definition.id && editShortcuts[definition.id]"
type="button"
variant="ghost"
size="icon"
class="settings-shortcut-action-button h-7 w-7 shrink-0 text-muted-foreground opacity-0 transition-opacity hover:text-destructive focus-visible:opacity-100 group-hover:opacity-100"
:aria-label="t('settings.shortcutClear')"
@click="clearShortcut(definition.id)"
>
<X class="h-4 w-4" />
</Button>
<span v-else-if="editingShortcutId !== definition.id" class="h-7 w-7 shrink-0" aria-hidden="true" />
</div>
</div>
</div>
</div>
</div>
@@ -11889,6 +11924,69 @@ LIMIT 100;</pre
* 书写顺序;aria-invalid 那条能工作是因为变体在生成顺序上排在基类之后。
* `: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"]) {
border-color: color-mix(in srgb, var(--warning) 45%, transparent);
}
@@ -1,6 +1,6 @@
// @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 { createPinia } from "pinia";
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 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) {
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 () => {
const base = defaults();
hoisted.shortcuts = base;
+2
View File
@@ -8001,6 +8001,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Axtarış sahəsi fokusda olduqda keçərlidir",
shortcutScopeHintSidebar: "Yan panel fokusda olduqda keçərlidir",
shortcutGroupCount: "{count} əməliyyat",
shortcutGroupCollapse: "Qrupu yığ",
shortcutGroupExpand: "Qrupu genişləndir",
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.",
shortcutModifiedTag: "Dəyişdirilib",
+2
View File
@@ -8877,6 +8877,8 @@ export default {
shortcutScopeHintSearch: "Applies while the search field is focused",
shortcutScopeHintSidebar: "Applies while the sidebar is focused",
shortcutGroupCount: "{count} actions",
shortcutGroupCollapse: "Collapse group",
shortcutGroupExpand: "Expand group",
shortcutGroupUnbound: "{count} unbound",
shortcutGroupUnboundTooltip: "These actions have no shortcut assigned; use the pencil icon on the row to record one.",
shortcutModifiedTag: "Changed",
+2
View File
@@ -8216,6 +8216,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Se aplica con el campo de búsqueda enfocado",
shortcutScopeHintSidebar: "Se aplica con la barra lateral enfocada",
shortcutGroupCount: "{count} acciones",
shortcutGroupCollapse: "Contraer grupo",
shortcutGroupExpand: "Expandir grupo",
shortcutGroupUnbound: "{count} sin asignar",
shortcutGroupUnboundTooltip: "Estas acciones no tienen atajo asignado; usa el icono de lápiz de la fila para asignar uno.",
shortcutModifiedTag: "Modificado",
+2
View File
@@ -7987,6 +7987,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Si applica con il campo di ricerca attivo",
shortcutScopeHintSidebar: "Si applica con la barra laterale attiva",
shortcutGroupCount: "{count} azioni",
shortcutGroupCollapse: "Comprimi gruppo",
shortcutGroupExpand: "Espandi gruppo",
shortcutGroupUnbound: "{count} non assegnate",
shortcutGroupUnboundTooltip: "Queste azioni non hanno una scorciatoia assegnata; usa l’icona a matita nella riga per assegnarne una.",
shortcutModifiedTag: "Modificata",
+2
View File
@@ -7984,6 +7984,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "検索フィールドにフォーカス時",
shortcutScopeHintSidebar: "サイドバーにフォーカス時",
shortcutGroupCount: "{count} 件",
shortcutGroupCollapse: "グループを折りたたむ",
shortcutGroupExpand: "グループを展開",
shortcutGroupUnbound: "未割り当て {count} 件",
shortcutGroupUnboundTooltip: "これらの操作にはショートカットが割り当てられていません。行内の鉛筆アイコンから登録できます。",
shortcutModifiedTag: "変更済み",
+2
View File
@@ -7767,6 +7767,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "검색 필드에 포커스 시 적용",
shortcutScopeHintSidebar: "사이드바에 포커스 시 적용",
shortcutGroupCount: "{count}개",
shortcutGroupCollapse: "그룹 접기",
shortcutGroupExpand: "그룹 펼치기",
shortcutGroupUnbound: "{count}개 미할당",
shortcutGroupUnboundTooltip: "이 작업에는 단축키가 지정되어 있지 않습니다. 행의 연필 아이콘으로 지정할 수 있습니다.",
shortcutModifiedTag: "변경됨",
+2
View File
@@ -7988,6 +7988,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Aplica-se com o campo de busca em foco",
shortcutScopeHintSidebar: "Aplica-se com a barra lateral em foco",
shortcutGroupCount: "{count} ações",
shortcutGroupCollapse: "Recolher grupo",
shortcutGroupExpand: "Expandir grupo",
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.",
shortcutModifiedTag: "Alterado",
+2
View File
@@ -9253,6 +9253,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Действует, когда фокус в поле поиска",
shortcutScopeHintSidebar: "Действует, когда фокус на боковой панели",
shortcutGroupCount: "{count} действий",
shortcutGroupCollapse: "Свернуть группу",
shortcutGroupExpand: "Развернуть группу",
shortcutGroupUnbound: "{count} без привязки",
shortcutGroupUnboundTooltip: "У этих действий нет назначенных сочетаний клавиш; используйте значок карандаша в строке, чтобы задать его.",
shortcutModifiedTag: "Изменено",
+2
View File
@@ -7900,6 +7900,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "Arama alanı odaktayken geçerli",
shortcutScopeHintSidebar: "Kenar çubuğu odaktayken geçerli",
shortcutGroupCount: "{count} eylem",
shortcutGroupCollapse: "Grubu daralt",
shortcutGroupExpand: "Grubu genişlet",
shortcutGroupUnbound: "{count} atanmamış",
shortcutGroupUnboundTooltip: "Bu eylemlerde kısayol atanmamış; satırdaki kalem simgesiyle atayabilirsiniz.",
shortcutModifiedTag: "Değiştirildi",
+2
View File
@@ -8843,6 +8843,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "搜索框聚焦时生效",
shortcutScopeHintSidebar: "侧边栏聚焦时生效",
shortcutGroupCount: "{count} 项",
shortcutGroupCollapse: "折叠分组",
shortcutGroupExpand: "展开分组",
shortcutGroupUnbound: "{count} 项未绑定",
shortcutGroupUnboundTooltip: "这些操作当前没有绑定快捷键;点击行内铅笔图标即可录入。",
shortcutModifiedTag: "已改",
+2
View File
@@ -7282,6 +7282,8 @@ export default withEnglishFallback({
shortcutScopeHintSearch: "搜尋框聚焦時生效",
shortcutScopeHintSidebar: "側邊欄聚焦時生效",
shortcutGroupCount: "{count} 項",
shortcutGroupCollapse: "摺疊分組",
shortcutGroupExpand: "展開分組",
shortcutGroupUnbound: "{count} 項未綁定",
shortcutGroupUnboundTooltip: "這些操作目前沒有綁定快速鍵;點擊行內鉛筆圖示即可錄入。",
shortcutModifiedTag: "已改",