fix(translations): add missing, fix weather location

This commit is contained in:
David Ralph
2022-08-29 10:36:44 +01:00
parent 6a0722a697
commit 77d68fc469
3 changed files with 25 additions and 19 deletions

View File

@@ -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}