mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-29 10:55:43 -05:00
### Description You're able to enable a "skip egg install scripts" per server, while still being able to reinstall a server. With this setting enabled, reinstalling a server has no functional use, the server is locked and shutdown, then simply unlocked immediately afterwards after a success signal from wings. This PR disables the reinstall button when skip install scripts is enabled for both the user and admin, with a little component telling you why you cannot reinstall. The reinstall button is not disabled if the server is in a status that reinstall could resolve (eg. failed install). ### Resolved issues: 1. [x] resolves pterodactyl/panel#5306
29 lines
2.5 KiB
PHP
29 lines
2.5 KiB
PHP
<?php
|
|
|
|
return [
|
|
'exceptions' => [
|
|
'no_new_default_allocation' => 'You are attempting to delete the default allocation for this server but there is no fallback allocation to use.',
|
|
'marked_as_failed' => 'This server was marked as having failed a previous installation. Current status cannot be toggled in this state.',
|
|
'skipping_install_script' => 'This server is configured to skip its egg\'s install script. Reinstalling is not available until that setting is disabled.',
|
|
'bad_variable' => 'There was a validation error with the :name variable.',
|
|
'daemon_exception' => 'There was an exception while attempting to communicate with the daemon resulting in a HTTP/:code response code. This exception has been logged. (request id: :request_id)',
|
|
'default_allocation_not_found' => 'The requested default allocation was not found in this server\'s allocations.',
|
|
],
|
|
'alerts' => [
|
|
'startup_changed' => 'The startup configuration for this server has been updated. If this server\'s nest or egg was changed a reinstall will be occurring now.',
|
|
'server_deleted' => 'Server has successfully been deleted from the system.',
|
|
'server_created' => 'Server was successfully created on the panel. Please allow the daemon a few minutes to completely install this server.',
|
|
'build_updated' => 'The build details for this server have been updated. Some changes may require a restart to take effect.',
|
|
'suspension_toggled' => 'Server suspension status has been changed to :status.',
|
|
'rebuild_on_boot' => 'This server has been marked as requiring a Docker Container rebuild. This will happen the next time the server is started.',
|
|
'install_toggled' => 'The installation status for this server has been toggled.',
|
|
'server_reinstalled' => 'This server has been queued for a reinstallation beginning now.',
|
|
'details_updated' => 'Server details have been successfully updated.',
|
|
'docker_image_updated' => 'Successfully changed the default Docker image to use for this server. A reboot is required to apply this change.',
|
|
'node_required' => 'You must have at least one node configured before you can add a server to this panel.',
|
|
'transfer_nodes_required' => 'You must have at least two nodes configured before you can transfer servers.',
|
|
'transfer_started' => 'Server transfer has been started.',
|
|
'transfer_not_viable' => 'The node you selected does not have the required disk space or memory available to accommodate this server.',
|
|
],
|
|
];
|