@operato/property-panel 10.29.103 → 10.29.107
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/src/property-panel/threed/property-scene3d.d.ts +1 -0
- package/dist/src/property-panel/threed/property-scene3d.js +62 -69
- package/package.json +2 -2
- package/translations/en.json +10 -1
- package/translations/es.json +10 -1
- package/translations/ja.json +10 -1
- package/translations/ko.json +30 -1
- package/translations/ms.json +10 -1
- package/translations/zh.json +10 -1
|
@@ -7,70 +7,9 @@ import '@operato/i18n/ox-i18n.js';
|
|
|
7
7
|
import './property-material3d.js';
|
|
8
8
|
import { css, html } from 'lit';
|
|
9
9
|
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { ENVIRONMENT_DEFAULTS, LIGHTING_PRESETS, hasSceneOverride, lookedState, sceneLookDefaults, sceneLookOf, sceneLookSelection } from '@hatiolab/things-scene';
|
|
10
11
|
import { PropertyGridStyles } from '@operato/styles/property-grid-styles.js';
|
|
11
12
|
import { AbstractProperty } from '../abstract-property.js';
|
|
12
|
-
/**
|
|
13
|
-
* Environment별 기본 조명 프로파일.
|
|
14
|
-
* Environment 드롭다운에서 선택 시 sky 값과 함께 이 조명 필드들이 자동 적용된다.
|
|
15
|
-
* Light Mood(아래)는 이 위에 얹는 오버라이드 역할.
|
|
16
|
-
*/
|
|
17
|
-
const ENVIRONMENT_DEFAULTS = {
|
|
18
|
-
// 실내
|
|
19
|
-
studio: {
|
|
20
|
-
hemiSkyColor: '#ffffff', hemiGroundColor: '#888888', hemiIntensity: 3.0,
|
|
21
|
-
dirLightEnabled: true, dirLightColor: '#ffffff', dirLightIntensity: 2.0,
|
|
22
|
-
dirLightFollowCamera: true
|
|
23
|
-
},
|
|
24
|
-
warehouse: {
|
|
25
|
-
hemiSkyColor: '#e0e4ea', hemiGroundColor: '#707880', hemiIntensity: 2.5,
|
|
26
|
-
dirLightEnabled: true, dirLightColor: '#f8fafc', dirLightIntensity: 1.8,
|
|
27
|
-
dirLightFollowCamera: true
|
|
28
|
-
},
|
|
29
|
-
factory: {
|
|
30
|
-
hemiSkyColor: '#d8dce2', hemiGroundColor: '#606870', hemiIntensity: 2.0,
|
|
31
|
-
dirLightEnabled: true, dirLightColor: '#e8eef2', dirLightIntensity: 2.0,
|
|
32
|
-
dirLightFollowCamera: true
|
|
33
|
-
},
|
|
34
|
-
office: {
|
|
35
|
-
hemiSkyColor: '#ffffff', hemiGroundColor: '#aaaaaa', hemiIntensity: 3.0,
|
|
36
|
-
dirLightEnabled: true, dirLightColor: '#ffffff', dirLightIntensity: 1.5,
|
|
37
|
-
dirLightFollowCamera: true
|
|
38
|
-
},
|
|
39
|
-
home: {
|
|
40
|
-
hemiSkyColor: '#ffe8c8', hemiGroundColor: '#7a5a40', hemiIntensity: 2.0,
|
|
41
|
-
dirLightEnabled: true, dirLightColor: '#ffd8a0', dirLightIntensity: 1.5,
|
|
42
|
-
dirLightFollowCamera: true
|
|
43
|
-
},
|
|
44
|
-
// 실외 (날씨)
|
|
45
|
-
sunny: {
|
|
46
|
-
hemiSkyColor: '#87ceeb', hemiGroundColor: '#8b7355', hemiIntensity: 2.0,
|
|
47
|
-
dirLightEnabled: true, dirLightColor: '#fff4cf', dirLightIntensity: 3.0,
|
|
48
|
-
dirLightFollowCamera: false, dirLightAzimuth: 135, dirLightElevation: 60
|
|
49
|
-
},
|
|
50
|
-
cloudy: {
|
|
51
|
-
hemiSkyColor: '#c8cbd0', hemiGroundColor: '#9ba1a8', hemiIntensity: 3.0,
|
|
52
|
-
dirLightEnabled: true, dirLightColor: '#e8e8e8', dirLightIntensity: 0.6,
|
|
53
|
-
dirLightFollowCamera: false, dirLightAzimuth: 120, dirLightElevation: 50
|
|
54
|
-
},
|
|
55
|
-
rainy: {
|
|
56
|
-
hemiSkyColor: '#8a909a', hemiGroundColor: '#4a4f55', hemiIntensity: 1.5,
|
|
57
|
-
dirLightEnabled: true, dirLightColor: '#b8c0c8', dirLightIntensity: 0.3,
|
|
58
|
-
dirLightFollowCamera: false, dirLightAzimuth: 110, dirLightElevation: 40
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Light Mood 프리셋 — Environment 기본값 위에 얹는 분위기 오버라이드.
|
|
63
|
-
* Environment(지금 씬이 어디에 있는가)와 독립적으로 작동하며 sky는 건드리지 않는다.
|
|
64
|
-
* 원자 조명 필드(hemi/dir)만 세팅.
|
|
65
|
-
*/
|
|
66
|
-
const LIGHTING_PRESETS = {
|
|
67
|
-
Bright: { hemiIntensity: 3.0, dirLightEnabled: true, dirLightColor: '#ffffff', dirLightIntensity: 2.5 },
|
|
68
|
-
Dim: { hemiIntensity: 0.5, dirLightEnabled: true, dirLightColor: '#fff5e0', dirLightIntensity: 0.5 },
|
|
69
|
-
Warm: { hemiIntensity: 1.5, dirLightEnabled: true, dirLightColor: '#ffaa55', dirLightIntensity: 2.0 },
|
|
70
|
-
Cool: { hemiIntensity: 1.5, dirLightEnabled: true, dirLightColor: '#88bbff', dirLightIntensity: 2.0 },
|
|
71
|
-
Dramatic: { hemiIntensity: 0.3, dirLightEnabled: true, dirLightColor: '#ffffff', dirLightIntensity: 3.0 },
|
|
72
|
-
Flat: { hemiIntensity: 3.0, dirLightEnabled: false, dirLightColor: '#ffffff', dirLightIntensity: 0 }
|
|
73
|
-
};
|
|
74
13
|
/**
|
|
75
14
|
* Scene-level 3D settings for model-layer.
|
|
76
15
|
* Includes 3D mode, camera, renderer, lighting, presets, and floor configuration.
|
|
@@ -81,13 +20,18 @@ export class PropertyScene3D extends AbstractProperty {
|
|
|
81
20
|
this.scene = null;
|
|
82
21
|
}
|
|
83
22
|
render() {
|
|
84
|
-
|
|
23
|
+
var _a, _b;
|
|
24
|
+
/*
|
|
25
|
+
The values the board is drawn with: its own, and under them the floor, background and lighting of the scene look
|
|
26
|
+
it chose (ADR-0255). A board without a scene look shows its own values only, as before.
|
|
27
|
+
*/
|
|
28
|
+
const value = lookedState({ state: this.value || {}, root: (_b = (_a = this.scene) === null || _a === void 0 ? void 0 : _a.root) === null || _b === void 0 ? void 0 : _b.root });
|
|
85
29
|
return html `
|
|
86
30
|
${this._renderMode(value)} ${this._renderPlacement(value)}
|
|
87
31
|
${this._renderCamera(value)}
|
|
88
32
|
${this._renderRenderer(value)} ${this._renderSky(value)}
|
|
89
33
|
${this._renderHemisphereLight(value)} ${this._renderKeyLight(value)} ${this._renderLightingPresets()}
|
|
90
|
-
${this._renderFloor(value)}
|
|
34
|
+
${this._renderFloor(value)} ${this._renderThemeOverrides()}
|
|
91
35
|
`;
|
|
92
36
|
}
|
|
93
37
|
/**
|
|
@@ -213,7 +157,7 @@ export class PropertyScene3D extends AbstractProperty {
|
|
|
213
157
|
`;
|
|
214
158
|
}
|
|
215
159
|
_renderRenderer(value) {
|
|
216
|
-
var _a;
|
|
160
|
+
var _a, _b, _c;
|
|
217
161
|
const exposure = Number((_a = value.exposure) !== null && _a !== void 0 ? _a : 1.2);
|
|
218
162
|
return html `
|
|
219
163
|
<fieldset>
|
|
@@ -245,6 +189,19 @@ export class PropertyScene3D extends AbstractProperty {
|
|
|
245
189
|
/>
|
|
246
190
|
<span>${exposure.toFixed(2)}</span>
|
|
247
191
|
</div>
|
|
192
|
+
|
|
193
|
+
<label>Environment Light</label>
|
|
194
|
+
<div class="range-with-value">
|
|
195
|
+
<input
|
|
196
|
+
type="range"
|
|
197
|
+
min="0"
|
|
198
|
+
max="1.5"
|
|
199
|
+
step="0.05"
|
|
200
|
+
value-key="environmentIntensity"
|
|
201
|
+
.value=${String((_b = value.environmentIntensity) !== null && _b !== void 0 ? _b : 1)}
|
|
202
|
+
/>
|
|
203
|
+
<span>${Number((_c = value.environmentIntensity) !== null && _c !== void 0 ? _c : 1).toFixed(2)}</span>
|
|
204
|
+
</div>
|
|
248
205
|
</div>
|
|
249
206
|
</fieldset>
|
|
250
207
|
`;
|
|
@@ -255,8 +212,10 @@ export class PropertyScene3D extends AbstractProperty {
|
|
|
255
212
|
* "원클릭 전체 look" — 사용자가 원하면 Light Mood/원자 컨트롤로 위에 얹어 조정.
|
|
256
213
|
*/
|
|
257
214
|
_renderSky(value) {
|
|
215
|
+
var _a;
|
|
216
|
+
const noSky = sceneLookOf({ state: this.value, root: (_a = this.scene) === null || _a === void 0 ? void 0 : _a.rootContainer }) ? 'none' : '';
|
|
258
217
|
const envOptions = [
|
|
259
|
-
{ value:
|
|
218
|
+
{ value: noSky, label: 'None', group: 'basic' },
|
|
260
219
|
{ value: 'color', label: 'Color', group: 'basic' },
|
|
261
220
|
{ value: 'studio', label: 'Studio', group: 'indoor' },
|
|
262
221
|
{ value: 'warehouse', label: 'Warehouse', group: 'indoor' },
|
|
@@ -276,17 +235,17 @@ export class PropertyScene3D extends AbstractProperty {
|
|
|
276
235
|
<optgroup label="Basic">
|
|
277
236
|
${envOptions
|
|
278
237
|
.filter(o => o.group === 'basic')
|
|
279
|
-
.map(o => html `<option value=${o.value} ?selected=${(value.sky ||
|
|
238
|
+
.map(o => html `<option value=${o.value} ?selected=${(value.sky || noSky) === o.value}>${o.label}</option>`)}
|
|
280
239
|
</optgroup>
|
|
281
240
|
<optgroup label="Indoor">
|
|
282
241
|
${envOptions
|
|
283
242
|
.filter(o => o.group === 'indoor')
|
|
284
|
-
.map(o => html `<option value=${o.value} ?selected=${(value.sky ||
|
|
243
|
+
.map(o => html `<option value=${o.value} ?selected=${(value.sky || noSky) === o.value}>${o.label}</option>`)}
|
|
285
244
|
</optgroup>
|
|
286
245
|
<optgroup label="Outdoor">
|
|
287
246
|
${envOptions
|
|
288
247
|
.filter(o => o.group === 'outdoor')
|
|
289
|
-
.map(o => html `<option value=${o.value} ?selected=${(value.sky ||
|
|
248
|
+
.map(o => html `<option value=${o.value} ?selected=${(value.sky || noSky) === o.value}>${o.label}</option>`)}
|
|
290
249
|
</optgroup>
|
|
291
250
|
</select>
|
|
292
251
|
|
|
@@ -305,12 +264,16 @@ export class PropertyScene3D extends AbstractProperty {
|
|
|
305
264
|
* 정의된 hemi/dir 기본 조명까지 한 번의 property-change로 함께 적용한다.
|
|
306
265
|
*/
|
|
307
266
|
_onEnvironmentChange(e) {
|
|
267
|
+
var _a, _b;
|
|
308
268
|
const select = e.target;
|
|
309
269
|
const sky = select.value;
|
|
310
270
|
const detail = { sky };
|
|
311
271
|
const defaults = ENVIRONMENT_DEFAULTS[sky];
|
|
312
272
|
if (defaults) {
|
|
313
273
|
Object.assign(detail, defaults);
|
|
274
|
+
if (sceneLookOf({ state: this.value, root: (_a = this.scene) === null || _a === void 0 ? void 0 : _a.rootContainer }) && !hasSceneOverride((_b = this.value) === null || _b === void 0 ? void 0 : _b.environment)) {
|
|
275
|
+
detail.environment = sky;
|
|
276
|
+
}
|
|
314
277
|
}
|
|
315
278
|
this.dispatchEvent(new CustomEvent('property-change', {
|
|
316
279
|
bubbles: true,
|
|
@@ -483,6 +446,35 @@ export class PropertyScene3D extends AbstractProperty {
|
|
|
483
446
|
</property-material3d>
|
|
484
447
|
`;
|
|
485
448
|
}
|
|
449
|
+
_renderThemeOverrides() {
|
|
450
|
+
var _a;
|
|
451
|
+
const state = this.value || {};
|
|
452
|
+
const root = (_a = this.scene) === null || _a === void 0 ? void 0 : _a.rootContainer;
|
|
453
|
+
const selection = sceneLookSelection(state, root === null || root === void 0 ? void 0 : root.domainThemes);
|
|
454
|
+
const look = sceneLookOf({ state, root });
|
|
455
|
+
if (!look && !selection.missing)
|
|
456
|
+
return '';
|
|
457
|
+
if (!look)
|
|
458
|
+
return html `<p role="status"><ox-i18n msgid="text.scene-look-unavailable">The selected scene theme is unavailable.</ox-i18n></p>`;
|
|
459
|
+
const defaults = sceneLookDefaults(look);
|
|
460
|
+
const labels = {
|
|
461
|
+
fillStyle: 'Floor color', sky: 'Background', skyColor: 'Background color', environment: 'Environment reflection',
|
|
462
|
+
exposure: 'Exposure', environmentIntensity: 'Environment light', hemiIntensity: 'Hemisphere light',
|
|
463
|
+
hemiSkyColor: 'Hemisphere sky color', hemiGroundColor: 'Hemisphere ground color', dirLightColor: 'Key light color',
|
|
464
|
+
dirLightEnabled: 'Key light', dirLightIntensity: 'Key light intensity', dirLightFollowCamera: 'Follow camera',
|
|
465
|
+
dirLightAzimuth: 'Azimuth', dirLightElevation: 'Elevation', dirShadowEnabled: 'Cast shadow'
|
|
466
|
+
};
|
|
467
|
+
const fields = Object.keys(defaults).filter(key => labels[key]);
|
|
468
|
+
return html `<fieldset>
|
|
469
|
+
<legend><ox-i18n msgid="label.scene-look">Scene theme</ox-i18n></legend>
|
|
470
|
+
<div class="property-grid">
|
|
471
|
+
${fields.map(key => html `<span><ox-i18n msgid=${'label.scene-look-field-' + key}>${labels[key]}</ox-i18n></span>
|
|
472
|
+
${hasSceneOverride(state[key])
|
|
473
|
+
? html `<button type="button" @click=${() => this._applyLightingPreset({ [key]: null })}><ox-i18n msgid="button.use-scene-look-value">Use theme value</ox-i18n></button>`
|
|
474
|
+
: html `<span><ox-i18n msgid="text.scene-look-inherited">From theme</ox-i18n></span>`}`)}
|
|
475
|
+
</div>
|
|
476
|
+
</fieldset>`;
|
|
477
|
+
}
|
|
486
478
|
_applyLightingPreset(values) {
|
|
487
479
|
this.dispatchEvent(new CustomEvent('property-change', {
|
|
488
480
|
bubbles: true,
|
|
@@ -544,6 +536,7 @@ PropertyScene3D.styles = [
|
|
|
544
536
|
.camera-actions button:hover {
|
|
545
537
|
background: var(--md-sys-color-surface-variant, #e7e0ec);
|
|
546
538
|
}
|
|
539
|
+
|
|
547
540
|
`
|
|
548
541
|
];
|
|
549
542
|
__decorate([
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@operato/property-panel",
|
|
3
3
|
"description": "Webcomponent property-panel following open-wc recommendations",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "10.29.
|
|
5
|
+
"version": "10.29.107",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"module": "dist/src/index.js",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"prettier --write"
|
|
129
129
|
]
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "20bec12e1116c3891eeaeedc5f6462fb222d6645"
|
|
132
132
|
}
|
package/translations/en.json
CHANGED
|
@@ -795,5 +795,14 @@
|
|
|
795
795
|
"label.capability-interactions": "capability actions",
|
|
796
796
|
"text.capability-interaction-part": "part {part}",
|
|
797
797
|
"text.handler-replaces-capability": "With this handler, it runs instead of the actions above.",
|
|
798
|
-
"text.disabled-handler-keeps-capability": "This handler is off, so the actions above still run."
|
|
798
|
+
"text.disabled-handler-keeps-capability": "This handler is off, so the actions above still run.",
|
|
799
|
+
"label.measured-look": "Measured Look",
|
|
800
|
+
"label.measured-background": "Background",
|
|
801
|
+
"label.measured-floor": "Floor",
|
|
802
|
+
"label.measured-light-faces": "Light faces",
|
|
803
|
+
"label.measured-contrast": "Light faces on floor",
|
|
804
|
+
"label.measured-clipped": "Clipped to white",
|
|
805
|
+
"label.measured-lighting-ratio": "Lighting ratio",
|
|
806
|
+
"text.measured-in-3d": "Measured in the 3D view.",
|
|
807
|
+
"button.measure-again": "Measure Again"
|
|
799
808
|
}
|
package/translations/es.json
CHANGED
|
@@ -795,5 +795,14 @@
|
|
|
795
795
|
"label.capability-interactions": "acciones de la capacidad",
|
|
796
796
|
"text.capability-interaction-part": "pieza {part}",
|
|
797
797
|
"text.handler-replaces-capability": "Con este controlador, se ejecuta este en lugar de las acciones anteriores.",
|
|
798
|
-
"text.disabled-handler-keeps-capability": "Este controlador está desactivado, así que las acciones anteriores se siguen ejecutando."
|
|
798
|
+
"text.disabled-handler-keeps-capability": "Este controlador está desactivado, así que las acciones anteriores se siguen ejecutando.",
|
|
799
|
+
"label.measured-look": "Medición de imagen",
|
|
800
|
+
"label.measured-background": "Fondo",
|
|
801
|
+
"label.measured-floor": "Suelo",
|
|
802
|
+
"label.measured-light-faces": "Caras claras",
|
|
803
|
+
"label.measured-contrast": "Contraste caras claras / suelo",
|
|
804
|
+
"label.measured-clipped": "Recortado a blanco",
|
|
805
|
+
"label.measured-lighting-ratio": "Relación de iluminación",
|
|
806
|
+
"text.measured-in-3d": "Se mide en la vista 3D.",
|
|
807
|
+
"button.measure-again": "Medir de nuevo"
|
|
799
808
|
}
|
package/translations/ja.json
CHANGED
|
@@ -799,5 +799,14 @@
|
|
|
799
799
|
"label.capability-interactions": "機能による操作",
|
|
800
800
|
"text.capability-interaction-part": "部品 {part}",
|
|
801
801
|
"text.handler-replaces-capability": "このハンドラーを置くと、上の操作の代わりにこのハンドラーが実行されます。",
|
|
802
|
-
"text.disabled-handler-keeps-capability": "このハンドラーはオフのため、上の操作がそのまま実行されます。"
|
|
802
|
+
"text.disabled-handler-keeps-capability": "このハンドラーはオフのため、上の操作がそのまま実行されます。",
|
|
803
|
+
"label.measured-look": "画面測定",
|
|
804
|
+
"label.measured-background": "背景",
|
|
805
|
+
"label.measured-floor": "床",
|
|
806
|
+
"label.measured-light-faces": "設備の明るい面",
|
|
807
|
+
"label.measured-contrast": "明るい面と床のコントラスト",
|
|
808
|
+
"label.measured-clipped": "白飛び",
|
|
809
|
+
"label.measured-lighting-ratio": "照明比",
|
|
810
|
+
"text.measured-in-3d": "3D 画面で測定できます。",
|
|
811
|
+
"button.measure-again": "再測定"
|
|
803
812
|
}
|
package/translations/ko.json
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
+
"text.scene-look-unavailable": "선택한 장면 테마를 적용할 수 없습니다.",
|
|
3
|
+
"text.scene-look-inherited": "테마에서 가져옴",
|
|
4
|
+
"button.use-scene-look-value": "테마 값 사용",
|
|
5
|
+
"label.scene-look": "장면 테마",
|
|
6
|
+
"label.scene-look-field-fillStyle": "바닥색",
|
|
7
|
+
"label.scene-look-field-sky": "배경",
|
|
8
|
+
"label.scene-look-field-skyColor": "배경색",
|
|
9
|
+
"label.scene-look-field-environment": "환경 반사",
|
|
10
|
+
"label.scene-look-field-exposure": "노출",
|
|
11
|
+
"label.scene-look-field-environmentIntensity": "환경광",
|
|
12
|
+
"label.scene-look-field-hemiIntensity": "반구광",
|
|
13
|
+
"label.scene-look-field-hemiSkyColor": "반구광 하늘색",
|
|
14
|
+
"label.scene-look-field-hemiGroundColor": "반구광 지면색",
|
|
15
|
+
"label.scene-look-field-dirLightColor": "방향광 색",
|
|
16
|
+
"label.scene-look-field-dirLightEnabled": "방향광",
|
|
17
|
+
"label.scene-look-field-dirLightIntensity": "방향광 세기",
|
|
18
|
+
"label.scene-look-field-dirLightFollowCamera": "카메라 따라가기",
|
|
19
|
+
"label.scene-look-field-dirLightAzimuth": "방위각",
|
|
20
|
+
"label.scene-look-field-dirLightElevation": "고도각",
|
|
21
|
+
"label.scene-look-field-dirShadowEnabled": "그림자",
|
|
2
22
|
"APPROVAL": "배포대기",
|
|
3
23
|
"EDIT": "편집",
|
|
4
24
|
"RELEASED": "배포",
|
|
@@ -799,5 +819,14 @@
|
|
|
799
819
|
"label.capability-interactions": "능력이 주는 동작",
|
|
800
820
|
"text.capability-interaction-part": "{part} 부품",
|
|
801
821
|
"text.handler-replaces-capability": "이 핸들러를 두면 위 동작 대신 이 핸들러가 실행됩니다.",
|
|
802
|
-
"text.disabled-handler-keeps-capability": "이 핸들러는 꺼져 있으므로 위 동작이 그대로 실행됩니다."
|
|
822
|
+
"text.disabled-handler-keeps-capability": "이 핸들러는 꺼져 있으므로 위 동작이 그대로 실행됩니다.",
|
|
823
|
+
"label.measured-look": "화면 측정",
|
|
824
|
+
"label.measured-background": "배경",
|
|
825
|
+
"label.measured-floor": "바닥",
|
|
826
|
+
"label.measured-light-faces": "설비 밝은 면",
|
|
827
|
+
"label.measured-contrast": "밝은 면과 바닥 대비",
|
|
828
|
+
"label.measured-clipped": "흰색 잘림",
|
|
829
|
+
"label.measured-lighting-ratio": "조명비",
|
|
830
|
+
"text.measured-in-3d": "3D 화면에서 측정할 수 있습니다.",
|
|
831
|
+
"button.measure-again": "다시 측정"
|
|
803
832
|
}
|
package/translations/ms.json
CHANGED
|
@@ -672,5 +672,14 @@
|
|
|
672
672
|
"label.capability-interactions": "tindakan keupayaan",
|
|
673
673
|
"text.capability-interaction-part": "bahagian {part}",
|
|
674
674
|
"text.handler-replaces-capability": "Dengan pengendali ini, pengendali ini dijalankan sebagai ganti tindakan di atas.",
|
|
675
|
-
"text.disabled-handler-keeps-capability": "Pengendali ini dimatikan, jadi tindakan di atas masih dijalankan."
|
|
675
|
+
"text.disabled-handler-keeps-capability": "Pengendali ini dimatikan, jadi tindakan di atas masih dijalankan.",
|
|
676
|
+
"label.measured-look": "Ukuran paparan",
|
|
677
|
+
"label.measured-background": "Latar belakang",
|
|
678
|
+
"label.measured-floor": "Lantai",
|
|
679
|
+
"label.measured-light-faces": "Muka cerah",
|
|
680
|
+
"label.measured-contrast": "Kontras muka cerah dengan lantai",
|
|
681
|
+
"label.measured-clipped": "Terpotong ke putih",
|
|
682
|
+
"label.measured-lighting-ratio": "Nisbah pencahayaan",
|
|
683
|
+
"text.measured-in-3d": "Diukur dalam paparan 3D.",
|
|
684
|
+
"button.measure-again": "Ukur semula"
|
|
676
685
|
}
|
package/translations/zh.json
CHANGED
|
@@ -798,5 +798,14 @@
|
|
|
798
798
|
"label.capability-interactions": "功能提供的操作",
|
|
799
799
|
"text.capability-interaction-part": "部件 {part}",
|
|
800
800
|
"text.handler-replaces-capability": "设置此处理程序后,将执行此处理程序,而不执行上述操作。",
|
|
801
|
-
"text.disabled-handler-keeps-capability": "此处理程序已关闭,上述操作仍会执行。"
|
|
801
|
+
"text.disabled-handler-keeps-capability": "此处理程序已关闭,上述操作仍会执行。",
|
|
802
|
+
"label.measured-look": "画面测量",
|
|
803
|
+
"label.measured-background": "背景",
|
|
804
|
+
"label.measured-floor": "地面",
|
|
805
|
+
"label.measured-light-faces": "设备亮面",
|
|
806
|
+
"label.measured-contrast": "亮面与地面对比",
|
|
807
|
+
"label.measured-clipped": "过曝为白",
|
|
808
|
+
"label.measured-lighting-ratio": "光比",
|
|
809
|
+
"text.measured-in-3d": "可在 3D 画面中测量。",
|
|
810
|
+
"button.measure-again": "重新测量"
|
|
802
811
|
}
|