@things-factory/figure-viewer 10.1.246 → 10.1.253

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 (39) hide show
  1. package/client/data-connection.ts +82 -0
  2. package/client/data-words.ts +31 -0
  3. package/client/figure-asset-viewer.ts +124 -10
  4. package/client/figure-data-list.ts +87 -0
  5. package/client/figure-data-report.ts +142 -0
  6. package/client/index.ts +5 -0
  7. package/client/unit-words.ts +11 -0
  8. package/dist-client/data-connection.d.ts +32 -0
  9. package/dist-client/data-connection.js +49 -0
  10. package/dist-client/data-connection.js.map +1 -0
  11. package/dist-client/data-words.d.ts +9 -0
  12. package/dist-client/data-words.js +25 -0
  13. package/dist-client/data-words.js.map +1 -0
  14. package/dist-client/figure-asset-viewer.d.ts +13 -3
  15. package/dist-client/figure-asset-viewer.js +115 -7
  16. package/dist-client/figure-asset-viewer.js.map +1 -1
  17. package/dist-client/figure-data-list.d.ts +25 -0
  18. package/dist-client/figure-data-list.js +88 -0
  19. package/dist-client/figure-data-list.js.map +1 -0
  20. package/dist-client/figure-data-report.d.ts +59 -0
  21. package/dist-client/figure-data-report.js +96 -0
  22. package/dist-client/figure-data-report.js.map +1 -0
  23. package/dist-client/index.d.ts +5 -0
  24. package/dist-client/index.js +5 -0
  25. package/dist-client/index.js.map +1 -1
  26. package/dist-client/tsconfig.tsbuildinfo +1 -1
  27. package/dist-client/unit-words.d.ts +5 -0
  28. package/dist-client/unit-words.js +12 -0
  29. package/dist-client/unit-words.js.map +1 -0
  30. package/package.json +4 -4
  31. package/test/data-connection.test.ts +35 -0
  32. package/test/detail-motion.test.ts +3 -1
  33. package/test/figure-data-report.test.ts +88 -0
  34. package/translations/en.json +68 -1
  35. package/translations/es.json +68 -1
  36. package/translations/ja.json +68 -1
  37. package/translations/ko.json +68 -1
  38. package/translations/ms.json +68 -1
  39. package/translations/zh.json +68 -1
@@ -0,0 +1,5 @@
1
+ /**
2
+ * A unit as the screen names it: the graph's codes (deg, percent, count …) are not words a person reads, and a unit
3
+ * typed by the author (rpm) stays as typed (sweep 2026-10-27 U9).
4
+ */
5
+ export declare function unitWord(unit: string | undefined): string;
@@ -0,0 +1,12 @@
1
+ import { i18next } from '@operato/i18n';
2
+ /**
3
+ * A unit as the screen names it: the graph's codes (deg, percent, count …) are not words a person reads, and a unit
4
+ * typed by the author (rpm) stays as typed (sweep 2026-10-27 U9).
5
+ */
6
+ export function unitWord(unit) {
7
+ if (!unit)
8
+ return '';
9
+ const key = `figure.label.unit-${unit}`;
10
+ return i18next.exists(key) ? i18next.t(key) : unit;
11
+ }
12
+ //# sourceMappingURL=unit-words.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unit-words.js","sourceRoot":"","sources":["../client/unit-words.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC;;;GAGG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAwB;IAC/C,IAAI,CAAC,IAAI;QAAE,OAAO,EAAE,CAAA;IACpB,MAAM,GAAG,GAAG,qBAAqB,IAAI,EAAE,CAAA;IACvC,OAAO,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;AACpD,CAAC","sourcesContent":["import { i18next } from '@operato/i18n'\n\n/**\n * A unit as the screen names it: the graph's codes (deg, percent, count …) are not words a person reads, and a unit\n * typed by the author (rpm) stays as typed (sweep 2026-10-27 U9).\n */\nexport function unitWord(unit: string | undefined): string {\n if (!unit) return ''\n const key = `figure.label.unit-${unit}`\n return i18next.exists(key) ? i18next.t(key) : unit\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/figure-viewer",
3
- "version": "10.1.246",
3
+ "version": "10.1.253",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -27,13 +27,13 @@
27
27
  "test": "FIGURE_FREEZE_COMPILED=1 node --import ./test/resolve-ts-siblings.mjs --test test/*.test.ts"
28
28
  },
29
29
  "dependencies": {
30
- "@hatiolab/figure-model": "^0.12.2",
31
- "@hatiolab/things-scene": "^10.1.109",
30
+ "@hatiolab/figure-model": "^0.12.3",
31
+ "@hatiolab/things-scene": "^10.1.110",
32
32
  "@material/web": "^2.0.0",
33
33
  "@operato/i18n": "^10.0.0",
34
34
  "@operato/styles": "^10.0.0",
35
35
  "@things-factory/styles": "^10.1.123",
36
36
  "lit": "^3.1.2"
37
37
  },
38
- "gitHead": "46c0d3c93edf765cc1f13040b1f9d03fd1d9e60b"
38
+ "gitHead": "e3d26f853d258ada1a2e77c7f533cc8f5b2528fb"
39
39
  }
