@things-factory/figure-library 10.1.280 โ†’ 10.1.282

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.
Files changed (35) hide show
  1. package/dist-client/index.d.ts +1 -0
  2. package/dist-client/index.js +1 -0
  3. package/dist-client/pages/figure-library-page.d.ts +6 -0
  4. package/dist-client/pages/figure-library-page.js +42 -2
  5. package/dist-client/settings/figure-source-setting-let.d.ts +25 -0
  6. package/dist-client/settings/figure-source-setting-let.js +190 -0
  7. package/dist-client/viewparts/figure-import-result.d.ts +20 -0
  8. package/dist-client/viewparts/figure-import-result.js +50 -0
  9. package/dist-client/viewparts/figure-package-import.d.ts +3 -14
  10. package/dist-client/viewparts/figure-package-import.js +3 -28
  11. package/dist-client/viewparts/figure-source-install.d.ts +24 -0
  12. package/dist-client/viewparts/figure-source-install.js +313 -0
  13. package/dist-server/routers/figure-source-thumbnail-router.d.ts +5 -0
  14. package/dist-server/routers/figure-source-thumbnail-router.js +39 -0
  15. package/dist-server/routes.js +3 -0
  16. package/dist-server/service/figure-library-resolver.js +2 -4
  17. package/dist-server/service/index.d.ts +6 -1
  18. package/dist-server/service/index.js +6 -1
  19. package/dist-server/service/library/import.d.ts +2 -0
  20. package/dist-server/service/library/import.js +3 -0
  21. package/dist-server/service/source/figure-source-resolver.d.ts +57 -0
  22. package/dist-server/service/source/figure-source-resolver.js +287 -0
  23. package/dist-server/service/source/source-client.d.ts +27 -0
  24. package/dist-server/service/source/source-client.js +109 -0
  25. package/dist-server/service/source/source-install.d.ts +57 -0
  26. package/dist-server/service/source/source-install.js +83 -0
  27. package/dist-server/service/source/source-setting-rules.d.ts +39 -0
  28. package/dist-server/service/source/source-setting-rules.js +71 -0
  29. package/package.json +10 -8
  30. package/translations/en.json +33 -1
  31. package/translations/es.json +33 -1
  32. package/translations/ja.json +33 -1
  33. package/translations/ko.json +33 -1
  34. package/translations/ms.json +33 -1
  35. package/translations/zh.json +33 -1
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /**
3
+ * The figure server a domain installs from (ADR-0114 decision 21): its address, the domain on it and the token that
4
+ * server issued. They are domain attributes (EnvVar keeps every value encrypted at rest); the token never comes back
5
+ * out. Pure rules here; the resolver reads and writes the attributes.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.FigureSourceSettingRefusal = exports.sourceAttributeOf = exports.SOURCE_PARAMS = void 0;
9
+ exports.sourceSettingState = sourceSettingState;
10
+ exports.sourceOf = sourceOf;
11
+ exports.sourceSettingWrites = sourceSettingWrites;
12
+ exports.SOURCE_PARAMS = ['url', 'domain', 'token'];
13
+ const sourceAttributeOf = (param) => `FigureLibrary::source::${param}`;
14
+ exports.sourceAttributeOf = sourceAttributeOf;
15
+ class FigureSourceSettingRefusal extends Error {
16
+ constructor(code, field, message) {
17
+ super(message);
18
+ this.code = code;
19
+ this.field = field;
20
+ }
21
+ }
22
+ exports.FigureSourceSettingRefusal = FigureSourceSettingRefusal;
23
+ const valueOf = (attributes, param) => attributes[(0, exports.sourceAttributeOf)(param)] || null;
24
+ /** What the Settings screen may see: the address and the domain as they are, whether the token is set. */
25
+ function sourceSettingState(attributes, hint = () => undefined) {
26
+ const token = valueOf(attributes, 'token');
27
+ return { url: valueOf(attributes, 'url'), domain: valueOf(attributes, 'domain'), tokenSet: !!token, tokenHint: token ? hint(token) ?? null : null };
28
+ }
29
+ /** The source to install from, or null while any of the three is missing. */
30
+ function sourceOf(attributes) {
31
+ const url = valueOf(attributes, 'url');
32
+ const domain = valueOf(attributes, 'domain');
33
+ const token = valueOf(attributes, 'token');
34
+ return url && domain && token ? { url, domain, token } : null;
35
+ }
36
+ /** The attribute writes of a patch: a field left out stays, an empty one is cleared. A refusal names the field. */
37
+ function sourceSettingWrites(patch) {
38
+ const writes = [];
39
+ for (const param of exports.SOURCE_PARAMS) {
40
+ if (!(param in patch) || patch[param] === undefined)
41
+ continue;
42
+ const raw = String(patch[param] ?? '').trim();
43
+ writes.push({ name: (0, exports.sourceAttributeOf)(param), value: raw ? checked(param, raw) : null });
44
+ }
45
+ return writes;
46
+ }
47
+ function checked(param, raw) {
48
+ switch (param) {
49
+ case 'url': {
50
+ let url;
51
+ try {
52
+ url = new URL(raw);
53
+ }
54
+ catch {
55
+ throw new FigureSourceSettingRefusal('figure-source-url-invalid', 'url', 'The address is a web address that starts with http:// or https://');
56
+ }
57
+ if (!/^https?:$/.test(url.protocol) || url.username || url.password || url.search || url.hash)
58
+ throw new FigureSourceSettingRefusal('figure-source-url-invalid', 'url', 'The address is a web address that starts with http:// or https://');
59
+ return `${url.origin}${url.pathname.replace(/\/+$/, '')}`;
60
+ }
61
+ case 'domain':
62
+ if (!/^[A-Za-z0-9][A-Za-z0-9_.-]{0,62}$/.test(raw))
63
+ throw new FigureSourceSettingRefusal('figure-source-domain-invalid', 'domain', 'The domain is the name in the figure server address, after /domain/');
64
+ return raw;
65
+ case 'token':
66
+ if (/\s/.test(raw))
67
+ throw new FigureSourceSettingRefusal('figure-source-token-invalid', 'token', 'The token has no spaces');
68
+ return raw;
69
+ }
70
+ }
71
+ //# sourceMappingURL=source-setting-rules.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/figure-library",
3
- "version": "10.1.280",
3
+ "version": "10.1.282",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "files": [
@@ -48,18 +48,20 @@
48
48
  "@operato/graphql": "^10.29.69",
49
49
  "@operato/i18n": "^10.0.0",
50
50
  "@operato/input": "^10.29.37",
51
+ "@operato/layout": "^10.29.43",
51
52
  "@operato/popup": "^10.29.25",
52
53
  "@operato/property-editor": "^10.29.69",
53
54
  "@operato/shell": "^10.29.69",
54
55
  "@operato/slot-layout-editor": "^10.29.58",
55
56
  "@operato/styles": "^10.29.23",
56
57
  "@operato/utils": "^10.0.0",
57
- "@things-factory/attachment-base": "^10.1.280",
58
- "@things-factory/auth-base": "^10.1.280",
59
- "@things-factory/board-service": "^10.1.280",
60
- "@things-factory/env": "^10.1.280",
61
- "@things-factory/figure-viewer": "^10.1.280",
62
- "@things-factory/shell": "^10.1.280",
58
+ "@things-factory/attachment-base": "^10.1.282",
59
+ "@things-factory/auth-base": "^10.1.282",
60
+ "@things-factory/board-service": "^10.1.282",
61
+ "@things-factory/env": "^10.1.281",
62
+ "@things-factory/figure-viewer": "^10.1.281",
63
+ "@things-factory/setting-base": "^10.1.282",
64
+ "@things-factory/shell": "^10.1.282",
63
65
  "graphql-scalars": "^1.22.4",
64
66
  "graphql-tag": "^2.12.6",
65
67
  "graphql-upload": "^15.0.2",
@@ -67,5 +69,5 @@
67
69
  "koa-router": "^7.4.0",
68
70
  "lit": "^3.1.2"
69
71
  },
