diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index 85ac9f1b..e1220d5f 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -96,8 +96,8 @@ Checkout Commit Compare with HEAD Compare with Worktree - Copy SHA Copy Info + Copy SHA Interactive Rebase ${0}$ to Here Rebase ${0}$ to Here Reset ${0}$ to Here diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index cc4512cf..92cfe42f 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -99,6 +99,7 @@ 检出此提交 与当前HEAD比较 与本地工作树比较 + 复制简要信息 复制提交指纹 交互式变基(rebase -i) ${0}$ 到此处 变基(rebase) ${0}$ 到此处 diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml index a5a68398..56e26678 100644 --- a/src/Resources/Locales/zh_TW.axaml +++ b/src/Resources/Locales/zh_TW.axaml @@ -99,6 +99,7 @@ 檢出此提交 與當前HEAD比較 與本地工作樹比較 + 複製簡要資訊 複製提交指紋 互動式變基(rebase -i) ${0}$ 到此處 變基(rebase) ${0}$ 到此處 diff --git a/src/ViewModels/Histories.cs b/src/ViewModels/Histories.cs index 71f3b6f0..e66f1415 100644 --- a/src/ViewModels/Histories.cs +++ b/src/ViewModels/Histories.cs @@ -441,7 +441,7 @@ namespace SourceGit.ViewModels copyInfo.Icon = App.CreateMenuIcon("Icons.Copy"); copyInfo.Click += (_, e) => { - App.CopyText($"{commit.SHA[..7]} - {commit.Subject}"); + App.CopyText($"{commit.SHA.Substring(0, 10)} - {commit.Subject}"); e.Handled = true; }; menu.Items.Add(copyInfo);