feat(changes): 页签名「文件变动」改为「Git」

这个页签装的就是仓库视角(暂存 / 提交 / 历史 / 工作树),「文件变动」这个名字
没有把它和文件树区分开;改成「Git」后一眼能认出这是 Git 面板,也和里面第一个
镜头名对齐。21 份词典里的页签名是同一个语言中立的值,一起改。

- README 中英双语的徽章、能力表与特性条目同步(顺带把图片 alt 也改成 Git,
  否则无障碍名还在念旧标题)。
- `tests/locales.spec.ts` 里那条「切换 zh 后读到中文」的断言换了个键:
  `changes` 现在是语言中立值,两种词典相同,拿它证明不了语言已切到中文,
  改用 `explorer`(资源管理器)这个仍然分语言的键,断言意图不变。
- `tests/builtins.spec.ts` 新增一条页签标题断言,把这个名字钉住。
- `tests/e2e/tree-scroll.e2e.ts` 的页签选择器改走宿主的 tab strip
  (`[data-dockkit-strip] [role="tab"]`)而不是纯文本匹配:页签名变成 "Git"
  之后,页签内部的镜头切换器上也有同一个词,纯文本过滤会数出两个元素。
This commit is contained in:
vlln committed 2026-10-15 20:19:35 -07:00
1 parent c765c3eb49
commit 1718d2bdfa
25 files changed
+40 -28

No files matched your search