70
- "gitHead": "14ce4b7f5957272d63115af316a7dc1ab030e152"
72
+ "gitHead": "6a232e670bdb52e1420b1d33cdeeb37ceb0f26b8"
71
73
  }
@@ -149,5 +149,37 @@
149
149
  "figure.text.legend-note-not-an-interval": "{key} is not a range.",
150
150
  "figure.text.legend-note-code-unmatched": "The legend has no row for the value {value}.",
151
151
  "figure.text.legend-note-not-a-look": "The row {key} cannot be read ({value}).",
152
- "figure.text.legend-note-not-taken": "The {column} {value} of row {key} was not taken."
152
+ "figure.text.legend-note-not-taken": "The {column} {value} of row {key} was not taken.",
153
+ "figure-library.button.install-from-source": "install from figure server",
154
+ "figure-library.button.install": "install {count}",
155
+ "figure-library.button.close": "close",
156
+ "figure-library.button.more": "more",
157
+ "figure-library.label.search-source": "search figures",
158
+ "figure-library.text.source-empty": "There are no figures to install.",
159
+ "figure-library.text.source-version": "latest version {version}",
160
+ "figure-library.text.source-version-here": "latest version {version} ยท in use here {here}",
161
+ "figure-library.source-status.not-installed": "not installed",
162
+ "figure-library.source-status.installed": "installed",
163
+ "figure-library.source-status.newer": "newer version",
164
+ "figure-library.source-status.archived": "archived",
165
+ "figure-library.source-status.format-unsupported": "format not supported",
166
+ "figure-library.setting.title": "Figure server",
167
+ "figure-library.setting.url": "server address",
168
+ "figure-library.setting.domain": "domain on the figure server",
169
+ "figure-library.setting.token": "access token",
170
+ "figure-library.setting.token-set": "Saved ({hint}). Enter a new token to replace it.",
171
+ "figure-library.setting.token-unset": "Register an appliance on the figure server and enter the access token it issues.",
172
+ "figure-library.setting.check": "check connection",
173
+ "figure-library.setting.check-ok": "Connected. {count} figures can be installed.",
174
+ "figure-library.setting.saved": "Saved.",
175
+ "error.figure-source-not-set": "No figure server is set. Set it in Settings, Figure server.",
176
+ "error.figure-source-unreachable": "Cannot connect to the figure server {host}.",
177
+ "error.figure-source-unauthorized": "The figure server {host} did not accept the token. Check the access token.",
178
+ "error.figure-source-forbidden": "The token has no right to read released figures of {domain} on {host}.",
179
+ "error.figure-source-failed": "The figure server {host} answered {status}.",
180
+ "error.figure-source-failed-message": "The figure server {host} refused: {message}",
181
+ "error.figure-source-url-invalid": "The address is a web address that starts with http:// or https://.",
182
+ "error.figure-source-domain-invalid": "Enter the domain name that follows /domain/ in the figure server address.",
183
+ "error.figure-source-token-invalid": "The token has no spaces.",
184
+ "error.figure-import-conflict": "The same version is already here with another content."
153
185
  }
