add missing whitespace after channel-name fir update.noupdatesavail language string
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -105,7 +105,7 @@ if ($page == 'overview') {
|
||||
}
|
||||
} else {
|
||||
// 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
|
||||
elseif ($page == 'getdownload') {
|
||||
|
||||
@@ -135,6 +135,6 @@ if ($page == 'overview') {
|
||||
'alert_msg' => $ui_text . $message
|
||||
]);
|
||||
} 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') . ' ' : '')]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ class Froxlor extends ApiCommand
|
||||
'version' => $this->version,
|
||||
'message' => '',
|
||||
'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') . ' ' : '')])
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ final class UpdateCommand extends CliCommand
|
||||
return self::SUCCESS;
|
||||
}
|
||||
// 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;
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user