mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 12:00:09 +02:00
488 lines
34 KiB
Plaintext
488 lines
34 KiB
Plaintext
/*
|
||
Strings.strings
|
||
PHP Monitor
|
||
|
||
Created by Nico Verbruggen on 16/05/2020.
|
||
Copyright © 2022 Nico Verbruggen. All rights reserved.
|
||
*/
|
||
|
||
// MENU ITEMS (MI)
|
||
|
||
"mi_busy" = "PHP Monitor is busy...";
|
||
"mi_unsure" = "We are not sure what version of PHP you are running.";
|
||
"mi_php_version" = "You are running PHP";
|
||
"mi_php_switch" = "Switch to PHP";
|
||
"mi_php_broken_1" = "Oof! It appears your PHP installation is broken...";
|
||
"mi_php_broken_2" = "Try running `php -v` in your terminal.";
|
||
"mi_php_broken_3" = "You could also try switching to another version.";
|
||
"mi_php_broken_4" = "Running `brew reinstall php` (or for the equivalent version) might help.";
|
||
|
||
"mi_diagnostics" = "Diagnostics";
|
||
"mi_active_services" = "Active Services";
|
||
"mi_restart_php_fpm" = "Restart Service: php";
|
||
"mi_restart_nginx" = "Restart Service: nginx";
|
||
"mi_restart_dnsmasq" = "Restart Service: dnsmasq";
|
||
"mi_manage_services" = "Manage Services";
|
||
"mi_restart_valet_services" = "Restart Valet Services";
|
||
"mi_stop_valet_services" = "Stop Valet Services";
|
||
|
||
"mi_fix_my_valet" = "Fix My Valet...";
|
||
"mi_fix_my_valet_tooltip" = "Something wrong with your Valet installation? Try PHP Monitor’s automatic fixes that’ll get you back up and running in no time!";
|
||
"mi_fix_brew_permissions" = "Restore Homebrew Permissions...";
|
||
"mi_fix_brew_permissions_tooltip" = "Having permission issues when running `brew upgrade`? PHP Monitor to the rescue!";
|
||
|
||
"mi_php_refresh" = "Refresh Information";
|
||
|
||
"mi_configuration" = "PHP Configuration";
|
||
"mi_limits" = "Limits Configuration";
|
||
"mi_memory_limit" = "Memory Limit";
|
||
"mi_post_max_size" = "Max POST";
|
||
"mi_upload_max_filesize" = "Max Upload";
|
||
"mi_manual_actions" = "Manual Actions";
|
||
"mi_services" = "Services";
|
||
"mi_other" = "First Aid & Services";
|
||
"mi_first_aid" = "First Aid";
|
||
|
||
"mi_xdebug_mode" = "Manage Xdebug";
|
||
|
||
"mi_composer" = "Composer";
|
||
"mi_valet_config" = "Locate Valet Folder (.config/valet)";
|
||
"mi_php_config" = "Locate PHP Configuration File (php.ini)";
|
||
"mi_phpmon_config" = "Locate PHP Monitor Folder (.config/phpmon)";
|
||
"mi_global_composer" = "Locate Global Composer File (.composer)";
|
||
"mi_phpinfo" = "Show Current Configuration (phpinfo)";
|
||
"mi_update_global_composer" = "Update Global Composer Dependencies...";
|
||
"mi_detected_extensions" = "Detected Extensions";
|
||
"mi_no_extensions_detected" = "No additional extensions detected.";
|
||
|
||
"mi_valet" = "Laravel Valet";
|
||
"mi_domain_list" = "View Domains List...";
|
||
|
||
"mi_preferences" = "Preferences...";
|
||
"mi_donate" = "Donate...";
|
||
"mi_check_for_updates" = "Check for Updates...";
|
||
"mi_quit" = "Quit PHP Monitor";
|
||
"mi_about" = "About PHP Monitor";
|
||
|
||
"mi_presets_title" = "Configuration Presets";
|
||
"mi_apply_presets_title" = "Apply Configuration Presets";
|
||
"mi_revert_to_prev_config" = "Revert to Previous Configuration...";
|
||
"mi_profiles_loaded" = "%i profiles loaded from configuration file";
|
||
|
||
"mi_no_presets" = "No presets available.";
|
||
"mi_set_up_presets" = "Learn more about presets...";
|
||
|
||
"mi_xdebug_available_modes" = "Available Modes";
|
||
"mi_xdebug_actions" = "Actions";
|
||
"mi_xdebug_disable_all" = "Disable All Modes";
|
||
|
||
// PRESET LOADING
|
||
|
||
"preset_help_title" = "Working with Configuration Presets";
|
||
"preset_help_info" = "You can set up configuration presets in the config.json file, located in ~/.config/phpmon/config.json. These presets can apply a selection of configuration values all at once. This is a powerful feature, but currently needs to be set up manually.";
|
||
"preset_help_desc" = "After restarting PHP Monitor, all presets found in the file will be loaded. If no presets appear, the file probably could not be parsed correctly.\n\nYou can click the question mark in this alert to go to the FAQ on GitHub, where you can find more information about this feature, including a sample file.";
|
||
|
||
// MENU ITEMS (if window is open)
|
||
|
||
"mm_add_folder_as_link" = "Add Folder as Link...";
|
||
"mm_reload_domain_list" = "Reload Domains List";
|
||
"mm_find_in_domain_list" = "Search in Domains List";
|
||
|
||
// SITE LIST
|
||
|
||
"domain_list.title" = "Domains";
|
||
"domain_list.subtitle" = "";
|
||
|
||
"domain_list.tooltips.isolated" = "This domain is isolated and using PHP %@ instead of the globally linked PHP.";
|
||
"domain_list.tooltips.checkmark" = "This domain is being served with a version of PHP that is compatible with this requirement (PHP %@). Click on the PHP version next to this checkmark to find out more information about how this requirement was determined.";
|
||
|
||
"domain_list.alerts_isolation_failed.title" = "Oops! Site Not Isolated";
|
||
"domain_list.alerts_isolation_failed.subtitle" = "Something went wrong trying to isolate this site. If this is your default site but it is not linked, I recommend manually linking the site prior to setting up isolation.";
|
||
"domain_list.alerts_isolation_failed.desc" = "To find out what goes wrong, you can try running the command in your terminal manually: %@";
|
||
|
||
"domain_list.alerts_status_not_changed.title" = "Oops! SSL Status Not Changed";
|
||
"domain_list.alerts_status_not_changed.desc" = "Something went wrong. Try running the command in your terminal manually: %@";
|
||
|
||
"domain_list.alerts_status_changed.title" = "SSL Status Changed";
|
||
"domain_list.alerts_status_changed.desc" = "The domain '%@' is now %@.";
|
||
|
||
"domain_list.confirm_unlink" = "Are you sure you want to unlink '%@'?";
|
||
"domain_list.confirm_unlink_desc" = "No files will be removed. You can always link the folder again by clicking on the + button and selecting the original folder.";
|
||
"site_link.close" = "Close";
|
||
"site_link.switch_to_php" = "Switch to PHP %@";
|
||
|
||
"domain_list.confirm_unproxy" = "Are you sure you want to remove the proxy '%@'?";
|
||
"domain_list.confirm_unproxy_desc" = "You can always recreate proxy the again by clicking on the + button.";
|
||
|
||
// CHOOSE WHAT TO ADD
|
||
|
||
"selection.title" = "What kind of domain would you like to set up?";
|
||
"selection.description" = "Links are used to directly serve projects. If you have a Laravel, Symfony, WordPress, etc. folder with code, you'll want to create a link and choose the folder where your code lives.\n\nIf you are in need of a proxy, you can proxy e.g. a container to a particular domain name. This can be useful in combination with Docker, for example.";
|
||
"selection.create_link" = "Create a Link";
|
||
"selection.create_proxy" = "Create a Proxy";
|
||
"selection.cancel" = "Cancel";
|
||
|
||
// ADD PROXY TO DOMAINS LIST
|
||
|
||
"domain_list.add.set_up_proxy" = "Set up a Proxy";
|
||
"domain_list.add.proxy_subject" = "Proxy subject (must include protocol and port)";
|
||
"domain_list.add.domain_name" = "Domain name";
|
||
"domain_list.add.create_proxy" = "Create Proxy";
|
||
"domain_list.add.proxy_available" = "%@ will be proxied and will be available via: %@://%@.%@";
|
||
|
||
// ADD SITE TO DOMAINS LIST
|
||
|
||
"domain_list.add.link_folder" = "Link a Folder";
|
||
"domain_list.add.domain_name_placeholder" = "Enter a domain name here";
|
||
"domain_list.add.secure_after_creation" = "Secure %@.%@ after creation";
|
||
"domain_list.add.secure_description" = "Securing a domain requires administrative privileges.\nYou may be prompted for your password or Touch ID.";
|
||
"domain_list.add.create_link" = "Create Link";
|
||
"domain_list.add.cancel" = "Cancel";
|
||
"domain_list.add.folder_available" = "This site will be available via the following URL: %@://%@.%@";
|
||
|
||
"domain_list.add.empty_fields" = "One or more fields are empty. Please fill all required fields.";
|
||
"domain_list.add.errors.empty" = "You must enter a domain name.";
|
||
"domain_list.add.errors.empty_proxy" = "You must enter what will be proxied.";
|
||
"domain_list.add.errors.subject_invalid" = "The subject you've entered is not valid.\nYou must include the protocol and port.";
|
||
"domain_list.add.errors.already_exists" = "A link with that name already exists.";
|
||
|
||
// ADD SITE ERROR: FOLDER MISSING SINCE SELECTION
|
||
|
||
"domain_list.alert.folder_missing.desc" = "The folder you chose no longer seems to exist. Do you want to cancel adding this folder? If you moved the folder, you could always put it back and try again.";
|
||
"domain_list.alert.folder_missing.title" = "Folder missing!";
|
||
"domain_list.alert.folder_missing.cancel" = "Cancel Link";
|
||
"domain_list.alert.folder_missing.return" = "OK";
|
||
|
||
"domain_list.add.modal_description" = "First, select which folder you would like to link.";
|
||
|
||
// SITE LIST ACTIONS
|
||
|
||
"domain_list.isolate" = "Isolate Domain";
|
||
"domain_list.remove_isolation" = "Remove Isolation";
|
||
"domain_list.isolation_unavailable" = "Isolation Not Supported (in Valet 2)";
|
||
|
||
"domain_list.unlink" = "Unlink Directory";
|
||
"domain_list.secure" = "Secure Domain";
|
||
"domain_list.unsecure" = "Unsecure Domain";
|
||
"domain_list.open_in_finder" = "Open in Finder";
|
||
"domain_list.open_in_browser" = "Open in Browser";
|
||
"domain_list.open_in_terminal" = "Open in Terminal";
|
||
"domain_list.detected_apps" = "Detected Applications";
|
||
"domain_list.system_apps" = "System Applications";
|
||
"domain_list.unproxy" = "Remove Proxy";
|
||
|
||
"domain_list.warning.spaces" = "Warning! This site has a space in its folder.\nThe site will not be reachable via the browser.";
|
||
|
||
"domain_list.alert.invalid_folder_name" = "Invalid folder name";
|
||
"domain_list.alert.invalid_folder_name_desc" = "This folder could not be resolved to a valid URL. This is usually because there’s a space in the folder name. Please rename the folder, reload the list of sites, and try again.";
|
||
|
||
"domain_list.columns.tls" = "TLS";
|
||
"domain_list.columns.domain" = "Domain";
|
||
"domain_list.columns.php" = "PHP";
|
||
"domain_list.columns.type" = "Type";
|
||
"domain_list.columns.kind" = "Kind";
|
||
|
||
// DRIVERS
|
||
|
||
"driver.not_detected" = "Other";
|
||
|
||
// PRESET
|
||
|
||
"preset.extension" = "%i extension";
|
||
"preset.extensions" = "%i extensions";
|
||
"preset.preference" = "%i preference";
|
||
"preset.preferences" = "%i preferences";
|
||
|
||
// EDITORS
|
||
|
||
"editors.alert.try_again" = "Try Again";
|
||
"editors.alert.cancel" = "Cancel";
|
||
|
||
// PREFERENCES
|
||
|
||
"prefs.title" = "PHP Monitor";
|
||
"prefs.subtitle" = "Preferences";
|
||
"prefs.close" = "Close";
|
||
|
||
"prefs.global_shortcut" = "Global Shortcut:";
|
||
"prefs.dynamic_icon" = "Dynamic Icon:";
|
||
"prefs.dynamic_icon" = "Icon Type:";
|
||
"prefs.info_density" = "Info Density:";
|
||
"prefs.services" = "Services:";
|
||
"prefs.switcher" = "Switcher:";
|
||
"prefs.integrations" = "Integrations:";
|
||
"prefs.updates" = "Updates:";
|
||
"prefs.notifications" = "Notifications:";
|
||
|
||
"prefs.icon_options.php" = "Display PHP Icon";
|
||
"prefs.icon_options.elephant" = "Display Elephant Icon";
|
||
"prefs.icon_options.none" = "Do Not Display Icon";
|
||
|
||
"prefs.icon_options_desc" = "This option decides which icon will be displayed next to the version number of the currently linked PHP version. If the Dynamic Icon option has been disabled, this will have no effect.";
|
||
|
||
"prefs.auto_restart_services_title" = "Auto-restart PHP-FPM";
|
||
"prefs.auto_restart_services_desc" = "When checked, will automatically restart PHP-FPM when you check or uncheck an extension. Slightly slower when enabled, but this applies the extension change immediately for all sites you're serving, no need to restart PHP-FPM manually.";
|
||
|
||
"prefs.dynamic_icon_title" = "Display dynamic icon in menu bar";
|
||
"prefs.dynamic_icon_desc" = "If you uncheck this box, the truck icon will always be visible. If checked, it will display the major version number of the currently linked PHP version.";
|
||
|
||
"prefs.display_full_php_version" = "Display full PHP version everywhere";
|
||
"prefs.display_full_php_version_desc" = "Display the full version instead of the major version displayed in the menu bar and the dropdown menu. (This may be undesirable on smaller displays, so this is disabled by default.)";
|
||
|
||
"prefs.auto_composer_update_title" = "Automatically update global dependencies";
|
||
"prefs.auto_composer_update_desc" = "When checked, will automatically ask Composer to run `composer global update` whenever you switch between different PHP versions. You will be able to see what changes are being made, or should this fail.";
|
||
|
||
"prefs.open_protocol_title" = "Allow third-party integrations";
|
||
"prefs.open_protocol_desc" = "When checked, this will allow the interaction with third party utilities to work (e.g. Alfred, Raycast). If you disable this, PHP Monitor will still receive the commands, but will not act upon them.";
|
||
|
||
"prefs.automatic_update_check_title" = "Automatically check for updates";
|
||
"prefs.automatic_update_check_desc" = "When checked, PHP Monitor will automatically check if there is a newer version available, and notify you if that is the case.";
|
||
|
||
"prefs.shortcut_set" = "Set global shortcut";
|
||
"prefs.shortcut_listening" = "<listening for keypress>";
|
||
"prefs.shortcut_clear" = "Clear";
|
||
"prefs.shortcut_desc" = "If a shortcut combination is set up, you can toggle PHP Monitor wherever you are by pressing the key combination you chose. (Cancel choosing a shortcut by pressing the spacebar.)";
|
||
|
||
"prefs.notify_about_version_change_desc" = "Displays a notification whenever the active PHP version changes.";
|
||
"prefs.notify_about_version_change" = "Notify about PHP version switch";
|
||
|
||
"prefs.notify_about_php_fpm_change_desc" = "Displays a notification whenever the active PHP-FPM process has restarted due to a configuration change.";
|
||
"prefs.notify_about_php_fpm_change" = "Notify about PHP-FPM restart";
|
||
|
||
"prefs.notify_about_services_desc" = "Displays a notification whenever any of the Homebrew services (installed and configured by Valet) have been restarted or stopped.";
|
||
"prefs.notify_about_services" = "Notify about services status";
|
||
|
||
"prefs.notify_about_presets_desc" = "Displays a notification whenever a preset has been successfully applied or reverted.";
|
||
"prefs.notify_about_presets" = "Notify about applied presets";
|
||
|
||
"prefs.notify_about_secure_status_desc" = "Displays a notification when a domain has been secured or unsecured.";
|
||
"prefs.notify_about_secure_status" = "Notify about secure/unsecure status";
|
||
|
||
"prefs.notify_about_composer_success_desc" = "Displays a notification when the global composer configuration was successfully updated.";
|
||
"prefs.notify_about_composer_success" = "Notify about global composer update";
|
||
|
||
// NOTIFICATIONS
|
||
|
||
"notification.version_changed_title" = "PHP %@ now active";
|
||
"notification.version_changed_desc" = "PHP Monitor has switched to PHP %@.";
|
||
|
||
"notification.php_fpm_restarted" = "PHP-FPM automatically restarted";
|
||
"notification.php_fpm_restarted_desc" = "You toggled an extension, so PHP-FPM was automatically restarted.";
|
||
|
||
"notification.services_stopped" = "Valet services stopped";
|
||
"notification.services_stopped_desc" = "All services have been successfully stopped.";
|
||
|
||
"notification.services_restarted" = "Valet services restarted";
|
||
"notification.services_restarted_desc" = "All services have been successfully restarted.";
|
||
|
||
"notification.preset_applied_title" = "Preset applied";
|
||
"notification.preset_applied_desc" = "The preset '%@' has been successfully applied.";
|
||
|
||
"notification.preset_reverted_title" = "Preset reverted";
|
||
"notification.preset_reverted_desc" = "The last preset you applied has been undone. Your previous configuration is now active.";
|
||
|
||
// Composer Update
|
||
"alert.composer_missing.title" = "Composer not found!";
|
||
"alert.composer_missing.subtitle" = "PHP Monitor could not find Composer. Make sure that Composer is installed and try again.";
|
||
"alert.composer_missing.desc" = "PHP Monitor assumes that Composer is located in either:
|
||
|
||
• `/usr/local/bin/composer`
|
||
• `/opt/homebrew/bin/composer`
|
||
|
||
Make sure you have it installed in one of these locations, or make a symlink if you have Composer installed somewhere else.";
|
||
|
||
"alert.composer_progress.title" = "Updating global dependencies...";
|
||
"alert.composer_progress.info" = "You can see the progress in the terminal output below.";
|
||
|
||
"alert.composer_failure.title" = "Something went wrong!";
|
||
"alert.composer_failure.info" = "Your global Composer dependencies could not be updated.
|
||
You can find more information in the terminal output below. You’ll have to fix this
|
||
problem manually, using your own Terminal app (this just shows you the output).";
|
||
|
||
"alert.composer_success.title" = "Composer’s done updating!";
|
||
"alert.composer_success.info" = "Your global Composer dependencies have been successfully updated.";
|
||
|
||
// Composer Version
|
||
|
||
"alert.composer_php_isolated.desc" = "This site has been isolated, which means that Valet serves PHP %@ for this site specifically. The global version is currently PHP %@.";
|
||
"alert.composer_php_requirement.title" = "'%@' requires PHP %@.";
|
||
"alert.composer_php_requirement.unable_to_determine" = "Unable to determine PHP requirement";
|
||
"alert.composer_php_requirement.type.unknown" = "PHP Monitor was unable to determine which version of PHP is required for this domain. The constraint may be determined if you have a `composer.json` or a `.valetphprc` file in your project's directory.";
|
||
"alert.composer_php_requirement.type.require" = "This required PHP version was determined by checking the `require` field in the `composer.json` file when the site list was last refreshed.";
|
||
"alert.composer_php_requirement.type.platform" = "This required PHP version was determined by checking the `platform` field in the `composer.json` file when the site list was last refreshed.";
|
||
"alert.composer_php_requirement.type.valetphprc" = "This required PHP version was determined by checking the .valetphprc file in your project's directory.";
|
||
"alert.unable_to_determine_is_fine" = "If you have a simple project, there may not be a specified PHP version set as a requirement. In that case, you are free to ignore this warning.";
|
||
"alert.php_version_ideal" = "The currently active PHP version is ideal for this site.";
|
||
"alert.php_version_incorrect" = "The currently active PHP version does not match the required constraint set for this site.";
|
||
"alert.php_suggestions" = "There may be a different PHP version which is closer to the constraint.";
|
||
|
||
// Suggest Fix My Valet
|
||
"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 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.cancel" = "Do Not Run";
|
||
|
||
// PHP Formula Missing
|
||
"alert.php_formula_missing.title" = "Oops! The `php` formula must be installed for Fix My Valet...";
|
||
"alert.php_formula_missing.info" = "It seems that you do not have the `php` formula installed, which prevents PHP Monitor from running Fix My Valet. Please install it using `brew install php`, restart PHP Monitor and try again.";
|
||
|
||
// Fix My Valet Started
|
||
"alert.fix_my_valet.title" = "Having issues? Fix My Valet is ready to commence!";
|
||
"alert.fix_my_valet.info" = "This can take a while. Please be patient.\n\nWhen this is done, all other services will be halted and PHP %@ will be linked. You will be able to switch to your desired version of PHP once this operation has completed.\n\n(You'll get another alert once Fix My Valet is done.)";
|
||
"alert.fix_my_valet.ok" = "Continue";
|
||
"alert.fix_my_valet.cancel" = "Abort";
|
||
|
||
// Fix My Valet Done
|
||
"alert.fix_my_valet_done.title" = "Fix My Valet has completed its operations.";
|
||
"alert.fix_my_valet_done.subtitle" = "All appropriate services have been stopped and the correct ones restarted, and the latest version of PHP should now be active. You can now try switching to another version of PHP.";
|
||
"alert.fix_my_valet_done.stay" = "Stay on PHP %@";
|
||
"alert.fix_my_valet_done.switch_back" = "Switch back to PHP %@";
|
||
"alert.fix_my_valet_done.desc" = "If visiting sites still does not work, you may try running `valet install` again, this can fix a 502 issue (Bad Gateway).\n\nIf Valet is broken and you cannot run `valet install`, you may need to run `composer global update`. Please consult the FAQ on GitHub if you have further issues.";
|
||
|
||
// Restore Homebrew Permissions
|
||
"alert.fix_homebrew_permissions.title" = "About \"Restore Homebrew Permissions\"";
|
||
"alert.fix_homebrew_permissions.subtitle" = "This feature was created so you can run `brew upgrade` or `brew cleanup` without permission issues.\n\n(You will be notified when this fix has been applied.)";
|
||
"alert.fix_homebrew_permissions.desc" = "This will require administrative privileges, because PHP Monitor will restore your ownership of the files and folders that are currently owned by the `root` user, due to Valet services running as root.";
|
||
"alert.fix_homebrew_permissions.ok" = "Restore Permissions";
|
||
"alert.fix_homebrew_permissions.cancel" = "Cancel";
|
||
|
||
"alert.fix_homebrew_permissions_done.title" = "All file and folder permissions for Valet's dependencies have been restored.";
|
||
"alert.fix_homebrew_permissions_done.subtitle" = "Because of this, all of Valet's services are currently no longer running. You can now interact with Homebrew, but your Valet sites will be unavailable as all services are disabled.";
|
||
"alert.fix_homebrew_permissions_done.desc" = "When you are done with Homebrew (after running `brew upgrade`, for example) you should restart PHP Monitor and select \"Restart Valet Services\" if you want Valet to work again. It is always recommended to restart PHP Monitor whenever you upgrade PHP versions with `brew upgrade`, or things might break.";
|
||
|
||
// PHP FPM Broken
|
||
"alert.php_fpm_broken.title" = "Your PHP-FPM configuration is not pointing at the Valet socket!";
|
||
"alert.php_fpm_broken.info" = "PHP Monitor has determined that there are issues with your PHP-FPM config. This will result in '502 Bad Gateway' responses if you visit websites linked via Valet.";
|
||
"alert.php_fpm_broken.description" = "If it's been a while, you can usually fix this by running `valet install`, which updates your PHP-FPM configuration.\n\nIf you are seeing this message and you are trying to run a pre-release version of PHP, it is possible that Valet does not support this pre-release version of PHP yet.\n\nIf that is the case, you can try the following workaround: edit the file at `~/.composer/vendor/laravel/valet/cli/Valet/Brew.php` and add e.g. `php@8.2` to the `SUPPORTED_PHP_VERSIONS` array. After editing the file, try running `valet install`. (This will, if all goes well, set up all the required Valet configuration files.)";
|
||
|
||
// PHP Monitor Cannot Start
|
||
"alert.cannot_start.title" = "PHP Monitor cannot start due to a problem with your system configuration";
|
||
"alert.cannot_start.subtitle" = "The issue you were just notified about is keeping PHP Monitor from functioning correctly.";
|
||
"alert.cannot_start.description" = "You might not need to quit PHP Monitor and restart it. If you have fixed the issue (or don't remember what the exact issue is) you can click on Retry, which will have PHP Monitor retry the startup checks.";
|
||
"alert.cannot_start.close" = "Quit";
|
||
"alert.cannot_start.retry" = "Retry";
|
||
|
||
// PHP alias issue
|
||
"alert.php_alias_conflict.title" = "Homebrew `php` formula alias conflict detected";
|
||
"alert.php_alias_conflict.info" = "PHP Monitor has detected conflicting `php` aliases in your Homebrew setup, both of which have been detected as installed.\n\nThis will likely result in failed linking when switching PHP versions, and will break PHP Monitor functionality.\n\nFor more information, please visit: https://github.com/nicoverbruggen/phpmon/issues/54";
|
||
|
||
"alert.min_valet_version.title" = "Your version of Valet is outdated, please upgrade!";
|
||
"alert.min_valet_version.info" = "You are currently running Valet %@.
|
||
|
||
For optimal support of the latest versions of PHP and proper version switching, it is recommended that you update to version %@.
|
||
|
||
You can do this by running `composer global update` in your terminal. After that, run `valet install` again. For best results, restart PHP Monitor after that.";
|
||
|
||
// Preset text description
|
||
"alert.preset_description.switcher_version" = "Switches to PHP %@.\n\n";
|
||
"alert.preset_description.applying_extensions" = "Applies the following extensions:\n";
|
||
"alert.preset_description.applying_config" = "Applies the following configuration values:\n";
|
||
"alert.preset_description.enabled" = "enabled";
|
||
"alert.preset_description.disabled" = "disabled";
|
||
"alert.preset_description.empty" = "(empty)";
|
||
|
||
// PHP version unavailable
|
||
"alert.php_switch_unavailable.title" = "Unsupported PHP version";
|
||
"alert.php_switch_unavailable.subtitle" = "PHP Monitor can't switch to PHP %@, as it may not be installed or available. Applying this preset has been cancelled.";
|
||
"alert.php_switch_unavailable.info" = "Please make sure PHP %@ is installed and you can switch to it in the dropdown. Currently supported versions include PHP: %@.";
|
||
"alert.php_switch_unavailable.ok" = "OK";
|
||
|
||
// Revert
|
||
"alert.revert_description.title" = "Revert Configuration?";
|
||
"alert.revert_description.subtitle" = "PHP Monitor can revert to the previous configuration that was active. Here's what will be applied: \n\n%@";
|
||
"alert.revert_description.ok" = "Revert";
|
||
"alert.revert_description.cancel" = "Cancel";
|
||
|
||
// STARTUP
|
||
|
||
/// 0. Architecture mismatch
|
||
|
||
"alert.homebrew_missing.title" = "PHP Monitor cannot start!";
|
||
"alert.homebrew_missing.subtitle" = "A working Homebrew binary could not be found in the usual location. Please restart the app after fixing this issue.";
|
||
"alert.homebrew_missing.info" = "You are running PHP Monitor with the following architecture: %@. As a result, a working Homebrew binary is expected in `%@`, but was not found. This is why PHP Monitor cannot work.\n\nIf you have not installed Homebrew yet, please do so. If you are on Apple Silicon, make sure your Homebrew and PHP Monitor use the same architecture, by enabling or disabling Rosetta where needed.";
|
||
|
||
"alert.homebrew_missing.quit" = "Quit";
|
||
|
||
/// PHP binary not found
|
||
"startup.errors.php_binary.title" = "PHP is not correctly installed";
|
||
"startup.errors.php_binary.subtitle" = "You must install PHP via Homebrew. The app will not work correctly until you resolve this issue.";
|
||
"startup.errors.php_binary.desc" = "Usually running `brew link php` in your Terminal will resolve this issue.\n\nTo diagnose what is wrong, you can try running `which php` in your Terminal, it should return `%@`.";
|
||
|
||
/// PHP not found in /usr/local/opt or /opt/homebrew/opt
|
||
"startup.errors.php_opt.title" = "PHP is not correctly installed";
|
||
"startup.errors.php_opt.subtitle" = "The PHP alias was not found in `%@`. The app will not work correctly until you resolve this issue.";
|
||
"startup.errors.php_opt.desc" = "If you already have the `php` formula installed, you may need to run `brew install php` in order for PHP Monitor to detect this installation.";
|
||
|
||
"startup.errors.valet_executable.title" = "Laravel Valet is not correctly installed";
|
||
"startup.errors.valet_executable.subtitle" = "You must install Valet with Composer. The app will not work correctly until you resolve this issue.";
|
||
"startup.errors.valet_executable.desc" = "If you haven't installed Laravel Valet yet, please do so first. If you have it installed but are seeing this message anyway, then try running `which valet` in Terminal, it should return: `%@`.";
|
||
|
||
/// Valet configuration file missing or broken
|
||
"startup.errors.valet_json_invalid.title" = "Laravel Valet configuration file invalid or missing";
|
||
"startup.errors.valet_json_invalid.subtitle" = "PHP Monitor needs to be able to read the configuration file. It appears the file is malformed or missing. Please check that it exists and is formatted correctly.";
|
||
"startup.errors.valet_json_invalid.desc" = "You can find the file at `~/.config/valet/config.json`. If Laravel Valet cannot parse the configuration file, running any `valet` command will usually automatically fix the JSON file. Try running `valet --version` to automatically fix the file.";
|
||
|
||
/// Valet version not readable
|
||
"startup.errors.valet_version_unknown.title" = "Your Valet version could not be read";
|
||
"startup.errors.valet_version_unknown.subtitle" = "Parsing the output of `valet --version` failed. Make sure your Valet installation works and is up-to-date.";
|
||
"startup.errors.valet_version_unknown.desc" = "Try running `valet --version` in a terminal to find out what's going on.";
|
||
|
||
/// Brew & sudoers
|
||
"startup.errors.sudoers_brew.title" = "Brew has not been added to sudoers.d";
|
||
"startup.errors.sudoers_brew.subtitle" = "You must run `sudo valet trust` to ensure Valet can start and stop services without having to use sudo every time. The app will not work correctly until you resolve this issue.";
|
||
"startup.errors.sudoers_brew.desc" = "If you keep seeing this error, it is possible that there is a permission issue where PHP Monitor cannot validate the file, which can usually be resolved by running: `sudo chmod +r /private/etc/sudoers.d/brew`";
|
||
|
||
/// Valet & sudoers
|
||
"startup.errors.sudoers_valet.title" = "Valet has not been added to sudoers.d";
|
||
"startup.errors.sudoers_valet.subtitle" = "You must run `sudo valet trust` to ensure Valet can start and stop services without having to use sudo every time. The app will not work correctly until you resolve this issue. If you did this before, please run `sudo valet trust` again.";
|
||
"startup.errors.sudoers_valet.desc" = "If you keep seeing this error, it is possible that there is a permission issue where PHP Monitor cannot validate the file, which can usually be resolved by running: `sudo chmod +r /private/etc/sudoers.d/valet`";
|
||
|
||
/// Cannot retrieve services
|
||
"startup.errors.services_json_error.title" = "Cannot determine services status";
|
||
"startup.errors.services_json_error.subtitle" = "PHP Monitor usually queries `brew` using the following command to test if the services can be retrieved: `sudo brew services info nginx --json`.\n\nPHP Monitor could not interpret this response.";
|
||
"startup.errors.services_json_error.desc" = "This can happen if your Homebrew installation is out of date, in which case Homebrew won't return JSON yet. You can usually fix this by running `brew update`. You can also try running `sudo brew services info nginx --json` in your terminal of choice.";
|
||
|
||
/// Issue with `which` alias
|
||
"startup.errors.which_alias_issue.title" = "A configuration issue was detected";
|
||
"startup.errors.which_alias_issue.subtitle" = "It appears that there's a file in `/usr/local/bin/which`. This is usually set up by NodeJS, but `node` isn't in the PATH in `/usr/local/bin`. To fix this, keep reading.";
|
||
"startup.errors.which_alias_issue.desc" = "You will need to symlink `node` into the `/usr/local/bin` directory to make sure PHP Monitor can start successfully. For more info, see: https://github.com/nicoverbruggen/phpmon/issues/174";
|
||
|
||
// SPONSOR ENCOURAGEMENT
|
||
|
||
"startup.sponsor_encouragement.title" = "If PHP Monitor has been useful to you or your company, please consider leaving a tip.";
|
||
"startup.sponsor_encouragement.subtitle" = "To be 100% transparent: I plan to keep PHP Monitor open source and free. Your support makes this decision very easy.\n\n(You will only see this prompt once.)";
|
||
"startup.sponsor_encouragement.desc" = "If you have already donated, then YOU are the reason why the app was able to get all these updates. In that case, this is a THANK YOU message to you. I appreciate the support.";
|
||
|
||
"startup.sponsor_encouragement.accept" = "Sponsor Now";
|
||
"startup.sponsor_encouragement.learn_more" = "Learn More";
|
||
"startup.sponsor_encouragement.skip" = "No Thanks";
|
||
|
||
// ERROR MESSAGES (based on AlertableError)
|
||
|
||
"alert.errors.homebrew_permissions.applescript_returned_nil.title" = "Restore Homebrew Permissions has been cancelled.";
|
||
"alert.errors.homebrew_permissions.applescript_returned_nil.description" = "The outcome of the script that is executed to adjust the permissions returned nil, which usually means that you did not grant administrative permissions to PHP Monitor.\n\nIf you clicked on Cancel during the authentication prompt, this is normal. If you did actually authenticate and you are still seeing this message, something probably went wrong.";
|
||
|
||
// CHECK FOR UPDATES
|
||
|
||
"updater.alerts.newer_version_available.title" = "PHP Monitor v%@ is now available!";
|
||
"updater.alerts.newer_version_available.subtitle" = "Keeping PHP Monitor up-to-date is highly recommended, since newer versions usually fix bugs and include fixes to support the latest versions of Valet and PHP.";
|
||
"updater.alerts.newer_version_available.description" = "PHP Monitor is supposed to be updated via Homebrew, so there is no built-in updater. This check is only meant to inform you of the existence of a new version, you do not need to upgrade.";
|
||
"updater.installation_source.brew" = "You appear to have installed PHP Monitor via Homebrew (or have at least tapped the required Caskfile) so it is recommended that you upgrade via the terminal by running `%@`.";
|
||
"updater.installation_source.direct" = "You do not appear to have installed PHP Monitor via Homebrew, so you will need to visit GitHub to download the latest update.";
|
||
"updater.alerts.buttons.release_notes" = "View Release Notes";
|
||
|
||
"updater.alerts.is_latest_version.title" = "PHP Monitor is up-to-date!";
|
||
"updater.alerts.is_latest_version.subtitle" = "The currently installed version (v%@) is up-to-date.\nThere is no newer version available.";
|
||
|
||
"updater.alerts.cannot_check_for_update.title" = "PHP Monitor could not determine if a newer version is available.";
|
||
"updater.alerts.cannot_check_for_update.subtitle" = "You might not be connected to the internet, are blocking traffic or GitHub is down and won't allow you to check for updates. If you keep seeing this message, you may want to manually check the releases page.";
|
||
"updater.alerts.cannot_check_for_update.description" = "The currently installed version is: %@. You can go to the list of the latest releases (on GitHub) by clicking on the button on the left.";
|
||
"updater.alerts.buttons.releases_on_github" = "View Releases";
|
||
|
||
// WARNINGS ABOUT NON-DEFAULT TLD
|
||
|
||
"alert.warnings.tld_issue.title" = "You are not using `.test` as the TLD for Valet.";
|
||
"alert.warnings.tld_issue.subtitle" = "Using a non-default TLD may not work correctly and is not officially supported.";
|
||
"alert.warnings.tld_issue.description" = "PHP Monitor will remain functional, but there might be issues: the app might not correctly show which domains have been secured. For optimal results, go to your Valet configuration file (config.json in the Valet directory) and change the TLD back to `test`.";
|