diff --git a/src/components/modals/main/settings/Radio.jsx b/src/components/modals/main/settings/Radio.jsx
index 93dc345a..87393273 100644
--- a/src/components/modals/main/settings/Radio.jsx
+++ b/src/components/modals/main/settings/Radio.jsx
@@ -29,9 +29,9 @@ export default class Radio extends React.PureComponent {
{this.props.title}
- {this.props.options.map(option =>
+ {this.props.options.map(option => (
} label={option.name} key={option.name} />
- )}
+ ))}
);
diff --git a/src/components/modals/main/settings/Slider.jsx b/src/components/modals/main/settings/Slider.jsx
index bced0d5e..1976000f 100644
--- a/src/components/modals/main/settings/Slider.jsx
+++ b/src/components/modals/main/settings/Slider.jsx
@@ -33,7 +33,7 @@ export default class Slider extends React.PureComponent {
return (
<>
{this.props.title} ({this.state.value}{this.props.display}) {this.language.buttons.reset}
-
+
>
);
}
diff --git a/src/components/modals/main/settings/sections/About.jsx b/src/components/modals/main/settings/sections/About.jsx
index cb8f75b5..922726f4 100644
--- a/src/components/modals/main/settings/sections/About.jsx
+++ b/src/components/modals/main/settings/sections/About.jsx
@@ -74,24 +74,24 @@ export default class About extends React.PureComponent {
Undraw ({this.language.resources_used.welcome_img})
{this.language.contributors}
{this.state.loading}
- {this.state.contributors.map((item) =>
+ {this.state.contributors.map((item) => (
- )}
+ ))}
{ // for those who contributed without opening a pull request
- this.state.other_contributors.map((item) =>
+ this.state.other_contributors.map((item) => (
- )}
+ ))}
{this.language.supporters}
{this.state.loading}
- {this.state.sponsors.map((item) =>
+ {this.state.sponsors.map((item) => (
- )}
+ ))}
{this.language.photographers}
{this.state.loading}
{this.state.photographers}
diff --git a/src/components/modals/main/settings/sections/Advanced.jsx b/src/components/modals/main/settings/sections/Advanced.jsx
index 1a0188a9..90142274 100644
--- a/src/components/modals/main/settings/sections/Advanced.jsx
+++ b/src/components/modals/main/settings/sections/Advanced.jsx
@@ -41,16 +41,16 @@ export default class AdvancedSettings extends React.PureComponent {
- this.settingsImport(e)} />
+ this.settingsImport(e)}/>
{advanced.customisation}
-
+
{this.language.sections.experimental.title}
{advanced.experimental_warning}
-
+
this.setState({ resetModal: false })} isOpen={this.state.resetModal} className={'Modal resetmodal'} overlayClassName={'Overlay resetoverlay'} ariaHideApp={false}>
this.setState({ resetModal: false })} />
diff --git a/src/components/modals/main/settings/sections/Appearance.jsx b/src/components/modals/main/settings/sections/Appearance.jsx
index b2ae9b08..55e20435 100644
--- a/src/components/modals/main/settings/sections/Appearance.jsx
+++ b/src/components/modals/main/settings/sections/Appearance.jsx
@@ -13,15 +13,15 @@ export default function AppearanceSettings() {
const themeOptions = [
{
- 'name': 'Auto',
+ 'name': appearance.theme.auto,
'value': 'auto'
},
{
- 'name': 'Light',
+ 'name': appearance.theme.light,
'value': 'light'
},
{
- 'name': 'Dark',
+ 'name': appearance.theme.dark,
'value': 'dark'
}
];
@@ -29,7 +29,7 @@ export default function AppearanceSettings() {
return (
<>
{appearance.title}
-
+
{appearance.navbar.title}
@@ -39,29 +39,29 @@ export default function AppearanceSettings() {
-
+
{/* names are taken from https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight */}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
{appearance.accessibility.title}
{(engineName === 'Blink') ?
: null}
-
+
>
);
}
diff --git a/src/components/modals/main/settings/sections/Experimental.jsx b/src/components/modals/main/settings/sections/Experimental.jsx
index 232df307..819b0093 100644
--- a/src/components/modals/main/settings/sections/Experimental.jsx
+++ b/src/components/modals/main/settings/sections/Experimental.jsx
@@ -1,6 +1,7 @@
import React from 'react';
import Checkbox from '../Checkbox';
+import Slider from '../Slider';
//import Text from '../Text';
export default function ExperimentalSettings() {
@@ -13,6 +14,7 @@ export default function ExperimentalSettings() {
{experimental.developer}
+
{/*
@@ -22,6 +24,7 @@ export default function ExperimentalSettings() {
*/}
+
>
);
diff --git a/src/components/modals/main/settings/sections/Greeting.jsx b/src/components/modals/main/settings/sections/Greeting.jsx
index ba28f265..5c10441f 100644
--- a/src/components/modals/main/settings/sections/Greeting.jsx
+++ b/src/components/modals/main/settings/sections/Greeting.jsx
@@ -37,7 +37,7 @@ export default class GreetingSettings extends React.PureComponent {
{greeting.birthday}
-
+
{greeting.birthday_date}
>
diff --git a/src/components/modals/main/settings/sections/Order.jsx b/src/components/modals/main/settings/sections/Order.jsx
index b2d7af30..f5d7bb75 100644
--- a/src/components/modals/main/settings/sections/Order.jsx
+++ b/src/components/modals/main/settings/sections/Order.jsx
@@ -49,8 +49,8 @@ export default class OrderSettings extends React.PureComponent {
render() {
return (
<>
- Order
- Reset
+ {this.language.sections.order.title}
+ {this.language.buttons.reset}
{this.state.items.map((value, index) => (
diff --git a/src/components/modals/main/settings/sections/Search.jsx b/src/components/modals/main/settings/sections/Search.jsx
index 084ec2b7..d1fc42bb 100644
--- a/src/components/modals/main/settings/sections/Search.jsx
+++ b/src/components/modals/main/settings/sections/Search.jsx
@@ -64,9 +64,9 @@ export default class SearchSettings extends React.PureComponent {
{isChrome ? : null}
this.setSearchEngine(value)}>
- {searchEngines.map((engine) =>
+ {searchEngines.map((engine) => (
- )}
+ ))}