@@ -149,5 +149,37 @@
149
149
  "figure.text.legend-note-not-an-interval": "{key} no es un rango.",
150
150
  "figure.text.legend-note-code-unmatched": "La leyenda no tiene fila para el valor {value}.",
151
151
  "figure.text.legend-note-not-a-look": "No se puede leer la fila {key} ({value}).",
152
- "figure.text.legend-note-not-taken": "No se tomรณ {column} {value} de la fila {key}."
152
+ "figure.text.legend-note-not-taken": "No se tomรณ {column} {value} de la fila {key}.",
153
+ "figure-library.button.install-from-source": "instalar desde el servidor de figuras",
154
+ "figure-library.button.install": "instalar {count}",
155
+ "figure-library.button.close": "cerrar",
156
+ "figure-library.button.more": "ver mรกs",
157
+ "figure-library.label.search-source": "buscar figuras",
158
+ "figure-library.text.source-empty": "No hay figuras para instalar.",
159
+ "figure-library.text.source-version": "รบltima versiรณn {version}",
160
+ "figure-library.text.source-version-here": "รบltima versiรณn {version} ยท en uso aquรญ {here}",
161
+ "figure-library.source-status.not-installed": "no instalada",
162
+ "figure-library.source-status.installed": "instalada",
163
+ "figure-library.source-status.newer": "versiรณn nueva",
164
+ "figure-library.source-status.archived": "archivada",
165
+ "figure-library.source-status.format-unsupported": "formato no admitido",
166
+ "figure-library.setting.title": "Servidor de figuras",
167
+ "figure-library.setting.url": "direcciรณn del servidor",
168
+ "figure-library.setting.domain": "dominio en el servidor de figuras",
169
+ "figure-library.setting.token": "token de acceso",
170
+ "figure-library.setting.token-set": "Guardado ({hint}). Introduzca un token nuevo para reemplazarlo.",
171
+ "figure-library.setting.token-unset": "Registre un dispositivo en el servidor de figuras e introduzca el token de acceso que emite.",
172
+ "figure-library.setting.check": "comprobar conexiรณn",
173
+ "figure-library.setting.check-ok": "Conectado. Se pueden instalar {count} figuras.",
174
+ "figure-library.setting.saved": "Guardado.",
175
+ "error.figure-source-not-set": "No hay un servidor de figuras configurado. Configรบrelo en Ajustes.",
176
+ "error.figure-source-unreachable": "No se puede conectar con el servidor de figuras {host}.",
177
+ "error.figure-source-unauthorized": "El servidor de figuras {host} no aceptรณ el token. Revise el token de acceso.",
178
+ "error.figure-source-forbidden": "El token no tiene permiso para leer las figuras publicadas de {domain} en {host}.",
179
+ "error.figure-source-failed": "El servidor de figuras {host} respondiรณ {status}.",
180
+ "error.figure-source-failed-message": "El servidor de figuras {host} rechazรณ la solicitud: {message}",
181
+ "error.figure-source-url-invalid": "La direcciรณn debe empezar por http:// o https://.",
182
+ "error.figure-source-domain-invalid": "Introduzca el nombre de dominio que sigue a /domain/ en la direcciรณn del servidor de figuras.",
183
+ "error.figure-source-token-invalid": "El token no puede contener espacios.",
184
+ "error.figure-import-conflict": "La misma versiรณn ya estรก aquรญ con otro contenido."
153
185
  }
@@ -149,5 +149,37 @@
149
149
  "figure.text.legend-note-not-an-interval": "{key} ใฏๅŒบ้–“ใงใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚",
