diff --git a/package.json b/package.json index 492c560b..16f0eb91 100644 --- a/package.json +++ b/package.json @@ -30,12 +30,12 @@ }, "devDependencies": { "@babel/core": "^7.15.5", - "@babel/eslint-parser": "^7.15.4", + "@babel/eslint-parser": "^7.15.7", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-transform-react-constant-elements": "^7.14.5", "@babel/plugin-transform-react-inline-elements": "^7.14.5", "@babel/plugin-transform-runtime": "^7.15.0", - "@babel/preset-env": "^7.15.4", + "@babel/preset-env": "^7.15.6", "@babel/preset-react": "^7.14.5", "@eartharoid/deep-merge": "^0.0.2", "babel-loader": "^8.2.2", @@ -45,13 +45,13 @@ "eslint": "^7.32.0", "eslint-config-react-app": "^6.0.0", "html-webpack-plugin": "^5.3.2", - "mini-css-extract-plugin": "^2.2.2", - "sass": "^1.39.0", + "mini-css-extract-plugin": "^2.3.0", + "sass": "^1.42.1", "sass-loader": "^12.1.0", "source-map-loader": "^3.0.0", - "webpack": "^5.51.0", + "webpack": "^5.54.0", "webpack-cli": "^4.8.0", - "webpack-dev-server": "^4.1.0" + "webpack-dev-server": "^4.3.0" }, "scripts": { "start": "webpack serve", diff --git a/src/components/modals/main/settings/sections/Changelog.jsx b/src/components/modals/main/settings/sections/Changelog.jsx index 40e66011..ea3f79cf 100644 --- a/src/components/modals/main/settings/sections/Changelog.jsx +++ b/src/components/modals/main/settings/sections/Changelog.jsx @@ -36,7 +36,9 @@ export default class Changelog extends PureComponent { title: data.title, date, image: data.featured_image || null, - author: 'By ' + data.authors.join(', '), + author: variables.language.getMessage(variables.languagecode, 'modals.main.settings.sections.changelog.by', { + author: data.authors.join(', ') + }), html: data.html }); diff --git a/src/components/modals/main/settings/sections/Date.jsx b/src/components/modals/main/settings/sections/Date.jsx index 7bf89cd5..ee522574 100644 --- a/src/components/modals/main/settings/sections/Date.jsx +++ b/src/components/modals/main/settings/sections/Date.jsx @@ -20,25 +20,25 @@ export default class DateSettings extends PureComponent { const longSettings = ( <> - - + + ); const shortSettings = ( <>
- +

- - - - - + + + + + ); @@ -51,14 +51,14 @@ export default class DateSettings extends PureComponent { return ( <> -
+
this.setState({ dateType: value })} category='date'> - - + +
- + {dateSettings} ); diff --git a/src/components/modals/main/tabs/Settings.jsx b/src/components/modals/main/tabs/Settings.jsx index 4819f26a..8ff80910 100644 --- a/src/components/modals/main/tabs/Settings.jsx +++ b/src/components/modals/main/tabs/Settings.jsx @@ -32,7 +32,7 @@ export default function Settings() {
-
+
@@ -44,7 +44,7 @@ export default function Settings() {
-
+
diff --git a/src/components/modals/main/tabs/backend/Tab.jsx b/src/components/modals/main/tabs/backend/Tab.jsx index ef391520..a2c33a93 100644 --- a/src/components/modals/main/tabs/backend/Tab.jsx +++ b/src/components/modals/main/tabs/backend/Tab.jsx @@ -51,7 +51,7 @@ function Tab({ label, currentTab, onClick, navbarTab }) { case getMessage('modals.main.settings.sections.appearance.navbar.title'): icon = ; break; case getMessage('modals.main.settings.sections.time.title'): icon =