[ticket/15851] Modify language variables

PHPBB-15851
This commit is contained in:
Marc Alexander 2024-12-02 20:12:20 +01:00
parent 1157c41410
commit cc488c8b7d
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 8 additions and 8 deletions

View file

@ -222,11 +222,11 @@ $lang = array_merge($lang, array(
<p>We noticed that the last update of your phpBB installation hasnt been completed. Visit the <a href="%1$s" title="%1$s">database updater</a>, ensure <em>Update database only</em> is selected and click on <strong>Submit</strong>. Don\'t forget to delete the "install"-directory after you have updated the database successfully.</p>',
// 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

View file

@ -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')
];
}