1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-26 00:21:36 +01:00

Fix translation sources in WiFiForm

This commit is contained in:
Aleksandr Gumroian 2021-02-18 10:54:46 +01:00
parent 4f09c2da9a
commit 86f98148c6
No known key found for this signature in database
GPG Key ID: 9E77849C64F0A733

View File

@ -126,7 +126,7 @@ function DeviceForm({
<PasswordInput <PasswordInput
withEye withEye
label="Password" label={_("Password")}
value={formData.password} value={formData.password}
error={formErrors.password} error={formErrors.password}
helpText={HELP_TEXTS.password} helpText={HELP_TEXTS.password}
@ -140,7 +140,7 @@ function DeviceForm({
/> />
<CheckBox <CheckBox
label="Hide SSID" label={_("Hide SSID")}
helpText={HELP_TEXTS.hidden} helpText={HELP_TEXTS.hidden}
checked={formData.hidden} checked={formData.hidden}
onChange={setFormValue((value) => ({ onChange={setFormValue((value) => ({
@ -170,7 +170,7 @@ function DeviceForm({
/> />
<Select <Select
label="802.11n/ac mode" label={_("802.11n/ac mode")}
choices={getHtmodeChoices(formData)} choices={getHtmodeChoices(formData)}
value={formData.htmode} value={formData.htmode}
helpText={HELP_TEXTS.htmode} helpText={HELP_TEXTS.htmode}
@ -183,7 +183,7 @@ function DeviceForm({
/> />
<Select <Select
label="Channel" label={_("Channel")}
choices={getChannelChoices(formData)} choices={getChannelChoices(formData)}
value={formData.channel} value={formData.channel}
onChange={setFormValue((value) => ({ onChange={setFormValue((value) => ({