|
|
|
@ -43,11 +43,6 @@ export const timeFormatOptions = [
|
|
|
|
|
{ key: 'HH:mm', value: '17:00/17:30' }
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export const movieRuntimeFormatOptions = [
|
|
|
|
|
{ key: 'hoursMinutes', value: '1h 15m' },
|
|
|
|
|
{ key: 'minutes', value: '75 mins' }
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
class UISettings extends Component {
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
@ -120,20 +115,6 @@ class UISettings extends Component {
|
|
|
|
|
</FormGroup>
|
|
|
|
|
</FieldSet>
|
|
|
|
|
|
|
|
|
|
<FieldSet legend={translate('Movies')}>
|
|
|
|
|
<FormGroup>
|
|
|
|
|
<FormLabel>{translate('SettingsRuntimeFormat')}</FormLabel>
|
|
|
|
|
|
|
|
|
|
<FormInputGroup
|
|
|
|
|
type={inputTypes.SELECT}
|
|
|
|
|
name="movieRuntimeFormat"
|
|
|
|
|
values={movieRuntimeFormatOptions}
|
|
|
|
|
onChange={onInputChange}
|
|
|
|
|
{...settings.movieRuntimeFormat}
|
|
|
|
|
/>
|
|
|
|
|
</FormGroup>
|
|
|
|
|
</FieldSet>
|
|
|
|
|
|
|
|
|
|
<FieldSet legend={translate('Dates')}>
|
|
|
|
|
<FormGroup>
|
|
|
|
|
<FormLabel>{translate('SettingsShortDateFormat')}</FormLabel>
|
|
|
|
@ -197,19 +178,6 @@ class UISettings extends Component {
|
|
|
|
|
</FieldSet>
|
|
|
|
|
|
|
|
|
|
<FieldSet legend={translate('Language')}>
|
|
|
|
|
<FormGroup>
|
|
|
|
|
<FormLabel>{translate('MovieInfoLanguage')}</FormLabel>
|
|
|
|
|
<FormInputGroup
|
|
|
|
|
type={inputTypes.SELECT}
|
|
|
|
|
name="movieInfoLanguage"
|
|
|
|
|
values={languages}
|
|
|
|
|
helpText={translate('MovieInfoLanguageHelpText')}
|
|
|
|
|
helpTextWarning={translate('MovieInfoLanguageHelpTextWarning')}
|
|
|
|
|
onChange={onInputChange}
|
|
|
|
|
{...settings.movieInfoLanguage}
|
|
|
|
|
/>
|
|
|
|
|
</FormGroup>
|
|
|
|
|
|
|
|
|
|
<FormGroup>
|
|
|
|
|
<FormLabel>{translate('UILanguage')}</FormLabel>
|
|
|
|
|
<FormInputGroup
|
|
|
|
|