Add missing translation terms

This commit is contained in:
Deluan 2020-05-04 20:27:09 -04:00
parent 8d99c3ab92
commit 2f4d4c6e38
3 changed files with 11 additions and 7 deletions

View File

@ -16,6 +16,7 @@
"compilation": "Compilation",
"year": "Year",
"size": "File size",
"bitRate": "Bit rate",
"updatedAt": "Uploaded at"
},
"actions": {
@ -34,7 +35,8 @@
"name": "Name",
"genre": "Genre",
"compilation": "Compilation",
"year": "Year"
"year": "Year",
"updatedAt":"Updated at"
},
"actions": {
"playAll": "Play",
@ -54,10 +56,12 @@
"name": "User |||| Users",
"fields": {
"userName": "Username",
"name": "Name",
"password": "Password",
"isAdmin": "Is Admin",
"lastLoginAt": "Last Login At",
"updatedAt": "Updated At",
"name": "Name"
"updatedAt": "Updated at",
"createdAt": "Created at"
}
},
"player": {
@ -253,4 +257,4 @@
"shufflePlay": "Shuffle"
}
}
}
}

View File

@ -42,7 +42,7 @@ const PlayerEdit = (props) => (
{ id: 192, name: '192' },
{ id: 256, name: '256' },
{ id: 320, name: '320' },
{ id: 0, name: 'Unlimited' },
{ id: 0, name: '-' },
]}
/>
<TextField source="client" />

View File

@ -24,7 +24,7 @@ const PlayerList = (props) => {
<SimpleList
primaryText={(r) => r.client}
secondaryText={(r) => r.userName}
tertiaryText={(r) => (r.maxBitRate ? r.maxBitRate : 'Unlimited')}
tertiaryText={(r) => (r.maxBitRate ? r.maxBitRate : '-')}
/>
) : (
<Datagrid rowClick="edit">
@ -34,7 +34,7 @@ const PlayerList = (props) => {
</ReferenceField>
<FunctionField
source="maxBitRate"
render={(r) => (r.maxBitRate ? r.maxBitRate : 'Unlimited')}
render={(r) => (r.maxBitRate ? r.maxBitRate : '-')}
/>
<DateField source="lastSeen" showTime />
</Datagrid>