{isGerman ? "Einstellungen" : "Settings"}

{isGerman ? "Gitty an deinen Workflow anpassen" : "Make Gitty fit your workflow"}

{ event.preventDefault(); save(); }}>

{isGerman ? "Tool-Argumente werden direkt und ohne zusätzliche Shell übergeben." : "Tool arguments are passed directly without an extra shell."}

{#if activePage === "general"}

{isGerman ? "Allgemein" : "General"}

{isGerman ? "Darstellung, Sprache und Hintergrundverhalten." : "Appearance, language, and background behavior."}

{isGerman ? "Farbschema" : "Theme"}

{isGerman ? "Passend zu deiner Umgebung." : "Match your environment."}

{isGerman ? "Darstellungsstil" : "Design style"}

{isGerman ? "Aktuell, klassisch oder selbst gestaltet." : "Current, classic, or designed by you."}

{#if selectedAppearance === "custom"}

{isGerman ? "Theme-Generator" : "Theme generator"}

{isGerman ? "Erstelle dein eigenes Farbprofil." : "Create your own color profile."}

{isGerman ? "Die Farben werden beim Speichern auf die gesamte Oberfläche angewendet." : "The colors are applied across the interface when you save."}

{/if}

{isGerman ? "Sprache" : "Language"}

{isGerman ? "Sprache der Oberfläche." : "Language used by the interface."}

{isGerman ? "Repository-Aktualisierung" : "Repository refresh"}

{isGerman ? "Arbeitsbereich und Remotes aktuell halten." : "Keep the working tree and remotes current."}

{isGerman ? "Datenschutz" : "Privacy"}

{isGerman ? "Anonyme Produkt- und Fehlerdiagnose." : "Anonymous product and error diagnostics."}

{:else}

{isGerman ? "Externe Tools" : "External tools"}

{detectionUnavailable ? (isGerman ? "Automatische Erkennung ist in dieser Umgebung nicht verfügbar." : "Automatic detection is unavailable in this environment.") : (isGerman ? `${detectedTools.length} installierte Programme erkannt.` : `${detectedTools.length} installed applications detected.`)}

{#each toolKinds as kind} {/each}
{#if activeToolKind === "editor"} {:else if activeToolKind === "diff"} {:else if activeToolKind === "merge"} {:else if activeToolKind === "terminal"} {:else}{/if}

{toolLabel(activeToolKind)}

{toolDescription(activeToolKind)}

{#if selectionAvailable(activeToolKind)}{:else}{/if} {selectionStatus(activeToolKind)}
{#if activeToolKind === "diff" || activeToolKind === "merge"} {@const openModeKind = activeToolKind as "diff" | "merge"}
{isGerman ? "Standard" : "Default"} {openMode(openModeKind) === "gitty" ? (isGerman ? "Gitty · integriert" : "Gitty · built in") : selectedToolName(activeToolKind)}
{isGerman ? "Beim Öffnen verwenden" : "Use when opening"}
{:else}
Gitty{selectedToolName(activeToolKind)}
{/if}
{isGerman ? "So öffnest du es" : "How to open it"}

{toolUsage(activeToolKind)}

{#if advancedOpen}

{isGerman ? "Verfügbare Platzhalter" : "Available placeholders"} {"{repo}"}{"{file}"}{"{parent}"}{"{left}"}{"{right}"}{"{base}"}{"{ours}"}{"{theirs}"}{"{result}"}

{/if}
{/if}
{isGerman ? "Änderungen werden erst beim Speichern übernommen." : "Changes are applied only after saving."}