foris 6.1.0 → 6.1.1-beta.c86e2c89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,7 +49,7 @@ function PasswordInput({ withEye, newPass, ...props }) {
49
49
  <FontAwesomeIcon
50
50
  icon={isHidden ? faEye : faEyeSlash}
51
51
  style={{ width: "1.25rem" }}
52
- className="text-dark"
52
+ className="text-secondary"
53
53
  />
54
54
  </button>
55
55
  )}
@@ -68,14 +68,11 @@ export default function WifiGuestForm({
68
68
  }))}
69
69
  {...props}
70
70
  >
71
- <div className="input-group-append">
72
- <WiFiQRCode
73
- SSID={formData.SSID}
74
- password={formData.password}
75
- />
76
- </div>
71
+ <WiFiQRCode
72
+ SSID={formData.SSID}
73
+ password={formData.password}
74
+ />
77
75
  </TextInput>
78
-
79
76
  <PasswordInput
80
77
  withEye
81
78
  label={_("Password")}
@@ -42,7 +42,7 @@ export default function WiFiQRCode({ SSID, password }) {
42
42
  icon="fa-solid fa-qrcode"
43
43
  title={_("Show QR code")}
44
44
  aria-label={_("Show QR code")}
45
- className="text-dark"
45
+ className="text-secondary"
46
46
  />
47
47
  </button>
48
48
  {modal ? (
@@ -70,17 +70,26 @@ function QRCodeModal({ shown, setShown, SSID, password }) {
70
70
  <ModalHeader setShown={setShown} title={_("Wi-Fi QR Code")} />
71
71
  <ModalBody>
72
72
  <QRCode
73
+ className="d-block mx-auto img-logo-black"
73
74
  renderAs="svg"
74
75
  value={toQRCodeContent(SSID, password)}
75
76
  level="M"
76
77
  size={350}
77
78
  includeMargin
78
- style={{ display: "block", margin: "auto" }}
79
79
  />
80
80
  </ModalBody>
81
81
  <ModalFooter>
82
82
  <Button
83
- className="btn-outline-primary"
83
+ className="btn-secondary"
84
+ onClick={(e) => {
85
+ e.preventDefault();
86
+ setShown(false);
87
+ }}
88
+ >
89
+ {_("Close")}
90
+ </Button>
91
+ <Button
92
+ className="btn-primary"
84
93
  onClick={(e) => {
85
94
  e.preventDefault();
86
95
  createAndDownloadPdf(SSID, password);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foris",
3
- "version": "6.1.0",
3
+ "version": "6.1.1-beta.c86e2c89",
4
4
  "description": "Foris JS library is a set of components and utils for reForis application and plugins.",
5
5
  "author": "CZ.NIC, z.s.p.o.",
6
6
  "repository": {
@@ -8,15 +8,16 @@ msgstr ""
8
8
  "Project-Id-Version: PROJECT VERSION\n"
9
9
  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
10
  "POT-Creation-Date: 2024-08-23 14:02+0200\n"
11
- "PO-Revision-Date: 2022-09-11 17:15+0000\n"
12
- "Last-Translator: Dan Cybersec <dan.cybersec@protonmail.com>\n"
11
+ "PO-Revision-Date: 2024-08-24 13:09+0000\n"
12
+ "Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
13
+ "Language-Team: Spanish <https://hosted.weblate.org/projects/turris/foris-js/"
14
+ "es/>\n"
13
15
  "Language: es\n"
14
- "Language-Team: Spanish <https://hosted.weblate.org/projects/turris/foris-"
15
- "js/es/>\n"
16
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
16
  "MIME-Version: 1.0\n"
18
17
  "Content-Type: text/plain; charset=utf-8\n"
19
18
  "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
+ "X-Generator: Weblate 5.7.1-dev\n"
20
21
  "Generated-By: Babel 2.16.0\n"
21
22
 
22
23
  #: src/api/utils.js:61
@@ -39,7 +40,7 @@ msgstr ""
39
40
 
40
41
  #: src/bootstrap/Alert.js:51 src/bootstrap/Modal.js:98
41
42
  msgid "Close"
42
- msgstr ""
43
+ msgstr "Cerrar"
43
44
 
44
45
  #: src/bootstrap/CopyInput.js:57
45
46
  msgid "Copied!"
@@ -123,13 +124,15 @@ msgstr "Cifrado"
123
124
 
124
125
  #: src/common/WiFiSettings/WiFiForm.js:226
125
126
  msgid "Disable Management Frame Protection"
126
- msgstr ""
127
+ msgstr "Desactivar Protected Management Frames"
127
128
 
128
129
  #: src/common/WiFiSettings/WiFiForm.js:227
129
130
  msgid ""
130
131
  "In case you have trouble connecting to WiFi Access Point, try disabling "
131
132
  "Management Frame Protection."
132
133
  msgstr ""
134
+ "Si tienes problemas para conectarte a un punto de acceso Wi-Fi, intenta "
135
+ "desactivar Management Frame Protection."
133
136
 
134
137
  #: src/common/WiFiSettings/WiFiForm.js:262
135
138
  msgid "auto"
@@ -145,9 +148,8 @@ msgstr "Activar el modo Wi-Fi de invitados"
145
148
 
146
149
  #: src/common/WiFiSettings/WiFiQRCode.js:43
147
150
  #: src/common/WiFiSettings/WiFiQRCode.js:44
148
- #, fuzzy
149
151
  msgid "Show QR code"
150
- msgstr "Código QR Wi-Fi"
152
+ msgstr "Mostrar el código QR"
151
153
 
152
154
  #: src/common/WiFiSettings/WiFiQRCode.js:70
153
155
  msgid "Wi-Fi QR Code"
@@ -444,4 +446,3 @@ msgstr "No contiene una lista de correos electrónicos separados por comas."
444
446
  #~ " default option with 20 MHz wide "
445
447
  #~ "channel."
446
448
  #~ msgstr ""
447
-
package/foris-6.1.0.tgz DELETED
Binary file