150
150
  "figure.text.legend-note-code-unmatched": "ๅ€ค {value} ใซๅˆใ†่กŒใŒๅ‡กไพ‹ใซใ‚ใ‚Šใพใ›ใ‚“ใ€‚",
151
151
  "figure.text.legend-note-not-a-look": "{key} ใฎ่กŒใ‚’่ชญใ‚ใพใ›ใ‚“({value})ใ€‚",
152
- "figure.text.legend-note-not-taken": "{key} ่กŒใฎ {column} {value} ใฏๅ—ใ‘ไป˜ใ‘ใพใ›ใ‚“ใงใ—ใŸใ€‚"
152
+ "figure.text.legend-note-not-taken": "{key} ่กŒใฎ {column} {value} ใฏๅ—ใ‘ไป˜ใ‘ใพใ›ใ‚“ใงใ—ใŸใ€‚",
153
+ "figure-library.button.install-from-source": "Figure ใ‚ตใƒผใƒใƒผใ‹ใ‚‰ใ‚คใƒณใ‚นใƒˆใƒผใƒซ",
154
+ "figure-library.button.install": "{count} ไปถใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซ",
155
+ "figure-library.button.close": "้–‰ใ˜ใ‚‹",
156
+ "figure-library.button.more": "ใ•ใ‚‰ใซ่กจ็คบ",
157
+ "figure-library.label.search-source": "Figure ใ‚’ๆคœ็ดข",
158
+ "figure-library.text.source-empty": "ใ‚คใƒณใ‚นใƒˆใƒผใƒซใงใใ‚‹ Figure ใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚",
159
+ "figure-library.text.source-version": "ๆœ€ๆ–ฐใƒใƒผใ‚ธใƒงใƒณ {version}",
160
+ "figure-library.text.source-version-here": "ๆœ€ๆ–ฐใƒใƒผใ‚ธใƒงใƒณ {version} ยท ใ“ใฎใ‚ตใƒผใƒใƒผใฎไฝฟ็”จใƒใƒผใ‚ธใƒงใƒณ {here}",
161
+ "figure-library.source-status.not-installed": "ๆœชใ‚คใƒณใ‚นใƒˆใƒผใƒซ",
162
+ "figure-library.source-status.installed": "ใ‚คใƒณใ‚นใƒˆใƒผใƒซๆธˆใฟ",
163
+ "figure-library.source-status.newer": "ๆ–ฐใ—ใ„ใƒใƒผใ‚ธใƒงใƒณ",
164
+ "figure-library.source-status.archived": "ใ‚ขใƒผใ‚ซใ‚คใƒ–ๆธˆใฟ",
165
+ "figure-library.source-status.format-unsupported": "ๅฝขๅผๆœชๅฏพๅฟœ",
166
+ "figure-library.setting.title": "Figure ใ‚ตใƒผใƒใƒผๆŽฅ็ถš",
167
+ "figure-library.setting.url": "ใ‚ตใƒผใƒใƒผใ‚ขใƒ‰ใƒฌใ‚น",
168
+ "figure-library.setting.domain": "Figure ใ‚ตใƒผใƒใƒผใฎใƒ‰ใƒกใ‚คใƒณ",
169
+ "figure-library.setting.token": "ใ‚ขใ‚ฏใ‚ปใ‚นใƒˆใƒผใ‚ฏใƒณ",
170
+ "figure-library.setting.token-set": "ไฟๅญ˜ๆธˆใฟใงใ™({hint})ใ€‚ๅค‰ๆ›ดใ™ใ‚‹ใซใฏๆ–ฐใ—ใ„ใƒˆใƒผใ‚ฏใƒณใ‚’ๅ…ฅๅŠ›ใ—ใฆใใ ใ•ใ„ใ€‚",
171
+ "figure-library.setting.token-unset": "Figure ใ‚ตใƒผใƒใƒผใง็ซฏๆœซใ‚’็™ป้Œฒใ—ใ€็™บ่กŒใ•ใ‚ŒใŸใ‚ขใ‚ฏใ‚ปใ‚นใƒˆใƒผใ‚ฏใƒณใ‚’ๅ…ฅๅŠ›ใ—ใฆใใ ใ•ใ„ใ€‚",
172
+ "figure-library.setting.check": "ๆŽฅ็ถš็ขบ่ช",
173
+ "figure-library.setting.check-ok": "ๆŽฅ็ถšใ—ใพใ—ใŸใ€‚ใ‚คใƒณใ‚นใƒˆใƒผใƒซใงใใ‚‹ Figure ใฏ {count} ไปถใงใ™ใ€‚",
174
+ "figure-library.setting.saved": "ไฟๅญ˜ใ—ใพใ—ใŸใ€‚",
175
+ "error.figure-source-not-set": "Figure ใ‚ตใƒผใƒใƒผใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚่จญๅฎšใฎใ€ŒFigure ใ‚ตใƒผใƒใƒผๆŽฅ็ถšใ€ใงๅ…ฅๅŠ›ใ—ใฆใใ ใ•ใ„ใ€‚",
176
+ "error.figure-source-unreachable": "Figure ใ‚ตใƒผใƒใƒผ {host} ใซๆŽฅ็ถšใงใใพใ›ใ‚“ใ€‚",
177
+ "error.figure-source-unauthorized": "Figure ใ‚ตใƒผใƒใƒผ {host} ใงใƒˆใƒผใ‚ฏใƒณใ‚’่ช่จผใงใใพใ›ใ‚“ใงใ—ใŸใ€‚ใ‚ขใ‚ฏใ‚ปใ‚นใƒˆใƒผใ‚ฏใƒณใ‚’็ขบ่ชใ—ใฆใใ ใ•ใ„ใ€‚",
178
+ "error.figure-source-forbidden": "ใ‚ขใ‚ฏใ‚ปใ‚นใƒˆใƒผใ‚ฏใƒณใซ {host} ใฎ {domain} ใฎ็™บ่กŒๆธˆใฟ Figure ใ‚’ๅ‚็…งใ™ใ‚‹ๆจฉ้™ใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚",
179
+ "error.figure-source-failed": "Figure ใ‚ตใƒผใƒใƒผ {host} ใงใ‚จใƒฉใƒผ({status})ใŒ็™บ็”Ÿใ—ใพใ—ใŸใ€‚",
180
+ "error.figure-source-failed-message": "Figure ใ‚ตใƒผใƒใƒผ {host} ใŒ่ฆๆฑ‚ใ‚’ๆ‹’ๅฆใ—ใพใ—ใŸ: {message}",
181
+ "error.figure-source-url-invalid": "ใ‚ตใƒผใƒใƒผใ‚ขใƒ‰ใƒฌใ‚นใฏ http:// ใพใŸใฏ https:// ใงๅง‹ใพใ‚‹ Web ใ‚ขใƒ‰ใƒฌใ‚นใงใ‚ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚",
182
+ "error.figure-source-domain-invalid": "Figure ใ‚ตใƒผใƒใƒผใฎใ‚ขใƒ‰ใƒฌใ‚นใง /domain/ ใฎๅพŒใซใ‚ใ‚‹ใƒ‰ใƒกใ‚คใƒณๅใ‚’ๅ…ฅๅŠ›ใ—ใฆใใ ใ•ใ„ใ€‚",
183
+ "error.figure-source-token-invalid": "ใ‚ขใ‚ฏใ‚ปใ‚นใƒˆใƒผใ‚ฏใƒณใซ็ฉบ็™ฝใฏๅ…ฅๅŠ›ใงใใพใ›ใ‚“ใ€‚",
184
+ "error.figure-import-conflict": "ๅŒใ˜ใƒใƒผใ‚ธใƒงใƒณใŒๅˆฅใฎๅ†…ๅฎนใงๆ—ขใซ็™ป้Œฒใ•ใ‚Œใฆใ„ใ‚‹ใŸใ‚ใ€็™ป้Œฒใงใใพใ›ใ‚“ใ€‚"
153
185
  }
