Bugfix plural in user tab

This commit is contained in:
dklimpel 2020-08-11 08:49:22 +02:00
parent 7c9a87bc86
commit e9531c4382

View File

@ -212,7 +212,10 @@ export const UserEdit = props => {
return ( return (
<Edit {...props} title={<UserTitle />}> <Edit {...props} title={<UserTitle />}>
<TabbedForm toolbar={<UserEditToolbar />}> <TabbedForm toolbar={<UserEditToolbar />}>
<FormTab label="resources.users.name" icon={<PersonPinIcon />}> <FormTab
label={translate("resources.users.name", { smart_count: 1 })}
icon={<PersonPinIcon />}
>
<AvatarField <AvatarField
source="avatar_src" source="avatar_src"
sortable={false} sortable={false}