@@ -0,0 +1,35 @@
1
+ /*
2
+ * A figure's connections as every screen reads them (the modeller's 「연결」, the preview's 「데이터」, the board's
3
+ * 「피규어 데이터」): the field, what it moves by the name a person knows it by, and how.
4
+ */
5
+ import { test } from 'node:test'
6
+ import assert from 'node:assert/strict'
7
+
8
+ import { robotDogFigure } from '@hatiolab/figure-model'
9
+ import { dataConnectionsOf, dataMoveOf, methodOf } from '../client/data-connection.ts'
10
+
11
+ const DOG = robotDogFigure().asset
12
+
13
+ test('each connection: its field, what it moves by name, how, and an items list by the part of an item each field says', () => {
14
+ const at = (id: string) => dataConnectionsOf(DOG).find(c => c.id === id)!
15
+ assert.deepEqual(dataConnectionsOf(DOG).map(c => c.id), DOG.dataInterface!.bindings.map(b => b.id))
16
+ /* A motion group by its label, not its id. */
17
+ assert.deepEqual([at('mode-locomotion').field, at('mode-locomotion').move, at('mode-locomotion').method], ['mode', { kind: 'motion-clip', name: '보행' }, 'value'])
18
+ assert.equal(at('mode-locomotion').node?.kind, 'text')
19
+ /* A table by its label and its targets. */
20
+ assert.deepEqual([at('body-status').field, at('body-status').move, at('body-status').method], ['몸체 상태', { kind: 'table', name: 'body' }, 'code'])
21
+ assert.deepEqual(at('facing').move, { kind: 'pose', name: 'heading' })
22
+ /* The items go into the places by their layout's label; each element field says its part of an item. */
23
+ assert.deepEqual(at('back-load').move, { kind: 'items', name: DOG.document.capabilities.slotLayout!.label })
24
+ assert.deepEqual(at('back-load').itemFields, { id: 'id', place: 'slot' })
25
+ assert.equal(at('mode-locomotion').itemFields, undefined)
26
+ })
27
+
28
+ test('a control by its label, else its id; a figure with no data has no connections', () => {
29
+ const named = { ...DOG, stateInputs: { head: { label: '머리 각도' } } } as typeof DOG
30
+ assert.deepEqual(dataMoveOf(named, { kind: 'state', input: 'head', sourceMode: 'observed' }), { kind: 'state', name: '머리 각도' })
31
+ assert.deepEqual(dataMoveOf(DOG, { kind: 'state', input: 'head', sourceMode: 'observed' }), { kind: 'state', name: 'head' })
32
+ assert.equal(methodOf({ id: 't', accessor: 'v', rule: 'table', lookup: 'ranges', targets: {}, table: {} }), 'ranges')
33
+ const { dataInterface: _gone, ...bare } = DOG
34
+ assert.deepEqual(dataConnectionsOf(bare as typeof DOG), [])
35
+ })
@@ -104,5 +104,7 @@ test('every clip that moves an input is named, and the motion tab plays clips on
104
104
  const motion = viewer.slice(viewer.indexOf(' private renderMotion('), viewer.indexOf('\n }\n', viewer.indexOf(' private renderMotion(')))
105
105
  const inputRows = motion.slice(0, motion.indexOf('</section>'))
106
106
  assert.ok(!inputRows.includes('playButton'), 'an input row has no play mark')
107
- assert.match(motion, /clips\.map\(name => html`<div slide clip><span title=\$\{name\}>\$\{name\}<\/span>\$\{this\.playButton\(name\)\}<\/div>`\)/)
107
+ /* Free clips and each motion group's play on clip rows, the play mark at the row's end. */
108
+ assert.equal(motion.match(/this\.clipRow\(name\)/g)?.length, 2)
109
+ assert.match(viewer, /private clipRow\(name: string\) \{\n return html`<div slide clip><span title=\$\{name\}>\$\{name\}<\/span>\$\{this\.playButton\(name\)\}<\/div>`/)
108
110
  })
