From 48f950fc3a0461ef8a2b12a85a7d93bdd684a3cd Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Sun, 14 Aug 2022 22:22:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20translation=20string=20(#1?= =?UTF-8?q?85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This ensures that the "failed to check for update" modal now displays the correct localized string. --- phpmon/Domain/App/AppUpdateChecker.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpmon/Domain/App/AppUpdateChecker.swift b/phpmon/Domain/App/AppUpdateChecker.swift index 4620ccd..7ac48da 100644 --- a/phpmon/Domain/App/AppUpdateChecker.swift +++ b/phpmon/Domain/App/AppUpdateChecker.swift @@ -161,14 +161,14 @@ class AppUpdateChecker { private static func notifyAboutConnectionIssue() { DispatchQueue.main.async { BetterAlert().withInformation( - title: "updater.errors.cannot_check_for_update.title".localized, - subtitle: "updater.errors.cannot_check_for_update.subtitle".localized, - description: "updater.errors.cannot_check_for_update.description".localized( + title: "updater.alerts.cannot_check_for_update.title".localized, + subtitle: "updater.alerts.cannot_check_for_update.subtitle".localized, + description: "updater.alerts.cannot_check_for_update.description".localized( App.version ) ) .withTertiary( - text: "updater.errors.buttons.releases_on_github".localized, + text: "updater.alerts.buttons.releases_on_github".localized, action: { _ in NSWorkspace.shared.open(Constants.Urls.GitHubReleases) }