1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 12:00:09 +02:00

🐛 Fix typo when PHP switch failed

This commit is contained in:
2022-06-19 13:08:15 +02:00
parent ea7572ffbb
commit 6801283597
2 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,8 @@ extension MainMenu {
let outcome = BetterAlert() let outcome = BetterAlert()
.withInformation( .withInformation(
title: "alert.php_switch_failed.title".localized(version), title: "alert.php_switch_failed.title".localized(version),
subtitle: "alert.php_switch_failed.info".localized(version) subtitle: "alert.php_switch_failed.info".localized(version),
description: "alert.php_switch_failed.desc".localized()
) )
.withPrimary(text: "alert.php_switch_failed.confirm".localized) .withPrimary(text: "alert.php_switch_failed.confirm".localized)
.withSecondary(text: "alert.php_switch_failed.cancel".localized) .withSecondary(text: "alert.php_switch_failed.cancel".localized)

View File

@ -318,7 +318,8 @@ problem manually, using your own Terminal app (this just shows you the output)."
// Suggest Fix My Valet // Suggest Fix My Valet
"alert.php_switch_failed.title" = "Switching to PHP %@ seems to have failed."; "alert.php_switch_failed.title" = "Switching to PHP %@ seems to have failed.";
"alert.php_switch_failed.info" = "PHP Monitor has detected that PHP %@ is not active after completing its switching procedure. You can try to run \"Fix My Valet\" and switch again after that. Do you want to try \"Fix My Valet\"?"; "alert.php_switch_failed.info" = "PHP Monitor has detected that PHP %@ is not active after completing its switching procedure. You can try to run \"Fix My Valet\" and switch again after that. Do you want to try this fix?";
"alert.php_switch_failed.desc" = "First off, you should try \"Fix My Valet\" if you haven't tried it yet. If PHP Monitor remains unable to change the active PHP version even after that, you may need to upgrade Valet and the Homebrew packages on your system. You can do this by running `brew update && brew upgrade` as well as upgrading Valet by running `composer global update && valet install`.";
"alert.php_switch_failed.confirm" = "Yes, run \"Fix My Valet\""; "alert.php_switch_failed.confirm" = "Yes, run \"Fix My Valet\"";
"alert.php_switch_failed.cancel" = "Do Not Run"; "alert.php_switch_failed.cancel" = "Do Not Run";