Add more Portuguese translations

This commit is contained in:
Deluan
2020-04-16 12:53:46 -04:00
parent 605253446a
commit 161a9b340c
3 changed files with 26 additions and 20 deletions
-1
View File
@@ -19,7 +19,6 @@ const PlayerEdit = (props) => (
<SimpleForm>
<TextInput source="name" validate={[required()]} />
<ReferenceInput
label="Transcoding"
source="transcodingId"
reference="transcoding"
sort={{ field: 'name', order: 'ASC' }}
+1 -6
View File
@@ -13,15 +13,10 @@ const PlayerList = (props) => (
<List title={<Title subTitle={'Players'} />} exporter={false} {...props}>
<Datagrid rowClick="edit">
<TextField source="name" />
<ReferenceField
label="Transcoding"
source="transcodingId"
reference="transcoding"
>
<ReferenceField source="transcodingId" reference="transcoding">
<TextField source="name" />
</ReferenceField>
<FunctionField
label="MaxBitRate"
source="maxBitRate"
render={(r) => (r.maxBitRate ? r.maxBitRate : 'Unlimited')}
/>