Skip to content

Commit

Permalink
Merge pull request #2114 from nextcloud/rakekniven-patch-1
Browse files Browse the repository at this point in the history
chore(i18n): Improved grammar
  • Loading branch information
nickvergessen authored Dec 5, 2024
2 parents 77142b1 + fd089d3 commit 16854e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Command/TestPush.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function configure(): void {
protected function execute(InputInterface $input, OutputInterface $output): int {
if (!$this->notificationManager->isFairUseOfFreePushService()) {
$output->writeln('<error>We want to keep offering our push notification service for free, but large</error>');
$output->writeln('<error>users overload our infrastructure. For this reason we have to rate-limit the</error>');
$output->writeln('<error>number of users overload our infrastructure. For this reason we have to rate-limit the</error>');
$output->writeln('<error>use of push notifications. If you need this feature, consider using Nextcloud Enterprise.</error>');
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Controller/APIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 16854e5

Please sign in to comment.