From cc488c8b7d99e504a14d982ca8fa96b8f61af5b8 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 2 Dec 2024 20:12:20 +0100 Subject: [PATCH] [ticket/15851] Modify language variables PHPBB-15851 --- phpBB/language/en/install.php | 8 ++++---- phpBB/phpbb/update/controller.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index f355d1427a..9a73b76c42 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -222,11 +222,11 @@ $lang = array_merge($lang, array(

We noticed that the last update of your phpBB installation hasn’t been completed. Visit the database updater, ensure Update database only is selected and click on Submit. Don\'t forget to delete the "install"-directory after you have updated the database successfully.

', // Auto update - 'COULD_NOT_DOWNLOAD_UPDATE_PACKAGE' => 'Failed to download the update package.', - 'COULD_NOT_DOWNLOAD_UPDATE_SIGNATURE' => 'Failed to download the update package signature.', + 'UPDATE_PACKAGE_DOWNLOAD_FAILURE' => 'Failed to download the update package.', + 'UPDATE_SIGNATURE_DOWNLOAD_FAILURE' => 'Failed to download the update package signature.', 'UPDATE_SIGNATURE_INVALID' => 'The update package is corrupted.', - 'COULD_NOT_EXTRACT_UPDATE' => 'Could not extract files from the update package.', - 'COULD_NOT_WRITE_UPDATE_FILES' => 'Could not copy files from the update package.', + 'UPDATE_PACKAGE_EXTRACT_FAILURE' => 'Could not extract files from the update package.', + 'UPDATE_FILES_COPY_FAILURE' => 'Could not copy files from the update package.', // // Server data diff --git a/phpBB/phpbb/update/controller.php b/phpBB/phpbb/update/controller.php index 5253f2b3d3..45d11d2f0c 100644 --- a/phpBB/phpbb/update/controller.php +++ b/phpBB/phpbb/update/controller.php @@ -68,7 +68,7 @@ class controller { return [ 'status' => 'error', - 'error' => $this->language->lang('COULD_NOT_DOWNLOAD_UPDATE_PACKAGE') + 'error' => $this->language->lang('UPDATE_PACKAGE_DOWNLOAD_FAILURE') ]; } @@ -82,7 +82,7 @@ class controller { return [ 'status' => 'error', - 'error' => $this->language->lang('COULD_NOT_DOWNLOAD_UPDATE_SIGNATURE') + 'error' => $this->language->lang('UPDATE_SIGNATURE_DOWNLOAD_FAILURE') ]; } return $status; @@ -104,7 +104,7 @@ class controller { return [ 'status' => 'error', - 'error' => $this->language->lang('COULD_NOT_EXTRACT_UPDATE') + 'error' => $this->language->lang('UPDATE_PACKAGE_EXTRACT_FAILURE') ]; } @@ -118,7 +118,7 @@ class controller { return [ 'status' => 'error', - 'error' => $this->language->lang('COULD_NOT_WRITE_UPDATE_FILES') + 'error' => $this->language->lang('UPDATE_FILES_COPY_FAILURE') ]; }