feat: initial support for i18n

This commit is contained in:
Deluan
2020-02-07 09:40:52 -05:00
parent 99361c0d9f
commit d37351610a
11 changed files with 131 additions and 52 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ const AlbumDetails = (props) => {
return (
<Show {...props} title=" ">
<SimpleShowLayout>
<TextField label="Album Artist" source="albumArtist" />
<TextField source="albumArtist" />
<TextField source="genre" />
<BooleanField source="compilation" />
<DateField source="updatedAt" showTime />
@@ -58,7 +58,7 @@ const AlbumList = (props) => (
<TextField source="artist" />
<NumberField source="songCount" />
<TextField source="year" />
<DurationField label="Time" source="duration" />
<DurationField source="duration" />
</Datagrid>
</List>
)