1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-15 13:36:35 +02:00

Compare commits

...

75 Commits

Author SHA1 Message Date
71beeb46f1 Bump v4.5.1.
* Add initial data to ForisForm children.
 * Update .pot file.
2020-05-07 16:34:33 +02:00
060a0489e1 Merge branch 'translations' into 'dev'
Update translations (.pot).

See merge request turris/reforis/foris-js!108
2020-05-07 16:31:44 +02:00
ae49b246cd Update translations (.pot). 2020-05-07 16:13:03 +02:00
27c37eb74b Merge branch 'add-inital-form-data-to-children-of-foris-form' into 'dev'
Add initial form data to children of the ForisForm.

See merge request turris/reforis/foris-js!107
2020-05-07 16:03:51 +02:00
cd708fa294 Add initial form data to children of the ForisForm. 2020-05-07 16:00:02 +02:00
8ec0392852 Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!106
2020-03-26 16:29:27 +01:00
27a5e62d9a Merge branch 'fix-pdfmake' into 'dev'
Fix pdfmake.

See merge request turris/reforis/foris-js!105
2020-03-25 21:34:38 +01:00
aeaad4aa72 Bump v4.5.0. 2020-03-25 21:26:59 +01:00
256a000d61 NPM update. 2020-03-25 21:17:12 +01:00
c78ed9a5d0 NPM audit fix. 2020-03-25 21:17:12 +01:00
bded10211a Use pdfmake from globals. 2020-03-25 21:17:12 +01:00
25ac6cf1e9 Remove pdfmake. 2020-03-25 21:17:12 +01:00
9a2547a6c2 Merge branch 'dev' into 'master'
Release v4.4.0.

See merge request turris/reforis/foris-js!104
2020-03-13 22:16:42 +01:00
7968c7af4a Merge branch 'fix-hostname-validation-regex' into 'dev'
Fix hostname validation regex

See merge request turris/reforis/foris-js!103
2020-03-13 21:41:49 +01:00
4b94c470c3 Bump v4.4.0. 2020-03-13 21:37:21 +01:00
e1b5a25ddd Update domain vadlidation. 2020-03-13 21:37:21 +01:00
95af86c776 NPM audit fix. 2020-03-13 21:37:21 +01:00
02b5583712 Move vadliadtions and forisUrls to utils. 2020-03-13 21:37:21 +01:00
2f4d757a1a Merge branch 'dev' into 'master'
Release v4.3.1.

See merge request turris/reforis/foris-js!102
2020-03-06 14:10:21 +01:00
3c7a67783f Merge branch 'add-logout-url' into 'dev'
Add logout URL.

See merge request turris/reforis/foris-js!101
2020-03-06 14:06:34 +01:00
4500e85a40 Bump v4.3.1. 2020-03-06 14:01:40 +01:00
ce955095fd Add logout link. 2020-03-06 14:00:18 +01:00
00b861531e Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!100
2020-02-26 17:02:47 +01:00
fad5b97a2e Merge branch 'release-4.3.0' into 'dev'
Release 4.3.0

See merge request turris/reforis/foris-js!99
2020-02-26 16:57:26 +01:00
aa639596d4 Bump v4.3.0. 2020-02-26 16:52:53 +01:00
1ee41f4f14 Merge branch 'radioset-element-children' into 'dev'
Allow RadioSet accept elements as children.

See merge request turris/reforis/foris-js!98
2020-02-26 15:24:28 +01:00
bf8c2d28bf Allow RadioSet accept elements as children. 2020-02-26 15:21:43 +01:00
dbb840d51c Merge branch 'scrollable-modal' into 'dev'
Add option to make modal scrollable.

See merge request turris/reforis/foris-js!97
2020-02-26 11:47:50 +01:00
ba772be869 Add option to make modal scrollable. 2020-02-26 11:44:52 +01:00
70da1c3c00 Merge branch 'dev' into 'master'
Release 4.2.0.

See merge request turris/reforis/foris-js!96
2020-02-26 11:37:23 +01:00
8e68bbc91f Merge branch 'release-v4.2.0' into 'dev'
Bump v4.2.0.

See merge request turris/reforis/foris-js!95
2020-02-21 16:33:31 +01:00
0af8c4aa28 Bump v4.2.0. 2020-02-21 16:06:21 +01:00
a9114caf9e Merge branch 'translations' into 'dev'
Translations

See merge request turris/reforis/foris-js!94
2020-02-21 11:07:13 +01:00
3c81264024 Create and update translation messages. 2020-02-20 17:29:11 +01:00
0330b39f2e Merge remote-tracking branch 'weblate/master' into translations 2020-02-20 17:26:34 +01:00
a7dcced08b Add weblate config file. 2020-02-20 17:19:07 +01:00
c453a35763 Merge branch 'dev' into 'master'
Release 4.1.0

See merge request turris/reforis/foris-js!93
2020-02-20 16:07:50 +01:00
d97248c6ec Merge branch 'datetime-utils' into 'dev'
Added date and time utilities.

See merge request turris/reforis/foris-js!92
2020-02-20 14:30:28 +01:00
9fbc4e8383 Added date and time utilities. 2020-02-20 14:30:28 +01:00
57bebc92c7 Merge branch 'dev' into 'master'
Release 4.0.0

