From 6da3c8b8858fc3979b2b06a0446f2b4ea88469e3 Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Tue, 16 Jun 2020 09:52:08 +0200 Subject: [PATCH] Bugfix translation of plural in UserTitle --- src/components/users.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/users.js b/src/components/users.js index c18555c..d92041c 100644 --- a/src/components/users.js +++ b/src/components/users.js @@ -152,7 +152,9 @@ const UserTitle = ({ record }) => { const translate = useTranslate(); return ( - {translate("resources.users.name")}{" "} + {translate("resources.users.name", { + smart_count: 1, + })}{" "} {record ? `"${record.displayname}"` : ""} );