mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-15 13:36:35 +02:00
Compare commits
53 Commits
Author | SHA1 | Date | |
---|---|---|---|
aeaad4aa72 | |||
256a000d61 | |||
c78ed9a5d0 | |||
bded10211a | |||
25ac6cf1e9 | |||
9a2547a6c2 | |||
7968c7af4a | |||
4b94c470c3 | |||
e1b5a25ddd | |||
95af86c776 | |||
02b5583712 | |||
2f4d757a1a | |||
3c7a67783f | |||
4500e85a40 | |||
ce955095fd | |||
00b861531e | |||
fad5b97a2e | |||
aa639596d4 | |||
1ee41f4f14 | |||
bf8c2d28bf | |||
dbb840d51c | |||
ba772be869 | |||
70da1c3c00 | |||
8e68bbc91f | |||
0af8c4aa28 | |||
a9114caf9e | |||
3c81264024 | |||
0330b39f2e | |||
a7dcced08b | |||
c453a35763 | |||
d97248c6ec | |||
9fbc4e8383 | |||
57bebc92c7 | |||
5939e9dd0e | |||
0665869c30 | |||
199b27d63a | |||
2b28434712 | |||
388860d51e | |||
8b7c459855 | |||
83409b0118 | |||
c1cd90dff6 | |||
01fb897180 | |||
716c323b28 | |||
55dbf8f8bb | |||
85e42980ec | |||
3dee532ea2 | |||
3aac48d2bf | |||
ee33d33738 | |||
e62accc4b3 | |||
a318f12352 | |||
cffa0a2b80 | |||
7579fc3b8c | |||
6601cd55e0 |
3
.weblate
Normal file
3
.weblate
Normal file
@ -0,0 +1,3 @@
|
||||
[weblate]
|
||||
url = https://hosted.weblate.org/api/
|
||||
translation = turris/foris-js
|
9717
package-lock.json
generated
9717
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
27
package.json
27
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "foris",
|
||||
"version": "3.2.0",
|
||||
"version": "4.5.0",
|
||||
"description": "Set of components and utils for Foris and its plugins.",
|
||||
"author": "CZ.NIC, z.s.p.o.",
|
||||
"repository": {
|
||||
@ -14,10 +14,9 @@
|
||||
"license": "GPL-3.0",
|
||||
"main": "./src/index.js",
|
||||
"dependencies": {
|
||||
"axios": "^0.19.1",
|
||||
"axios": "^0.19.2",
|
||||
"immutability-helper": "3.0.1",
|
||||
"moment": "^2.24.0",
|
||||
"pdfmake": "^0.1.63",
|
||||
"qrcode.react": "^0.9.3",
|
||||
"react-datetime": "^2.16.3",
|
||||
"react-uid": "^2.2.0"
|
||||
@ -30,26 +29,26 @@
|
||||
"react-router-dom": "^5.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.7.7",
|
||||
"@babel/core": "^7.7.7",
|
||||
"@babel/plugin-transform-runtime": "^7.7.6",
|
||||
"@babel/preset-env": "^7.7.7",
|
||||
"@babel/preset-react": "^7.7.4",
|
||||
"@fortawesome/fontawesome-free": "^5.12.0",
|
||||
"@babel/cli": "^7.8.4",
|
||||
"@babel/core": "^7.9.0",
|
||||
"@babel/plugin-transform-runtime": "^7.9.0",
|
||||
"@babel/preset-env": "^7.9.0",
|
||||
"@babel/preset-react": "^7.9.4",
|
||||
"@fortawesome/fontawesome-free": "^5.13.0",
|
||||
"@testing-library/react": "^8.0.9",
|
||||
"babel-loader": "^8.0.6",
|
||||
"babel-loader": "^8.1.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-reforis": "^1.0.0",
|
||||
"jest": "^24.9.0",
|
||||
"jest": "^25.2.0",
|
||||
"jest-mock-axios": "^3.2.0",
|
||||
"moment-timezone": "^0.5.27",
|
||||
"moment-timezone": "^0.5.28",
|
||||
"prop-types": "15.7.2",
|
||||
"react": "16.9.0",
|
||||
"react-dom": "16.9.0",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-styleguidist": "^10.4.2",
|
||||
"snapshot-diff": "^0.5.1"
|
||||
"react-styleguidist": "^10.6.2",
|
||||
"snapshot-diff": "^0.7.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint src",
|
||||
|
@ -9,7 +9,7 @@ import {
|
||||
useCallback, useEffect, useReducer, useState,
|
||||
} from "react";
|
||||
|
||||
import { ForisURLs } from "../forisUrls";
|
||||
import { ForisURLs } from "../utils/forisUrls";
|
||||
import {
|
||||
API_ACTIONS, API_METHODS, API_STATE, getErrorPayload, HEADERS, TIMEOUT,
|
||||
} from "./utils";
|
||||
@ -53,10 +53,11 @@ function createAPIHook(method) {
|
||||
payload: result.data,
|
||||
});
|
||||
} catch (error) {
|
||||
const errorPayload = getErrorPayload(error);
|
||||
dispatch({
|
||||
type: API_ACTIONS.FAILURE,
|
||||
status: error.response && error.response.status,
|
||||
payload: getErrorPayload(error),
|
||||
payload: errorPayload,
|
||||
});
|
||||
}
|
||||
}, [urlRoot, contentType]);
|
||||
@ -80,6 +81,12 @@ function APIReducer(state, action) {
|
||||
if (action.status === 403) {
|
||||
window.location.assign(ForisURLs.login);
|
||||
}
|
||||
|
||||
// Not an API error - should be rethrown.
|
||||
if (action.payload && action.payload.stack && action.payload.message) {
|
||||
throw (action.payload);
|
||||
}
|
||||
|
||||
return {
|
||||
state: API_STATE.ERROR,
|
||||
data: action.payload,
|
||||
|
@ -65,9 +65,8 @@ export function getErrorPayload(error) {
|
||||
if (error.request) {
|
||||
return _("No response received.");
|
||||
}
|
||||
/* eslint no-console: "off" */
|
||||
console.error(error);
|
||||
return _("An unknown error occurred. Check the console for more info.");
|
||||
// Return original error because it's not directly related to API request/response.
|
||||
return error;
|
||||
}
|
||||
|
||||
export function getJSONErrorMessage(error) {
|
||||
|
15
src/bootstrap/Modal.css
Normal file
15
src/bootstrap/Modal.css
Normal file
@ -0,0 +1,15 @@
|
||||
@keyframes modalFade {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.modal.show {
|
||||
display: block;
|
||||
animation-name: modalFade;
|
||||
animation-duration: .3s;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
@ -10,12 +10,14 @@ import PropTypes from "prop-types";
|
||||
|
||||
import { Portal } from "../utils/Portal";
|
||||
import { useClickOutside } from "../utils/hooks";
|
||||
import "./Modal.css";
|
||||
|
||||
Modal.propTypes = {
|
||||
/** Is modal shown value */
|
||||
shown: PropTypes.bool.isRequired,
|
||||
/** Callback to manage modal visibility */
|
||||
setShown: PropTypes.func.isRequired,
|
||||
scrollable: PropTypes.bool,
|
||||
|
||||
/** Modal content use following: `ModalHeader`, `ModalBody`, `ModalFooter` */
|
||||
children: PropTypes.oneOfType([
|
||||
@ -24,7 +26,9 @@ Modal.propTypes = {
|
||||
]).isRequired,
|
||||
};
|
||||
|
||||
export function Modal({ shown, setShown, children }) {
|
||||
export function Modal({
|
||||
shown, setShown, scrollable, children,
|
||||
}) {
|
||||
const dialogRef = useRef();
|
||||
|
||||
useClickOutside(dialogRef, () => setShown(false));
|
||||
@ -32,7 +36,11 @@ export function Modal({ shown, setShown, children }) {
|
||||
return (
|
||||
<Portal containerId="modal-container">
|
||||
<div className={`modal fade ${shown ? "show" : ""}`} role="dialog">
|
||||
<div ref={dialogRef} className="modal-dialog modal-dialog-centered" role="document">
|
||||
<div
|
||||
ref={dialogRef}
|
||||
className={`modal-dialog modal-dialog-centered${scrollable ? " modal-dialog-scrollable" : ""}`}
|
||||
role="document"
|
||||
>
|
||||
<div className="modal-content">
|
||||
{children}
|
||||
</div>
|
||||
|
@ -17,7 +17,12 @@ RadioSet.propTypes = {
|
||||
/** Choices . */
|
||||
choices: PropTypes.arrayOf(PropTypes.shape({
|
||||
/** Choice lable . */
|
||||
label: PropTypes.string.isRequired,
|
||||
label: PropTypes.oneOfType([
|
||||
PropTypes.string,
|
||||
PropTypes.element,
|
||||
PropTypes.node,
|
||||
PropTypes.arrayOf(PropTypes.node),
|
||||
]).isRequired,
|
||||
/** Choice value . */
|
||||
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
||||
})).isRequired,
|
||||
@ -58,7 +63,12 @@ export function RadioSet({
|
||||
}
|
||||
|
||||
Radio.propTypes = {
|
||||
label: PropTypes.string.isRequired,
|
||||
label: PropTypes.oneOfType([
|
||||
PropTypes.string,
|
||||
PropTypes.element,
|
||||
PropTypes.node,
|
||||
PropTypes.arrayOf(PropTypes.node),
|
||||
]).isRequired,
|
||||
id: PropTypes.string.isRequired,
|
||||
helpText: PropTypes.string,
|
||||
};
|
||||
|
33
src/bootstrap/Spinner.css
Normal file
33
src/bootstrap/Spinner.css
Normal file
@ -0,0 +1,33 @@
|
||||
.spinner-wrapper .spinner-border {
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
color: #00a2e2;
|
||||
}
|
||||
|
||||
.spinner-fs-background {
|
||||
background-color: rgba(2, 2, 2, .5);
|
||||
color: rgb(230, 230, 230);
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
/*
|
||||
* Set to high value to me sure that it always overlaps all components
|
||||
* https://getbootstrap.com/docs/4.3/layout/overview/#z-index
|
||||
*/
|
||||
z-index: 1100;
|
||||
}
|
||||
|
||||
.spinner-fs-wrapper .spinner-border {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
}
|
||||
|
||||
.spinner-fs-wrapper .spinner-text {
|
||||
margin: 1rem;
|
||||
}
|
@ -8,6 +8,8 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import "./Spinner.css";
|
||||
|
||||
Spinner.propTypes = {
|
||||
/** Children components put into `div` with "spinner-text" class. */
|
||||
children: PropTypes.oneOfType([
|
||||
|
@ -10,7 +10,7 @@ import PropTypes from "prop-types";
|
||||
|
||||
import { useAPIPost } from "../api/hooks";
|
||||
import { API_STATE } from "../api/utils";
|
||||
import { ForisURLs } from "../forisUrls";
|
||||
import { ForisURLs } from "../utils/forisUrls";
|
||||
|
||||
import { Button } from "../bootstrap/Button";
|
||||
import {
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@ import React, { useState } from "react";
|
||||
import QRCode from "qrcode.react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { ForisURLs } from "../../forisUrls";
|
||||
import { ForisURLs } from "../../utils/forisUrls";
|
||||
import { Button } from "../../bootstrap/Button";
|
||||
import {
|
||||
Modal, ModalBody, ModalFooter, ModalHeader,
|
||||
|
@ -39,9 +39,10 @@ describe("<WiFiSettings/>", () => {
|
||||
it("should handle error", async () => {
|
||||
const webSockets = new WebSockets();
|
||||
const { getByText } = render(<WiFiSettings ws={webSockets} ws={webSockets} endpoint={endpoint} resetEndpoint="foo" />);
|
||||
mockJSONError();
|
||||
const errorMessage = "An API error occurred.";
|
||||
mockJSONError(errorMessage);
|
||||
await wait(() => {
|
||||
expect(getByText("An error occurred while fetching data.")).toBeTruthy();
|
||||
expect(getByText(errorMessage)).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -5,22 +5,36 @@
|
||||
* See /LICENSE for more information.
|
||||
*/
|
||||
|
||||
import pdfMake from "pdfmake";
|
||||
|
||||
export function createAndDownloadPdf(SSID, password) {
|
||||
const docDefinition = {
|
||||
content: [
|
||||
{
|
||||
text: "Wi-Fi", style: "header", fontSize: 55, alignment: "center",
|
||||
text: "Wi-Fi",
|
||||
style: "header",
|
||||
fontSize: 55,
|
||||
alignment: "center",
|
||||
},
|
||||
{
|
||||
qr: toQRCodeContent(SSID, password), fit: "350", margin: [0, 80], alignment: "center",
|
||||
qr: toQRCodeContent(SSID, password),
|
||||
fit: "350",
|
||||
margin: [0, 80],
|
||||
alignment: "center",
|
||||
},
|
||||
{
|
||||
text: `SSID: ${SSID}`,
|
||||
fontSize: 25,
|
||||
alignment: "center",
|
||||
},
|
||||
{
|
||||
text: `Password: ${password}`,
|
||||
fontSize: 25,
|
||||
alignment: "center",
|
||||
},
|
||||
{ text: `SSID: ${SSID}`, fontSize: 25, alignment: "center" },
|
||||
{ text: `Password: ${password}`, fontSize: 25, alignment: "center" },
|
||||
],
|
||||
};
|
||||
pdfMake.createPdf(docDefinition).download("wifi.pdf");
|
||||
|
||||
// pdfmake is exposed by reForis main application. Thus we can use it from globals.
|
||||
window.pdfMake.createPdf(docDefinition).download("wifi.pdf");
|
||||
}
|
||||
|
||||
export function toQRCodeContent(SSID, password) {
|
||||
|
@ -12,7 +12,7 @@ import {
|
||||
validateIPv6Address,
|
||||
validateIPv6Prefix,
|
||||
validateMAC,
|
||||
} from "validations";
|
||||
} from "utils/validations";
|
||||
|
||||
describe("Validation functions", () => {
|
||||
it("validateIPv4Address valid", () => {
|
||||
|
@ -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`.
|
||||
@ -27,7 +27,7 @@ ForisForm.propTypes = {
|
||||
ws: PropTypes.object,
|
||||
/** Foris configuration object. See usage in main components. */
|
||||
forisConfig: PropTypes.shape({
|
||||
/** reForis Flask aplication API endpoint from `src/common/API.js`. */
|
||||
/** reForis Flask application API endpoint from `src/common/API.js`. */
|
||||
endpoint: PropTypes.string.isRequired,
|
||||
/** `foris-controller` module name to be used via WebSockets.
|
||||
* It can be use only with `ws` prop.
|
||||
@ -38,20 +38,24 @@ ForisForm.propTypes = {
|
||||
* */
|
||||
wsAction: PropTypes.string,
|
||||
}).isRequired,
|
||||
/** Function to prepare data recived from the API before using in forms. */
|
||||
prepData: PropTypes.func.isRequired,
|
||||
/** Function to prepare data received from the API before using in forms. */
|
||||
prepData: PropTypes.func,
|
||||
/** Function to prepare data from form before submitting. */
|
||||
prepDataToSubmit: PropTypes.func.isRequired,
|
||||
prepDataToSubmit: PropTypes.func,
|
||||
/** Function to handle response to POST request. */
|
||||
postCallback: PropTypes.func.isRequired,
|
||||
postCallback: PropTypes.func,
|
||||
/** Validate data and provide validation object. Then validation errors passed to children. */
|
||||
validator: PropTypes.func.isRequired,
|
||||
validator: PropTypes.func,
|
||||
/** Disables form */
|
||||
disabled: PropTypes.bool,
|
||||
/** reForis form components. */
|
||||
children: PropTypes.node.isRequired,
|
||||
/** Optional override of form submit callback */
|
||||
onSubmitOverridden: PropTypes.func,
|
||||
/** Reference to actual form element (useful for programmatically submitting it).
|
||||
* Pass the output of useRef hook to this prop.
|
||||
*/
|
||||
formReference: PropTypes.object,
|
||||
/** reForis form components. */
|
||||
children: PropTypes.node.isRequired,
|
||||
|
||||
// eslint-disable-next-line react/no-unused-prop-types
|
||||
customWSProp(props) {
|
||||
@ -88,10 +92,11 @@ export function ForisForm({
|
||||
validator,
|
||||
disabled,
|
||||
onSubmitOverridden,
|
||||
formReference,
|
||||
children,
|
||||
}) {
|
||||
const [formState, onFormChangeHandler, resetFormData] = useForm(validator, prepData);
|
||||
const [setAlert] = useAlert();
|
||||
const [setAlert, dismissAlert] = useAlert();
|
||||
|
||||
const [forisModuleState] = useForisModule(ws, forisConfig);
|
||||
useEffect(() => {
|
||||
@ -111,7 +116,7 @@ export function ForisForm({
|
||||
}, [postCallback, postState.state, postState.data, setAlert]);
|
||||
|
||||
if (forisModuleState.state === API_STATE.ERROR) {
|
||||
return <ErrorMessage />;
|
||||
return <ErrorMessage message={forisModuleState.data} />;
|
||||
}
|
||||
if (!formState.data) {
|
||||
return <Spinner />;
|
||||
@ -120,6 +125,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 });
|
||||
@ -162,7 +168,7 @@ export function ForisForm({
|
||||
return (
|
||||
<div className={formFieldsSize}>
|
||||
<Prompt message={getMessageOnLeavingPage} />
|
||||
<form onSubmit={onSubmit}>
|
||||
<form onSubmit={onSubmit} ref={formReference}>
|
||||
{childrenWithFormProps}
|
||||
<div className="text-right">
|
||||
<SubmitButton
|
||||
|
@ -64,9 +64,10 @@ export {
|
||||
} from "./utils/conditionalHOCs";
|
||||
export { ErrorMessage } from "./utils/ErrorMessage";
|
||||
export { useClickOutside } from "./utils/hooks";
|
||||
export { toLocaleDateString } from "./utils/datetime";
|
||||
|
||||
// Foris URL
|
||||
export { ForisURLs, REFORIS_URL_PREFIX } from "./forisUrls";
|
||||
export { ForisURLs, REFORIS_URL_PREFIX } from "./utils/forisUrls";
|
||||
|
||||
// Validation
|
||||
export {
|
||||
@ -77,7 +78,7 @@ export {
|
||||
validateDUID,
|
||||
validateMAC,
|
||||
validateMultipleEmails,
|
||||
} from "./validations";
|
||||
} from "./utils/validations";
|
||||
|
||||
// Alert context
|
||||
export { AlertContextProvider, useAlert } from "./alertContext/AlertContext";
|
||||
|
@ -17,7 +17,7 @@ global.afterEach(() => {
|
||||
global._ = (str) => str;
|
||||
global.ngettext = (str) => str;
|
||||
global.babel = { format: (str) => str };
|
||||
global.ForisTranslations = {};
|
||||
global.ForisTranslations = { locale: "en" };
|
||||
|
||||
// Mock web sockets
|
||||
window.WebSocket = jest.fn();
|
||||
|
@ -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 (
|
||||
<p className="text-center text-danger">
|
||||
{_("An error occurred while fetching data.")}
|
||||
</p>
|
||||
<p className="text-center text-danger">{message}</p>
|
||||
);
|
||||
}
|
||||
|
51
src/utils/__tests__/datetime.test.js
Normal file
51
src/utils/__tests__/datetime.test.js
Normal file
@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
|
||||
*
|
||||
* This is free software, licensed under the GNU General Public License v3.
|
||||
* See /LICENSE for more information.
|
||||
*/
|
||||
|
||||
import { toLocaleDateString } from "../datetime";
|
||||
|
||||
describe("toLocaleDateString", () => {
|
||||
it("should work with different locale", () => {
|
||||
global.ForisTranslations = { locale: "fr" };
|
||||
expect(
|
||||
toLocaleDateString("2020-02-20T12:51:36+00:00")
|
||||
).toBe("20 février 2020 12:51");
|
||||
global.ForisTranslations = { locale: "en" };
|
||||
})
|
||||
|
||||
it("should convert with default format", () => {
|
||||
expect(
|
||||
toLocaleDateString("2020-02-20T12:51:36+00:00")
|
||||
).toBe("February 20, 2020 12:51 PM");
|
||||
});
|
||||
|
||||
it("should convert with custom input format", () => {
|
||||
expect(
|
||||
toLocaleDateString(
|
||||
"2020-02-20 12:51:36 +0000",
|
||||
{ inputFormat: "YYYY-MM-DD HH:mm:ss Z" },
|
||||
)
|
||||
).toBe("February 20, 2020 12:51 PM");
|
||||
});
|
||||
|
||||
it("should convert with custom output format", () => {
|
||||
expect(
|
||||
toLocaleDateString(
|
||||
"2020-02-20T12:51:36+00:00",
|
||||
{ outputFormat: "LL" },
|
||||
)
|
||||
).toBe("February 20, 2020");
|
||||
});
|
||||
|
||||
it("should convert with custom input and output format", () => {
|
||||
expect(
|
||||
toLocaleDateString(
|
||||
"2020-02-20 12:51:36 +0000",
|
||||
{ inputFormat: "YYYY-MM-DD HH:mm:ss Z", outputFormat: "LL" },
|
||||
)
|
||||
).toBe("February 20, 2020");
|
||||
});
|
||||
});
|
8
src/utils/datetime.js
Normal file
8
src/utils/datetime.js
Normal file
@ -0,0 +1,8 @@
|
||||
import moment from "moment";
|
||||
|
||||
export function toLocaleDateString(date, { inputFormat, outputFormat = "LLL" } = {}) {
|
||||
const parsedDate = inputFormat ? moment(date, inputFormat) : moment(date);
|
||||
return parsedDate
|
||||
.locale(ForisTranslations.locale)
|
||||
.format(outputFormat);
|
||||
}
|
@ -10,6 +10,8 @@ export const REFORIS_API_URL_PREFIX = `${REFORIS_URL_PREFIX}/api`;
|
||||
|
||||
export const ForisURLs = {
|
||||
login: `${REFORIS_URL_PREFIX}/login`,
|
||||
logout: `${REFORIS_URL_PREFIX}/logout`,
|
||||
|
||||
static: `${REFORIS_URL_PREFIX}/static/reforis`,
|
||||
wifi: `${REFORIS_URL_PREFIX}/network-settings/wifi`,
|
||||
|
@ -23,7 +23,7 @@ const REs = {
|
||||
IPv4: /^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,
|
||||
IPv6: /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,
|
||||
IPv6Prefix: /^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))(%.+)?s*(\/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))$/,
|
||||
domain: /^([a-zA-Z0-9-]{1,63}\.?)*$/,
|
||||
domain: /^[A-Za-z0-9][A-Za-z0-9.-]{1,255}$/,
|
||||
DUID: /^([0-9a-fA-F]{2}){4}([0-9a-fA-F]{2})*$/,
|
||||
MAC: /^([a-fA-F0-9]{2}:){5}[a-fA-F0-9]{2}$/,
|
||||
MultipleEmails: /^([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+ *)( *, *[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+ *)*$/,
|
@ -7,7 +7,7 @@
|
||||
|
||||
/* eslint no-console: "off" */
|
||||
|
||||
import { ForisURLs } from "../forisUrls";
|
||||
import { ForisURLs } from "../utils/forisUrls";
|
||||
|
||||
const PROTOCOL = window.location.protocol === "http:" ? "ws" : "wss";
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-09-29 15:56+0000\n"
|
||||
"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>\n"
|
||||
"Language: cs\n"
|
||||
@ -59,11 +59,7 @@ msgstr "Došlo k chybě kvůli překročení časového limitu."
|
||||
msgid "No response received."
|
||||
msgstr "Neobdržena žádná odezva."
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr "Došlo k neznámé chybě. Další informace naleznete v konzoli."
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr "Došlo k neznámé chybě v aplikačním programovém rozhraní."
|
||||
|
||||
@ -91,11 +87,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 +247,11 @@ msgstr ""
|
||||
"hosty“.\n"
|
||||
" "
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr "Nastavení úspěšně uložena"
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
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 +269,10 @@ 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."
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr "Došlo k neznámé chybě. Další informace naleznete v konzoli."
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: da\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-09-02 07:21+0000\n"
|
||||
"Last-Translator: Ulrich Günther <mail@ulrich-guenther.at>\n"
|
||||
"Language: de\n"
|
||||
@ -57,15 +57,11 @@ msgstr ""
|
||||
|
||||
#: src/api/utils.js:66
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
msgstr "Keine Antwort erhalten."
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
msgstr "Ein unbekannter API-Fehler ist aufgetreten."
|
||||
|
||||
#: src/common/RebootButton.js:33
|
||||
#, fuzzy
|
||||
@ -92,11 +88,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 +249,11 @@ msgstr ""
|
||||
"Gastnetzwerk eingestellt werden.\n"
|
||||
" "
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
msgstr "Einstellungen erfolgreich gespeichert"
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -273,7 +269,10 @@ 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 ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: el\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-10-17 09:28+0000\n"
|
||||
"Last-Translator: Scott Anecito <scott.anecito@protonmail.com>\n"
|
||||
"Language: en\n"
|
||||
@ -59,11 +59,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -91,11 +87,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 +244,11 @@ msgstr ""
|
||||
"tab.\n"
|
||||
" "
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -268,7 +264,10 @@ 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 ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-10-29 06:53+0000\n"
|
||||
"Last-Translator: Adolfo Jayme Barrientos <fitojb@ubuntu.com>\n"
|
||||
"Language: es\n"
|
||||
@ -59,11 +59,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -92,11 +88,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 +221,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -247,7 +243,10 @@ 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 ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: fi\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: fo\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -57,11 +57,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -89,11 +85,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 +218,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -242,7 +238,7 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-10-14 11:04+0000\n"
|
||||
"Last-Translator: ButterflyOfFire <ButterflyOfFire@protonmail.com>\n"
|
||||
"Language: fr\n"
|
||||
@ -51,23 +51,19 @@ msgstr ""
|
||||
|
||||
#: src/api/utils.js:58
|
||||
msgid "The session is expired. Please log in again."
|
||||
msgstr ""
|
||||
msgstr "Cette session a expiré. Veuillez vous reconnecter."
|
||||
|
||||
#: src/api/utils.js:63
|
||||
msgid "Timeout error occurred."
|
||||
msgstr ""
|
||||
msgstr "Le délai a expiré."
|
||||
|
||||
#: src/api/utils.js:66
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
msgstr "Aucun réponse reçue."
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
msgstr "Une erreur d’API inconnue s’est produite."
|
||||
|
||||
#: src/common/RebootButton.js:33
|
||||
#, fuzzy
|
||||
@ -94,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 ""
|
||||
|
||||
@ -227,13 +223,15 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
msgstr "Paramètres enregistrés avec succès"
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
"Il se peut que vos modifications ne soient pas enregistrées. Êtes-vous "
|
||||
"sûr de vouloir quitter ?"
|
||||
|
||||
#: src/form/components/SubmitButton.js:32
|
||||
msgid "Updating"
|
||||
@ -247,7 +245,13 @@ 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 ""
|
||||
msgstr "Une erreur s’est produite lors du chargement des données."
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
#~ "Une erreur inconnue s’est produite. "
|
||||
#~ "Vérifiez la console pour plus "
|
||||
#~ "d’informations."
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: hr\n"
|
||||
@ -59,11 +59,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -91,11 +87,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 +220,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -244,7 +240,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: hu\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: it\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-10-16 10:08+0000\n"
|
||||
"Last-Translator: Scott Anecito <scott.anecito@protonmail.com>\n"
|
||||
"Language: ja\n"
|
||||
@ -59,11 +59,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -91,11 +87,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 +220,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -244,7 +240,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: ko\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: lt\n"
|
||||
@ -59,11 +59,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -91,11 +87,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 +220,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -244,7 +240,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-11-10 16:04+0000\n"
|
||||
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
|
||||
"Language: nb\n"
|
||||
@ -28,6 +28,7 @@ msgid "This is not a valid IPv6 address."
|
||||
msgstr "Dette er ikke en gyldig IPv6-adresse."
|
||||
|
||||
#: src/validations.js:15
|
||||
#, fuzzy
|
||||
msgid "This is not a valid IPv6 prefix."
|
||||
msgstr "Dette er ikke et gyldig IPv6-prefiks."
|
||||
|
||||
@ -49,23 +50,20 @@ msgstr "Inneholder ikke en kommainndelt liste med e-postadresser."
|
||||
|
||||
#: src/api/utils.js:58
|
||||
msgid "The session is expired. Please log in again."
|
||||
msgstr ""
|
||||
msgstr "Økten har utløpt. Logg inn igjen."
|
||||
|
||||
#: src/api/utils.js:63
|
||||
msgid "Timeout error occurred."
|
||||
msgstr ""
|
||||
msgstr "Tidsavbrudd inntraff."
|
||||
|
||||
#: src/api/utils.js:66
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
msgstr "Fikk ikke svar."
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
#, fuzzy
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
msgstr "Ukjent API-feil."
|
||||
|
||||
#: src/common/RebootButton.js:33
|
||||
#, fuzzy
|
||||
@ -92,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 ""
|
||||
|
||||
@ -250,15 +248,16 @@ msgstr ""
|
||||
"\n"
|
||||
" "
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
msgstr "Innstillinger lagret"
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
msgstr "Endringer du har gjort vil ikke bli lagret. Er du sikker?"
|
||||
|
||||
#: src/form/components/SubmitButton.js:32
|
||||
#, fuzzy
|
||||
msgid "Updating"
|
||||
msgstr "Oppdaterer"
|
||||
|
||||
@ -270,7 +269,10 @@ 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 ""
|
||||
msgstr "Kunne ikke hente data."
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr "Ukjent feil. Sjekk konsollen for mer info."
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-08-28 17:55+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: nb_NO\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-10-15 13:02+0000\n"
|
||||
"Last-Translator: powerburner-nl <peter.mulder.1981@gmail.com>\n"
|
||||
"Language: nl\n"
|
||||
@ -59,11 +59,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -92,11 +88,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 +221,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -245,7 +241,10 @@ 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 ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: pl\n"
|
||||
@ -60,11 +60,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -92,11 +88,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 +221,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -245,7 +241,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr "Zapisz"
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-02-19 13:35+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: ro\n"
|
||||
@ -59,11 +59,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -91,11 +87,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 +220,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -244,7 +240,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-09-30 13:00+0000\n"
|
||||
"Last-Translator: Алексей Леньшин <alenshin@gmail.com>\n"
|
||||
"Language: ru\n"
|
||||
@ -50,23 +50,19 @@ msgstr "Не содержит списка электронных адресов
|
||||
|
||||
#: src/api/utils.js:58
|
||||
msgid "The session is expired. Please log in again."
|
||||
msgstr ""
|
||||
msgstr "Ваша сессия закончилась. Пожалуйста, залогинитесь заново."
|
||||
|
||||
#: src/api/utils.js:63
|
||||
msgid "Timeout error occurred."
|
||||
msgstr ""
|
||||
msgstr "Произошла ошибка ожидания ответа сервера."
|
||||
|
||||
#: src/api/utils.js:66
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
msgstr "Ответ не получен."
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
msgstr "Неизвестная ошибка программного интерфейса приложения."
|
||||
|
||||
#: src/common/RebootButton.js:33
|
||||
#, fuzzy
|
||||
@ -93,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 ""
|
||||
|
||||
@ -250,13 +246,15 @@ msgstr ""
|
||||
"Гостевая сеть.\n"
|
||||
" "
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
msgstr "Настройки были успешно сохранены"
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
"В случае выхода ваши изменения будут утеряны. Вы действительно хотите "
|
||||
"покинуть эту страницу?"
|
||||
|
||||
#: src/form/components/SubmitButton.js:32
|
||||
msgid "Updating"
|
||||
@ -270,7 +268,12 @@ msgstr "Загрузить настройки"
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
msgstr "Во время получения данных произошла ошибка."
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
#~ "Произошла неизвестная ошибка. Проверьте "
|
||||
#~ "консоль браузера, чтобы узнать детали."
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: sk\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
@ -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-02-20 17:28+0100\n"
|
||||
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: sv\n"
|
||||
@ -58,11 +58,7 @@ msgstr ""
|
||||
msgid "No response received."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:70
|
||||
msgid "An unknown error occurred. Check the console for more info."
|
||||
msgstr ""
|
||||
|
||||
#: src/api/utils.js:77
|
||||
#: src/api/utils.js:76
|
||||
msgid "An unknown API error occurred."
|
||||
msgstr ""
|
||||
|
||||
@ -90,11 +86,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 +219,11 @@ msgid ""
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:102
|
||||
#: src/form/components/ForisForm.js:112
|
||||
msgid "Settings saved successfully"
|
||||
msgstr ""
|
||||
|
||||
#: src/form/components/ForisForm.js:154
|
||||
#: src/form/components/ForisForm.js:165
|
||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||
msgstr ""
|
||||
|
||||
@ -243,7 +239,10 @@ msgstr ""
|
||||
msgid "Save"
|
||||
msgstr "Spara"
|
||||
|
||||
#: src/utils/ErrorMessage.js:13
|
||||
#: src/utils/ErrorMessage.js:16
|
||||
msgid "An error occurred while fetching data."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "An unknown error occurred. Check the console for more info."
|
||||
#~ msgstr ""
|
||||
|
||||
|
Reference in New Issue
Block a user