See merge request turris/reforis/foris-js!91
2020-02-20 11:53:43 +01:00
5939e9dd0e Merge branch 'version-4.0.0' into 'dev'
Changed version to 4.0.0.

See merge request turris/reforis/foris-js!90

[skip ci]
2020-02-20 10:40:24 +01:00
0665869c30 Changed version to 4.0.0. 2020-02-19 10:34:47 +01:00
199b27d63a Merge branch '12-api-error' into 'dev'
Rethrow unhandled error from API hooks.

Closes #12

See merge request turris/reforis/foris-js!89
2020-02-18 17:37:34 +01:00
2b28434712 Rethrow unhandled error from API hooks. 2020-02-18 14:32:59 +01:00
388860d51e Merge branch 'dev' into 'master'
Release 3.4.0

See merge request turris/reforis/foris-js!88
2020-02-17 10:55:59 +01:00
8b7c459855 Merge branch 'css-refactoring' into 'dev'
Added styles extracted from reForis.

See merge request turris/reforis/foris-js!85
2020-02-14 17:26:24 +01:00
83409b0118 Merge branch 'foris-form-docs' into 'dev'
Fixed ForisForm docstring.

See merge request turris/reforis/foris-js!87
2020-02-14 13:55:23 +01:00
c1cd90dff6 Fixed ForisForm docstring. 2020-02-14 12:40:23 +01:00
01fb897180 Merge branch 'form-reference' into 'dev'
Added reference to form element.

