diff --git a/lib/Command/TestPush.php b/lib/Command/TestPush.php index 40758296..1014a6ca 100644 --- a/lib/Command/TestPush.php +++ b/lib/Command/TestPush.php @@ -56,7 +56,7 @@ protected function configure(): void { protected function execute(InputInterface $input, OutputInterface $output): int { if (!$this->notificationManager->isFairUseOfFreePushService()) { $output->writeln('We want to keep offering our push notification service for free, but large'); - $output->writeln('users overload our infrastructure. For this reason we have to rate-limit the'); + $output->writeln('number of users overload our infrastructure. For this reason we have to rate-limit the'); $output->writeln('use of push notifications. If you need this feature, consider using Nextcloud Enterprise.'); return 1; } diff --git a/lib/Controller/APIController.php b/lib/Controller/APIController.php index 83cfff45..d0f7d0aa 100644 --- a/lib/Controller/APIController.php +++ b/lib/Controller/APIController.php @@ -174,7 +174,7 @@ public function generateNotificationV3( #[OpenAPI(scope: 'push')] public function selfTestPush(): DataResponse { if (!$this->notificationManager->isFairUseOfFreePushService()) { - $message = $this->l->t('We want to keep offering our push notification service for free, but large users overload our infrastructure. For this reason we have to rate-limit the use of push notifications. If you need this feature, consider using Nextcloud Enterprise.'); + $message = $this->l->t('We want to keep offering our push notification service for free, but large number of users overload our infrastructure. For this reason we have to rate-limit the use of push notifications. If you need this feature, consider using Nextcloud Enterprise.'); return new DataResponse( ['message' => $message], Http::STATUS_BAD_REQUEST,