From c1368212dfe08f3c0586cbefcace26c329c31d90 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 30 Nov 2024 19:25:20 +0800 Subject: [PATCH] feature: change the `CONTINUE` button to `SplitButton` to support editing/splitting original commit (#767) 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/Resources/Styles.axaml | 60 +++++++++++++++++++++++++++++++ src/Views/WorkingCopy.axaml | 25 +++++++------ 5 files changed, 78 insertions(+), 10 deletions(-) diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index fd42b0f5..d06635eb 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -680,6 +680,7 @@ COMMIT & PUSH Template/Histories Trigger click event + Commit (Edit) Stage all changes and commit Empty commit detected! Do you want to continue (--allow-empty)? CONFLICTS DETECTED diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index a5af3400..9cf0eedf 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -684,6 +684,7 @@ 提交并推送 历史输入/模板 触发点击事件 + 提交(修改原始提交) 自动暂存所有变更并提交 提交未包含变更文件!是否继续(--allow-empty)? 检测到冲突 diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml index bf8b32e1..920d9114 100644 --- a/src/Resources/Locales/zh_TW.axaml +++ b/src/Resources/Locales/zh_TW.axaml @@ -683,6 +683,7 @@ 提交並推送 歷史輸入/範本 觸發點擊事件 + 提交(修改現有提交) 自動暫存全部變更並提交 未包含任何檔案變更! 您是否仍要提交 (--allow-empty)? 檢測到衝突 diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml index 6ea2af10..a42b2cb8 100644 --- a/src/Resources/Styles.axaml +++ b/src/Resources/Styles.axaml @@ -519,6 +519,66 @@ + + + + + + +