@@ -149,5 +149,37 @@
149
149
  "figure.text.legend-note-not-an-interval": "{key}๋Š” ๊ตฌ๊ฐ„์ด ์•„๋‹™๋‹ˆ๋‹ค.",
150
150
  "figure.text.legend-note-code-unmatched": "๊ฐ’ {value}์— ๋งž๋Š” ์ค„์ด ๋ฒ”๋ก€์— ์—†์Šต๋‹ˆ๋‹ค.",
151
151
  "figure.text.legend-note-not-a-look": "{key} ์ค„์„ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค({value}).",
152
- "figure.text.legend-note-not-taken": "{key} ์ค„์˜ {column} {value}์„(๋ฅผ) ๋ฐ›์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค."
152
+ "figure.text.legend-note-not-taken": "{key} ์ค„์˜ {column} {value}์„(๋ฅผ) ๋ฐ›์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.",
153
+ "figure-library.button.install-from-source": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„์—์„œ ์„ค์น˜",
154
+ "figure-library.button.install": "{count}๊ฐœ ์„ค์น˜",
155
+ "figure-library.button.close": "๋‹ซ๊ธฐ",
156
+ "figure-library.button.more": "๋” ๋ณด๊ธฐ",
157
+ "figure-library.label.search-source": "ํ”ผ๊ทœ์–ด ๊ฒ€์ƒ‰",
158
+ "figure-library.text.source-empty": "์„ค์น˜ํ•  ์ˆ˜ ์žˆ๋Š” ํ”ผ๊ทœ์–ด๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.",
159
+ "figure-library.text.source-version": "์ตœ์‹  ๋ฒ„์ „ {version}",
160
+ "figure-library.text.source-version-here": "์ตœ์‹  ๋ฒ„์ „ {version} ยท ์ด ์„œ๋ฒ„ ์‚ฌ์šฉ ๋ฒ„์ „ {here}",
161
+ "figure-library.source-status.not-installed": "์„ค์น˜ ์•ˆ ๋จ",
162
+ "figure-library.source-status.installed": "์„ค์น˜๋จ",
163
+ "figure-library.source-status.newer": "์ƒˆ ๋ฒ„์ „",
164
+ "figure-library.source-status.archived": "์•„์นด์ด๋ธŒ๋จ",
165
+ "figure-library.source-status.format-unsupported": "ํ˜•์‹ ๋ฏธ์ง€์›",
166
+ "figure-library.setting.title": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„ ์—ฐ๊ฒฐ",
167
+ "figure-library.setting.url": "์„œ๋ฒ„ ์ฃผ์†Œ",
168
+ "figure-library.setting.domain": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„์˜ ์‚ฌ์—…์žฅ",
169
+ "figure-library.setting.token": "์ ‘์† ํ† ํฐ",
170
+ "figure-library.setting.token-set": "์ €์žฅ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค({hint}). ๋ณ€๊ฒฝํ•˜๋ ค๋ฉด ์ƒˆ ํ† ํฐ์„ ์ž…๋ ฅํ•˜์„ธ์š”.",
171
+ "figure-library.setting.token-unset": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„์—์„œ ๋‹จ๋ง์žฅ์น˜๋ฅผ ๋“ฑ๋กํ•˜๊ณ  ๋ฐœ๊ธ‰๋ฐ›์€ access token์„ ์ž…๋ ฅํ•˜์„ธ์š”.",
172
+ "figure-library.setting.check": "์—ฐ๊ฒฐ ํ™•์ธ",
173
+ "figure-library.setting.check-ok": "์—ฐ๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์„ค์น˜ํ•  ์ˆ˜ ์žˆ๋Š” ํ”ผ๊ทœ์–ด๋Š” {count}๊ฐœ์ž…๋‹ˆ๋‹ค.",
174
+ "figure-library.setting.saved": "์ €์žฅ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.",
175
+ "error.figure-source-not-set": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„๊ฐ€ ์„ค์ •๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ์„ค์ •์˜ ใ€Œํ”ผ๊ทœ์–ด ์„œ๋ฒ„ ์—ฐ๊ฒฐใ€์—์„œ ์ž…๋ ฅํ•˜์„ธ์š”.",
176
+ "error.figure-source-unreachable": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„ {host}์— ์—ฐ๊ฒฐํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.",
177
+ "error.figure-source-unauthorized": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„ {host}์—์„œ ํ† ํฐ์„ ์ธ์ฆํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. ์ ‘์† ํ† ํฐ์„ ํ™•์ธํ•˜์„ธ์š”.",
178
+ "error.figure-source-forbidden": "์ ‘์† ํ† ํฐ์— {host}์˜ {domain} ์‚ฌ์—…์žฅ ๋ฐœํ–‰ ํ”ผ๊ทœ์–ด๋ฅผ ์กฐํšŒํ•  ๊ถŒํ•œ์ด ์—†์Šต๋‹ˆ๋‹ค.",
179
+ "error.figure-source-failed": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„ {host}์—์„œ ์˜ค๋ฅ˜({status})๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.",
180
+ "error.figure-source-failed-message": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„ {host}์—์„œ ์š”์ฒญ์„ ๊ฑฐ์ ˆํ–ˆ์Šต๋‹ˆ๋‹ค: {message}",
181
+ "error.figure-source-url-invalid": "์„œ๋ฒ„ ์ฃผ์†Œ๋Š” http:// ๋˜๋Š” https://๋กœ ์‹œ์ž‘ํ•˜๋Š” ์›น ์ฃผ์†Œ์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.",
182
+ "error.figure-source-domain-invalid": "ํ”ผ๊ทœ์–ด ์„œ๋ฒ„ ์ฃผ์†Œ์—์„œ /domain/ ๋’ค์— ์žˆ๋Š” ์‚ฌ์—…์žฅ ์ด๋ฆ„์„ ์ž…๋ ฅํ•˜์„ธ์š”.",
183
+ "error.figure-source-token-invalid": "์ ‘์† ํ† ํฐ์—๋Š” ๊ณต๋ฐฑ์„ ์ž…๋ ฅํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.",
184
+ "error.figure-import-conflict": "๊ฐ™์€ ๋ฒ„์ „์ด ๋‹ค๋ฅธ ๋‚ด์šฉ์œผ๋กœ ์ด๋ฏธ ๋“ฑ๋ก๋˜์–ด ์žˆ์–ด ๋“ฑ๋กํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค."
153
185
  }
