diff --git a/src/components/modals/Update.jsx b/src/components/modals/Update.jsx index 7979ae76..0d09aa33 100644 --- a/src/components/modals/Update.jsx +++ b/src/components/modals/Update.jsx @@ -14,7 +14,7 @@ export default class Update extends React.PureComponent { } async getUpdate() { - const supportText = `

${this.props.language.contactsupport}: https://muetab.xyz/contact

`; + const supportText = `

${this.props.language.contact_support}: https://muetab.com/contact

`; if (localStorage.getItem('offlineMode') === 'true') return this.setState({ title: this.props.language.offline.title, @@ -33,7 +33,7 @@ export default class Update extends React.PureComponent { date: data.published, image: data.image, author: data.author, - html: data.content + `

${this.props.language.readblog}: ${data.url}

` + html: data.content + `

${this.props.language.read_blog}: ${data.url}

` }); } catch (e) { // If it fails, we send an error this.setState({ @@ -50,7 +50,7 @@ export default class Update extends React.PureComponent { render() { return
× -

{this.state.title}

+

{this.state.title}

By {this.state.author} • {this.state.date}
Update

diff --git a/src/components/modals/marketplace/Item.jsx b/src/components/modals/marketplace/Item.jsx index 352e2d7c..f1295bf5 100644 --- a/src/components/modals/marketplace/Item.jsx +++ b/src/components/modals/marketplace/Item.jsx @@ -9,8 +9,8 @@ export default class Item extends React.PureComponent { if (this.props.content.content.data.quote_api) { warningHTML =
} @@ -27,24 +27,24 @@ export default class Item extends React.PureComponent { product
-

{this.props.language.information}

-
    -
    -
  • {this.props.language.last_updated}
  • -
  • {this.props.data.updated}
  • -
    -
  • {this.props.language.version}
  • -
  • {this.props.data.version}
  • -
    -
  • {this.props.language.author}
  • -
  • {this.props.data.author}
  • -
+

{this.props.language.information}

+
    +
    +
  • {this.props.language.last_updated}
  • +
  • {this.props.data.updated}
  • +
    +
  • {this.props.language.version}
  • +
  • {this.props.data.version}
  • +
    +
  • {this.props.language.author}
  • +
  • {this.props.data.author}
  • +
-
    -
  • {this.props.language.notice.title}
  • -
  • {this.props.language.notice.description}
  • -
+
    +
  • {this.props.language.notice.title}
  • +
  • {this.props.language.notice.description}
  • +
{warningHTML}
diff --git a/src/components/modals/marketplace/Items.jsx b/src/components/modals/marketplace/Items.jsx index c861df3d..fddcb1ea 100644 --- a/src/components/modals/marketplace/Items.jsx +++ b/src/components/modals/marketplace/Items.jsx @@ -2,10 +2,10 @@ import React from 'react'; export default class Items extends React.PureComponent { render() { - if (this.props.items.length === 0) return null; + if (this.props.items.length === 0) return null; // if there are no items in category don't render it let seeMoreHTML; - if (this.props.seeMoreFunction && this.props.items.length === 3) seeMoreHTML = ; + if (this.props.seeMoreFunction && this.props.items.length === 3) seeMoreHTML = ; // only render see more button if there are enough addons return (
diff --git a/src/components/modals/settings/sections/BackgroundSettings.jsx b/src/components/modals/settings/sections/BackgroundSettings.jsx index dae31f65..6f82164c 100644 --- a/src/components/modals/settings/sections/BackgroundSettings.jsx +++ b/src/components/modals/settings/sections/BackgroundSettings.jsx @@ -4,7 +4,7 @@ import Checkbox from '../Checkbox'; import Section from '../Section'; export default class BackgroundSettings extends React.PureComponent { - DefaultGradientSettings = { "angle": "180", "gradient": [{ "colour": this.props.language.background.disabled, "stop": 0 }], "type": "linear" }; + DefaultGradientSettings = { 'angle': '180', 'gradient': [{ 'colour': this.props.language.background.disabled, 'stop': 0 }], 'type': 'linear' }; constructor(...args) { super(...args); @@ -90,7 +90,7 @@ export default class BackgroundSettings extends React.PureComponent { pickFirstColour = (event) => { const value = event.target.value; - this.setState({ gradientSettings: { "angle": "180", "gradient": [{ "colour": value, "stop": 0 }], "type": "linear" } }); + this.setState({ gradientSettings: { 'angle': '180', 'gradient': [{ 'colour': value, 'stop': 0 }], 'type': 'linear' } }); } addColour = () => { @@ -137,17 +137,17 @@ export default class BackgroundSettings extends React.PureComponent { return (
{gradientHasMoreThanOneColour ? () : null} - this.onGradientChange(event, i)} value={g.colour}> - + this.onGradientChange(event, i)} value={g.colour}> + {gradientHasMoreThanOneColour ? ( - this.onGradientChange(event, i)} /> + this.onGradientChange(event, i)} /> ) : null}
); }); colourSettings = (
{gradientInputs} - {this.state.gradientSettings.gradient[0].colour !== this.props.language.background.disabled ? () : null} + {this.state.gradientSettings.gradient[0].colour !== this.props.language.background.disabled ? () : null}
); } @@ -160,7 +160,7 @@ export default class BackgroundSettings extends React.PureComponent {
    - +
    -

    {this.props.language.background.customURL} this.resetItem('customBackground')}>{this.props.language.reset}

    +

    {this.props.language.background.custom_url} this.resetItem('customBackground')}>{this.props.language.reset}

    -

    {this.props.language.background.custombackground} this.resetItem('customBackground')}>{this.props.language.reset}

    +

    {this.props.language.background.custom_background} this.resetItem('customBackground')}>{this.props.language.reset}

    -

    {this.props.language.background.customcolour} this.resetItem('customBackgroundColour')}>{this.props.language.reset}

    +

    {this.props.language.background.custom_colour} this.resetItem('customBackgroundColour')}>{this.props.language.reset}

    {colourSettings}
diff --git a/src/components/modals/settings/sections/SearchSettings.jsx b/src/components/modals/settings/sections/SearchSettings.jsx index 0003754b..510a2660 100644 --- a/src/components/modals/settings/sections/SearchSettings.jsx +++ b/src/components/modals/settings/sections/SearchSettings.jsx @@ -28,7 +28,7 @@ export default class SearchSettings extends React.PureComponent {
    - +