diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml
index 2090693a..52e7a0b4 100644
--- a/src/Resources/Locales/en_US.axaml
+++ b/src/Resources/Locales/en_US.axaml
@@ -524,6 +524,8 @@
Stage
Unstage
Initialize Repository
+ Do you want to run `git init` command under this path?
+ Open repository failed. Reason:
Path:
Cherry-Pick in progress.
Processing commit
diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml
index bbf3d21d..41e870a0 100644
--- a/src/Resources/Locales/zh_CN.axaml
+++ b/src/Resources/Locales/zh_CN.axaml
@@ -528,6 +528,8 @@
暂存
移出暂存区
初始化新仓库
+ 是否在该路径下执行 `git init` 命令(初始化仓库)?
+ 打开本地仓库失败,原因:
路径 :
挑选(Cherry-Pick)操作进行中。
正在处理提交
diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml
index 9fec4643..963e1123 100644
--- a/src/Resources/Locales/zh_TW.axaml
+++ b/src/Resources/Locales/zh_TW.axaml
@@ -528,6 +528,8 @@
暫存
取消暫存
初始化存放庫
+ 在該路徑執行 git init 以初始化 git 倉庫?
+ 無法在指定路徑開啟本機儲存庫。原因:
路徑:
揀選 (cherry-pick) 操作進行中。
正在處理提交
diff --git a/src/ViewModels/Init.cs b/src/ViewModels/Init.cs
index f6740d0f..338ee606 100644
--- a/src/ViewModels/Init.cs
+++ b/src/ViewModels/Init.cs
@@ -21,7 +21,9 @@ namespace SourceGit.ViewModels
_pageId = pageId;
_targetPath = path;
_parentNode = parent;
- Reason = string.IsNullOrEmpty(reason) ? "Invalid repository detected!" : reason;
+
+ Reason = string.IsNullOrEmpty(reason) ? "unknown error" : reason;
+ Reason = Reason.Trim();
}
public override async Task Sure()
diff --git a/src/Views/Init.axaml b/src/Views/Init.axaml
index e0ea1a27..a83ea507 100644
--- a/src/Views/Init.axaml
+++ b/src/Views/Init.axaml
@@ -16,11 +16,12 @@
Classes="bold"
Text="{DynamicResource Text.Init}"/>
-
+
+
+
+
+
+
+
+