Bugfix plural in user tab (#62)

This commit is contained in:
Dirk Klimpel 2020-08-11 10:25:05 +02:00 committed by GitHub
parent 7c9a87bc86
commit 8bdf76f27e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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