@@ -0,0 +1,88 @@
1
+ /*
2
+ * A figure's data list (data binding design, decision 3): what it shows of a placed figure, from the values and sources
3
+ * things-scene's figure inputs worked out -- given in here as the inputs would give them -- and of a release in the
4
+ * preview, with no data given.
5
+ */
6
+ import { test } from 'node:test'
7
+ import assert from 'node:assert/strict'
8
+ import { readFileSync } from 'node:fs'
9
+ import { fileURLToPath } from 'node:url'
10
+
11
+ import { figureDataExample, robotDogFigure } from '@hatiolab/figure-model'
12
+ import { figureDataReportOf } from '../client/figure-data-report.ts'
13
+
14
+ const DOG = robotDogFigure().asset
15
+ const read = (path: string) => readFileSync(fileURLToPath(new URL(path, import.meta.url)), 'utf8')
16
+
17
+ test('each value with where it came from and what it moves; a control the board holds; a list counted; fields the shape does not name', () => {
18
+ const report = figureDataReportOf({
19
+ asset: DOG,
20
+ data: { mode: 'run', extra: 1, position: { x: 500, y: 9 }, load: [{ id: 'B1', slot: 't1_s1', weight: 3 }, { id: 'B2' }] },
21
+ parameters: { head: 10 },
22
+ values: { 'mode-locomotion': { value: 'run', source: 'live' }, 'cadence-locomotion': { value: 1, source: 'default' }, 'head-angle': { value: 0, source: 'default' }, 'at-z': { value: undefined, source: 'absent' } },
23
+ refused: []
24
+ })!
25
+ const row = (path: string) => report.rows.find(r => r.path === path)!
26
+ assert.deepEqual(report.rows.map(r => `${' '.repeat(r.depth)}${r.path}`), ['mode', 'cadence', 'headAngle', 'batteryLow', 'status', 'position', ' position.x', ' position.z', 'heading', 'load', ' load[].id', ' load[].slot'])
27
+ assert.deepEqual([row('mode').value, row('mode').source, row('mode').behaviors], ['run', 'live', [{ kind: 'motion-clip', group: 'locomotion' }]])
28
+ assert.deepEqual([row('cadence').value, row('cadence').source], [1, 'default'])
29
+ /* A table moves its targets: the site's status shows on the body (ADR-0166). */
30
+ assert.deepEqual(row('status').behaviors, [{ kind: 'table', targets: { parts: ['body'] } }])
31
+ assert.deepEqual([row('position.z').value, row('position.z').source], [undefined, 'absent'])
32
+ /* The board's own state value for the head holds it: the data's head angle does not move it. */
33
+ assert.deepEqual(row('headAngle').heldByBoard, ['head'])
34
+ assert.deepEqual(row('mode').heldByBoard, [])
35
+ assert.equal(row('load').count, 2)
36
+ assert.equal(row('load[].id').value, undefined, 'an item field has no one value')
37
+ /* An item's field says its part of the item; the list's own row says the items go into the places. */
38
+ assert.deepEqual([row('load[].id').itemField, row('load[].id').behaviors], ['id', []])
39
+ assert.deepEqual([row('load[].slot').itemField, row('load').itemField], ['place', undefined])
40
+ assert.deepEqual(row('load').behaviors.map(b => b.kind), ['items'])
41
+ assert.deepEqual(report.unused.sort(), ['extra', 'load[].weight', 'position.y'])
42
+ assert.deepEqual(report.example, figureDataExample(DOG.dataInterface!))
43
+ })
44
+
45
+ test('a release with no data given: every field says its kind, nothing is read', () => {
46
+ const report = figureDataReportOf({ asset: DOG, data: {}, values: {}, refused: [] })!
47
+ assert.ok(report.rows.length > 0)
48
+ assert.ok(report.rows.every(r => r.value === undefined && r.source === undefined && r.count === undefined && !r.heldByBoard.length))
49
+ assert.deepEqual(report.rows.find(r => r.path === 'mode')!.behaviors, [{ kind: 'motion-clip', group: 'locomotion' }])
50
+ assert.deepEqual(report.unused, [])
51
+ })
52
+
53
+ test('the refusals are given back as they are; a figure with no data shape has no section', () => {
54
+ const refused = [{ source: 'live', reason: 'data-values-refused', issues: [{ reason: 'out-of-range' as const, path: 'headAngle', value: 90 }] }]
55
+ assert.deepEqual(figureDataReportOf({ asset: DOG, data: { headAngle: 90 }, values: {}, refused })!.refused, refused)
56
+ const { dataInterface: _gone, ...bare } = DOG
57
+ assert.equal(figureDataReportOf({ asset: bare as typeof DOG, data: {}, values: {}, refused: [] }), null)
58
+ })
59
+
60
+ test('the preview: the data tab lists the connections, the size and motion tabs name the board properties, in every language', () => {
61
+ const viewer = read('../client/figure-asset-viewer.ts')
62
+ assert.match(viewer, /FIGURE_VIEWER_TABS: readonly FigureViewerTab\[\] = \['info', 'size', 'motion', 'data'\]/)
63
+ /* The connections and an example, from the asset; the board properties from the instance, as the board's panel reads them. */
64
+ assert.match(viewer, /const connections = dataConnectionsOf\(asset\)/)
65
+ assert.match(viewer, /figureDataExample\(asset\.dataInterface!\)/)
66
+ assert.match(viewer, /this\.exposed = this\.scene\.root\?\.components\?\.\[0\]\?\.nature\?\.properties \?\? \[\]/)
67
+ assert.match(viewer, /const DESIGN_KEYS = \['designInputs', 'slotLayout'\]/)
68
+ for (const key of ['parameters', 'clips', 'motion']) assert.match(viewer, new RegExp(`heading\\('${key}'\\)`))
69
+ for (const lang of ['ko', 'en', 'ja', 'zh', 'ms', 'es']) {
70
+ const table = JSON.parse(read(`../translations/${lang}.json`))
71
+ for (const key of [
72
+ 'figure.label.detail-tab-data',
73
+ 'figure.text.detail-no-data',
74
+ 'figure.label.detail-example',
75
+ 'figure.label.data-bindings',
76
+ 'figure.text.board-data-none',
77
+ ...['design-inputs', 'state-values', 'clip-speeds', 'motion-groups', 'slot-layout'].map(k => `label.${k}`),
78
+ ...['live', 'manual', 'default', 'absent'].map(k => `figure.label.board-data-source-${k}`),
79
+ ...['number', 'boolean', 'text', 'object', 'list'].map(k => `figure.label.data-kind-${k}`),
80
+ ...['state', 'palette', 'motion-clip', 'motion-speed', 'motion-paused', 'pose', 'items'].map(k => `figure.label.data-behavior-${k}`),
81
+ ...['x', 'y', 'z', 'heading'].map(k => `figure.label.data-axis-${k}`),
82
+ ...['value', 'scale', 'code', 'ranges'].map(k => `figure.label.data-method-${k}`),
83
+ ...['id', 'type', 'place', 'stack', 'status'].map(k => `figure.label.data-item-${k}`),
84
+ ...['not-a-record', 'not-a-list', 'type-mismatch', 'out-of-range', 'value-unknown', 'json-unreadable', 'item-id-missing'].map(k => `figure.text.board-data-value-${k}`)
85
+ ])
86
+ assert.ok(table[key], `${lang}: ${key}`)
87
+ }
88
+ })
@@ -35,5 +35,72 @@
35
35
  "figure.text.detail-thumbnail-saved": "saved as the thumbnail",
