add missing whitespace after channel-name fir update.noupdatesavail language string

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-26 14:06:32 +02:00
parent ceb621b9b5
commit f3b277237e
4 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ if ($page == 'overview') {
} }
} else { } else {
// no new version // no new version
Response::standardSuccess('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') : '')]); Response::standardSuccess('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') . ' ' : '')]);
} }
} // download the new archive } // download the new archive
elseif ($page == 'getdownload') { elseif ($page == 'getdownload') {

View File

@@ -135,6 +135,6 @@ if ($page == 'overview') {
'alert_msg' => $ui_text . $message 'alert_msg' => $ui_text . $message
]); ]);
} else { } else {
Response::standardSuccess('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') : '')]); Response::standardSuccess('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') . ' ' : '')]);
} }
} }

View File

@@ -101,7 +101,7 @@ class Froxlor extends ApiCommand
'version' => $this->version, 'version' => $this->version,
'message' => '', 'message' => '',
'link' => '', 'link' => '',
'additional_info' => lng('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') : '')]) 'additional_info' => lng('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') . ' ' : '')])
]); ]);
} }
} }

View File

@@ -94,7 +94,7 @@ final class UpdateCommand extends CliCommand
return self::SUCCESS; return self::SUCCESS;
} }
// no new version // no new version
$output->writeln('<info>' . lng('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') : '')]) . '</>'); $output->writeln('<info>' . lng('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') . ' ' : '')]) . '</>');
$result = self::SUCCESS; $result = self::SUCCESS;
} }
} catch (Exception $e) { } catch (Exception $e) {