+1 -1
View File
@@ -234,7 +234,7 @@ export const ar: Record<string, string> = {
worktree: 'شجرة العمل',
checkoutError: 'فشل تبديل الفرع',
history: 'السجل',
changes: 'تغييرات الملفات',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'الجلسة',
changesFilterAll: 'الكل',
+1 -1
View File
@@ -219,7 +219,7 @@ export const de: Record<string, string> = {
worktree: 'Worktree',
checkoutError: 'Branchenwechsel fehlgeschlagen',
history: 'Verlauf',
changes: 'Dateiänderungen',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Sitzung',
changesFilterAll: 'Alle',
+1 -1
View File
@@ -226,7 +226,7 @@ export const fr: Record<string, string> = {
worktree: 'Arborescence de travail',
checkoutError: 'Échec du changement de branche',
history: 'Historique',
changes: 'Modifications',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Session',
changesFilterAll: 'Tout',
+1 -1
View File
@@ -233,7 +233,7 @@ export const hi: Record<string, string> = {
worktree: 'वर्कट्री',
checkoutError: 'ब्रांच स्विच विफल',
history: 'इतिहास',
changes: 'फ़ाइल परिवर्तन',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'सेशन',
changesFilterAll: 'सभी',
+1 -1
View File
@@ -231,7 +231,7 @@ export const id: Record<string, string> = {
worktree: 'Worktree',
checkoutError: 'Beralih branch gagal',
history: 'Riwayat',
changes: 'Perubahan berkas',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Sesi',
changesFilterAll: 'Semua',
+1 -1
View File
@@ -224,7 +224,7 @@ export const it: Record<string, string> = {
worktree: 'Albero di lavoro',
checkoutError: 'Cambio di ramo non riuscito',
history: 'Cronologia',
changes: 'Modifiche',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Sessione',
changesFilterAll: 'Tutti',
+1 -1
View File
@@ -233,7 +233,7 @@ export const ja: Record<string, string> = {
worktree: 'ワークツリー',
checkoutError: 'ブランチ切り替えに失敗',
history: '履歴',
changes: 'ファイル変更',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'セッション',
changesFilterAll: 'すべて',
+1 -1
View File
@@ -225,7 +225,7 @@ export const ko: Record<string, string> = {
worktree: '워크트리',
checkoutError: '브랜치 전환 실패',
history: '기록',
changes: '파일 변경',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: '세션',
changesFilterAll: '모두',
+1 -1
View File
@@ -231,7 +231,7 @@ export const nl: Record<string, string> = {
worktree: 'Worktree',
checkoutError: 'Wisselen van branch mislukt',
history: 'Geschiedenis',
changes: 'Bestandswijzigingen',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Sessie',
changesFilterAll: 'Alles',
+1 -1
View File
@@ -235,7 +235,7 @@ export const pl: Record<string, string> = {
worktree: 'Drzewo robocze',
checkoutError: 'Przełączenie gałęzi nie powiodło się',
history: 'Historia',
changes: 'Zmiany plików',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Sesja',
changesFilterAll: 'Wszystko',
+1 -1
View File
@@ -216,7 +216,7 @@ export const pt: Record<string, string> = {
worktree: 'Worktree',
checkoutError: 'Falha ao alternar de branch',
history: 'Histórico',
changes: 'Alterações',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Sessão',
changesFilterAll: 'Tudo',
+1 -1
View File
@@ -229,7 +229,7 @@ export const ru: Record<string, string> = {
worktree: 'Рабочее дерево',
checkoutError: 'Сбой переключения ветки',
history: 'История',
changes: 'Изменения файлов',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Сессия',
changesFilterAll: 'Все',
+1 -1
View File
@@ -216,7 +216,7 @@ export const sv: Record<string, string> = {
worktree: 'Arbetsträd',
checkoutError: 'Grenbyte misslyckades',
history: 'Historik',
changes: 'Filändringar',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Session',
changesFilterAll: 'Alla',
+1 -1
View File
@@ -233,7 +233,7 @@ export const th: Record<string, string> = {
worktree: 'เวิร์กทรี',
checkoutError: 'สลับ branch ล้มเหลว',
history: 'ประวัติ',
changes: 'การเปลี่ยนแปลงไฟล์',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'เซสชัน',
changesFilterAll: 'ทั้งหมด',
+1 -1
View File
@@ -233,7 +233,7 @@ export const tr: Record<string, string> = {
worktree: 'Çalışma ağacı',
checkoutError: 'Dal değiştirme başarısız',
history: 'Geçmiş',
changes: 'Dosya değişiklikleri',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Oturum',
changesFilterAll: 'Tümü',
+1 -1
View File
@@ -233,7 +233,7 @@ export const vi: Record<string, string> = {
worktree: 'Worktree',
checkoutError: 'Chuyển branch thất bại',
history: 'Lịch sử',
changes: 'Thay đổi tệp',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Phiên',
changesFilterAll: 'Tất cả',
+1 -1
View File
@@ -248,7 +248,7 @@ export const zhHK: Record<string, string> = {
worktree: '工作樹',
checkoutError: '切換分支失敗',
history: '歷史',
changes: '檔案變動',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: '本輪檔案',
changesFilterAll: '全部',
+1 -1
View File
@@ -248,7 +248,7 @@ export const zhMO: Record<string, string> = {
worktree: '工作樹',
checkoutError: '切換分支失敗',
history: '歷史',
changes: '檔案變動',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: '本輪檔案',
changesFilterAll: '全部',
+1 -1
View File
@@ -248,7 +248,7 @@ export const zhTW: Record<string, string> = {
worktree: '工作樹',
checkoutError: '切換分支失敗',
history: '歷史',
changes: '檔案變動',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: '本輪檔案',
changesFilterAll: '全部',
+2 -2
View File
@@ -244,7 +244,7 @@ export const zh = {
worktree: '工作树',
checkoutError: '切换分支失败',
history: '历史',
changes: '文件变动',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: '本轮文件',
changesFilterAll: '全部',
@@ -846,7 +846,7 @@ export const en: Record<keyof typeof zh, string> = {
worktree: 'Worktree',
checkoutError: 'Branch switch failed',
history: 'History',
changes: 'Changes',
changes: 'Git',
changesGitLens: 'Git',
changesSessionLens: 'Session',
changesFilterAll: 'All',