{$t('keyboard.title')}

{$t('keyboard.command')} {$t('keyboard.keybinding')}
{#each ACTION_IDS as actionId} {@const chord = $keybindings[actionId]} {@const isRecording = recordingAction === actionId} {@const conflict = getConflict(actionId, chord)}
{ACTION_LABELS[actionId]}
{ACTION_DESCRIPTIONS[actionId]}
{#if isRecording} {$t('keyboard.pressKeys')} {:else if chord} {:else} {/if} {#if conflict} ! {/if}
{/each}

{$t('keyboard.rebindHint')}