Bugfix translation of plural in UserTitle

This commit is contained in:
dklimpel 2020-06-16 09:52:08 +02:00 committed by Manuel Stahl
parent ab04db5baf
commit 6da3c8b885

View File

@ -152,7 +152,9 @@ const UserTitle = ({ record }) => {
const translate = useTranslate();
return (
<span>
{translate("resources.users.name")}{" "}
{translate("resources.users.name", {
smart_count: 1,
})}{" "}
{record ? `"${record.displayname}"` : ""}
</span>
);