See merge request turris/reforis/foris-js!86
2020-02-13 15:55:01 +01:00
716c323b28 Added reference to form element. 2020-02-10 12:06:16 +01:00
55dbf8f8bb Translated using Weblate (German)
Currently translated at 66.7% (12 of 18 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/de/
2020-02-04 19:50:20 +01:00
85e42980ec Added styles extracted from reForis. 2020-01-22 13:21:46 +01:00
3dee532ea2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 77.8% (14 of 18 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/nb_NO/
2020-01-21 14:52:31 +01:00
3aac48d2bf Merge branch 'foris-form-error' into 'dev'
Display actual error within the form.

See merge request turris/reforis/foris-js!84
2020-01-20 16:54:42 +01:00
ee33d33738 Display actual error within the form. 2020-01-20 16:54:42 +01:00
605f682356 Merge branch 'dev' into 'master'
Release 3.2.0

See merge request turris/reforis/foris-js!81
2020-01-17 15:14:23 +01:00
a0a775996e Merge branch 'use-react-router-dom' into 'dev'
Use react-router-dom instead of react-router.

See merge request turris/reforis/foris-js!80
2020-01-17 14:35:20 +01:00
532acf9d86 Add warning about using <ForisForm /> component in plugins. 2020-01-17 13:15:46 +01:00
cbc3c2f3e7 Merge branch 'revert-disable-prompt' into 'dev'
Revert "Prompt as an optional element of ForisForm."

See merge request turris/reforis/foris-js!83
2020-01-17 12:44:12 +01:00
556e12c964 Revert "Prompt as an optional element of ForisForm."
This reverts commit 75bfbb88ae.
2020-01-17 12:44:11 +01:00
813a865f62 Merge branch 'conection-timeout' into 'dev'
Increased network timeout.

See merge request turris/reforis/foris-js!82
2020-01-17 12:10:56 +01:00
c495aa97ac Increased network timeout. 2020-01-16 18:40:57 +01:00
2d375b1690 Merge branch 'disable-form-prompt' into 'dev'
Prompt as an optional element of ForisForm.

See merge request turris/reforis/foris-js!77
2020-01-16 16:12:44 +01:00
e7e389e843 Add react-router-dom to peer dep. 2020-01-16 12:23:02 +01:00
8679749e0f Merge branch 'controller-id-in-hook' into 'dev'
Added controller ID filter to WebSocket hook.

See merge request turris/reforis/foris-js!79
2020-01-16 10:27:30 +01:00
6d8e0cec70 Added controller ID filter to WebSocket hook. 2020-01-16 10:27:30 +01:00
5091eecedf Use react-router-dom instead of react-router. 2020-01-15 18:19:04 +01:00
75bfbb88ae Prompt as an optional element of ForisForm. 2020-01-14 15:00:17 +01:00
e5cbbc9019 Merge branch 'wifi-messages' into 'dev'
Updated translation messages after moving WiFi form.

See merge request turris/reforis/foris-js!76
2020-01-13 16:10:19 +01:00
7ab1d2aaa4 Updated translation messages after moving WiFi form. 2020-01-13 16:10:19 +01:00
e62accc4b3 Translated using Weblate (French)
Currently translated at 100.0% (18 of 18 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/fr/
2020-01-11 22:21:24 +01:00
a318f12352 Translated using Weblate (French)
Currently translated at 38.9% (7 of 18 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/fr/
2019-12-28 15:55:00 +01:00
cffa0a2b80 Translated using Weblate (French)
Currently translated at 38.9% (7 of 18 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/fr/
2019-11-25 17:04:59 +01:00
7579fc3b8c Translated using Weblate (Swedish)
Currently translated at 11.1% (2 of 18 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/sv/
2019-11-23 18:04:52 +01:00
6601cd55e0 Translated using Weblate (Russian)
Currently translated at 100.0% (18 of 18 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/ru/
2019-11-23 18:04:51 +01:00
55 changed files with 10699 additions and 3890 deletions

3
.weblate Normal file
View File

@ -0,0 +1,3 @@
[weblate]
url = https://hosted.weblate.org/api/
translation = turris/foris-js

View File

@ -16,3 +16,20 @@ tagged `beta`. Versions names are based on commit SHA, e.g.
unnecessary version
3. Create a merge request from `dev` to `master` branch
4. New version should be published automatically
## Manually managed dependencies
Because of `<ForisForm />` component it's required to use exposed `ReactRouterDOM`
object from `react-router-dom` library. `ReactRouterDOM` is exposed by
[reForis](https://gitlab.labs.nic.cz/turris/reforis/reforis/blob/master/js/webpack.config.js).
It can be done by following steps:
1. Setting `react-router-dom` as `peerDependencies` and `devDependencies` in `package.json`.
2. Adding the following rules to `externals` in `webpack.conf.js` of the plugin:
```js
externals: {
...
"react-router-dom": "ReactRouterDOM",
}
```

1
babel.cfg Normal file
View File

@ -0,0 +1 @@
[javascript: src/**.js]

9756
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "foris",
"version": "3.1.1",
"version": "4.5.1",
"description": "Set of components and utils for Foris and its plugins.",
"author": "CZ.NIC, z.s.p.o.",
"repository": {
@ -14,41 +14,41 @@
"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-router": "^5.1.2",
"react-uid": "^2.2.0"
},
"peerDependencies": {
"bootstrap": "4.4.1",
"prop-types": "15.7.2",
"react": "16.9.0",
"react-dom": "16.9.0"
"react-dom": "16.9.0",
"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-styleguidist": "^10.4.2",
"snapshot-diff": "^0.5.1"
"react-router-dom": "^5.1.2",
"react-styleguidist": "^10.6.2",
"snapshot-diff": "^0.7.0"
},
"scripts": {
"lint": "eslint src",

View File

@ -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,

View File

@ -13,7 +13,7 @@ export const HEADERS = {
"X-CSRFToken": getCookie("_csrf_token"),
};
export const TIMEOUT = 5000;
export const TIMEOUT = 30500;
export const API_ACTIONS = {
INIT: 1,
@ -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
View 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);
}

View File

@ -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>

View File

@ -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
View 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;
}

View File

@ -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([

View File

@ -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 {

View File

@ -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();
}

View File

@ -36,7 +36,7 @@ WiFiForm.defaultProps = {
};
export default function WiFiForm({
formData, formErrors, setFormValue, hasGuestNetwork, ...props
formData, formErrors, setFormValue, hasGuestNetwork, disabled,
}) {
return formData.devices.map((device) => (
<DeviceForm
@ -45,8 +45,7 @@ export default function WiFiForm({
formErrors={(formErrors || [])[device.id]}
setFormValue={setFormValue}
hasGuestNetwork={hasGuestNetwork}
{...props}
disabled={disabled}
/>
));
}

View File

@ -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,

View File

@ -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();
});
});

View File

@ -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) {

View File

@ -12,7 +12,7 @@ import {
validateIPv6Address,
validateIPv6Prefix,
validateMAC,
} from "validations";
} from "utils/validations";
describe("Validation functions", () => {
it("validateIPv4Address valid", () => {

View File

@ -7,11 +7,10 @@
import React, { useEffect } from "react";
import PropTypes from "prop-types";
import { Prompt } from "react-router";
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) {
@ -73,7 +77,12 @@ ForisForm.defaultProps = {
disabled: false,
};
/** Serves as HOC for all foris forms components. */
/** Serves as HOC for all foris forms components.
*
* As `<Prompt />` from `react-router-dom` is used in this component then it required to
* use exposed `ReactRouterDOM` object from `react-router-dom` library which is exposed by reForis.
* See README for more information.
* */
export function ForisForm({
ws,
forisConfig,
@ -83,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(() => {
@ -106,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 />;
@ -115,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 });
@ -138,6 +149,7 @@ export function ForisForm({
const childrenWithFormProps = React.Children.map(
children,
(child) => React.cloneElement(child, {
initialData: formState.initialData,
formData: formState.data,
formErrors: formState.errors,
setFormValue: onFormChangeHandler,
@ -157,7 +169,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

View File

@ -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";

View File

@ -9,7 +9,7 @@
import React from "react";
import { UIDReset } from "react-uid";
import { StaticRouter } from "react-router";
import { StaticRouter } from "react-router-dom";
import { render } from "@testing-library/react";
import PropTypes from "prop-types";

View File

@ -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();

View File

@ -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>
);
}

View 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
View 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);
}

View File

@ -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`,

View File

@ -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-.]+ *)*$/,

View File

@ -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";

View File

@ -7,7 +7,7 @@
import { useEffect, useState } from "react";
export function useWSForisModule(ws, module, action = "update_settings") {
export function useWSForisModule(ws, module, action = "update_settings", controllerID) {
const [data, setData] = useState(null);
useEffect(() => {
@ -16,8 +16,12 @@ export function useWSForisModule(ws, module, action = "update_settings") {
// doesn't present any WS endpoint.
if (!ws) return;
function callback(msg) {
setData(msg.data);
function callback(message) {
// Accept only messages addressed to device with passed controller ID.
if (controllerID !== undefined && controllerID !== message.controller_id) {
return;
}
setData(message.data);
}
ws.subscribe(module)
@ -26,7 +30,7 @@ export function useWSForisModule(ws, module, action = "update_settings") {
return () => {
ws.unbind(module, action, callback);
};
}, [action, module, ws]);
}, [action, module, ws, controllerID]);
return [data];
}

View File

@ -7,17 +7,17 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-11-21 17:04+0000\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"
"Language-Team: Czech <https://hosted.weblate.org/projects/turris/foris-"
"js/cs/>\n"
"Language-Team: Czech "
"<https://hosted.weblate.org/projects/turris/reforis/cs/>\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -59,21 +59,17 @@ 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í."
#: src/common/RebootButton.js:33
msgid "Reboot request failed."
msgstr ""
msgstr "Vyžadován restart"
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "Restartovat"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -91,11 +87,171 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "Zapnout"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr "automaticky"
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr "Zapnout WiFi pro hosty"
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Heslo"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr "SSID nemůže být delší než 32 znaků"
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr "SSID je třeba vyplnit"
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr "Je třeba, aby heslo obsahovalo alespoň 8 znaků"
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Vypnuto"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr "802.11n kanál šíře 20 MHz"
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr "802.11n kanál šíře 40 MHz"
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr "802.11ac kanál šíře 20 MHz"
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr "802.11ac kanál šíře 40 MHz"
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac kanál šíře 80 MHz"
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
"\n"
" WPA2 předsdílený klíč, který je vyžadován pro připojení se k "
"síti.\n"
" "
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
"Při zapnutí této volby se síť nebude zobrazovat zařízením když budou "
"vyhledávat dostupné sítě."
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
"\n"
" Pásmo 2,4 GHz je v klientských zařízeních podporováno nejčastěji,"
" ale bývá více zarušené. Pásmo 5 GHz je\n"
" novější standard a nemusí být podporováno všemi vámi používanými "
"zařízeními. Obvykle bývá méně zarušené,\n"
" ale signál se hůře šíři uvnitř budov."
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
"\n"
" Změna tohoto upraví režim fungování 802.11n/ac. 802.11n s kanály "
"o šíři 40 MHz kanály může pomoci k vyšší\n"
" propustnosti, ale je náchylnější na rušení. Pokud nevíte co "
"zvolit, použijte výchozí volbu s kanálem šíře\n"
" 20 MHz.\n"
" "
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
"\n"
" Zapíná Wi-Fi pro hosty, která je oddělená od místní sítě (LAN). "
"Zařízením připojeným k této síti je umožněn\n"
" přístup do Internetu, ale už ne na ostatní zařízení a k rozhraní "
"pro nastavování směrovače.\n"
" Parametry sítě pro hosty je možné nastavit na panelu „Síť pro "
"hosty“.\n"
" "
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr "Nastavení úspěšně uložena"
#: src/form/components/ForisForm.js:140
#: 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 "
@ -113,25 +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 "Settings were successfully saved."
#~ msgstr "Nastavení bylo úspěšně uloženo."
#~ msgid "Settings update was failed."
#~ msgstr "Ukládání nastavení selhalo."
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgstr ""
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr "Došlo k neznámé chybě. Další informace naleznete v konzoli."

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:54+0200\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"
"Language-Team: da <LL@li.org>\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,44 +7,45 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:54+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
"Language-Team: de <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Language-Team: German "
"<https://hosted.weblate.org/projects/turris/reforis/de/>\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
msgstr "Dies ist keine gültige IPv4-Adresse."
#: src/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "Dies ist keine gültige IPv6-Adresse."
#: src/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr ""
msgstr "Dies ist kein gültiges IPv6-Präfix."
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
msgstr "Dies ist kein gültiger Domainname."
#: src/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
msgstr "Dies ist keine gültige DUID."
#: src/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
msgstr "Dies ist keine gültige MAC-Adresse."
#: src/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""
msgstr "Enthält keine Liste von E-Mails, die durch Kommas getrennt sind."
#: src/api/utils.js:58
msgid "The session is expired. Please log in again."
@ -56,23 +57,20 @@ 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
msgid "Reboot request failed."
msgstr ""
msgstr "Neustart ist erforderlich"
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "Systemneustart"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -90,45 +88,191 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
msgid "Settings saved successfully"
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "Aktivieren"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr "automatisch"
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr "Gast-WLAN aktivieren"
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Passwort"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr "SSID darf nicht länger als 32 Symbole sein"
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr "SSID darf nicht leer sein"
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr "Das Passwort muss mindestens 8 Zeichen enthalten"
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Deaktiviert"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr "802.11n - 20 MHz breiter Kanal"
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr "802.11n - 40 MHz breiter Kanal"
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr "802.11ac - 20 MHz breiter Kanal"
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr "802.11ac - 40 MHz breiter Kanal"
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac - 80 MHz breiter Kanal"
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
"\n"
" WPA2 Pre-Shared Key, der für die Verbindung mit dem Netzwerk "
"benötigt wird.\n"
" "
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
"Falls aktiviert, wird das Netzwerk nicht in der Liste der verfügbaren "
"drahtlosen Netzwerke angezeigt."
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
"\n"
" Das 2,4 GHz-Band wird stärker von Clients unterstützt, hat aber "
"tendenziell mehr Interferenzen. Das 5-GHz-Band ist ein\n"
" neuerer Standard und wird möglicherweise nicht von allen Geräten "
"unterstützt. Es hat in der Regel weniger Interferenzen, aber das Signal\n"
" trägt nicht so gut drinnen."
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
"\n"
" Ändern Sie diese Option, um den Betriebsmodus 802.11n/ac "
"anzupassen. 802.11n mit 40 MHz breiten Kanälen können höhere\n"
" durchsatz, kann jedoch zu mehr Interferenzen im Netzwerk führen. "
"Wenn Sie nicht wissen, was Sie wählen sollen, verwenden Sie die "
"Standardeinstellung\n"
" Option mit 20 MHz breitem Kanal.\n"
" "
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
"\n"
" Ermöglicht Wi-Fi für Gäste, das vom LAN-Netzwerk getrennt ist. "
"Geräte, die mit diesem Netzwerk verbunden sind, dürfen\n"
" auf das Internet zugreifen, dürfen aber nicht auf andere Geräte "
"und die Konfigurationsschnittstelle des Routers zugreifen.\n"
" Die Parameter des Gastnetzwerks können in der Registerkarte "
"Gastnetzwerk eingestellt werden.\n"
" "
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr "Einstellungen erfolgreich gespeichert"
#: 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"
msgstr ""
msgstr "Aktualisiere"
#: src/form/components/SubmitButton.js:35
msgid "Load settings"
msgstr ""
msgstr "Einstellungen laden"
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
msgstr "Speichern"
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
#~ msgid "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:54+0200\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"
"Language-Team: el <LL@li.org>\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,44 +7,45 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:21+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
"Language-Team: en <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Language-Team: English "
"<https://hosted.weblate.org/projects/turris/reforis/en/>\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
msgstr "This is not a valid IPv4 address."
#: src/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "This is not a valid IPv6 address."
#: src/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr ""
msgstr "This is not a valid IPv6 prefix."
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
msgstr "This is not a valid domain name."
#: src/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
msgstr "This is not a valid DUID."
#: src/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
msgstr "This is not a valid MAC address."
#: src/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""
msgstr "Doesn't contain a list of emails separated by commas."
#: src/api/utils.js:58
msgid "The session is expired. Please log in again."
@ -58,21 +59,17 @@ 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 ""
#: src/common/RebootButton.js:33
msgid "Reboot request failed."
msgstr ""
msgstr "Reboot is required"
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "Reboot"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -90,45 +87,187 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "Enable"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr "auto"
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr "Enable Guest Wifi"
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Password"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr "SSID can't be longer than 32 symbols"
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr "SSID can't be empty"
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr "Password must contain at least 8 symbols"
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Disabled"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr "802.11n - 20 MHz wide channel"
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr "802.11n - 40 MHz wide channel"
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr "802.11ac - 20 MHz wide channel"
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr "802.11ac - 40 MHz wide channel"
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac - 80 MHz wide channel"
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr "If set, network is not visible when scanning for available networks."
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: 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"
msgstr ""
msgstr "Updating"
#: src/form/components/SubmitButton.js:35
msgid "Load settings"
msgstr ""
msgstr "Load settings"
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
msgstr "Save"
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
#~ msgid "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,16 +7,17 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\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"
"Language-Team: none\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Language-Team: Spanish "
"<https://hosted.weblate.org/projects/turris/reforis/es/>\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -58,21 +59,18 @@ 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 ""
#: src/common/RebootButton.js:33
#, fuzzy
msgid "Reboot request failed."
msgstr ""
msgstr "Se necesita reiniciar"
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "Reiniciar"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -80,49 +78,175 @@ msgstr ""
#: src/common/RebootButton.js:70
msgid "Are you sure you want to restart the router?"
msgstr ""
msgstr "¿Confirma que quiere reiniciar el enrutador?"
#: src/common/RebootButton.js:72
msgid "Cancel"
msgstr ""
msgstr "Cancelar"
#: src/common/RebootButton.js:73
msgid "Confirm reboot"
msgstr "Confirmar reinicio"
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "Activar"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Contraseña"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: 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
#, fuzzy
msgid "Updating"
msgstr ""
msgstr "Actualizaciones"
#: src/form/components/SubmitButton.js:35
#, fuzzy
msgid "Load settings"
msgstr ""
msgstr "Configuración de LAN"
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:54+0200\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"
"Language-Team: fi <LL@li.org>\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:54+0200\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"
"Language-Team: fo <LL@li.org>\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -1,49 +1,21 @@
# Translations template for PROJECT.
# Copyright (C) 2019 ORGANIZATION
# Copyright (C) 2020 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2019.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"POT-Creation-Date: 2020-05-07 16:12+0200\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
#: src/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
#: src/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr ""
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
#: src/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
#: src/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
#: src/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""
"Generated-By: Babel 2.8.0\n"
#: src/api/utils.js:58
msgid "The session is expired. Please log in again."
@ -57,11 +29,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 +57,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:81
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:83
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:214
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:166
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -109,7 +210,35 @@ msgstr ""
msgid "Save"
msgstr ""
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
#: src/utils/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
#: src/utils/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
#: src/utils/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr ""
#: src/utils/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
#: src/utils/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
#: src/utils/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
#: src/utils/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""

View File

@ -7,68 +7,68 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:54+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
"Language-Team: fr <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"Language-Team: French "
"<https://hosted.weblate.org/projects/turris/reforis/fr/>\n"
"Plural-Forms: nplurals=2; plural=n > 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
msgstr "Ce nest pas une adresse IPv4 valide."
#: src/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "Ce nest pas une adresse IPv6 valide."
#: src/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr ""
msgstr "Ce nest pas un préfixe IPv6 valide."
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
msgstr "Ce nest pas un nom de domaine valide."
#: src/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
msgstr "Ce nest pas un DUID valide."
#: src/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
msgstr "Ce nest pas une adresse MAC valide."
#: src/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""
"Il ne contient pas une liste dadresses de messagerie séparées par des "
"virgules."
#: 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 dAPI inconnue sest produite."
#: src/common/RebootButton.js:33
#, fuzzy
msgid "Reboot request failed."
msgstr ""
msgstr "Un redémarrage est nécessaire"
#: src/common/RebootButton.js:54
msgid "Reboot"
@ -90,45 +90,168 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
msgid "Settings saved successfully"
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "Activer"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr "Activer le mode Wi-Fi invité"
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Mot de passe"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr "Le SSID ne peut pas être vide"
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr "Le mot de passe doit contenir au moins 8 symboles"
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Désactivé"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr "Paramètres enregistrés avec succès"
#: 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"
msgstr ""
msgstr "Mise à jour en cours"
#: src/form/components/SubmitButton.js:35
msgid "Load settings"
msgstr ""
msgstr "Charger les paramètres"
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
msgstr "Enregistrer"
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
msgstr "Une erreur sest produite lors du chargement des données."
#~ msgid "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""
#~ "Une erreur inconnue sest produite. "
#~ "Vérifiez la console pour plus "
#~ "dinformations."

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:55+0200\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"
"Language-Team: hr <LL@li.org>\n"
@ -17,7 +17,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -111,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:55+0200\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"
"Language-Team: hu <LL@li.org>\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:55+0200\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"
"Language-Team: it <LL@li.org>\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,16 +7,17 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:55+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: Japanese "
"<https://hosted.weblate.org/projects/turris/reforis/ja/>\n"
"Plural-Forms: nplurals=1; plural=0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -58,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 ""
@ -72,7 +69,7 @@ msgstr ""
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "再起動"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -90,17 +87,150 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "有効"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr "自動"
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "無効"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: 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"
msgstr ""
msgstr "アップデート中…"
#: src/form/components/SubmitButton.js:35
msgid "Load settings"
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:55+0200\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"
"Language-Team: ko <LL@li.org>\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:55+0200\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"
"Language-Team: lt <LL@li.org>\n"
@ -17,7 +17,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -111,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

7
translations/merge.py Normal file
View File

@ -0,0 +1,7 @@
import os
for entry in os.scandir("."):
if entry.is_dir():
print(entry.name)
os.system(f"msgmerge /home/mcjlnrtwcz/Repositories/reforis/reforis/translations/{entry.name}/LC_MESSAGES/messages.po forisjs.pot -o {entry.name}/LC_MESSAGES/forisjs.po")

View File

@ -7,72 +7,72 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
"Language-Team: nb <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Language-Team: Norwegian Bokmål "
"<https://hosted.weblate.org/projects/turris/reforis/nb_NO/>\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
msgstr "Dette er ikke en gyldig IPv4-adresse."
#: src/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "Dette er ikke en gyldig IPv6-adresse."
#: src/validations.js:15
#, fuzzy
msgid "This is not a valid IPv6 prefix."
msgstr ""
msgstr "Dette er ikke et gyldig IPv6-prefiks."
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
msgstr "Dette er ikke et gyldig domenenavn."
#: src/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
msgstr "Dette er ikke en gyldig DUID."
#: src/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
msgstr "Dette er ikke en gyldig MAC-adresse."
#: src/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""
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
msgid "Reboot request failed."
msgstr ""
msgstr "Omstart kreves"
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "Start på ny"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -90,45 +90,189 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
msgid "Settings saved successfully"
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/form/components/ForisForm.js:140
msgid "Changes you made may not be saved. Are you sure you want to leave?"
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "Skru på"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr "automatisk"
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr "Skru på gjestetrådløsnett"
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Passord"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr "SSID kan ikke være lengre enn 32 symboler"
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr "SSID kan ikke stå tomt."
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr "Passordet må inneholde minst 8 tegn"
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Avskrudd"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr "802.11n - 20 MHz vid kanal"
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr "802.11n - 40 MHz vid kanal"
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr "802.11ac - 20 MHz vid kanal"
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr "802.11ac - 40 MHz vid kanal"
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac - 80 MHz vid kanal"
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
"\n"
" WPA2 med forhåndsdelt nøkkel, (som kreves for å koble til "
"nettverket).\n"
" "
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr "Skjuler nettverket fra nettverkslister."
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
"\n"
" 2.4 GHz-båndet støttes av flere klienter, men har vanligvis flere"
" forstyrrelser. 5 Ghz-båndet er en nyere\n"
" standard, og kan ikke støttes av alle enhetene dine. Det har "
"vanligvis mindre forstyrrelse, men signalet\n"
" er mer utsatt for hindringer innendørs."
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
"\n"
" Endringer har justerer 802.11n/ac-modus. 802.11.n med 40 Mhz "
"brede kanaler kan gi høyere\n"
" gjennomstrømming, men kan forårsake mer forstyrrelse i "
"nettverket. Hvis du ikke vet hva du skal velge, bruk\n"
" forvalget på 20 MHz brede kanaler.\n"
" "
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
"\n"
" Skrur på Wi-Fi for gjester, som er adskilt LAN-nettverket. "
"Enheter som kobler til dette nettverket tillates å\n"
" bruke Internett, men tillates ikke å nå andre enheter og "
"oppsettsgrensesnittet til ruteren..\n"
" Parameter for gjestenettverket kan settes i gjestenettverksfanen."
"\n"
" "
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr "Innstillinger lagret"
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr "Endringer du har gjort vil ikke bli lagret. Er du sikker?"
#: src/form/components/SubmitButton.js:32
#, fuzzy
msgid "Updating"
msgstr ""
msgstr "Oppdaterer"
#: src/form/components/SubmitButton.js:35
msgid "Load settings"
msgstr ""
msgstr "Last inn innstillinger"
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgstr ""
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr "Ukjent feil. Sjekk konsollen for mer info."

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+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"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,44 +7,45 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
"Language-Team: nl <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Language-Team: Dutch "
"<https://hosted.weblate.org/projects/turris/reforis/nl/>\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
msgstr "Dit is geen geldig IPv4-adres."
#: src/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "Dit is geen geldig IPv6-adres."
#: src/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr ""
msgstr "Dit is geen geldig IPv6-voorvoegsel."
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
msgstr "Dit is geen geldige domeinnaam."
#: src/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
msgstr "Dit is geen geldig DUID."
#: src/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
msgstr "Dit is geen geldig MAC-adres."
#: src/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""
msgstr "Bevat geen lijst met e-mails gescheiden door komma's."
#: src/api/utils.js:58
msgid "The session is expired. Please log in again."
@ -58,21 +59,18 @@ 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 ""
#: src/common/RebootButton.js:33
#, fuzzy
msgid "Reboot request failed."
msgstr ""
msgstr "Opnieuw opstarten is vereist"
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "Opnieuw opstarten"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -90,45 +88,163 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr "auto"
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Wachtwoord"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Uitgeschakeld"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: 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"
msgstr ""
msgstr "Bijwerken"
#: src/form/components/SubmitButton.js:35
msgid "Load settings"
msgstr ""
msgstr "Instellingen laden"
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
msgstr "Opslaan"
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
#~ msgid "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,17 +7,18 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+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"
"Language-Team: pl <LL@li.org>\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && "
"(n%100<10 || n%100>=20) ? 1 : 2)\n"
"Language-Team: Polish "
"<https://hosted.weblate.org/projects/turris/reforis/pl/>\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && "
"(n%100<10 || n%100>=20) ? 1 : 2\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -59,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 ""
@ -91,11 +88,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Hasło"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -109,27 +239,12 @@ msgstr ""
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
msgstr "Zapisz"
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
#~ msgid "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:56+0200\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"
"Language-Team: ro <LL@li.org>\n"
@ -17,7 +17,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -111,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,73 +7,71 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+0100\n"
"PO-Revision-Date: 2019-08-28 17:56+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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"
"Language-Team: ru <LL@li.org>\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
"Language-Team: Russian "
"<https://hosted.weblate.org/projects/turris/reforis/ru/>\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr ""
msgstr "Это некорректный IPv4-адрес."
#: src/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "Это некорректный IPv6-адрес."
#: src/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr ""
msgstr "Это некорректный префикс IPv6."
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
msgstr "Некорректное доменное имя."
#: src/validations.js:17
msgid "This is not a valid DUID."
msgstr ""
msgstr "Это некорректный уникальный идентификатор DHCP (DUID)."
#: src/validations.js:18
msgid "This is not a valid MAC address."
msgstr ""
msgstr "Это некорректный MAC-адрес."
#: src/validations.js:19
msgid "Doesn't contain a list of emails separated by commas."
msgstr ""
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
msgid "Reboot request failed."
msgstr ""
msgstr "Требуется перезагрузка"
#: src/common/RebootButton.js:54
msgid "Reboot"
msgstr ""
msgstr "Перезагрузка"
#: src/common/RebootButton.js:69
msgid "Reboot confirmation"
@ -91,45 +89,191 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
msgid "Settings saved successfully"
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr "Включить"
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr "авто"
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr "Включить гостевой WiFi"
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Пароль"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr "SSID не может быть длиннее 32 символов"
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr "SSID не может быть пустым"
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr "Пароль должен содержать не менее 8 символов"
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Отключён"
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr "802.11n - ширина канала в 20 МГц"
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr "802.11n - ширина канала в 40 МГц"
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr "802.11ac - ширина канала в 20 МГц"
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr "802.11ac - ширина канала в 40 МГц"
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac - ширина канала в 80 МГц"
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
"\n"
" Предварительный общий ключ WPA2, необходимый для подключения к "
"сети.\n"
" "
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
"Если установлено, сеть не будет отображаться при сканировании доступных "
"сетей."
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
"\n"
" Частота 2,4 ГГц более широко поддерживается клиентами, но имеет "
"больше помех. Частота 5 ГГц является новым стандартом и может "
"поддерживаться не всеми вашими устройствами. Он обычно имеет меньше "
"помех, но сигнал не очень хорошо распространяется в помещении."
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
"\n"
" Измените это, чтобы настроить режим работы 802.11n/ac. 802.11n с "
"каналами шириной 40 МГц может обеспечить более высокую пропускную "
"способность, но может вызывать больше помех в сети. Если вы не знаете, "
"что выбрать, используйте опцию по умолчанию с каналом шириной 20 МГц.\n"
" "
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
"\n"
" Включает Wi-Fi для гостей, который отделен от локальной сети. "
"Устройства, подключенные к этой сети, могут доступ в Интернет, но им не "
"разрешен доступ к другим устройствам и интерфейсу конфигурации "
"маршрутизатора. Параметры гостевой сети можно настроить на вкладке "
"Гостевая сеть.\n"
" "
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr "Настройки были успешно сохранены"
#: 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"
msgstr ""
msgstr "Обновление"
#: src/form/components/SubmitButton.js:35
msgid "Load settings"
msgstr ""
msgstr "Загрузить настройки"
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
msgstr "Сохранить"
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
msgstr "Во время получения данных произошла ошибка."
#~ msgid "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""
#~ "Произошла неизвестная ошибка. Проверьте "
#~ "консоль браузера, чтобы узнать детали."

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+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"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -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,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -110,25 +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 "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-11-29 16:27+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"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"
"Generated-By: Babel 2.8.0\n"
#: src/validations.js:13
msgid "This is not a valid IPv4 address."
@ -32,7 +32,7 @@ msgstr ""
#: src/validations.js:16
msgid "This is not a valid domain name."
msgstr ""
msgstr "Detta är inte ett giltigt domännamn."
#: src/validations.js:17
msgid "This is not a valid DUID."
@ -58,17 +58,13 @@ 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 ""
#: src/common/RebootButton.js:33
msgid "Reboot request failed."
msgstr ""
msgstr "Omstart krävs"
#: src/common/RebootButton.js:54
msgid "Reboot"
@ -90,11 +86,144 @@ msgstr ""
msgid "Confirm reboot"
msgstr ""
#: src/form/components/ForisForm.js:88
#: src/common/WiFiSettings/ResetWiFiSettings.js:39
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:53
#: src/common/WiFiSettings/ResetWiFiSettings.js:69
msgid "Reset Wi-Fi Settings"
msgstr ""
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
msgid ""
"\n"
"If a number of wireless cards doesn't match, you may try to reset the Wi-"
"Fi settings. Note that this will remove the\n"
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:82
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:84
msgid "Enable"
msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:215
msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:37
msgid "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:77
msgid "Password"
msgstr "Lösenord"
#: src/common/WiFiSettings/WiFiQRCode.js:60
msgid "Wi-Fi QR Code"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:80
msgid "Download PDF"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:73
#: src/common/WiFiSettings/WiFiSettings.js:81
msgid "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:74
#: src/common/WiFiSettings/WiFiSettings.js:82
msgid "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:76
#: src/common/WiFiSettings/WiFiSettings.js:84
msgid "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:21
msgid ""
"\n"
" WPA2 pre-shared key, that is required to connect to the network.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:24
msgid "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:25
msgid ""
"\n"
" The 2.4 GHz band is more widely supported by clients, but tends "
"to have more interference. The 5 GHz band is a\n"
" newer standard and may not be supported by all your devices. It "
"usually has less interference, but the signal\n"
" does not carry so well indoors."
msgstr ""
#: src/common/WiFiSettings/constants.js:29
msgid ""
"\n"
" Change this to adjust 802.11n/ac mode of operation. 802.11n with "
"40 MHz wide channels can yield higher\n"
" throughput but can cause more interference in the network. If you"
" don't know what to choose, use the default\n"
" option with 20 MHz wide channel.\n"
" "
msgstr ""
#: src/common/WiFiSettings/constants.js:34
msgid ""
"\n"
" Enables Wi-Fi for guests, which is separated from LAN network. "
"Devices connected to this network are allowed to\n"
" access the internet, but aren't allowed to access other devices "
"and the configuration interface of the router.\n"
" Parameters of the guest network can be set in the Guest network "
"tab.\n"
" "
msgstr ""
#: src/form/components/ForisForm.js:112
msgid "Settings saved successfully"
msgstr ""
#: src/form/components/ForisForm.js:140
#: src/form/components/ForisForm.js:165
msgid "Changes you made may not be saved. Are you sure you want to leave?"
msgstr ""
@ -108,27 +237,12 @@ msgstr ""
#: src/form/components/SubmitButton.js:38
msgid "Save"
msgstr ""
msgstr "Spara"
#: src/utils/ErrorMessage.js:13
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
msgstr ""
#~ msgid "Settings were successfully saved."
#~ msgstr ""
#~ msgid "Settings update was failed."
#~ msgstr ""
#~ msgid "Warning!"
#~ msgstr ""
#~ msgid "Reboot triggering was failed."
#~ msgstr ""
#~ msgid "Reboot triggering failed."
#~ msgstr ""
#~ msgid "Reboot requestq failed."
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""