This commit is contained in:
Daniel Maya 2023-08-22 10:49:00 +02:00
parent c664af40b2
commit 34f6838095

View File

@ -709,9 +709,9 @@ class Client
$target = ''; $target = '';
if ($request['action'] === 'get_server_package') { if ($request['action'] === 'get_server_package') {
$target = __('server update %d', $request['version']); $target = __('server update %s', $request['version']);
} else if ($request['action'] === 'get_package') { } else if ($request['action'] === 'get_package') {
$target = __('console update %d', $request['version']); $target = __('console update %s', $request['version']);
} }
// phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.Found // phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.Found
@ -2134,7 +2134,7 @@ class Client
if ($package === null) { if ($package === null) {
// Retrieve package from UMS. // Retrieve package from UMS.
$this->notify(0, 'Downloading server update '.$version.'.'); $this->notify(0, 'Downloading server update '.$version);
$file = $this->post( $file = $this->post(
[ [
'action' => 'get_server_package', 'action' => 'get_server_package',