@@ -149,5 +149,37 @@
149
149
  "figure.text.legend-note-not-an-interval": "{key} bukan julat.",
150
150
  "figure.text.legend-note-code-unmatched": "Petunjuk tiada baris bagi nilai {value}.",
151
151
  "figure.text.legend-note-not-a-look": "Baris {key} tidak dapat dibaca ({value}).",
152
- "figure.text.legend-note-not-taken": "{column} {value} pada baris {key} tidak diambil."
152
+ "figure.text.legend-note-not-taken": "{column} {value} pada baris {key} tidak diambil.",
153
+ "figure-library.button.install-from-source": "pasang dari pelayan figure",
154
+ "figure-library.button.install": "pasang {count}",
155
+ "figure-library.button.close": "tutup",
156
+ "figure-library.button.more": "lagi",
157
+ "figure-library.label.search-source": "cari figure",
158
+ "figure-library.text.source-empty": "Tiada figure untuk dipasang.",
159
+ "figure-library.text.source-version": "versi terkini {version}",
160
+ "figure-library.text.source-version-here": "versi terkini {version} ยท digunakan di sini {here}",
161
+ "figure-library.source-status.not-installed": "belum dipasang",
162
+ "figure-library.source-status.installed": "dipasang",
163
+ "figure-library.source-status.newer": "versi baharu",
164
+ "figure-library.source-status.archived": "diarkibkan",
165
+ "figure-library.source-status.format-unsupported": "format tidak disokong",
166
+ "figure-library.setting.title": "Pelayan figure",
167
+ "figure-library.setting.url": "alamat pelayan",
168
+ "figure-library.setting.domain": "domain pada pelayan figure",
169
+ "figure-library.setting.token": "token akses",
170
+ "figure-library.setting.token-set": "Disimpan ({hint}). Masukkan token baharu untuk menggantikannya.",
171
+ "figure-library.setting.token-unset": "Daftarkan peranti pada pelayan figure dan masukkan token akses yang dikeluarkan.",
172
+ "figure-library.setting.check": "semak sambungan",
173
+ "figure-library.setting.check-ok": "Disambungkan. {count} figure boleh dipasang.",
174
+ "figure-library.setting.saved": "Disimpan.",
175
+ "error.figure-source-not-set": "Tiada pelayan figure ditetapkan. Tetapkan dalam Tetapan.",
176
+ "error.figure-source-unreachable": "Tidak dapat menyambung ke pelayan figure {host}.",
177
+ "error.figure-source-unauthorized": "Pelayan figure {host} tidak menerima token. Semak token akses.",
178
+ "error.figure-source-forbidden": "Token tiada hak untuk membaca figure terbitan {domain} pada {host}.",
179
+ "error.figure-source-failed": "Pelayan figure {host} menjawab {status}.",
180
+ "error.figure-source-failed-message": "Pelayan figure {host} menolak: {message}",
181
+ "error.figure-source-url-invalid": "Alamat mesti bermula dengan http:// atau https://.",
182
+ "error.figure-source-domain-invalid": "Masukkan nama domain selepas /domain/ dalam alamat pelayan figure.",
183
+ "error.figure-source-token-invalid": "Token tidak boleh mengandungi ruang.",
184
+ "error.figure-import-conflict": "Versi yang sama sudah ada dengan kandungan lain."
153
185
  }
