Give the unstaged group of Source control its own title

The Changes section and its unstaged group both showed "Changes (2)".
The group title is now "Unstaged changes (2)". The section title keeps the total count.
This commit is contained in:
Knotty Wyvern
2026-10-30 00:21:43 -07:00
parent d849c3c1b5
commit 424a817c90
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -149,7 +149,7 @@
{#if group.changes.length}
<section class="group">
<div class="group-header">
<h3>{group.staged ? $t("Staged changes ({count})", { count: group.changes.length }) : $t("Changes ({count})", { count: group.changes.length })}</h3>
<h3>{group.staged ? $t("Staged changes ({count})", { count: group.changes.length }) : $t("Unstaged changes ({count})", { count: group.changes.length })}</h3>
<IconButton icon={group.staged ? "minus" : "plus"} label={group.staged ? $t("Unstage all") : $t("Stage all")} disabled={busy} onclick={() => stage(group.changes, group.staged)} />
</div>
{#each group.changes as change (change.path)}
+1
View File
@@ -3448,6 +3448,7 @@ export const messageRows: [string, string, string, string][] = [
["Commit created.", "Commit créé.", "コミットを作成しました。", "已创建提交。"],
["Changes ({count})", "Modifications ({count})", "変更 ({count})", "更改 ({count})"],
["Staged changes ({count})", "Modifications indexées ({count})", "ステージ済みの変更 ({count})", "已暂存的更改 ({count})"],
["Unstaged changes ({count})", "Modifications non indexées ({count})", "未ステージの変更 ({count})", "未暂存的更改 ({count})"],
["Stage all", "Tout indexer", "すべてステージ", "全部暂存"],
["Unstage all", "Tout désindexer", "すべてステージ解除", "全部取消暂存"],
["Stage {path}", "Indexer {path}", "{path} をステージ", "暂存 {path}"],