36
36
  "figure.text.not-measured-yet": "not measured",
37
37
  "figure.text.place-accepts": "accepts {accepts}",
38
- "figure.text.place-accepts-any": "accepts any item"
38
+ "figure.text.place-accepts-any": "accepts any item",
39
+ "figure.text.board-data-none": "This figure has no data shape, or more than one is selected.",
40
+ "figure.label.board-data-source-live": "data",
41
+ "figure.label.board-data-source-manual": "saved",
42
+ "figure.label.board-data-source-default": "default",
43
+ "figure.label.board-data-source-absent": "none",
44
+ "figure.label.board-data-true": "true",
45
+ "figure.label.board-data-false": "false",
46
+ "figure.label.board-data-count": "{count}",
47
+ "figure.text.board-data-held": "The board's state values set {controls}, so this data does not move it.",
48
+ "figure.text.board-data-refused": "Something given was refused: {reason}",
49
+ "figure.text.board-data-unused": "Not in the data shape, so not used: {fields}",
50
+ "figure.button.board-data-copy-example": "copy an example",
51
+ "figure.button.board-data-copied": "copied",
52
+ "figure.text.board-data-value-not-a-record": "{path}: not an object.",
53
+ "figure.text.board-data-value-not-a-list": "{path}: not a list.",
54
+ "figure.text.board-data-value-type-mismatch": "{path}: the value is of the wrong kind.",
55
+ "figure.text.board-data-value-out-of-range": "{path}: outside its range.",
56
+ "figure.text.board-data-value-value-unknown": "{path}: not one of its values.",
57
+ "figure.text.board-data-value-json-unreadable": "{path}: the JSON text cannot be read.",
58
+ "figure.text.board-data-value-item-id-missing": "{path}: the item has no id.",
59
+ "figure.label.detail-tab-data": "Data",
60
+ "figure.text.detail-no-data": "No connections are declared.",
61
+ "figure.label.data-bindings": "bindings",
62
+ "figure.label.data-behavior-state": "control {name}",
63
+ "figure.label.data-behavior-palette": "colour {name}",
64
+ "figure.label.data-behavior-motion-clip": "{name} clip",
65
+ "figure.label.data-behavior-motion-speed": "{name} speed",
66
+ "figure.label.data-behavior-motion-paused": "{name} paused",
67
+ "figure.label.data-behavior-pose": "position {name}",
68
+ "figure.label.data-behavior-items": "items {name}",
69
+ "figure.label.data-axis-x": "X",
70
+ "figure.label.data-axis-y": "height (Y)",
71
+ "figure.label.data-axis-z": "Z",
72
+ "figure.label.data-axis-heading": "heading",
73
+ "figure.label.data-method-code": "Code table",
74
+ "figure.label.data-method-ranges": "Range table",
75
+ "figure.label.data-method-scale": "Scaled",
76
+ "figure.label.data-method-value": "As it is",
77
+ "figure.label.detail-tab-properties": "Properties",
78
+ "figure.label.detail-example": "Example data",
79
+ "figure.text.detail-no-properties": "No properties a board sets.",
80
+ "label.design-inputs": "design values",
81
+ "label.state-values": "state values",
82
+ "label.clip-speeds": "clip speeds",
83
+ "label.motion-groups": "motion groups",
84
+ "label.slot-layout": "Slot layout",
85
+ "figure.label.data-item-id": "item id",
86
+ "figure.label.data-item-type": "item type",
87
+ "figure.label.data-item-place": "place",
88
+ "figure.label.data-item-stack": "stack order",
89
+ "figure.label.data-item-status": "status",
90
+ "figure.label.unit-none": "no unit",
91
+ "figure.label.unit-type-it": "type it…",
92
+ "figure.label.unit-mm": "mm",
93
+ "figure.label.unit-cm": "cm",
94
+ "figure.label.unit-m": "m",
95
+ "figure.label.unit-rad": "radians",
96
+ "figure.label.unit-deg": "degrees",
97
+ "figure.label.unit-s": "seconds",
98
+ "figure.label.unit-ratio": "ratio",
99
+ "figure.label.unit-percent": "%",
100
+ "figure.label.unit-count": "count",
101
+ "figure.label.data-kind-number": "number",
102
+ "figure.label.data-kind-boolean": "true/false",
103
+ "figure.label.data-kind-text": "text",
104
+ "figure.label.data-kind-object": "object",
105
+ "figure.label.data-kind-list": "list"
39
106
  }
