@things-factory/figure-library 10.1.281 โ 10.1.283
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.
- package/dist-client/index.d.ts +1 -0
- package/dist-client/index.js +1 -0
- package/dist-client/pages/figure-library-page.d.ts +6 -0
- package/dist-client/pages/figure-library-page.js +42 -2
- package/dist-client/settings/figure-source-setting-let.d.ts +25 -0
- package/dist-client/settings/figure-source-setting-let.js +190 -0
- package/dist-client/viewparts/figure-import-result.d.ts +20 -0
- package/dist-client/viewparts/figure-import-result.js +50 -0
- package/dist-client/viewparts/figure-package-import.d.ts +3 -14
- package/dist-client/viewparts/figure-package-import.js +3 -28
- package/dist-client/viewparts/figure-source-install.d.ts +24 -0
- package/dist-client/viewparts/figure-source-install.js +313 -0
- package/dist-server/routers/figure-source-thumbnail-router.d.ts +5 -0
- package/dist-server/routers/figure-source-thumbnail-router.js +39 -0
- package/dist-server/routes.js +3 -0
- package/dist-server/service/figure-library-resolver.js +2 -4
- package/dist-server/service/index.d.ts +7 -2
- package/dist-server/service/index.js +6 -1
- package/dist-server/service/library/import.d.ts +2 -0
- package/dist-server/service/library/import.js +3 -0
- package/dist-server/service/source/figure-source-resolver.d.ts +57 -0
- package/dist-server/service/source/figure-source-resolver.js +287 -0
- package/dist-server/service/source/source-client.d.ts +27 -0
- package/dist-server/service/source/source-client.js +109 -0
- package/dist-server/service/source/source-install.d.ts +57 -0
- package/dist-server/service/source/source-install.js +83 -0
- package/dist-server/service/source/source-setting-rules.d.ts +39 -0
- package/dist-server/service/source/source-setting-rules.js +71 -0
- package/package.json +8 -6
- package/translations/en.json +33 -1
- package/translations/es.json +33 -1
- package/translations/ja.json +33 -1
- package/translations/ko.json +33 -1
- package/translations/ms.json +33 -1
- 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.
|
|
3
|
+
"version": "10.1.283",
|
|
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.
|
|
58
|
-
"@things-factory/auth-base": "^10.1.
|
|
59
|
-
"@things-factory/board-service": "^10.1.
|
|
58
|
+
"@things-factory/attachment-base": "^10.1.283",
|
|
59
|
+
"@things-factory/auth-base": "^10.1.283",
|
|
60
|
+
"@things-factory/board-service": "^10.1.283",
|
|
60
61
|
"@things-factory/env": "^10.1.281",
|
|
61
62
|
"@things-factory/figure-viewer": "^10.1.281",
|
|
62
|
-
"@things-factory/
|
|
63
|
+
"@things-factory/setting-base": "^10.1.283",
|
|
64
|
+
"@things-factory/shell": "^10.1.283",
|
|
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": "
|
|
72
|
+
"gitHead": "912e4835a175273005bba4a98da160906caa2b40"
|
|
71
73
|
}
|
package/translations/en.json
CHANGED
|
@@ -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
|
}
|
package/translations/es.json
CHANGED
|
@@ -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
|
}
|
package/translations/ja.json
CHANGED
|
@@ -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
|
}
|
package/translations/ko.json
CHANGED
|
@@ -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
|
}
|
package/translations/ms.json
CHANGED
|
@@ -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
|
}
|
package/translations/zh.json
CHANGED
|
@@ -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
|
}
|