Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions NotchWatch/Localization.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ enum Strings {
l == .en ? "Language" : "Langue"
}

static func settingsWindowTitle(_ l: AppLanguage) -> String {
l == .en ? "Settings" : "Reglages"
}

static func versionLabel(_ version: String, _ l: AppLanguage) -> String {
"NotchWatch \u{2022} version \(version)"
}
Expand Down
2 changes: 1 addition & 1 deletion NotchWatch/NotchWatchApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct NotchWatchApp: App {
}
.menuBarExtraStyle(.window)

Window("Reglages", id: "settings") {
Window(Strings.settingsWindowTitle(languageManager.language), id: "settings") {
SettingsView()
.environmentObject(tracker)
}
Expand Down
Loading