@@ -35,5 +35,72 @@
35
35
  "figure.text.detail-thumbnail-saved": "guardada como miniatura",
36
36
  "figure.text.not-measured-yet": "no medido",
37
37
  "figure.text.place-accepts": "acepta {accepts}",
38
- "figure.text.place-accepts-any": "acepta cualquier artículo"
38
+ "figure.text.place-accepts-any": "acepta cualquier artículo",
39
+ "figure.text.board-data-none": "Esta figura no tiene forma de datos, o hay más de una seleccionada.",
40
+ "figure.label.board-data-source-live": "datos",
41
+ "figure.label.board-data-source-manual": "guardado",
42
+ "figure.label.board-data-source-default": "predeterminado",
43
+ "figure.label.board-data-source-absent": "ninguno",
44
+ "figure.label.board-data-true": "verdadero",
45
+ "figure.label.board-data-false": "falso",
46
+ "figure.label.board-data-count": "{count}",
47
+ "figure.text.board-data-held": "Los valores de estado del tablero fijan {controls}, así que estos datos no lo mueven.",
48
+ "figure.text.board-data-refused": "Algo se rechazó: {reason}",
49
+ "figure.text.board-data-unused": "No están en la forma de datos, así que no se usan: {fields}",
50
+ "figure.button.board-data-copy-example": "copiar un ejemplo",
51
+ "figure.button.board-data-copied": "copiado",
52
+ "figure.text.board-data-value-not-a-record": "{path}: no es un objeto.",
53
+ "figure.text.board-data-value-not-a-list": "{path}: no es una lista.",
54
+ "figure.text.board-data-value-type-mismatch": "{path}: el valor es de otro tipo.",
55
+ "figure.text.board-data-value-out-of-range": "{path}: fuera de su rango.",
56
+ "figure.text.board-data-value-value-unknown": "{path}: no es uno de sus valores.",
57
+ "figure.text.board-data-value-json-unreadable": "{path}: no se puede leer el texto JSON.",
58
+ "figure.text.board-data-value-item-id-missing": "{path}: el artículo no tiene id.",
59
+ "figure.label.detail-tab-data": "Datos",
60
+ "figure.text.detail-no-data": "No hay conexiones registradas.",
61
+ "figure.label.data-bindings": "vínculos",
62
+ "figure.label.data-behavior-state": "control {name}",
63
+ "figure.label.data-behavior-palette": "color {name}",
64
+ "figure.label.data-behavior-motion-clip": "clip de {name}",
65
+ "figure.label.data-behavior-motion-speed": "velocidad de {name}",
66
+ "figure.label.data-behavior-motion-paused": "{name} en pausa",
67
+ "figure.label.data-behavior-pose": "posición {name}",
68
+ "figure.label.data-behavior-items": "artículos {name}",
69
+ "figure.label.data-axis-x": "X",
70
+ "figure.label.data-axis-y": "altura (Y)",
71
+ "figure.label.data-axis-z": "Z",
72
+ "figure.label.data-axis-heading": "orientación",
73
+ "figure.label.data-method-code": "Tabla de códigos",
74
+ "figure.label.data-method-ranges": "Tabla de rangos",
75
+ "figure.label.data-method-scale": "Escalado",
76
+ "figure.label.data-method-value": "Tal cual",
77
+ "figure.label.detail-tab-properties": "Propiedades",
78
+ "figure.label.detail-example": "Datos de ejemplo",
79
+ "figure.text.detail-no-properties": "No hay propiedades que fije el tablero.",
80
+ "label.design-inputs": "valores de diseño",
81
+ "label.state-values": "valores de estado",
82
+ "label.clip-speeds": "velocidades de los clips",
83
+ "label.motion-groups": "grupos de movimiento",
84
+ "label.slot-layout": "Disposición de posiciones",
85
+ "figure.label.data-item-id": "id del artículo",
86
+ "figure.label.data-item-type": "tipo de artículo",
87
+ "figure.label.data-item-place": "lugar",
88
+ "figure.label.data-item-stack": "orden en la pila",
89
+ "figure.label.data-item-status": "estado",
90
+ "figure.label.unit-none": "sin unidad",
91
+ "figure.label.unit-type-it": "escribirla…",
92
+ "figure.label.unit-mm": "mm",
93
+ "figure.label.unit-cm": "cm",
94
+ "figure.label.unit-m": "m",
95
+ "figure.label.unit-rad": "radianes",
96
+ "figure.label.unit-deg": "grados",
97
+ "figure.label.unit-s": "segundos",
98
+ "figure.label.unit-ratio": "proporción",
99
+ "figure.label.unit-percent": "%",
100
+ "figure.label.unit-count": "unidades",
101
+ "figure.label.data-kind-number": "número",
102
+ "figure.label.data-kind-boolean": "verdadero/falso",
103
+ "figure.label.data-kind-text": "texto",
104
+ "figure.label.data-kind-object": "objeto",
105
+ "figure.label.data-kind-list": "lista"
39
106
  }
