Fix issue where strings were not getting called in French

This commit is contained in:
Dominic Pepin 2022-04-23 07:56:14 -06:00
parent d1bee98abb
commit fad96f497d
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ struct MainWindow: View {
switch alertType {
case let .cancelInstall(xcode):
return Alert(
title: Text(String(format: "Alert.CancelInstall.Title", xcode.description)),
title: Text(String(format: localizeString("Alert.CancelInstall.Title"), xcode.description)),
message: Text("Alert.CancelInstall.Message"),
primaryButton: .destructive(
Text("Alert.CancelInstall.PrimaryButton"),

View file

@ -21,7 +21,7 @@ struct AdvancedPreferencePane: View {
Image(systemName: "arrow.right.circle.fill")
}
.buttonStyle(PlainButtonStyle())
.help("Reveal in Finder")
.help("RevealInFinder")
.fixedSize()
}
Button("Change") {