mirror of
https://github.com/mue/mue.git
synced 2026-07-16 05:23:49 +02:00
fix(translations): add missing, fix weather location
This commit is contained in:
@@ -71,10 +71,10 @@ export default class TimeSettings extends PureComponent {
|
||||
/>
|
||||
<SettingsItem title={variables.getMessage('modals.main.settings.sections.weather.widget_type')}>
|
||||
<Dropdown label="Type" name="weatherType" category="weather">
|
||||
<option value="1">{variables.getMessage('widgets.weather.options.basic')}</option>
|
||||
<option value="2">{variables.getMessage('widgets.weather.options.standard')}</option>
|
||||
<option value="3">{variables.getMessage('widgets.weather.options.expanded')}</option>
|
||||
<option value="4">{variables.getMessage('widgets.weather.options.custom')}</option>
|
||||
<option value="1">{variables.getMessage('modals.main.settings.sections.weather.options.basic')}</option>
|
||||
<option value="2">{variables.getMessage('modals.main.settings.sections.weather.standard')}</option>
|
||||
<option value="3">{variables.getMessage('modals.main.settings.sections.weather.expanded')}</option>
|
||||
<option value="4">{variables.getMessage('modals.main.settings.sections.weather.custom')}</option>
|
||||
</Dropdown>
|
||||
</SettingsItem>
|
||||
<SettingsItem
|
||||
@@ -123,7 +123,9 @@ export default class TimeSettings extends PureComponent {
|
||||
/>
|
||||
</SettingsItem>
|
||||
{localStorage.getItem('weatherType') === 4 && (
|
||||
<SettingsItem title="Custom Settings">
|
||||
<SettingsItem title={variables.getMessage(
|
||||
'modals.main.settings.sections.weather.custom_settings',
|
||||
)}>
|
||||
<Checkbox
|
||||
name="weatherdescription"
|
||||
text={variables.getMessage(
|
||||
|
||||
@@ -181,13 +181,13 @@ export default class CustomSettings extends PureComponent {
|
||||
<div>
|
||||
<MdAddPhotoAlternate />
|
||||
<div>
|
||||
<span className="title">Custom Images</span>
|
||||
<span className="subtitle">Select images from your local computer</span>
|
||||
<span className="title">{variables.getMessage('modals.main.settings.sections.background.source.custom_title')}</span>
|
||||
<span className="subtitle">{variables.getMessage('modals.main.settings.sections.background.source.custom_description')}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="topbarbuttons">
|
||||
<button onClick={() => this.uploadCustomBackground()}>
|
||||
Upload
|
||||
{variables.getMessage('modals.main.settings.sections.background.source.upload')}{' '}
|
||||
<MdOutlineFileUpload />
|
||||
</button>
|
||||
<button onClick={() => this.setState({ customURLModal: true })}>
|
||||
@@ -208,7 +208,7 @@ export default class CustomSettings extends PureComponent {
|
||||
{this.videoCheck(url) ? <MdPersonalVideo className="customvideoicon" /> : null}
|
||||
{this.state.customBackground.length > 0 ? (
|
||||
<button onClick={() => this.modifyCustomBackground('remove', index)}>
|
||||
Remove Image
|
||||
{variables.getMessage('modals.main.settings.sections.background.source.remove')}{' '}
|
||||
<MdCancel />
|
||||
</button>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user