fix(ui): stop painting git activity dots on non-git rail surfaces

The badge PR inverted showActivityDot to !== 'git', so editor/terminal/diff
picked up the blue activity dot whenever git had changes. Git already shows
a numeric badge; other surfaces should stay quiet. Also split the count
aria/tooltip strings into singular/plural keys.

Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
Serhii Dziupin
2026-08-05 13:26:46 +00:00
co-authored by Serhii Dziupin
parent 9b7c032524
commit 341b4b45c8
12 changed files with 59 additions and 27 deletions
+4 -2
View File
@@ -1103,8 +1103,10 @@ export const dict: Record<I18nKey, string> = {
'contextPanel.editorEmpty.description': 'ツリーからファイルを選んで編集を始めましょう。',
'contextRail.surface.editor.description': 'プロジェクトのファイルを編集',
'contextRail.surface.git.description': 'コミット・ブランチ・プルリクエスト',
'contextRail.surface.git.changesCountAria': '{label}、変更ファイル{count}件',
'contextRail.surface.git.changesCountTooltip': '変更ファイル{count}件',
'contextRail.surface.git.changesCountAriaSingle': '{label}、変更ファイル{count}件',
'contextRail.surface.git.changesCountAriaPlural': '{label}、変更ファイル{count}件',
'contextRail.surface.git.changesCountTooltipSingle': '変更ファイル{count}件',
'contextRail.surface.git.changesCountTooltipPlural': '変更ファイル{count}件',
'contextRail.surface.terminal.description': '内蔵ターミナル',
'contextRail.surface.diff.description': '作業中の変更をレビュー',
'contextPanel.mode.walkthrough': 'ウォークスルー',