summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-05-09 10:56:02 +0200
committerSimon L <szaimen@e.mail.de>2023-05-09 10:56:02 +0200
commit6e5a307757cf686209dd6b0a605c97e08cf04be0 (patch)
tree13fb6988642c50ba9211a092cb0a1c22bd517c17 /lib/base.php
parentca88a1876b5e6c44f8c5030240eae0aff524efbc (diff)
downloadnextcloud-server-6e5a307757cf686209dd6b0a605c97e08cf04be0.tar.gz
nextcloud-server-6e5a307757cf686209dd6b0a605c97e08cf04be0.zip
adjust wording for update hint when files of a specific app are not there
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 119e89f6ae0..cca17fc1eae 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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));