1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-11-14 17:35:35 +01:00

Merge branch 'dev' into 'master'

Dev

See merge request turris/reforis/foris-js!160
This commit is contained in:
Aleksandr Gumroian 2021-05-14 11:55:44 +00:00
commit b7bab92d5d
17 changed files with 22104 additions and 7746 deletions

29510
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "foris",
"version": "5.1.11",
"version": "5.1.12",
"description": "Set of components and utils for Foris and its plugins.",
"author": "CZ.NIC, z.s.p.o.",
"repository": {
@ -39,7 +39,7 @@
"babel-loader": "^8.1.0",
"babel-polyfill": "^6.26.0",
"bootstrap": "^4.5.0",
"css-loader": "^3.5.3",
"css-loader": "^5.2.4",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-reforis": "^1.0.0",

View File

@ -20,7 +20,7 @@ ResetWiFiSettings.propTypes = {
endpoint: PropTypes.string.isRequired,
};
export default function ResetWiFiSettings({ ws, endpoint }) {
export function ResetWiFiSettings({ ws, endpoint }) {
const [isLoading, setIsLoading] = useState(false);
useEffect(() => {
@ -54,14 +54,13 @@ export default function ResetWiFiSettings({ ws, endpoint }) {
<div className={formFieldsSize}>
<h2>{_("Reset Wi-Fi Settings")}</h2>
<p>
{_(`
If a number of wireless cards doesn't match, you may try to reset the Wi-Fi settings. Note that this will remove the
current Wi-Fi configuration and restore the default values.
`)}
{_(`If a number of wireless cards doesn't match, you may try \
to reset the Wi-Fi settings. Note that this will remove the current Wi-Fi \
configuration and restore the default values.`)}
</p>
<div className="text-right">
<Button
className="btn-warning"
className="btn-primary"
forisFormSize
loading={isLoading}
disabled={isLoading}

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
* Copyright (C) 2019-2021 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.
@ -126,7 +126,7 @@ function DeviceForm({
<PasswordInput
withEye
label="Password"
label={_("Password")}
value={formData.password}
error={formErrors.password}
helpText={HELP_TEXTS.password}
@ -140,7 +140,7 @@ function DeviceForm({
/>
<CheckBox
label="Hide SSID"
label={_("Hide SSID")}
helpText={HELP_TEXTS.hidden}
checked={formData.hidden}
onChange={setFormValue((value) => ({
@ -163,6 +163,10 @@ function DeviceForm({
[deviceIndex]: {
hwmode: { $set: value },
channel: { $set: "0" },
htmode: {
$set:
value === "11a" ? "VHT80" : "HT20",
},
},
},
}))}
@ -170,7 +174,7 @@ function DeviceForm({
/>
<Select
label="802.11n/ac mode"
label={_("802.11n/ac mode")}
choices={getHtmodeChoices(formData)}
value={formData.htmode}
helpText={HELP_TEXTS.htmode}
@ -183,7 +187,7 @@ function DeviceForm({
/>
<Select
label="Channel"
label={_("Channel")}
choices={getChannelChoices(formData)}
value={formData.channel}
onChange={setFormValue((value) => ({

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
* Copyright (C) 2019-2021 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.
@ -10,7 +10,7 @@ import PropTypes from "prop-types";
import { ForisForm } from "../../form/components/ForisForm";
import WiFiForm from "./WiFiForm";
import ResetWiFiSettings from "./ResetWiFiSettings";
import { ResetWiFiSettings } from "./ResetWiFiSettings";
WiFiSettings.propTypes = {
ws: PropTypes.object.isRequired,

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
* Copyright (C) 2019-2021 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.
@ -14,7 +14,7 @@ import { mockJSONError } from "testUtils/network";
import { mockSetAlert } from "testUtils/alertContextMock";
import { ALERT_TYPES } from "../../../bootstrap/Alert";
import ResetWiFiSettings from "../ResetWiFiSettings";
import { ResetWiFiSettings } from "../ResetWiFiSettings";
describe("<ResetWiFiSettings/>", () => {
const webSockets = new WebSockets();

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
* Copyright (C) 2019-2021 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.
@ -116,7 +116,7 @@ describe("<WiFiSettings/>", () => {
enabled: true,
guest_wifi: { enabled: false },
hidden: false,
htmode: "HT40",
htmode: "HT80",
hwmode: "11a",
id: 0,
password: "TestPass",
@ -145,7 +145,7 @@ describe("<WiFiSettings/>", () => {
enabled: true,
guest_wifi: { enabled: false },
hidden: false,
htmode: "HT40",
htmode: "HT20",
hwmode: "11g",
id: 0,
password: "TestPass",
@ -181,7 +181,7 @@ describe("<WiFiSettings/>", () => {
password: "test_password",
},
hidden: false,
htmode: "HT40",
htmode: "HT80",
hwmode: "11a",
id: 0,
password: "TestPass",

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
* Copyright (C) 2019-2021 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.
@ -226,7 +226,7 @@ export function wifiSettingsFixture() {
password: "",
},
hidden: false,
htmode: "HT40",
htmode: "HT80",
hwmode: "11a",
id: 0,
password: "TestPass",
@ -349,7 +349,7 @@ const twoDevices = {
hidden: false,
htmode: "HT40",
hwmode: "11a",
id: 0,
id: 1,
password: "TestPass",
},
],
@ -376,7 +376,7 @@ const threeDevices = {
hidden: false,
htmode: "HT40",
hwmode: "11a",
id: 0,
id: 1,
password: "TestPass",
},
{
@ -387,7 +387,7 @@ const threeDevices = {
hidden: false,
htmode: "HT40",
hwmode: "11a",
id: 0,
id: 2,
password: "",
},
],

View File

@ -316,16 +316,13 @@ exports[`<WiFiSettings/> Snapshot both modules disabled. 1`] = `
Reset Wi-Fi Settings
</h2>
<p>
If a number of wireless cards doesn't match, you may try to reset the Wi-Fi settings. Note that this will remove the
current Wi-Fi configuration and restore the default values.
If a number of wireless cards doesn't match, you may try to reset the Wi-Fi settings. Note that this will remove the current Wi-Fi configuration and restore the default values.
</p>
<div
class="text-right"
>
<button
class="btn btn-warning col-sm-12 col-md-3 col-lg-2"
class="btn btn-primary col-sm-12 col-md-3 col-lg-2"
type="button"
>
Reset Wi-Fi Settings

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
* Copyright (C) 2019-2021 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.
@ -39,6 +39,7 @@ export { Modal, ModalBody, ModalFooter, ModalHeader } from "./bootstrap/Modal";
// Common
export { RebootButton } from "./common/RebootButton";
export { WiFiSettings } from "./common/WiFiSettings/WiFiSettings";
export { ResetWiFiSettings } from "./common/WiFiSettings/ResetWiFiSettings";
// Form
export { ForisForm } from "./form/components/ForisForm";
export {

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
* Copyright (C) 2019-2021 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.
@ -18,6 +18,7 @@ export const ForisURLs = {
packageManagement: {
updateSettings: `${REFORIS_URL_PREFIX}/package-management/update-settings`,
updates: `${REFORIS_URL_PREFIX}/package-management/updates`,
packages: `${REFORIS_URL_PREFIX}/package-management/packages`,
},
storage: `${REFORIS_URL_PREFIX}/storage`,
@ -29,7 +30,7 @@ export const ForisURLs = {
approveUpdates: "/package-management/updates",
languages: "/package-management/languages",
rebootPage: "/administration/reboot",
maintenance: "/administration/maintenance",
luci: "/cgi-bin/luci",
// API

View File

@ -8,15 +8,16 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-01-28 11:42+0100\n"
"PO-Revision-Date: 2019-09-29 15:56+0000\n"
"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>\n"
"PO-Revision-Date: 2021-02-17 14:50+0000\n"
"Last-Translator: Lukas Jelinek <lukas.jelinek@nic.cz>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/turris/foris-js/cs/"
">\n"
"Language: 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"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 4.5\n"
"Generated-By: Babel 2.9.0\n"
#: src/api/utils.js:60
@ -37,7 +38,7 @@ msgstr "Došlo k neznámé chybě v aplikačním programovém rozhraní."
#: src/common/RebootButton.js:27
msgid "Reboot request failed."
msgstr "Vyžadován restart"
msgstr "Vyžadován restart."
#: src/common/RebootButton.js:51
msgid "Reboot"
@ -45,32 +46,32 @@ msgstr "Restartovat"
#: src/common/RebootButton.js:66
msgid "Warning!"
msgstr ""
msgstr "Varování!"
#: src/common/RebootButton.js:68
msgid "Are you sure you want to restart the router?"
msgstr ""
msgstr "Opravdu chcete router restartovat?"
#: src/common/RebootButton.js:71
msgid "Cancel"
msgstr ""
msgstr "Storno"
#: src/common/RebootButton.js:73
msgid "Confirm reboot"
msgstr ""
msgstr "Potvrdit restart"
#: src/common/WiFiSettings/ResetWiFiSettings.js:38
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
msgstr "Při resetu nastavení Wi-Fi došlo k chybě."
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
msgstr "Nastavení Wi-Fi jsou uvedena do výchozího stavu."
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
#: src/common/WiFiSettings/ResetWiFiSettings.js:70
msgid "Reset Wi-Fi Settings"
msgstr ""
msgstr "Resetovat nastavení Wi-Fi"
#: src/common/WiFiSettings/ResetWiFiSettings.js:57
msgid ""
@ -80,19 +81,23 @@ msgid ""
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
"\n"
"Pokud počet karet pro Wi-Fi neodpovídá skutečnosti, můžete zkusit resetovat "
"nastavení Wi-Fi. Nezapomeňte ale, že\n"
"se tím odstraní aktuální konfigurace a vrátí se výchozí hodnoty.\n"
" "
#: src/common/WiFiSettings/WiFiForm.js:92
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
msgstr "Wi-Fi ${deviceID + 1}"
#: src/common/WiFiSettings/WiFiForm.js:217
msgid "auto"
msgstr "automaticky"
#: src/common/WiFiSettings/WiFiGuestForm.js:42
#, fuzzy
msgid "Enable Guest Wi-Fi"
msgstr "Zapnout WiFi pro hosty"
msgstr "Zapnout Wi-Fi pro hosty"
#: src/common/WiFiSettings/WiFiGuestForm.js:80
msgid "Password"
@ -100,11 +105,11 @@ msgstr "Heslo"
#: src/common/WiFiSettings/WiFiQRCode.js:71
msgid "Wi-Fi QR Code"
msgstr ""
msgstr "Wi-Fi QR kód"
#: src/common/WiFiSettings/WiFiQRCode.js:91
msgid "Download PDF"
msgstr ""
msgstr "Stáhnout PDF"
#: src/common/WiFiSettings/WiFiSettings.js:78
#: src/common/WiFiSettings/WiFiSettings.js:90
@ -118,9 +123,8 @@ msgstr "SSID je třeba vyplnit"
#: src/common/WiFiSettings/WiFiSettings.js:81
#: src/common/WiFiSettings/WiFiSettings.js:94
#, fuzzy
msgid "SSID can't be longer than 32 bytes"
msgstr "SSID nemůže být delší než 32 znaků"
msgstr "SSID nemůže být delší než 32 bajtů"
#: src/common/WiFiSettings/WiFiSettings.js:84
#: src/common/WiFiSettings/WiFiSettings.js:97
@ -152,15 +156,16 @@ msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac kanál šíře 80 MHz"
#: src/common/WiFiSettings/constants.js:15
#, fuzzy
msgid "802.11ac - 160 MHz wide channel"
msgstr "802.11ac kanál šíře 80 MHz"
msgstr "802.11ac kanál šíře 160 MHz"
#: src/common/WiFiSettings/constants.js:22
msgid ""
"SSID which contains non-standard characters could cause problems on some "
"devices."
msgstr ""
"SSID obsahující nestandardní znaky může na některých zařízení způsobovat "
"problémy."
#: src/common/WiFiSettings/constants.js:25
msgid ""
@ -295,4 +300,3 @@ msgstr "Neobsahuje seznam e-mailů oddělených čárkou."
#~ msgid "Enable"
#~ msgstr "Zapnout"

View File

@ -8,14 +8,16 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-01-28 11:42+0100\n"
"PO-Revision-Date: 2019-02-19 13:34+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2021-02-09 16:50+0000\n"
"Last-Translator: Michalis <michalisntovas@yahoo.gr>\n"
"Language-Team: Greek <https://hosted.weblate.org/projects/turris/foris-js/el/"
">\n"
"Language: el\n"
"Language-Team: el <LL@li.org>\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"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.5-dev\n"
"Generated-By: Babel 2.9.0\n"
#: src/api/utils.js:60
@ -40,7 +42,7 @@ msgstr ""
#: src/common/RebootButton.js:51
msgid "Reboot"
msgstr ""
msgstr "Επανεκκίνηση"
#: src/common/RebootButton.js:66
msgid "Warning!"
@ -48,15 +50,15 @@ msgstr ""
#: src/common/RebootButton.js:68
msgid "Are you sure you want to restart the router?"
msgstr ""
msgstr "Είστε βέβαιοι ότι θέλετε να κάνετε επανεκκίνηση του δρομολογητή;"
#: src/common/RebootButton.js:71
msgid "Cancel"
msgstr ""
msgstr "Άκυρο"
#: src/common/RebootButton.js:73
msgid "Confirm reboot"
msgstr ""
msgstr "Επιβεβαίωση επανεκκίνησης"
#: src/common/WiFiSettings/ResetWiFiSettings.js:38
msgid "An error occurred during resetting Wi-Fi settings."
@ -265,4 +267,3 @@ msgstr ""
#~ msgid "Enable Guest Wifi"
#~ msgstr ""

View File

@ -37,11 +37,11 @@ msgstr ""
#: src/common/RebootButton.js:27
msgid "Reboot request failed."
msgstr "Reboot is required"
msgstr ""
#: src/common/RebootButton.js:51
msgid "Reboot"
msgstr "Reboot"
msgstr ""
#: src/common/RebootButton.js:66
msgid "Warning!"
@ -87,16 +87,15 @@ msgstr ""
#: src/common/WiFiSettings/WiFiForm.js:217
msgid "auto"
msgstr "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:42
#, fuzzy
msgid "Enable Guest Wi-Fi"
msgstr "Enable Guest Wifi"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:80
msgid "Password"
msgstr "Password"
msgstr ""
#: src/common/WiFiSettings/WiFiQRCode.js:71
msgid "Wi-Fi QR Code"
@ -109,52 +108,50 @@ msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:78
#: src/common/WiFiSettings/WiFiSettings.js:90
msgid "SSID can't be longer than 32 symbols"
msgstr "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:79
#: src/common/WiFiSettings/WiFiSettings.js:92
msgid "SSID can't be empty"
msgstr "SSID can't be empty"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:81
#: src/common/WiFiSettings/WiFiSettings.js:94
#, fuzzy
msgid "SSID can't be longer than 32 bytes"
msgstr "SSID can't be longer than 32 symbols"
msgstr ""
#: src/common/WiFiSettings/WiFiSettings.js:84
#: src/common/WiFiSettings/WiFiSettings.js:97
msgid "Password must contain at least 8 symbols"
msgstr "Password must contain at least 8 symbols"
msgstr ""
#: src/common/WiFiSettings/constants.js:9
msgid "Disabled"
msgstr "Disabled"
msgstr ""
#: src/common/WiFiSettings/constants.js:10
msgid "802.11n - 20 MHz wide channel"
msgstr "802.11n - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:11
msgid "802.11n - 40 MHz wide channel"
msgstr "802.11n - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:12
msgid "802.11ac - 20 MHz wide channel"
msgstr "802.11ac - 20 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:13
msgid "802.11ac - 40 MHz wide channel"
msgstr "802.11ac - 40 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:14
msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:15
#, fuzzy
msgid "802.11ac - 160 MHz wide channel"
msgstr "802.11ac - 80 MHz wide channel"
msgstr ""
#: src/common/WiFiSettings/constants.js:22
msgid ""
@ -168,13 +165,10 @@ msgid ""
" 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:28
msgid "If set, network is not visible when scanning for available networks."
msgstr "If set, network is not visible when scanning for available networks."
msgstr ""
#: src/common/WiFiSettings/constants.js:31
msgid ""
@ -185,12 +179,6 @@ msgid ""
"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:35
msgid ""
@ -202,13 +190,6 @@ msgid ""
" 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:40
msgid ""
@ -221,14 +202,6 @@ msgid ""
"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:121
msgid "Settings saved successfully"
@ -240,15 +213,15 @@ msgstr ""
#: src/form/components/SubmitButton.js:31
msgid "Updating"
msgstr "Updating"
msgstr ""
#: src/form/components/SubmitButton.js:34
msgid "Load settings"
msgstr "Load settings"
msgstr ""
#: src/form/components/SubmitButton.js:37
msgid "Save"
msgstr "Save"
msgstr ""
#: src/utils/ErrorMessage.js:16
msgid "An error occurred while fetching data."
@ -256,31 +229,31 @@ msgstr ""
#: src/utils/validations.js:13
msgid "This is not a valid IPv4 address."
msgstr "This is not a valid IPv4 address."
msgstr ""
#: src/utils/validations.js:14
msgid "This is not a valid IPv6 address."
msgstr "This is not a valid IPv6 address."
msgstr ""
#: src/utils/validations.js:15
msgid "This is not a valid IPv6 prefix."
msgstr "This is not a valid IPv6 prefix."
msgstr ""
#: src/utils/validations.js:16
msgid "This is not a valid domain name."
msgstr "This is not a valid domain name."
msgstr ""
#: src/utils/validations.js:17
msgid "This is not a valid DUID."
msgstr "This is not a valid DUID."
msgstr ""
#: src/utils/validations.js:18
msgid "This is not a valid MAC address."
msgstr "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 "Doesn't contain a list of emails separated by commas."
msgstr ""
#~ msgid "An unknown error occurred. Check the console for more info."
#~ msgstr ""
@ -289,5 +262,5 @@ msgstr "Doesn't contain a list of emails separated by commas."
#~ msgstr ""
#~ msgid "Enable"
#~ msgstr "Enable"
#~ msgstr ""

View File

@ -8,15 +8,16 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-01-28 11:42+0100\n"
"PO-Revision-Date: 2019-10-14 11:04+0000\n"
"Last-Translator: ButterflyOfFire <ButterflyOfFire@protonmail.com>\n"
"PO-Revision-Date: 2021-02-09 16:50+0000\n"
"Last-Translator: Yuraï Slovaque <assistance@simplix.fr>\n"
"Language-Team: French <https://hosted.weblate.org/projects/turris/foris-js/"
"fr/>\n"
"Language: fr\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"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.5-dev\n"
"Generated-By: Babel 2.9.0\n"
#: src/api/utils.js:60
@ -36,29 +37,28 @@ msgid "An unknown API error occurred."
msgstr "Une erreur dAPI inconnue sest produite."
#: src/common/RebootButton.js:27
#, fuzzy
msgid "Reboot request failed."
msgstr "Un redémarrage est nécessaire"
msgstr "La demande de redémarrage a échoué."
#: src/common/RebootButton.js:51
msgid "Reboot"
msgstr ""
msgstr "Redémarrer"
#: src/common/RebootButton.js:66
msgid "Warning!"
msgstr ""
msgstr "Attention !"
#: src/common/RebootButton.js:68
msgid "Are you sure you want to restart the router?"
msgstr ""
msgstr "Voulez-vous vraiment redémarrer le routeur ?"
#: src/common/RebootButton.js:71
msgid "Cancel"
msgstr ""
msgstr "Annuler"
#: src/common/RebootButton.js:73
msgid "Confirm reboot"
msgstr ""
msgstr "Confirmer le redémarrage"
#: src/common/WiFiSettings/ResetWiFiSettings.js:38
msgid "An error occurred during resetting Wi-Fi settings."
@ -91,7 +91,6 @@ msgid "auto"
msgstr ""
#: src/common/WiFiSettings/WiFiGuestForm.js:42
#, fuzzy
msgid "Enable Guest Wi-Fi"
msgstr "Activer le mode Wi-Fi invité"
@ -272,4 +271,3 @@ msgstr ""
#~ msgid "Enable"
#~ msgstr "Activer"

View File

@ -8,15 +8,16 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-01-28 11:42+0100\n"
"PO-Revision-Date: 2019-11-10 16:04+0000\n"
"PO-Revision-Date: 2021-02-05 23:41+0000\n"
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
"Language: nb\n"
"Language-Team: Norwegian Bokmål "
"<https://hosted.weblate.org/projects/turris/reforis/nb_NO/>\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/turris/"
"foris-js/nb_NO/>\n"
"Language: nb_NO\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.5-dev\n"
"Generated-By: Babel 2.9.0\n"
#: src/api/utils.js:60
@ -47,32 +48,33 @@ msgstr "Start på ny"
#: src/common/RebootButton.js:66
msgid "Warning!"
msgstr ""
msgstr "Advarsel!"
#: src/common/RebootButton.js:68
msgid "Are you sure you want to restart the router?"
msgstr ""
msgstr "Er du sikker på at du vil utføre omstart av ruteren?"
#: src/common/RebootButton.js:71
msgid "Cancel"
msgstr ""
msgstr "Avbryt"
#: src/common/RebootButton.js:73
msgid "Confirm reboot"
msgstr ""
msgstr "Bekreft omstart"
#: src/common/WiFiSettings/ResetWiFiSettings.js:38
#, fuzzy
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
msgstr "Kunne ikke tilbakestille Wi-Fi-innstillinger."
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
msgstr "Wi-Fi-innstillinger satt til forvalg."
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
#: src/common/WiFiSettings/ResetWiFiSettings.js:70
msgid "Reset Wi-Fi Settings"
msgstr ""
msgstr "Tilbakestill Wi-Fi-innstillinger"
#: src/common/WiFiSettings/ResetWiFiSettings.js:57
msgid ""
@ -82,10 +84,16 @@ msgid ""
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
"\n"
"Hvis antallet trådløskort ikke samsvarer, kan du prøve å tilbakestille Wi-Fi-"
"innstillingene. Mer at dette fjerner\n"
"gjeldende Wi-Fi-oppsett og tilbakestiller forvalgte verdier.\n"
" "
#: src/common/WiFiSettings/WiFiForm.js:92
#, fuzzy
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
msgstr "Wi-Fi ${deviceID + 1}"
#: src/common/WiFiSettings/WiFiForm.js:217
msgid "auto"
@ -102,11 +110,11 @@ msgstr "Passord"
#: src/common/WiFiSettings/WiFiQRCode.js:71
msgid "Wi-Fi QR Code"
msgstr ""
msgstr "QR-kode for Wi-Fi"
#: src/common/WiFiSettings/WiFiQRCode.js:91
msgid "Download PDF"
msgstr ""
msgstr "Last ned PDF"
#: src/common/WiFiSettings/WiFiSettings.js:78
#: src/common/WiFiSettings/WiFiSettings.js:90
@ -163,6 +171,7 @@ msgid ""
"SSID which contains non-standard characters could cause problems on some "
"devices."
msgstr ""
"SSID som inneholder uvanlige tegn kan forårsake problemer på noen enheter."
#: src/common/WiFiSettings/constants.js:25
msgid ""
@ -295,4 +304,3 @@ msgstr "Inneholder ikke en kommainndelt liste med e-postadresser."
#~ msgid "Enable"
#~ msgstr "Skru på"

View File

@ -8,16 +8,17 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-01-28 11:42+0100\n"
"PO-Revision-Date: 2019-09-30 13:00+0000\n"
"PO-Revision-Date: 2021-02-19 05:50+0000\n"
"Last-Translator: Алексей Леньшин <alenshin@gmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/turris/foris-js/"
"ru/>\n"
"Language: ru\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"
"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"
"X-Generator: Weblate 4.5\n"
"Generated-By: Babel 2.9.0\n"
#: src/api/utils.js:60
@ -37,9 +38,8 @@ msgid "An unknown API error occurred."
msgstr "Неизвестная ошибка программного интерфейса приложения."
#: src/common/RebootButton.js:27
#, fuzzy
msgid "Reboot request failed."
msgstr "Требуется перезагрузка"
msgstr "Запрос на перезагрузку не выполнен."
#: src/common/RebootButton.js:51
msgid "Reboot"
@ -47,32 +47,32 @@ msgstr "Перезагрузка"
#: src/common/RebootButton.js:66
msgid "Warning!"
msgstr ""
msgstr "Предупреждение!"
#: src/common/RebootButton.js:68
msgid "Are you sure you want to restart the router?"
msgstr ""
msgstr "Вы уверены, что хотите перезагрузить маршрутизатор?"
#: src/common/RebootButton.js:71
msgid "Cancel"
msgstr ""
msgstr "Отмена"
#: src/common/RebootButton.js:73
msgid "Confirm reboot"
msgstr ""
msgstr "Подтвердите перезагрузку"
#: src/common/WiFiSettings/ResetWiFiSettings.js:38
msgid "An error occurred during resetting Wi-Fi settings."
msgstr ""
msgstr "При сбросе настроек Wi-Fi произошла ошибка."
#: src/common/WiFiSettings/ResetWiFiSettings.js:41
msgid "Wi-Fi settings are set to defaults."
msgstr ""
msgstr "Настройки Wi-Fi установлены по умолчанию."
#: src/common/WiFiSettings/ResetWiFiSettings.js:55
#: src/common/WiFiSettings/ResetWiFiSettings.js:70
msgid "Reset Wi-Fi Settings"
msgstr ""
msgstr "Сбросить настройки Wi-Fi"
#: src/common/WiFiSettings/ResetWiFiSettings.js:57
msgid ""
@ -82,19 +82,24 @@ msgid ""
"current Wi-Fi configuration and restore the default values.\n"
" "
msgstr ""
"\n"
"Если количество беспроводных карт не совпадает, вы можете попробовать "
"сбросить настройки Wi-Fi.\n"
"Это приведет к удалению текущей конфигурации Wi-Fi и восстановлению значений "
"по умолчанию.\n"
" "
#: src/common/WiFiSettings/WiFiForm.js:92
msgid "Wi-Fi ${deviceID + 1}"
msgstr ""
msgstr "Wi-Fi ${deviceID + 1}"
#: src/common/WiFiSettings/WiFiForm.js:217
msgid "auto"
msgstr "авто"
#: src/common/WiFiSettings/WiFiGuestForm.js:42
#, fuzzy
msgid "Enable Guest Wi-Fi"
msgstr "Включить гостевой WiFi"
msgstr "Включить гостевой Wi-Fi"
#: src/common/WiFiSettings/WiFiGuestForm.js:80
msgid "Password"
@ -102,11 +107,11 @@ msgstr "Пароль"
#: src/common/WiFiSettings/WiFiQRCode.js:71
msgid "Wi-Fi QR Code"
msgstr ""
msgstr "QR-код Wi-Fi"
#: src/common/WiFiSettings/WiFiQRCode.js:91
msgid "Download PDF"
msgstr ""
msgstr "Скачать PDF"
#: src/common/WiFiSettings/WiFiSettings.js:78
#: src/common/WiFiSettings/WiFiSettings.js:90
@ -120,9 +125,8 @@ msgstr "SSID не может быть пустым"
#: src/common/WiFiSettings/WiFiSettings.js:81
#: src/common/WiFiSettings/WiFiSettings.js:94
#, fuzzy
msgid "SSID can't be longer than 32 bytes"
msgstr "SSID не может быть длиннее 32 символов"
msgstr "SSID не может быть длиннее 32 байт"
#: src/common/WiFiSettings/WiFiSettings.js:84
#: src/common/WiFiSettings/WiFiSettings.js:97
@ -154,15 +158,16 @@ msgid "802.11ac - 80 MHz wide channel"
msgstr "802.11ac - ширина канала в 80 МГц"
#: src/common/WiFiSettings/constants.js:15
#, fuzzy
msgid "802.11ac - 160 MHz wide channel"
msgstr "802.11ac - ширина канала в 80 МГц"
msgstr "802.11ac - ширина канала в 160 МГц"
#: src/common/WiFiSettings/constants.js:22
msgid ""
"SSID which contains non-standard characters could cause problems on some "
"devices."
msgstr ""
"SSID, содержащий нестандартные символы, может вызвать проблемы на некоторых "
"устройствах."
#: src/common/WiFiSettings/constants.js:25
msgid ""
@ -296,4 +301,3 @@ msgstr "Не содержит списка электронных адресов
#~ msgid "Enable"
#~ msgstr "Включить"