fix(web): localize single-file confirmations (#2894)

This commit is contained in:
José Almeida
2026-08-22 20:45:13 +00:00
committed by GitHub
parent 59452fc890
commit 779e3eff28
29 changed files with 910 additions and 205 deletions
@@ -86,7 +86,7 @@ type ChangesTreeProps = {
onEditFile: (path: string, repo?: string) => void;
onStage: (path: string, repo?: string) => void;
onUnstage: (path: string, repo?: string) => void;
onDiscard: (path: string, repo?: string) => void;
onDiscard: (path: string, repo?: string, anchor?: HTMLElement) => void;
variant: "unstaged" | "staged";
/** Shared with the parent FileListSection so the BulkActionBar reflects
* selections made in tree mode. */
@@ -181,7 +181,7 @@ type RepoTreeGroupProps = {
onEditFile: (path: string, repo?: string) => void;
onStage: (path: string, repo?: string) => void;
onUnstage: (path: string, repo?: string) => void;
onDiscard: (path: string, repo?: string) => void;
onDiscard: (path: string, repo?: string, anchor?: HTMLElement) => void;
primaryLabel: string;
secondaryLabel?: string;
onRepoAction?: (repo: string) => void;