diff --git a/src/App.axaml b/src/App.axaml index 87f915a5..1f3a66e0 100644 --- a/src/App.axaml +++ b/src/App.axaml @@ -33,6 +33,7 @@ + diff --git a/src/App.axaml.cs b/src/App.axaml.cs index be379e54..f09f9de2 100644 --- a/src/App.axaml.cs +++ b/src/App.axaml.cs @@ -109,6 +109,11 @@ namespace SourceGit dialog.ShowDialog(toplevel); }); + public static readonly SimpleCommand OpenAppDataDirCommand = new SimpleCommand(() => + { + Native.OS.OpenInFileManager(Native.OS.DataDir); + }); + public static readonly SimpleCommand OpenAboutCommand = new SimpleCommand(() => { var toplevel = GetTopLevel() as Window; diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index c3ce9f2a..37d046de 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -345,6 +345,7 @@ Name: Git has NOT been configured. Please to go [Preference] and configure it first. NOTICE + Open App Data Dir SELECT FOLDER Open With... Optional. diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index 1603caf4..cbd82bd8 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -348,6 +348,7 @@ 名称 : GIT尚未配置。请打开【偏好设置】配置GIT路径。 系统提示 + 浏览应用数据目录 选择文件夹 打开文件... 选填。 diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml index 859a0136..75fd2753 100644 --- a/src/Resources/Locales/zh_TW.axaml +++ b/src/Resources/Locales/zh_TW.axaml @@ -348,6 +348,7 @@ 名稱 : GIT尚未配置。請開啟【偏好設定】配置GIT路徑。 系統提示 + 瀏覽程式資料目錄 選擇資料夾 開啟檔案... 選填。 diff --git a/src/Views/Launcher.axaml b/src/Views/Launcher.axaml index 4a3ff4c5..90a46717 100644 --- a/src/Views/Launcher.axaml +++ b/src/Views/Launcher.axaml @@ -41,6 +41,11 @@ + + + + +