From 0e2bb1b27620795845694fbee99791d0b72687ef Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 19 May 2025 12:21:50 +0800 Subject: [PATCH 1/2] 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 @@ - + + + + + + Date: Mon, 19 May 2025 04:22:07 +0000 Subject: [PATCH 2/2] doc: Update translation status and sort locale files --- TRANSLATION.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/TRANSLATION.md b/TRANSLATION.md index 1a9d00d1..b01d0b3c 100644 --- a/TRANSLATION.md +++ b/TRANSLATION.md @@ -6,11 +6,12 @@ This document shows the translation status of each locale file in the repository ### ![en_US](https://img.shields.io/badge/en__US-%E2%88%9A-brightgreen) -### ![de__DE](https://img.shields.io/badge/de__DE-98.23%25-yellow) +### ![de__DE](https://img.shields.io/badge/de__DE-98.10%25-yellow)
Missing keys in de_DE.axaml +- Text.CommitDetail.Changes.Count - Text.GitFlow.FinishWithPush - Text.GitFlow.FinishWithSquash - Text.Hotkeys.Global.SwitchWorkspace @@ -28,11 +29,12 @@ This document shows the translation status of each locale file in the repository
-### ![es__ES](https://img.shields.io/badge/es__ES-99.49%25-yellow) +### ![es__ES](https://img.shields.io/badge/es__ES-99.37%25-yellow)
Missing keys in es_ES.axaml +- Text.CommitDetail.Changes.Count - Text.Hotkeys.Global.SwitchWorkspace - Text.Hotkeys.Global.SwitchTab - Text.Launcher.Workspaces @@ -40,7 +42,7 @@ This document shows the translation status of each locale file in the repository
-### ![fr__FR](https://img.shields.io/badge/fr__FR-94.05%25-yellow) +### ![fr__FR](https://img.shields.io/badge/fr__FR-93.93%25-yellow)
Missing keys in fr_FR.axaml @@ -56,6 +58,7 @@ This document shows the translation status of each locale file in the repository - Text.CommitCM.CopyAuthor - Text.CommitCM.CopyCommitter - Text.CommitCM.CopySubject +- Text.CommitDetail.Changes.Count - Text.CommitMessageTextBox.SubjectCount - Text.Configure.Git.PreferredMergeMode - Text.ConfirmEmptyCommit.Continue @@ -95,11 +98,12 @@ This document shows the translation status of each locale file in the repository
-### ![it__IT](https://img.shields.io/badge/it__IT-99.49%25-yellow) +### ![it__IT](https://img.shields.io/badge/it__IT-99.37%25-yellow)
Missing keys in it_IT.axaml +- Text.CommitDetail.Changes.Count - Text.Hotkeys.Global.SwitchWorkspace - Text.Hotkeys.Global.SwitchTab - Text.Launcher.Workspaces @@ -107,7 +111,7 @@ This document shows the translation status of each locale file in the repository
-### ![ja__JP](https://img.shields.io/badge/ja__JP-93.80%25-yellow) +### ![ja__JP](https://img.shields.io/badge/ja__JP-93.68%25-yellow)
Missing keys in ja_JP.axaml @@ -123,6 +127,7 @@ This document shows the translation status of each locale file in the repository - Text.CommitCM.CopyAuthor - Text.CommitCM.CopyCommitter - Text.CommitCM.CopySubject +- Text.CommitDetail.Changes.Count - Text.CommitMessageTextBox.SubjectCount - Text.Configure.Git.PreferredMergeMode - Text.ConfirmEmptyCommit.Continue @@ -164,7 +169,7 @@ This document shows the translation status of each locale file in the repository
-### ![pt__BR](https://img.shields.io/badge/pt__BR-85.57%25-yellow) +### ![pt__BR](https://img.shields.io/badge/pt__BR-85.46%25-yellow)
Missing keys in pt_BR.axaml @@ -192,6 +197,7 @@ This document shows the translation status of each locale file in the repository - Text.CommitCM.CopySubject - Text.CommitCM.Merge - Text.CommitCM.MergeMultiple +- Text.CommitDetail.Changes.Count - Text.CommitDetail.Files.Search - Text.CommitDetail.Info.Children - Text.CommitMessageTextBox.SubjectCount @@ -286,17 +292,18 @@ This document shows the translation status of each locale file in the repository
-### ![ru__RU](https://img.shields.io/badge/ru__RU-99.75%25-yellow) +### ![ru__RU](https://img.shields.io/badge/ru__RU-99.62%25-yellow)
Missing keys in ru_RU.axaml +- Text.CommitDetail.Changes.Count - Text.Hotkeys.Global.SwitchTab - Text.Launcher.Pages
-### ![ta__IN](https://img.shields.io/badge/ta__IN-94.05%25-yellow) +### ![ta__IN](https://img.shields.io/badge/ta__IN-93.93%25-yellow)
Missing keys in ta_IN.axaml @@ -312,6 +319,7 @@ This document shows the translation status of each locale file in the repository - Text.CommitCM.CopyAuthor - Text.CommitCM.CopyCommitter - Text.CommitCM.CopySubject +- Text.CommitDetail.Changes.Count - Text.CommitMessageTextBox.SubjectCount - Text.Configure.Git.PreferredMergeMode - Text.ConfirmEmptyCommit.Continue @@ -351,7 +359,7 @@ This document shows the translation status of each locale file in the repository
-### ![uk__UA](https://img.shields.io/badge/uk__UA-95.19%25-yellow) +### ![uk__UA](https://img.shields.io/badge/uk__UA-95.07%25-yellow)
Missing keys in uk_UA.axaml @@ -367,6 +375,7 @@ This document shows the translation status of each locale file in the repository - Text.CommitCM.CopyAuthor - Text.CommitCM.CopyCommitter - Text.CommitCM.CopySubject +- Text.CommitDetail.Changes.Count - Text.CommitMessageTextBox.SubjectCount - Text.ConfigureWorkspace.Name - Text.GitFlow.FinishWithPush