@@ -35,5 +35,72 @@
35
35
  "figure.text.detail-thumbnail-saved": "サムネイルに保存しました",
36
36
  "figure.text.not-measured-yet": "not measured",
37
37
  "figure.text.place-accepts": "受け入れ {accepts}",
38
- "figure.text.place-accepts-any": "受け取るもの すべてのアイテム"
38
+ "figure.text.place-accepts-any": "受け取るもの すべてのアイテム",
39
+ "figure.text.board-data-none": "このFigureにはデータ形式がありません。1つだけ選ぶと表示されます。",
40
+ "figure.label.board-data-source-live": "データ",
41
+ "figure.label.board-data-source-manual": "保存値",
42
+ "figure.label.board-data-source-default": "既定値",
43
+ "figure.label.board-data-source-absent": "なし",
44
+ "figure.label.board-data-true": "真",
45
+ "figure.label.board-data-false": "偽",
46
+ "figure.label.board-data-count": "{count}件",
47
+ "figure.text.board-data-held": "ボードの状態値が {controls} を決めているため、このデータでは動きません。",
48
+ "figure.text.board-data-refused": "受け取らなかった値があります: {reason}",
49
+ "figure.text.board-data-unused": "データ形式にないフィールドのため使いません: {fields}",
50
+ "figure.button.board-data-copy-example": "例をコピー",
51
+ "figure.button.board-data-copied": "コピーしました",
52
+ "figure.text.board-data-value-not-a-record": "{path}: オブジェクトではありません。",
53
+ "figure.text.board-data-value-not-a-list": "{path}: リストではありません。",
54
+ "figure.text.board-data-value-type-mismatch": "{path}: 値の種類が合いません。",
55
+ "figure.text.board-data-value-out-of-range": "{path}: 範囲外です。",
56
+ "figure.text.board-data-value-value-unknown": "{path}: 値の一覧にない値です。",
57
+ "figure.text.board-data-value-json-unreadable": "{path}: JSON文字列を読めません。",
58
+ "figure.text.board-data-value-item-id-missing": "{path}: アイテムIDがありません。",
59
+ "figure.label.detail-tab-data": "データ",
60
+ "figure.text.detail-no-data": "登録された接続はありません。",
61
+ "figure.label.data-bindings": "連結",
62
+ "figure.label.data-behavior-state": "操作値 {name}",
63
+ "figure.label.data-behavior-palette": "色 {name}",
64
+ "figure.label.data-behavior-motion-clip": "{name} クリップ",
65
+ "figure.label.data-behavior-motion-speed": "{name} 倍速",
66
+ "figure.label.data-behavior-motion-paused": "{name} 一時停止",
67
+ "figure.label.data-behavior-pose": "位置 {name}",
68
+ "figure.label.data-behavior-items": "アイテム {name}",
69
+ "figure.label.data-axis-x": "X",
70
+ "figure.label.data-axis-y": "高さ(Y)",
71
+ "figure.label.data-axis-z": "Z",
72
+ "figure.label.data-axis-heading": "向き",
73
+ "figure.label.data-method-code": "コード表",
74
+ "figure.label.data-method-ranges": "区間表",
75
+ "figure.label.data-method-scale": "倍率",
76
+ "figure.label.data-method-value": "そのまま",
77
+ "figure.label.detail-tab-properties": "プロパティ",
78
+ "figure.label.detail-example": "データ例",
79
+ "figure.text.detail-no-properties": "ボードで設定するプロパティはありません。",
80
+ "label.design-inputs": "設計値",
81
+ "label.state-values": "状態値",
82
+ "label.clip-speeds": "クリップ速度",
83
+ "label.motion-groups": "モーショングループ",
84
+ "label.slot-layout": "位置の配置",
85
+ "figure.label.data-item-id": "アイテムID",
86
+ "figure.label.data-item-type": "アイテムタイプ",
87
+ "figure.label.data-item-place": "位置",
88
+ "figure.label.data-item-stack": "積み順",
89
+ "figure.label.data-item-status": "状態",
90
+ "figure.label.unit-none": "単位なし",
91
+ "figure.label.unit-type-it": "直接入力…",
92
+ "figure.label.unit-mm": "mm",
93
+ "figure.label.unit-cm": "cm",
94
+ "figure.label.unit-m": "m",
95
+ "figure.label.unit-rad": "ラジアン",
96
+ "figure.label.unit-deg": "度",
97
+ "figure.label.unit-s": "秒",
98
+ "figure.label.unit-ratio": "比率",
99
+ "figure.label.unit-percent": "%",
100
+ "figure.label.unit-count": "個",
101
+ "figure.label.data-kind-number": "数値",
102
+ "figure.label.data-kind-boolean": "真偽",
103
+ "figure.label.data-kind-text": "文字",
104
+ "figure.label.data-kind-object": "オブジェクト",
105
+ "figure.label.data-kind-list": "リスト"
39
106
  }
