From 936f9b0a922670789c970ed56c034ef9a9897bfe Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Wed, 9 Sep 2026 23:18:36 +0300 Subject: [PATCH] fix(ui): remove redundant committed scope heading Remove the Committed heading above the Commit option in Walkthrough and delete its unused translations from all 12 locales. Validation: UI type-check and focused Walkthrough ESLint passed; no references to the removed locale key remain. --- .../ui/src/components/views/walkthrough/WalkthroughView.tsx | 3 --- packages/ui/src/lib/i18n/messages/de.ts | 1 - packages/ui/src/lib/i18n/messages/en.ts | 1 - packages/ui/src/lib/i18n/messages/es.ts | 1 - packages/ui/src/lib/i18n/messages/fr.ts | 1 - packages/ui/src/lib/i18n/messages/ja.ts | 1 - packages/ui/src/lib/i18n/messages/ko.ts | 1 - packages/ui/src/lib/i18n/messages/pl.ts | 1 - packages/ui/src/lib/i18n/messages/pt-BR.ts | 1 - packages/ui/src/lib/i18n/messages/tr.ts | 1 - packages/ui/src/lib/i18n/messages/uk.ts | 1 - packages/ui/src/lib/i18n/messages/zh-CN.ts | 1 - packages/ui/src/lib/i18n/messages/zh-TW.ts | 1 - 13 files changed, 15 deletions(-) diff --git a/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx b/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx index 58211a4f..551c489b 100644 --- a/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx +++ b/packages/ui/src/components/views/walkthrough/WalkthroughView.tsx @@ -602,9 +602,6 @@ export const WalkthroughView = ({ directory: rootDirectory, visible = true }: Wa )} - - {t('walkthrough.scope.group.committed')} - {t('commitComparison.mode')} diff --git a/packages/ui/src/lib/i18n/messages/de.ts b/packages/ui/src/lib/i18n/messages/de.ts index 8ed62566..8c288f8a 100644 --- a/packages/ui/src/lib/i18n/messages/de.ts +++ b/packages/ui/src/lib/i18n/messages/de.ts @@ -3146,7 +3146,6 @@ export const dict = { 'contextRail.surface.walkthrough.description': 'Walkthrough-Kontext', 'walkthrough.scope.all': 'Alle', 'walkthrough.scope.group.workingTree': 'Arbeitsbaum', - 'walkthrough.scope.group.committed': 'Eingecheckt', 'walkthrough.scope.staged': 'Bereitgestellt', 'walkthrough.scope.working': 'Arbeitsstand', 'walkthrough.scope.branch': 'Branch', diff --git a/packages/ui/src/lib/i18n/messages/en.ts b/packages/ui/src/lib/i18n/messages/en.ts index b6ac525f..f1f0ed88 100644 --- a/packages/ui/src/lib/i18n/messages/en.ts +++ b/packages/ui/src/lib/i18n/messages/en.ts @@ -1226,7 +1226,6 @@ export const dict = { 'contextRail.surface.walkthrough.description': 'An AI-guided walkthrough of your changes', 'walkthrough.scope.all': 'All uncommitted', 'walkthrough.scope.group.workingTree': 'Working tree', - 'walkthrough.scope.group.committed': 'Committed', 'walkthrough.scope.staged': 'Staged', 'walkthrough.scope.working': 'Unstaged', 'walkthrough.scope.branch': 'This branch', diff --git a/packages/ui/src/lib/i18n/messages/es.ts b/packages/ui/src/lib/i18n/messages/es.ts index 9f2e6322..2479c67d 100644 --- a/packages/ui/src/lib/i18n/messages/es.ts +++ b/packages/ui/src/lib/i18n/messages/es.ts @@ -1227,7 +1227,6 @@ export const dict: Record = { "contextRail.surface.walkthrough.description": "Un recorrido por tus cambios guiado por IA", "walkthrough.scope.all": "Todo sin confirmar", "walkthrough.scope.group.workingTree": "Árbol de trabajo", - "walkthrough.scope.group.committed": "Confirmado", "walkthrough.scope.staged": "Preparados", "walkthrough.scope.working": "Sin preparar", "walkthrough.scope.branch": "Esta rama", diff --git a/packages/ui/src/lib/i18n/messages/fr.ts b/packages/ui/src/lib/i18n/messages/fr.ts index c0837ff5..31575e90 100644 --- a/packages/ui/src/lib/i18n/messages/fr.ts +++ b/packages/ui/src/lib/i18n/messages/fr.ts @@ -1045,7 +1045,6 @@ export const dict = { 'contextRail.surface.walkthrough.description': 'Un parcours de vos modifications guidé par l’IA', 'walkthrough.scope.all': 'Tout non validé', 'walkthrough.scope.group.workingTree': 'Copie de travail', - 'walkthrough.scope.group.committed': 'Validé', 'walkthrough.scope.staged': 'Indexées', 'walkthrough.scope.working': 'Non indexées', 'walkthrough.scope.branch': 'Cette branche', diff --git a/packages/ui/src/lib/i18n/messages/ja.ts b/packages/ui/src/lib/i18n/messages/ja.ts index 6deb5fbb..955c13c1 100644 --- a/packages/ui/src/lib/i18n/messages/ja.ts +++ b/packages/ui/src/lib/i18n/messages/ja.ts @@ -1223,7 +1223,6 @@ export const dict: Record = { 'contextRail.surface.walkthrough.description': 'AI による変更のガイド付きウォークスルー', 'walkthrough.scope.all': '未コミットすべて', 'walkthrough.scope.group.workingTree': '作業ツリー', - 'walkthrough.scope.group.committed': 'コミット済み', 'walkthrough.scope.staged': 'ステージ済み', 'walkthrough.scope.working': '未ステージ', 'walkthrough.scope.branch': 'このブランチ', diff --git a/packages/ui/src/lib/i18n/messages/ko.ts b/packages/ui/src/lib/i18n/messages/ko.ts index bc7ee0f3..908c5ef1 100644 --- a/packages/ui/src/lib/i18n/messages/ko.ts +++ b/packages/ui/src/lib/i18n/messages/ko.ts @@ -1227,7 +1227,6 @@ export const dict: Record = { 'contextRail.surface.walkthrough.description': 'AI가 안내하는 변경 사항 워크스루', 'walkthrough.scope.all': '커밋되지 않은 전체', 'walkthrough.scope.group.workingTree': '작업 트리', - 'walkthrough.scope.group.committed': '커밋됨', 'walkthrough.scope.staged': '스테이지됨', 'walkthrough.scope.working': '스테이지 안 됨', 'walkthrough.scope.branch': '이 브랜치', diff --git a/packages/ui/src/lib/i18n/messages/pl.ts b/packages/ui/src/lib/i18n/messages/pl.ts index a27e5db5..839282e8 100644 --- a/packages/ui/src/lib/i18n/messages/pl.ts +++ b/packages/ui/src/lib/i18n/messages/pl.ts @@ -1563,7 +1563,6 @@ export const dict: Record = { 'contextRail.surface.walkthrough.description': 'Przewodnik po zmianach prowadzony przez AI', 'walkthrough.scope.all': 'Wszystko niezatwierdzone', 'walkthrough.scope.group.workingTree': 'Drzewo robocze', - 'walkthrough.scope.group.committed': 'Zatwierdzone', 'walkthrough.scope.staged': 'W poczekalni', 'walkthrough.scope.working': 'Poza poczekalnią', 'walkthrough.scope.branch': 'Ta gałąź', diff --git a/packages/ui/src/lib/i18n/messages/pt-BR.ts b/packages/ui/src/lib/i18n/messages/pt-BR.ts index 513f7676..b1a9a56e 100644 --- a/packages/ui/src/lib/i18n/messages/pt-BR.ts +++ b/packages/ui/src/lib/i18n/messages/pt-BR.ts @@ -1227,7 +1227,6 @@ export const dict: Record = { "contextRail.surface.walkthrough.description": "Um percurso pelas suas mudanças guiado por IA", "walkthrough.scope.all": "Tudo sem commit", "walkthrough.scope.group.workingTree": "Árvore de trabalho", - "walkthrough.scope.group.committed": "Com commit", "walkthrough.scope.staged": "No stage", "walkthrough.scope.working": "Fora do stage", "walkthrough.scope.branch": "Este branch", diff --git a/packages/ui/src/lib/i18n/messages/tr.ts b/packages/ui/src/lib/i18n/messages/tr.ts index ea2ce7cc..e55c647b 100644 --- a/packages/ui/src/lib/i18n/messages/tr.ts +++ b/packages/ui/src/lib/i18n/messages/tr.ts @@ -1202,7 +1202,6 @@ export const dict = { 'contextRail.surface.walkthrough.description': 'Değişikliklerinin AI rehberliğindeki inceleme turu', 'walkthrough.scope.all': 'Commit edilmemiş tüm değişiklikler', 'walkthrough.scope.group.workingTree': 'Working tree', - 'walkthrough.scope.group.committed': 'Commit edilmiş', 'walkthrough.scope.staged': 'Stage\'lenmiş', 'walkthrough.scope.working': 'Stage\'lenmemiş', 'walkthrough.scope.branch': 'Bu branch', diff --git a/packages/ui/src/lib/i18n/messages/uk.ts b/packages/ui/src/lib/i18n/messages/uk.ts index 2da0f46d..aceeaf17 100644 --- a/packages/ui/src/lib/i18n/messages/uk.ts +++ b/packages/ui/src/lib/i18n/messages/uk.ts @@ -1227,7 +1227,6 @@ export const dict: Record = { "contextRail.surface.walkthrough.description": "Покроковий розбір ваших змін за допомогою AI", "walkthrough.scope.all": "Усе незакомічене", "walkthrough.scope.group.workingTree": "Робоче дерево", - "walkthrough.scope.group.committed": "Закомічене", "walkthrough.scope.staged": "В індексі", "walkthrough.scope.working": "Поза індексом", "walkthrough.scope.branch": "Ця гілка", diff --git a/packages/ui/src/lib/i18n/messages/zh-CN.ts b/packages/ui/src/lib/i18n/messages/zh-CN.ts index 31b0bd9c..2fca8031 100644 --- a/packages/ui/src/lib/i18n/messages/zh-CN.ts +++ b/packages/ui/src/lib/i18n/messages/zh-CN.ts @@ -1227,7 +1227,6 @@ export const dict: Record = { 'contextRail.surface.walkthrough.description': '由 AI 引导的改动导读', 'walkthrough.scope.all': '全部未提交', 'walkthrough.scope.group.workingTree': '工作区', - 'walkthrough.scope.group.committed': '已提交', 'walkthrough.scope.staged': '已暂存', 'walkthrough.scope.working': '未暂存', 'walkthrough.scope.branch': '当前分支', diff --git a/packages/ui/src/lib/i18n/messages/zh-TW.ts b/packages/ui/src/lib/i18n/messages/zh-TW.ts index 48c8f8f4..b2af1cf1 100644 --- a/packages/ui/src/lib/i18n/messages/zh-TW.ts +++ b/packages/ui/src/lib/i18n/messages/zh-TW.ts @@ -1239,7 +1239,6 @@ export const dict: Record = { 'contextRail.surface.walkthrough.description': '由 AI 引導的變更導讀', 'walkthrough.scope.all': '全部未提交', 'walkthrough.scope.group.workingTree': '工作區', - 'walkthrough.scope.group.committed': '已提交', 'walkthrough.scope.staged': '已暫存', 'walkthrough.scope.working': '未暫存', 'walkthrough.scope.branch': '目前分支',