From fd089d36cfd6931c0522c8a2e854467f43b3012a Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Thu, 5 Dec 2024 20:54:56 +0100 Subject: [PATCH] chore(i18n): Improved grammar Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- lib/Command/TestPush.php | 2 +- lib/Controller/APIController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,