@@ -35,5 +35,72 @@
35
35
  "figure.text.detail-thumbnail-saved": "썸네일로 저장했습니다",
36
36
  "figure.text.not-measured-yet": "미측정",
37
37
  "figure.text.place-accepts": "받는 것 {accepts}",
38
- "figure.text.place-accepts-any": "받는 것 모든 아이템"
38
+ "figure.text.place-accepts-any": "받는 것 모든 아이템",
39
+ "figure.text.board-data-none": "이 피규어는 데이터 형식이 없습니다. 하나만 고르면 보입니다.",
40
+ "figure.label.board-data-source-live": "데이터",
41
+ "figure.label.board-data-source-manual": "저장값",
42
+ "figure.label.board-data-source-default": "기본값",
43
+ "figure.label.board-data-source-absent": "없음",
44
+ "figure.label.board-data-true": "참",
45
+ "figure.label.board-data-false": "거짓",
46
+ "figure.label.board-data-count": "{count}개",
47
+ "figure.text.board-data-held": "보드의 상태값이 {controls}를 정하고 있어 이 데이터로는 움직이지 않습니다.",
48
+ "figure.text.board-data-refused": "받지 않은 값이 있습니다: {reason}",
49
+ "figure.text.board-data-unused": "데이터 형식에 없는 필드라 쓰지 않습니다: {fields}",
50
+ "figure.button.board-data-copy-example": "예제 복사",
51
+ "figure.button.board-data-copied": "복사했습니다",
52
+ "figure.text.board-data-value-not-a-record": "{path}: 객체가 아닙니다.",
53
+ "figure.text.board-data-value-not-a-list": "{path}: 목록이 아닙니다.",
54
+ "figure.text.board-data-value-type-mismatch": "{path}: 값 종류가 맞지 않습니다.",
55
+ "figure.text.board-data-value-out-of-range": "{path}: 범위를 벗어났습니다.",
56
+ "figure.text.board-data-value-value-unknown": "{path}: 값 목록에 없는 값입니다.",
57
+ "figure.text.board-data-value-json-unreadable": "{path}: JSON 글자를 읽을 수 없습니다.",
58
+ "figure.text.board-data-value-item-id-missing": "{path}: 아이템 ID가 없습니다.",
59
+ "figure.label.detail-tab-data": "데이터",
60
+ "figure.text.detail-no-data": "등록된 연결이 없습니다.",
61
+ "figure.label.data-bindings": "연결",
62
+ "figure.label.data-behavior-state": "조작값 {name}",
63
+ "figure.label.data-behavior-palette": "색 {name}",
64
+ "figure.label.data-behavior-motion-clip": "{name} 클립",
65
+ "figure.label.data-behavior-motion-speed": "{name} 배속",
66
+ "figure.label.data-behavior-motion-paused": "{name} 멈춤",
67
+ "figure.label.data-behavior-pose": "위치 {name}",
68
+ "figure.label.data-behavior-items": "아이템 {name}",
69
+ "figure.label.data-axis-x": "X",
70
+ "figure.label.data-axis-y": "높이(Y)",
71
+ "figure.label.data-axis-z": "Z",
72
+ "figure.label.data-axis-heading": "방향",
73
+ "figure.label.data-method-code": "코드 표",
74
+ "figure.label.data-method-ranges": "구간 표",
75
+ "figure.label.data-method-scale": "배율",
76
+ "figure.label.data-method-value": "그대로",
77
+ "figure.label.detail-tab-properties": "속성",
78
+ "figure.label.detail-example": "예제 데이터",
79
+ "figure.text.detail-no-properties": "보드에서 정하는 속성이 없습니다.",
80
+ "label.design-inputs": "설계값",
81
+ "label.state-values": "상태값",
82
+ "label.clip-speeds": "애니메이션 속도",
83
+ "label.motion-groups": "동작 그룹",
84
+ "label.slot-layout": "자리 배치",
85
+ "figure.label.data-item-id": "아이템 ID",
86
+ "figure.label.data-item-type": "아이템 타입",
87
+ "figure.label.data-item-place": "자리",
88
+ "figure.label.data-item-stack": "쌓인 순서",
89
+ "figure.label.data-item-status": "상태",
90
+ "figure.label.unit-none": "단위 없음",
91
+ "figure.label.unit-type-it": "직접 적기…",
92
+ "figure.label.unit-mm": "mm",
93
+ "figure.label.unit-cm": "cm",
94
+ "figure.label.unit-m": "m",
95
+ "figure.label.unit-rad": "라디안",
96
+ "figure.label.unit-deg": "도",
97
+ "figure.label.unit-s": "초",
98
+ "figure.label.unit-ratio": "비율",
99
+ "figure.label.unit-percent": "%",
100
+ "figure.label.unit-count": "개",
101
+ "figure.label.data-kind-number": "숫자",
102
+ "figure.label.data-kind-boolean": "참/거짓",
103
+ "figure.label.data-kind-text": "글자",
104
+ "figure.label.data-kind-object": "객체",
105
+ "figure.label.data-kind-list": "목록"
39
106
  }
