From 0e2bb1b27620795845694fbee99791d0b72687ef Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 19 May 2025 12:21:50 +0800 Subject: [PATCH] feature: show commit changes count (#1306) Signed-off-by: leo --- src/Resources/Locales/en_US.axaml | 1 + src/Resources/Locales/zh_CN.axaml | 1 + src/Resources/Locales/zh_TW.axaml | 1 + src/Views/CommitChanges.axaml | 11 ++++++++++- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index bb259272..19abf96b 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -124,6 +124,7 @@ Squash into Parent Squash Children into Here CHANGES + {0} changed file(s) Search Changes... FILES LFS File diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index 18569a14..6cd76db0 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -128,6 +128,7 @@ 合并此提交到上一个提交 合并之后的提交到此处 变更对比 + {0} 个文件发生变更 查找变更... 文件列表 LFS文件 diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml index ded99a14..c05587c6 100644 --- a/src/Resources/Locales/zh_TW.axaml +++ b/src/Resources/Locales/zh_TW.axaml @@ -128,6 +128,7 @@ 合併此提交到上一個提交 合併之後的提交到此處 變更對比 + 更改了 {0} 個檔案 搜尋變更... 檔案列表 LFS 檔案 diff --git a/src/Views/CommitChanges.axaml b/src/Views/CommitChanges.axaml index 80f96c48..3e31cc15 100644 --- a/src/Views/CommitChanges.axaml +++ b/src/Views/CommitChanges.axaml @@ -4,6 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vm="using:SourceGit.ViewModels" xmlns:v="using:SourceGit.Views" + xmlns:c="using:SourceGit.Converters" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="SourceGit.Views.CommitChanges" x:DataType="vm:CommitDetail"> @@ -14,7 +15,7 @@ - + + + + + +