From 66980a4c6228e92c04c4d71f2811b56ae6a5e8c5 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Thu, 27 Aug 2020 16:10:16 +0100 Subject: [PATCH] bug fixes --- src/components/modals/Settings.jsx | 12 ++++++------ src/components/modals/Update.jsx | 2 +- src/components/modals/marketplace/Item.jsx | 2 +- src/components/modals/marketplace/Items.jsx | 2 +- src/translations/en.json | 18 ++---------------- src/translations/fr.json | 15 --------------- src/translations/nl.json | 18 ++---------------- src/translations/no.json | 15 --------------- 8 files changed, 13 insertions(+), 71 deletions(-) diff --git a/src/components/modals/Settings.jsx b/src/components/modals/Settings.jsx index 7800e5f3..bfb7ac43 100644 --- a/src/components/modals/Settings.jsx +++ b/src/components/modals/Settings.jsx @@ -152,7 +152,7 @@ export default class Settings extends React.PureComponent {
    -

    {this.props.language.greeting.name} this.resetItem('greetingName')}>Reset

    +

    {this.props.language.greeting.name} this.resetItem('greetingName')}>{this.props.language.reset}

@@ -168,7 +168,7 @@ export default class Settings extends React.PureComponent {

SettingsFunctions.toggleExtra(document.getElementsByClassName('extraSettings')[3], document.getElementsByClassName('expandIcons')[3])}>{this.props.language.background.title}

SettingsFunctions.toggleExtra(document.getElementsByClassName('extraSettings')[3], document.getElementsByClassName('expandIcons')[3])} /> - +
    • @@ -181,16 +181,16 @@ export default class Settings extends React.PureComponent {
      -

      {this.props.language.background.blur} (%) this.resetItem('blur')}>Reset

      +

      {this.props.language.background.blur} (%) this.resetItem('blur')}>{this.props.language.reset}

      document.getElementById('blurAmount').innerText = document.getElementById('blurRange').value} />
      -

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

      +

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

      -

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

      - +

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

      +
    { /*
      diff --git a/src/components/modals/Update.jsx b/src/components/modals/Update.jsx index d1ab1161..a62e191b 100644 --- a/src/components/modals/Update.jsx +++ b/src/components/modals/Update.jsx @@ -48,7 +48,7 @@ export default class Update extends React.PureComponent { ×

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

      Read on the blog here: ${this.state.url}

      `}}>

  • ; } diff --git a/src/components/modals/marketplace/Item.jsx b/src/components/modals/marketplace/Item.jsx index dbd65585..7d8364a8 100644 --- a/src/components/modals/marketplace/Item.jsx +++ b/src/components/modals/marketplace/Item.jsx @@ -11,7 +11,7 @@ export default class Item extends React.PureComponent {

    {this.props.data.name}

    {this.props.button}

    - product + product

    {this.props.language.information}

    diff --git a/src/components/modals/marketplace/Items.jsx b/src/components/modals/marketplace/Items.jsx index 1ddf5560..b11aeda7 100644 --- a/src/components/modals/marketplace/Items.jsx +++ b/src/components/modals/marketplace/Items.jsx @@ -12,7 +12,7 @@ export default class Items extends React.PureComponent {
    {this.props.items.map((item) =>
    this.props.toggleFunction(item.name)}> - icon + icon

    {item.display_name}

    {item.author}

    diff --git a/src/translations/en.json b/src/translations/en.json index 43ff2cc1..93446e5a 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -40,7 +40,8 @@ "blur": "Adjust Blur", "customURL": "Custom Background URL", "custombackground": "Custom Background", - "customcolour": "Custom Background Colour" + "customcolour": "Custom Background Colour", + "upload": "Upload" }, "searchbar": { "title": "Search Bar", @@ -106,21 +107,6 @@ }, "addons": { "added": "Added", - "product": { - "overview": "Overview", - "information": "Information", - "last_updated": "Last Updated", - "version": "Version", - "author": "Author", - "notice": { - "title": "Notice", - "description": "In order for the change to take place, the page must be refreshed." - }, - "buttons": { - "addtomue": "Add To Mue", - "remove": "Remove" - } - }, "empty": { "title": "It's empty here", "description": "Head to the marketplace to add some.", diff --git a/src/translations/fr.json b/src/translations/fr.json index 4fc12325..d4c78551 100644 --- a/src/translations/fr.json +++ b/src/translations/fr.json @@ -106,21 +106,6 @@ }, "addons": { "added": "Ajoutée", - "product": { - "overview": "Aperçu", - "information": "Informations", - "last_updated": "Dernière mise à jour", - "version": "Version", - "author": "Auteure", - "notice": { - "title": "Écriteau", - "description": "S'il vous plait, recharger la page." - }, - "buttons": { - "addtomue": "Ajouter au Mue", - "remove": "Enlever" - } - }, "empty": { "title": "Il est vide ici", "description": "Aller su le marché pour en ajouter.", diff --git a/src/translations/nl.json b/src/translations/nl.json index 0045fd0a..d4b77625 100644 --- a/src/translations/nl.json +++ b/src/translations/nl.json @@ -40,7 +40,8 @@ "blur": "Onscherpte Aanpassen", "customURL": "Aangepaste Achtergrond URL", "custombackground": "Aangepaste Achtergrond", - "customcolour": "Aangepaste Achtergrondkleur" + "customcolour": "Aangepaste Achtergrondkleur", + "upload": "Uploaden" }, "searchbar": { "title": "Zoekbalk", @@ -106,21 +107,6 @@ }, "addons": { "added": "Toegevoegd", - "product": { - "overview": "Overzicht", - "information": "Informatie", - "last_updated": "Laatst Geüpdatet", - "version": "Versie", - "author": "Auteur", - "notice": { - "title": "Aankondiging", - "description": "De veranderingen gaan in zodra je de pagina herlaad." - }, - "buttons": { - "addtomue": "Voeg aan Mue toe", - "remove": "Verwijder" - } - }, "empty": { "title": "Het is hier leeg", "description": "Ga naar de marktplaats om een paar extensies toe te veogen.", diff --git a/src/translations/no.json b/src/translations/no.json index 16a46b84..cab31af3 100644 --- a/src/translations/no.json +++ b/src/translations/no.json @@ -106,21 +106,6 @@ }, "addons": { "added": "Lagt til", - "product": { - "overview": "Oversikt", - "information": "Informasjon", - "last_updated": "Sist oppdatert", - "version": "Versjon", - "author": "Forfatter", - "notice": { - "title": "Vær oppmerksom", - "description": "For at endringen skal ta skje, må siden relastes." - }, - "buttons": { - "addtomue": "Legg Til Mue", - "remove": "Fjern" - } - }, "empty": { "title": "Det er tomt her.", "description": "Gå til markedsplassen å legg til noe.",