aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-05-09 11:19:48 +0200
committerSimon L <szaimen@e.mail.de>2023-05-09 11:19:48 +0200
commit84b88c01c78f7d6a6c0670d0dcf1c79664337ed7 (patch)
treebb2d32dc1c2e8c162ab2da63f629302f8c14d963
parent6e5a307757cf686209dd6b0a605c97e08cf04be0 (diff)
downloadnextcloud-server-84b88c01c78f7d6a6c0670d0dcf1c79664337ed7.tar.gz
nextcloud-server-84b88c01c78f7d6a6c0670d0dcf1c79664337ed7.zip
adjust wording
Signed-off-by: Simon L <szaimen@e.mail.de>
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index cca17fc1eae..c7fde4136fe 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 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);
+ $hint = $l->t('Application %1$s is not present or has a non-compatible version with this server. Please check the apps directory.', [implode(', ', $incompatibleShippedApps)]);
+ throw new \OCP\HintException('Application ' . implode(', ', $incompatibleShippedApps) . ' is not present or has a non-compatible version with this server. Please check the apps directory.', $hint);
}
$tmpl->assign('appsToUpgrade', $appManager->getAppsNeedingUpgrade($ocVersion));