1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-07-05 20:53:12 +00:00

Merge branch 'fix-translation-sources' into 'dev'

Fix translation sources in WiFiForm

See merge request turris/reforis/foris-js!153
This commit is contained in:
Aleksandr Gumroian 2021-03-24 10:25:19 +00:00
commit adc6bbca14

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) => ({