mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-12-25 00:11:36 +01:00
Merge branch 'dev' into 'master'
Release v4.5.1. See merge request turris/reforis/foris-js!110
This commit is contained in:
commit
2786f856f7
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "foris",
|
"name": "foris",
|
||||||
"version": "4.5.0",
|
"version": "4.5.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "foris",
|
"name": "foris",
|
||||||
"version": "4.5.0",
|
"version": "4.5.1",
|
||||||
"description": "Set of components and utils for Foris and its plugins.",
|
"description": "Set of components and utils for Foris and its plugins.",
|
||||||
"author": "CZ.NIC, z.s.p.o.",
|
"author": "CZ.NIC, z.s.p.o.",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -36,7 +36,7 @@ WiFiForm.defaultProps = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function WiFiForm({
|
export default function WiFiForm({
|
||||||
formData, formErrors, setFormValue, hasGuestNetwork, ...props
|
formData, formErrors, setFormValue, hasGuestNetwork, disabled,
|
||||||
}) {
|
}) {
|
||||||
return formData.devices.map((device) => (
|
return formData.devices.map((device) => (
|
||||||
<DeviceForm
|
<DeviceForm
|
||||||
|
@ -45,8 +45,7 @@ export default function WiFiForm({
|
||||||
formErrors={(formErrors || [])[device.id]}
|
formErrors={(formErrors || [])[device.id]}
|
||||||
setFormValue={setFormValue}
|
setFormValue={setFormValue}
|
||||||
hasGuestNetwork={hasGuestNetwork}
|
hasGuestNetwork={hasGuestNetwork}
|
||||||
|
disabled={disabled}
|
||||||
{...props}
|
|
||||||
/>
|
/>
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
@ -149,6 +149,7 @@ export function ForisForm({
|
||||||
const childrenWithFormProps = React.Children.map(
|
const childrenWithFormProps = React.Children.map(
|
||||||
children,
|
children,
|
||||||
(child) => React.cloneElement(child, {
|
(child) => React.cloneElement(child, {
|
||||||
|
initialData: formState.initialData,
|
||||||
formData: formState.data,
|
formData: formState.data,
|
||||||
formErrors: formState.errors,
|
formErrors: formState.errors,
|
||||||
setFormValue: onFormChangeHandler,
|
setFormValue: onFormChangeHandler,
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2020-02-20 17:28+0100\n"
|
"POT-Creation-Date: 2020-05-07 16:12+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -17,34 +17,6 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Generated-By: Babel 2.8.0\n"
|
"Generated-By: Babel 2.8.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 ""
|
|
||||||
|
|
||||||
#: src/api/utils.js:58
|
#: src/api/utils.js:58
|
||||||
msgid "The session is expired. Please log in again."
|
msgid "The session is expired. Please log in again."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -107,15 +79,15 @@ msgid ""
|
||||||
" "
|
" "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/common/WiFiSettings/WiFiForm.js:82
|
#: src/common/WiFiSettings/WiFiForm.js:81
|
||||||
msgid "Wi-Fi ${deviceID + 1}"
|
msgid "Wi-Fi ${deviceID + 1}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/common/WiFiSettings/WiFiForm.js:84
|
#: src/common/WiFiSettings/WiFiForm.js:83
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/common/WiFiSettings/WiFiForm.js:215
|
#: src/common/WiFiSettings/WiFiForm.js:214
|
||||||
msgid "auto"
|
msgid "auto"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -222,7 +194,7 @@ msgstr ""
|
||||||
msgid "Settings saved successfully"
|
msgid "Settings saved successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/form/components/ForisForm.js:165
|
#: src/form/components/ForisForm.js:166
|
||||||
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
msgid "Changes you made may not be saved. Are you sure you want to leave?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -242,3 +214,31 @@ msgstr ""
|
||||||
msgid "An error occurred while fetching data."
|
msgid "An error occurred while fetching data."
|
||||||
msgstr ""
|
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 ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user