mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
adjust wording for update hint when files of a specific app are not there
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
ca88a1876b
commit
6e5a307757
1 changed files with 2 additions and 2 deletions
|
|
@ -394,8 +394,8 @@ class OC {
|
|||
|
||||
if (!empty($incompatibleShippedApps)) {
|
||||
$l = Server::get(\OCP\L10N\IFactory::class)->get('core');
|
||||
$hint = $l->t('The files of the app %1$s were not replaced correctly. Make sure it is a version compatible with the server.', [implode(', ', $incompatibleShippedApps)]);
|
||||
throw new \OCP\HintException('The files of the app ' . implode(', ', $incompatibleShippedApps) . ' were not replaced correctly. Make sure it is a version compatible with the server.', $hint);
|
||||
$hint = $l->t('The files of the app %1$s were not replaced correctly or are not existing in the first place. Make sure to add a version of the app that is compatible with the server.', [implode(', ', $incompatibleShippedApps)]);
|
||||
throw new \OCP\HintException('The files of the app ' . implode(', ', $incompatibleShippedApps) . ' were not replaced correctly or are not existing in the first place. Make sure to add a version of the app that is compatible with the server.', $hint);
|
||||
}
|
||||
|
||||
$tmpl->assign('appsToUpgrade', $appManager->getAppsNeedingUpgrade($ocVersion));
|
||||
|
|
|
|||
Loading…
Reference in a new issue