@@ -149,5 +149,37 @@
149
149
  "figure.text.legend-note-not-an-interval": "{key} ไธๆ˜ฏๅŒบ้—ดใ€‚",
150
150
  "figure.text.legend-note-code-unmatched": "ๅ›พไพ‹ไธญๆฒกๆœ‰ไธŽๅ€ผ {value} ๅฏนๅบ”็š„่กŒใ€‚",
151
151
  "figure.text.legend-note-not-a-look": "ๆ— ๆณ•่ฏปๅ– {key} ่กŒ๏ผˆ{value}๏ผ‰ใ€‚",
152
- "figure.text.legend-note-not-taken": "{key} ่กŒ็š„ {column} {value} ๆœช่ขซ้‡‡็”จใ€‚"
152
+ "figure.text.legend-note-not-taken": "{key} ่กŒ็š„ {column} {value} ๆœช่ขซ้‡‡็”จใ€‚",
153
+ "figure-library.button.install-from-source": "ไปŽๅ›พๅฝขๆœๅŠกๅ™จๅฎ‰่ฃ…",
154
+ "figure-library.button.install": "ๅฎ‰่ฃ… {count} ไธช",
155
+ "figure-library.button.close": "ๅ…ณ้—ญ",
156
+ "figure-library.button.more": "ๆ˜พ็คบๆ›ดๅคš",
157
+ "figure-library.label.search-source": "ๆœ็ดขๅ›พๅฝข",
158
+ "figure-library.text.source-empty": "ๆฒกๆœ‰ๅฏๅฎ‰่ฃ…็š„ๅ›พๅฝขใ€‚",
159
+ "figure-library.text.source-version": "ๆœ€ๆ–ฐ็‰ˆๆœฌ {version}",
160
+ "figure-library.text.source-version-here": "ๆœ€ๆ–ฐ็‰ˆๆœฌ {version} ยท ๆœฌๆœๅŠกๅ™จไฝฟ็”จ็‰ˆๆœฌ {here}",
161
+ "figure-library.source-status.not-installed": "ๆœชๅฎ‰่ฃ…",
162
+ "figure-library.source-status.installed": "ๅทฒๅฎ‰่ฃ…",
163
+ "figure-library.source-status.newer": "ๆœ‰ๆ–ฐ็‰ˆๆœฌ",
164
+ "figure-library.source-status.archived": "ๅทฒๅฝ’ๆกฃ",
165
+ "figure-library.source-status.format-unsupported": "ๆ ผๅผไธๅ—ๆ”ฏๆŒ",
166
+ "figure-library.setting.title": "ๅ›พๅฝขๆœๅŠกๅ™จ่ฟžๆŽฅ",
167
+ "figure-library.setting.url": "ๆœๅŠกๅ™จๅœฐๅ€",
168
+ "figure-library.setting.domain": "ๅ›พๅฝขๆœๅŠกๅ™จไธŠ็š„ๅŸŸ",
169
+ "figure-library.setting.token": "่ฎฟ้—ฎไปค็‰Œ",
170
+ "figure-library.setting.token-set": "ๅทฒไฟๅญ˜({hint})ใ€‚ๅฆ‚้œ€ๆ›ดๆ”น๏ผŒ่ฏท่พ“ๅ…ฅๆ–ฐไปค็‰Œใ€‚",
171
+ "figure-library.setting.token-unset": "่ฏทๅœจๅ›พๅฝขๆœๅŠกๅ™จไธŠๆณจๅ†Œ็ปˆ็ซฏ่ฎพๅค‡๏ผŒๅนถ่พ“ๅ…ฅๅ…ถ็ญพๅ‘็š„่ฎฟ้—ฎไปค็‰Œใ€‚",
172
+ "figure-library.setting.check": "ๆฃ€ๆŸฅ่ฟžๆŽฅ",
173
+ "figure-library.setting.check-ok": "ๅทฒ่ฟžๆŽฅใ€‚ๅฏๅฎ‰่ฃ…็š„ๅ›พๅฝขๆœ‰ {count} ไธชใ€‚",
174
+ "figure-library.setting.saved": "ๅทฒไฟๅญ˜ใ€‚",
175
+ "error.figure-source-not-set": "ๅฐšๆœช่ฎพ็ฝฎๅ›พๅฝขๆœๅŠกๅ™จใ€‚่ฏทๅœจ่ฎพ็ฝฎ็š„โ€œๅ›พๅฝขๆœๅŠกๅ™จ่ฟžๆŽฅโ€ไธญ่พ“ๅ…ฅใ€‚",
176
+ "error.figure-source-unreachable": "ๆ— ๆณ•่ฟžๆŽฅๅˆฐๅ›พๅฝขๆœๅŠกๅ™จ {host}ใ€‚",
177
+ "error.figure-source-unauthorized": "ๅ›พๅฝขๆœๅŠกๅ™จ {host} ๆœช่ƒฝ้ชŒ่ฏไปค็‰Œใ€‚่ฏทๆฃ€ๆŸฅ่ฎฟ้—ฎไปค็‰Œใ€‚",
178
+ "error.figure-source-forbidden": "่ฎฟ้—ฎไปค็‰Œๆ— ๆƒ่ฏปๅ– {host} ไธŠ {domain} ็š„ๅทฒๅ‘ๅธƒๅ›พๅฝขใ€‚",
179
+ "error.figure-source-failed": "ๅ›พๅฝขๆœๅŠกๅ™จ {host} ่ฟ”ๅ›ž้”™่ฏฏ({status})ใ€‚",
180
+ "error.figure-source-failed-message": "ๅ›พๅฝขๆœๅŠกๅ™จ {host} ๆ‹’็ปไบ†่ฏทๆฑ‚๏ผš{message}",
181
+ "error.figure-source-url-invalid": "ๆœๅŠกๅ™จๅœฐๅ€ๅฟ…้กปๆ˜ฏไปฅ http:// ๆˆ– https:// ๅผ€ๅคด็š„็ฝ‘ๅ€ใ€‚",
182
+ "error.figure-source-domain-invalid": "่ฏท่พ“ๅ…ฅๅ›พๅฝขๆœๅŠกๅ™จๅœฐๅ€ไธญ /domain/ ๅŽ้ข็š„ๅŸŸๅ็งฐใ€‚",
183
+ "error.figure-source-token-invalid": "่ฎฟ้—ฎไปค็‰Œไธ่ƒฝๅŒ…ๅซ็ฉบๆ ผใ€‚",
184
+ "error.figure-import-conflict": "็›ธๅŒ็‰ˆๆœฌๅทฒไปฅไธๅŒๅ†…ๅฎนๆณจๅ†Œ๏ผŒๆ— ๆณ•ๆณจๅ†Œใ€‚"
153
185
  }