mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-12-23 03:40:08 +01:00
🐛 Fix translation string (#185)
This ensures that the "failed to check for update" modal now displays the correct localized string.
This commit is contained in:
@@ -161,14 +161,14 @@ class AppUpdateChecker {
|
|||||||
private static func notifyAboutConnectionIssue() {
|
private static func notifyAboutConnectionIssue() {
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
BetterAlert().withInformation(
|
BetterAlert().withInformation(
|
||||||
title: "updater.errors.cannot_check_for_update.title".localized,
|
title: "updater.alerts.cannot_check_for_update.title".localized,
|
||||||
subtitle: "updater.errors.cannot_check_for_update.subtitle".localized,
|
subtitle: "updater.alerts.cannot_check_for_update.subtitle".localized,
|
||||||
description: "updater.errors.cannot_check_for_update.description".localized(
|
description: "updater.alerts.cannot_check_for_update.description".localized(
|
||||||
App.version
|
App.version
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.withTertiary(
|
.withTertiary(
|
||||||
text: "updater.errors.buttons.releases_on_github".localized,
|
text: "updater.alerts.buttons.releases_on_github".localized,
|
||||||
action: { _ in
|
action: { _ in
|
||||||
NSWorkspace.shared.open(Constants.Urls.GitHubReleases)
|
NSWorkspace.shared.open(Constants.Urls.GitHubReleases)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user