From eced2e09bd879b7f7ef72111c4b53b0b7bd3cb81 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 5 May 2024 18:47:02 +0800 Subject: [PATCH] ux: show tips if user is about to delete a remote branch (#99) --- src/Resources/Locales/en_US.axaml | 1 + src/Resources/Locales/zh_CN.axaml | 1 + src/Views/DeleteBranch.axaml | 21 ++++++++++++++++----- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index 0f3fac65..89cf0ddd 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -120,6 +120,7 @@ Cut Delete Branch Branch : + You are about to delete a remote branch!!! Delete Remote Remote : Target : diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index a5c487b3..9cbd77d4 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -120,6 +120,7 @@ 剪切 删除分支确认 分支名 : + 您正在删除远程上的分支,请务必小心!!! 删除远程确认 远程名 : 目标 : diff --git a/src/Views/DeleteBranch.axaml b/src/Views/DeleteBranch.axaml index 7280a636..0427c271 100644 --- a/src/Views/DeleteBranch.axaml +++ b/src/Views/DeleteBranch.axaml @@ -11,10 +11,21 @@ - - - - - + + + + + + + + + + + +