@@ -35,5 +35,72 @@
35
35
  "figure.text.detail-thumbnail-saved": "disimpan sebagai lakaran kecil",
36
36
  "figure.text.not-measured-yet": "not measured",
37
37
  "figure.text.place-accepts": "menerima {accepts}",
38
- "figure.text.place-accepts-any": "menerima sebarang item"
38
+ "figure.text.place-accepts-any": "menerima sebarang item",
39
+ "figure.text.board-data-none": "Figure ini tiada bentuk data, atau lebih daripada satu dipilih.",
40
+ "figure.label.board-data-source-live": "data",
41
+ "figure.label.board-data-source-manual": "disimpan",
42
+ "figure.label.board-data-source-default": "lalai",
43
+ "figure.label.board-data-source-absent": "tiada",
44
+ "figure.label.board-data-true": "benar",
45
+ "figure.label.board-data-false": "palsu",
46
+ "figure.label.board-data-count": "{count}",
47
+ "figure.text.board-data-held": "Nilai keadaan papan menetapkan {controls}, jadi data ini tidak menggerakkannya.",
48
+ "figure.text.board-data-refused": "Ada yang ditolak: {reason}",
49
+ "figure.text.board-data-unused": "Tiada dalam bentuk data, jadi tidak digunakan: {fields}",
50
+ "figure.button.board-data-copy-example": "salin contoh",
51
+ "figure.button.board-data-copied": "disalin",
52
+ "figure.text.board-data-value-not-a-record": "{path}: bukan objek.",
53
+ "figure.text.board-data-value-not-a-list": "{path}: bukan senarai.",
54
+ "figure.text.board-data-value-type-mismatch": "{path}: jenis nilai salah.",
55
+ "figure.text.board-data-value-out-of-range": "{path}: di luar julat.",
56
+ "figure.text.board-data-value-value-unknown": "{path}: bukan salah satu nilainya.",
57
+ "figure.text.board-data-value-json-unreadable": "{path}: teks JSON tidak boleh dibaca.",
58
+ "figure.text.board-data-value-item-id-missing": "{path}: item tiada id.",
59
+ "figure.label.detail-tab-data": "Data",
60
+ "figure.text.detail-no-data": "Tiada sambungan didaftarkan.",
61
+ "figure.label.data-bindings": "ikatan",
62
+ "figure.label.data-behavior-state": "kawalan {name}",
63
+ "figure.label.data-behavior-palette": "warna {name}",
64
+ "figure.label.data-behavior-motion-clip": "klip {name}",
65
+ "figure.label.data-behavior-motion-speed": "kelajuan {name}",
66
+ "figure.label.data-behavior-motion-paused": "{name} dijeda",
67
+ "figure.label.data-behavior-pose": "kedudukan {name}",
68
+ "figure.label.data-behavior-items": "item {name}",
69
+ "figure.label.data-axis-x": "X",
70
+ "figure.label.data-axis-y": "ketinggian (Y)",
71
+ "figure.label.data-axis-z": "Z",
72
+ "figure.label.data-axis-heading": "arah",
73
+ "figure.label.data-method-code": "Jadual kod",
74
+ "figure.label.data-method-ranges": "Jadual julat",
75
+ "figure.label.data-method-scale": "Berskala",
76
+ "figure.label.data-method-value": "Seadanya",
77
+ "figure.label.detail-tab-properties": "Sifat",
78
+ "figure.label.detail-example": "Contoh data",
79
+ "figure.text.detail-no-properties": "Tiada sifat yang ditetapkan pada papan.",
80
+ "label.design-inputs": "nilai reka bentuk",
81
+ "label.state-values": "nilai keadaan",
82
+ "label.clip-speeds": "kelajuan klip",
83
+ "label.motion-groups": "kumpulan gerakan",
84
+ "label.slot-layout": "Susunan kedudukan",
85
+ "figure.label.data-item-id": "id item",
86
+ "figure.label.data-item-type": "jenis item",
87
+ "figure.label.data-item-place": "tempat",
88
+ "figure.label.data-item-stack": "tertib tindanan",
89
+ "figure.label.data-item-status": "status",
90
+ "figure.label.unit-none": "tiada unit",
91
+ "figure.label.unit-type-it": "taip sendiri…",
92
+ "figure.label.unit-mm": "mm",
93
+ "figure.label.unit-cm": "cm",
94
+ "figure.label.unit-m": "m",
95
+ "figure.label.unit-rad": "radian",
96
+ "figure.label.unit-deg": "darjah",
97
+ "figure.label.unit-s": "saat",
98
+ "figure.label.unit-ratio": "nisbah",
99
+ "figure.label.unit-percent": "%",
100
+ "figure.label.unit-count": "bilangan",
101
+ "figure.label.data-kind-number": "nombor",
102
+ "figure.label.data-kind-boolean": "benar/palsu",
103
+ "figure.label.data-kind-text": "teks",
104
+ "figure.label.data-kind-object": "objek",
105
+ "figure.label.data-kind-list": "senarai"
39
106
  }