diff options
author | szaimen <szaimen@e.mail.de> | 2021-08-08 20:11:47 +0200 |
---|---|---|
committer | szaimen <szaimen@e.mail.de> | 2021-08-08 21:04:48 +0200 |
commit | 3897b68883604250f7d4ec27c665b0be5479a77c (patch) | |
tree | d9536418e00022d0cd3020338aaa19eadd688c26 | |
parent | 27847a92501d9b434589030c899bcb0561414842 (diff) | |
download | nextcloud-server-3897b68883604250f7d4ec27c665b0be5479a77c.tar.gz nextcloud-server-3897b68883604250f7d4ec27c665b0be5479a77c.zip |
Fix Recent statuses plural/singular
Signed-off-by: szaimen <szaimen@e.mail.de>
-rw-r--r-- | apps/user_status/lib/Dashboard/UserStatusWidget.php | 2 | ||||
-rw-r--r-- | apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_status/lib/Dashboard/UserStatusWidget.php b/apps/user_status/lib/Dashboard/UserStatusWidget.php index 10411dc7f9d..7b59affdd44 100644 --- a/apps/user_status/lib/Dashboard/UserStatusWidget.php +++ b/apps/user_status/lib/Dashboard/UserStatusWidget.php @@ -89,7 +89,7 @@ class UserStatusWidget implements IWidget { * @inheritDoc */ public function getTitle(): string { - return $this->l10n->t('Recent statuses'); + return $this->l10n->t('Recent status(es)'); } /** diff --git a/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php b/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php index d23b2bc02ff..70f85b84b04 100644 --- a/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php +++ b/apps/user_status/tests/Unit/Dashboard/UserStatusWidgetTest.php @@ -77,7 +77,7 @@ class UserStatusWidgetTest extends TestCase { ->method('t') ->willReturnArgument(0); - $this->assertEquals('Recent statuses', $this->widget->getTitle()); + $this->assertEquals('Recent status(es)', $this->widget->getTitle()); } public function testGetOrder(): void { |