fix<Preference>: correct resource path in Preference.xaml.cs

This commit is contained in:
sourcegit-scm 2023-05-22 18:32:23 +08:00 committed by GitHub
parent 36e682d429
commit a39b44ea2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ namespace SourceGit.Views {
private void SelectGPGExec(object sender, RoutedEventArgs e) {
var dialog = new OpenFileDialog();
dialog.Filter = $"GPG Executable|gpg.exe";
dialog.Title = App.Text("Text.GPG.Path.Placeholder");
dialog.Title = App.Text("GPG.Path.Placeholder");
dialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
dialog.CheckFileExists = true;