diff --git a/src/components/modals/marketplace/Item.jsx b/src/components/modals/marketplace/Item.jsx
index 2b137f90..9b6fccac 100644
--- a/src/components/modals/marketplace/Item.jsx
+++ b/src/components/modals/marketplace/Item.jsx
@@ -4,12 +4,12 @@ import ArrowBackIcon from '@material-ui/icons/ArrowBack';
export default class Item extends React.PureComponent {
render() {
//if (!this.props.data.icon) return null;
- let warningHTML = '';
+ let warningHTML;
if (this.props.data.quote_api) {
warningHTML =
- - Warning
- - This quote pack requests to external servers that may track you!
+ - {this.props.language.quoteWarning.title}
+ - {this.props.language.quoteWarning.description}
}
diff --git a/src/components/modals/settings/Section.jsx b/src/components/modals/settings/Section.jsx
index 98532e6a..daa2a215 100644
--- a/src/components/modals/settings/Section.jsx
+++ b/src/components/modals/settings/Section.jsx
@@ -5,7 +5,7 @@ import ExpandMore from '@material-ui/icons/ExpandMore';
export default class Section extends React.PureComponent {
render() {
- let extraHTML, expandMore = '';
+ let extraHTML, expandMore;
if (this.props.children) {
extraHTML = {this.props.children}
expandMore = {
const reader = new FileReader();
- const file = e.target.files[0];
+ const file = e.target.files[0];
if (file.size > 2000000) return toast('File is over 2MB', '#ff0000', '#ffffff');
diff --git a/src/components/modals/settings/sections/ExperimentalSettings.jsx b/src/components/modals/settings/sections/ExperimentalSettings.jsx
index 77283a4d..c45d528c 100644
--- a/src/components/modals/settings/sections/ExperimentalSettings.jsx
+++ b/src/components/modals/settings/sections/ExperimentalSettings.jsx
@@ -12,9 +12,9 @@ export default class ExperimentalSettings extends React.PureComponent {
-
-
-
+
+
+
);
diff --git a/src/components/modals/settings/sections/SearchSettings.jsx b/src/components/modals/settings/sections/SearchSettings.jsx
index d59e7e1f..2173c137 100644
--- a/src/components/modals/settings/sections/SearchSettings.jsx
+++ b/src/components/modals/settings/sections/SearchSettings.jsx
@@ -27,7 +27,7 @@ export default class SearchSettings extends React.PureComponent {
diff --git a/src/translations/en.json b/src/translations/en.json
index 3b7423e7..9dc005b8 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -46,14 +46,18 @@
},
"searchbar": {
"title": "Search Bar",
- "searchengine": "Search Engine"
+ "searchengine": "Search Engine",
+ "custom": "Custom Search URL"
},
"offline": "Offline Mode",
"experimental": {
"title": "Experimental",
"webp": "Enable WebP",
"dark": "Dark Theme",
- "animations": "Animations"
+ "animations": "Animations",
+ "view": "View",
+ "favourite": "Favourite",
+ "refresh": "Refresh"
},
"language": "Language",
"apply": "Apply",
@@ -99,6 +103,10 @@
"buttons": {
"addtomue": "Add To Mue",
"remove": "Remove"
+ },
+ "quoteWarning": {
+ "title": "Warning",
+ "description": "This quote pack requests to external servers that may track you!"
}
},
"offline": {