mirror of
https://github.com/mue/mue.git
synced 2026-06-12 03:28:46 +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}
|
||||
|
||||
@@ -34,13 +34,7 @@
|
||||
"not_found": "Not Found",
|
||||
"meters": "{amount} metres",
|
||||
"extra_information": "Extra Information",
|
||||
"feels_like": "Feels like {amount}",
|
||||
"options": {
|
||||
"basic": "Basic",
|
||||
"standard": "Standard",
|
||||
"expanded": "Expanded",
|
||||
"custom": "Custom"
|
||||
}
|
||||
"feels_like": "Feels like {amount}"
|
||||
},
|
||||
"quote": {
|
||||
"link_tooltip": "Open on Wikipedia",
|
||||
@@ -235,7 +229,10 @@
|
||||
"high": "High Quality",
|
||||
"normal": "Normal Quality",
|
||||
"datasaver": "Data Saver"
|
||||
}
|
||||
},
|
||||
"custom_title": "Custom Images",
|
||||
"custom_description": "Select images from your local computer",
|
||||
"remove": "Remove Image"
|
||||
},
|
||||
"display": "Display",
|
||||
"display_subtitle": "Change how background and photo information are loaded",
|
||||
@@ -287,7 +284,14 @@
|
||||
"min_temp": "Minimum temperature",
|
||||
"max_temp": "Maximum temperature",
|
||||
"atmospheric_pressure": "Atmospheric pressure"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"basic": "Basic",
|
||||
"standard": "Standard",
|
||||
"expanded": "Expanded",
|
||||
"custom": "Custom"
|
||||
},
|
||||
"custom_settings": "Custom Settings"
|
||||
},
|
||||
"quicklinks": {
|
||||
"title": "Quick Links",
|
||||
@@ -701,4 +705,4 @@
|
||||
"no_storage": "Not enough storage",
|
||||
"link_copied": "Link copied"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user