diff --git a/src/components/modals/main/scss/settings/_main.scss b/src/components/modals/main/scss/settings/_main.scss
index d994a940..d3f92792 100644
--- a/src/components/modals/main/scss/settings/_main.scss
+++ b/src/components/modals/main/scss/settings/_main.scss
@@ -180,7 +180,7 @@ legend {
}
}
-.tab-content {
+.changelogtab {
h1 {
max-width: 85%;
}
diff --git a/src/components/modals/main/settings/sections/About.jsx b/src/components/modals/main/settings/sections/About.jsx
index 3e059694..25c56fb9 100644
--- a/src/components/modals/main/settings/sections/About.jsx
+++ b/src/components/modals/main/settings/sections/About.jsx
@@ -36,8 +36,8 @@ export default class About extends React.PureComponent {
}
return this.setState({
- update: 'Failed to get update information',
- loading: 'An error occurred'
+ update: this.language.version.error.title,
+ loading: this.language.version.error.description
});
}
@@ -66,7 +66,8 @@ export default class About extends React.PureComponent {
componentDidMount() {
if (navigator.onLine === false || localStorage.getItem('offlineMode') === 'true') {
this.setState({
- update: this.language.version.offline_mode
+ update: this.language.version.offline_mode,
+ loading: window.language.modals.update.offline.title
});
return;
}
diff --git a/src/components/modals/main/settings/sections/Changelog.jsx b/src/components/modals/main/settings/sections/Changelog.jsx
index ccb5f8ed..61caf976 100644
--- a/src/components/modals/main/settings/sections/Changelog.jsx
+++ b/src/components/modals/main/settings/sections/Changelog.jsx
@@ -98,7 +98,7 @@ export default class Changelog extends React.PureComponent {
}
return (
- <>
+
{this.state.title}
{this.state.author} • {this.state.date}
{this.state.image ?

: null}
@@ -106,7 +106,7 @@ export default class Changelog extends React.PureComponent {
this.setState({ showLightbox: false })} isOpen={this.state.showLightbox} className='Modal lightboxmodal' overlayClassName='Overlay resetoverlay' ariaHideApp={false}>
this.setState({ showLightbox: false })} img={this.state.lightboxImg}/>
- >
+
);
}
}
diff --git a/src/components/modals/main/settings/sections/background/Background.jsx b/src/components/modals/main/settings/sections/background/Background.jsx
index 518b4a58..39d71704 100644
--- a/src/components/modals/main/settings/sections/background/Background.jsx
+++ b/src/components/modals/main/settings/sections/background/Background.jsx
@@ -78,7 +78,9 @@ export default class BackgroundSettings extends React.PureComponent {
componentDidMount() {
if (navigator.onLine === false || localStorage.getItem('offlineMode') === 'true') {
- return;
+ return this.setState({
+ backgroundCategories: [window.language.modals.update.offline.title]
+ });
}
this.getBackgroundCategories();
diff --git a/src/translations/de_DE.json b/src/translations/de_DE.json
index e7a6e35d..2dad787f 100644
--- a/src/translations/de_DE.json
+++ b/src/translations/de_DE.json
@@ -271,7 +271,11 @@
"checking_update": "Auf Update prüfen",
"update_available": "Update verfügbar",
"no_update": "Kein Update verfügbar",
- "offline_mode": "Im Offline Modus kann nicht nach Updates gesucht werden"
+ "offline_mode": "Im Offline Modus kann nicht nach Updates gesucht werden",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Kontaktieren Sie uns",
"support_mue": "Mue unterstützen",
diff --git a/src/translations/en_GB.json b/src/translations/en_GB.json
index cc23b41f..220ad98a 100644
--- a/src/translations/en_GB.json
+++ b/src/translations/en_GB.json
@@ -271,7 +271,11 @@
"checking_update": "Checking for update",
"update_available": "Update available",
"no_update": "No update available",
- "offline_mode": "Cannot check for update in offline mode"
+ "offline_mode": "Cannot check for update in offline mode",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Contact Us",
"support_mue": "Support Mue",
diff --git a/src/translations/en_US.json b/src/translations/en_US.json
index 90d2b527..b1109e06 100644
--- a/src/translations/en_US.json
+++ b/src/translations/en_US.json
@@ -271,7 +271,11 @@
"checking_update": "Checking for update",
"update_available": "Update available",
"no_update": "No update available",
- "offline_mode": "Cannot check for update in offline mode"
+ "offline_mode": "Cannot check for update in offline mode",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Contact Us",
"support_mue": "Support Mue",
diff --git a/src/translations/es.json b/src/translations/es.json
index 37d8890e..5fd7c297 100644
--- a/src/translations/es.json
+++ b/src/translations/es.json
@@ -271,7 +271,11 @@
"checking_update": "Comprobando actualizaciones",
"update_available": "Actualización disponible",
"no_update": "Actualizaciones no disponibles",
- "offline_mode": "No se puede comprobar la actualización en modo sin conexión"
+ "offline_mode": "No se puede comprobar la actualización en modo sin conexión",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Contacto",
"support_mue": "Apoya Mue",
diff --git a/src/translations/fr.json b/src/translations/fr.json
index f7c8e850..86ed090d 100644
--- a/src/translations/fr.json
+++ b/src/translations/fr.json
@@ -271,7 +271,11 @@
"checking_update": "Vérification de la mise à jour",
"update_available": "Mise à jour disponible",
"no_update": "Pas de mise a jour disponible",
- "offline_mode": "Impossible de vérifier la mise à jour en mode hors ligne"
+ "offline_mode": "Impossible de vérifier la mise à jour en mode hors ligne",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Nous contacter",
"support_mue": "Soutenir Mue",
diff --git a/src/translations/nl.json b/src/translations/nl.json
index e0f604ca..6c3977c9 100644
--- a/src/translations/nl.json
+++ b/src/translations/nl.json
@@ -271,7 +271,11 @@
"checking_update": "Checking for update",
"update_available": "Update available",
"no_update": "No update available",
- "offline_mode": "Cannot check for update in offline mode"
+ "offline_mode": "Cannot check for update in offline mode",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Contact Us",
"support_mue": "Support Mue",
diff --git a/src/translations/no.json b/src/translations/no.json
index 6e30d312..29a72014 100644
--- a/src/translations/no.json
+++ b/src/translations/no.json
@@ -271,7 +271,11 @@
"checking_update": "Checking for update",
"update_available": "Update available",
"no_update": "No update available",
- "offline_mode": "Cannot check for update in offline mode"
+ "offline_mode": "Cannot check for update in offline mode",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Contact Us",
"support_mue": "Support Mue",
diff --git a/src/translations/ru.json b/src/translations/ru.json
index af96c40c..6d6cfc77 100644
--- a/src/translations/ru.json
+++ b/src/translations/ru.json
@@ -271,7 +271,11 @@
"checking_update": "Checking for update",
"update_available": "Update available",
"no_update": "No update available",
- "offline_mode": "Cannot check for update in offline mode"
+ "offline_mode": "Cannot check for update in offline mode",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Contact Us",
"support_mue": "Support Mue",
diff --git a/src/translations/zh_CN.json b/src/translations/zh_CN.json
index a46e2cc1..5153e91d 100644
--- a/src/translations/zh_CN.json
+++ b/src/translations/zh_CN.json
@@ -271,7 +271,11 @@
"checking_update": "Checking for update",
"update_available": "Update available",
"no_update": "No update available",
- "offline_mode": "Cannot check for update in offline mode"
+ "offline_mode": "Cannot check for update in offline mode",
+ "error": {
+ "title": "Failed to get update information",
+ "description": "An error occured"
+ }
},
"contact_us": "Contact Us",
"support_mue": "Support Mue",