diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2023-05-09 17:35:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 17:35:03 +0200 |
commit | 20edd4b5cada0c61df9c347a6c07f8c6df4ee5a2 (patch) | |
tree | ab943757dc729d747ef5806d91e0e6039bb7e291 /lib | |
parent | 31302c45286c2e01649575688995907217236b8b (diff) | |
parent | 84b88c01c78f7d6a6c0670d0dcf1c79664337ed7 (diff) | |
download | nextcloud-server-20edd4b5cada0c61df9c347a6c07f8c6df4ee5a2.tar.gz nextcloud-server-20edd4b5cada0c61df9c347a6c07f8c6df4ee5a2.zip |
Merge pull request #38140 from nextcloud/enh/noid/adjust-wording-update-hint
adjust wording for update hint when files of a specific app are not there
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 119e89f6ae0..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. 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('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)); |