diff --git a/package-lock.json b/package-lock.json
index 78402e0..cecaec2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "foris",
- "version": "3.2.0",
+ "version": "3.3.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 91bfeb8..f6f4dee 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "foris",
- "version": "3.2.0",
+ "version": "3.3.0",
"description": "Set of components and utils for Foris and its plugins.",
"author": "CZ.NIC, z.s.p.o.",
"repository": {
diff --git a/src/common/WiFiSettings/ResetWiFiSettings.js b/src/common/WiFiSettings/ResetWiFiSettings.js
index 1b65a3d..9260df6 100644
--- a/src/common/WiFiSettings/ResetWiFiSettings.js
+++ b/src/common/WiFiSettings/ResetWiFiSettings.js
@@ -27,7 +27,6 @@ export default function ResetWiFiSettings({ ws, endpoint }) {
const module = "wifi";
ws.subscribe(module)
.bind(module, "reset", () => {
- setIsLoading(true);
// eslint-disable-next-line no-restricted-globals
setTimeout(() => location.reload(), 1000);
});
@@ -45,6 +44,7 @@ export default function ResetWiFiSettings({ ws, endpoint }) {
function onReset() {
dismissAlert();
+ setIsLoading(true);
postReset();
}
diff --git a/src/common/WiFiSettings/__tests__/WiFiSettings.test.js b/src/common/WiFiSettings/__tests__/WiFiSettings.test.js
index cb71edf..1622fba 100644
--- a/src/common/WiFiSettings/__tests__/WiFiSettings.test.js
+++ b/src/common/WiFiSettings/__tests__/WiFiSettings.test.js
@@ -39,9 +39,10 @@ describe("", () => {
it("should handle error", async () => {
const webSockets = new WebSockets();
const { getByText } = render();
- mockJSONError();
+ const errorMessage = "An API error occurred.";
+ mockJSONError(errorMessage);
await wait(() => {
- expect(getByText("An error occurred while fetching data.")).toBeTruthy();
+ expect(getByText(errorMessage)).toBeTruthy();
});
});
diff --git a/src/form/components/ForisForm.js b/src/form/components/ForisForm.js
index 65eff29..f6b5ede 100644
--- a/src/form/components/ForisForm.js
+++ b/src/form/components/ForisForm.js
@@ -11,7 +11,6 @@ import { Prompt } from "react-router-dom";
import { ALERT_TYPES } from "../../bootstrap/Alert";
import { API_STATE } from "../../api/utils";
-import { ErrorMessage } from "../../utils/ErrorMessage";
import { formFieldsSize } from "../../bootstrap/constants";
import { Spinner } from "../../bootstrap/Spinner";
import { useAlert } from "../../alertContext/AlertContext";
@@ -19,6 +18,7 @@ import { useAPIPost } from "../../api/hooks";
import { useForisModule, useForm } from "../hooks";
import { STATES as SUBMIT_BUTTON_STATES, SubmitButton } from "./SubmitButton";
+import { ErrorMessage } from "../../utils/ErrorMessage";
ForisForm.propTypes = {
/** Optional WebSocket object. See `scr/common/WebSockets.js`.
@@ -91,7 +91,7 @@ export function ForisForm({
children,
}) {
const [formState, onFormChangeHandler, resetFormData] = useForm(validator, prepData);
- const [setAlert] = useAlert();
+ const [setAlert, dismissAlert] = useAlert();
const [forisModuleState] = useForisModule(ws, forisConfig);
useEffect(() => {
@@ -111,7 +111,7 @@ export function ForisForm({
}, [postCallback, postState.state, postState.data, setAlert]);
if (forisModuleState.state === API_STATE.ERROR) {
- return ;
+ return ;
}
if (!formState.data) {
return ;
@@ -120,6 +120,7 @@ export function ForisForm({
function onSubmitHandler(event) {
event.preventDefault();
resetFormData();
+ dismissAlert();
const copiedFormData = JSON.parse(JSON.stringify(formState.data));
const preparedData = prepDataToSubmit(copiedFormData);
post({ data: preparedData });
diff --git a/src/utils/ErrorMessage.js b/src/utils/ErrorMessage.js
index 22e4f7b..77b79ec 100644
--- a/src/utils/ErrorMessage.js
+++ b/src/utils/ErrorMessage.js
@@ -6,11 +6,18 @@
*/
import React from "react";
+import PropTypes from "prop-types";
-export function ErrorMessage() {
+ErrorMessage.propTypes = {
+ message: PropTypes.string,
+};
+
+ErrorMessage.defaultProps = {
+ message: _("An error occurred while fetching data."),
+};
+
+export function ErrorMessage({ message }) {
return (
-
- {_("An error occurred while fetching data.")}
-
+ {message}
);
}
diff --git a/translations/cs/LC_MESSAGES/forisjs.po b/translations/cs/LC_MESSAGES/forisjs.po
index ebd6413..b57126f 100644
--- a/translations/cs/LC_MESSAGES/forisjs.po
+++ b/translations/cs/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-09-29 15:56+0000\n"
"Last-Translator: Pavel Borecki \n"
"Language: cs\n"
@@ -91,11 +91,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -251,11 +251,11 @@ msgstr ""
"hosty“.\n"
" "
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr "Nastavení úspěšně uložena"
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
"Změny, které byly provedeny, nebyly uloženy. Jste si jistý, že chcete "
@@ -273,7 +273,7 @@ msgstr "Načítám nastavení"
msgid "Save"
msgstr "Uložit"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr "Došlo k chybě při získávání dat."
diff --git a/translations/da/LC_MESSAGES/forisjs.po b/translations/da/LC_MESSAGES/forisjs.po
index 2273a86..c7311cd 100644
--- a/translations/da/LC_MESSAGES/forisjs.po
+++ b/translations/da/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: da\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/de/LC_MESSAGES/forisjs.po b/translations/de/LC_MESSAGES/forisjs.po
index c336b73..c7f1a3f 100644
--- a/translations/de/LC_MESSAGES/forisjs.po
+++ b/translations/de/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-09-02 07:21+0000\n"
"Last-Translator: Ulrich Günther \n"
"Language: de\n"
@@ -92,11 +92,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -253,11 +253,11 @@ msgstr ""
"Gastnetzwerk eingestellt werden.\n"
" "
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -273,7 +273,7 @@ msgstr "Einstellungen laden"
msgid "Save"
msgstr "Speichern"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/el/LC_MESSAGES/forisjs.po b/translations/el/LC_MESSAGES/forisjs.po
index 4dcb56a..0483f4f 100644
--- a/translations/el/LC_MESSAGES/forisjs.po
+++ b/translations/el/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: el\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/en/LC_MESSAGES/forisjs.po b/translations/en/LC_MESSAGES/forisjs.po
index b3b5b98..0a8caf9 100644
--- a/translations/en/LC_MESSAGES/forisjs.po
+++ b/translations/en/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-10-17 09:28+0000\n"
"Last-Translator: Scott Anecito \n"
"Language: en\n"
@@ -91,11 +91,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -248,11 +248,11 @@ msgstr ""
"tab.\n"
" "
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -268,7 +268,7 @@ msgstr "Load settings"
msgid "Save"
msgstr "Save"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/es/LC_MESSAGES/forisjs.po b/translations/es/LC_MESSAGES/forisjs.po
index 827598a..39b9f6c 100644
--- a/translations/es/LC_MESSAGES/forisjs.po
+++ b/translations/es/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-10-29 06:53+0000\n"
"Last-Translator: Adolfo Jayme Barrientos \n"
"Language: es\n"
@@ -92,11 +92,11 @@ msgstr "Cancelar"
msgid "Confirm reboot"
msgstr "Confirmar reinicio"
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -225,11 +225,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -247,7 +247,7 @@ msgstr "Configuración de LAN"
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/fi/LC_MESSAGES/forisjs.po b/translations/fi/LC_MESSAGES/forisjs.po
index 96f17dd..3207215 100644
--- a/translations/fi/LC_MESSAGES/forisjs.po
+++ b/translations/fi/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: fi\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/fo/LC_MESSAGES/forisjs.po b/translations/fo/LC_MESSAGES/forisjs.po
index 0dc5bbc..87de11b 100644
--- a/translations/fo/LC_MESSAGES/forisjs.po
+++ b/translations/fo/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: fo\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/forisjs.pot b/translations/forisjs.pot
index e92081d..d508115 100644
--- a/translations/forisjs.pot
+++ b/translations/forisjs.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -89,11 +89,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -222,11 +222,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -242,7 +242,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/fr/LC_MESSAGES/forisjs.po b/translations/fr/LC_MESSAGES/forisjs.po
index 43e1ab1..9a645cb 100644
--- a/translations/fr/LC_MESSAGES/forisjs.po
+++ b/translations/fr/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-10-14 11:04+0000\n"
"Last-Translator: ButterflyOfFire \n"
"Language: fr\n"
@@ -94,11 +94,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -227,11 +227,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -247,7 +247,7 @@ msgstr "Charger les paramètres"
msgid "Save"
msgstr "Enregistrer"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/hr/LC_MESSAGES/forisjs.po b/translations/hr/LC_MESSAGES/forisjs.po
index 8da3707..9fab7b6 100644
--- a/translations/hr/LC_MESSAGES/forisjs.po
+++ b/translations/hr/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: hr\n"
@@ -91,11 +91,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -224,11 +224,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -244,7 +244,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/hu/LC_MESSAGES/forisjs.po b/translations/hu/LC_MESSAGES/forisjs.po
index b7bc8c7..c5a0396 100644
--- a/translations/hu/LC_MESSAGES/forisjs.po
+++ b/translations/hu/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: hu\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/it/LC_MESSAGES/forisjs.po b/translations/it/LC_MESSAGES/forisjs.po
index 8006ef5..abd8642 100644
--- a/translations/it/LC_MESSAGES/forisjs.po
+++ b/translations/it/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: it\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/ja/LC_MESSAGES/forisjs.po b/translations/ja/LC_MESSAGES/forisjs.po
index 1e8637b..a0666d9 100644
--- a/translations/ja/LC_MESSAGES/forisjs.po
+++ b/translations/ja/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-10-16 10:08+0000\n"
"Last-Translator: Scott Anecito \n"
"Language: ja\n"
@@ -91,11 +91,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -224,11 +224,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -244,7 +244,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/ko/LC_MESSAGES/forisjs.po b/translations/ko/LC_MESSAGES/forisjs.po
index 12a646c..93e39bd 100644
--- a/translations/ko/LC_MESSAGES/forisjs.po
+++ b/translations/ko/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: ko\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/lt/LC_MESSAGES/forisjs.po b/translations/lt/LC_MESSAGES/forisjs.po
index b954059..00461e5 100644
--- a/translations/lt/LC_MESSAGES/forisjs.po
+++ b/translations/lt/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME \n"
"Language: lt\n"
@@ -91,11 +91,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -224,11 +224,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -244,7 +244,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/nb/LC_MESSAGES/forisjs.po b/translations/nb/LC_MESSAGES/forisjs.po
index 731f118..b3ea393 100644
--- a/translations/nb/LC_MESSAGES/forisjs.po
+++ b/translations/nb/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-11-10 16:04+0000\n"
"Last-Translator: Allan Nordhøy \n"
"Language: nb\n"
@@ -92,11 +92,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -250,11 +250,11 @@ msgstr ""
"\n"
" "
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -270,7 +270,7 @@ msgstr "Last inn innstillinger"
msgid "Save"
msgstr "Lagre"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/nb_NO/LC_MESSAGES/forisjs.po b/translations/nb_NO/LC_MESSAGES/forisjs.po
index 69b7dbf..c438d94 100644
--- a/translations/nb_NO/LC_MESSAGES/forisjs.po
+++ b/translations/nb_NO/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-08-28 17:55+0200\n"
"Last-Translator: FULL NAME \n"
"Language: nb_NO\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/nl/LC_MESSAGES/forisjs.po b/translations/nl/LC_MESSAGES/forisjs.po
index 38fd57c..2042701 100644
--- a/translations/nl/LC_MESSAGES/forisjs.po
+++ b/translations/nl/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-10-15 13:02+0000\n"
"Last-Translator: powerburner-nl \n"
"Language: nl\n"
@@ -92,11 +92,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -225,11 +225,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -245,7 +245,7 @@ msgstr "Instellingen laden"
msgid "Save"
msgstr "Opslaan"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/pl/LC_MESSAGES/forisjs.po b/translations/pl/LC_MESSAGES/forisjs.po
index 1e7a30d..2b305cd 100644
--- a/translations/pl/LC_MESSAGES/forisjs.po
+++ b/translations/pl/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
"Last-Translator: FULL NAME \n"
"Language: pl\n"
@@ -92,11 +92,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -225,11 +225,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -245,7 +245,7 @@ msgstr ""
msgid "Save"
msgstr "Zapisz"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/ro/LC_MESSAGES/forisjs.po b/translations/ro/LC_MESSAGES/forisjs.po
index 1409ac0..c3892a5 100644
--- a/translations/ro/LC_MESSAGES/forisjs.po
+++ b/translations/ro/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-02-19 13:35+0100\n"
"Last-Translator: FULL NAME \n"
"Language: ro\n"
@@ -91,11 +91,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -224,11 +224,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -244,7 +244,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/ru/LC_MESSAGES/forisjs.po b/translations/ru/LC_MESSAGES/forisjs.po
index effcd44..1590032 100644
--- a/translations/ru/LC_MESSAGES/forisjs.po
+++ b/translations/ru/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-09-30 13:00+0000\n"
"Last-Translator: Алексей Леньшин \n"
"Language: ru\n"
@@ -93,11 +93,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -250,11 +250,11 @@ msgstr ""
"Гостевая сеть.\n"
" "
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -270,7 +270,7 @@ msgstr "Загрузить настройки"
msgid "Save"
msgstr "Сохранить"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/sk/LC_MESSAGES/forisjs.po b/translations/sk/LC_MESSAGES/forisjs.po
index 0083703..cfa501e 100644
--- a/translations/sk/LC_MESSAGES/forisjs.po
+++ b/translations/sk/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
"Last-Translator: FULL NAME \n"
"Language: sk\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr ""
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
diff --git a/translations/sv/LC_MESSAGES/forisjs.po b/translations/sv/LC_MESSAGES/forisjs.po
index c73e2e5..5ceeb13 100644
--- a/translations/sv/LC_MESSAGES/forisjs.po
+++ b/translations/sv/LC_MESSAGES/forisjs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-01-13 13:09+0100\n"
+"POT-Creation-Date: 2020-01-20 16:26+0100\n"
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
"Last-Translator: FULL NAME \n"
"Language: sv\n"
@@ -90,11 +90,11 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:40
+#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
-#: src/common/WiFiSettings/ResetWiFiSettings.js:42
+#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
@@ -223,11 +223,11 @@ msgid ""
" "
msgstr ""
-#: src/form/components/ForisForm.js:102
+#: src/form/components/ForisForm.js:107
msgid "Settings saved successfully"
msgstr ""
-#: src/form/components/ForisForm.js:154
+#: src/form/components/ForisForm.js:160
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@@ -243,7 +243,7 @@ msgstr ""
msgid "Save"
msgstr "Spara"
-#: src/utils/ErrorMessage.js:13
+#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""