From 220002f5f142e942fdc64a5fe94e77ed1712b71b Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Mon, 7 Sep 2026 11:16:35 +0200 Subject: [PATCH 001/275] Evaluate stored telemetry for duration alarm condition when schedule window opens --- .../cf/ctx/state/alarm/AlarmRuleState.java | 7 +++- .../thingsboard/server/cf/AlarmRulesTest.java | 42 +++++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java b/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java index ada94dacda..833a51b770 100644 --- a/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java +++ b/application/src/main/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleState.java @@ -81,10 +81,10 @@ public class AlarmRuleState { public AlarmEvalResult reeval(long ts, CalculatedFieldCtx ctx) { // on scheduled duration check or periodic re-eval for rules with schedule boolean active = isActive(ts); + boolean activeChanged = this.active == null || active != this.active; + this.active = active; switch (condition.getType()) { case SIMPLE, REPEATING -> { - boolean activeChanged = this.active == null || active != this.active; - this.active = active; if (!active) { return AlarmEvalResult.EMPTY; } @@ -103,6 +103,9 @@ public class AlarmRuleState { if (!active) { return AlarmEvalResult.FALSE; } + if (firstEventTs <= 0 && condition.hasSchedule() && activeChanged) { + return doEval(false, ctx); + } long requiredDuration = getRequiredDurationInMs(); if (requiredDuration > 0 && firstEventTs > 0 && ts > firstEventTs) { duration = ts - firstEventTs; diff --git a/application/src/test/java/org/thingsboard/server/cf/AlarmRulesTest.java b/application/src/test/java/org/thingsboard/server/cf/AlarmRulesTest.java index 9a001e0575..9e90e4131f 100644 --- a/application/src/test/java/org/thingsboard/server/cf/AlarmRulesTest.java +++ b/application/src/test/java/org/thingsboard/server/cf/AlarmRulesTest.java @@ -875,6 +875,48 @@ public class AlarmRulesTest extends AbstractControllerTest { }); } + @Test + public void testCreateAlarm_durationCondition_scheduleStarted() throws Exception { + Argument motionDetectedArgument = new Argument(); + motionDetectedArgument.setRefEntityKey(new ReferencedEntityKey("motionDetected", ArgumentType.TS_LATEST, null)); + motionDetectedArgument.setDefaultValue("false"); + Map arguments = Map.of( + "motionDetected", motionDetectedArgument + ); + + SpecificTimeSchedule schedule = new SpecificTimeSchedule(); + schedule.setTimezone(ZoneId.systemDefault().getId()); + schedule.setDaysOfWeek(Set.of(1, 2, 3, 4, 5, 6, 7)); + long startsOn = Duration.between(LocalDate.now().atStartOfDay(), LocalDateTime.now()) + .plus(15, ChronoUnit.SECONDS).toMillis(); + schedule.setStartsOn(startsOn); + Map createRules = Map.of( + AlarmSeverity.CRITICAL, new Condition("return motionDetected == true;", null, null, + new AlarmConditionValue<>(1000L, null), + new AlarmConditionValue<>(schedule, null)) + ); + + AlarmRuleDefinition alarmRule = createAlarmRule(deviceId, "Motion detected alarm", + arguments, createRules, null); + + postTelemetry(deviceId, "{\"motionDetected\":true}"); + + Thread.sleep(10000); + assertThat(getLatestAlarmResult(alarmRule.getId())).isNull(); + + // no new telemetry after the schedule window opens, so the stored value must be used + await().atMost(TIMEOUT, TimeUnit.SECONDS).untilAsserted(() -> { + CalculatedFieldDebugEvent debugEvent = getDebugEvents(alarmRule.getId(), 5).stream() + .filter(event -> event.getResult() != null) + .findFirst().orElse(null); + assertThat(debugEvent).isNotNull(); + TbAlarmResult alarmResult = JacksonUtil.fromString(debugEvent.getResult(), TbAlarmResult.class); + assertThat(alarmResult.isCreated()).isTrue(); + assertThat(alarmResult.getAlarm().getSeverity()).isEqualTo(AlarmSeverity.CRITICAL); + assertThat(alarmResult.getAlarm().getStatus()).isEqualTo(AlarmStatus.ACTIVE_UNACK); + }); + } + @Test public void testManualClearAlarm() throws Exception { Argument temperatureArgument = new Argument(); From d5950ab409cc7c8da687cc9884d67e5351fdda9c Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Fri, 18 Sep 2026 16:04:41 +0300 Subject: [PATCH 002/275] Version set to 4.4.0 --- application/pom.xml | 2 +- common/actor/pom.xml | 2 +- common/cache/pom.xml | 2 +- common/cluster-api/pom.xml | 2 +- common/coap-server/pom.xml | 2 +- common/dao-api/pom.xml | 2 +- common/data/pom.xml | 2 +- common/discovery-api/pom.xml | 2 +- common/edge-api/pom.xml | 2 +- common/edqs/pom.xml | 2 +- common/message/pom.xml | 2 +- common/pom.xml | 2 +- common/proto/pom.xml | 2 +- common/queue/pom.xml | 2 +- common/script/pom.xml | 2 +- common/script/remote-js-client/pom.xml | 2 +- common/script/script-api/pom.xml | 2 +- common/stats/pom.xml | 2 +- common/transport/coap/pom.xml | 2 +- common/transport/http/pom.xml | 2 +- common/transport/lwm2m/pom.xml | 2 +- common/transport/mqtt/pom.xml | 2 +- common/transport/pom.xml | 2 +- common/transport/snmp/pom.xml | 2 +- common/transport/transport-api/pom.xml | 2 +- common/util/pom.xml | 2 +- common/version-control/pom.xml | 2 +- dao/pom.xml | 2 +- edqs/pom.xml | 2 +- monitoring/pom.xml | 2 +- msa/black-box-tests/pom.xml | 2 +- msa/edqs/pom.xml | 2 +- msa/js-executor/pom.xml | 2 +- msa/monitoring/pom.xml | 2 +- msa/pom.xml | 2 +- msa/tb-node/pom.xml | 2 +- msa/tb/pom.xml | 2 +- msa/transport/coap/pom.xml | 2 +- msa/transport/http/pom.xml | 2 +- msa/transport/lwm2m/pom.xml | 2 +- msa/transport/mqtt/pom.xml | 2 +- msa/transport/pom.xml | 2 +- msa/transport/snmp/pom.xml | 2 +- msa/vc-executor-docker/pom.xml | 2 +- msa/vc-executor/pom.xml | 2 +- msa/web-ui/pom.xml | 2 +- netty-mqtt/pom.xml | 4 ++-- pom.xml | 2 +- rest-client/pom.xml | 2 +- rule-engine/pom.xml | 2 +- rule-engine/rule-engine-api/pom.xml | 2 +- rule-engine/rule-engine-components/pom.xml | 2 +- tools/pom.xml | 2 +- transport/coap/pom.xml | 2 +- transport/http/pom.xml | 2 +- transport/lwm2m/pom.xml | 2 +- transport/mqtt/pom.xml | 2 +- transport/pom.xml | 2 +- transport/snmp/pom.xml | 2 +- ui-ngx/pom.xml | 2 +- 60 files changed, 61 insertions(+), 61 deletions(-) diff --git a/application/pom.xml b/application/pom.xml index e55da12be9..1b628f4edb 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard application diff --git a/common/actor/pom.xml b/common/actor/pom.xml index a7a7acd1a7..1c2cae4d76 100644 --- a/common/actor/pom.xml +++ b/common/actor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/cache/pom.xml b/common/cache/pom.xml index d6de432f47..57538c4b86 100644 --- a/common/cache/pom.xml +++ b/common/cache/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/cluster-api/pom.xml b/common/cluster-api/pom.xml index 16c5823ef5..1cbff677c3 100644 --- a/common/cluster-api/pom.xml +++ b/common/cluster-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/coap-server/pom.xml b/common/coap-server/pom.xml index 08a6a4e509..b56ca1940f 100644 --- a/common/coap-server/pom.xml +++ b/common/coap-server/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/dao-api/pom.xml b/common/dao-api/pom.xml index d5dc1657ca..de02aa8c17 100644 --- a/common/dao-api/pom.xml +++ b/common/dao-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/data/pom.xml b/common/data/pom.xml index b0af7801d0..9a7e28a61f 100644 --- a/common/data/pom.xml +++ b/common/data/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/discovery-api/pom.xml b/common/discovery-api/pom.xml index d7cf949d71..066af488bb 100644 --- a/common/discovery-api/pom.xml +++ b/common/discovery-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/edge-api/pom.xml b/common/edge-api/pom.xml index 3b0a3c8bdc..2ce4b12245 100644 --- a/common/edge-api/pom.xml +++ b/common/edge-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/edqs/pom.xml b/common/edqs/pom.xml index 5e74e5fb83..d43f3339d7 100644 --- a/common/edqs/pom.xml +++ b/common/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/message/pom.xml b/common/message/pom.xml index a8e2ae035f..3308aa6121 100644 --- a/common/message/pom.xml +++ b/common/message/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/pom.xml b/common/pom.xml index bcd6333570..90a3586573 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard common diff --git a/common/proto/pom.xml b/common/proto/pom.xml index e823351bd9..b9f7c6abb7 100644 --- a/common/proto/pom.xml +++ b/common/proto/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/queue/pom.xml b/common/queue/pom.xml index 9753af6b3a..8828f1696c 100644 --- a/common/queue/pom.xml +++ b/common/queue/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/script/pom.xml b/common/script/pom.xml index 209b205389..d8ff527247 100644 --- a/common/script/pom.xml +++ b/common/script/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/script/remote-js-client/pom.xml b/common/script/remote-js-client/pom.xml index ce4f83af52..04c8392f60 100644 --- a/common/script/remote-js-client/pom.xml +++ b/common/script/remote-js-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 script org.thingsboard.common.script diff --git a/common/script/script-api/pom.xml b/common/script/script-api/pom.xml index 47e541740a..997a04f42d 100644 --- a/common/script/script-api/pom.xml +++ b/common/script/script-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 script org.thingsboard.common.script diff --git a/common/stats/pom.xml b/common/stats/pom.xml index a69d689e77..af9cd10495 100644 --- a/common/stats/pom.xml +++ b/common/stats/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/transport/coap/pom.xml b/common/transport/coap/pom.xml index b71171a9c7..17ecc28604 100644 --- a/common/transport/coap/pom.xml +++ b/common/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.common.transport diff --git a/common/transport/http/pom.xml b/common/transport/http/pom.xml index d40e79a034..e6bf84d937 100644 --- a/common/transport/http/pom.xml +++ b/common/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.common.transport diff --git a/common/transport/lwm2m/pom.xml b/common/transport/lwm2m/pom.xml index 160484d827..f0bcdb60b2 100644 --- a/common/transport/lwm2m/pom.xml +++ b/common/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.common.transport diff --git a/common/transport/mqtt/pom.xml b/common/transport/mqtt/pom.xml index c034294b81..e8f5ba5175 100644 --- a/common/transport/mqtt/pom.xml +++ b/common/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.common.transport diff --git a/common/transport/pom.xml b/common/transport/pom.xml index ccd2d82bda..a64c41cca5 100644 --- a/common/transport/pom.xml +++ b/common/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/transport/snmp/pom.xml b/common/transport/snmp/pom.xml index 8fd51e5fb9..f41d2caa2e 100644 --- a/common/transport/snmp/pom.xml +++ b/common/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 transport diff --git a/common/transport/transport-api/pom.xml b/common/transport/transport-api/pom.xml index d8fb8ca174..1a518b6a1c 100644 --- a/common/transport/transport-api/pom.xml +++ b/common/transport/transport-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.common.transport diff --git a/common/util/pom.xml b/common/util/pom.xml index 087cc75df3..704ceae963 100644 --- a/common/util/pom.xml +++ b/common/util/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index 379ee260dd..96eb7fc16f 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/dao/pom.xml b/dao/pom.xml index 8825681132..db1936d0f6 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard dao diff --git a/edqs/pom.xml b/edqs/pom.xml index a74953db80..352a6f4add 100644 --- a/edqs/pom.xml +++ b/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard edqs diff --git a/monitoring/pom.xml b/monitoring/pom.xml index f6456b2da5..0f72ec06c4 100644 --- a/monitoring/pom.xml +++ b/monitoring/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard diff --git a/msa/black-box-tests/pom.xml b/msa/black-box-tests/pom.xml index 92b135412f..6652ee5ae4 100644 --- a/msa/black-box-tests/pom.xml +++ b/msa/black-box-tests/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/edqs/pom.xml b/msa/edqs/pom.xml index 5941a66587..0672f538de 100644 --- a/msa/edqs/pom.xml +++ b/msa/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index e20404eeda..dcc26d9967 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/monitoring/pom.xml b/msa/monitoring/pom.xml index 1200b6a858..992b1e659c 100644 --- a/msa/monitoring/pom.xml +++ b/msa/monitoring/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa diff --git a/msa/pom.xml b/msa/pom.xml index 1741045be4..48b3dc2c67 100644 --- a/msa/pom.xml +++ b/msa/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard msa diff --git a/msa/tb-node/pom.xml b/msa/tb-node/pom.xml index de45bcf6ce..6aa6eb8a7b 100644 --- a/msa/tb-node/pom.xml +++ b/msa/tb-node/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/tb/pom.xml b/msa/tb/pom.xml index 8d972440ac..5c3cd17cef 100644 --- a/msa/tb/pom.xml +++ b/msa/tb/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/transport/coap/pom.xml b/msa/transport/coap/pom.xml index 8e35888350..302a5839f1 100644 --- a/msa/transport/coap/pom.xml +++ b/msa/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.msa.transport diff --git a/msa/transport/http/pom.xml b/msa/transport/http/pom.xml index 1db4c4f8c9..239a1774a2 100644 --- a/msa/transport/http/pom.xml +++ b/msa/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.msa.transport diff --git a/msa/transport/lwm2m/pom.xml b/msa/transport/lwm2m/pom.xml index 48110f7446..91c9821736 100644 --- a/msa/transport/lwm2m/pom.xml +++ b/msa/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.msa.transport diff --git a/msa/transport/mqtt/pom.xml b/msa/transport/mqtt/pom.xml index 2e9d2f7eb1..f498a16b94 100644 --- a/msa/transport/mqtt/pom.xml +++ b/msa/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.msa.transport diff --git a/msa/transport/pom.xml b/msa/transport/pom.xml index 0617c4d658..1a42954850 100644 --- a/msa/transport/pom.xml +++ b/msa/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/transport/snmp/pom.xml b/msa/transport/snmp/pom.xml index a5ed36d996..ad89e4eaa7 100644 --- a/msa/transport/snmp/pom.xml +++ b/msa/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa transport - 4.4.0-SNAPSHOT + 4.4.0 org.thingsboard.msa.transport diff --git a/msa/vc-executor-docker/pom.xml b/msa/vc-executor-docker/pom.xml index 6e4c6bc3e7..44dacb6bc9 100644 --- a/msa/vc-executor-docker/pom.xml +++ b/msa/vc-executor-docker/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/vc-executor/pom.xml b/msa/vc-executor/pom.xml index 83f6d67387..65fc36b519 100644 --- a/msa/vc-executor/pom.xml +++ b/msa/vc-executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index 6a92b66632..3e2af91abb 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/netty-mqtt/pom.xml b/netty-mqtt/pom.xml index 6d123d1579..8fd9fb2377 100644 --- a/netty-mqtt/pom.xml +++ b/netty-mqtt/pom.xml @@ -8,11 +8,11 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard netty-mqtt - 4.4.0-SNAPSHOT + 4.4.0 jar Netty MQTT Client diff --git a/pom.xml b/pom.xml index e7dcea3164..a09269258b 100755 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard thingsboard - 4.4.0-SNAPSHOT + 4.4.0 pom Thingsboard diff --git a/rest-client/pom.xml b/rest-client/pom.xml index e45dafcfe0..d7b879d1ae 100644 --- a/rest-client/pom.xml +++ b/rest-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard rest-client diff --git a/rule-engine/pom.xml b/rule-engine/pom.xml index 1bf2327ba9..130df234fd 100644 --- a/rule-engine/pom.xml +++ b/rule-engine/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard rule-engine diff --git a/rule-engine/rule-engine-api/pom.xml b/rule-engine/rule-engine-api/pom.xml index 19f6554381..f0ff30bbc9 100644 --- a/rule-engine/rule-engine-api/pom.xml +++ b/rule-engine/rule-engine-api/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 rule-engine org.thingsboard.rule-engine diff --git a/rule-engine/rule-engine-components/pom.xml b/rule-engine/rule-engine-components/pom.xml index 22ccb09ece..9dd1f459ed 100644 --- a/rule-engine/rule-engine-components/pom.xml +++ b/rule-engine/rule-engine-components/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 rule-engine org.thingsboard.rule-engine diff --git a/tools/pom.xml b/tools/pom.xml index e37ce98e19..acd840352a 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard tools diff --git a/transport/coap/pom.xml b/transport/coap/pom.xml index e4d5930675..26ee175acd 100644 --- a/transport/coap/pom.xml +++ b/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.transport diff --git a/transport/http/pom.xml b/transport/http/pom.xml index a074a35c3a..a18697a4c4 100644 --- a/transport/http/pom.xml +++ b/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.transport diff --git a/transport/lwm2m/pom.xml b/transport/lwm2m/pom.xml index 6257a46e91..344afa0c74 100644 --- a/transport/lwm2m/pom.xml +++ b/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.transport diff --git a/transport/mqtt/pom.xml b/transport/mqtt/pom.xml index 498d983d95..f97ca736f4 100644 --- a/transport/mqtt/pom.xml +++ b/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 transport org.thingsboard.transport diff --git a/transport/pom.xml b/transport/pom.xml index a8b2edd033..e46aec31cf 100644 --- a/transport/pom.xml +++ b/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard transport diff --git a/transport/snmp/pom.xml b/transport/snmp/pom.xml index e3fcdd364d..1f3ac9b2f6 100644 --- a/transport/snmp/pom.xml +++ b/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 transport diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index 671530e422..d4c3f2433e 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard org.thingsboard From 7e8d95d1403c7d1341ddabd90a7a0a9f5d172e51 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 28 Sep 2026 17:27:09 +0300 Subject: [PATCH 003/275] Remove msa/tb --- msa/tb/pom.xml | 400 ------------------------------------------------- 1 file changed, 400 deletions(-) delete mode 100644 msa/tb/pom.xml diff --git a/msa/tb/pom.xml b/msa/tb/pom.xml deleted file mode 100644 index 5c3cd17cef..0000000000 --- a/msa/tb/pom.xml +++ /dev/null @@ -1,400 +0,0 @@ - - - 4.0.0 - - org.thingsboard - 4.4.0 - msa - - org.thingsboard.msa - tb - pom - - ThingsBoard Docker Images - https://thingsboard.io - ThingsBoard Docker Images - - - UTF-8 - ${maven.multiModuleProjectDirectory} - thingsboard - tb-postgres - tb-cassandra - /usr/share/${pkg.name} - - - - - org.thingsboard - application - ${project.version} - provided - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-deb-exists - ${pkg.deb.phase} - enforce - - - - - ${main.dir}/application/target/${pkg.name}.deb - - DEB artifact not found at ${main.dir}/application/target/${pkg.name}.deb — build the upstream module first or pass -Dpkg.skip.deb=true. - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-docker-tb-postgres-config - process-resources - - copy-resources - - - ${project.build.directory}/docker-postgres - - - docker - true - - - docker-postgres - true - - - - - - copy-docker-tb-cassandra-config - process-resources - - copy-resources - - - ${project.build.directory}/docker-cassandra - - - docker - true - - - docker-cassandra - true - - - - - - copy-tb-postgres-deb - ${pkg.deb.phase} - - copy-resources - - - ${project.build.directory}/docker-postgres - true - - - ${main.dir}/application/target - - ${pkg.name}.deb - - false - - - - - - copy-tb-cassandra-deb - ${pkg.deb.phase} - - copy-resources - - - ${project.build.directory}/docker-cassandra - true - - - ${main.dir}/application/target - - ${pkg.name}.deb - - false - - - - - - - - org.codehaus.mojo - exec-maven-plugin - - - build-docker-tb-postgres-image - pre-integration-test - exec - - ${dockerfile.skip} - docker - ${project.build.directory}/docker-postgres - - build - --no-cache - -t - ${docker.repo}/${tb-postgres.docker.name}:latest - . - - - - - tag-docker-tb-postgres-image - pre-integration-test - exec - - ${dockerfile.skip} - docker - - tag - ${docker.repo}/${tb-postgres.docker.name}:latest - ${docker.repo}/${tb-postgres.docker.name}:${project.version} - - - - - build-docker-tb-cassandra-image - pre-integration-test - exec - - ${dockerfile.skip} - docker - ${project.build.directory}/docker-cassandra - - build - --no-cache - -t - ${docker.repo}/${tb-cassandra.docker.name}:latest - . - - - - - tag-docker-tb-cassandra-image - pre-integration-test - exec - - ${dockerfile.skip} - docker - - tag - ${docker.repo}/${tb-cassandra.docker.name}:latest - ${docker.repo}/${tb-cassandra.docker.name}:${project.version} - - - - - - - - - - push-docker-image - - - push-docker-image - - - - - - org.codehaus.mojo - exec-maven-plugin - - - push-latest-docker-tb-postgres-image - pre-integration-test - exec - - docker - - push - ${docker.repo}/${tb-postgres.docker.name}:latest - - - - - push-version-docker-tb-postgres-image - pre-integration-test - exec - - docker - - push - ${docker.repo}/${tb-postgres.docker.name}:${project.version} - - - - - push-latest-docker-tb-cassandra-image - pre-integration-test - exec - - docker - - push - ${docker.repo}/${tb-cassandra.docker.name}:latest - - - - - push-version-docker-tb-cassandra-image - pre-integration-test - exec - - docker - - push - ${docker.repo}/${tb-cassandra.docker.name}:${project.version} - - - - - - - - - - push-docker-amd-arm-images - - - push-docker-amd-arm-images - - - - - - org.codehaus.mojo - exec-maven-plugin - - - push-latest-docker-amd-arm-tb-postgres-images - pre-integration-test - - exec - - - docker - ${project.build.directory}/docker-postgres - - buildx - build - -t - ${docker.repo}/${tb-postgres.docker.name}:latest - --platform=linux/amd64,linux/arm64 - -o - type=registry - . - - - - - push-version-docker-amd-arm-tb-postgres-images - pre-integration-test - - exec - - - docker - ${project.build.directory}/docker-postgres - - buildx - build - -t - ${docker.repo}/${tb-postgres.docker.name}:${project.version} - --platform=linux/amd64,linux/arm64 - -o - type=registry - . - - - - - push-latest-docker-amd-arm-tb-cassandra-images - pre-integration-test - - exec - - - docker - ${project.build.directory}/docker-cassandra - - buildx - build - -t - ${docker.repo}/${tb-cassandra.docker.name}:latest - --platform=linux/amd64,linux/arm64 - -o - type=registry - . - - - - - push-version-docker-amd-arm-tb-cassandra-images - pre-integration-test - - exec - - - docker - ${project.build.directory}/docker-cassandra - - buildx - build - -t - ${docker.repo}/${tb-cassandra.docker.name}:${project.version} - --platform=linux/amd64,linux/arm64 - -o - type=registry - . - - - - - - - - - - - - jenkins - Jenkins Repository - https://repo.jenkins-ci.org/releases - - false - - - - From f0073a1649206b43607e07dccef0a31592296145 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Tue, 29 Sep 2026 09:32:48 +0300 Subject: [PATCH 004/275] Version set to 4.4.0 --- common/agent-api/pom.xml | 2 +- common/integration/apache-pulsar/pom.xml | 2 +- common/integration/aws-integrations/pom.xml | 2 +- common/integration/azure-integrations/pom.xml | 2 +- common/integration/cluster-integration-api/pom.xml | 2 +- common/integration/coap-integrations/pom.xml | 2 +- common/integration/gcloud-integrations/pom.xml | 2 +- common/integration/http-integrations/pom.xml | 2 +- common/integration/integration-api/pom.xml | 2 +- common/integration/kafka-integrations/pom.xml | 2 +- common/integration/mqtt-integrations/pom.xml | 2 +- common/integration/opcua-integrations/pom.xml | 2 +- common/integration/pom.xml | 2 +- common/integration/rabbitmq-integrations/pom.xml | 2 +- common/integration/remote-integration-api/pom.xml | 2 +- common/integration/tuya-integrations/pom.xml | 2 +- common/report/pom.xml | 2 +- integration/apache-pulsar/pom.xml | 2 +- integration/aws/pom.xml | 2 +- integration/azure/pom.xml | 2 +- integration/coap/pom.xml | 2 +- integration/executor/pom.xml | 2 +- integration/http/pom.xml | 2 +- integration/kafka/pom.xml | 2 +- integration/mqtt/pom.xml | 2 +- integration/opc-ua/pom.xml | 2 +- integration/pom.xml | 2 +- integration/pubsub/pom.xml | 2 +- integration/rabbitmq/pom.xml | 2 +- integration/tcp-udp/pom.xml | 2 +- integration/tuya/pom.xml | 2 +- migrator/pom.xml | 2 +- msa/integration/apache-pulsar/pom.xml | 2 +- msa/integration/aws/pom.xml | 2 +- msa/integration/azure/pom.xml | 2 +- msa/integration/coap/pom.xml | 2 +- msa/integration/executor/pom.xml | 2 +- msa/integration/http/pom.xml | 2 +- msa/integration/kafka/pom.xml | 2 +- msa/integration/mqtt/pom.xml | 2 +- msa/integration/opc-ua/pom.xml | 2 +- msa/integration/pom.xml | 2 +- msa/integration/pubsub/pom.xml | 2 +- msa/integration/rabbitmq/pom.xml | 2 +- msa/integration/tcp-udp/pom.xml | 2 +- msa/integration/tuya/pom.xml | 2 +- msa/migrator/pom.xml | 2 +- msa/report/pom.xml | 2 +- msa/web-report/pom.xml | 2 +- packaging/pom.xml | 2 +- report/pom.xml | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/common/agent-api/pom.xml b/common/agent-api/pom.xml index 116cd3478a..b710b6ec92 100644 --- a/common/agent-api/pom.xml +++ b/common/agent-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/integration/apache-pulsar/pom.xml b/common/integration/apache-pulsar/pom.xml index dabe13c243..43d86ee9ec 100644 --- a/common/integration/apache-pulsar/pom.xml +++ b/common/integration/apache-pulsar/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/aws-integrations/pom.xml b/common/integration/aws-integrations/pom.xml index 59f1830998..5991986dcc 100644 --- a/common/integration/aws-integrations/pom.xml +++ b/common/integration/aws-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/azure-integrations/pom.xml b/common/integration/azure-integrations/pom.xml index f521b0f1c7..cc6e95e41e 100644 --- a/common/integration/azure-integrations/pom.xml +++ b/common/integration/azure-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/cluster-integration-api/pom.xml b/common/integration/cluster-integration-api/pom.xml index d26c39df6b..5cd553b9c9 100644 --- a/common/integration/cluster-integration-api/pom.xml +++ b/common/integration/cluster-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/coap-integrations/pom.xml b/common/integration/coap-integrations/pom.xml index 6142b068b0..847cc77cba 100644 --- a/common/integration/coap-integrations/pom.xml +++ b/common/integration/coap-integrations/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/gcloud-integrations/pom.xml b/common/integration/gcloud-integrations/pom.xml index 4a7ebfed15..a74a0c1689 100644 --- a/common/integration/gcloud-integrations/pom.xml +++ b/common/integration/gcloud-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/http-integrations/pom.xml b/common/integration/http-integrations/pom.xml index 99aa616128..ac7c10c3c8 100644 --- a/common/integration/http-integrations/pom.xml +++ b/common/integration/http-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/integration-api/pom.xml b/common/integration/integration-api/pom.xml index 892a3bd16f..d0d71d0d10 100644 --- a/common/integration/integration-api/pom.xml +++ b/common/integration/integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/kafka-integrations/pom.xml b/common/integration/kafka-integrations/pom.xml index de0ae80585..6c602ff697 100644 --- a/common/integration/kafka-integrations/pom.xml +++ b/common/integration/kafka-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/mqtt-integrations/pom.xml b/common/integration/mqtt-integrations/pom.xml index bc2df4cf5e..e501ff160f 100644 --- a/common/integration/mqtt-integrations/pom.xml +++ b/common/integration/mqtt-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/opcua-integrations/pom.xml b/common/integration/opcua-integrations/pom.xml index d8e861692c..a916e2c002 100644 --- a/common/integration/opcua-integrations/pom.xml +++ b/common/integration/opcua-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/pom.xml b/common/integration/pom.xml index df625de93c..d86e9f1a93 100644 --- a/common/integration/pom.xml +++ b/common/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/common/integration/rabbitmq-integrations/pom.xml b/common/integration/rabbitmq-integrations/pom.xml index 1f733387ef..538c7f05fa 100644 --- a/common/integration/rabbitmq-integrations/pom.xml +++ b/common/integration/rabbitmq-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/remote-integration-api/pom.xml b/common/integration/remote-integration-api/pom.xml index 50a0a6f815..ab97b2ffe4 100644 --- a/common/integration/remote-integration-api/pom.xml +++ b/common/integration/remote-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/integration/tuya-integrations/pom.xml b/common/integration/tuya-integrations/pom.xml index d67fe3cc7c..fbced3377d 100644 --- a/common/integration/tuya-integrations/pom.xml +++ b/common/integration/tuya-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.common.integration diff --git a/common/report/pom.xml b/common/report/pom.xml index 22374c1ff8..983f58af0d 100644 --- a/common/report/pom.xml +++ b/common/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 common org.thingsboard.common diff --git a/integration/apache-pulsar/pom.xml b/integration/apache-pulsar/pom.xml index 1f2209de28..24395e77f8 100644 --- a/integration/apache-pulsar/pom.xml +++ b/integration/apache-pulsar/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/aws/pom.xml b/integration/aws/pom.xml index 4087d35ffa..95b31245cc 100644 --- a/integration/aws/pom.xml +++ b/integration/aws/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/azure/pom.xml b/integration/azure/pom.xml index 2e0fadb59c..bd8c984c97 100644 --- a/integration/azure/pom.xml +++ b/integration/azure/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/coap/pom.xml b/integration/coap/pom.xml index 7f639ffab3..49e0a804be 100644 --- a/integration/coap/pom.xml +++ b/integration/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/executor/pom.xml b/integration/executor/pom.xml index 2c925ae21e..6a44bb6274 100644 --- a/integration/executor/pom.xml +++ b/integration/executor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/http/pom.xml b/integration/http/pom.xml index e71c8b9220..26ec0890f6 100644 --- a/integration/http/pom.xml +++ b/integration/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/kafka/pom.xml b/integration/kafka/pom.xml index 7625ac1da6..0e2d4ae595 100644 --- a/integration/kafka/pom.xml +++ b/integration/kafka/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/mqtt/pom.xml b/integration/mqtt/pom.xml index 8d75054d4a..8f358d3688 100644 --- a/integration/mqtt/pom.xml +++ b/integration/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/opc-ua/pom.xml b/integration/opc-ua/pom.xml index 5f1feee9a0..b045cb7753 100644 --- a/integration/opc-ua/pom.xml +++ b/integration/opc-ua/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/pom.xml b/integration/pom.xml index 10e14d5cdf..04fdc4ef23 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard integration diff --git a/integration/pubsub/pom.xml b/integration/pubsub/pom.xml index 4ebf2c9004..7f24d19f0a 100644 --- a/integration/pubsub/pom.xml +++ b/integration/pubsub/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/rabbitmq/pom.xml b/integration/rabbitmq/pom.xml index 0fd0baa9f6..bcb65c27cb 100644 --- a/integration/rabbitmq/pom.xml +++ b/integration/rabbitmq/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/tcp-udp/pom.xml b/integration/tcp-udp/pom.xml index f8978a6476..7c4be9ef10 100644 --- a/integration/tcp-udp/pom.xml +++ b/integration/tcp-udp/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/integration/tuya/pom.xml b/integration/tuya/pom.xml index d1d35600fe..53ddb4f08a 100644 --- a/integration/tuya/pom.xml +++ b/integration/tuya/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 integration org.thingsboard.integration diff --git a/migrator/pom.xml b/migrator/pom.xml index dc214af268..73f6dfe7e5 100644 --- a/migrator/pom.xml +++ b/migrator/pom.xml @@ -12,7 +12,7 @@ thingsboard org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 migrator diff --git a/msa/integration/apache-pulsar/pom.xml b/msa/integration/apache-pulsar/pom.xml index a500bf1dee..088dc3da2f 100644 --- a/msa/integration/apache-pulsar/pom.xml +++ b/msa/integration/apache-pulsar/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/aws/pom.xml b/msa/integration/aws/pom.xml index 88aac0688f..346028ff64 100644 --- a/msa/integration/aws/pom.xml +++ b/msa/integration/aws/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/azure/pom.xml b/msa/integration/azure/pom.xml index f3da36fa70..faf00671b8 100644 --- a/msa/integration/azure/pom.xml +++ b/msa/integration/azure/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/coap/pom.xml b/msa/integration/coap/pom.xml index a0a4599231..f6c360f513 100644 --- a/msa/integration/coap/pom.xml +++ b/msa/integration/coap/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/executor/pom.xml b/msa/integration/executor/pom.xml index 03b691a486..e847841310 100644 --- a/msa/integration/executor/pom.xml +++ b/msa/integration/executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/http/pom.xml b/msa/integration/http/pom.xml index 79afb60403..aade79481e 100644 --- a/msa/integration/http/pom.xml +++ b/msa/integration/http/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/kafka/pom.xml b/msa/integration/kafka/pom.xml index 8aacaee624..1fcbb74e66 100644 --- a/msa/integration/kafka/pom.xml +++ b/msa/integration/kafka/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/mqtt/pom.xml b/msa/integration/mqtt/pom.xml index 31dc11484c..06d37ee56b 100644 --- a/msa/integration/mqtt/pom.xml +++ b/msa/integration/mqtt/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/opc-ua/pom.xml b/msa/integration/opc-ua/pom.xml index 41beaf8378..e0f35ca968 100644 --- a/msa/integration/opc-ua/pom.xml +++ b/msa/integration/opc-ua/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/pom.xml b/msa/integration/pom.xml index 163e458073..84844a36a6 100644 --- a/msa/integration/pom.xml +++ b/msa/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa diff --git a/msa/integration/pubsub/pom.xml b/msa/integration/pubsub/pom.xml index c3a9cd9f10..805bbe7d34 100644 --- a/msa/integration/pubsub/pom.xml +++ b/msa/integration/pubsub/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/rabbitmq/pom.xml b/msa/integration/rabbitmq/pom.xml index bcbd8f24a0..7ca9ef95c4 100644 --- a/msa/integration/rabbitmq/pom.xml +++ b/msa/integration/rabbitmq/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/tcp-udp/pom.xml b/msa/integration/tcp-udp/pom.xml index 0641df3861..d6a345fa51 100644 --- a/msa/integration/tcp-udp/pom.xml +++ b/msa/integration/tcp-udp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/integration/tuya/pom.xml b/msa/integration/tuya/pom.xml index cb7cbad262..0bcb11d430 100644 --- a/msa/integration/tuya/pom.xml +++ b/msa/integration/tuya/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0-SNAPSHOT + 4.4.0 integration diff --git a/msa/migrator/pom.xml b/msa/migrator/pom.xml index b5858de7d1..d505acd04a 100644 --- a/msa/migrator/pom.xml +++ b/msa/migrator/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa diff --git a/msa/report/pom.xml b/msa/report/pom.xml index 1f2e13ace4..e6315f468a 100644 --- a/msa/report/pom.xml +++ b/msa/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml index b9006e548e..1a2b26a3cc 100644 --- a/msa/web-report/pom.xml +++ b/msa/web-report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 msa org.thingsboard.msa diff --git a/packaging/pom.xml b/packaging/pom.xml index 1f842ae087..d635ec8d16 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard packaging diff --git a/report/pom.xml b/report/pom.xml index 191edabe0e..a632633644 100644 --- a/report/pom.xml +++ b/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0-SNAPSHOT + 4.4.0 thingsboard report From e5378bd01ff652c7bdb82ec7a458484b719c21d8 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 21 Oct 2026 15:42:28 +0300 Subject: [PATCH 005/275] Add chat with saved AI models by ID for API clients --- .../upgrade/lts/4.4.1.0/schema_update.sql | 2 + .../server/controller/AiModelController.java | 70 ++++++- .../service/ai/TbAiModelChatRequest.java | 32 +++ .../install/lts/V4_4_1_0Migration.java | 106 +++++++++- .../permission/CustomerUserPermissions.java | 19 ++ .../trendz/DefaultTrendzSyncService.java | 1 + .../controller/AiModelControllerTest.java | 192 ++++++++++++++++++ .../install/lts/V4_4_1_0MigrationTest.java | 151 ++++++++++++++ .../service/trendz/TrendzSyncServiceTest.java | 11 + .../server/dao/ai/AiModelService.java | 2 + .../server/common/data/ai/AiModel.java | 10 + .../common/data/permission/Operation.java | 3 +- .../common/data/permission/Resource.java | 6 +- .../thingsboard/server/dao/ai/AiModelDao.java | 4 + .../server/dao/ai/AiModelServiceImpl.java | 7 +- .../server/dao/model/ModelConstants.java | 1 + .../server/dao/model/sql/AiModelEntity.java | 5 + .../server/dao/sql/ai/AiModelRepository.java | 7 +- .../server/dao/sql/ai/JpaAiModelDao.java | 7 +- .../main/resources/sql/schema-entities.sql | 15 +- .../ai-model/ai-model-dialog.component.html | 6 + .../ai-model/ai-model-dialog.component.ts | 1 + .../src/app/shared/models/ai-model.models.ts | 1 + .../src/app/shared/models/security.models.ts | 3 +- .../assets/locale/locale.constant-en_US.json | 5 +- 25 files changed, 641 insertions(+), 26 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java create mode 100644 application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java diff --git a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql index 7d857eb6b2..78aa309ba5 100644 --- a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql +++ b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql @@ -6,3 +6,5 @@ -- Tenant-scoped paging over calculated fields (WHERE tenant_id = ? ORDER BY id LIMIT ?), issued for every tenant -- when the calculated field actors initialize, otherwise scans the whole table and sorts on each call. CREATE INDEX IF NOT EXISTS idx_calculated_field_tenant_id_id ON calculated_field(tenant_id, id); + +ALTER TABLE ai_model ADD COLUMN IF NOT EXISTS available_via_api BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index 646e3e06af..5db4b29a7f 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -20,10 +20,12 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.request.async.DeferredResult; +import org.thingsboard.rule.engine.ai.TbResponseFormat; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; import org.thingsboard.server.common.data.ai.dto.TbChatResponse; import org.thingsboard.server.common.data.ai.model.chat.AiChatModelConfig; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.page.PageData; @@ -32,6 +34,8 @@ import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.config.annotations.ApiOperation; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.AiChatModelService; +import org.thingsboard.server.service.ai.TbAiModelChatRequest; +import org.thingsboard.server.service.security.model.SecurityUser; import java.time.Duration; import java.util.Optional; @@ -45,6 +49,7 @@ import static org.thingsboard.server.controller.ControllerConstants.PAGE_SIZE_DE import static org.thingsboard.server.controller.ControllerConstants.SORT_ORDER_DESCRIPTION; import static org.thingsboard.server.controller.ControllerConstants.SORT_PROPERTY_DESCRIPTION; import static org.thingsboard.server.controller.ControllerConstants.TENANT_AUTHORITY_PARAGRAPH; +import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH; @Validated @RestController @@ -107,12 +112,14 @@ class AiModelController extends BaseController { @Parameter(description = SORT_PROPERTY_DESCRIPTION, schema = @Schema(allowableValues = {"createdTime", "name", "provider", "modelId"})) @RequestParam(required = false) String sortProperty, @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) - @RequestParam(required = false) String sortOrder + @RequestParam(required = false) String sortOrder, + @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") + @RequestParam(required = false) Boolean availableViaApi ) throws ThingsboardException { var user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.READ); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); - return aiModelService.findAiModelsByTenantId(user.getTenantId(), pageLink); + return aiModelService.findAiModelsByTenantId(user.getTenantId(), availableViaApi, pageLink); } @ApiOperation( @@ -152,15 +159,66 @@ class AiModelController extends BaseController { @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/chat") public DeferredResult sendChatRequest(@Valid @RequestBody TbChatRequest tbChatRequest) throws ThingsboardException { - ChatRequest langChainChatRequest = tbChatRequest.toLangChainChatRequest(); - AiChatModelConfig chatModelConfig = tbChatRequest.chatModelConfig(); + return executeChatRequest(tbChatRequest.chatModelConfig(), tbChatRequest.toLangChainChatRequest()); + } + + @ApiOperation( + value = "Send request to a saved AI chat model (sendChatRequestToAiModel)", + notes = "Submits a single prompt - made up of an optional system message and a required user message - to the AI chat model " + + "with the specified `id`, using its saved configuration, and returns either the generated answer or an error envelope. " + + "The model must be marked as available via API, and the user must have the 'INVOKE' permission for AI models. " + + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE', " + + "so marking a model as available via API makes it callable by every user with such a role." + + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH + ) + @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") + @PostMapping("/{modelUuid}/chat") + public DeferredResult sendChatRequestToAiModel( + @Parameter( + description = "ID of the AI model record", + required = true, + example = "de7900d4-30e2-11f0-9cd2-0242ac120002" + ) + @PathVariable UUID modelUuid, + @Valid @RequestBody TbAiModelChatRequest request + ) throws ThingsboardException { + AiModel model = checkAiModelId(new AiModelId(modelUuid), Operation.INVOKE); + if (!model.isAvailableViaApi()) { + throw new ThingsboardException("AI model with id [" + modelUuid + "] is not available via API", ThingsboardErrorCode.PERMISSION_DENIED); + } + if (!(model.getConfiguration() instanceof AiChatModelConfig chatModelConfig)) { + throw new ThingsboardException("AI model with id [" + modelUuid + "] is not a chat model", ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } - ListenableFuture future = aiChatModelService.sendChatRequestAsync(getTenantId(), chatModelConfig, langChainChatRequest) + ChatRequest chatRequest = new TbChatRequest(request.systemMessage(), request.userMessage(), chatModelConfig).toLangChainChatRequest(); + TbResponseFormat responseFormat = request.responseFormat(); + if (responseFormat != null) { + if (!responseFormat.isSupportedBy(chatModelConfig)) { + throw new ThingsboardException("AI model with id [" + modelUuid + "] does not support '" + responseFormat.type() + "' response format", + ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } + chatRequest = chatRequest.toBuilder().responseFormat(responseFormat.toLangChainResponseFormat()).build(); + } + return executeChatRequest(chatModelConfig, chatRequest); + } + + private DeferredResult executeChatRequest(AiChatModelConfig chatModelConfig, ChatRequest chatRequest) throws ThingsboardException { + SecurityUser user = getCurrentUser(); + ListenableFuture future = aiChatModelService.sendChatRequestAsync(user.getTenantId(), chatModelConfig, chatRequest) .transform(chatResponse -> (TbChatResponse) new TbChatResponse.Success(chatResponse.aiMessage().text()), directExecutor()) - .catching(Throwable.class, ex -> new TbChatResponse.Failure(ex.getMessage()), directExecutor()); + .catching(Throwable.class, ex -> toFailure(user, ex), directExecutor()); Integer requestTimeoutSeconds = chatModelConfig.timeoutSeconds(); return requestTimeoutSeconds != null ? wrapFuture(future, Duration.ofSeconds(requestTimeoutSeconds).toMillis()) : wrapFuture(future); } + private TbChatResponse.Failure toFailure(SecurityUser user, Throwable ex) { + if (!user.isCustomerUser()) { + return new TbChatResponse.Failure(ex.getMessage()); + } + // Provider errors may reveal configuration details that customer users must not see + log.debug("[{}] Chat request of customer user [{}] failed", user.getTenantId(), user.getId(), ex); + return new TbChatResponse.Failure("Failed to get a response from the AI model"); + } + } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java b/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java new file mode 100644 index 0000000000..11210d593a --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.ai; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotNull; +import org.thingsboard.rule.engine.ai.TbResponseFormat; +import org.thingsboard.server.common.data.ai.dto.TbUserMessage; + +public record TbAiModelChatRequest( + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + description = "A system-level instruction that frames the user's input, setting the persona, tone, and constraints for the generated response", + example = "You are a helpful assistant. Only output valid JSON." + ) + String systemMessage, + + @Schema( + requiredMode = Schema.RequiredMode.REQUIRED, + description = "The actual user prompt that will be answered by the AI model" + ) + @NotNull @Valid + TbUserMessage userMessage, + + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + description = "Format of the generated response; plain text when omitted" + ) + @Valid + TbResponseFormat responseFormat +) {} diff --git a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java index 7b79bc59be..05583e5744 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java +++ b/application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_1_0Migration.java @@ -2,29 +2,125 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.service.install.lts; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.pat.ApiKeyService; import org.thingsboard.server.queue.util.TbCoreComponent; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import static org.thingsboard.server.dao.trendz.TrendzSyncService.TRENDZ_API_KEY_DESCRIPTION; + /** - * Registration-only migration with no {@link #apply()} (no data migration). + * Migration for version {@code 4.4.1.0}. *

- * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the - * on-disk {@code data/upgrade/lts//} directories. So this bean is what makes the runner discover - * version {@code 4.4.1.0} and execute its {@code data/upgrade/lts/4.4.1.0/schema_update.sql}, which adds the - * {@code idx_calculated_field_tenant_id_id} index used by tenant-scoped calculated field paging. + * {@link MigrationService} selects migrations from the injected {@link Migration} beans, not from the on-disk + * {@code data/upgrade/lts//} directories, so this bean is what makes the runner discover version + * {@code 4.4.1.0} and execute its {@code data/upgrade/lts/4.4.1.0/schema_update.sql}. *

* It needs a slot of its own rather than {@code 4.4.0.0}: that version is already released, and * {@link Version#isInRange} is exclusive at the lower bound, so an installation already on {@code 4.4.0.0} * would never pick up a change added there. *

* The dir/bean consistency (both ways) is guarded by a test in {@code MigrationIntegrationTest}. + *

+ * Each thing this version migrates lives in its own private method called from {@link #apply()}, with the constants + * it needs declared inside it, so a further change means one more method and one more line in {@code apply()}. */ +@Slf4j @Component @TbCoreComponent +@RequiredArgsConstructor public class V4_4_1_0Migration implements Migration { + private final ApiKeyService apiKeyService; + @Override public String getVersion() { return "4.4.1.0"; } + + /** + * Runs in the same transaction as the version's schema SQL on the no-downtime path, and outside any transaction + * on the offline path (see {@link Migration#apply}). Every step below must therefore be light enough to sit in + * a schema transaction, and idempotent, since a crash before the version is recorded re-runs it. + */ + @Override + public void apply() { + grantAiModelReadAndInvokeToTrendzApiKey(); + } + + /** + * Grants {@link Operation#READ} and {@link Operation#INVOKE} on {@link Resource#AI_MODEL} to the internal Trendz API key. + *

+ * Trendz lists AI models and sends chat requests to them through that key, but keys minted before this version were + * created from a {@code buildTrendzPermissions()} that did not include the resource, so every AI model endpoint + * answered 403. New keys get it from {@code DefaultTrendzSyncService.buildTrendzPermissions()}, which is the source + * of truth this method mirrors -- keep the two in step. + *

+ * Expressed against the {@link Resource} and {@link Operation} enums rather than as SQL over the permissions JSON, + * so renaming an enum constant breaks the build instead of silently matching nothing. + *

+ * Idempotent: an operation already present is never added twice, and the key is saved only when something actually + * changed, so a re-run is a no-op. + */ + private void grantAiModelReadAndInvokeToTrendzApiKey() { + // The operations Trendz needs to list AI models and send chat requests to them. + Set aiModelOperations = EnumSet.of(Operation.READ, Operation.INVOKE); + // SYS_ADMIN is deliberately absent: AI models are tenant entities. + List authorities = List.of(Authority.TENANT_ADMIN, Authority.CUSTOMER_USER); + + ApiKey trendzApiKey = apiKeyService.findInternalApiKeyByDescription(TenantId.SYS_TENANT_ID, TRENDZ_API_KEY_DESCRIPTION); + if (trendzApiKey == null || trendzApiKey.getPermissions() == null + || trendzApiKey.getPermissions().getOperationsByResource() == null) { + log.debug("No internal Trendz API key with stored permissions, nothing to grant"); + return; + } + + Map>> byAuthority = + new HashMap<>(trendzApiKey.getPermissions().getOperationsByResource()); + boolean changed = false; + + for (Authority authority : authorities) { + Map> byResource = byAuthority.get(authority); + if (byResource == null) { + continue; + } + // Copy rather than mutate in place: the deserialized maps and sets carry no mutability guarantee. + Map> updatedByResource = new HashMap<>(byResource); + Set operations = updatedByResource.get(Resource.AI_MODEL); + if (operations != null && operations.containsAll(aiModelOperations)) { + continue; + } + // An authority the key covers gets the resource even if it was never granted: AI models are new to the key. + Set updated = EnumSet.copyOf(aiModelOperations); + if (operations != null) { + updated.addAll(operations); + } + updatedByResource.put(Resource.AI_MODEL, updated); + changed = true; + byAuthority.put(authority, updatedByResource); + } + + if (!changed) { + log.debug("Internal Trendz API key already grants {} on {}", aiModelOperations, Resource.AI_MODEL); + return; + } + + trendzApiKey.getPermissions().setOperationsByResource(byAuthority); + // Preserves the key's value, so Trendz keeps authenticating with the secret it already holds, and evicts the + // key from the cache, which would otherwise keep serving the old permissions for the rest of its TTL. + apiKeyService.saveApiKey(TenantId.SYS_TENANT_ID, trendzApiKey); + log.info("Granted {} on {} to the internal Trendz API key", aiModelOperations, Resource.AI_MODEL); + } } diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index 2eab59f385..14223b4321 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -93,6 +93,7 @@ public class CustomerUserPermissions extends AbstractPermissions { put(Resource.REPORT_TEMPLATE, reportTemplatePermissionChecker); put(Resource.REPORT, customerStandaloneEntityPermissionChecker); put(Resource.API_KEY, apiKeysPermissionChecker); + put(Resource.AI_MODEL, aiModelPermissionChecker); } private final PermissionChecker customerAlarmPermissionChecker = new PermissionChecker<>() { @@ -487,6 +488,24 @@ public class CustomerUserPermissions extends AbstractPermissions { } }; + // Only INVOKE is grantable: reading the model would expose the provider credentials stored in its configuration. + // Roles granting ALL include INVOKE, so the model's 'availableViaApi' flag decides which models such users can call. + private static final PermissionChecker aiModelPermissionChecker = new PermissionChecker() { + + @Override + public boolean hasPermission(SecurityUser user, Resource resource, Operation operation) { + return operation == Operation.INVOKE && user.getUserPermissions().hasGenericPermission(resource, operation); + } + + @Override + public boolean hasPermission(SecurityUser user, Operation operation, EntityId entityId, TenantEntity entity) { + if (operation != Operation.INVOKE || !user.getTenantId().equals(entity.getTenantId())) { + return false; + } + return user.getUserPermissions().hasGenericPermission(Resource.AI_MODEL, operation); + } + }; + private static final PermissionChecker apiKeysPermissionChecker = new PermissionChecker() { @Override diff --git a/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java b/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java index dbf379f658..fbb88fd12a 100644 --- a/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java +++ b/application/src/main/java/org/thingsboard/server/service/trendz/DefaultTrendzSyncService.java @@ -385,6 +385,7 @@ public class DefaultTrendzSyncService implements TrendzSyncService { tenantCustomerPermissions.put(Resource.WHITE_LABELING, Set.of(Operation.READ)); tenantCustomerPermissions.put(Resource.DEVICE_PROFILE, Set.of(Operation.READ, Operation.READ_CALCULATED_FIELD)); tenantCustomerPermissions.put(Resource.ASSET_PROFILE, Set.of(Operation.READ, Operation.READ_CALCULATED_FIELD)); + tenantCustomerPermissions.put(Resource.AI_MODEL, Set.of(Operation.READ, Operation.INVOKE)); permissions.put(Authority.TENANT_ADMIN, tenantCustomerPermissions); permissions.put(Authority.CUSTOMER_USER, tenantCustomerPermissions); diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index 84ce79e571..f35a6ed923 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -28,6 +28,7 @@ import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.SortOrder; import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.service.ai.TbAiModelChatRequest; import java.util.List; @@ -90,9 +91,26 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(savedModel.getTenantId()).isEqualTo(tenantId); assertThat(savedModel.getName()).isEqualTo("Test model"); assertThat(savedModel.getConfiguration()).isEqualTo(model.getConfiguration()); + assertThat(savedModel.isAvailableViaApi()).isFalse(); assertThat(savedModel.getExternalId()).isNull(); } + @Test + public void saveAiModel_whenAvailableViaApiIsSet_shouldPersistIt() throws Exception { + // GIVEN + loginTenantAdmin(); + + AiModel model = constructValidOpenAiModel("Test model"); + model.setAvailableViaApi(true); + + // WHEN + var savedModel = doPost("/api/ai/model", model, AiModel.class); + + // THEN + assertThat(savedModel.isAvailableViaApi()).isTrue(); + assertThat(doGet("/api/ai/model/" + savedModel.getId(), AiModel.class).isAvailableViaApi()).isTrue(); + } + @Test public void saveAiModel_whenUpdatingExistingModelAsTenantAdmin_shouldSucceed() throws Exception { // GIVEN @@ -244,6 +262,132 @@ public class AiModelControllerTest extends AbstractControllerTest { } } + /* --- Chat with saved model API tests --- */ + + @Test + public void sendChatRequestToAiModel_whenUserIsSysAdmin_shouldReturnForbidden() throws Exception { + // GIVEN + loginSysAdmin(); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + Uuids.timeBased() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()).andExpect(statusReason(equalTo(msgErrorPermission))); + } + + @Test + public void sendChatRequestToAiModel_whenModelDoesNotExist_shouldReturnNotFound() throws Exception { + // GIVEN + loginTenantAdmin(); + + var nonexistentModelId = new AiModelId(Uuids.timeBased()); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + nonexistentModelId + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isNotFound()) + .andExpect(statusReason(is("AI model with id [" + nonexistentModelId + "] is not found"))); + } + + @Test + public void sendChatRequestToAiModel_whenModelIsNotAvailableViaApi_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()) + .andExpect(statusReason(is("AI model with id [" + model.getId() + "] is not available via API"))); + } + + @Test + public void sendChatRequestToAiModel_whenTenantAdmin_shouldUseStoredConfigurationAndReturnProviderError() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + SsrfProtectionValidator.setEnabled(true); + + try { + // WHEN + TbChatResponse response = doPostAsync("/api/ai/model/" + model.getId() + "/chat", constructChatRequest(), TbChatResponse.class, status().isOk()); + + // THEN + assertThat(response).isInstanceOf(TbChatResponse.Failure.class); + assertThat(((TbChatResponse.Failure) response).errorDetails()).contains("URI is invalid"); + } finally { + SsrfProtectionValidator.setEnabled(false); + } + } + + @Test + public void sendChatRequestToAiModel_whenCustomerAdmin_shouldBeAllowedAndHideProviderError() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + loginCustomerAdminUser(); + SsrfProtectionValidator.setEnabled(true); + + try { + // WHEN + TbChatResponse response = doPostAsync("/api/ai/model/" + model.getId() + "/chat", constructChatRequest(), TbChatResponse.class, status().isOk()); + + // THEN + assertThat(response).isInstanceOf(TbChatResponse.Failure.class); + assertThat(((TbChatResponse.Failure) response).errorDetails()).isEqualTo("Failed to get a response from the AI model"); + } finally { + SsrfProtectionValidator.setEnabled(false); + } + } + + @Test + public void sendChatRequestToAiModel_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + loginCustomerUser(); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()) + .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); + } + + /* --- Customer permission tests --- */ + + @Test + public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowInvokeOnly() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + loginCustomerAdminUser(); + + // WHEN / THEN + assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); + assertThat(hasAiModelPermission(model, "READ")).isFalse(); + assertThat(hasAiModelPermission(model, "WRITE")).isFalse(); + assertThat(hasAiModelPermission(model, "DELETE")).isFalse(); + } + + @Test + public void aiModelPermission_whenCustomerUserGrantedReadOnAllResources_shouldDenyReadAndInvoke() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + loginCustomerUser(); + + // WHEN / THEN + assertThat(hasAiModelPermission(model, "READ")).isFalse(); + assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); + } + /* --- Get by ID API tests --- */ @Test @@ -442,6 +586,27 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(result4.hasNext()).isFalse(); } + @Test + public void getAiModels_testFilterByAvailableViaApi() throws Exception { + // GIVEN + loginTenantAdmin(); + + var available = constructValidOpenAiModel("Available model"); + available.setAvailableViaApi(true); + available = doPost("/api/ai/model", available, AiModel.class); + var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); + + // WHEN + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyUnavailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=false&", new TypeReference<>() {}, new PageLink(10)); + PageData all = doGetTypedWithPageLink("/api/ai/model?", new TypeReference<>() {}, new PageLink(10)); + + // THEN + assertThat(onlyAvailable.getData()).containsExactly(available); + assertThat(onlyUnavailable.getData()).containsExactly(unavailable); + assertThat(all.getData()).containsExactlyInAnyOrder(available, unavailable); + } + @Test public void getAiModels_testSortingByCreatedTime() throws Exception { // GIVEN @@ -703,6 +868,33 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(deleted).isFalse(); } + private AiModel saveModelAvailableViaApiWithBlockedBaseUrl() throws Exception { + var modelConfig = OpenAiChatModelConfig.builder() + .providerConfig(OpenAiProviderConfig.builder() + .baseUrl("http://10.0.0.1:8080/") + .apiKey("test-api-key") + .build()) + .modelId("gpt-4o") + .build(); + + var model = AiModel.builder() + .tenantId(tenantId) + .name("Test model") + .configuration(modelConfig) + .availableViaApi(true) + .build(); + + return doPost("/api/ai/model", model, AiModel.class); + } + + private TbAiModelChatRequest constructChatRequest() { + return new TbAiModelChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); + } + + private boolean hasAiModelPermission(AiModel model, String operation) throws Exception { + return doGet("/api/permission/AI_MODEL/" + model.getId() + "/" + operation, Boolean.class); + } + private AiModel constructValidOpenAiModel(String name) { var modelConfig = OpenAiChatModelConfig.builder() .providerConfig(OpenAiProviderConfig.builder() diff --git a/application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java b/application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java new file mode 100644 index 0000000000..fe239caf6a --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/install/lts/V4_4_1_0MigrationTest.java @@ -0,0 +1,151 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.install.lts; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentCaptor; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.thingsboard.server.common.data.id.ApiKeyId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.permission.AuthorityPermissionsInfo; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.pat.ApiKeyService; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.UUID; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; +import static org.thingsboard.server.dao.trendz.TrendzSyncService.TRENDZ_API_KEY_DESCRIPTION; + +@ExtendWith(MockitoExtension.class) +class V4_4_1_0MigrationTest { + + private static final List AUTHORITIES = List.of(Authority.TENANT_ADMIN, Authority.CUSTOMER_USER); + + @Mock + private ApiKeyService apiKeyService; + + @InjectMocks + private V4_4_1_0Migration migration; + + @Test + void grantsAiModelReadAndInvokeWithoutDroppingExistingOperations() { + givenTrendzApiKey(byAuthority(legacyPermissions(), AUTHORITIES)); + + migration.apply(); + + Map>> byAuthority = savedPermissions(); + for (Authority authority : AUTHORITIES) { + assertEquals(Set.of(Operation.READ, Operation.INVOKE), byAuthority.get(authority).get(Resource.AI_MODEL), + "expected READ and INVOKE on AI_MODEL for " + authority); + } + assertEquals(Set.of(Operation.READ, Operation.READ_TELEMETRY), + byAuthority.get(Authority.TENANT_ADMIN).get(Resource.DEVICE), + "the operations the key already had must survive"); + } + + @Test + void keepsOperationsTheKeyAlreadyHadOnAiModel() { + Map> permissions = legacyPermissions(); + permissions.put(Resource.AI_MODEL, Set.of(Operation.READ, Operation.WRITE)); + givenTrendzApiKey(byAuthority(permissions, AUTHORITIES)); + + migration.apply(); + + Map>> byAuthority = savedPermissions(); + for (Authority authority : AUTHORITIES) { + assertEquals(Set.of(Operation.READ, Operation.WRITE, Operation.INVOKE), byAuthority.get(authority).get(Resource.AI_MODEL), + "expected the existing AI_MODEL operations plus INVOKE for " + authority); + } + } + + /** + * {@link Migration#apply()} re-runs when a node crashes before the version is recorded, so a key that already + * carries the operations must not be written again. + */ + @Test + void alreadyGrantedKeyIsNotSavedAgain() { + Map> permissions = legacyPermissions(); + permissions.put(Resource.AI_MODEL, Set.of(Operation.READ, Operation.INVOKE)); + givenTrendzApiKey(byAuthority(permissions, AUTHORITIES)); + + migration.apply(); + + verify(apiKeyService, never()).saveApiKey(any(), any()); + } + + @Test + void authorityTheKeyDoesNotCoverIsNotAdded() { + givenTrendzApiKey(byAuthority(legacyPermissions(), List.of(Authority.TENANT_ADMIN))); + + migration.apply(); + + Map>> byAuthority = savedPermissions(); + assertEquals(Set.of(Operation.READ, Operation.INVOKE), byAuthority.get(Authority.TENANT_ADMIN).get(Resource.AI_MODEL)); + assertFalse(byAuthority.containsKey(Authority.CUSTOMER_USER), "an authority the key never covered must stay absent"); + } + + @Test + void missingTrendzApiKeyIsNoOp() { + when(apiKeyService.findInternalApiKeyByDescription(TenantId.SYS_TENANT_ID, TRENDZ_API_KEY_DESCRIPTION)) + .thenReturn(null); + + migration.apply(); + + verify(apiKeyService, never()).saveApiKey(any(), any()); + } + + private Map>> savedPermissions() { + ArgumentCaptor saved = ArgumentCaptor.forClass(ApiKeyInfo.class); + verify(apiKeyService).saveApiKey(eq(TenantId.SYS_TENANT_ID), saved.capture()); + return saved.getValue().getPermissions().getOperationsByResource(); + } + + private void givenTrendzApiKey(Map>> byAuthority) { + ApiKey apiKey = new ApiKey(new ApiKeyId(UUID.randomUUID())); + apiKey.setTenantId(TenantId.SYS_TENANT_ID); + apiKey.setInternal(true); + apiKey.setDescription(TRENDZ_API_KEY_DESCRIPTION); + + AuthorityPermissionsInfo permissions = new AuthorityPermissionsInfo(); + permissions.setOperationsByResource(byAuthority); + apiKey.setPermissions(permissions); + + when(apiKeyService.findInternalApiKeyByDescription(TenantId.SYS_TENANT_ID, TRENDZ_API_KEY_DESCRIPTION)) + .thenReturn(apiKey); + } + + // Separate map instances per authority, the way a key deserialized from the permissions column arrives -- + // buildTrendzPermissions() shares one instance, but that sharing does not survive the JSON round trip. + private Map>> byAuthority(Map> permissions, List authorities) { + Map>> byAuthority = new HashMap<>(); + authorities.forEach(authority -> byAuthority.put(authority, new HashMap<>(permissions))); + return byAuthority; + } + + // What a key created before 4.4.1.0 holds. Immutable inner sets on purpose: the migration must copy what it reads + // rather than mutate it. + private Map> legacyPermissions() { + Map> permissions = new HashMap<>(); + permissions.put(Resource.DEVICE, Set.of(Operation.READ, Operation.READ_TELEMETRY)); + permissions.put(Resource.ASSET, Set.of(Operation.READ, Operation.READ_TELEMETRY)); + permissions.put(Resource.DEVICE_PROFILE, Set.of(Operation.READ)); + return permissions; + } +} diff --git a/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java b/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java index 5ed6c7d49e..bf60ccce85 100644 --- a/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/trendz/TrendzSyncServiceTest.java @@ -21,6 +21,9 @@ import org.springframework.web.client.RestTemplate; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.trendz.TrendzConfiguration; import org.thingsboard.server.common.data.trendz.TrendzHealthcheckResult; import org.thingsboard.server.common.data.trendz.TrendzSettings; @@ -33,6 +36,9 @@ import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.dao.trendz.TrendzSettingsService; import org.thingsboard.server.service.security.system.SystemSecurityService; +import java.util.List; +import java.util.Set; + import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -219,6 +225,11 @@ public class TrendzSyncServiceTest extends AbstractControllerTest { assertNotNull(apiKeyByDescription); assertTrue(apiKeyByDescription.isInternal()); assertEquals(DefaultTrendzSyncService.TRENDZ_API_KEY_DESCRIPTION, apiKeyByDescription.getDescription()); + for (Authority authority : List.of(Authority.TENANT_ADMIN, Authority.CUSTOMER_USER)) { + assertEquals(Set.of(Operation.READ, Operation.INVOKE), + apiKeyByDescription.getPermissions().getPermissionsForAuthority(authority).get(Resource.AI_MODEL), + "expected READ and INVOKE on AI_MODEL for " + authority); + } } @Test diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index 0f17fae25d..d3ca8f0d66 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -22,6 +22,8 @@ public interface AiModelService extends EntityDaoService { PageData findAiModelsByTenantId(TenantId tenantId, PageLink pageLink); + PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId); FluentFuture> findAiModelByTenantIdAndIdAsync(TenantId tenantId, AiModelId modelId); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java index 0438ee585b..9aa973da81 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java @@ -70,6 +70,15 @@ public final class AiModel extends BaseData implements TenantEntity, ) private AiModelConfig configuration; + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + accessMode = Schema.AccessMode.READ_WRITE, + description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", + defaultValue = "false" + ) + private boolean availableViaApi; + private AiModelId externalId; public AiModel() {} @@ -85,6 +94,7 @@ public final class AiModel extends BaseData implements TenantEntity, version = model.getVersion(); name = model.getName(); configuration = model.getConfiguration(); + availableViaApi = model.isAvailableViaApi(); externalId = model.getExternalId() == null ? null : new AiModelId(model.getExternalId().getId()); } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java index 4998ae736a..a030e713d0 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java @@ -31,7 +31,8 @@ public enum Operation { SHARE_GROUP(true), ASSIGN_TO_TENANT, READ_CALCULATED_FIELD(true), - WRITE_CALCULATED_FIELD(true); + WRITE_CALCULATED_FIELD(true), + INVOKE; public static Set defaultEntityOperations = new HashSet<>(Arrays.asList(ALL, READ, WRITE, CREATE, DELETE, READ_ATTRIBUTES, WRITE_ATTRIBUTES, READ_TELEMETRY, WRITE_TELEMETRY, CHANGE_OWNER)); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java index 9d4ca7f810..1d6c6480d4 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java @@ -157,7 +157,8 @@ public enum Resource { operationsByResource.put(Resource.SECRET, Operation.crudOperations); operationsByResource.put(Resource.REPORT_TEMPLATE, Operation.crudOperations); operationsByResource.put(Resource.REPORT, Operation.crudOperations); - operationsByResource.put(Resource.AI_MODEL, Operation.crudOperations); + operationsByResource.put(Resource.AI_MODEL, Set.of(Operation.ALL, Operation.READ, Operation.WRITE, + Operation.CREATE, Operation.DELETE, Operation.INVOKE)); operationsByResource.put(Resource.AI, Set.of(Operation.ALL)); operationsByResource.put(Resource.CUSTOM_MENU, Set.of(Operation.ALL, Operation.READ, Operation.WRITE, Operation.DELETE)); operationsByResource.put(Resource.API_KEY, Operation.crudOperations); @@ -283,7 +284,8 @@ public enum Resource { Resource.REPORT_TEMPLATE, Resource.REPORT, Resource.JOB, - Resource.API_KEY + Resource.API_KEY, + Resource.AI_MODEL )); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java index 58fcb92b16..b8902a0f05 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java @@ -5,6 +5,8 @@ package org.thingsboard.server.dao.ai; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.dao.ExportableEntityDao; import org.thingsboard.server.dao.TenantEntityDao; @@ -15,6 +17,8 @@ public interface AiModelDao extends TenantEntityDao, ExportableEntityDa Optional findByTenantIdAndId(TenantId tenantId, AiModelId modelId); + PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + boolean deleteById(TenantId tenantId, AiModelId modelId); Set deleteByTenantId(TenantId tenantId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index ae0f575d44..012c133b9d 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -91,8 +91,13 @@ class AiModelServiceImpl extends CachedVersionedEntityService findAiModelsByTenantId(TenantId tenantId, PageLink pageLink) { + return findAiModelsByTenantId(tenantId, null, pageLink); + } + + @Override + public PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); - return aiModelDao.findAllByTenantId(tenantId, pageLink); + return aiModelDao.findByTenantId(tenantId, availableViaApi, pageLink); } @Override diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java index 08e4d29d8d..b32788a06a 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java @@ -1085,6 +1085,7 @@ public class ModelConstants { public static final String AI_MODEL_TENANT_ID_COLUMN_NAME = TENANT_ID_COLUMN; public static final String AI_MODEL_NAME_COLUMN_NAME = NAME_PROPERTY; public static final String AI_MODEL_CONFIGURATION_COLUMN_NAME = "configuration"; + public static final String AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME = "available_via_api"; /** * Api Key constants. diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index eaed13c0a8..83798e6bb7 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -53,6 +53,9 @@ public class AiModelEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_CONFIGURATION_COLUMN_NAME, nullable = false, columnDefinition = "JSONB") private AiModelConfig configuration; + @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME, nullable = false) + private boolean availableViaApi; + @Column(name = ModelConstants.EXTERNAL_ID_PROPERTY, columnDefinition = "UUID") private UUID externalId; @@ -63,6 +66,7 @@ public class AiModelEntity extends BaseVersionedEntity { tenantId = getTenantUuid(aiModel.getTenantId()); name = aiModel.getName(); configuration = aiModel.getConfiguration(); + availableViaApi = aiModel.isAvailableViaApi(); externalId = getUuid(aiModel.getExternalId()); } @@ -74,6 +78,7 @@ public class AiModelEntity extends BaseVersionedEntity { model.setTenantId(TenantId.fromUUID(tenantId)); model.setName(name); model.setConfiguration(configuration); + model.setAvailableViaApi(availableViaApi); model.setExternalId(getEntityId(externalId, AiModelId::new)); return model; } diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java index 4c25202970..25e6589a1f 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java @@ -30,6 +30,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT * FROM ai_model model WHERE model.tenant_id = :tenantId + AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -39,6 +40,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT COUNT(*) FROM ai_model model WHERE model.tenant_id = :tenantId + AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -46,7 +48,10 @@ interface AiModelRepository extends JpaRepository, Exportab """, nativeQuery = true ) - Page findByTenantId(@Param("tenantId") UUID tenantId, @Param("textSearch") String textSearch, Pageable pageable); + Page findByTenantId(@Param("tenantId") UUID tenantId, + @Param("availableViaApi") Boolean availableViaApi, + @Param("textSearch") String textSearch, + Pageable pageable); @Query("SELECT ai_model.id FROM AiModelEntity ai_model WHERE ai_model.tenantId = :tenantId") Page findIdsByTenantId(@Param("tenantId") UUID tenantId, Pageable pageable); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java index f9b735429d..92d9829b68 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java @@ -61,8 +61,13 @@ class JpaAiModelDao extends JpaAbstractDao implements Ai @Override public PageData findByTenantId(UUID tenantId, PageLink pageLink) { + return findByTenantId(TenantId.fromUUID(tenantId), null, pageLink); + } + + @Override + public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { return DaoUtil.toPageData(aiModelRepository.findByTenantId( - tenantId, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) + tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) ); } diff --git a/dao/src/main/resources/sql/schema-entities.sql b/dao/src/main/resources/sql/schema-entities.sql index 0f55b4fae0..9de7393439 100644 --- a/dao/src/main/resources/sql/schema-entities.sql +++ b/dao/src/main/resources/sql/schema-entities.sql @@ -1369,13 +1369,14 @@ CREATE TABLE IF NOT EXISTS report ( ) PARTITION BY RANGE (created_time); CREATE TABLE IF NOT EXISTS ai_model ( - id UUID NOT NULL PRIMARY KEY, - external_id UUID, - created_time BIGINT NOT NULL, - tenant_id UUID NOT NULL, - version BIGINT NOT NULL DEFAULT 1, - name VARCHAR(255) NOT NULL, - configuration JSONB NOT NULL, + id UUID NOT NULL PRIMARY KEY, + external_id UUID, + created_time BIGINT NOT NULL, + tenant_id UUID NOT NULL, + version BIGINT NOT NULL DEFAULT 1, + name VARCHAR(255) NOT NULL, + configuration JSONB NOT NULL, + available_via_api BOOLEAN NOT NULL DEFAULT FALSE, CONSTRAINT ai_model_name_unq_key UNIQUE (tenant_id, name), CONSTRAINT ai_model_external_id_unq_key UNIQUE (tenant_id, external_id) ); diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html index 1c6ff6ddd1..e40df84fc0 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html @@ -39,6 +39,12 @@ } +

+ + {{ 'ai-models.available-via-api' | translate }} + +
diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts index 8e9e8e4744..fe89bbea4c 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts @@ -90,6 +90,7 @@ export class AIModelDialogComponent extends DialogComponent, 'label'>, HasTenantId, ExportableEntity { modelType: ModelType; + availableViaApi?: boolean; configuration: { provider: AiProvider providerConfig: { diff --git a/ui-ngx/src/app/shared/models/security.models.ts b/ui-ngx/src/app/shared/models/security.models.ts index c18ad2897f..127044e6e2 100644 --- a/ui-ngx/src/app/shared/models/security.models.ts +++ b/ui-ngx/src/app/shared/models/security.models.ts @@ -37,7 +37,8 @@ export enum Operation { SHARE_GROUP = 'SHARE_GROUP', ASSIGN_TO_TENANT = 'ASSIGN_TO_TENANT', READ_CALCULATED_FIELD = 'READ_CALCULATED_FIELD', - WRITE_CALCULATED_FIELD = 'WRITE_CALCULATED_FIELD' + WRITE_CALCULATED_FIELD = 'WRITE_CALCULATED_FIELD', + INVOKE = 'INVOKE' } const operationTypeTranslations = new Map(); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ac6c6aa10b..b181c50576 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -1880,6 +1880,8 @@ "model": "Model", "name": "Name", "ai-provider": "AI provider", + "available-via-api": "Available via API", + "available-via-api-hint": "Allows users with the 'Invoke' permission for AI models to send chat requests to this model via REST API, e.g. from Trendz Analytics. Roles that grant all operations, such as the default 'Customer Administrator' role, include 'Invoke', so every user with such a role can call this model. The model configuration and credentials are never exposed. Customer users can only be granted the 'Invoke' operation for AI models.", "no-found": "No AI models found", "list": "{ count, plural, =1 {One model} other {List of # models} }", "selected-fields": "{ count, plural, =1 {1 model} other {# models} } selected", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Share Group", "ASSIGN_TO_TENANT": "Assign to Tenant", "READ_CALCULATED_FIELD": "Read Calculated Field and Alarm Rules", - "WRITE_CALCULATED_FIELD": "Write Calculated Field and Alarm Rules" + "WRITE_CALCULATED_FIELD": "Write Calculated Field and Alarm Rules", + "INVOKE": "Invoke" } } }, From ca11bd6fcdb88a72937c5a915ee6156c52e66100 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 21 Oct 2026 15:51:21 +0300 Subject: [PATCH 006/275] Add translations --- ui-ngx/src/assets/locale/locale.constant-ar_AE.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-ca_ES.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-da_DK.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-de_DE.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-el_GR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-es_ES.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-fr_FR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-hi_IN.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-it_IT.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-ja_JP.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-ka_GE.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-ko_KR.json | 2 ++ ui-ngx/src/assets/locale/locale.constant-lt_LT.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-lv_LV.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-nl_BE.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-nl_NL.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-no_NO.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-pl_PL.json | 3 ++- ui-ngx/src/assets/locale/locale.constant-pt_BR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-tr_TR.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-uk_UA.json | 5 ++++- ui-ngx/src/assets/locale/locale.constant-zh_CN.json | 5 ++++- 22 files changed, 74 insertions(+), 21 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json index 7df242b8fc..a51b420b32 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json @@ -4806,7 +4806,8 @@ "ADD_TO_GROUP": "إضافة إلى المجموعة", "REMOVE_FROM_GROUP": "إزالة من المجموعة", "SHARE_GROUP": "مشاركة المجموعة", - "ASSIGN_TO_TENANT": "تعيين للمستأجر" + "ASSIGN_TO_TENANT": "تعيين للمستأجر", + "INVOKE": "استدعاء" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index a3fd019569..cd83d0c96b 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -3836,7 +3836,8 @@ "ADD_TO_GROUP": "Afegeix al grup", "REMOVE_FROM_GROUP": "Elimina del grup", "SHARE_GROUP": "Comparteix el grup", - "ASSIGN_TO_TENANT": "Assigna a l'arrendatari" + "ASSIGN_TO_TENANT": "Assigna a l'arrendatari", + "INVOKE": "Invoca" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index fb4c1f5b0f..302826f355 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -1767,6 +1767,8 @@ "model": "Model", "name": "Navn", "ai-provider": "AI-udbyder", + "available-via-api": "Tilgængelig via API", + "available-via-api-hint": "Giver brugere med tilladelsen 'Kald' for AI-modeller mulighed for at sende chatforespørgsler til denne model via REST API, f.eks. fra Trendz Analytics. Roller, der giver alle handlinger, såsom standardrollen 'Customer Administrator', omfatter 'Kald', så alle brugere med en sådan rolle kan kalde denne model. Modellens konfiguration og legitimationsoplysninger vises aldrig. Kundebrugere kan kun tildeles handlingen 'Kald' for AI-modeller.", "no-found": "Ingen AI-modeller fundet", "list": "{ count, plural, =1 {Én model} other {Liste med # modeller} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modeller} } valgt", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Del gruppe", "ASSIGN_TO_TENANT": "Tildel til lejer", "READ_CALCULATED_FIELD": "Læs beregnet felt", - "WRITE_CALCULATED_FIELD": "Skriv beregnet felt" + "WRITE_CALCULATED_FIELD": "Skriv beregnet felt", + "INVOKE": "Kald" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 87d88383a8..828e53496b 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -1880,6 +1880,8 @@ "model": "Modell", "name": "Name", "ai-provider": "KI-Anbieter", + "available-via-api": "Über API verfügbar", + "available-via-api-hint": "Erlaubt Benutzern mit der Berechtigung 'Aufrufen' für KI-Modelle, über die REST-API Chat-Anfragen an dieses Modell zu senden, z. B. aus Trendz Analytics. Rollen, die alle Operationen gewähren, wie die Standardrolle 'Customer Administrator', enthalten 'Aufrufen', sodass jeder Benutzer mit einer solchen Rolle dieses Modell aufrufen kann. Die Modellkonfiguration und die Zugangsdaten werden nie offengelegt. Kundenbenutzern kann für KI-Modelle nur die Operation 'Aufrufen' gewährt werden.", "no-found": "Keine KI-Modelle gefunden", "list": "{ count, plural, one {Ein Modell} other {Liste von # Modellen} }", "selected-fields": "{ count, plural, one {# Modell} other {# Modelle} } ausgewählt", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Gruppe teilen", "ASSIGN_TO_TENANT": "Mandanten zuweisen", "READ_CALCULATED_FIELD": "Berechnetes Feld lesen", - "WRITE_CALCULATED_FIELD": "Berechnetes Feld schreiben" + "WRITE_CALCULATED_FIELD": "Berechnetes Feld schreiben", + "INVOKE": "Aufrufen" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index 5151ff67bb..eace9b01f5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -1767,6 +1767,8 @@ "model": "Μοντέλο", "name": "Όνομα", "ai-provider": "Πάροχος AI", + "available-via-api": "Διαθέσιμο μέσω API", + "available-via-api-hint": "Επιτρέπει σε χρήστες με το δικαίωμα 'Κλήση' για μοντέλα AI να στέλνουν αιτήματα συνομιλίας σε αυτό το μοντέλο μέσω REST API, π.χ. από το Trendz Analytics. Οι ρόλοι που παρέχουν όλες τις λειτουργίες, όπως ο προεπιλεγμένος ρόλος 'Customer Administrator', περιλαμβάνουν την 'Κλήση', οπότε κάθε χρήστης με τέτοιο ρόλο μπορεί να καλέσει αυτό το μοντέλο. Η διαμόρφωση και τα διαπιστευτήρια του μοντέλου δεν εκτίθενται ποτέ. Στους χρήστες πελατών μπορεί να εκχωρηθεί μόνο η λειτουργία 'Κλήση' για μοντέλα AI.", "no-found": "Δεν βρέθηκαν μοντέλα AI", "list": "{ count, plural, =1 {Ένα μοντέλο} other {Λίστα με # μοντέλα} }", "selected-fields": "{ count, plural, =1 {1 μοντέλο} other {# μοντέλα} } επιλεγμένα", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Κοινή χρήση ομάδας", "ASSIGN_TO_TENANT": "Ανάθεση σε ενοικιαστή", "READ_CALCULATED_FIELD": "Ανάγνωση υπολογιζόμενου πεδίου", - "WRITE_CALCULATED_FIELD": "Εγγραφή υπολογιζόμενου πεδίου" + "WRITE_CALCULATED_FIELD": "Εγγραφή υπολογιζόμενου πεδίου", + "INVOKE": "Κλήση" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index fb6eb7a139..a9d7fbce26 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -1767,6 +1767,8 @@ "model": "Modelo", "name": "Nombre", "ai-provider": "Proveedor de IA", + "available-via-api": "Disponible mediante API", + "available-via-api-hint": "Permite a los usuarios con el permiso 'Invocar' para modelos de IA enviar solicitudes de chat a este modelo mediante la API REST, p. ej., desde Trendz Analytics. Los roles que conceden todas las operaciones, como el rol predeterminado 'Customer Administrator', incluyen 'Invocar', por lo que cualquier usuario con dicho rol puede llamar a este modelo. La configuración y las credenciales del modelo nunca se exponen. A los usuarios de cliente solo se les puede conceder la operación 'Invocar' para modelos de IA.", "no-found": "No se encontraron modelos de IA", "list": "{ count, plural, =1 {Un modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } seleccionados", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Compartir grupo", "ASSIGN_TO_TENANT": "Asignar al arrendatario", "READ_CALCULATED_FIELD": "Leer campo calculado", - "WRITE_CALCULATED_FIELD": "Escribir campo calculado" + "WRITE_CALCULATED_FIELD": "Escribir campo calculado", + "INVOKE": "Invocar" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index bc5617bed3..136c4b31a3 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -1880,6 +1880,8 @@ "model": "Modèle", "name": "Nom", "ai-provider": "Fournisseur d’IA", + "available-via-api": "Disponible via l’API", + "available-via-api-hint": "Permet aux utilisateurs disposant de l’autorisation « Invoquer » pour les modèles d’IA d’envoyer des requêtes de chat à ce modèle via l’API REST, par exemple depuis Trendz Analytics. Les rôles qui accordent toutes les opérations, comme le rôle par défaut « Customer Administrator », incluent « Invoquer » : tout utilisateur disposant d’un tel rôle peut donc appeler ce modèle. La configuration et les identifiants du modèle ne sont jamais exposés. Les utilisateurs client ne peuvent recevoir que l’opération « Invoquer » pour les modèles d’IA.", "no-found": "Aucun modèle d’IA trouvé", "list": "{ count, plural, =1 {Un modèle} one {Liste de # modèle} other {Liste de # modèles} }", "selected-fields": "{ count, plural, one {# modèle sélectionné} other {# modèles sélectionnés} }", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Partager le groupe", "ASSIGN_TO_TENANT": "Assigner à un locataire", "READ_CALCULATED_FIELD": "Lire le champ calculé et les règles d’alarme", - "WRITE_CALCULATED_FIELD": "Écrire le champ calculé et les règles d’alarme" + "WRITE_CALCULATED_FIELD": "Écrire le champ calculé et les règles d’alarme", + "INVOKE": "Invoquer" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 19cbeac585..9284cbafd5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -1767,6 +1767,8 @@ "model": "मॉडल", "name": "नाम", "ai-provider": "AI प्रदाता", + "available-via-api": "API के माध्यम से उपलब्ध", + "available-via-api-hint": "AI मॉडल के लिए 'इनवोक करें' अनुमति वाले उपयोगकर्ताओं को REST API के माध्यम से इस मॉडल को चैट अनुरोध भेजने की अनुमति देता है, जैसे Trendz Analytics से। सभी ऑपरेशन प्रदान करने वाली भूमिकाएँ, जैसे डिफ़ॉल्ट 'Customer Administrator' भूमिका, में 'इनवोक करें' शामिल है, इसलिए ऐसी भूमिका वाला हर उपयोगकर्ता इस मॉडल को कॉल कर सकता है। मॉडल का कॉन्फ़िगरेशन और क्रेडेंशियल कभी प्रकट नहीं किए जाते। ग्राहक उपयोगकर्ताओं को AI मॉडल के लिए केवल 'इनवोक करें' ऑपरेशन दिया जा सकता है।", "no-found": "कोई AI मॉडल नहीं मिला", "list": "{ count, plural, =1 {एक मॉडल} other {# मॉडलों की सूची} }", "selected-fields": "{ count, plural, =1 {1 मॉडल} other {# मॉडल्स} } चयनित", @@ -7680,7 +7682,8 @@ "SHARE_GROUP": "समूह साझा करें", "ASSIGN_TO_TENANT": "टेनेंट को असाइन करें", "READ_CALCULATED_FIELD": "कैलक्युलेटेड फ़ील्ड पढ़ें", - "WRITE_CALCULATED_FIELD": "कैलक्युलेटेड फ़ील्ड लिखें" + "WRITE_CALCULATED_FIELD": "कैलक्युलेटेड फ़ील्ड लिखें", + "INVOKE": "इनवोक करें" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 9349219ccb..2dd62125bf 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -1767,6 +1767,8 @@ "model": "Modello", "name": "Nome", "ai-provider": "Fornitore AI", + "available-via-api": "Disponibile tramite API", + "available-via-api-hint": "Consente agli utenti con il permesso 'Invocare' per i modelli AI di inviare richieste di chat a questo modello tramite REST API, ad es. da Trendz Analytics. I ruoli che concedono tutte le operazioni, come il ruolo predefinito 'Customer Administrator', includono 'Invocare', quindi ogni utente con tale ruolo può chiamare questo modello. La configurazione e le credenziali del modello non vengono mai esposte. Agli utenti cliente può essere concessa solo l'operazione 'Invocare' per i modelli AI.", "no-found": "Nessun modello AI trovato", "list": "{ count, plural, =1 {Un modello} other {Elenco di # modelli} }", "selected-fields": "{ count, plural, =1 {1 modello} other {# modelli} } selezionati", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Condividi gruppo", "ASSIGN_TO_TENANT": "Assegna a tenant", "READ_CALCULATED_FIELD": "Leggi campo calcolato", - "WRITE_CALCULATED_FIELD": "Scrivi campo calcolato" + "WRITE_CALCULATED_FIELD": "Scrivi campo calcolato", + "INVOKE": "Invocare" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 9d6e50d666..eda154ae1d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -1767,6 +1767,8 @@ "model": "モデル", "name": "名前", "ai-provider": "AIプロバイダー", + "available-via-api": "API経由で利用可能", + "available-via-api-hint": "AIモデルの「呼び出し」権限を持つユーザーが、REST APIを介して(例:Trendz Analyticsから)このモデルにチャットリクエストを送信できるようにします。デフォルトの「Customer Administrator」ロールなど、すべての操作を許可するロールには「呼び出し」が含まれるため、そのようなロールを持つすべてのユーザーがこのモデルを呼び出せます。モデルの設定と認証情報が公開されることはありません。顧客ユーザーには、AIモデルに対して「呼び出し」操作のみを付与できます。", "no-found": "AIモデルが見つかりません", "list": "{ count, plural, =1 {AIモデル} other {AIモデル一覧 # 件} }", "selected-fields": "{ count, plural, =1 {1 件のAIモデル} other {# 件のAIモデル} } を選択", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "グループを共有", "ASSIGN_TO_TENANT": "テナントに割り当て", "READ_CALCULATED_FIELD": "計算フィールドを読み取り", - "WRITE_CALCULATED_FIELD": "計算フィールドを書き込み" + "WRITE_CALCULATED_FIELD": "計算フィールドを書き込み", + "INVOKE": "呼び出し" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ka_GE.json b/ui-ngx/src/assets/locale/locale.constant-ka_GE.json index 7114caed08..09c624d946 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ka_GE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ka_GE.json @@ -2211,7 +2211,8 @@ "IMPERSONATE": "განასახიერე", "CHANGE_OWNER": "მფლობელის ცვლილება", "ADD_TO_GROUP": "ჯგუფში დამატება", - "REMOVE_FROM_GROUP": "ჯგუფიდან წაშლა" + "REMOVE_FROM_GROUP": "ჯგუფიდან წაშლა", + "INVOKE": "გამოძახება" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index 5b323f1625..09d7fa0677 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -1607,6 +1607,8 @@ "model": "모델", "name": "이름", "ai-provider": "AI 제공자", + "available-via-api": "API를 통해 사용 가능", + "available-via-api-hint": "AI 모델에 대한 'Invoke' 권한이 있는 사용자가 REST API를 통해(예: Trendz Analytics에서) 이 모델에 채팅 요청을 보낼 수 있도록 합니다. 기본 'Customer Administrator' 역할처럼 모든 작업을 허용하는 역할에는 'Invoke'가 포함되므로 해당 역할을 가진 모든 사용자가 이 모델을 호출할 수 있습니다. 모델 구성과 자격 증명은 절대 노출되지 않습니다. 고객 사용자에게는 AI 모델에 대해 'Invoke' 작업만 부여할 수 있습니다.", "no-found": "AI 모델이 없습니다", "list": "{ count, plural, =1 {1개 모델} other {#개 모델 목록} }", "selected-fields": "{ count, plural, =1 {1개 모델} other {#개 모델} } 선택됨", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index 2214699f92..fda78b2d40 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -1301,6 +1301,8 @@ "model": "Modelis", "name": "Pavadinimas", "ai-provider": "AI tiekėjas", + "available-via-api": "Pasiekiama per API", + "available-via-api-hint": "Leidžia naudotojams, turintiems AI modelių leidimą „Iškviesti“, siųsti pokalbių užklausas šiam modeliui per REST API, pvz., iš Trendz Analytics. Rolės, suteikiančios visas operacijas, pvz., numatytoji rolė „Customer Administrator“, apima „Iškviesti“, todėl kiekvienas naudotojas, turintis tokią rolę, gali iškviesti šį modelį. Modelio konfigūracija ir prisijungimo duomenys niekada neatskleidžiami. Kliento naudotojams AI modeliams gali būti suteikta tik operacija „Iškviesti“.", "no-found": "AI modelių nerasta", "list": "{ count, plural, =1 {Vienas modelis} other {# modelių sąrašas} }", "selected-fields": "{ count, plural, =1 {1 modelis} other {# modeliai} } pasirinkta", @@ -7097,7 +7099,8 @@ "SHARE_GROUP": "Bendrinti grupę", "ASSIGN_TO_TENANT": "Priskirti valdytojui", "READ_CALCULATED_FIELD": "Skaityti apskaičiuotą lauką", - "WRITE_CALCULATED_FIELD": "Rašyti į apskaičiuotą lauką" + "WRITE_CALCULATED_FIELD": "Rašyti į apskaičiuotą lauką", + "INVOKE": "Iškviesti" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-lv_LV.json b/ui-ngx/src/assets/locale/locale.constant-lv_LV.json index be3c003ee3..322581da3d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lv_LV.json +++ b/ui-ngx/src/assets/locale/locale.constant-lv_LV.json @@ -2038,7 +2038,8 @@ "IMPERSONATE": "Personificēt", "CHANGE_OWNER": "Mainīt īpašnieku", "ADD_TO_GROUP": "Pievienot grupai", - "REMOVE_FROM_GROUP": "Noņemt no grupas" + "REMOVE_FROM_GROUP": "Noņemt no grupas", + "INVOKE": "Izsaukt" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json index f28f6a6ff5..b400cab3db 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json @@ -4739,7 +4739,8 @@ "ADD_TO_GROUP": "Voeg toe aan groep", "REMOVE_FROM_GROUP": "Verwijderen uit groep", "SHARE_GROUP": "Groep delen", - "ASSIGN_TO_TENANT": "Toewijzen aan tenant" + "ASSIGN_TO_TENANT": "Toewijzen aan tenant", + "INVOKE": "Aanroepen" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index 621b47ab69..a036f23506 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -1767,6 +1767,8 @@ "model": "Model", "name": "Naam", "ai-provider": "AI-provider", + "available-via-api": "Beschikbaar via API", + "available-via-api-hint": "Hiermee kunnen gebruikers met de machtiging 'Aanroepen' voor AI-modellen chatverzoeken naar dit model sturen via de REST API, bijvoorbeeld vanuit Trendz Analytics. Rollen die alle bewerkingen toestaan, zoals de standaardrol 'Customer Administrator', bevatten 'Aanroepen', zodat elke gebruiker met zo'n rol dit model kan aanroepen. De modelconfiguratie en inloggegevens worden nooit vrijgegeven. Klantgebruikers kunnen voor AI-modellen alleen de bewerking 'Aanroepen' krijgen.", "no-found": "Geen AI-modellen gevonden", "list": "{ count, plural, =1 {Eén model} other {Lijst van # modellen} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modellen} } geselecteerd", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Groep delen", "ASSIGN_TO_TENANT": "Toewijzen aan huurder", "READ_CALCULATED_FIELD": "Berekend veld lezen", - "WRITE_CALCULATED_FIELD": "Berekend veld schrijven" + "WRITE_CALCULATED_FIELD": "Berekend veld schrijven", + "INVOKE": "Aanroepen" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index 7346a5386f..084fff172f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -1767,6 +1767,8 @@ "model": "Modell", "name": "Navn", "ai-provider": "AI-leverandør", + "available-via-api": "Tilgjengelig via API", + "available-via-api-hint": "Lar brukere med tillatelsen 'Kall' for AI-modeller sende chatforespørsler til denne modellen via REST API, f.eks. fra Trendz Analytics. Roller som gir alle operasjoner, som standardrollen 'Customer Administrator', inkluderer 'Kall', så alle brukere med en slik rolle kan kalle denne modellen. Modellens konfigurasjon og legitimasjon blir aldri eksponert. Kundebrukere kan bare få operasjonen 'Kall' for AI-modeller.", "no-found": "Fant ingen AI-modeller", "list": "{ count, plural, =1 {Én modell} other {Liste over # modeller} }", "selected-fields": "{ count, plural, =1 {1 modell} other {# modeller} } valgt", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Del gruppe", "ASSIGN_TO_TENANT": "Tildel til leietaker", "READ_CALCULATED_FIELD": "Les kalkulert felt", - "WRITE_CALCULATED_FIELD": "Skriv kalkulert felt" + "WRITE_CALCULATED_FIELD": "Skriv kalkulert felt", + "INVOKE": "Kall" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index 7f9e26bd09..16bac4a035 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -4726,7 +4726,8 @@ "ADD_TO_GROUP": "Dodaj do grupy", "REMOVE_FROM_GROUP": "Usuń z grupy", "SHARE_GROUP": "Udostępnij grupę", - "ASSIGN_TO_TENANT": "Przypisz do tenanta" + "ASSIGN_TO_TENANT": "Przypisz do tenanta", + "INVOKE": "Wywołaj" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 206107ccca..e65f9c2b94 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -1767,6 +1767,8 @@ "model": "Modelo", "name": "Nome", "ai-provider": "Provedor de IA", + "available-via-api": "Disponível via API", + "available-via-api-hint": "Permite que usuários com a permissão 'Invocar' para modelos de IA enviem solicitações de chat a este modelo via API REST, por exemplo, a partir do Trendz Analytics. Funções que concedem todas as operações, como a função padrão 'Customer Administrator', incluem 'Invocar', portanto qualquer usuário com essa função pode chamar este modelo. A configuração e as credenciais do modelo nunca são expostas. Usuários de cliente só podem receber a operação 'Invocar' para modelos de IA.", "no-found": "Nenhum modelo de IA encontrado", "list": "{ count, plural, =1 {Um modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } selecionado(s)", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Compartilhar grupo", "ASSIGN_TO_TENANT": "Atribuir ao tenant", "READ_CALCULATED_FIELD": "Ler campo calculado e regras de alarme", - "WRITE_CALCULATED_FIELD": "Escrever campo calculado e regras de alarme" + "WRITE_CALCULATED_FIELD": "Escrever campo calculado e regras de alarme", + "INVOKE": "Invocar" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 1a8d8bd7b7..e4987c325d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -1767,6 +1767,8 @@ "model": "Model", "name": "Ad", "ai-provider": "Yapay Zeka Sağlayıcısı", + "available-via-api": "API üzerinden kullanılabilir", + "available-via-api-hint": "Yapay zeka modelleri için 'Çağır' iznine sahip kullanıcıların REST API üzerinden, örneğin Trendz Analytics'ten, bu modele sohbet istekleri göndermesine olanak tanır. Varsayılan 'Customer Administrator' rolü gibi tüm işlemleri veren roller 'Çağır' iznini içerir; bu nedenle böyle bir role sahip her kullanıcı bu modeli çağırabilir. Modelin yapılandırması ve kimlik bilgileri asla açığa çıkarılmaz. Müşteri kullanıcılarına yapay zeka modelleri için yalnızca 'Çağır' işlemi verilebilir.", "no-found": "Yapay zeka modeli bulunamadı", "list": "{ count, plural, =1 {Bir model} other {# model listesi} }", "selected-fields": "{ count, plural, =1 {1 model} other {# model seçildi} }", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "Grubu paylaş", "ASSIGN_TO_TENANT": "Kiracıya ata", "READ_CALCULATED_FIELD": "Hesaplanan alanı oku", - "WRITE_CALCULATED_FIELD": "Hesaplanan alanı yaz" + "WRITE_CALCULATED_FIELD": "Hesaplanan alanı yaz", + "INVOKE": "Çağır" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 8d62a64dc2..6f4c138a35 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -1880,6 +1880,8 @@ "model": "Модель", "name": "Назва", "ai-provider": "Постачальник ШІ", + "available-via-api": "Доступна через API", + "available-via-api-hint": "Дозволяє користувачам із дозволом «Виклик» для моделей ШІ надсилати чат-запити до цієї моделі через REST API, наприклад із Trendz Analytics. Ролі, що надають усі операції, як-от типова роль «Customer Administrator», містять «Виклик», тому кожен користувач із такою роллю може викликати цю модель. Конфігурація та облікові дані моделі ніколи не розкриваються. Користувачам клієнта для моделей ШІ можна надати лише операцію «Виклик».", "no-found": "Моделей ШІ не знайдено", "list": "{ count, plural, =1 {Одна модель} few {Список із # моделей} many {Список із # моделей} other {Список із # моделі} }", "selected-fields": "Вибрано { count, plural, one {# модель} few {# моделі} other {# моделей} }", @@ -8848,7 +8850,8 @@ "SHARE_GROUP": "Поділитися групою", "ASSIGN_TO_TENANT": "Призначити орендарю", "READ_CALCULATED_FIELD": "Читати розрахункові поля та правила тривог", - "WRITE_CALCULATED_FIELD": "Записати розрахункові поля та правила тривог" + "WRITE_CALCULATED_FIELD": "Записати розрахункові поля та правила тривог", + "INVOKE": "Виклик" } } }, diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index 3b3fa8a1d0..ac98416ffb 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -1767,6 +1767,8 @@ "model": "模型", "name": "名称", "ai-provider": "AI 提供商", + "available-via-api": "可通过 API 使用", + "available-via-api-hint": "允许拥有 AI 模型“调用”权限的用户通过 REST API(例如从 Trendz Analytics)向此模型发送聊天请求。授予所有操作的角色(例如默认的“Customer Administrator”角色)包含“调用”,因此拥有此类角色的每个用户都可以调用此模型。模型的配置和凭据永远不会被公开。客户用户只能被授予 AI 模型的“调用”操作。", "no-found": "未找到 AI 模型", "list": "{ count, plural, =1 {1 个模型} other {# 个模型列表} }", "selected-fields": "已选择{ count, plural, =1 {1 个模型} other {# 个模型} }", @@ -7679,7 +7681,8 @@ "SHARE_GROUP": "共享组", "ASSIGN_TO_TENANT": "分配给租户", "READ_CALCULATED_FIELD": "读取计算字段和告警规则", - "WRITE_CALCULATED_FIELD": "写入计算字段和告警规则" + "WRITE_CALCULATED_FIELD": "写入计算字段和告警规则", + "INVOKE": "调用" } } }, From 5de14bbc8fb1ed50353c613ee8405c69c7e366e3 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 21 Oct 2026 16:17:09 +0300 Subject: [PATCH 007/275] Fix headers --- .../java/org/thingsboard/server/dao/ai/AiModelService.java | 3 ++- .../main/java/org/thingsboard/server/dao/ai/AiModelDao.java | 3 ++- .../org/thingsboard/server/dao/ai/AiModelServiceImpl.java | 3 ++- .../org/thingsboard/server/dao/model/sql/AiModelEntity.java | 3 ++- tools/src/main/python/license-headers/curations.json | 4 ++-- ui-ngx/src/app/shared/models/ai-model.models.ts | 3 ++- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index d3ca8f0d66..d944480fb9 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.ai; import com.google.common.util.concurrent.FluentFuture; diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java index b8902a0f05..84be4e779e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.ai; import org.thingsboard.server.common.data.ai.AiModel; diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index 012c133b9d..95f1ea7ab8 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.ai; import com.google.common.util.concurrent.FluentFuture; diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index 83798e6bb7..a809bf1808 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.dao.model.sql; import io.hypersistence.utils.hibernate.type.json.JsonBinaryType; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index ecc5bb95de..cc51e0723f 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -479,13 +479,13 @@ "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Operation.java", "header": "ce-modified", "reason": "Reviewed relocation from application/src/main/java/org/thingsboard/server/service/security/permission/Operation.java in PE commit d97b2f71224e96c27fbdf287f592a08b6fa0407b. The source exists in shared CE ancestry 4c2aa4a60368318eafc2dea155b93721668654c4. The relocated CE permission enum has PE permission/group extensions. Compared with CE fa82445a7078506defbaadc5bea07227dc1b016d (blob b481176e53d5d4e1460882c578b4e4c00f895b3b); a move alone does not imply PE authorship.", - "contentHash": "sha256:d4bcb4e694df750984b311d786923a3a68291c5e1e45cb7715a0db9541d9dbe7" + "contentHash": "sha256:f57a3606b1303177721db29d33490e8a763f02a7a660c1358c55d4efff6f9e6b" }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/permission/Resource.java", "header": "ce-modified", "reason": "Reviewed relocation from application/src/main/java/org/thingsboard/server/service/security/permission/Resource.java in PE commit d97b2f71224e96c27fbdf287f592a08b6fa0407b. The source exists in shared CE ancestry 4c2aa4a60368318eafc2dea155b93721668654c4. The relocated CE permission enum has PE permission/group extensions. Compared with CE fa82445a7078506defbaadc5bea07227dc1b016d (blob d8b4dd8f4ef95df06ba22fd584813f437a8b453a); a move alone does not imply PE authorship.", - "contentHash": "sha256:635cb50f3945d1bca662a7100a6129bea1270755bf4fe7cd6bc9849f228a4f08" + "contentHash": "sha256:0f4157c5bea567a4fc31dfd45e793fe111a26e520a27442bf9f72b18348beb7d" }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/query/EntityGroupNameFilter.java", diff --git a/ui-ngx/src/app/shared/models/ai-model.models.ts b/ui-ngx/src/app/shared/models/ai-model.models.ts index 5428d452df..ced4b4c023 100644 --- a/ui-ngx/src/app/shared/models/ai-model.models.ts +++ b/ui-ngx/src/app/shared/models/ai-model.models.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { BaseData, ExportableEntity } from '@shared/models/base-data'; import { HasTenantId } from '@shared/models/entity.models'; import { AiModelId } from '@shared/models/id/ai-model-id'; From 6c7f993114851eea96787dd1435196e6c5152c8c Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 19 Oct 2026 18:49:37 +0300 Subject: [PATCH 008/275] fix(ui): update moment-timezone to 0.6.5 (tzdata 2026e) (cherry picked from commit f63642ee7c9fb2d34b3ac1d100b0f4d3de6a8aa0) --- ui-ngx/package.json | 2 +- ui-ngx/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 29375bfb2b..e30fe9a54b 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -80,7 +80,7 @@ "maplibre-gl": "6.11.2", "marked": "~16.4.2", "moment": "^2.31.0", - "moment-timezone": "^0.6.0", + "moment-timezone": "^0.6.5", "ngx-captcha": "^14.0.0", "ngx-clipboard": "^16.0.0", "ngx-daterangepicker-material": "^6.0.4", diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 72ac3f1277..e29c800f9a 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -8511,10 +8511,10 @@ mlly@^1.7.4, mlly@^1.8.0: pkg-types "^1.3.1" ufo "^1.6.3" -moment-timezone@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.6.0.tgz#c5a6519171f31a64739ea75d33f5c136c08ff608" - integrity sha512-ldA5lRNm3iJCWZcBCab4pnNL3HSZYXVb/3TYr75/1WCTWYuTqYUb5f/S384pncYjJ88lbO8Z4uPDvmoluHJc8Q== +moment-timezone@^0.6.5: + version "0.6.5" + resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.6.5.tgz#a8153ebe88199bd76f2d2ce329eb1d568eafbdee" + integrity sha512-KKzZAxGv2Qx4cnk6eSlvf4C+DLFW52vmMY5MN7UARY7GONbozkutylQG3DrrtmLCTXdQ5XZrqao9cI16bLFzXA== dependencies: moment "^2.29.4" From af3d687cb9f231852b0d2621cd807a467a7037db Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 22 Oct 2026 11:11:28 +0300 Subject: [PATCH 009/275] Bump Node.js version from 22.22.2 to 22.23.4 in Docker images (cherry picked from commit af0bd7eceac9c97eb6566a713268226fa8731fc0) --- msa/js-executor/docker/Dockerfile | 2 +- msa/web-ui/docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/msa/js-executor/docker/Dockerfile b/msa/js-executor/docker/Dockerfile index 3e62302278..7e5687f01c 100644 --- a/msa/js-executor/docker/Dockerfile +++ b/msa/js-executor/docker/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # -FROM thingsboard/node:22.22.2-bookworm-slim +FROM thingsboard/node:22.23.4-bookworm-slim ENV NODE_ENV production ENV DOCKER_MODE true diff --git a/msa/web-ui/docker/Dockerfile b/msa/web-ui/docker/Dockerfile index 25679f13d5..7f316f63ce 100644 --- a/msa/web-ui/docker/Dockerfile +++ b/msa/web-ui/docker/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # -FROM thingsboard/node:22.22.2-bookworm-slim +FROM thingsboard/node:22.23.4-bookworm-slim ENV NODE_ENV production ENV DOCKER_MODE true From 2e41d048518dcfb6d910781fced3a17fc2f5964f Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 22 Oct 2026 11:11:51 +0300 Subject: [PATCH 010/275] Bump Node.js version from 22.22.2 to 22.23.4 in web-report Docker image (cherry picked from thingsboard/thingsboard-pe commit e95574cd5a7fa66000453e2e86cb4e5d2bc85d8e) --- msa/web-report/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msa/web-report/docker/Dockerfile b/msa/web-report/docker/Dockerfile index 5eb0e50e8b..0043824e6f 100644 --- a/msa/web-report/docker/Dockerfile +++ b/msa/web-report/docker/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: BUSL-1.1 # -FROM thingsboard/node:22.22.2-bookworm-slim +FROM thingsboard/node:22.23.4-bookworm-slim ARG TARGETPLATFORM ARG DEBIAN_FRONTEND=noninteractive From 5c9f02f88dcdf2ee28f439cb9f122387f7bca013 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 22 Oct 2026 11:36:08 +0300 Subject: [PATCH 011/275] Version set to 4.4.0.1 --- application/pom.xml | 2 +- common/actor/pom.xml | 2 +- common/agent-api/pom.xml | 2 +- common/cache/pom.xml | 2 +- common/cluster-api/pom.xml | 2 +- common/coap-server/pom.xml | 2 +- common/dao-api/pom.xml | 2 +- common/data/pom.xml | 2 +- common/discovery-api/pom.xml | 2 +- common/edge-api/pom.xml | 2 +- common/edge-api/src/main/proto/edge.proto | 1 + common/edqs/pom.xml | 2 +- common/integration/apache-pulsar/pom.xml | 2 +- common/integration/aws-integrations/pom.xml | 2 +- common/integration/azure-integrations/pom.xml | 2 +- common/integration/cluster-integration-api/pom.xml | 2 +- common/integration/coap-integrations/pom.xml | 2 +- common/integration/gcloud-integrations/pom.xml | 2 +- common/integration/http-integrations/pom.xml | 2 +- common/integration/integration-api/pom.xml | 2 +- common/integration/kafka-integrations/pom.xml | 2 +- common/integration/mqtt-integrations/pom.xml | 2 +- common/integration/opcua-integrations/pom.xml | 2 +- common/integration/pom.xml | 2 +- common/integration/rabbitmq-integrations/pom.xml | 2 +- common/integration/remote-integration-api/pom.xml | 2 +- common/integration/tuya-integrations/pom.xml | 2 +- common/message/pom.xml | 2 +- common/pom.xml | 2 +- common/proto/pom.xml | 2 +- common/queue/pom.xml | 2 +- common/report/pom.xml | 2 +- common/script/pom.xml | 2 +- common/script/remote-js-client/pom.xml | 2 +- common/script/script-api/pom.xml | 2 +- common/stats/pom.xml | 2 +- common/transport/coap/pom.xml | 2 +- common/transport/http/pom.xml | 2 +- common/transport/lwm2m/pom.xml | 2 +- common/transport/mqtt/pom.xml | 2 +- common/transport/pom.xml | 2 +- common/transport/snmp/pom.xml | 2 +- common/transport/transport-api/pom.xml | 2 +- common/util/pom.xml | 2 +- common/version-control/pom.xml | 2 +- dao/pom.xml | 2 +- edqs/pom.xml | 2 +- integration/apache-pulsar/pom.xml | 2 +- integration/aws/pom.xml | 2 +- integration/azure/pom.xml | 2 +- integration/coap/pom.xml | 2 +- integration/executor/pom.xml | 2 +- integration/http/pom.xml | 2 +- integration/kafka/pom.xml | 2 +- integration/mqtt/pom.xml | 2 +- integration/opc-ua/pom.xml | 2 +- integration/pom.xml | 2 +- integration/pubsub/pom.xml | 2 +- integration/rabbitmq/pom.xml | 2 +- integration/tcp-udp/pom.xml | 2 +- integration/tuya/pom.xml | 2 +- migrator/pom.xml | 2 +- monitoring/pom.xml | 2 +- msa/black-box-tests/pom.xml | 2 +- msa/edqs/pom.xml | 2 +- msa/integration/apache-pulsar/pom.xml | 2 +- msa/integration/aws/pom.xml | 2 +- msa/integration/azure/pom.xml | 2 +- msa/integration/coap/pom.xml | 2 +- msa/integration/executor/pom.xml | 2 +- msa/integration/http/pom.xml | 2 +- msa/integration/kafka/pom.xml | 2 +- msa/integration/mqtt/pom.xml | 2 +- msa/integration/opc-ua/pom.xml | 2 +- msa/integration/pom.xml | 2 +- msa/integration/pubsub/pom.xml | 2 +- msa/integration/rabbitmq/pom.xml | 2 +- msa/integration/tcp-udp/pom.xml | 2 +- msa/integration/tuya/pom.xml | 2 +- msa/js-executor/package.json | 2 +- msa/js-executor/pom.xml | 2 +- msa/migrator/pom.xml | 2 +- msa/monitoring/pom.xml | 2 +- msa/pom.xml | 2 +- msa/report/pom.xml | 2 +- msa/tb-node/pom.xml | 2 +- msa/transport/coap/pom.xml | 2 +- msa/transport/http/pom.xml | 2 +- msa/transport/lwm2m/pom.xml | 2 +- msa/transport/mqtt/pom.xml | 2 +- msa/transport/pom.xml | 2 +- msa/transport/snmp/pom.xml | 2 +- msa/vc-executor-docker/pom.xml | 2 +- msa/vc-executor/pom.xml | 2 +- msa/web-report/package.json | 2 +- msa/web-report/pom.xml | 2 +- msa/web-ui/package.json | 2 +- msa/web-ui/pom.xml | 2 +- netty-mqtt/pom.xml | 4 ++-- packaging/pom.xml | 2 +- pom.xml | 2 +- report/pom.xml | 2 +- rest-client/pom.xml | 2 +- rule-engine/pom.xml | 2 +- rule-engine/rule-engine-api/pom.xml | 2 +- rule-engine/rule-engine-components/pom.xml | 2 +- tools/pom.xml | 2 +- transport/coap/pom.xml | 2 +- transport/http/pom.xml | 2 +- transport/lwm2m/pom.xml | 2 +- transport/mqtt/pom.xml | 2 +- transport/pom.xml | 2 +- transport/snmp/pom.xml | 2 +- ui-ngx/package.json | 2 +- ui-ngx/pom.xml | 2 +- 115 files changed, 116 insertions(+), 115 deletions(-) diff --git a/application/pom.xml b/application/pom.xml index a665ef439f..17a2f51691 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard application diff --git a/common/actor/pom.xml b/common/actor/pom.xml index bac82ddf7a..c308dc58ca 100644 --- a/common/actor/pom.xml +++ b/common/actor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/agent-api/pom.xml b/common/agent-api/pom.xml index b710b6ec92..eeeee5f237 100644 --- a/common/agent-api/pom.xml +++ b/common/agent-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/cache/pom.xml b/common/cache/pom.xml index 6f6b5394bd..0c3f4925b0 100644 --- a/common/cache/pom.xml +++ b/common/cache/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/cluster-api/pom.xml b/common/cluster-api/pom.xml index 2d86187f4b..6aef9f9d34 100644 --- a/common/cluster-api/pom.xml +++ b/common/cluster-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/coap-server/pom.xml b/common/coap-server/pom.xml index dd9c1427f3..f3faf25ac4 100644 --- a/common/coap-server/pom.xml +++ b/common/coap-server/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/dao-api/pom.xml b/common/dao-api/pom.xml index bf9379cf1a..43c7752444 100644 --- a/common/dao-api/pom.xml +++ b/common/dao-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/data/pom.xml b/common/data/pom.xml index 6ee5196d80..2819ee0e69 100644 --- a/common/data/pom.xml +++ b/common/data/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/discovery-api/pom.xml b/common/discovery-api/pom.xml index 037de797d9..db72104f2a 100644 --- a/common/discovery-api/pom.xml +++ b/common/discovery-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/edge-api/pom.xml b/common/edge-api/pom.xml index 6514f31b4e..2842e56523 100644 --- a/common/edge-api/pom.xml +++ b/common/edge-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index b6fbc6a82e..78946b65f4 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -50,6 +50,7 @@ enum EdgeVersion { V_4_3_1_5 = 4315; V_4_3_1_6 = 4316; V_4_4_0 = 4400; + V_4_4_0_1 = 4401; V_LATEST = 99999; } diff --git a/common/edqs/pom.xml b/common/edqs/pom.xml index 343ca5c530..026cd1fc87 100644 --- a/common/edqs/pom.xml +++ b/common/edqs/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/integration/apache-pulsar/pom.xml b/common/integration/apache-pulsar/pom.xml index 43d86ee9ec..dac6e6d79b 100644 --- a/common/integration/apache-pulsar/pom.xml +++ b/common/integration/apache-pulsar/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/aws-integrations/pom.xml b/common/integration/aws-integrations/pom.xml index 5991986dcc..5d3cf8d8c1 100644 --- a/common/integration/aws-integrations/pom.xml +++ b/common/integration/aws-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/azure-integrations/pom.xml b/common/integration/azure-integrations/pom.xml index cc6e95e41e..7f0c8eafe7 100644 --- a/common/integration/azure-integrations/pom.xml +++ b/common/integration/azure-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/cluster-integration-api/pom.xml b/common/integration/cluster-integration-api/pom.xml index 5cd553b9c9..1fac067c73 100644 --- a/common/integration/cluster-integration-api/pom.xml +++ b/common/integration/cluster-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/coap-integrations/pom.xml b/common/integration/coap-integrations/pom.xml index 847cc77cba..4bf2789bb5 100644 --- a/common/integration/coap-integrations/pom.xml +++ b/common/integration/coap-integrations/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/gcloud-integrations/pom.xml b/common/integration/gcloud-integrations/pom.xml index a74a0c1689..a06d294857 100644 --- a/common/integration/gcloud-integrations/pom.xml +++ b/common/integration/gcloud-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/http-integrations/pom.xml b/common/integration/http-integrations/pom.xml index ac7c10c3c8..30601ccb17 100644 --- a/common/integration/http-integrations/pom.xml +++ b/common/integration/http-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/integration-api/pom.xml b/common/integration/integration-api/pom.xml index d0d71d0d10..50ad90efeb 100644 --- a/common/integration/integration-api/pom.xml +++ b/common/integration/integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/kafka-integrations/pom.xml b/common/integration/kafka-integrations/pom.xml index 6c602ff697..06bb74cab1 100644 --- a/common/integration/kafka-integrations/pom.xml +++ b/common/integration/kafka-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/mqtt-integrations/pom.xml b/common/integration/mqtt-integrations/pom.xml index e501ff160f..534c6ab6ad 100644 --- a/common/integration/mqtt-integrations/pom.xml +++ b/common/integration/mqtt-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/opcua-integrations/pom.xml b/common/integration/opcua-integrations/pom.xml index a916e2c002..c187020c9f 100644 --- a/common/integration/opcua-integrations/pom.xml +++ b/common/integration/opcua-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/pom.xml b/common/integration/pom.xml index d86e9f1a93..6af18e33d0 100644 --- a/common/integration/pom.xml +++ b/common/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/integration/rabbitmq-integrations/pom.xml b/common/integration/rabbitmq-integrations/pom.xml index 538c7f05fa..b15208de2a 100644 --- a/common/integration/rabbitmq-integrations/pom.xml +++ b/common/integration/rabbitmq-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/remote-integration-api/pom.xml b/common/integration/remote-integration-api/pom.xml index ab97b2ffe4..28861737f2 100644 --- a/common/integration/remote-integration-api/pom.xml +++ b/common/integration/remote-integration-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/integration/tuya-integrations/pom.xml b/common/integration/tuya-integrations/pom.xml index fbced3377d..c31bdc00d6 100644 --- a/common/integration/tuya-integrations/pom.xml +++ b/common/integration/tuya-integrations/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 integration org.thingsboard.common.integration diff --git a/common/message/pom.xml b/common/message/pom.xml index ac3a6a17eb..53b9b0ce75 100644 --- a/common/message/pom.xml +++ b/common/message/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/pom.xml b/common/pom.xml index aaec600ad4..c91804b3c3 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard common diff --git a/common/proto/pom.xml b/common/proto/pom.xml index e3ec78de52..8cc6dfce8b 100644 --- a/common/proto/pom.xml +++ b/common/proto/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/queue/pom.xml b/common/queue/pom.xml index 105eadd61a..24c69d7bca 100644 --- a/common/queue/pom.xml +++ b/common/queue/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/report/pom.xml b/common/report/pom.xml index 983f58af0d..d88c759ccd 100644 --- a/common/report/pom.xml +++ b/common/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/script/pom.xml b/common/script/pom.xml index 54252e9d53..9d07e5a0e4 100644 --- a/common/script/pom.xml +++ b/common/script/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/script/remote-js-client/pom.xml b/common/script/remote-js-client/pom.xml index 3093aa202f..eefc333842 100644 --- a/common/script/remote-js-client/pom.xml +++ b/common/script/remote-js-client/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 script org.thingsboard.common.script diff --git a/common/script/script-api/pom.xml b/common/script/script-api/pom.xml index a579f3c452..2138bc5618 100644 --- a/common/script/script-api/pom.xml +++ b/common/script/script-api/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 script org.thingsboard.common.script diff --git a/common/stats/pom.xml b/common/stats/pom.xml index 741384208e..3e9709ccd8 100644 --- a/common/stats/pom.xml +++ b/common/stats/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/transport/coap/pom.xml b/common/transport/coap/pom.xml index 3b73a2b5ca..5bcccbcdbb 100644 --- a/common/transport/coap/pom.xml +++ b/common/transport/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 transport org.thingsboard.common.transport diff --git a/common/transport/http/pom.xml b/common/transport/http/pom.xml index 073f9ee1b1..772b923dec 100644 --- a/common/transport/http/pom.xml +++ b/common/transport/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 transport org.thingsboard.common.transport diff --git a/common/transport/lwm2m/pom.xml b/common/transport/lwm2m/pom.xml index c109618f4c..32d74ddf8a 100644 --- a/common/transport/lwm2m/pom.xml +++ b/common/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 transport org.thingsboard.common.transport diff --git a/common/transport/mqtt/pom.xml b/common/transport/mqtt/pom.xml index 8b916f4041..0bde1ce643 100644 --- a/common/transport/mqtt/pom.xml +++ b/common/transport/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 transport org.thingsboard.common.transport diff --git a/common/transport/pom.xml b/common/transport/pom.xml index cc1c842d5f..cc4f3042c9 100644 --- a/common/transport/pom.xml +++ b/common/transport/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/transport/snmp/pom.xml b/common/transport/snmp/pom.xml index 612da12ea0..61e44efcc5 100644 --- a/common/transport/snmp/pom.xml +++ b/common/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.common - 4.4.0 + 4.4.0.1 transport diff --git a/common/transport/transport-api/pom.xml b/common/transport/transport-api/pom.xml index 8c36485ed9..c9a5329e63 100644 --- a/common/transport/transport-api/pom.xml +++ b/common/transport/transport-api/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard.common - 4.4.0 + 4.4.0.1 transport org.thingsboard.common.transport diff --git a/common/util/pom.xml b/common/util/pom.xml index 10410601bf..ff7f990d95 100644 --- a/common/util/pom.xml +++ b/common/util/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/common/version-control/pom.xml b/common/version-control/pom.xml index a17818a68d..0a2ac756ce 100644 --- a/common/version-control/pom.xml +++ b/common/version-control/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 common org.thingsboard.common diff --git a/dao/pom.xml b/dao/pom.xml index 360e4601f8..afa38d367a 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard dao diff --git a/edqs/pom.xml b/edqs/pom.xml index 466b08dde7..b1ad884b4b 100644 --- a/edqs/pom.xml +++ b/edqs/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard edqs diff --git a/integration/apache-pulsar/pom.xml b/integration/apache-pulsar/pom.xml index 24395e77f8..5f7f8c9c21 100644 --- a/integration/apache-pulsar/pom.xml +++ b/integration/apache-pulsar/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/aws/pom.xml b/integration/aws/pom.xml index 95b31245cc..545115202a 100644 --- a/integration/aws/pom.xml +++ b/integration/aws/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/azure/pom.xml b/integration/azure/pom.xml index bd8c984c97..7220308d01 100644 --- a/integration/azure/pom.xml +++ b/integration/azure/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/coap/pom.xml b/integration/coap/pom.xml index 49e0a804be..9e9ea77e30 100644 --- a/integration/coap/pom.xml +++ b/integration/coap/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/executor/pom.xml b/integration/executor/pom.xml index 6a44bb6274..4fb8f80212 100644 --- a/integration/executor/pom.xml +++ b/integration/executor/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/http/pom.xml b/integration/http/pom.xml index 26ec0890f6..f75268efd6 100644 --- a/integration/http/pom.xml +++ b/integration/http/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/kafka/pom.xml b/integration/kafka/pom.xml index 0e2d4ae595..a22da9b66e 100644 --- a/integration/kafka/pom.xml +++ b/integration/kafka/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/mqtt/pom.xml b/integration/mqtt/pom.xml index 8f358d3688..5b6755f2a2 100644 --- a/integration/mqtt/pom.xml +++ b/integration/mqtt/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/opc-ua/pom.xml b/integration/opc-ua/pom.xml index b045cb7753..6e466134da 100644 --- a/integration/opc-ua/pom.xml +++ b/integration/opc-ua/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/pom.xml b/integration/pom.xml index 04fdc4ef23..9a05a96d96 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard integration diff --git a/integration/pubsub/pom.xml b/integration/pubsub/pom.xml index 7f24d19f0a..6faa98756d 100644 --- a/integration/pubsub/pom.xml +++ b/integration/pubsub/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/rabbitmq/pom.xml b/integration/rabbitmq/pom.xml index bcb65c27cb..7992ec5c96 100644 --- a/integration/rabbitmq/pom.xml +++ b/integration/rabbitmq/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/tcp-udp/pom.xml b/integration/tcp-udp/pom.xml index 7c4be9ef10..30e71634f1 100644 --- a/integration/tcp-udp/pom.xml +++ b/integration/tcp-udp/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/integration/tuya/pom.xml b/integration/tuya/pom.xml index 53ddb4f08a..4fa4f20a4e 100644 --- a/integration/tuya/pom.xml +++ b/integration/tuya/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 integration org.thingsboard.integration diff --git a/migrator/pom.xml b/migrator/pom.xml index 73f6dfe7e5..accd55c0b7 100644 --- a/migrator/pom.xml +++ b/migrator/pom.xml @@ -12,7 +12,7 @@ thingsboard org.thingsboard - 4.4.0 + 4.4.0.1 migrator diff --git a/monitoring/pom.xml b/monitoring/pom.xml index a12dbd5e3e..67c1d2bc07 100644 --- a/monitoring/pom.xml +++ b/monitoring/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard diff --git a/msa/black-box-tests/pom.xml b/msa/black-box-tests/pom.xml index 9203a1078a..ecf23bbc43 100644 --- a/msa/black-box-tests/pom.xml +++ b/msa/black-box-tests/pom.xml @@ -11,7 +11,7 @@ org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/edqs/pom.xml b/msa/edqs/pom.xml index d8bd45e4e3..2e6ce977e6 100644 --- a/msa/edqs/pom.xml +++ b/msa/edqs/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/integration/apache-pulsar/pom.xml b/msa/integration/apache-pulsar/pom.xml index 088dc3da2f..d58087bc7e 100644 --- a/msa/integration/apache-pulsar/pom.xml +++ b/msa/integration/apache-pulsar/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/aws/pom.xml b/msa/integration/aws/pom.xml index 346028ff64..fa488b232a 100644 --- a/msa/integration/aws/pom.xml +++ b/msa/integration/aws/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/azure/pom.xml b/msa/integration/azure/pom.xml index faf00671b8..ef343800fd 100644 --- a/msa/integration/azure/pom.xml +++ b/msa/integration/azure/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/coap/pom.xml b/msa/integration/coap/pom.xml index f6c360f513..f1f15a6c3b 100644 --- a/msa/integration/coap/pom.xml +++ b/msa/integration/coap/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/executor/pom.xml b/msa/integration/executor/pom.xml index e847841310..824a4fc181 100644 --- a/msa/integration/executor/pom.xml +++ b/msa/integration/executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/http/pom.xml b/msa/integration/http/pom.xml index aade79481e..3f7f24ea86 100644 --- a/msa/integration/http/pom.xml +++ b/msa/integration/http/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/kafka/pom.xml b/msa/integration/kafka/pom.xml index 1fcbb74e66..68459c399a 100644 --- a/msa/integration/kafka/pom.xml +++ b/msa/integration/kafka/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/mqtt/pom.xml b/msa/integration/mqtt/pom.xml index 06d37ee56b..f32dcd77df 100644 --- a/msa/integration/mqtt/pom.xml +++ b/msa/integration/mqtt/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/opc-ua/pom.xml b/msa/integration/opc-ua/pom.xml index e0f35ca968..c7170a10d8 100644 --- a/msa/integration/opc-ua/pom.xml +++ b/msa/integration/opc-ua/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/pom.xml b/msa/integration/pom.xml index 84844a36a6..d6a8856272 100644 --- a/msa/integration/pom.xml +++ b/msa/integration/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa diff --git a/msa/integration/pubsub/pom.xml b/msa/integration/pubsub/pom.xml index 805bbe7d34..1b35d73245 100644 --- a/msa/integration/pubsub/pom.xml +++ b/msa/integration/pubsub/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/rabbitmq/pom.xml b/msa/integration/rabbitmq/pom.xml index 7ca9ef95c4..0fb3d2a85f 100644 --- a/msa/integration/rabbitmq/pom.xml +++ b/msa/integration/rabbitmq/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/tcp-udp/pom.xml b/msa/integration/tcp-udp/pom.xml index d6a345fa51..cd0989ce47 100644 --- a/msa/integration/tcp-udp/pom.xml +++ b/msa/integration/tcp-udp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/integration/tuya/pom.xml b/msa/integration/tuya/pom.xml index 0bcb11d430..c8930d4458 100644 --- a/msa/integration/tuya/pom.xml +++ b/msa/integration/tuya/pom.xml @@ -10,7 +10,7 @@ org.thingsboard.msa - 4.4.0 + 4.4.0.1 integration diff --git a/msa/js-executor/package.json b/msa/js-executor/package.json index c1195784d4..f534a6d07b 100644 --- a/msa/js-executor/package.json +++ b/msa/js-executor/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-js-executor", "private": true, - "version": "4.4.0", + "version": "4.4.0.1", "description": "ThingsBoard JavaScript Executor Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/js-executor/pom.xml b/msa/js-executor/pom.xml index d3e87b5edd..9f7bd17830 100644 --- a/msa/js-executor/pom.xml +++ b/msa/js-executor/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/migrator/pom.xml b/msa/migrator/pom.xml index d505acd04a..d11d12bc59 100644 --- a/msa/migrator/pom.xml +++ b/msa/migrator/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa diff --git a/msa/monitoring/pom.xml b/msa/monitoring/pom.xml index 5b9da900f8..1a7eb0d17a 100644 --- a/msa/monitoring/pom.xml +++ b/msa/monitoring/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa diff --git a/msa/pom.xml b/msa/pom.xml index 6b316d902e..86d5b0b2fc 100644 --- a/msa/pom.xml +++ b/msa/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard msa diff --git a/msa/report/pom.xml b/msa/report/pom.xml index e6315f468a..89e37a145b 100644 --- a/msa/report/pom.xml +++ b/msa/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/tb-node/pom.xml b/msa/tb-node/pom.xml index 644a631f9f..9736a6c2b7 100644 --- a/msa/tb-node/pom.xml +++ b/msa/tb-node/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/transport/coap/pom.xml b/msa/transport/coap/pom.xml index f4df25aef5..7ba4662d96 100644 --- a/msa/transport/coap/pom.xml +++ b/msa/transport/coap/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0 + 4.4.0.1 transport org.thingsboard.msa.transport diff --git a/msa/transport/http/pom.xml b/msa/transport/http/pom.xml index 552a827528..094b2536bc 100644 --- a/msa/transport/http/pom.xml +++ b/msa/transport/http/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0 + 4.4.0.1 transport org.thingsboard.msa.transport diff --git a/msa/transport/lwm2m/pom.xml b/msa/transport/lwm2m/pom.xml index ae6f7bb276..898eeeef44 100644 --- a/msa/transport/lwm2m/pom.xml +++ b/msa/transport/lwm2m/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0 + 4.4.0.1 transport org.thingsboard.msa.transport diff --git a/msa/transport/mqtt/pom.xml b/msa/transport/mqtt/pom.xml index e1174db70e..f28aab2571 100644 --- a/msa/transport/mqtt/pom.xml +++ b/msa/transport/mqtt/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard.msa - 4.4.0 + 4.4.0.1 transport org.thingsboard.msa.transport diff --git a/msa/transport/pom.xml b/msa/transport/pom.xml index d810084952..df899e3589 100644 --- a/msa/transport/pom.xml +++ b/msa/transport/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/transport/snmp/pom.xml b/msa/transport/snmp/pom.xml index ceb578fea4..4a8f27ed46 100644 --- a/msa/transport/snmp/pom.xml +++ b/msa/transport/snmp/pom.xml @@ -11,7 +11,7 @@ org.thingsboard.msa transport - 4.4.0 + 4.4.0.1 org.thingsboard.msa.transport diff --git a/msa/vc-executor-docker/pom.xml b/msa/vc-executor-docker/pom.xml index 45d059d736..f2bdf48b5e 100644 --- a/msa/vc-executor-docker/pom.xml +++ b/msa/vc-executor-docker/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/vc-executor/pom.xml b/msa/vc-executor/pom.xml index 947d4c8331..2646a66f11 100644 --- a/msa/vc-executor/pom.xml +++ b/msa/vc-executor/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/web-report/package.json b/msa/web-report/package.json index 1f89c501f1..e2d7038c86 100644 --- a/msa/web-report/package.json +++ b/msa/web-report/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-report", "private": true, - "version": "4.4.0", + "version": "4.4.0.1", "description": "ThingsBoard Web Reporting Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-report/pom.xml b/msa/web-report/pom.xml index 1a2b26a3cc..2c9664830b 100644 --- a/msa/web-report/pom.xml +++ b/msa/web-report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/msa/web-ui/package.json b/msa/web-ui/package.json index 0f0c3cdcad..1aed9569a1 100644 --- a/msa/web-ui/package.json +++ b/msa/web-ui/package.json @@ -1,7 +1,7 @@ { "name": "thingsboard-web-ui", "private": true, - "version": "4.4.0", + "version": "4.4.0.1", "description": "ThingsBoard Web UI Microservice", "main": "server.ts", "bin": "server.js", diff --git a/msa/web-ui/pom.xml b/msa/web-ui/pom.xml index 0f14230043..e91b901133 100644 --- a/msa/web-ui/pom.xml +++ b/msa/web-ui/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 msa org.thingsboard.msa diff --git a/netty-mqtt/pom.xml b/netty-mqtt/pom.xml index 16f86c2629..bf4e0399af 100644 --- a/netty-mqtt/pom.xml +++ b/netty-mqtt/pom.xml @@ -9,11 +9,11 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard netty-mqtt - 4.4.0 + 4.4.0.1 jar Netty MQTT Client diff --git a/packaging/pom.xml b/packaging/pom.xml index d635ec8d16..7a930d2df3 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard packaging diff --git a/pom.xml b/pom.xml index bd1102fe8b..2f0006d0bb 100755 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard thingsboard - 4.4.0 + 4.4.0.1 pom ThingsBoard diff --git a/report/pom.xml b/report/pom.xml index a632633644..668a3987b4 100644 --- a/report/pom.xml +++ b/report/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard report diff --git a/rest-client/pom.xml b/rest-client/pom.xml index 24fa1a0794..10327d2e0e 100644 --- a/rest-client/pom.xml +++ b/rest-client/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard rest-client diff --git a/rule-engine/pom.xml b/rule-engine/pom.xml index 7fa1e7f5fb..16a85b86e2 100644 --- a/rule-engine/pom.xml +++ b/rule-engine/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard rule-engine diff --git a/rule-engine/rule-engine-api/pom.xml b/rule-engine/rule-engine-api/pom.xml index e880843e16..daa59205c8 100644 --- a/rule-engine/rule-engine-api/pom.xml +++ b/rule-engine/rule-engine-api/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 rule-engine org.thingsboard.rule-engine diff --git a/rule-engine/rule-engine-components/pom.xml b/rule-engine/rule-engine-components/pom.xml index 0ad8e272c8..a160af88bd 100644 --- a/rule-engine/rule-engine-components/pom.xml +++ b/rule-engine/rule-engine-components/pom.xml @@ -12,7 +12,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 rule-engine org.thingsboard.rule-engine diff --git a/tools/pom.xml b/tools/pom.xml index 052fec547d..4c5ff325f4 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard tools diff --git a/transport/coap/pom.xml b/transport/coap/pom.xml index ba74d7ec80..e9953e1bb1 100644 --- a/transport/coap/pom.xml +++ b/transport/coap/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 transport org.thingsboard.transport diff --git a/transport/http/pom.xml b/transport/http/pom.xml index 04b5c3c7c2..f2e300e601 100644 --- a/transport/http/pom.xml +++ b/transport/http/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 transport org.thingsboard.transport diff --git a/transport/lwm2m/pom.xml b/transport/lwm2m/pom.xml index 5d25ec7268..ce905d2745 100644 --- a/transport/lwm2m/pom.xml +++ b/transport/lwm2m/pom.xml @@ -9,7 +9,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 transport org.thingsboard.transport diff --git a/transport/mqtt/pom.xml b/transport/mqtt/pom.xml index 401567e918..dc439eb50a 100644 --- a/transport/mqtt/pom.xml +++ b/transport/mqtt/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 transport org.thingsboard.transport diff --git a/transport/pom.xml b/transport/pom.xml index e2913a7f06..4e1feaedfd 100644 --- a/transport/pom.xml +++ b/transport/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard transport diff --git a/transport/snmp/pom.xml b/transport/snmp/pom.xml index 56748de1f2..d98ce7735b 100644 --- a/transport/snmp/pom.xml +++ b/transport/snmp/pom.xml @@ -10,7 +10,7 @@ org.thingsboard - 4.4.0 + 4.4.0.1 transport diff --git a/ui-ngx/package.json b/ui-ngx/package.json index e30fe9a54b..36b250b204 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -1,6 +1,6 @@ { "name": "thingsboard", - "version": "4.4.0", + "version": "4.4.0.1", "scripts": { "ng": "ng", "start": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --configuration development --host 0.0.0.0 --open", diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index 288f7894d9..84a6d7bbca 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.thingsboard - 4.4.0 + 4.4.0.1 thingsboard ui-ngx From 6257f81cf5830f5024ddc25dfb4dea5747a2cc97 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 15 Oct 2026 10:11:28 +0300 Subject: [PATCH 012/275] Fix TbResourceApiClientTest compile (cherry picked from commit f1af4e5ff0e657677790fb16a368b2c5da1102f7) --- .../org/thingsboard/server/client/TbResourceApiClientTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java b/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java index 17bcbfe048..3f9fb56c8c 100644 --- a/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java +++ b/application/src/test/java/org/thingsboard/server/client/TbResourceApiClientTest.java @@ -21,6 +21,7 @@ import java.io.File; import java.util.ArrayList; import java.util.Base64; import java.util.List; +import java.util.Set; import java.util.UUID; import static org.junit.Assert.assertEquals; @@ -79,7 +80,7 @@ public class TbResourceApiClientTest extends AbstractApiClientTest { PageDataTbResourceInfo jsResources = client.getResources(GetResourcesArgs.builder() .pageSize(100) .page(0) - .resourceType(ResourceType.JS_MODULE.getValue()) + .resourceType(Set.of(ResourceType.JS_MODULE)) .textSearch(TEST_PREFIX + "Resource_" + timestamp) .build()); assertEquals(5, jsResources.getData().size()); From 7e416c95094379db368d24e503eeb8b996391e58 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 08:53:30 +0200 Subject: [PATCH 013/275] Integration executor: apply rule engine queue updates and evict tenant routing info Integration executors loaded the rule engine queues only at startup and never evicted the cached tenant routing info. After a tenant switched to or from an isolated rule engine they kept pushing its uplinks to the old queue until restart. - send queue update/delete notifications to integration executors (new repeated fields 2 and 3 in ToIntegrationExecutorNotificationMsg) - apply them in DefaultClusterIntegrationService - evict tenant routing info on TENANT / TENANT_PROFILE events, after the tenant profile caches (new PartitionService.evictTenantProfileInfo) --- .../queue/DefaultTbClusterService.java | 17 ++- .../discovery/HashPartitionServiceTest.java | 24 +++ .../queue/DefaultTbClusterServiceTest.java | 45 ++++++ .../DefaultClusterIntegrationService.java | 30 +++- .../DefaultClusterIntegrationServiceTest.java | 137 ++++++++++++++++++ common/proto/src/main/proto/integration.proto | 2 + .../queue/discovery/HashPartitionService.java | 5 + .../queue/discovery/PartitionService.java | 3 + 8 files changed, 257 insertions(+), 6 deletions(-) create mode 100644 common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java b/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java index 8fddd463ff..9daadc818f 100644 --- a/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java +++ b/application/src/main/java/org/thingsboard/server/service/queue/DefaultTbClusterService.java @@ -1189,7 +1189,8 @@ public class DefaultTbClusterService implements TbClusterService { ToRuleEngineNotificationMsg ruleEngineMsg = ToRuleEngineNotificationMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); ToCoreNotificationMsg coreMsg = ToCoreNotificationMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); ToTransportMsg transportMsg = ToTransportMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); - doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg); + ToIntegrationExecutorNotificationMsg integrationExecutorMsg = ToIntegrationExecutorNotificationMsg.newBuilder().addAllQueueUpdateMsgs(queueUpdateMsgs).build(); + doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg, integrationExecutorMsg); } @Override @@ -1207,15 +1208,20 @@ public class DefaultTbClusterService implements TbClusterService { ToRuleEngineNotificationMsg ruleEngineMsg = ToRuleEngineNotificationMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); ToCoreNotificationMsg coreMsg = ToCoreNotificationMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); ToTransportMsg transportMsg = ToTransportMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); - doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg); + ToIntegrationExecutorNotificationMsg integrationExecutorMsg = ToIntegrationExecutorNotificationMsg.newBuilder().addAllQueueDeleteMsgs(queueDeleteMsgs).build(); + doSendQueueNotifications(ruleEngineMsg, coreMsg, transportMsg, integrationExecutorMsg); } - private void doSendQueueNotifications(ToRuleEngineNotificationMsg ruleEngineMsg, ToCoreNotificationMsg coreMsg, ToTransportMsg transportMsg) { + private void doSendQueueNotifications(ToRuleEngineNotificationMsg ruleEngineMsg, ToCoreNotificationMsg coreMsg, ToTransportMsg transportMsg, + ToIntegrationExecutorNotificationMsg integrationExecutorMsg) { Set tbRuleEngineServices = partitionService.getAllServiceIds(ServiceType.TB_RULE_ENGINE); Set tbCoreServices = partitionService.getAllServiceIds(ServiceType.TB_CORE); Set tbTransportServices = partitionService.getAllServiceIds(ServiceType.TB_TRANSPORT); + Set tbIntegrationExecutorServices = partitionService.getAllServiceIds(ServiceType.TB_INTEGRATION_EXECUTOR); // No need to push notifications twice tbTransportServices.removeAll(tbCoreServices); + tbIntegrationExecutorServices.removeAll(tbCoreServices); + tbIntegrationExecutorServices.removeAll(tbRuleEngineServices); tbCoreServices.removeAll(tbRuleEngineServices); for (String ruleEngineServiceId : tbRuleEngineServices) { @@ -1233,6 +1239,11 @@ public class DefaultTbClusterService implements TbClusterService { producerProvider.getTransportNotificationsMsgProducer().send(tpi, new TbProtoQueueMsg<>(UUID.randomUUID(), transportMsg), null); toTransportNfs.incrementAndGet(); } + for (String integrationExecutorServiceId : tbIntegrationExecutorServices) { + TopicPartitionInfo tpi = topicService.getNotificationsTopic(ServiceType.TB_INTEGRATION_EXECUTOR, integrationExecutorServiceId); + producerProvider.getTbIntegrationExecutorNotificationsMsgProducer().send(tpi, new TbProtoQueueMsg<>(UUID.randomUUID(), integrationExecutorMsg), null); + toIntegrationExecutorNfs.incrementAndGet(); + } } } diff --git a/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java b/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java index 2e53d39e8f..44d7291515 100644 --- a/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java @@ -459,6 +459,30 @@ public class HashPartitionServiceTest { Set.of(tenantId).equals(event.getAffectedTenants())); } + @Test + public void testEvictTenantProfileInfo_reResolvesIsolationOnlyForTenantsOfThatProfile() { + TenantProfileId isolatedProfileId = new TenantProfileId(UUID.randomUUID()); + TenantProfileId otherProfileId = new TenantProfileId(UUID.randomUUID()); + TenantId tenantId = TenantId.fromUUID(UUID.randomUUID()); + TenantId otherTenantId = TenantId.fromUUID(UUID.randomUUID()); + mockQueues(List.of(createQueue(TenantId.SYS_TENANT_ID, 10), createQueue(tenantId, 3), createQueue(otherTenantId, 3))); + mockRoutingInfo(tenantId, isolatedProfileId, false); + mockRoutingInfo(otherTenantId, otherProfileId, false); + HashPartitionService partitionService = createPartitionService(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + + // routing info is cached as "not isolated" + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, tenantId, deviceId).getFullTopicName()).doesNotContain(".isolated."); + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, otherTenantId, deviceId).getFullTopicName()).doesNotContain(".isolated."); + + mockRoutingInfo(tenantId, isolatedProfileId, true); + mockRoutingInfo(otherTenantId, otherProfileId, true); + partitionService.evictTenantProfileInfo(isolatedProfileId); + + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, tenantId, deviceId).getFullTopicName()).contains(".isolated." + tenantId.getId()); + assertThat(partitionService.resolve(ServiceType.TB_RULE_ENGINE, otherTenantId, deviceId).getFullTopicName()).doesNotContain(".isolated."); + } + @Test public void testPartitionsDistribution_sameTenantDifferentQueues() { List ruleEngines = new ArrayList<>(); diff --git a/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java b/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java index 013a12c26b..bba6e43124 100644 --- a/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/queue/DefaultTbClusterServiceTest.java @@ -51,6 +51,7 @@ import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.edge.EdgeService; import org.thingsboard.server.dao.group.EntityGroupService; import org.thingsboard.server.dao.ota.OtaPackageStateService; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; import org.thingsboard.server.gen.transport.TransportProtos; import org.thingsboard.server.queue.TbQueueCallback; import org.thingsboard.server.queue.TbQueueProducer; @@ -299,6 +300,50 @@ public class DefaultTbClusterServiceTest { .send(eq(topicService.getNotificationsTopic(ServiceType.TB_TRANSPORT, monolith2)), any(TbProtoQueueMsg.class), isNull()); } + @Test + public void testOnQueuesUpdateIsSentToIntegrationExecutors() { + TbQueueProducer> tbIeQueueProducer = mockQueueNotificationTargetsWithIntegrationExecutors(); + + clusterService.onQueuesUpdate(List.of(createTestQueue())); + + ArgumentCaptor> msgCaptor = ArgumentCaptor.forClass(TbProtoQueueMsg.class); + verify(tbIeQueueProducer).send(eq(topicService.getNotificationsTopic(ServiceType.TB_INTEGRATION_EXECUTOR, "ie1")), msgCaptor.capture(), isNull()); + verifyNoMoreInteractions(tbIeQueueProducer); + ToIntegrationExecutorNotificationMsg ieMsg = msgCaptor.getValue().getValue(); + assertThat(ieMsg.getQueueUpdateMsgsCount()).isEqualTo(1); + assertThat(ieMsg.getQueueUpdateMsgs(0).getQueueName()).isEqualTo(DataConstants.MAIN_QUEUE_NAME); + assertThat(ieMsg.hasComponentLifecycle()).isFalse(); + } + + @Test + public void testOnQueuesDeleteIsSentToIntegrationExecutors() { + TbQueueProducer> tbIeQueueProducer = mockQueueNotificationTargetsWithIntegrationExecutors(); + + clusterService.onQueuesDelete(List.of(createTestQueue())); + + ArgumentCaptor> msgCaptor = ArgumentCaptor.forClass(TbProtoQueueMsg.class); + verify(tbIeQueueProducer).send(eq(topicService.getNotificationsTopic(ServiceType.TB_INTEGRATION_EXECUTOR, "ie1")), msgCaptor.capture(), isNull()); + verifyNoMoreInteractions(tbIeQueueProducer); + ToIntegrationExecutorNotificationMsg ieMsg = msgCaptor.getValue().getValue(); + assertThat(ieMsg.getQueueDeleteMsgsCount()).isEqualTo(1); + assertThat(ieMsg.getQueueDeleteMsgs(0).getQueueName()).isEqualTo(DataConstants.MAIN_QUEUE_NAME); + assertThat(ieMsg.hasComponentLifecycle()).isFalse(); + } + + // The monolith and the core run an integration executor too, but already apply queue updates from their own notifications + private TbQueueProducer> mockQueueNotificationTargetsWithIntegrationExecutors() { + when(partitionService.getAllServiceIds(ServiceType.TB_RULE_ENGINE)).thenReturn(Sets.newHashSet(MONOLITH, RULE_ENGINE)); + when(partitionService.getAllServiceIds(ServiceType.TB_CORE)).thenReturn(Sets.newHashSet(MONOLITH, CORE)); + when(partitionService.getAllServiceIds(ServiceType.TB_TRANSPORT)).thenReturn(Sets.newHashSet(MONOLITH)); + when(partitionService.getAllServiceIds(ServiceType.TB_INTEGRATION_EXECUTOR)).thenReturn(Sets.newHashSet(MONOLITH, CORE, "ie1")); + + when(producerProvider.getRuleEngineNotificationsMsgProducer()).thenReturn(mock(TbQueueProducer.class)); + when(producerProvider.getTbCoreNotificationsMsgProducer()).thenReturn(mock(TbQueueProducer.class)); + TbQueueProducer> tbIeQueueProducer = mock(TbQueueProducer.class); + when(producerProvider.getTbIntegrationExecutorNotificationsMsgProducer()).thenReturn(tbIeQueueProducer); + return tbIeQueueProducer; + } + @Test public void testPushNotificationToCoreWithRestApiCallResponseMsgProto() { TopicPartitionInfo tpi = mock(TopicPartitionInfo.class); diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java index 4e57fc5e6f..68b1c01463 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java @@ -12,6 +12,9 @@ import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.stereotype.Service; import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.common.util.ThingsBoardThreadFactory; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.TenantProfileId; import org.thingsboard.server.common.data.integration.IntegrationType; import org.thingsboard.server.common.msg.TbActorMsg; import org.thingsboard.server.common.msg.plugin.ComponentLifecycleMsg; @@ -23,6 +26,7 @@ import org.thingsboard.server.gen.integration.ToIntegrationExecutorDownlinkMsg; import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; import org.thingsboard.server.queue.TbQueueConsumer; import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.PartitionService; import org.thingsboard.server.queue.discovery.TbApplicationEventListener; import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; import org.thingsboard.server.queue.discovery.event.PartitionChangeEvent; @@ -58,6 +62,7 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener private final TbQueueIntegrationExecutorSettings integrationNotificationSettings; private final TbCoreIntegrationExecutorQueueFactory queueFactory; private final IntegrationManagerService integrationManagerService; + private final PartitionService partitionService; @Autowired(required = false) private IntegrationExecutorCacheStartupService cacheStartupService; @@ -67,11 +72,13 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener public DefaultClusterIntegrationService(TbServiceInfoProvider serviceInfoProvider, TbQueueIntegrationExecutorSettings integrationNotificationSettings, TbCoreIntegrationExecutorQueueFactory queueFactory, - IntegrationManagerService integrationManagerService) { + IntegrationManagerService integrationManagerService, + PartitionService partitionService) { this.serviceInfoProvider = serviceInfoProvider; this.integrationNotificationSettings = integrationNotificationSettings; this.queueFactory = queueFactory; this.integrationManagerService = integrationManagerService; + this.partitionService = partitionService; } private volatile ExecutorService consumersExecutor; @@ -332,9 +339,17 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener } } - private void handleNotification(UUID id, TbProtoQueueMsg msg, TbCallback callback) { + void handleNotification(UUID id, TbProtoQueueMsg msg, TbCallback callback) { ToIntegrationExecutorNotificationMsg nf = msg.getValue(); - handleComponentLifecycleMsg(id, ProtoUtils.fromProto(nf.getComponentLifecycle())); + if (nf.hasComponentLifecycle()) { + handleComponentLifecycleMsg(id, ProtoUtils.fromProto(nf.getComponentLifecycle())); + } + if (nf.getQueueUpdateMsgsCount() > 0) { + partitionService.updateQueues(nf.getQueueUpdateMsgsList()); + } + if (nf.getQueueDeleteMsgsCount() > 0) { + partitionService.removeQueues(nf.getQueueDeleteMsgsList()); + } callback.onSuccess(); } @@ -344,10 +359,19 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener componentLifecycleMsg.getEntityId().getEntityType(), componentLifecycleMsg.getEntityId(), componentLifecycleMsg.getEvent()); integrationManagerService.handleComponentLifecycleMsg(componentLifecycleMsg); + // after the tenant profile caches are evicted, so that the routing info is re-read from the updated profile + evictTenantRoutingInfo(componentLifecycleMsg.getEntityId()); } log.trace("[{}] Forwarding message to App Actor {}", id, actorMsg); } + private void evictTenantRoutingInfo(EntityId entityId) { + switch (entityId.getEntityType()) { + case TENANT -> partitionService.evictTenantInfo(TenantId.fromUUID(entityId.getId())); + case TENANT_PROFILE -> partitionService.evictTenantProfileInfo(new TenantProfileId(entityId.getId())); + } + } + private void refreshIntegrationsByType(IntegrationType type) { try { Set partitions = getLatestPartitionsFromQueue(type); diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java new file mode 100644 index 0000000000..25c5ac14c1 --- /dev/null +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java @@ -0,0 +1,137 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.integration; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InOrder; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.TenantProfileId; +import org.thingsboard.server.common.data.plugin.ComponentLifecycleEvent; +import org.thingsboard.server.common.msg.plugin.ComponentLifecycleMsg; +import org.thingsboard.server.common.msg.queue.TbCallback; +import org.thingsboard.server.common.util.ProtoUtils; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; +import org.thingsboard.server.gen.transport.TransportProtos.QueueDeleteMsg; +import org.thingsboard.server.gen.transport.TransportProtos.QueueUpdateMsg; +import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.PartitionService; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.queue.provider.TbCoreIntegrationExecutorQueueFactory; +import org.thingsboard.server.queue.settings.TbQueueIntegrationExecutorSettings; + +import java.util.List; +import java.util.UUID; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.inOrder; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; + +@ExtendWith(MockitoExtension.class) +class DefaultClusterIntegrationServiceTest { + + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private TbQueueIntegrationExecutorSettings integrationNotificationSettings; + @Mock + private TbCoreIntegrationExecutorQueueFactory queueFactory; + @Mock + private IntegrationManagerService integrationManagerService; + @Mock + private PartitionService partitionService; + @Mock + private TbCallback callback; + + private DefaultClusterIntegrationService service; + + private final TenantId tenantId = TenantId.fromUUID(UUID.randomUUID()); + + @BeforeEach + void setUp() { + service = new DefaultClusterIntegrationService(serviceInfoProvider, integrationNotificationSettings, queueFactory, + integrationManagerService, partitionService); + } + + @Test + void givenQueueUpdateNotification_whenHandled_thenQueuesAreUpdatedInPartitionService() { + QueueUpdateMsg queueUpdateMsg = QueueUpdateMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setQueueName("Main") + .setQueueTopic("tb_rule_engine.main") + .setPartitions(3) + .build(); + + handle(ToIntegrationExecutorNotificationMsg.newBuilder().addQueueUpdateMsgs(queueUpdateMsg).build()); + + verify(partitionService).updateQueues(List.of(queueUpdateMsg)); + verify(integrationManagerService, never()).handleComponentLifecycleMsg(any()); + verify(callback).onSuccess(); + } + + @Test + void givenQueueDeleteNotification_whenHandled_thenQueuesAreRemovedFromPartitionService() { + QueueDeleteMsg queueDeleteMsg = QueueDeleteMsg.newBuilder() + .setTenantIdMSB(tenantId.getId().getMostSignificantBits()) + .setTenantIdLSB(tenantId.getId().getLeastSignificantBits()) + .setQueueName("Main") + .build(); + + handle(ToIntegrationExecutorNotificationMsg.newBuilder().addQueueDeleteMsgs(queueDeleteMsg).build()); + + verify(partitionService).removeQueues(List.of(queueDeleteMsg)); + verify(integrationManagerService, never()).handleComponentLifecycleMsg(any()); + verify(callback).onSuccess(); + } + + @Test + void givenTenantUpdated_whenHandled_thenTenantRoutingInfoIsEvictedAfterTenantProfileCaches() { + handle(lifecycleNotification(tenantId, tenantId)); + + // the routing info is re-read from the tenant profile cache, so it must be evicted after that cache + InOrder inOrder = inOrder(integrationManagerService, partitionService); + inOrder.verify(integrationManagerService).handleComponentLifecycleMsg(any()); + inOrder.verify(partitionService).evictTenantInfo(tenantId); + verify(callback).onSuccess(); + } + + @Test + void givenTenantProfileUpdated_whenHandled_thenRoutingInfoOfItsTenantsIsEvictedAfterTenantProfileCaches() { + TenantProfileId tenantProfileId = new TenantProfileId(UUID.randomUUID()); + + handle(lifecycleNotification(TenantId.SYS_TENANT_ID, tenantProfileId)); + + InOrder inOrder = inOrder(integrationManagerService, partitionService); + inOrder.verify(integrationManagerService).handleComponentLifecycleMsg(any()); + inOrder.verify(partitionService).evictTenantProfileInfo(tenantProfileId); + verify(callback).onSuccess(); + } + + @Test + void givenIntegrationUpdated_whenHandled_thenRoutingInfoIsKept() { + handle(lifecycleNotification(tenantId, new IntegrationId(UUID.randomUUID()))); + + verify(integrationManagerService).handleComponentLifecycleMsg(any()); + verifyNoInteractions(partitionService); + verify(callback).onSuccess(); + } + + private ToIntegrationExecutorNotificationMsg lifecycleNotification(TenantId tenantId, EntityId entityId) { + ComponentLifecycleMsg msg = new ComponentLifecycleMsg(tenantId, entityId, ComponentLifecycleEvent.UPDATED); + return ToIntegrationExecutorNotificationMsg.newBuilder().setComponentLifecycle(ProtoUtils.toProto(msg)).build(); + } + + private void handle(ToIntegrationExecutorNotificationMsg nf) { + UUID id = UUID.randomUUID(); + service.handleNotification(id, new TbProtoQueueMsg<>(id, nf), callback); + } + +} diff --git a/common/proto/src/main/proto/integration.proto b/common/proto/src/main/proto/integration.proto index 2f6a4b4fe6..2284b1dd70 100644 --- a/common/proto/src/main/proto/integration.proto +++ b/common/proto/src/main/proto/integration.proto @@ -343,6 +343,8 @@ message IntegrationApiResponseMsg { /* High priority messages with low latency are handled by ThingsBoard Integration Executor Service separately */ message ToIntegrationExecutorNotificationMsg { transport.ComponentLifecycleMsgProto componentLifecycle = 1; + repeated transport.QueueUpdateMsg queueUpdateMsgs = 2; + repeated transport.QueueDeleteMsg queueDeleteMsgs = 3; } message IntegrationValidationRequestProto { diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java index 1675d734cf..6d2371bf4a 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/HashPartitionService.java @@ -616,6 +616,11 @@ public class HashPartitionService implements PartitionService { tenantRoutingInfoMap.remove(tenantId); } + @Override + public void evictTenantProfileInfo(TenantProfileId tenantProfileId) { + tenantRoutingInfoMap.values().removeIf(routingInfo -> tenantProfileId.equals(routingInfo.getProfileId())); + } + @Override public int countTransportsByType(String type) { var list = tbTransportServicesByType.get(type); diff --git a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java index 6f57c1e7e2..9d4804e9eb 100644 --- a/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java +++ b/common/queue/src/main/java/org/thingsboard/server/queue/discovery/PartitionService.java @@ -5,6 +5,7 @@ package org.thingsboard.server.queue.discovery; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.TenantProfileId; import org.thingsboard.server.common.msg.queue.ServiceType; import org.thingsboard.server.common.msg.queue.TopicPartitionInfo; import org.thingsboard.server.gen.transport.TransportProtos; @@ -61,6 +62,8 @@ public interface PartitionService { void evictTenantInfo(TenantId tenantId); + void evictTenantProfileInfo(TenantProfileId tenantProfileId); + int countTransportsByType(String type); int getIntegrationExecutorPartitionsCount(); From a158b76b7856acf7c1cc8d991894849294a074be Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 08:58:39 +0200 Subject: [PATCH 014/275] Integration Executor: apply partition changes after startup DefaultClusterIntegrationService.onTbApplicationEvent() added a PartitionChangeEvent to pendingEvents only while the executor was still starting. Once started, it skipped the add and drained an empty queue, so every partition change after startup was dropped: refresh() did not run and the downlink consumers were not re-subscribed. Each node kept the partition snapshot it held when its startup completed, until the JVM restarted. After a rolling restart, or when a single node restarts while the others keep running, this leaves singleton integrations (MQTT, AWS IoT, Azure, ...) running on two nodes or on none. Brokers that enforce unique client IDs keep disconnecting the two copies, and brokers that allow both process every uplink twice. - Always enqueue the event before draining. Make drainPendingEvents() synchronized, so that snapshots are applied in the order they arrive. - In update(), check ownership against the current partitions before starting or updating an integration (CREATED, STARTED, UPDATED, ACTIVATED), and stop it if it is no longer owned. Ownership can change between scheduling an event and running it. - In reInitIntegrations(), stop FAILED integrations that are no longer owned instead of re-initializing them. - In refresh(), treat an empty partition set as a real snapshot and stop the singletons of that type. Restrict the stop loop to the refreshed integration type, because the owned partitions belong to that type only. Nothing new is created on an empty snapshot. Adds DefaultClusterIntegrationServiceTest and DefaultIntegrationManagerServiceTest, covering partition flip-flops during startup and on long-running nodes. --- .../DefaultClusterIntegrationService.java | 19 +- .../DefaultIntegrationManagerService.java | 25 +- .../DefaultClusterIntegrationServiceTest.java | 143 +++++++ .../DefaultIntegrationManagerServiceTest.java | 351 ++++++++++++++++++ 4 files changed, 524 insertions(+), 14 deletions(-) create mode 100644 common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java create mode 100644 common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java index 4e57fc5e6f..328ab2d61b 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java @@ -124,20 +124,21 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener @Override protected void onTbApplicationEvent(PartitionChangeEvent event) { log.debug("Received partition change event: {}", event); + // Always enqueue first, then drain: the drain below must see this event. Enqueueing only while + // !started dropped every partition change that arrived after startup, so a node kept the snapshot + // it drained at startup forever and singleton integrations ran twice (or nowhere) after a rollout. + pendingEvents.add(event); if (!started) { - // Add to queue FIRST, then check again - pendingEvents.add(event); - if (!started) { - log.debug("Integration Executor not started yet, event queued for later: {}", event); - return; // doStartup() will drain the queue - } - // started became true after we added - fall through to drain + log.debug("Integration Executor not started yet, event queued for later: {}", event); + return; // doStartup() will drain the queue } // Either already started or just became started - drain and process the latest pending drainPendingEvents(); } - private void drainPendingEvents() { + // Synchronized so that the startup thread and an event thread cannot process two snapshots concurrently + // and push them to subscribeEventsMap in reverse order, which would leave the older snapshot applied. + private synchronized void drainPendingEvents() { // Each PartitionChangeEvent carries a full partition snapshot for TB_INTEGRATION_EXECUTOR, // so earlier pending events are superseded — discard them and process only the latest. PartitionChangeEvent latest = null; @@ -198,7 +199,7 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener } finally { // Mark as started and drain pending events even on failure, so that partition change events are not stuck in the queue forever. // After started=true, any new events will drain themselves in onTbApplicationEvent(). - // ConcurrentLinkedQueue.poll() is atomic, so each event is processed exactly once. + // drainPendingEvents() is synchronized, so snapshots are applied in the order they were queued. started = true; drainPendingEvents(); } diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java index 892ea680a4..fed293a6c4 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java @@ -447,9 +447,8 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi if (!supportedIntegrationTypes.contains(integrationType)) { return; } - if (newPartitions.isEmpty()) { - return; - } + // An empty set is a real snapshot (the node lost every partition of this type), not a no-op: + // the singleton integrations of this type must be stopped. Set ownedPartitions = newPartitions.stream() .map(tpi -> tpi.getPartition().orElse(-1)) .filter(p -> p >= 0) @@ -470,10 +469,15 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi ? state.getConfiguration() : configurationService.getIntegration(state.getTenantId(), state.getId()); } - if (integration != null && !isMineForPartitions(integration, ownedPartitions)) { + // ownedPartitions belong to integrationType only; other types are handled by their own refresh. + if (integration != null && integrationType.equals(integration.getType()) && !isMineForPartitions(integration, ownedPartitions)) { scheduleIntegrationEvent(integration.getTenantId(), integration.getId(), ComponentLifecycleEvent.STOPPED); } } + if (newPartitions.isEmpty()) { + // Nothing new to start; keep the previous behaviour for non-singleton integrations on an empty snapshot. + return; + } createIntegrations(configurationService.getActiveIntegrationList(integrationType, false), ownedPartitions); } @@ -583,7 +587,13 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi case UPDATED: case ACTIVATED: Integration configuration = configurationService.getIntegration(state.getTenantId(), state.getId()); - if (configuration != null) { + if (configuration != null && !isMine(configuration)) { + // The event was scheduled while this node owned the partition. Ownership may have moved + // since then, and the refresh that would stop it may already have run or not run yet. + log.info("[{}][{}] Skipping {}: the integration is not mine anymore, stopping it.", state.getTenantId(), state.getId(), pendingEvent); + persistCurrentStatistics(state); + processStop(state, STOPPED); + } else if (configuration != null) { processUpdateEvent(state, configuration); } else { processStop(state, DELETED); @@ -762,6 +772,11 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi if (state.getConfiguration() != null && state.getCurrentState() != null && state.getCurrentState().equals(ComponentLifecycleEvent.FAILED)) { if (state.getUpdateLock().tryLock()) { try { + if (!isMine(state.getConfiguration())) { + log.info("[{}][{}] Skipping re-init: the integration is not mine anymore, stopping it.", state.getTenantId(), state.getId()); + processStop(state, STOPPED); + return; + } processUpdateEvent(state, state.getConfiguration()); } catch (Exception e) { log.trace("[{}][{}] Failed to re-initialize the integration:", state.getTenantId(), state.getId(), e); diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java new file mode 100644 index 0000000000..08bd8ad234 --- /dev/null +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java @@ -0,0 +1,143 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.integration; + +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InOrder; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.mockito.junit.jupiter.MockitoSettings; +import org.mockito.quality.Strictness; +import org.springframework.boot.context.event.ApplicationReadyEvent; +import org.thingsboard.server.common.data.integration.IntegrationType; +import org.thingsboard.server.common.msg.queue.ServiceType; +import org.thingsboard.server.common.msg.queue.TopicPartitionInfo; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorDownlinkMsg; +import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; +import org.thingsboard.server.queue.TbQueueConsumer; +import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.QueueKey; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.queue.discovery.event.PartitionChangeEvent; +import org.thingsboard.server.queue.provider.TbCoreIntegrationExecutorQueueFactory; +import org.thingsboard.server.queue.settings.TbQueueIntegrationExecutorSettings; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.inOrder; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.timeout; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +@MockitoSettings(strictness = Strictness.LENIENT) +class DefaultClusterIntegrationServiceTest { + + private static final long TIMEOUT_MS = 5000; + + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private TbQueueIntegrationExecutorSettings settings; + @Mock + private TbCoreIntegrationExecutorQueueFactory queueFactory; + @Mock + private IntegrationManagerService integrationManagerService; + @Mock + private TbQueueConsumer> mqttConsumer; + + private DefaultClusterIntegrationService service; + + @BeforeEach + @SuppressWarnings("unchecked") + void setUp() { + when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT)); + when(queueFactory.createToIntegrationExecutorNotificationsMsgConsumer()) + .thenReturn(mock(TbQueueConsumer.class)); + when(queueFactory.createToIntegrationExecutorDownlinkMsgConsumer(IntegrationType.MQTT)).thenReturn(mqttConsumer); + service = new DefaultClusterIntegrationService(serviceInfoProvider, settings, queueFactory, integrationManagerService) { + @Override + protected void launchMainConsumers() { + } + + @Override + protected void launchNotificationsConsumer() { + } + }; + service.init(); + } + + @AfterEach + void tearDown() { + service.stop(); + } + + @Test + void givenStarted_whenPartitionsChange_thenEveryNewSnapshotIsApplied() { + // Rolling restart: [1] and [0, 2] arrive before startup completes, [1] arrives after it. + service.onApplicationEvent(partitionChangeEvent(1)); + service.onApplicationEvent(partitionChangeEvent(0, 2)); + service.onApplicationEvent((ApplicationReadyEvent) null); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(0, 2)); + + service.onApplicationEvent(partitionChangeEvent(1)); + + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(1)); + verify(mqttConsumer, timeout(TIMEOUT_MS)).subscribe(tpis(1)); + InOrder inOrder = inOrder(integrationManagerService); + inOrder.verify(integrationManagerService).refresh(IntegrationType.MQTT, tpis(0, 2)); + inOrder.verify(integrationManagerService).refresh(IntegrationType.MQTT, tpis(1)); + } + + @Test + void givenLongRunningNode_whenPartitionsFlipFlop_thenLatestSnapshotIsApplied() { + // Long-running node: started long ago with [2], then a neighbour restarts -> [1] -> [2]. + service.onApplicationEvent(partitionChangeEvent(2)); + service.onApplicationEvent((ApplicationReadyEvent) null); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(2)); + + service.onApplicationEvent(partitionChangeEvent(1)); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(1)); + service.onApplicationEvent(partitionChangeEvent(2)); + + verify(integrationManagerService, timeout(TIMEOUT_MS).times(2)).refresh(IntegrationType.MQTT, tpis(2)); + InOrder inOrder = inOrder(integrationManagerService, mqttConsumer); + inOrder.verify(mqttConsumer).subscribe(tpis(1)); + inOrder.verify(mqttConsumer).subscribe(tpis(2)); + } + + @Test + void givenStarted_whenNodeLosesAllPartitions_thenEmptySnapshotIsApplied() { + service.onApplicationEvent(partitionChangeEvent(0)); + service.onApplicationEvent((ApplicationReadyEvent) null); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(0)); + + service.onApplicationEvent(partitionChangeEvent()); + + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(eq(IntegrationType.MQTT), eq(Collections.emptySet())); + } + + private static PartitionChangeEvent partitionChangeEvent(Integer... partitions) { + QueueKey queueKey = new QueueKey(ServiceType.TB_INTEGRATION_EXECUTOR, IntegrationType.MQTT.name()); + return new PartitionChangeEvent(DefaultClusterIntegrationServiceTest.class, ServiceType.TB_INTEGRATION_EXECUTOR, + Map.of(queueKey, tpis(partitions)), Collections.emptyMap()); + } + + private static Set tpis(Integer... partitions) { + return Arrays.stream(partitions) + .map(p -> new TopicPartitionInfo("tb_ie.downlink.mqtt", null, p, true)) + .collect(Collectors.toSet()); + } + +} diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java new file mode 100644 index 0000000000..74278ce84d --- /dev/null +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java @@ -0,0 +1,351 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.integration; + +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.Mock; +import org.mockito.MockedStatic; +import org.mockito.junit.jupiter.MockitoExtension; +import org.mockito.junit.jupiter.MockitoSettings; +import org.mockito.quality.Strictness; +import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.integration.api.IntegrationContext; +import org.thingsboard.integration.api.IntegrationStatisticsService; +import org.thingsboard.integration.api.ThingsboardPlatformIntegration; +import org.thingsboard.integration.api.converter.TBUplinkDataConverter; +import org.thingsboard.integration.api.util.IntegrationUtil; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.integration.IntegrationType; +import org.thingsboard.server.common.data.plugin.ComponentLifecycleEvent; +import org.thingsboard.server.common.msg.notification.NotificationRuleProcessor; +import org.thingsboard.server.common.msg.queue.ServiceType; +import org.thingsboard.server.common.msg.queue.TopicPartitionInfo; +import org.thingsboard.server.queue.discovery.PartitionService; +import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; +import org.thingsboard.server.queue.discovery.TopicService; +import org.thingsboard.server.queue.provider.TbQueueProducerProvider; +import org.thingsboard.server.queue.settings.TbQueueIntegrationExecutorSettings; +import org.thingsboard.server.service.converter.DataConverterService; +import org.thingsboard.server.service.integration.state.IntegrationState; + +import java.util.ArrayDeque; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Queue; +import java.util.Set; +import java.util.UUID; +import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.ScheduledExecutorService; +import java.util.stream.Collectors; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyBoolean; +import static org.mockito.ArgumentMatchers.anyLong; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.doThrow; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.mockStatic; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.times; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +@MockitoSettings(strictness = Strictness.LENIENT) +class DefaultIntegrationManagerServiceTest { + + private static final TenantId TENANT_ID = TenantId.fromUUID(UUID.randomUUID()); + + @Mock + private TbServiceInfoProvider serviceInfoProvider; + @Mock + private PartitionService partitionService; + @Mock + private TopicService topicService; + @Mock + private IntegrationContextProvider integrationContextProvider; + @Mock + private IntegrationConfigurationService configurationService; + @Mock + private DataConverterService dataConverterService; + @Mock + private EventStorageService eventStorageService; + @Mock + private TbQueueProducerProvider producerProvider; + @Mock + private NotificationRuleProcessor notificationRuleProcessor; + @Mock + private IntegrationStatisticsService integrationStatisticsService; + @Mock + private TbQueueIntegrationExecutorSettings integrationExecutorSettings; + + private DefaultIntegrationManagerService service; + private MockedStatic integrationUtil; + + // The partitions this node currently owns, as HashPartitionService.myPartitions would report them. + private final Set livePartitions = new HashSet<>(); + private final Map partitionByEntity = new HashMap<>(); + private final Map configurations = new HashMap<>(); + private final Map> platformIntegrations = new HashMap<>(); + // Tasks submitted to the lifecycle executor; they run only when the test calls runLifecycleTasks(). + private final Queue lifecycleTasks = new ArrayDeque<>(); + + @BeforeEach + void setUp() throws Exception { + service = new DefaultIntegrationManagerService(serviceInfoProvider, partitionService, topicService, integrationContextProvider, + configurationService, dataConverterService, eventStorageService, producerProvider, notificationRuleProcessor, + Optional.empty(), Optional.empty(), integrationStatisticsService, integrationExecutorSettings, + Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty()); + ReflectionTestUtils.setField(service, "reInitEnabled", false); + ReflectionTestUtils.setField(service, "statisticsEnabled", false); + when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT, IntegrationType.HTTP)); + service.init(); + ((ScheduledExecutorService) ReflectionTestUtils.getField(service, "lifecycleExecutorService")).shutdownNow(); + ScheduledExecutorService lifecycleExecutor = mock(ScheduledExecutorService.class); + doAnswer(inv -> { + lifecycleTasks.add(inv.getArgument(0)); + return null; + }).when(lifecycleExecutor).submit(any(Runnable.class)); + doAnswer(inv -> { + lifecycleTasks.add(inv.getArgument(0)); + return null; + }).when(lifecycleExecutor).schedule(any(Runnable.class), anyLong(), any()); + ReflectionTestUtils.setField(service, "lifecycleExecutorService", lifecycleExecutor); + + when(partitionService.resolve(eq(ServiceType.TB_INTEGRATION_EXECUTOR), anyString(), any(TenantId.class), any(EntityId.class))).thenAnswer(inv -> { + EntityId entityId = inv.getArgument(3); + int partition = partitionByEntity.get(entityId.getId()); + return new TopicPartitionInfo("tb_ie.downlink.mqtt", null, partition, livePartitions.contains(partition)); + }); + when(configurationService.getIntegration(any(TenantId.class), any(IntegrationId.class))) + .thenAnswer(inv -> configurations.get((IntegrationId) inv.getArgument(1))); + when(integrationContextProvider.buildIntegrationContext(any())).thenReturn(mock(IntegrationContext.class)); + when(dataConverterService.getUplinkConverterById(any(), any())).thenReturn(Optional.of(mock(TBUplinkDataConverter.class))); + when(dataConverterService.getDownlinkConverterById(any(), any())).thenReturn(Optional.empty()); + + integrationUtil = mockStatic(IntegrationUtil.class); + integrationUtil.when(() -> IntegrationUtil.createPlatformIntegration(any(), any(), anyBoolean(), any())).thenAnswer(inv -> { + Integration configuration = configurations.values().stream() + .filter(i -> i.getConfiguration() == inv.getArgument(1)).findFirst().orElseThrow(); + return platformIntegrations.get(configuration.getId()); + }); + } + + @AfterEach + void tearDown() { + integrationUtil.close(); + service.stop(); + } + + @Test + void givenCreatedScheduledWhileOwned_whenPartitionMovesAwayBeforeItRuns_thenIntegrationIsNotStarted() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + // Rolling restart: this node owns [1], then briefly [0, 2] - the refresh schedules CREATED for the partition 0 singleton. + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + assertThat(lifecycleTasks).isNotEmpty(); + + // Ownership moves back to [1] before the lifecycle executor gets to the CREATED event (it is busy with a + // backlog of slow inits, and the refresh for [1] has not stopped this one yet). + ownPartitions(1); + runLifecycleTasks(); + + verify(platformIntegration, never()).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenCreatedScheduledWhileOwned_whenPartitionMovesAwayAndRefreshRuns_thenIntegrationIsNotStarted() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + runLifecycleTasks(); + + verify(platformIntegration, never()).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningIntegration_whenUpdateArrivesAfterPartitionMovedAway_thenIntegrationIsStopped() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // An UPDATED scheduled through a path that captured ownership earlier (e.g. createIntegrations of a stale snapshot) + ownPartitions(1); + ReflectionTestUtils.invokeMethod(service, "scheduleIntegrationEvent", TENANT_ID, integration.getId(), + ComponentLifecycleEvent.UPDATED); + runLifecycleTasks(); + + verify(platformIntegration, never()).update(any()); + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenLongRunningSingleton_whenPartitionMovesAway_thenRefreshStopsIt() throws Exception { + Integration integration = mqttIntegration(1); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // Hours later a neighbour restarts and partition 1 goes back to it. + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningSingleton_whenRefreshedWithEmptyPartitions_thenIntegrationIsStopped() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0); + service.refresh(IntegrationType.MQTT, tpis(0)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + ownPartitions(); + service.refresh(IntegrationType.MQTT, Collections.emptySet()); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenEmptyPartitions_whenRefreshed_thenNonSingletonIntegrationsAreNotCreated() throws Exception { + Integration integration = mqttIntegration(0); + integration.setType(IntegrationType.HTTP); + when(configurationService.getActiveIntegrationList(IntegrationType.HTTP, false)).thenReturn(List.of(integration)); + + ownPartitions(); + service.refresh(IntegrationType.HTTP, Collections.emptySet()); + runLifecycleTasks(); + + verify(platformIntegrations.get(integration.getId()), never()).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningSingletonOfAnotherType_whenRefreshedForOtherType_thenItIsNotStopped() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0); + service.refresh(IntegrationType.MQTT, tpis(0)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // HTTP partitions say nothing about MQTT ownership. + service.refresh(IntegrationType.HTTP, Collections.emptySet()); + runLifecycleTasks(); + + verify(platformIntegration, never()).destroy(); + assertThat(integrationStates()).containsKey(integration.getId()); + } + + @Test + void givenFailedIntegration_whenPartitionMovedAway_thenReInitStopsItInsteadOfStartingIt() throws Exception { + Integration integration = mqttIntegration(0); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + doThrow(new RuntimeException("Failed to connect to MQTT broker")).when(platformIntegration).init(any()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + + ownPartitions(0, 2); + service.refresh(IntegrationType.MQTT, tpis(0, 2)); + runLifecycleTasks(); + verify(platformIntegration, times(1)).init(any()); + assertThat(integrationStates()).containsKey(integration.getId()); + + ownPartitions(1); + ReflectionTestUtils.invokeMethod(service, "reInitIntegrations"); + + verify(platformIntegration, times(1)).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + private Integration mqttIntegration(int partition) { + IntegrationId id = new IntegrationId(UUID.randomUUID()); + Integration integration = new Integration(id); + integration.setTenantId(TENANT_ID); + integration.setName("MQTT " + id); + integration.setType(IntegrationType.MQTT); + integration.setRoutingKey(id.getId().toString()); + integration.setEnabled(true); + integration.setDefaultConverterId(new ConverterId(UUID.randomUUID())); + integration.setConfiguration(JacksonUtil.newObjectNode().put("id", id.getId().toString())); + partitionByEntity.put(id.getId(), partition); + configurations.put(id, integration); + ThingsboardPlatformIntegration platformIntegration = mock(ThingsboardPlatformIntegration.class); + when(platformIntegration.getConfiguration()).thenReturn(integration); + platformIntegrations.put(id, platformIntegration); + return integration; + } + + private void ownPartitions(Integer... partitions) { + livePartitions.clear(); + Collections.addAll(livePartitions, partitions); + } + + private Set tpis(Integer... partitions) { + return Arrays.stream(partitions) + .map(p -> new TopicPartitionInfo("tb_ie.downlink.mqtt", null, p, true)) + .collect(Collectors.toSet()); + } + + private void runLifecycleTasks() { + Runnable task; + while ((task = lifecycleTasks.poll()) != null) { + task.run(); + } + } + + @SuppressWarnings("unchecked") + private ConcurrentMap integrationStates() { + return (ConcurrentMap) ReflectionTestUtils.getField(service, "integrations"); + } + +} From d32eb231586efb3ae2fcc067ed3be8aa29072679 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 18:25:25 +0200 Subject: [PATCH 015/275] Integration Executor: merge pending partition change events per queue key A PartitionChangeEvent carries only the queue keys whose partitions changed (and the removed ones), not a full snapshot. Keeping only the last pending event dropped the changes of every other integration type: e.g. on a node whose neighbours support different integration types, an MQTT-only event queued after a first event with all types left HTTP, KAFKA, ... unsubscribed and not refreshed until their partitions changed again. This could happen at startup and, since events are now drained after startup too, while an event thread waits for the synchronized drain. Merge the pending events per queue key instead; the latest partitions of each key win. --- .../DefaultClusterIntegrationService.java | 30 ++++++++++--------- .../DefaultClusterIntegrationServiceTest.java | 29 ++++++++++++++++-- 2 files changed, 42 insertions(+), 17 deletions(-) diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java index 328ab2d61b..15859394f9 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationService.java @@ -23,6 +23,7 @@ import org.thingsboard.server.gen.integration.ToIntegrationExecutorDownlinkMsg; import org.thingsboard.server.gen.integration.ToIntegrationExecutorNotificationMsg; import org.thingsboard.server.queue.TbQueueConsumer; import org.thingsboard.server.queue.common.TbProtoQueueMsg; +import org.thingsboard.server.queue.discovery.QueueKey; import org.thingsboard.server.queue.discovery.TbApplicationEventListener; import org.thingsboard.server.queue.discovery.TbServiceInfoProvider; import org.thingsboard.server.queue.discovery.event.PartitionChangeEvent; @@ -34,6 +35,7 @@ import org.thingsboard.server.queue.util.TbPackCallback; import org.thingsboard.server.queue.util.TbPackProcessingContext; import org.thingsboard.server.service.cache.IntegrationExecutorCacheStartupService; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Queue; @@ -125,39 +127,39 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener protected void onTbApplicationEvent(PartitionChangeEvent event) { log.debug("Received partition change event: {}", event); // Always enqueue first, then drain: the drain below must see this event. Enqueueing only while - // !started dropped every partition change that arrived after startup, so a node kept the snapshot + // !started dropped every partition change that arrived after startup, so a node kept the partitions // it drained at startup forever and singleton integrations ran twice (or nowhere) after a rollout. pendingEvents.add(event); if (!started) { log.debug("Integration Executor not started yet, event queued for later: {}", event); return; // doStartup() will drain the queue } - // Either already started or just became started - drain and process the latest pending + // Either already started or just became started - drain and process the pending changes drainPendingEvents(); } - // Synchronized so that the startup thread and an event thread cannot process two snapshots concurrently - // and push them to subscribeEventsMap in reverse order, which would leave the older snapshot applied. + // Synchronized so that the startup thread and an event thread cannot process two drains concurrently + // and push them to subscribeEventsMap in reverse order, which would leave older partitions applied. private synchronized void drainPendingEvents() { - // Each PartitionChangeEvent carries a full partition snapshot for TB_INTEGRATION_EXECUTOR, - // so earlier pending events are superseded — discard them and process only the latest. - PartitionChangeEvent latest = null; + // A PartitionChangeEvent carries only the queue keys whose partitions changed (an empty set for a removed key), + // not a full snapshot: merge the pending events per queue key, the latest partitions of each key win. + Map> latestPartitions = new HashMap<>(); PartitionChangeEvent event; while ((event = pendingEvents.poll()) != null) { - latest = event; + latestPartitions.putAll(event.getNewPartitions()); } - if (latest == null) { + if (latestPartitions.isEmpty()) { return; } try { - processPartitionChangeEvent(latest); + processPartitionChanges(latestPartitions); } catch (Throwable t) { - log.error("Failed to handle partition change event: {}", latest, t); + log.error("Failed to handle partition changes: {}", latestPartitions, t); } } - private void processPartitionChangeEvent(PartitionChangeEvent event) { - event.getNewPartitions().forEach(((queueKey, partitions) -> { + private void processPartitionChanges(Map> newPartitions) { + newPartitions.forEach(((queueKey, partitions) -> { IntegrationType type = IntegrationType.valueOf(queueKey.getQueueName()); subscribeEventsMap.computeIfAbsent(type, t -> new ConcurrentLinkedQueue<>()).add(partitions); queueExecutor.submit(() -> refreshIntegrationsByType(type)); @@ -199,7 +201,7 @@ public class DefaultClusterIntegrationService extends TbApplicationEventListener } finally { // Mark as started and drain pending events even on failure, so that partition change events are not stuck in the queue forever. // After started=true, any new events will drain themselves in onTbApplicationEvent(). - // drainPendingEvents() is synchronized, so snapshots are applied in the order they were queued. + // drainPendingEvents() is synchronized, so partition changes are applied in the order they were queued. started = true; drainPendingEvents(); } diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java index 08bd8ad234..112971e221 100644 --- a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultClusterIntegrationServiceTest.java @@ -36,6 +36,7 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; @@ -56,16 +57,19 @@ class DefaultClusterIntegrationServiceTest { private IntegrationManagerService integrationManagerService; @Mock private TbQueueConsumer> mqttConsumer; + @Mock + private TbQueueConsumer> httpConsumer; private DefaultClusterIntegrationService service; @BeforeEach @SuppressWarnings("unchecked") void setUp() { - when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT)); + when(serviceInfoProvider.getSupportedIntegrationTypes()).thenReturn(List.of(IntegrationType.MQTT, IntegrationType.HTTP)); when(queueFactory.createToIntegrationExecutorNotificationsMsgConsumer()) .thenReturn(mock(TbQueueConsumer.class)); when(queueFactory.createToIntegrationExecutorDownlinkMsgConsumer(IntegrationType.MQTT)).thenReturn(mqttConsumer); + when(queueFactory.createToIntegrationExecutorDownlinkMsgConsumer(IntegrationType.HTTP)).thenReturn(httpConsumer); service = new DefaultClusterIntegrationService(serviceInfoProvider, settings, queueFactory, integrationManagerService) { @Override protected void launchMainConsumers() { @@ -128,10 +132,29 @@ class DefaultClusterIntegrationServiceTest { verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(eq(IntegrationType.MQTT), eq(Collections.emptySet())); } + @Test + void givenEventsForDifferentTypesPendingAtStartup_whenStarted_thenEveryTypeGetsItsLatestPartitions() { + // An event carries only the queue keys whose partitions changed: a later MQTT-only event must not hide HTTP. + service.onApplicationEvent(partitionChangeEvent(Map.of(IntegrationType.MQTT, tpis(0), IntegrationType.HTTP, tpis(1)))); + service.onApplicationEvent(partitionChangeEvent(Map.of(IntegrationType.MQTT, tpis(2)))); + service.onApplicationEvent((ApplicationReadyEvent) null); + + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.HTTP, tpis(1)); + verify(httpConsumer, timeout(TIMEOUT_MS)).subscribe(tpis(1)); + verify(integrationManagerService, timeout(TIMEOUT_MS)).refresh(IntegrationType.MQTT, tpis(2)); + verify(mqttConsumer, timeout(TIMEOUT_MS)).subscribe(tpis(2)); + verify(integrationManagerService, never()).refresh(IntegrationType.MQTT, tpis(0)); + } + private static PartitionChangeEvent partitionChangeEvent(Integer... partitions) { - QueueKey queueKey = new QueueKey(ServiceType.TB_INTEGRATION_EXECUTOR, IntegrationType.MQTT.name()); + return partitionChangeEvent(Map.of(IntegrationType.MQTT, tpis(partitions))); + } + + private static PartitionChangeEvent partitionChangeEvent(Map> partitionsByType) { + Map> newPartitions = partitionsByType.entrySet().stream().collect(Collectors.toMap( + e -> new QueueKey(ServiceType.TB_INTEGRATION_EXECUTOR, e.getKey().name()), Map.Entry::getValue)); return new PartitionChangeEvent(DefaultClusterIntegrationServiceTest.class, ServiceType.TB_INTEGRATION_EXECUTOR, - Map.of(queueKey, tpis(partitions)), Collections.emptyMap()); + newPartitions, Collections.emptyMap()); } private static Set tpis(Integer... partitions) { From 3851cfe47af485c836182c58559d8bb516627653 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Fri, 23 Oct 2026 19:26:34 +0200 Subject: [PATCH 016/275] Integration Executor: re-check ownership when a stale STOPPED runs refresh() schedules STOPPED for a singleton whose partition moved away, and skips integrations that are still running when the partition comes back. If the lifecycle executor ran that STOPPED only after the partition came back (busy pool, or tryUpdate rescheduled after a lost tryLock), it destroyed the integration on the node that owned it again, and nothing restarted it until the next partition change. When STOPPED runs, fetch the configuration and check the current ownership: - skip the stop if the integration is running, enabled, not remote and mine; - otherwise stop it, and if it is mine again after the stop (the partition came back while it was being stopped) schedule CREATED. processStop() removes the state first, so CREATED starts from a fresh state. If the configuration can't be fetched or the ownership can't be resolved, the integration is stopped as before. Stops for integrations switched to remote or disabled are not affected. --- .../DefaultIntegrationManagerService.java | 38 +++++++++ .../DefaultIntegrationManagerServiceTest.java | 83 +++++++++++++++++++ 2 files changed, 121 insertions(+) diff --git a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java index fed293a6c4..0e603d11b4 100644 --- a/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java +++ b/common/integration/cluster-integration-api/src/main/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerService.java @@ -600,6 +600,8 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi } break; case STOPPED: + processStopUnlessMine(state); + break; case SUSPENDED: case DELETED: persistCurrentStatistics(state); @@ -610,6 +612,42 @@ public class DefaultIntegrationManagerService implements IntegrationManagerServi } } + // A STOPPED scheduled because the partition moved away can be stale: the partition may come back before the event + // runs, and refresh() skips integrations that are still running. Ownership is checked again when the stop runs, and + // once more after it, because the partition may also come back while the integration is being stopped. + private void processStopUnlessMine(IntegrationState state) { + Integration configuration; + try { + configuration = configurationService.getIntegration(state.getTenantId(), state.getId()); + } catch (Exception e) { + // Without the configuration the ownership can't be checked: stop it, as before the check existed. + log.warn("[{}][{}] Failed to fetch the integration before stopping it: {}", state.getTenantId(), state.getId(), e.getMessage()); + configuration = null; + } + if (state.getIntegration() != null && shouldRunHere(configuration)) { + log.info("[{}][{}] Skipping STOPPED: the integration is mine again.", state.getTenantId(), state.getId()); + return; + } + persistCurrentStatistics(state); + processStop(state, STOPPED); + if (shouldRunHere(configuration)) { + log.info("[{}][{}] The integration is mine again after the stop, starting it.", state.getTenantId(), state.getId()); + scheduleIntegrationEvent(state.getTenantId(), state.getId(), ComponentLifecycleEvent.CREATED); + } + } + + private boolean shouldRunHere(Integration configuration) { + if (configuration == null || !configuration.isEnabled() || configuration.isRemote()) { + return false; + } + try { + return isMine(configuration); + } catch (Exception e) { + log.debug("[{}][{}] Failed to resolve integration ownership", configuration.getTenantId(), configuration.getId(), e); + return false; + } + } + private void processUpdateEvent(IntegrationState state, Integration configuration) throws Exception { state.setConfiguration(configuration); if (log.isDebugEnabled()) { diff --git a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java index 74278ce84d..2fd8d6d93b 100644 --- a/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java +++ b/common/integration/cluster-integration-api/src/test/java/org/thingsboard/server/service/integration/DefaultIntegrationManagerServiceTest.java @@ -215,6 +215,89 @@ class DefaultIntegrationManagerServiceTest { assertThat(integrationStates()).doesNotContainKey(integration.getId()); } + @Test + void givenStopQueuedForLostPartition_whenPartitionComesBackBeforeItRuns_thenIntegrationKeepsRunning() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + verify(platformIntegration).init(any()); + + // A neighbour restarts: [1] queues STOPPED, [2] arrives before the lifecycle executor runs it. + // refresh([2]) skips the integration because it is still running. + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + verify(platformIntegration, never()).destroy(); + assertThat(integrationStates().get(integration.getId()).getCurrentState()).isEqualTo(ComponentLifecycleEvent.STARTED); + } + + @Test + void givenSingletonBeingStopped_whenPartitionComesBackDuringStop_thenIntegrationIsCreatedAgain() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + // The partition comes back while the stop is in progress, after its ownership check. + doAnswer(inv -> { + ownPartitions(2); + return null; + }).when(platformIntegration).destroy(); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + verify(platformIntegration, times(2)).init(any()); + assertThat(integrationStates().get(integration.getId()).getCurrentState()).isEqualTo(ComponentLifecycleEvent.STARTED); + } + + @Test + void givenStopQueued_whenConfigurationFetchFails_thenIntegrationIsStopped() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + ownPartitions(1); + service.refresh(IntegrationType.MQTT, tpis(1)); + ownPartitions(2); + when(configurationService.getIntegration(any(TenantId.class), any(IntegrationId.class))).thenThrow(new RuntimeException("timeout")); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + + @Test + void givenRunningSingletonSwitchedToRemote_whenStopRuns_thenItIsStoppedAlthoughPartitionIsMine() throws Exception { + Integration integration = mqttIntegration(2); + ThingsboardPlatformIntegration platformIntegration = platformIntegrations.get(integration.getId()); + when(configurationService.getActiveIntegrationList(IntegrationType.MQTT, false)).thenReturn(List.of(integration)); + ownPartitions(2); + service.refresh(IntegrationType.MQTT, tpis(2)); + runLifecycleTasks(); + + integration.setRemote(true); + ReflectionTestUtils.invokeMethod(service, "scheduleIntegrationEvent", TENANT_ID, integration.getId(), + ComponentLifecycleEvent.STOPPED); + runLifecycleTasks(); + + verify(platformIntegration).destroy(); + verify(platformIntegration).init(any()); + assertThat(integrationStates()).doesNotContainKey(integration.getId()); + } + @Test void givenLongRunningSingleton_whenPartitionMovesAway_thenRefreshStopsIt() throws Exception { Integration integration = mqttIntegration(1); From 6859887a1b844f9351bb166cb57c6cb0d5219c8b Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:36:16 +0200 Subject: [PATCH 017/275] Tighten device claiming permission checks --- .../permission/CustomerUserPermissions.java | 7 ++- .../controller/DeviceControllerTest.java | 57 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index bf55bc66a1..d9ae780daa 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -8,6 +8,7 @@ import org.thingsboard.server.common.data.HasCustomerId; import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.TbResourceInfo; import org.thingsboard.server.common.data.User; +import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TbResourceId; @@ -68,7 +69,11 @@ public class CustomerUserPermissions extends AbstractPermissions { if (!(entity instanceof HasCustomerId)) { return false; } - return operation.equals(Operation.CLAIM_DEVICES) || user.getCustomerId().equals(((HasCustomerId) entity).getCustomerId()); + CustomerId customerId = ((HasCustomerId) entity).getCustomerId(); + if (operation.equals(Operation.CLAIM_DEVICES) && (customerId == null || customerId.isNullUid())) { + return true; + } + return user.getCustomerId().equals(customerId); } }; diff --git a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java index d0aa60e131..3edfaf36c3 100644 --- a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java @@ -25,6 +25,7 @@ import org.springframework.test.context.ContextConfiguration; import org.testcontainers.shaded.org.awaitility.Awaitility; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; +import org.thingsboard.server.common.data.ClaimRequest; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceInfo; @@ -1638,6 +1639,62 @@ public class DeviceControllerTest extends AbstractControllerTest { assertThat(device.getVersion()).isEqualTo(3); } + @Test + public void testReclaimDeviceByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim own device"); + + loginCustomerUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + @Test + public void testReclaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim device of different customer"); + + loginDifferentCustomer(); + doDelete("/api/customer/device/" + device.getName() + "/claim") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testClaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Claim device of different customer"); + + loginDifferentCustomer(); + doPost("/api/customer/device/" + device.getName() + "/claim", new ClaimRequest(null)) + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testReclaimDeviceByTenantAdmin() throws Exception { + Device device = createCustomerDevice("Reclaim device by tenant admin"); + + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + private Device createCustomerDevice(String name) throws Exception { + loginTenantAdmin(); + Device device = createDevice(name); + return doPost("/api/customer/" + customerId.getId() + "/device/" + device.getUuidId(), Device.class); + } + private Device createDevice(String name) { Device device = new Device(); device.setName(name); From 9ad2af59997e8a4d77f9dec3fc69276b0810764d Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:36:16 +0200 Subject: [PATCH 018/275] Fix repeated login in different customer test helpers --- .../server/controller/AbstractWebTest.java | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java index a18297909e..8ed68d71c7 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java @@ -511,10 +511,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentCustomer() throws Exception { - if (savedDifferentCustomer != null) { - login(savedDifferentCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentCustomerUser != null) { + login(DIFFERENT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentCustomer(); + if (savedDifferentCustomer == null) { + createDifferentCustomer(); + } loginTenantAdmin(); differentCustomerUser = new User(); @@ -529,10 +531,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentTenantCustomer() throws Exception { - if (savedDifferentTenantCustomer != null) { - login(savedDifferentTenantCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentTenantCustomerUser != null) { + login(DIFFERENT_TENANT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentTenantCustomer(); + if (savedDifferentTenantCustomer == null) { + createDifferentTenantCustomer(); + } loginDifferentTenant(); differentTenantCustomerUser = new User(); @@ -575,6 +579,8 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { loginSysAdmin(); deleteTenant(savedDifferentTenant.getId()); savedDifferentTenant = null; + savedDifferentTenantCustomer = null; + differentTenantCustomerUser = null; } } From f8316b9fcb9972edd48b741921f0eec488ebde23 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:36:16 +0200 Subject: [PATCH 019/275] Tighten device claiming permission checks --- .../permission/CustomerUserPermissions.java | 2 +- .../controller/DeviceControllerTest.java | 96 +++++++++++++++++++ 2 files changed, 97 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index 2eab59f385..ce173a460b 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -227,7 +227,7 @@ public class CustomerUserPermissions extends AbstractPermissions { } } } else { - if (operation == Operation.CLAIM_DEVICES) { + if (operation == Operation.CLAIM_DEVICES && user.getTenantId().equals(((HasOwnerId) entity).getOwnerId())) { return user.getUserPermissions().hasGenericPermission(resource, operation); } if (entity.getEntityType() == EntityType.CUSTOMER && user.getCustomerId().equals(entityId) || diff --git a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java index 3ddf6b3223..aea1317fd1 100644 --- a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java @@ -27,6 +27,7 @@ import org.testcontainers.shaded.org.awaitility.Awaitility; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.ClaimRequest; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceProfile; @@ -60,6 +61,8 @@ import org.thingsboard.server.common.data.sync.ie.importing.csv.BulkImportColumn import org.thingsboard.server.common.data.sync.ie.importing.csv.BulkImportRequest; import org.thingsboard.server.common.data.sync.ie.importing.csv.BulkImportResult; import org.thingsboard.server.dao.device.DeviceDao; +import org.thingsboard.server.dao.device.claim.ClaimResponse; +import org.thingsboard.server.dao.device.claim.ClaimResult; import org.thingsboard.server.dao.exception.DeviceCredentialsValidationException; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.exception.DataValidationException; @@ -1518,4 +1521,97 @@ public class DeviceControllerTest extends AbstractControllerTest { assertThat(resavedSecondDevice.getExternalId()).isEqualTo(secondExternalId); } + @Test + public void testReclaimDeviceByCustomerUser() throws Exception { + Device device = createTenantDevice("Customer device to reclaim", customerId); + + loginCustomerAdminUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device reclaimedDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(reclaimedDevice.getOwnerId()).isEqualTo(tenantId); + } + + @Test + public void testReclaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + createDifferentCustomer(); + Device device = createTenantDevice("Different customer device", differentCustomerId); + + loginCustomerAdminUser(); + doDelete("/api/customer/device/" + device.getName() + "/claim").andExpect(status().isForbidden()); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(foundDevice.getOwnerId()).isEqualTo(differentCustomerId); + } + + @Test + public void testReclaimSubCustomerDeviceByParentCustomerUser() throws Exception { + Device device = createTenantDevice("Sub-customer device to reclaim", subCustomerId); + + loginCustomerAdminUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device reclaimedDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(reclaimedDevice.getOwnerId()).isEqualTo(tenantId); + } + + @Test + public void testReclaimParentCustomerDeviceBySubCustomerUser() throws Exception { + Device device = createTenantDevice("Parent customer device", customerId); + + loginSubCustomerAdminUser(); + doDelete("/api/customer/device/" + device.getName() + "/claim").andExpect(status().isForbidden()); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(foundDevice.getOwnerId()).isEqualTo(customerId); + } + + @Test + public void testReclaimDeviceByTenantAdmin() throws Exception { + Device device = createTenantDevice("Customer device to reclaim by tenant", customerId); + + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + Device reclaimedDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(reclaimedDevice.getOwnerId()).isEqualTo(tenantId); + } + + @Test + public void testClaimUnassignedDeviceByCustomerUser() throws Exception { + Device device = createTenantDevice("Unassigned device to claim", null); + claimDevicesService.registerClaimingInfo(tenantId, device.getId(), "secret", TimeUnit.MINUTES.toMillis(1)).get(); + + loginCustomerAdminUser(); + ClaimResult claimResult = doPostClaimAsync("/api/customer/device/" + device.getName() + "/claim", + new ClaimRequest("secret"), ClaimResult.class, status().isOk()); + assertThat(claimResult.getResponse()).isEqualTo(ClaimResponse.SUCCESS); + assertThat(claimResult.getDevice().getOwnerId()).isEqualTo(customerId); + } + + @Test + public void testClaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + createDifferentCustomer(); + Device device = createTenantDevice("Different customer device to claim", differentCustomerId); + + loginCustomerAdminUser(); + doPost("/api/customer/device/" + device.getName() + "/claim", new ClaimRequest(null)).andExpect(status().isForbidden()); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getId().getId(), Device.class); + assertThat(foundDevice.getOwnerId()).isEqualTo(differentCustomerId); + } + + private Device createTenantDevice(String name, CustomerId ownerId) throws Exception { + loginTenantAdmin(); + Device device = new Device(); + device.setName(name); + device.setType("default"); + device.setCustomerId(ownerId); + return doPost("/api/device", device, Device.class); + } + } From 29e305393ec480b7c34e954283780ac159e6f428 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:45:41 +0200 Subject: [PATCH 020/275] Tighten device claiming permission checks --- .../permission/CustomerUserPermissions.java | 7 ++- .../controller/DeviceControllerTest.java | 57 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index cd9f1b2c66..0544bdc75a 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -9,6 +9,7 @@ import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.TbResourceInfo; import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.id.ApiKeyId; +import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TbResourceId; @@ -71,7 +72,11 @@ public class CustomerUserPermissions extends AbstractPermissions { if (!(entity instanceof HasCustomerId)) { return false; } - return operation.equals(Operation.CLAIM_DEVICES) || user.getCustomerId().equals(((HasCustomerId) entity).getCustomerId()); + CustomerId customerId = ((HasCustomerId) entity).getCustomerId(); + if (operation.equals(Operation.CLAIM_DEVICES) && (customerId == null || customerId.isNullUid())) { + return true; + } + return user.getCustomerId().equals(customerId); } }; diff --git a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java index 52e16ca1eb..0ef72ae19e 100644 --- a/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/DeviceControllerTest.java @@ -26,6 +26,7 @@ import org.testcontainers.shaded.org.awaitility.Awaitility; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.common.util.ThingsBoardExecutors; import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.ClaimRequest; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceInfo; @@ -1695,6 +1696,62 @@ public class DeviceControllerTest extends AbstractControllerTest { assertThat(device.getVersion()).isEqualTo(3); } + @Test + public void testReclaimDeviceByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim own device"); + + loginCustomerUser(); + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + @Test + public void testReclaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Reclaim device of different customer"); + + loginDifferentCustomer(); + doDelete("/api/customer/device/" + device.getName() + "/claim") + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testClaimDeviceOfDifferentCustomerByCustomerUser() throws Exception { + Device device = createCustomerDevice("Claim device of different customer"); + + loginDifferentCustomer(); + doPost("/api/customer/device/" + device.getName() + "/claim", new ClaimRequest(null)) + .andExpect(status().isForbidden()) + .andExpect(statusReason(containsString(msgErrorPermission))); + + loginTenantAdmin(); + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(customerId, foundDevice.getCustomerId()); + } + + @Test + public void testReclaimDeviceByTenantAdmin() throws Exception { + Device device = createCustomerDevice("Reclaim device by tenant admin"); + + doDeleteAsync("/api/customer/device/" + device.getName() + "/claim", String.class); + + Device foundDevice = doGet("/api/device/" + device.getUuidId(), Device.class); + Assert.assertEquals(NULL_UUID, foundDevice.getCustomerId().getId()); + } + + private Device createCustomerDevice(String name) throws Exception { + loginTenantAdmin(); + Device device = createDevice(name); + return doPost("/api/customer/" + customerId.getId() + "/device/" + device.getUuidId(), Device.class); + } + @Test public void testSaveDeviceWithUniquifyStrategy() throws Exception { Device device = new Device(); From 33c59ded38d27fd829526d203c334bf93cba8391 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 26 Oct 2026 14:45:41 +0200 Subject: [PATCH 021/275] Fix repeated login in different customer test helpers --- .../server/controller/AbstractWebTest.java | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java index a97f5d5b9d..9168908040 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java @@ -533,10 +533,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentCustomer() throws Exception { - if (savedDifferentCustomer != null) { - login(savedDifferentCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentCustomerUser != null) { + login(DIFFERENT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentCustomer(); + if (savedDifferentCustomer == null) { + createDifferentCustomer(); + } loginTenantAdmin(); differentCustomerUser = new User(); @@ -551,10 +553,12 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { } protected void loginDifferentTenantCustomer() throws Exception { - if (savedDifferentTenantCustomer != null) { - login(savedDifferentTenantCustomer.getEmail(), CUSTOMER_USER_PASSWORD); + if (differentTenantCustomerUser != null) { + login(DIFFERENT_TENANT_CUSTOMER_USER_EMAIL, DIFFERENT_CUSTOMER_USER_PASSWORD); } else { - createDifferentTenantCustomer(); + if (savedDifferentTenantCustomer == null) { + createDifferentTenantCustomer(); + } loginDifferentTenant(); differentTenantCustomerUser = new User(); @@ -597,6 +601,8 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest { loginSysAdmin(); deleteTenant(savedDifferentTenant.getId()); savedDifferentTenant = null; + savedDifferentTenantCustomer = null; + differentTenantCustomerUser = null; } } From c82d1ce1562d94cbdab01c26e454387b4cbe2566 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 26 Oct 2026 14:49:57 +0100 Subject: [PATCH 022/275] Check entity tenant in edge request msgs processing --- .../rpc/sync/DefaultEdgeRequestsService.java | 37 +++++++- .../server/edge/RequestMsgEdgeTest.java | 94 +++++++++++++++++++ 2 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index 96964f59f8..3e90c2394b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -34,6 +34,7 @@ import org.thingsboard.server.common.data.edge.EdgeEventActionType; import org.thingsboard.server.common.data.edge.EdgeEventType; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.EdgeId; +import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.EntityIdFactory; import org.thingsboard.server.common.data.id.RuleChainId; @@ -57,6 +58,7 @@ import org.thingsboard.server.common.data.widget.WidgetsBundle; import org.thingsboard.server.dao.attributes.AttributesService; import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.edge.EdgeEventService; +import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.notification.NotificationSettingsService; import org.thingsboard.server.dao.relation.RelationService; import org.thingsboard.server.dao.timeseries.TimeseriesService; @@ -110,6 +112,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { @Autowired private RelationService relationService; + @Autowired + private EntityService entityService; + @Lazy @Autowired private TbEntityViewService entityViewService; @@ -168,6 +173,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return Futures.immediateFuture(null); } RuleChainId ruleChainId = new RuleChainId(new UUID(ruleChainMetadataRequestMsg.getRuleChainIdMSB(), ruleChainMetadataRequestMsg.getRuleChainIdLSB())); + if (!isTenantEntity(tenantId, ruleChainId)) { + return Futures.immediateFuture(null); + } return saveEdgeEvent(tenantId, edge.getId(), EdgeEventType.RULE_CHAIN_METADATA, EdgeEventActionType.ADDED, ruleChainId, null); } @@ -182,6 +190,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { log.warn("[{}] Type doesn't supported {}", tenantId, entityId.getEntityType()); return Futures.immediateFuture(null); } + if (!isTenantEntity(tenantId, entityId)) { + return Futures.immediateFuture(null); + } String scope = attributesRequestMsg.getScope(); ListenableFuture> findAttrFuture = attributesService.findAll(tenantId, entityId, AttributeScope.valueOf(scope)); return Futures.transformAsync(findAttrFuture, ssAttributes @@ -275,6 +286,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { EntityId entityId = EntityIdFactory.getByTypeAndUuid( EntityType.valueOf(relationRequestMsg.getEntityType()), new UUID(relationRequestMsg.getEntityIdMSB(), relationRequestMsg.getEntityIdLSB())); + if (!isTenantEntity(tenantId, entityId)) { + return Futures.immediateFuture(null); + } List>> futures = new ArrayList<>(); futures.add(findRelationByQuery(tenantId, edge, entityId, EntitySearchDirection.FROM)); @@ -398,6 +412,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return Futures.immediateFuture(null); } DeviceId deviceId = new DeviceId(new UUID(deviceCredentialsRequestMsg.getDeviceIdMSB(), deviceCredentialsRequestMsg.getDeviceIdLSB())); + if (!isTenantEntity(tenantId, deviceId)) { + return Futures.immediateFuture(null); + } return saveEdgeEvent(tenantId, edge.getId(), EdgeEventType.DEVICE, EdgeEventActionType.CREDENTIALS_UPDATED, deviceId, null); } @@ -409,6 +426,9 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return Futures.immediateFuture(null); } UserId userId = new UserId(new UUID(userCredentialsRequestMsg.getUserIdMSB(), userCredentialsRequestMsg.getUserIdLSB())); + if (!isTenantEntity(tenantId, userId)) { + return Futures.immediateFuture(null); + } return saveEdgeEvent(tenantId, edge.getId(), EdgeEventType.USER, EdgeEventActionType.CREDENTIALS_UPDATED, userId, null); } @@ -421,7 +441,7 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { if (widgetBundleTypesRequestMsg.getWidgetBundleIdMSB() != 0 && widgetBundleTypesRequestMsg.getWidgetBundleIdLSB() != 0) { WidgetsBundleId widgetsBundleId = new WidgetsBundleId(new UUID(widgetBundleTypesRequestMsg.getWidgetBundleIdMSB(), widgetBundleTypesRequestMsg.getWidgetBundleIdLSB())); WidgetsBundle widgetsBundleById = widgetsBundleService.findWidgetsBundleById(tenantId, widgetsBundleId); - if (widgetsBundleById != null) { + if (widgetsBundleById != null && (TenantId.SYS_TENANT_ID.equals(widgetsBundleById.getTenantId()) || tenantId.equals(widgetsBundleById.getTenantId()))) { List widgetTypesToPush = widgetTypeService.findWidgetTypesByWidgetsBundleId(widgetsBundleById.getTenantId(), widgetsBundleId); for (WidgetType widgetType : widgetTypesToPush) { @@ -623,6 +643,21 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { return request != null ? JacksonUtil.IGNORE_UNKNOWN_PROPERTIES_JSON_MAPPER.readValue(request, clazz) : null; } + private boolean isTenantEntity(TenantId tenantId, EntityId entityId) { + try { + boolean tenantEntity = entityService.fetchEntity(tenantId, entityId) + .map(entity -> entity instanceof HasTenantId hasTenantId && tenantId.equals(hasTenantId.getTenantId())) + .orElse(false); + if (!tenantEntity) { + log.warn("[{}] Entity {} not found, skipping request", tenantId, entityId); + } + return tenantEntity; + } catch (IllegalArgumentException e) { + log.warn("[{}] Unsupported entity {}, skipping request", tenantId, entityId); + return false; + } + } + private ListenableFuture saveEdgeEvent(TenantId tenantId, EdgeId edgeId, EdgeEventType type, diff --git a/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java new file mode 100644 index 0000000000..76e38457d8 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.edge; + +import org.junit.Assert; +import org.junit.Test; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.DataConstants; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.asset.Asset; +import org.thingsboard.server.common.data.relation.EntityRelation; +import org.thingsboard.server.common.data.relation.RelationTypeGroup; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.common.data.rule.RuleChainType; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.AttributesRequestMsg; +import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; +import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; +import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; + +import java.util.UUID; + +@DaoSqlTest +public class RequestMsgEdgeTest extends AbstractEdgeTest { + + @Test + public void testSendRequestsForEntitiesOfAnotherTenantToCloud() throws Exception { + loginDifferentTenant(); + try { + Device device = new Device(); + device.setName("Different Tenant Device"); + device.setType("default"); + device = doPost("/api/device", device, Device.class); + doPost("/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/" + DataConstants.SERVER_SCOPE, + JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); + + Asset asset = new Asset(); + asset.setName("Different Tenant Asset"); + asset.setType("default"); + asset = doPost("/api/asset", asset, Asset.class); + + EntityRelation relation = new EntityRelation(); + relation.setType("test"); + relation.setFrom(device.getId()); + relation.setTo(asset.getId()); + relation.setTypeGroup(RelationTypeGroup.COMMON); + doPost("/api/v2/relation", relation, EntityRelation.class); + + RuleChain ruleChain = new RuleChain(); + ruleChain.setName("Different Tenant Rule Chain"); + ruleChain.setType(RuleChainType.CORE); + ruleChain = doPost("/api/ruleChain", ruleChain, RuleChain.class); + + UUID deviceUuid = device.getUuidId(); + UUID userUuid = savedDifferentTenantUser.getUuidId(); + UUID ruleChainUuid = ruleChain.getUuidId(); + loginTenantAdmin(); + + UplinkMsg uplinkMsg = UplinkMsg.newBuilder() + .addUserCredentialsRequestMsg(UserCredentialsRequestMsg.newBuilder() + .setUserIdMSB(userUuid.getMostSignificantBits()) + .setUserIdLSB(userUuid.getLeastSignificantBits()).build()) + .addDeviceCredentialsRequestMsg(DeviceCredentialsRequestMsg.newBuilder() + .setDeviceIdMSB(deviceUuid.getMostSignificantBits()) + .setDeviceIdLSB(deviceUuid.getLeastSignificantBits()).build()) + .addAttributesRequestMsg(AttributesRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(deviceUuid.getMostSignificantBits()) + .setEntityIdLSB(deviceUuid.getLeastSignificantBits()) + .setScope(DataConstants.SERVER_SCOPE).build()) + .addRelationRequestMsg(RelationRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(deviceUuid.getMostSignificantBits()) + .setEntityIdLSB(deviceUuid.getLeastSignificantBits()).build()) + .addRuleChainMetadataRequestMsg(RuleChainMetadataRequestMsg.newBuilder() + .setRuleChainIdMSB(ruleChainUuid.getMostSignificantBits()) + .setRuleChainIdLSB(ruleChainUuid.getLeastSignificantBits()).build()) + .build(); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.expectMessageAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + Assert.assertFalse(edgeImitator.waitForMessages(5)); + } finally { + deleteDifferentTenant(); + loginTenantAdmin(); + } + } + +} From 979e2d5f8130fc0781c222e3884e940632d5a83f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 26 Oct 2026 16:29:13 +0100 Subject: [PATCH 023/275] Check user tenant before sending user to edge --- .../service/edge/rpc/processor/user/UserEdgeProcessor.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index a2f8b9abd0..6e5b0c1b54 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -29,7 +29,7 @@ public class UserEdgeProcessor extends BaseEdgeProcessor { switch (edgeEvent.getAction()) { case ADDED, UPDATED -> { User user = edgeCtx.getUserService().findUserById(edgeEvent.getTenantId(), userId); - if (user != null) { + if (user != null && edgeEvent.getTenantId().equals(user.getTenantId())) { UpdateMsgType msgType = getUpdateMsgType(edgeEvent.getAction()); DownlinkMsg.Builder builder = DownlinkMsg.newBuilder() .setDownlinkMsgId(EdgeUtils.nextPositiveInt()) @@ -48,6 +48,9 @@ public class UserEdgeProcessor extends BaseEdgeProcessor { .build(); } case CREDENTIALS_UPDATED -> { + if (!isEntityExists(edgeEvent.getTenantId(), userId)) { + return null; + } UserCredentials userCredentialsByUserId = edgeCtx.getUserService().findUserCredentialsByUserId(edgeEvent.getTenantId(), userId); if (userCredentialsByUserId != null && userCredentialsByUserId.isEnabled()) { UserCredentialsUpdateMsg userCredentialsUpdateMsg = EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentialsByUserId); From 8f963e63a0fb9e39875134745acc3282c0ee45e8 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Mon, 26 Oct 2026 16:29:13 +0100 Subject: [PATCH 024/275] Check entity tenant in edge uplink msgs processing --- .../edge/rpc/processor/BaseEdgeProcessor.java | 16 +++- .../processor/alarm/BaseAlarmProcessor.java | 12 ++- .../processor/asset/AssetEdgeProcessor.java | 2 +- .../processor/asset/BaseAssetProcessor.java | 2 + .../profile/BaseAssetProfileProcessor.java | 2 + .../cf/BaseCalculatedFieldProcessor.java | 14 +++ .../cf/CalculatedFieldEdgeProcessor.java | 2 +- .../dashboard/BaseDashboardProcessor.java | 2 + .../dashboard/DashboardEdgeProcessor.java | 2 +- .../processor/device/BaseDeviceProcessor.java | 2 + .../processor/device/DeviceEdgeProcessor.java | 10 +- .../profile/BaseDeviceProfileProcessor.java | 2 + .../entityview/BaseEntityViewProcessor.java | 6 ++ .../entityview/EntityViewEdgeProcessor.java | 2 +- .../relation/BaseRelationProcessor.java | 4 +- .../resource/BaseResourceProcessor.java | 2 + .../rule/BaseRuleChainProcessor.java | 7 ++ .../rule/RuleChainEdgeProcessor.java | 2 +- .../server/edge/AbstractEdgeTest.java | 17 ++++ .../server/edge/AlarmEdgeTest.java | 17 ++++ .../server/edge/CalculatedFieldEdgeTest.java | 18 ++++ .../server/edge/DashboardEdgeTest.java | 18 ++++ .../server/edge/DeviceEdgeTest.java | 50 ++++++++++ .../server/edge/EntityViewEdgeTest.java | 17 ++++ .../server/edge/RelationEdgeTest.java | 35 +++++++ .../server/edge/RequestMsgEdgeTest.java | 94 ------------------- .../server/edge/ResourceEdgeTest.java | 17 ++++ .../server/edge/RuleChainEdgeTest.java | 41 ++++++++ .../server/edge/TelemetryEdgeTest.java | 40 ++++++++ .../thingsboard/server/edge/UserEdgeTest.java | 11 +++ 30 files changed, 362 insertions(+), 104 deletions(-) delete mode 100644 application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index 2219e88692..f58150d2f8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -12,6 +12,7 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.AttributeScope; import org.thingsboard.server.common.data.EdgeUtils; import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventActionType; @@ -40,6 +41,7 @@ import org.thingsboard.server.common.msg.TbMsgDataType; import org.thingsboard.server.common.msg.TbMsgMetaData; import org.thingsboard.server.dao.edge.EdgeSynchronizationManager; import org.thingsboard.server.dao.entity.EntityDaoRegistry; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.transport.TransportProtos; import org.thingsboard.server.queue.TbQueueCallback; @@ -323,7 +325,19 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { } protected boolean isEntityExists(TenantId tenantId, EntityId entityId) { - return entityDaoRegistry.getDao(entityId.getEntityType()).existsById(tenantId, entityId.getId()); + return tenantId.equals(findEntityTenantId(tenantId, entityId)); + } + + protected void checkEntityTenant(TenantId tenantId, EntityId entityId) { + TenantId entityTenantId = findEntityTenantId(tenantId, entityId); + if (entityTenantId != null && !tenantId.equals(entityTenantId)) { + throw new DataValidationException(entityId.getEntityType() + " " + entityId.getId() + " belongs to a different tenant!"); + } + } + + private TenantId findEntityTenantId(TenantId tenantId, EntityId entityId) { + Object entity = entityDaoRegistry.getDao(entityId.getEntityType()).findById(tenantId, entityId.getId()); + return entity instanceof HasTenantId hasTenantId ? hasTenantId.getTenantId() : null; } protected void createRelationFromEdge(TenantId tenantId, EdgeId edgeId, EntityId entityId) { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java index 1b9502a090..7c8a5675b3 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/alarm/BaseAlarmProcessor.java @@ -43,11 +43,13 @@ public abstract class BaseAlarmProcessor extends BaseEdgeProcessor { if (alarm == null) { throw new RuntimeException("[{" + tenantId + "}] alarmUpdateMsg {" + alarmUpdateMsg + "} cannot be converted to alarm"); } - if (alarm.getOriginator() == null) { + if (alarm.getOriginator() == null || !isEntityExists(tenantId, alarm.getOriginator())) { log.warn("[{}] Originator not found for the alarm msg {}", tenantId, alarmUpdateMsg); return Futures.immediateFuture(null); } + alarm.setTenantId(tenantId); try { + checkEntityTenant(tenantId, alarmId); switch (alarmUpdateMsg.getMsgType()) { case ENTITY_CREATED_RPC_MESSAGE: edgeCtx.getAlarmService().createAlarm(AlarmCreateOrUpdateActiveRequest.fromAlarm(alarm, null, alarmId)); @@ -92,9 +94,15 @@ public abstract class BaseAlarmProcessor extends BaseEdgeProcessor { } try { Alarm alarm = edgeCtx.getAlarmService().findAlarmById(tenantId, new AlarmId(alarmComment.getAlarmId().getId())); - if (alarm == null) { + if (alarm == null || !tenantId.equals(alarm.getTenantId())) { return Futures.immediateFuture(null); } + if (alarmComment.getId() != null) { + AlarmComment alarmCommentById = edgeCtx.getAlarmCommentService().findAlarmCommentById(tenantId, alarmComment.getId()); + if (alarmCommentById != null && !alarm.getId().equals(alarmCommentById.getAlarmId())) { + return Futures.immediateFuture(null); + } + } switch (alarmCommentUpdateMsg.getMsgType()) { case ENTITY_CREATED_RPC_MESSAGE: alarmCommentDao.save(tenantId, alarmComment); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java index fbc5a0fab9..376504a4fe 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java @@ -49,7 +49,7 @@ public class AssetEdgeProcessor extends BaseAssetProcessor implements AssetProce return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: Asset assetToDelete = edgeCtx.getAssetService().findAssetById(tenantId, assetId); - if (assetToDelete != null) { + if (assetToDelete != null && tenantId.equals(assetToDelete.getTenantId())) { edgeCtx.getAssetService().unassignAssetFromEdge(tenantId, assetId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java index 2570a21f70..f328e66d31 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/BaseAssetProcessor.java @@ -30,6 +30,8 @@ public abstract class BaseAssetProcessor extends BaseEdgeProcessor { if (asset == null) { throw new RuntimeException("[{" + tenantId + "}] assetUpdateMsg {" + assetUpdateMsg + " } cannot be converted to asset"); } + checkEntityTenant(tenantId, assetId); + asset.setTenantId(tenantId); Asset assetById = edgeCtx.getAssetService().findAssetById(tenantId, assetId); if (assetById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java index 733a41d93e..098b9ab5ba 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/profile/BaseAssetProfileProcessor.java @@ -31,6 +31,8 @@ public abstract class BaseAssetProfileProcessor extends BaseEdgeProcessor { if (assetProfile == null) { throw new RuntimeException("[{" + tenantId + "}] assetProfileUpdateMsg {" + assetProfileUpdateMsg + "} cannot be converted to asset profile"); } + checkEntityTenant(tenantId, assetProfileId); + assetProfile.setTenantId(tenantId); AssetProfile assetProfileById = edgeCtx.getAssetProfileService().findAssetProfileById(tenantId, assetProfileId); if (assetProfileById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java index d868f0e96f..b5bfeacde1 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/BaseCalculatedFieldProcessor.java @@ -10,7 +10,9 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.cf.CalculatedField; import org.thingsboard.server.common.data.id.CalculatedFieldId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.service.DataValidator; import org.thingsboard.server.gen.edge.v1.CalculatedFieldUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; @@ -30,6 +32,18 @@ public abstract class BaseCalculatedFieldProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] calculatedFieldUpdateMsg {" + calculatedFieldUpdateMsg + " } cannot be converted to calculatedField"); } + checkEntityTenant(tenantId, calculatedFieldId); + calculatedField.setTenantId(tenantId); + if (calculatedField.getEntityId() == null || !isEntityExists(tenantId, calculatedField.getEntityId())) { + throw new DataValidationException("Calculated field is referencing to non-existent entity!"); + } + if (calculatedField.getConfiguration() != null) { + for (EntityId referencedEntityId : calculatedField.getConfiguration().getReferencedEntities()) { + if (!isEntityExists(tenantId, referencedEntityId)) { + throw new DataValidationException("Calculated field argument is referencing to non-existent entity!"); + } + } + } CalculatedField calculatedFieldById = edgeCtx.getCalculatedFieldService().findById(tenantId, calculatedFieldId); if (calculatedFieldById == null) { calculatedField.setCreatedTime(Uuids.unixTimestamp(calculatedFieldId.getId())); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java index fe337e6d70..c2fe4c26ba 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/cf/CalculatedFieldEdgeProcessor.java @@ -52,7 +52,7 @@ public class CalculatedFieldEdgeProcessor extends BaseCalculatedFieldProcessor i return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: CalculatedField calculatedField = edgeCtx.getCalculatedFieldService().findById(tenantId, calculatedFieldId); - if (calculatedField != null) { + if (calculatedField != null && tenantId.equals(calculatedField.getTenantId())) { edgeCtx.getCalculatedFieldService().deleteCalculatedField(tenantId, calculatedFieldId); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java index 35ad014e34..67a3b17089 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/BaseDashboardProcessor.java @@ -33,6 +33,8 @@ public abstract class BaseDashboardProcessor extends BaseEdgeProcessor { if (dashboard.getAssignedCustomers() != null && !dashboard.getAssignedCustomers().isEmpty()) { newAssignedCustomers.addAll(dashboard.getAssignedCustomers()); } + checkEntityTenant(tenantId, dashboardId); + dashboard.setTenantId(tenantId); Dashboard dashboardById = edgeCtx.getDashboardService().findDashboardById(tenantId, dashboardId); if (dashboardById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java index 97a9398d8f..c4913c05c8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java @@ -50,7 +50,7 @@ public class DashboardEdgeProcessor extends BaseDashboardProcessor implements Da return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: Dashboard dashboardToDelete = edgeCtx.getDashboardService().findDashboardById(tenantId, dashboardId); - if (dashboardToDelete != null) { + if (dashboardToDelete != null && tenantId.equals(dashboardToDelete.getTenantId())) { edgeCtx.getDashboardService().unassignDashboardFromEdge(tenantId, dashboardId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java index e066e67bbf..0c5d73cf6f 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java @@ -32,6 +32,8 @@ public abstract class BaseDeviceProcessor extends BaseEdgeProcessor { if (device == null) { throw new RuntimeException("[{" + tenantId + "}] deviceUpdateMsg {" + deviceUpdateMsg + "} cannot be converted to device"); } + checkEntityTenant(tenantId, deviceId); + device.setTenantId(tenantId); Device deviceById = edgeCtx.getDeviceService().findDeviceById(tenantId, deviceId); if (deviceById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 7ad1125533..6d2a2fe903 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -143,7 +143,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr private ListenableFuture processDeviceRpcStatusFromEdge(TenantId tenantId, Edge edge, DeviceRpcCallMsg deviceRpcCallMsg) { RpcId rpcId = new RpcId(new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB())); Rpc existingRpc = edgeCtx.getTbRpcService().findRpcById(tenantId, rpcId); - if (existingRpc == null) { + if (existingRpc == null || !tenantId.equals(existingRpc.getTenantId())) { // RPC is unknown to the cloud (edge-originated or already deleted) - nothing to sync log.debug("[{}][{}] Ignoring RPC status [{}] from edge - RPC not found", tenantId, rpcId, deviceRpcCallMsg.getRpcStatus()); return Futures.immediateFuture(null); @@ -184,6 +184,10 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr SettableFuture futureToSet = SettableFuture.create(); UUID requestUuid = new UUID(deviceRpcCallMsg.getRequestUuidMSB(), deviceRpcCallMsg.getRequestUuidLSB()); DeviceId deviceId = new DeviceId(new UUID(deviceRpcCallMsg.getDeviceIdMSB(), deviceRpcCallMsg.getDeviceIdLSB())); + if (!isEntityExists(tenantId, deviceId)) { + log.warn("[{}] Skipping RPC response because device doesn't exist, {}", tenantId, deviceRpcCallMsg); + return Futures.immediateFuture(null); + } FromDeviceRpcResponse response; if (!StringUtils.isEmpty(deviceRpcCallMsg.getResponseMsg().getError())) { @@ -213,6 +217,10 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr private ListenableFuture processDeviceRpcRequestFromEdge(TenantId tenantId, Edge edge, DeviceRpcCallMsg deviceRpcCallMsg) { DeviceId deviceId = new DeviceId(new UUID(deviceRpcCallMsg.getDeviceIdMSB(), deviceRpcCallMsg.getDeviceIdLSB())); + if (!isEntityExists(tenantId, deviceId)) { + log.warn("[{}] Skipping RPC request because device doesn't exist, {}", tenantId, deviceRpcCallMsg); + return Futures.immediateFuture(null); + } try { TbMsgMetaData metaData = new TbMsgMetaData(); String requestId = Integer.toString(deviceRpcCallMsg.getRequestId()); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java index f5191c5544..af1d2b2a91 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/profile/BaseDeviceProfileProcessor.java @@ -31,6 +31,8 @@ public abstract class BaseDeviceProfileProcessor extends BaseEdgeProcessor { if (deviceProfile == null) { throw new RuntimeException("[{" + tenantId + "}] deviceProfileUpdateMsg {" + deviceProfileUpdateMsg + "} cannot be converted to device profile"); } + checkEntityTenant(tenantId, deviceProfileId); + deviceProfile.setTenantId(tenantId); DeviceProfile deviceProfileById = edgeCtx.getDeviceProfileService().findDeviceProfileById(tenantId, deviceProfileId); if (deviceProfileById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java index c4c3acdd3d..01e39247a8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/BaseEntityViewProcessor.java @@ -11,6 +11,7 @@ import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.EntityViewId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.service.DataValidator; import org.thingsboard.server.gen.edge.v1.EntityViewUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; @@ -28,6 +29,11 @@ public abstract class BaseEntityViewProcessor extends BaseEdgeProcessor { if (entityView == null) { throw new RuntimeException("[{" + tenantId + "}] entityViewUpdateMsg {" + entityViewUpdateMsg + "} cannot be converted to entity view"); } + checkEntityTenant(tenantId, entityViewId); + entityView.setTenantId(tenantId); + if (entityView.getEntityId() == null || !isEntityExists(tenantId, entityView.getEntityId())) { + throw new DataValidationException("Entity view is referencing to non-existent entity!"); + } EntityView entityViewById = edgeCtx.getEntityViewService().findEntityViewById(tenantId, entityViewId); if (entityViewById == null) { created = true; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java index 5279dd676a..b4eb1a8413 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java @@ -48,7 +48,7 @@ public class EntityViewEdgeProcessor extends BaseEntityViewProcessor implements return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: EntityView entityViewToDelete = edgeCtx.getEntityViewService().findEntityViewById(tenantId, entityViewId); - if (entityViewToDelete != null) { + if (entityViewToDelete != null && tenantId.equals(entityViewToDelete.getTenantId())) { edgeCtx.getEntityViewService().unassignEntityViewFromEdge(tenantId, entityViewId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java index 2d8d863e82..02c2f331e8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/relation/BaseRelationProcessor.java @@ -31,7 +31,9 @@ public abstract class BaseRelationProcessor extends BaseEdgeProcessor { } break; case ENTITY_DELETED_RPC_MESSAGE: - edgeCtx.getRelationService().deleteRelation(tenantId, entityRelation); + if (isEntityExists(tenantId, entityRelation.getTo()) && isEntityExists(tenantId, entityRelation.getFrom())) { + edgeCtx.getRelationService().deleteRelation(tenantId, entityRelation); + } break; case UNRECOGNIZED: default: diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java index 931bbf256a..db6ac5b7d8 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/resource/BaseResourceProcessor.java @@ -31,6 +31,8 @@ public abstract class BaseResourceProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] resourceUpdateMsg {" + resourceUpdateMsg + " } cannot be converted to resource"); } boolean created = false; + checkEntityTenant(tenantId, tbResourceId); + resource.setTenantId(tenantId); TbResource resourceById = edgeCtx.getResourceService().findResourceById(tenantId, tbResourceId); if (resourceById == null) { resource.setCreatedTime(Uuids.unixTimestamp(tbResourceId.getId())); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java index bbf01ae4b5..45d98bc391 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/BaseRuleChainProcessor.java @@ -12,6 +12,7 @@ import org.thingsboard.server.common.data.rule.RuleChain; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleChainType; import org.thingsboard.server.common.data.rule.RuleNode; +import org.thingsboard.server.dao.exception.DataValidationException; import org.thingsboard.server.dao.service.DataValidator; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; @@ -27,6 +28,7 @@ public class BaseRuleChainProcessor extends BaseEdgeProcessor { protected Pair saveOrUpdateRuleChain(TenantId tenantId, RuleChainId ruleChainId, RuleChainUpdateMsg ruleChainUpdateMsg, RuleChainType ruleChainType) { boolean created = false; + checkEntityTenant(tenantId, ruleChainId); RuleChain ruleChainFromDb = edgeCtx.getRuleChainService().findRuleChainById(tenantId, ruleChainId); if (ruleChainFromDb == null) { created = true; @@ -36,6 +38,8 @@ public class BaseRuleChainProcessor extends BaseEdgeProcessor { if (ruleChain == null) { throw new RuntimeException("[{" + tenantId + "}] ruleChainUpdateMsg {" + ruleChainUpdateMsg + "} cannot be converted to rule chain"); } + ruleChain.setTenantId(tenantId); + ruleChain.setId(created ? null : ruleChainId); boolean isRoot = ruleChain.isRoot(); if (RuleChainType.CORE.equals(ruleChainType)) { ruleChain.setRoot(false); @@ -57,6 +61,9 @@ public class BaseRuleChainProcessor extends BaseEdgeProcessor { if (ruleChainMetadata == null) { throw new RuntimeException("[{" + tenantId + "}] ruleChainMetadataUpdateMsg {" + ruleChainMetadataUpdateMsg + "} cannot be converted to rule chain metadata"); } + if (ruleChainMetadata.getRuleChainId() == null || !isEntityExists(tenantId, ruleChainMetadata.getRuleChainId())) { + throw new DataValidationException("Rule chain metadata is referencing to non-existent rule chain!"); + } if (!ruleChainMetadata.getNodes().isEmpty()) { ruleChainMetadata.setVersion(null); for (RuleNode ruleNode : ruleChainMetadata.getNodes()) { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java index 2b2a46ffcc..7af9989b6d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/rule/RuleChainEdgeProcessor.java @@ -48,7 +48,7 @@ public class RuleChainEdgeProcessor extends BaseRuleChainProcessor { return saveOrUpdateRuleChain(tenantId, ruleChainId, ruleChainUpdateMsg, edge); case ENTITY_DELETED_RPC_MESSAGE: RuleChain ruleChainToDelete = edgeCtx.getRuleChainService().findRuleChainById(tenantId, ruleChainId); - if (ruleChainToDelete != null) { + if (ruleChainToDelete != null && tenantId.equals(ruleChainToDelete.getTenantId())) { edgeCtx.getRuleChainService().unassignRuleChainFromEdge(tenantId, ruleChainId, edge.getId(), false); } return Futures.immediateFuture(null); diff --git a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java index 8066eadde3..d7898a99cb 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AbstractEdgeTest.java @@ -167,6 +167,7 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { @After public void teardownEdgeTest() { try { + deleteDifferentTenant(); loginTenantAdmin(); doDelete("/api/edge/" + edge.getId().toString()) @@ -608,6 +609,22 @@ abstract public class AbstractEdgeTest extends AbstractControllerTest { return savedDevice; } + protected Device saveDifferentTenantDevice() throws Exception { + loginDifferentTenant(); + Device device = new Device(); + device.setName("Different Tenant Device"); + device.setType("default"); + Device savedDevice = doPost("/api/device", device, Device.class); + loginTenantAdmin(); + return savedDevice; + } + + protected void sendUplinkMsgAndVerifyNoDownlink(Consumer customizer) throws Exception { + edgeImitator.expectMessageAmount(1); + sendUplinkMsgAndWaitForResponse(customizer); + Assert.assertFalse(edgeImitator.waitForMessages(5)); + } + protected Device findDeviceByName(String deviceName) throws Exception { List edgeDevices = doGetTypedWithPageLink("/api/edge/" + edge.getUuidId() + "/devices?", new TypeReference>() { diff --git a/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java index a0db04c912..a7409d27b5 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AlarmEdgeTest.java @@ -27,6 +27,7 @@ import org.thingsboard.server.gen.edge.v1.AlarmCommentUpdateMsg; import org.thingsboard.server.gen.edge.v1.AlarmUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.List; import java.util.Optional; @@ -222,4 +223,20 @@ public class AlarmEdgeTest extends AbstractEdgeTest { return alarmComment; } + @Test + public void testSendAlarmForEntityOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + Alarm alarm = new Alarm(); + alarm.setId(new AlarmId(Uuids.timeBased())); + alarm.setTenantId(differentTenantId); + alarm.setOriginator(device.getId()); + alarm.setType("Edge Alarm"); + alarm.setSeverity(AlarmSeverity.CRITICAL); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addAlarmUpdateMsg( + EdgeMsgConstructorUtils.constructAlarmUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, alarm))); + + loginDifferentTenant(); + doGet("/api/alarm/" + alarm.getUuidId()).andExpect(status().isNotFound()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java index 8428839566..94b9c441d3 100644 --- a/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/CalculatedFieldEdgeTest.java @@ -7,6 +7,7 @@ import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; import org.junit.Assert; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.cf.CalculatedField; @@ -18,13 +19,16 @@ import org.thingsboard.server.common.data.cf.configuration.OutputType; import org.thingsboard.server.common.data.cf.configuration.ReferencedEntityKey; import org.thingsboard.server.common.data.cf.configuration.SimpleCalculatedFieldConfiguration; import org.thingsboard.server.common.data.debug.DebugSettings; +import org.thingsboard.server.common.data.id.CalculatedFieldId; import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.dao.cf.CalculatedFieldService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.CalculatedFieldRequestMsg; import org.thingsboard.server.gen.edge.v1.CalculatedFieldUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.Map; import java.util.Optional; @@ -34,6 +38,9 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @DaoSqlTest public class CalculatedFieldEdgeTest extends AbstractEdgeTest { + + @Autowired + private CalculatedFieldService calculatedFieldService; private static final String DEFAULT_CF_NAME = "Edge Test CalculatedField"; private static final String UPDATED_CF_NAME = "Updated Edge Test CalculatedField"; @@ -251,4 +258,15 @@ public class CalculatedFieldEdgeTest extends AbstractEdgeTest { Assert.assertEquals(resourceTitle, calculatedField.getName()); } + @Test + public void testSendCalculatedFieldForEntityOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + CalculatedField calculatedField = createSimpleCalculatedField(device.getId(), new SimpleCalculatedFieldConfiguration()); + calculatedField.setId(new CalculatedFieldId(Uuids.timeBased())); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addCalculatedFieldUpdateMsg( + EdgeMsgConstructorUtils.constructCalculatedFieldUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, calculatedField))); + + Assert.assertNull(calculatedFieldService.findById(tenantId, calculatedField.getId())); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java index a8e789ba4a..460ebf4993 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DashboardEdgeTest.java @@ -26,6 +26,7 @@ import org.thingsboard.server.gen.edge.v1.EdgeConfiguration; import org.thingsboard.server.gen.edge.v1.ResourceUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.List; import java.util.Optional; @@ -303,4 +304,21 @@ public class DashboardEdgeTest extends AbstractEdgeTest { return dashboard; } + @Test + public void testSendDashboardUpdateForDashboardOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Dashboard dashboard = new Dashboard(); + dashboard.setTitle("Different Tenant Dashboard"); + dashboard = doPost("/api/dashboard", dashboard, Dashboard.class); + loginTenantAdmin(); + + Dashboard dashboardUpdate = new Dashboard(dashboard); + dashboardUpdate.setTitle("Updated Title"); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDashboardUpdateMsg( + EdgeMsgConstructorUtils.constructDashboardUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, dashboardUpdate))); + + loginDifferentTenant(); + Assert.assertEquals(dashboard.getTitle(), doGet("/api/dashboard/" + dashboard.getUuidId(), Dashboard.class).getTitle()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java index 9137724ef8..c75647b0a8 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java @@ -63,6 +63,7 @@ import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; import org.thingsboard.server.gen.transport.TransportProtos; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import org.thingsboard.server.transport.mqtt.mqttv3.MqttTestCallback; import org.thingsboard.server.transport.mqtt.mqttv3.MqttTestClient; @@ -1024,4 +1025,53 @@ public class DeviceEdgeTest extends AbstractEdgeTest { }); } + @Test + public void testSendDeviceCredentialsRequestForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceCredentialsRequestMsg(DeviceCredentialsRequestMsg.newBuilder() + .setDeviceIdMSB(device.getUuidId().getMostSignificantBits()) + .setDeviceIdLSB(device.getUuidId().getLeastSignificantBits()).build())); + } + + @Test + public void testSendAttributesRequestForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + loginDifferentTenant(); + doPost("/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/" + DataConstants.SERVER_SCOPE, + JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); + loginTenantAdmin(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addAttributesRequestMsg(AttributesRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(device.getUuidId().getMostSignificantBits()) + .setEntityIdLSB(device.getUuidId().getLeastSignificantBits()) + .setScope(DataConstants.SERVER_SCOPE).build())); + } + + @Test + public void testSendDeviceUpdateForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + Device deviceUpdate = new Device(device); + deviceUpdate.setName("Updated Name"); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg( + EdgeMsgConstructorUtils.constructDeviceUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, deviceUpdate))); + + loginDifferentTenant(); + Assert.assertEquals(device.getName(), doGet("/api/device/" + device.getUuidId(), Device.class).getName()); + } + + @Test + public void testSendDeviceWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + Device device = new Device(); + device.setId(new DeviceId(Uuids.timeBased())); + device.setTenantId(differentTenantId); + device.setName("Edge Device With Different Tenant"); + device.setType("default"); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg( + EdgeMsgConstructorUtils.constructDeviceUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, device))); + + Assert.assertEquals(tenantId, doGet("/api/device/" + device.getUuidId(), Device.class).getTenantId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java index 6a8f20f6a2..7542acb4aa 100644 --- a/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/EntityViewEdgeTest.java @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.edge; +import com.datastax.oss.driver.api.core.uuid.Uuids; import com.fasterxml.jackson.core.type.TypeReference; import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; @@ -26,6 +27,7 @@ import org.thingsboard.server.gen.edge.v1.EntityViewsRequestMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.List; import java.util.Optional; @@ -298,4 +300,19 @@ public class EntityViewEdgeTest extends AbstractEdgeTest { return entityView; } + @Test + public void testSendEntityViewForEntityOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + EntityView entityView = new EntityView(); + entityView.setId(new EntityViewId(Uuids.timeBased())); + entityView.setTenantId(tenantId); + entityView.setName("Edge Entity View"); + entityView.setType("default"); + entityView.setEntityId(device.getId()); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addEntityViewUpdateMsg( + EdgeMsgConstructorUtils.constructEntityViewUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, entityView))); + + doGet("/api/entityView/" + entityView.getUuidId()).andExpect(status().isNotFound()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java index f82be9739d..3e7d50dc07 100644 --- a/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/RelationEdgeTest.java @@ -19,9 +19,12 @@ import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; import org.thingsboard.server.gen.edge.v1.RelationUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.UUID; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; + @DaoSqlTest public class RelationEdgeTest extends AbstractEdgeTest { @@ -197,4 +200,36 @@ public class RelationEdgeTest extends AbstractEdgeTest { return relation; } + @Test + public void testSendRelationRequestForEntityOfDifferentTenantToCloud() throws Exception { + EntityRelation relation = saveDifferentTenantRelation(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addRelationRequestMsg(RelationRequestMsg.newBuilder() + .setEntityType(EntityType.DEVICE.name()) + .setEntityIdMSB(relation.getFrom().getId().getMostSignificantBits()) + .setEntityIdLSB(relation.getFrom().getId().getLeastSignificantBits()).build())); + } + + @Test + public void testSendRelationDeleteForEntitiesOfDifferentTenantToCloud() throws Exception { + EntityRelation relation = saveDifferentTenantRelation(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addRelationUpdateMsg( + EdgeMsgConstructorUtils.constructRelationUpdatedMsg(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE, relation))); + + loginDifferentTenant(); + doGet("/api/relation?fromId=" + relation.getFrom().getId() + "&fromType=DEVICE&relationType=test&toId=" + + relation.getTo().getId() + "&toType=ASSET").andExpect(status().isOk()); + } + + private EntityRelation saveDifferentTenantRelation() throws Exception { + Device device = saveDifferentTenantDevice(); + loginDifferentTenant(); + Asset asset = new Asset(); + asset.setName("Different Tenant Asset"); + asset.setType("default"); + asset = doPost("/api/asset", asset, Asset.class); + EntityRelation relation = doPost("/api/v2/relation", new EntityRelation(device.getId(), asset.getId(), "test"), EntityRelation.class); + loginTenantAdmin(); + return relation; + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java deleted file mode 100644 index 76e38457d8..0000000000 --- a/application/src/test/java/org/thingsboard/server/edge/RequestMsgEdgeTest.java +++ /dev/null @@ -1,94 +0,0 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors -// SPDX-License-Identifier: Apache-2.0 -package org.thingsboard.server.edge; - -import org.junit.Assert; -import org.junit.Test; -import org.thingsboard.common.util.JacksonUtil; -import org.thingsboard.server.common.data.DataConstants; -import org.thingsboard.server.common.data.Device; -import org.thingsboard.server.common.data.EntityType; -import org.thingsboard.server.common.data.asset.Asset; -import org.thingsboard.server.common.data.relation.EntityRelation; -import org.thingsboard.server.common.data.relation.RelationTypeGroup; -import org.thingsboard.server.common.data.rule.RuleChain; -import org.thingsboard.server.common.data.rule.RuleChainType; -import org.thingsboard.server.dao.service.DaoSqlTest; -import org.thingsboard.server.gen.edge.v1.AttributesRequestMsg; -import org.thingsboard.server.gen.edge.v1.DeviceCredentialsRequestMsg; -import org.thingsboard.server.gen.edge.v1.RelationRequestMsg; -import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; -import org.thingsboard.server.gen.edge.v1.UplinkMsg; -import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; - -import java.util.UUID; - -@DaoSqlTest -public class RequestMsgEdgeTest extends AbstractEdgeTest { - - @Test - public void testSendRequestsForEntitiesOfAnotherTenantToCloud() throws Exception { - loginDifferentTenant(); - try { - Device device = new Device(); - device.setName("Different Tenant Device"); - device.setType("default"); - device = doPost("/api/device", device, Device.class); - doPost("/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/" + DataConstants.SERVER_SCOPE, - JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); - - Asset asset = new Asset(); - asset.setName("Different Tenant Asset"); - asset.setType("default"); - asset = doPost("/api/asset", asset, Asset.class); - - EntityRelation relation = new EntityRelation(); - relation.setType("test"); - relation.setFrom(device.getId()); - relation.setTo(asset.getId()); - relation.setTypeGroup(RelationTypeGroup.COMMON); - doPost("/api/v2/relation", relation, EntityRelation.class); - - RuleChain ruleChain = new RuleChain(); - ruleChain.setName("Different Tenant Rule Chain"); - ruleChain.setType(RuleChainType.CORE); - ruleChain = doPost("/api/ruleChain", ruleChain, RuleChain.class); - - UUID deviceUuid = device.getUuidId(); - UUID userUuid = savedDifferentTenantUser.getUuidId(); - UUID ruleChainUuid = ruleChain.getUuidId(); - loginTenantAdmin(); - - UplinkMsg uplinkMsg = UplinkMsg.newBuilder() - .addUserCredentialsRequestMsg(UserCredentialsRequestMsg.newBuilder() - .setUserIdMSB(userUuid.getMostSignificantBits()) - .setUserIdLSB(userUuid.getLeastSignificantBits()).build()) - .addDeviceCredentialsRequestMsg(DeviceCredentialsRequestMsg.newBuilder() - .setDeviceIdMSB(deviceUuid.getMostSignificantBits()) - .setDeviceIdLSB(deviceUuid.getLeastSignificantBits()).build()) - .addAttributesRequestMsg(AttributesRequestMsg.newBuilder() - .setEntityType(EntityType.DEVICE.name()) - .setEntityIdMSB(deviceUuid.getMostSignificantBits()) - .setEntityIdLSB(deviceUuid.getLeastSignificantBits()) - .setScope(DataConstants.SERVER_SCOPE).build()) - .addRelationRequestMsg(RelationRequestMsg.newBuilder() - .setEntityType(EntityType.DEVICE.name()) - .setEntityIdMSB(deviceUuid.getMostSignificantBits()) - .setEntityIdLSB(deviceUuid.getLeastSignificantBits()).build()) - .addRuleChainMetadataRequestMsg(RuleChainMetadataRequestMsg.newBuilder() - .setRuleChainIdMSB(ruleChainUuid.getMostSignificantBits()) - .setRuleChainIdLSB(ruleChainUuid.getLeastSignificantBits()).build()) - .build(); - - edgeImitator.expectResponsesAmount(1); - edgeImitator.expectMessageAmount(1); - edgeImitator.sendUplinkMsg(uplinkMsg); - Assert.assertTrue(edgeImitator.waitForResponses()); - Assert.assertFalse(edgeImitator.waitForMessages(5)); - } finally { - deleteDifferentTenant(); - loginTenantAdmin(); - } - } - -} diff --git a/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java index 884f2ae84e..c2ea217887 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ResourceEdgeTest.java @@ -11,11 +11,15 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.ResourceType; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.TbResource; +import org.thingsboard.server.common.data.TbResourceInfo; +import org.thingsboard.server.common.data.id.TbResourceId; +import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.ResourceUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.Optional; import java.util.UUID; @@ -180,4 +184,17 @@ public class ResourceEdgeTest extends AbstractEdgeTest { Assert.assertEquals(TEST_DATA, tb.getEncodedData()); } + @Test + public void testSendResourceWithSystemTenantIdToCloud() throws Exception { + TbResource resource = createTbResource(); + resource.setId(new TbResourceId(Uuids.timeBased())); + resource.setTenantId(TenantId.SYS_TENANT_ID); + resource.setResourceKey("system_" + FILE_NAME); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addResourceUpdateMsg( + EdgeMsgConstructorUtils.constructResourceUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, resource))); + + TbResourceInfo resourceInfo = doGet("/api/resource/info/" + resource.getUuidId(), TbResourceInfo.class); + Assert.assertEquals(tenantId, resourceInfo.getTenantId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java index 2780adbbfa..5d6c930cab 100644 --- a/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/RuleChainEdgeTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.edge; import com.datastax.oss.driver.api.core.uuid.Uuids; +import com.fasterxml.jackson.core.type.TypeReference; import org.junit.Assert; import org.junit.Test; import org.thingsboard.common.util.JacksonUtil; @@ -11,16 +12,21 @@ import org.thingsboard.rule.engine.util.TbMsgSource; import org.thingsboard.server.common.data.debug.DebugSettings; import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.rule.RuleChain; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleChainType; import org.thingsboard.server.common.data.rule.RuleNode; import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.gen.edge.v1.EdgeVersion; +import org.thingsboard.server.gen.edge.v1.RuleChainMetadataRequestMsg; import org.thingsboard.server.gen.edge.v1.RuleChainMetadataUpdateMsg; import org.thingsboard.server.gen.edge.v1.RuleChainUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; +import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; import java.util.ArrayList; import java.util.Collections; @@ -259,4 +265,39 @@ public class RuleChainEdgeTest extends AbstractEdgeTest { Assert.assertTrue(edgeImitator.waitForMessages(5)); } + @Test + public void testSendRuleChainMetadataRequestForRuleChainOfDifferentTenantToCloud() throws Exception { + RuleChainId ruleChainId = getDifferentTenantRootRuleChainId(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addRuleChainMetadataRequestMsg(RuleChainMetadataRequestMsg.newBuilder() + .setRuleChainIdMSB(ruleChainId.getId().getMostSignificantBits()) + .setRuleChainIdLSB(ruleChainId.getId().getLeastSignificantBits()).build())); + } + + @Test + public void testSendRuleChainMetadataForRuleChainOfDifferentTenantToCloud() throws Exception { + RuleChainId ruleChainId = getDifferentTenantRootRuleChainId(); + loginDifferentTenant(); + RuleChainMetaData metaData = doGet("/api/ruleChain/" + ruleChainId.getId() + "/metadata", RuleChainMetaData.class); + int nodesCount = metaData.getNodes().size(); + loginTenantAdmin(); + + metaData.setNodes(List.of(metaData.getNodes().get(0))); + metaData.setConnections(null); + metaData.setFirstNodeIndex(0); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addRuleChainMetadataUpdateMsg( + EdgeMsgConstructorUtils.constructRuleChainMetadataUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, metaData, EdgeVersion.V_LATEST))); + + loginDifferentTenant(); + RuleChainMetaData metaDataAfter = doGet("/api/ruleChain/" + ruleChainId.getId() + "/metadata", RuleChainMetaData.class); + Assert.assertEquals(nodesCount, metaDataAfter.getNodes().size()); + } + + private RuleChainId getDifferentTenantRootRuleChainId() throws Exception { + loginDifferentTenant(); + RuleChain rootRuleChain = doGetTypedWithPageLink("/api/ruleChains?type={type}&", new TypeReference>() {}, + new PageLink(100), RuleChainType.CORE.name()).getData().stream().filter(RuleChain::isRoot).findFirst().orElseThrow(); + loginTenantAdmin(); + return rootRuleChain.getId(); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java index 3eb4ed288e..c1a164a731 100644 --- a/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/TelemetryEdgeTest.java @@ -304,4 +304,44 @@ public class TelemetryEdgeTest extends AbstractEdgeTest { }); } + @Test + public void testSendTelemetryForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + loginDifferentTenant(); + String attributesUrl = "/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/attributes/"; + doPost(attributesUrl + DataConstants.SHARED_SCOPE, JacksonUtil.toJsonNode("{\"key1\":\"value1\"}")); + doPost(attributesUrl + DataConstants.SERVER_SCOPE, JacksonUtil.toJsonNode("{\"key2\":\"value2\"}")); + loginTenantAdmin(); + + TransportProtos.PostAttributeMsg attributesMsg = TransportProtos.PostAttributeMsg.newBuilder() + .addKv(TransportProtos.KeyValueProto.newBuilder() + .setKey("key1") + .setType(TransportProtos.KeyValueType.STRING_V) + .setStringV("updatedValue1").build()) + .build(); + EntityDataProto entityData = EntityDataProto.newBuilder() + .setEntityIdMSB(device.getUuidId().getMostSignificantBits()) + .setEntityIdLSB(device.getUuidId().getLeastSignificantBits()) + .setEntityType(device.getId().getEntityType().name()) + .setAttributesUpdatedMsg(attributesMsg) + .setPostAttributeScope(DataConstants.SHARED_SCOPE) + .setAttributeDeleteMsg(AttributeDeleteMsg.newBuilder() + .setScope(DataConstants.SERVER_SCOPE) + .addAttributeNames("key2").build()) + .build(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addEntityData(entityData)); + + loginDifferentTenant(); + String valuesUrl = "/api/plugins/telemetry/DEVICE/" + device.getUuidId() + "/values/attributes/"; + Awaitility.await() + .pollDelay(3, TimeUnit.SECONDS) + .atMost(10, TimeUnit.SECONDS) + .untilAsserted(() -> { + JsonNode sharedAttributes = doGetAsync(valuesUrl + DataConstants.SHARED_SCOPE, JsonNode.class); + Assert.assertEquals("value1", sharedAttributes.get(0).get("value").asText()); + JsonNode serverAttributes = doGetAsync(valuesUrl + DataConstants.SERVER_SCOPE, JsonNode.class); + Assert.assertTrue(serverAttributes.findValuesAsText("key").contains("key2")); + }); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index e01d002b1b..649bdc3923 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -22,6 +22,7 @@ import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.service.security.model.ChangePasswordRequest; import java.util.Optional; +import java.util.UUID; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; @@ -248,4 +249,14 @@ public class UserEdgeTest extends AbstractEdgeTest { testAutoGeneratedCodeByProtobuf(userCredentialsUpdateMsg); } + @Test + public void testSendUserCredentialsRequestForUserOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + UUID userUuid = savedDifferentTenantUser.getUuidId(); + loginTenantAdmin(); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addUserCredentialsRequestMsg(UserCredentialsRequestMsg.newBuilder() + .setUserIdMSB(userUuid.getMostSignificantBits()) + .setUserIdLSB(userUuid.getLeastSignificantBits()).build())); + } + } From 819afbc91888385e49461b60116141fd8fa17cb2 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 11:46:20 +0100 Subject: [PATCH 025/275] Push system context edge events of tenant entities to entity tenant edges --- .../edge/rpc/processor/BaseEdgeProcessor.java | 26 ++++++++-- .../rpc/processor/user/UserEdgeProcessor.java | 3 -- .../thingsboard/server/edge/UserEdgeTest.java | 49 +++++++++++++++++++ .../common/data/edge/EdgeEventType.java | 37 ++++++++------ 4 files changed, 93 insertions(+), 22 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index f58150d2f8..2dade4705e 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -30,8 +30,10 @@ import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.kv.AttributeKvEntry; import org.thingsboard.server.common.data.msg.TbMsgType; +import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageDataIterable; import org.thingsboard.server.common.data.page.PageDataIterableByTenantIdEntityId; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.relation.EntityRelation; import org.thingsboard.server.common.data.relation.RelationTypeGroup; import org.thingsboard.server.common.data.rule.RuleChain; @@ -148,9 +150,19 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { JsonNode body, EdgeId sourceEdgeId) { List> futures = new ArrayList<>(); if (TenantId.SYS_TENANT_ID.equals(tenantId)) { - PageDataIterable edges = new PageDataIterable<>(link -> edgeCtx.getEdgeService().findActiveEdges(link), 1024); - for (Edge edge : edges) { - futures.add(saveEdgeEvent(edge.getTenantId(), edge.getId(), type, actionType, entityId, body, false)); + if (type.isSystemLevelSupported()) { + PageDataIterable edges = new PageDataIterable<>(this::getActiveEdges, 1024); + for (Edge edge : edges) { + futures.add(saveEdgeEvent(edge.getTenantId(), edge.getId(), type, actionType, entityId, body, false)); + } + } else { + // tenant entity updated in system context + TenantId entityTenantId = entityId != null ? findEntityTenantId(tenantId, entityId) : null; + if (entityTenantId != null && !entityTenantId.isSysTenantId()) { + futures = processActionForAllEdgesByTenantId(entityTenantId, type, actionType, entityId, body, sourceEdgeId); + } else { + log.debug("[{}] Skipping {} event for entity {} that does not belong to a tenant", tenantId, type, entityId); + } } } else { futures = processActionForAllEdgesByTenantId(tenantId, type, actionType, entityId, null, sourceEdgeId); @@ -158,6 +170,10 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { return Futures.transform(Futures.allAsList(futures), voids -> null, dbCallbackExecutorService); } + private PageData getActiveEdges(PageLink link) { + return edgeCtx.getEdgeService().findActiveEdges(link); + } + private List> processActionForAllEdgesByTenantId(TenantId tenantId, EdgeEventType type, EdgeEventActionType actionType, @@ -198,9 +214,9 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { EdgeEventActionType actionType = EdgeEventActionType.valueOf(edgeNotificationMsg.getAction()); EntityId entityId = EntityIdFactory.getByEdgeEventTypeAndUuid(type, new UUID(edgeNotificationMsg.getEntityIdMSB(), edgeNotificationMsg.getEntityIdLSB())); EdgeId originatorEdgeId = safeGetEdgeId(edgeNotificationMsg.getOriginatorEdgeIdMSB(), edgeNotificationMsg.getOriginatorEdgeIdLSB()); - if (type.isAllEdgesRelated()) { + if (type.isAllTenantEdgesRelated()) { return processEntityNotificationForAllEdges(tenantId, type, actionType, entityId, originatorEdgeId); - } else { + } else { // Edge-assigned: device, asset, dashboard, entity view, rule chain, alarm.. JsonNode body = JacksonUtil.toJsonNode(edgeNotificationMsg.getBody()); EdgeId edgeId = safeGetEdgeId(edgeNotificationMsg.getEdgeIdMSB(), edgeNotificationMsg.getEdgeIdLSB()); switch (actionType) { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index 6e5b0c1b54..9ad9d126da 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -48,9 +48,6 @@ public class UserEdgeProcessor extends BaseEdgeProcessor { .build(); } case CREDENTIALS_UPDATED -> { - if (!isEntityExists(edgeEvent.getTenantId(), userId)) { - return null; - } UserCredentials userCredentialsByUserId = edgeCtx.getUserService().findUserCredentialsByUserId(edgeEvent.getTenantId(), userId); if (userCredentialsByUserId != null && userCredentialsByUserId.isEnabled()) { UserCredentialsUpdateMsg userCredentialsUpdateMsg = EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentialsByUserId); diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index 649bdc3923..8558793469 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.edge; import com.google.protobuf.AbstractMessage; +import org.awaitility.Awaitility; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; @@ -11,6 +12,10 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.edge.Edge; +import org.thingsboard.server.common.data.edge.EdgeEvent; +import org.thingsboard.server.common.data.id.UserId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.TimePageLink; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.security.UserCredentials; import org.thingsboard.server.dao.service.DaoSqlTest; @@ -23,6 +28,7 @@ import org.thingsboard.server.service.security.model.ChangePasswordRequest; import java.util.Optional; import java.util.UUID; +import java.util.concurrent.TimeUnit; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; @@ -259,4 +265,47 @@ public class UserEdgeTest extends AbstractEdgeTest { .setUserIdLSB(userUuid.getLeastSignificantBits()).build())); } + @Test + public void testUserActivationInDifferentTenant() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + verifyNoEdgeEvents(savedDifferentTenantUser.getId()); + } + + @Test + public void testSysAdminCredentialsUpdate() throws Exception { + loginSysAdmin(); + UserId sysAdminId = doGet("/api/auth/user", User.class).getId(); + resetTokens(); + doPost("/api/noauth/resetPasswordByEmail", JacksonUtil.newObjectNode().put("email", SYS_ADMIN_EMAIL)) + .andExpect(status().isOk()); + loginTenantAdmin(); + verifyNoEdgeEvents(sysAdminId); + } + + @Test + public void testTenantUserCredentialsUpdate() throws Exception { + resetTokens(); + edgeImitator.expectMessageAmount(1); + doPost("/api/noauth/resetPasswordByEmail", JacksonUtil.newObjectNode().put("email", TENANT_ADMIN_EMAIL)) + .andExpect(status().isOk()); + Assert.assertTrue(edgeImitator.waitForMessages()); + AbstractMessage latestMessage = edgeImitator.getLatestMessage(); + Assert.assertTrue(latestMessage instanceof UserCredentialsUpdateMsg); + UserCredentials userCredentials = JacksonUtil.fromString(((UserCredentialsUpdateMsg) latestMessage).getEntity(), UserCredentials.class, true); + Assert.assertNotNull(userCredentials); + Assert.assertEquals(tenantAdminUserId, userCredentials.getUserId()); + loginTenantAdmin(); + } + + private void verifyNoEdgeEvents(UserId userId) { + Awaitility.await() + .pollDelay(3, TimeUnit.SECONDS) + .atMost(10, TimeUnit.SECONDS) + .untilAsserted(() -> { + PageData edgeEvents = edgeEventService.findEdgeEvents(tenantId, edge.getId(), 0L, Long.MAX_VALUE, new TimePageLink(1000)); + Assert.assertTrue(edgeEvents.getData().stream().noneMatch(edgeEvent -> userId.getId().equals(edgeEvent.getEntityId()))); + }); + } + } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java b/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java index 1bdbcd4faa..5dc2c2a07b 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeEventType.java @@ -22,27 +22,36 @@ public enum EdgeEventType { CUSTOMER(true, EntityType.CUSTOMER), RELATION(true, null), TENANT(true, EntityType.TENANT), - TENANT_PROFILE(true, EntityType.TENANT_PROFILE), - WIDGETS_BUNDLE(true, EntityType.WIDGETS_BUNDLE), - WIDGET_TYPE(true, EntityType.WIDGET_TYPE), - ADMIN_SETTINGS(true, EntityType.ADMIN_SETTINGS), + TENANT_PROFILE(true, true, EntityType.TENANT_PROFILE), + WIDGETS_BUNDLE(true, true, EntityType.WIDGETS_BUNDLE), + WIDGET_TYPE(true, true, EntityType.WIDGET_TYPE), + ADMIN_SETTINGS(true, true, EntityType.ADMIN_SETTINGS), OTA_PACKAGE(true, EntityType.OTA_PACKAGE), - QUEUE(true, EntityType.QUEUE), - NOTIFICATION_RULE(true, EntityType.NOTIFICATION_RULE), - NOTIFICATION_TARGET(true, EntityType.NOTIFICATION_TARGET), - NOTIFICATION_TEMPLATE(true, EntityType.NOTIFICATION_TEMPLATE), - TB_RESOURCE(true, EntityType.TB_RESOURCE), - OAUTH2_CLIENT(true, EntityType.OAUTH2_CLIENT), - DOMAIN(true, EntityType.DOMAIN), + QUEUE(true, true, EntityType.QUEUE), + NOTIFICATION_RULE(true, true, EntityType.NOTIFICATION_RULE), + NOTIFICATION_TARGET(true, true, EntityType.NOTIFICATION_TARGET), + NOTIFICATION_TEMPLATE(true, true, EntityType.NOTIFICATION_TEMPLATE), + TB_RESOURCE(true, true, EntityType.TB_RESOURCE), + OAUTH2_CLIENT(true, true, EntityType.OAUTH2_CLIENT), + DOMAIN(true, true, EntityType.DOMAIN), CALCULATED_FIELD(false, EntityType.CALCULATED_FIELD); - private final boolean allEdgesRelated; + // entity is pushed to all edges of its tenant, otherwise only to edges it's assigned to + private final boolean allTenantEdgesRelated; + + // entity can be owned by system tenant, so system level events are pushed to all edges + private final boolean systemLevelSupported; private final EntityType entityType; - EdgeEventType(boolean allEdgesRelated, EntityType entityType) { - this.allEdgesRelated = allEdgesRelated; + EdgeEventType(boolean allTenantEdgesRelated, EntityType entityType) { + this(allTenantEdgesRelated, false, entityType); + } + + EdgeEventType(boolean allTenantEdgesRelated, boolean systemLevelSupported, EntityType entityType) { + this.allTenantEdgesRelated = allTenantEdgesRelated; + this.systemLevelSupported = systemLevelSupported; this.entityType = entityType; } } From b5726ccb7c6786d78697845ee84b3f3c7d702b48 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 12:58:52 +0100 Subject: [PATCH 026/275] Process system context notifications of edge assigned entities in entity tenant --- .../service/edge/rpc/processor/BaseEdgeProcessor.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index 2dade4705e..d405e0374f 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -217,6 +217,12 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { if (type.isAllTenantEdgesRelated()) { return processEntityNotificationForAllEdges(tenantId, type, actionType, entityId, originatorEdgeId); } else { // Edge-assigned: device, asset, dashboard, entity view, rule chain, alarm.. + if (tenantId.isSysTenantId()) { + // tenant entity updated in system context + TenantId entityTenantId = findEntityTenantId(tenantId, entityId); + return entityTenantId != null && !entityTenantId.isSysTenantId() ? + processEntityNotification(entityTenantId, edgeNotificationMsg) : Futures.immediateFuture(null); + } JsonNode body = JacksonUtil.toJsonNode(edgeNotificationMsg.getBody()); EdgeId edgeId = safeGetEdgeId(edgeNotificationMsg.getEdgeIdMSB(), edgeNotificationMsg.getEdgeIdLSB()); switch (actionType) { From c2f08027328a0769d7584dd78642a73bd515ba50 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 13:41:51 +0100 Subject: [PATCH 027/275] Check entity tenant in edge api key, ai model and user credentials msgs processing --- .../processor/ai/BaseAiModelProcessor.java | 2 ++ .../processor/apikey/BaseApiKeyProcessor.java | 9 +++++- .../rpc/processor/user/BaseUserProcessor.java | 7 +++++ .../server/edge/AiModelEdgeTest.java | 23 ++++++++++++++ .../server/edge/ApiKeyEdgeTest.java | 16 ++++++++++ .../thingsboard/server/edge/UserEdgeTest.java | 30 +++++++++++++++++++ .../server/dao/user/UserService.java | 2 ++ .../server/dao/user/UserServiceImpl.java | 7 +++++ 8 files changed, 95 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index c75d2f97f4..6727013852 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -34,6 +34,8 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] aiModelUpdateMsg {" + aiModelUpdateMsg + " } cannot be converted to aiModel"); } + checkEntityTenant(tenantId, aiModelId); + aiModel.setTenantId(tenantId); Optional aiModelById = edgeCtx.getAiModelService().findAiModelById(tenantId, aiModelId); if (aiModelById.isEmpty()) { aiModel.setCreatedTime(Uuids.unixTimestamp(aiModelId.getId())); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java index 786200f5e4..e7a9df03bf 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java @@ -10,6 +10,7 @@ import org.thingsboard.server.common.data.id.ApiKeyId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.msg.TbMsgType; import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.gen.edge.v1.ApiKeyUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; @@ -24,6 +25,12 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { throw new RuntimeException("[{" + tenantId + "}] apiKeyUpdateMsg {" + apiKeyUpdateMsg + " } cannot be converted to apiKey"); } + checkEntityTenant(tenantId, apiKeyId); + apiKey.setTenantId(tenantId); + if (apiKey.getUserId() == null || !isEntityExists(tenantId, apiKey.getUserId())) { + throw new DataValidationException("API key is referencing to non-existent user!"); + } + ApiKey existingApiKey = edgeCtx.getApiKeyService().findApiKeyById(tenantId, apiKeyId); if (existingApiKey == null) { apiKey.setCreatedTime(Uuids.unixTimestamp(apiKeyId.getId())); @@ -41,7 +48,7 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { protected void deleteApiKey(TenantId tenantId, Edge edge, ApiKeyId apiKeyId) { ApiKey apiKey = edgeCtx.getApiKeyService().findApiKeyById(tenantId, apiKeyId); - if (apiKey != null) { + if (apiKey != null && tenantId.equals(apiKey.getTenantId())) { edgeCtx.getApiKeyService().deleteApiKey(tenantId, apiKey, false); pushEntityEventToRuleEngine(tenantId, edge, apiKey, TbMsgType.ENTITY_DELETED); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 8d746cb6c1..7cf15764de 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -123,6 +123,13 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { tenantId, userCredentials.getUserId(), updateMsg); return; } + if (userCredentials.getId() != null) { + UserCredentials userCredentialsById = edgeCtx.getUserService().findUserCredentialsById(tenantId, userCredentials.getId()); + if (userCredentialsById != null && !user.getId().equals(userCredentialsById.getUserId())) { + log.warn("[{}] User credentials [{}] belong to a different user, skipping credentials update", tenantId, userCredentials.getId()); + return; + } + } log.debug("[{}] Updating user credentials for user [{}]. New credentials Id [{}], enabled [{}]", tenantId, user.getName(), userCredentials.getId(), userCredentials.isEnabled()); try { diff --git a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java index d916065e51..e34e5e9436 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java @@ -7,10 +7,13 @@ import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; import org.junit.Assert; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.ai.model.chat.OpenAiChatModelConfig; import org.thingsboard.server.common.data.ai.provider.OpenAiProviderConfig; +import org.thingsboard.server.common.data.id.AiModelId; +import org.thingsboard.server.dao.ai.AiModelService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.AiModelUpdateMsg; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; @@ -28,6 +31,9 @@ import static org.thingsboard.server.gen.edge.v1.UpdateMsgType.ENTITY_DELETED_RP @DaoSqlTest public class AiModelEdgeTest extends AbstractEdgeTest { + @Autowired + private AiModelService aiModelService; + private static final String DEFAULT_AI_MODEL_NAME = "Edge Test AiModel"; private static final String UPDATED_AI_MODEL_NAME = "Updated Edge Test AiModel"; @@ -200,4 +206,21 @@ public class AiModelEdgeTest extends AbstractEdgeTest { Assert.assertEquals(resourceTitle, aiModel.getName()); } + @Test + public void testSendAiModelWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UUID uuid = Uuids.timeBased(); + AiModel aiModel = createSimpleAiModel("Edge AI Model With Different Tenant"); + aiModel.setTenantId(differentTenantId); + UplinkMsg uplinkMsg = getUplinkMsg(uuid, aiModel, UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE); + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + + Optional aiModelFromCloud = aiModelService.findAiModelById(tenantId, new AiModelId(uuid)); + Assert.assertTrue(aiModelFromCloud.isPresent()); + Assert.assertEquals(tenantId, aiModelFromCloud.get().getTenantId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java index 91117b826f..cf71e3f3a7 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java @@ -222,4 +222,20 @@ public class ApiKeyEdgeTest extends AbstractEdgeTest { Assert.assertEquals(description, apiKey.getDescription()); } + @Test + public void testSendApiKeyForUserOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UUID uuid = Uuids.timeBased(); + ApiKey apiKey = createSimpleApiKey("Different Tenant User Key"); + apiKey.setTenantId(differentTenantId); + apiKey.setUserId(savedDifferentTenantUser.getId()); + UplinkMsg uplinkMsg = getUplinkMsg(uuid, apiKey, UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE); + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + + Assert.assertNull(apiKeyService.findApiKeyById(tenantId, new ApiKeyId(uuid))); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index 75f96d0805..a339ca3f8f 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -284,6 +284,19 @@ public class UserEdgeTest extends AbstractEdgeTest { Assert.assertEquals(savedTenantAdmin.getUuidId().getLeastSignificantBits(), userUpdateMsg.getIdLSB()); } + @Test + public void testSendUserWithTokenAuthorityFromEdgeToCloud() throws Exception { + UserId userId = new UserId(UUID.randomUUID()); + User user = buildUser(Authority.REFRESH_TOKEN, null); + user.setId(userId); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, user)) + .build()); + + Assert.assertNull(userService.findUserById(tenantId, userId)); + } + @Test public void testSendUserWithUnsupportedAuthorityFromEdgeToCloud() throws Exception { UserId userId = new UserId(UUID.randomUUID()); @@ -476,4 +489,21 @@ public class UserEdgeTest extends AbstractEdgeTest { }); } + @Test + public void testSendUserCredentialsWithIdOfDifferentTenantUserToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UserCredentials differentTenantCredentials = userService.findUserCredentialsByUserId(differentTenantId, savedDifferentTenantUser.getId()); + UserCredentials userCredentials = buildCredentials(differentTenantCredentials.getId(), tenantAdminUserId, true); + userCredentials.setPassword(passwordEncoder.encode("password")); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserCredentialsUpdateMsg(EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentials)) + .build()); + + UserCredentials differentTenantCredentialsAfter = userService.findUserCredentialsByUserId(differentTenantId, savedDifferentTenantUser.getId()); + Assert.assertNotNull(differentTenantCredentialsAfter); + Assert.assertEquals(differentTenantCredentials.getPassword(), differentTenantCredentialsAfter.getPassword()); + } + } diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java index 48b4532bca..ad8edcb710 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java @@ -39,6 +39,8 @@ public interface UserService extends EntityDaoService { UserCredentials findUserCredentialsByUserId(TenantId tenantId, UserId userId); + UserCredentials findUserCredentialsById(TenantId tenantId, UserCredentialsId userCredentialsId); + UserCredentials findUserCredentialsByActivateToken(TenantId tenantId, String activateToken); UserCredentials findUserCredentialsByResetToken(TenantId tenantId, String resetToken); diff --git a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java index 0212903880..cfc49bb6ee 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java @@ -210,6 +210,13 @@ public class UserServiceImpl extends AbstractCachedEntityService INCORRECT_USER_CREDENTIALS_ID + id); + return userCredentialsDao.findById(tenantId, userCredentialsId.getId()); + } + @Override public UserCredentials findUserCredentialsByUserId(TenantId tenantId, UserId userId) { log.trace("Executing findUserCredentialsByUserId [{}]", userId); From 15f8c2c750a39996a91e5359b7b6a93cbca0e69b Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 14:23:05 +0100 Subject: [PATCH 028/275] Check device tenant on edge device delete --- .../rpc/processor/device/DeviceEdgeProcessor.java | 2 +- .../org/thingsboard/server/edge/DeviceEdgeTest.java | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 6d2a2fe903..4cd8d9dc1c 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -68,7 +68,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr return Futures.immediateFuture(null); case ENTITY_DELETED_RPC_MESSAGE: Device deviceToDelete = edgeCtx.getDeviceService().findDeviceById(tenantId, deviceId); - if (deviceToDelete != null) { + if (deviceToDelete != null && tenantId.equals(deviceToDelete.getTenantId())) { edgeCtx.getDeviceService().unassignDeviceFromEdge(tenantId, deviceId, edge.getId()); } return Futures.immediateFuture(null); diff --git a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java index c75647b0a8..46944e9edc 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java @@ -1059,6 +1059,19 @@ public class DeviceEdgeTest extends AbstractEdgeTest { Assert.assertEquals(device.getName(), doGet("/api/device/" + device.getUuidId(), Device.class).getName()); } + @Test + public void testSendDeviceDeleteForDeviceOfDifferentTenantToCloud() throws Exception { + Device device = saveDifferentTenantDevice(); + DeviceUpdateMsg.Builder deviceDeleteMsgBuilder = DeviceUpdateMsg.newBuilder(); + deviceDeleteMsgBuilder.setMsgType(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE); + deviceDeleteMsgBuilder.setIdMSB(device.getUuidId().getMostSignificantBits()); + deviceDeleteMsgBuilder.setIdLSB(device.getUuidId().getLeastSignificantBits()); + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg(deviceDeleteMsgBuilder.build())); + + loginDifferentTenant(); + doGet("/api/device/" + device.getUuidId()).andExpect(status().isOk()); + } + @Test public void testSendDeviceWithTenantIdOfDifferentTenantToCloud() throws Exception { loginDifferentTenant(); From db7795eecb331e8105dbde1ac29d37e4f33de67b Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 27 Oct 2026 14:57:45 +0200 Subject: [PATCH 029/275] feat(iot-hub): device install form for LoRaWAN packages - The device install form shows placeholders, templated defaults, an Advanced section and a ThingsBoard connection section with the MQTT host and port, cleans pasted values, shows errors after the user leaves a field and does not let the browser autofill ThingsBoard credentials. - A field marked by the package checks the integration connection. - The TTN and TTI install methods are named The Things Stack Sandbox and The Things Stack Cloud. - The TTN converter metadata includes the coding rate and the gateway channel. - Deleting or updating a device package keeps the integrations, converters and other entities that another installed device package uses, and the delete dialog names them before the user confirms. - The Open button of an installed item names what it opens. --- .../server/controller/IotHubController.java | 16 +- .../service/iot_hub/DefaultIotHubService.java | 62 ++- .../iot_hub/InstalledItemKeptEntities.java | 30 ++ .../server/service/iot_hub/IotHubService.java | 3 + .../system/DefaultSystemSecurityService.java | 9 +- .../security/system/ResolvedBaseUrl.java | 10 + .../system/SystemSecurityService.java | 2 + .../iot_hub/DefaultIotHubServiceTest.java | 94 +++- .../DefaultSystemSecurityServiceTest.java | 51 ++ .../device/DeviceConnectivityHostSource.java | 15 + .../dao/device/DeviceConnectivityService.java | 14 +- .../ThingsStackConverterUnwrapper.java | 15 + .../wrapper/ConverterUnwrapperTest.java | 16 + common/integration/mqtt-integrations/pom.xml | 5 + .../mqtt/basic/BasicMqttIntegration.java | 2 + .../TtnIntegrationCheckConnectionTest.java | 62 +++ .../device/DeviceConnectivityServiceImpl.java | 20 +- .../ResolvedDeviceConnectivityInfo.java | 11 + .../DeviceConnectivityServiceImplTest.java | 119 +++++ .../src/app/core/http/iot-hub-api.service.ts | 15 +- .../device-install-dialog.component.html | 42 +- .../device-install-dialog.component.scss | 17 + .../device-install-dialog.component.ts | 453 +++++++++++++++++- .../install-form-renderer.component.html | 136 +++++- .../install-form-renderer.component.scss | 7 - .../install-form-renderer.component.ts | 126 ++++- .../iot-hub/iot-hub-actions.service.ts | 26 +- .../iot-hub-delete-dialog.component.html | 5 +- .../iot-hub-delete-dialog.component.scss | 8 +- .../iot-hub-delete-dialog.component.ts | 27 +- ...t-hub-installed-items-table.component.html | 16 +- ...iot-hub-installed-items-table.component.ts | 23 + .../iot-hub/iot-hub-markdown.component.ts | 12 +- .../models/iot-hub/device-package.models.ts | 36 +- .../iot-hub/iot-hub-installed-item.models.ts | 25 +- .../src/app/shared/models/settings.models.ts | 9 + .../en_US/iot-hub/device-connection-host.md | 12 + .../assets/locale/locale.constant-ar_AE.json | 4 +- .../assets/locale/locale.constant-ca_ES.json | 4 +- .../assets/locale/locale.constant-da_DK.json | 4 +- .../assets/locale/locale.constant-de_DE.json | 4 +- .../assets/locale/locale.constant-el_GR.json | 4 +- .../assets/locale/locale.constant-en_US.json | 34 +- .../assets/locale/locale.constant-es_ES.json | 4 +- .../assets/locale/locale.constant-fr_FR.json | 4 +- .../assets/locale/locale.constant-hi_IN.json | 4 +- .../assets/locale/locale.constant-it_IT.json | 4 +- .../assets/locale/locale.constant-ja_JP.json | 4 +- .../assets/locale/locale.constant-ka_GE.json | 2 +- .../assets/locale/locale.constant-lt_LT.json | 4 +- .../assets/locale/locale.constant-lv_LV.json | 2 +- .../assets/locale/locale.constant-nl_NL.json | 4 +- .../assets/locale/locale.constant-no_NO.json | 4 +- .../assets/locale/locale.constant-pl_PL.json | 4 +- .../assets/locale/locale.constant-pt_BR.json | 4 +- .../assets/locale/locale.constant-tr_TR.json | 4 +- .../assets/locale/locale.constant-uk_UA.json | 4 +- .../assets/locale/locale.constant-zh_CN.json | 4 +- 58 files changed, 1506 insertions(+), 155 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java create mode 100644 application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java create mode 100644 common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java create mode 100644 common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java create mode 100644 dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java create mode 100644 ui-ngx/src/assets/help/en_US/iot-hub/device-connection-host.md diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index f3d32fedc8..1645505c00 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -32,10 +32,13 @@ import java.util.UUID; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.permission.Operation; import org.thingsboard.server.common.data.permission.Resource; +import org.thingsboard.server.dao.device.DeviceConnectivityHostSource; import org.thingsboard.server.dao.device.DeviceConnectivityService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.security.system.ResolvedBaseUrl; import org.thingsboard.server.service.security.system.SystemSecurityService; +import org.thingsboard.server.service.iot_hub.InstalledItemKeptEntities; import org.thingsboard.server.service.iot_hub.InstallItemVersionResult; import org.thingsboard.server.service.iot_hub.InstallPlan; import org.thingsboard.server.service.iot_hub.InstallPlanResult; @@ -153,13 +156,22 @@ public class IotHubController extends BaseController { iotHubService.deleteInstalledItem(getCurrentUser(), new IotHubInstalledItemId(installedItemId)); } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @GetMapping("/installedItems/{installedItemId}/keptEntities") + @ResponseBody + public InstalledItemKeptEntities getInstalledItemKeptEntities(@PathVariable UUID installedItemId) throws ThingsboardException { + checkAllPermissions(); + return iotHubService.findKeptEntities(getTenantId(), new IotHubInstalledItemId(installedItemId)); + } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") @GetMapping("/connectivity") @ResponseBody public JsonNode getConnectivitySettings(HttpServletRequest request) throws Exception { checkAllPermissions(); - String baseUrl = systemSecurityService.getBaseUrl(getTenantId(), getCurrentUser().getCustomerId(), request); - return deviceConnectivityService.getConnectivityInfo(baseUrl); + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(getTenantId(), getCurrentUser().getCustomerId(), request); + return deviceConnectivityService.getConnectivityInfo(baseUrl.url(), + baseUrl.fromRequest() ? DeviceConnectivityHostSource.REQUEST : DeviceConnectivityHostSource.BASE_URL); } private void checkAllPermissions() throws ThingsboardException { diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 06ef375109..a3cf0599fa 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -42,6 +42,8 @@ import org.thingsboard.server.common.data.iot_hub.SolutionTemplateInstalledItemD import org.thingsboard.server.common.data.iot_hub.WidgetInstalledItemDescriptor; import org.thingsboard.server.common.data.subscription.SubscriptionException; import org.thingsboard.server.exception.EntitiesLimitExceededException; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.service.solutions.SolutionService; import org.thingsboard.server.service.solutions.data.solution.SolutionInstallResponse; import org.thingsboard.server.common.data.permission.Operation; @@ -58,6 +60,7 @@ import org.thingsboard.server.dao.dashboard.DashboardService; import org.thingsboard.server.dao.device.DeviceProfileService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.group.EntityGroupService; +import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.integration.IntegrationService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.dao.rule.RuleChainService; @@ -79,10 +82,12 @@ import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.util.ArrayList; import java.util.Collections; +import java.util.HashMap; import java.util.HashSet; import java.util.HexFormat; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.UUID; @@ -118,6 +123,7 @@ public class DefaultIotHubService implements IotHubService { private final CalculatedFieldService calculatedFieldService; private final DeviceProfileService deviceProfileService; private final DeviceService deviceService; + private final EntityService entityService; private final TbDeviceService tbDeviceService; private final SolutionService solutionService; private final EntityGroupService entityGroupService; @@ -456,7 +462,7 @@ public class DefaultIotHubService implements IotHubService { case "RULE_CHAIN" -> updateRuleChain(tenantId, (RuleChainInstalledItemDescriptor) descriptor, fileData); case "DEVICE" -> { DeviceInstalledItemDescriptor dd = (DeviceInstalledItemDescriptor) descriptor; - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); dd.setCreatedEntityIds(null); dd.setDashboardId(null); } @@ -704,13 +710,24 @@ public class DefaultIotHubService implements IotHubService { } } - private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + /** + * Deletes what a device package created, except the entities another installed device package + * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. + */ + private void deleteDevicePackageEntities(TenantId tenantId, IotHubInstalledItemId installedItemId, + List createdEntityIds, SecurityUser user) { if (createdEntityIds == null || createdEntityIds.isEmpty()) { return; } + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); for (EntityId entityId : reversed) { + Set usedBy = usedByOtherPackages.get(entityId.getId()); + if (usedBy != null) { + log.info("[{}] Kept {} {}: installed device packages {} use it", tenantId, entityId.getEntityType(), entityId.getId(), usedBy); + continue; + } try { deleteDevicePackageEntity(tenantId, entityId, user); } catch (Exception e) { @@ -719,6 +736,45 @@ public class DefaultIotHubService implements IotHubService { } } + /** The delete dialog shows these before the user confirms, so they must match what {@link #deleteDevicePackageEntities} keeps. */ + @Override + public InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId) { + IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); + if (installedItem == null) { + throw new IllegalArgumentException("Installed item not found"); + } + List kept = new ArrayList<>(); + Set usedByItems = new HashSet<>(); + if (installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); + for (EntityId entityId : dd.getCreatedEntityIds()) { + Set usedBy = usedByOtherPackages.get(entityId.getId()); + if (usedBy != null) { + kept.add(new InstalledItemKeptEntities.KeptEntity(entityId, entityService.fetchEntityName(tenantId, entityId).orElse(null))); + usedByItems.addAll(usedBy); + } + } + } + return new InstalledItemKeptEntities(kept, usedByItems.size()); + } + + private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId) { + Map> usedBy = new HashMap<>(); + PageLink pageLink = new PageLink(100); + PageData page; + do { + page = iotHubInstalledItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); + for (IotHubInstalledItem item : page.getData()) { + if (!item.getId().equals(installedItemId) + && item.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + dd.getCreatedEntityIds().forEach(id -> usedBy.computeIfAbsent(id.getId(), k -> new HashSet<>()).add(item.getId())); + } + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext()); + return usedBy; + } + private void deleteDevicePackageEntity(TenantId tenantId, EntityId entityId, SecurityUser user) throws ThingsboardException { switch (entityId.getEntityType()) { case DEVICE -> { @@ -797,7 +853,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java new file mode 100644 index 0000000000..021cfe5be5 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java @@ -0,0 +1,30 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.iot_hub; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.id.EntityId; + +import java.util.List; + +/** What deleting an installed item keeps, because other installed items use it too. */ +@Data +@NoArgsConstructor +@AllArgsConstructor +public class InstalledItemKeptEntities { + + private List entities; + // How many other installed items use at least one of the kept entities + private int usedByItemsCount; + + @Data + @NoArgsConstructor + @AllArgsConstructor + public static class KeptEntity { + private EntityId entityId; + private String name; + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index b934344e91..e1d0cd666b 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -7,6 +7,7 @@ import com.fasterxml.jackson.databind.JsonNode; import jakarta.servlet.http.HttpServletRequest; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.service.security.model.SecurityUser; @@ -20,6 +21,8 @@ public interface IotHubService { void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); + InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId); + InstallPlan resolveInstallPlan(SecurityUser user, String versionId); InstallPlanResult installPlan(SecurityUser user, InstallPlan plan, JsonNode data, HttpServletRequest request); diff --git a/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java b/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java index 57ada98db3..5a582026fd 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java +++ b/application/src/main/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityService.java @@ -249,6 +249,11 @@ public class DefaultSystemSecurityService implements SystemSecurityService { @Override public String getBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest) { + return resolveBaseUrl(tenantId, customerId, httpServletRequest).url(); + } + + @Override + public ResolvedBaseUrl resolveBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest) { String baseUrl = null; AdminSettings generalSettings = adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, "general"); @@ -262,10 +267,10 @@ public class DefaultSystemSecurityService implements SystemSecurityService { } if (StringUtils.isEmpty(baseUrl) && httpServletRequest != null) { - baseUrl = MiscUtils.constructBaseUrl(httpServletRequest); + return new ResolvedBaseUrl(MiscUtils.constructBaseUrl(httpServletRequest), true); } - return formatBaseUrl(baseUrl); + return new ResolvedBaseUrl(formatBaseUrl(baseUrl), false); } @Override diff --git a/application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java b/application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java new file mode 100644 index 0000000000..33b7c49e47 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/security/system/ResolvedBaseUrl.java @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.service.security.system; + +/** + * Base URL as returned by {@link SystemSecurityService#getBaseUrl}, and whether it was built from + * the request rather than taken from the Base URL in General settings. + */ +public record ResolvedBaseUrl(String url, boolean fromRequest) { +} diff --git a/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java b/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java index df462aaf77..d1394bf280 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java +++ b/application/src/main/java/org/thingsboard/server/service/security/system/SystemSecurityService.java @@ -33,6 +33,8 @@ public interface SystemSecurityService { String getBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest); + ResolvedBaseUrl resolveBaseUrl(TenantId tenantId, CustomerId customerId, HttpServletRequest httpServletRequest); + void logLoginAction(User user, Object authenticationDetails, ActionType actionType, Exception e); void logLoginAction(User user, Object authenticationDetails, ActionType actionType, String provider, Exception e); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 2f1a0ada5b..0f0068872c 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.iot_hub; import com.fasterxml.jackson.databind.JsonNode; @@ -13,14 +14,27 @@ import org.mockito.Mock; import org.mockito.Spy; import org.mockito.junit.jupiter.MockitoExtension; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceService; +import org.thingsboard.server.dao.entity.EntityService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; +import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.List; +import java.util.Optional; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; @@ -48,6 +62,16 @@ class DefaultIotHubServiceTest { private IotHubRestClient iotHubRestClient; @Mock private IotHubInstalledItemService iotHubInstalledItemService; + @Mock + private DeviceService deviceService; + @Mock + private EntityService entityService; + @Mock + private TbDeviceService tbDeviceService; + @Mock + private DashboardService dashboardService; + @Mock + private TbDashboardService tbDashboardService; @Spy @InjectMocks @@ -411,4 +435,72 @@ class DefaultIotHubServiceTest { assertThat(result.isRolledBack()).isFalse(); assertThat(result.getErrorMessage()).contains("install failed"); } + + @Test + void deleteInstalledItem_devicePackage_keepsEntitiesAnotherDevicePackageUses() { + mockTenant(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId sharedDashboardId = new DashboardId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(deviceId, sharedDashboardId); + IotHubInstalledItem other = devicePackage(sharedDashboardId); + other.setItemName("Other package"); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted, other), 1, 2, false)); + Device device = new Device(deviceId); + when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(tbDeviceService).delete(device, user); + verify(dashboardService, never()).findDashboardById(any(), any()); + verify(tbDashboardService, never()).delete(any(), any()); + verify(iotHubInstalledItemService).deleteById(tenantId, deleted.getId()); + } + + @Test + void findKeptEntities_devicePackage_namesTheSharedEntitiesAndCountsTheOtherPackages() { + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId sharedDashboardId = new DashboardId(UUID.randomUUID()); + DeviceProfileId sharedProfileId = new DeviceProfileId(UUID.randomUUID()); + IotHubInstalledItem checked = devicePackage(sharedProfileId, deviceId, sharedDashboardId); + IotHubInstalledItem first = devicePackage(sharedProfileId, sharedDashboardId); + IotHubInstalledItem second = devicePackage(sharedDashboardId); + IotHubInstalledItem unrelated = devicePackage(new DeviceId(UUID.randomUUID())); + when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(checked, first, second, unrelated), 1, 4, false)); + when(entityService.fetchEntityName(tenantId, sharedProfileId)).thenReturn(Optional.of("Shared profile")); + when(entityService.fetchEntityName(tenantId, sharedDashboardId)).thenReturn(Optional.of("Shared dashboard")); + + InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); + + assertThat(kept.getEntities()).containsExactly( + new InstalledItemKeptEntities.KeptEntity(sharedProfileId, "Shared profile"), + new InstalledItemKeptEntities.KeptEntity(sharedDashboardId, "Shared dashboard")); + assertThat(kept.getUsedByItemsCount()).isEqualTo(2); + } + + @Test + void findKeptEntities_devicePackageSharingNothing_keepsNothing() { + IotHubInstalledItem checked = devicePackage(new DeviceId(UUID.randomUUID())); + IotHubInstalledItem other = devicePackage(new DeviceId(UUID.randomUUID())); + when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(checked, other), 1, 2, false)); + + InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); + + assertThat(kept.getEntities()).isEmpty(); + assertThat(kept.getUsedByItemsCount()).isZero(); + } + + private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(createdEntityIds)); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setDescriptor(descriptor); + return item; + } + } diff --git a/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java b/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java index 8ffd947991..9a46775ede 100644 --- a/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/security/system/DefaultSystemSecurityServiceTest.java @@ -8,11 +8,14 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; +import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authentication.DisabledException; import org.springframework.security.authentication.LockedException; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; +import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.rule.engine.api.MailService; +import org.thingsboard.server.common.data.AdminSettings; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; @@ -30,6 +33,7 @@ import org.thingsboard.server.service.security.permission.UserPermissionsService import java.util.UUID; +import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; @@ -201,4 +205,51 @@ public class DefaultSystemSecurityServiceTest { verify(mailService).sendAccountLockoutEmail(eq(tenantId), eq(username), eq(notificationEmail), eq(5)); } + @Test + public void resolveBaseUrlTakesRequestUrlWhenDifferentUrlsAreAllowed() { + givenGeneralSettings("https://tb.example.com", false); + + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(tenantId, null, request()); + + assertThat(baseUrl.url()).isEqualTo("http://192.168.1.10:8080"); + assertThat(baseUrl.fromRequest()).isTrue(); + } + + @Test + public void resolveBaseUrlTakesSettingsUrlWhenDifferentUrlsAreProhibited() { + givenGeneralSettings("https://tb.example.com", true); + + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(tenantId, null, request()); + + assertThat(baseUrl.url()).isEqualTo("https://tb.example.com"); + assertThat(baseUrl.fromRequest()).isFalse(); + } + + @Test + public void resolveBaseUrlFallsBackToRequestWhenSettingsUrlIsEmpty() { + givenGeneralSettings("", true); + + ResolvedBaseUrl baseUrl = systemSecurityService.resolveBaseUrl(tenantId, null, request()); + + assertThat(baseUrl.url()).isEqualTo("http://192.168.1.10:8080"); + assertThat(baseUrl.fromRequest()).isTrue(); + assertThat(systemSecurityService.getBaseUrl(tenantId, null, request())).isEqualTo(baseUrl.url()); + } + + private void givenGeneralSettings(String baseUrl, boolean prohibitDifferentUrl) { + AdminSettings generalSettings = new AdminSettings(); + generalSettings.setJsonValue(JacksonUtil.newObjectNode() + .put("baseUrl", baseUrl) + .put("prohibitDifferentUrl", prohibitDifferentUrl)); + when(adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, "general")).thenReturn(generalSettings); + } + + private static MockHttpServletRequest request() { + MockHttpServletRequest request = new MockHttpServletRequest(); + request.setScheme("http"); + request.setServerName("192.168.1.10"); + request.setServerPort(8080); + return request; + } + } diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java new file mode 100644 index 0000000000..4091794979 --- /dev/null +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityHostSource.java @@ -0,0 +1,15 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.device; + +/** + * Where the host of a transport in the device connectivity info comes from. + */ +public enum DeviceConnectivityHostSource { + /** Set explicitly in the Device connectivity settings. */ + DEVICE_CONNECTIVITY, + /** Taken from the Base URL in General settings. */ + BASE_URL, + /** Taken from the address of the request. */ + REQUEST +} diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java index 4bd0ab255d..48da435d32 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityService.java @@ -13,7 +13,19 @@ public interface DeviceConnectivityService { JsonNode findDevicePublishTelemetryCommands(String baseUrl, Device device) throws URISyntaxException; - JsonNode getConnectivityInfo(String baseUrl) throws URISyntaxException; + /** + * Resolved host and port of each enabled transport, with the source of the host. + * A blank port is replaced with the standard port of the protocol. + */ + JsonNode getConnectivityInfo(String baseUrl, DeviceConnectivityHostSource baseUrlSource) throws URISyntaxException; + + /** + * Same as {@link #getConnectivityInfo(String, DeviceConnectivityHostSource)}, with a base URL + * built from the request. + */ + default JsonNode getConnectivityInfo(String baseUrl) throws URISyntaxException { + return getConnectivityInfo(baseUrl, DeviceConnectivityHostSource.REQUEST); + } Resource getPemCertFile(String protocol); diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java index b7d0f67211..c26ecaffd3 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/wrapper/ThingsStackConverterUnwrapper.java @@ -58,9 +58,24 @@ public class ThingsStackConverterUnwrapper extends AbstractConverterUnwrapper { .put("simulated", "/simulated") .put("rssi", "") .put("snr", "") + .put("channel", "") .build(); } + @Override + protected void addGatewayAdditionalInfo(Map kvMap, JsonNode payloadJson) { + super.addGatewayAdditionalInfo(kvMap, payloadJson); + JsonNode rxMetadata = findByMaxRssi(payloadJson.at(getGatewayInfoPath())); + if (rxMetadata != null && rxMetadata.has("channel_index")) { + kvMap.put("channel", rxMetadata.get("channel_index").asInt()); + } + // The Things Stack moved the coding rate from the settings into the LoRa data rate + JsonNode loraCodingRate = payloadJson.at("/uplink_message/settings/data_rate/lora/coding_rate"); + if (!kvMap.containsKey("codeRate") && loraCodingRate.isTextual()) { + kvMap.put("codeRate", loraCodingRate.asText()); + } + } + @Override protected String getGatewayInfoPath() { return "/uplink_message/rx_metadata"; diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java index c3c154ad2f..7463b97003 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/wrapper/ConverterUnwrapperTest.java @@ -196,6 +196,22 @@ public class ConverterUnwrapperTest { assertEquals(ContentType.JSON, result.getSecond().getContentType()); } + @Test + public void thingsStackConverterWrapperTakesCodingRateFromLoraDataRateAndChannelFromStrongestGateway() throws Exception { + ConverterUnwrapper wrapper = ConverterUnwrapperFactory.getUnwrapper(IntegrationType.TTN).get(); + ObjectNode payloadMsg = JacksonUtil.fromString(readPayloadFromFile("ThingsStackPayload.json"), ObjectNode.class); + ObjectNode settings = (ObjectNode) payloadMsg.at("/uplink_message/settings"); + settings.remove("coding_rate"); + ((ObjectNode) settings.at("/data_rate/lora")).put("coding_rate", "4/6"); + ((ObjectNode) payloadMsg.at("/uplink_message/rx_metadata/0")).put("channel_index", 3); + ((ObjectNode) payloadMsg.at("/uplink_message/rx_metadata/1")).put("channel_index", 5); + + Map kvMap = wrapper.unwrap(JacksonUtil.writeValueAsBytes(payloadMsg), + new UplinkMetaData<>(ContentType.JSON, Map.of())).getSecond().getKvMap(); + + assertThat(kvMap).containsEntry("codeRate", "4/6").containsEntry("channel", 3).containsEntry("rssi", -22); + } + @Test public void thingsParkConverterWrapperTest() throws Exception { ConverterUnwrapper wrapper = ConverterUnwrapperFactory.getUnwrapper(IntegrationType.THINGPARK).get(); diff --git a/common/integration/mqtt-integrations/pom.xml b/common/integration/mqtt-integrations/pom.xml index 89b3025891..b3d3a1dcb0 100644 --- a/common/integration/mqtt-integrations/pom.xml +++ b/common/integration/mqtt-integrations/pom.xml @@ -70,6 +70,11 @@ 4.13.2 test + + org.mockito + mockito-core + test + diff --git a/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java b/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java index f82aabcb56..33020d91cf 100644 --- a/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java +++ b/common/integration/mqtt-integrations/src/main/java/org/thingsboard/integration/mqtt/basic/BasicMqttIntegration.java @@ -101,6 +101,8 @@ public class BasicMqttIntegration extends AbstractMqttIntegration ctx.getIntegrationConnectTimeoutSec() && ctx.getIntegrationConnectTimeoutSec() > 0) { log.debug("Reduce connection timeout sec down to the limit [{}]", mqttClientConfiguration.getConnectTimeoutSec()); mqttClientConfiguration.setConnectTimeoutSec(ctx.getIntegrationConnectTimeoutSec()); diff --git a/common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java b/common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java new file mode 100644 index 0000000000..2270fa22e6 --- /dev/null +++ b/common/integration/mqtt-integrations/src/test/java/org/thingsboard/integration/mqtt/ttn/TtnIntegrationCheckConnectionTest.java @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.integration.mqtt.ttn; + +import io.netty.channel.nio.NioEventLoopGroup; +import org.junit.After; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.integration.api.IntegrationContext; +import org.thingsboard.server.common.data.exception.ThingsboardException; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.integration.IntegrationType; + +import java.util.UUID; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; + +public class TtnIntegrationCheckConnectionTest { + + private NioEventLoopGroup eventLoopGroup; + private ExecutorService executor; + private IntegrationContext context; + + @Before + public void setUp() { + eventLoopGroup = new NioEventLoopGroup(1); + executor = Executors.newSingleThreadExecutor(); + context = Mockito.mock(IntegrationContext.class); + Mockito.when(context.getEventLoopGroup()).thenReturn(eventLoopGroup); + Mockito.when(context.getExecutorService()).thenReturn(executor); + Mockito.when(context.getIntegrationConnectTimeoutSec()).thenReturn(1); + Mockito.when(context.getMqttClientRetransmissionMaxAttempts()).thenReturn(1); + Mockito.when(context.getMqttClientRetransmissionInitialDelayMillis()).thenReturn(1000L); + Mockito.when(context.getMqttClientRetransmissionJitterFactor()).thenReturn(0.1); + } + + @After + public void tearDown() { + eventLoopGroup.shutdownGracefully(); + executor.shutdownNow(); + } + + // The check runs the same TTN setup as a running integration, which refuses empty credentials + @Test + public void checkRefusesEmptyCredentialsBeforeConnecting() { + Integration integration = new Integration(); + integration.setId(new IntegrationId(UUID.randomUUID())); + integration.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + integration.setType(IntegrationType.TTN); + integration.setConfiguration(JacksonUtil.toJsonNode("{\"clientConfiguration\":{\"host\":\"eu1\",\"port\":8883," + + "\"connectTimeoutSec\":1,\"ssl\":true,\"credentials\":{\"type\":\"basic\",\"username\":\"\",\"password\":\"\"}}}")); + + ThingsboardException e = Assert.assertThrows(ThingsboardException.class, + () -> new TtnIntegration().doCheckConnection(integration, context)); + Assert.assertTrue(e.getMessage(), e.getMessage().contains("Application Credentials")); + } +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java index 8cb6d64c00..50ae0fcd43 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImpl.java @@ -63,6 +63,13 @@ public class DeviceConnectivityServiceImpl implements DeviceConnectivityService public static final String DEFAULT_DEVICE_TELEMETRY_TOPIC = "v1/devices/me/telemetry"; public static final String HTTP_DEFAULT_PORT = "80"; public static final String HTTPS_DEFAULT_PORT = "443"; + private static final Map STANDARD_PORTS = Map.of( + HTTP, HTTP_DEFAULT_PORT, + HTTPS, HTTPS_DEFAULT_PORT, + MQTT, "1883", + MQTTS, "8883", + COAP, "5683", + COAPS, "5684"); private final Map certs = new ConcurrentHashMap<>(); @@ -199,17 +206,16 @@ public class DeviceConnectivityServiceImpl implements DeviceConnectivityService } @Override - public JsonNode getConnectivityInfo(String baseUrl) throws URISyntaxException { + public JsonNode getConnectivityInfo(String baseUrl, DeviceConnectivityHostSource baseUrlSource) throws URISyntaxException { String[] protocols = {HTTP, HTTPS, MQTT, MQTTS, COAP, COAPS}; - Map result = new LinkedHashMap<>(); + Map result = new LinkedHashMap<>(); for (String protocol : protocols) { DeviceConnectivityInfo info = getConnectivity(protocol); if (info != null && info.isEnabled()) { - DeviceConnectivityInfo resolved = new DeviceConnectivityInfo(); - resolved.setEnabled(true); - resolved.setHost(getHost(baseUrl, info, protocol)); - resolved.setPort(getPort(info)); - result.put(protocol, resolved); + result.put(protocol, new ResolvedDeviceConnectivityInfo(true, + getHost(baseUrl, info, protocol), + StringUtils.isBlank(info.getPort()) ? STANDARD_PORTS.get(protocol) : info.getPort(), + StringUtils.isNotBlank(info.getHost()) ? DeviceConnectivityHostSource.DEVICE_CONNECTIVITY : baseUrlSource)); } } return JacksonUtil.valueToTree(result); diff --git a/dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java b/dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java new file mode 100644 index 0000000000..64325ce821 --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/device/ResolvedDeviceConnectivityInfo.java @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.device; + +/** + * Host and port of an enabled transport as returned by {@link DeviceConnectivityService#getConnectivityInfo}, + * with the source of the host. Kept apart from {@link DeviceConnectivityInfo}, which models the stored settings. + */ +public record ResolvedDeviceConnectivityInfo(boolean enabled, String host, String port, + DeviceConnectivityHostSource hostSource) { +} diff --git a/dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java b/dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java new file mode 100644 index 0000000000..2a91a14654 --- /dev/null +++ b/dao/src/test/java/org/thingsboard/server/dao/device/DeviceConnectivityServiceImplTest.java @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.device; + +import com.fasterxml.jackson.databind.JsonNode; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.AdminSettings; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.settings.AdminSettingsService; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +class DeviceConnectivityServiceImplTest { + + private static final String BASE_URL = "http://192.168.1.10:8080"; + + @Mock + private AdminSettingsService adminSettingsService; + @Mock + private DeviceCredentialsService deviceCredentialsService; + @Mock + private DeviceProfileService deviceProfileService; + @InjectMocks + private DeviceConnectivityServiceImpl service; + + @Test + void configuredHostIsReportedAsDeviceConnectivity() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "10.0.0.5", "port": "1884"}}"""); + + JsonNode mqtt = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST).get("mqtt"); + + assertThat(mqtt.get("host").asText()).isEqualTo("10.0.0.5"); + assertThat(mqtt.get("port").asText()).isEqualTo("1884"); + assertThat(mqtt.get("hostSource").asText()).isEqualTo("DEVICE_CONNECTIVITY"); + } + + @Test + void blankHostTakesBaseUrlAndItsSource() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "", "port": "1883"}}"""); + + JsonNode fromRequest = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST).get("mqtt"); + JsonNode fromBaseUrl = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.BASE_URL).get("mqtt"); + + assertThat(fromRequest.get("host").asText()).isEqualTo("192.168.1.10"); + assertThat(fromRequest.get("hostSource").asText()).isEqualTo("REQUEST"); + assertThat(fromBaseUrl.get("hostSource").asText()).isEqualTo("BASE_URL"); + } + + @Test + void blankPortIsReplacedWithStandardPort() throws Exception { + givenConnectivity(""" + {"http": {"enabled": true, "host": "", "port": ""}, + "https": {"enabled": true, "host": "", "port": ""}, + "mqtt": {"enabled": true, "host": "", "port": ""}, + "mqtts": {"enabled": true, "host": "", "port": ""}, + "coap": {"enabled": true, "host": "", "port": ""}, + "coaps": {"enabled": true, "host": "", "port": ""}}"""); + + JsonNode info = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST); + + assertThat(info.get("http").get("port").asText()).isEqualTo("80"); + assertThat(info.get("https").get("port").asText()).isEqualTo("443"); + assertThat(info.get("mqtt").get("port").asText()).isEqualTo("1883"); + assertThat(info.get("mqtts").get("port").asText()).isEqualTo("8883"); + assertThat(info.get("coap").get("port").asText()).isEqualTo("5683"); + assertThat(info.get("coaps").get("port").asText()).isEqualTo("5684"); + } + + @Test + void disabledProtocolIsLeftOut() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "", "port": "1883"}, + "coap": {"enabled": false, "host": "", "port": "5683"}}"""); + + JsonNode info = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST); + + assertThat(info.has("mqtt")).isTrue(); + assertThat(info.has("coap")).isFalse(); + } + + @Test + void responseHasTheFieldsTheUiReads() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "10.0.0.5", "port": "1884"}}"""); + + JsonNode mqtt = service.getConnectivityInfo(BASE_URL, DeviceConnectivityHostSource.REQUEST).get("mqtt"); + + assertThat(mqtt.fieldNames()).toIterable() + .containsExactlyInAnyOrder("enabled", "host", "port", "hostSource"); + assertThat(mqtt.get("enabled").asBoolean()).isTrue(); + } + + @Test + void overloadWithoutSourceReportsRequest() throws Exception { + givenConnectivity(""" + {"mqtt": {"enabled": true, "host": "", "port": "1883"}}"""); + + JsonNode mqtt = service.getConnectivityInfo(BASE_URL).get("mqtt"); + + assertThat(mqtt.get("host").asText()).isEqualTo("192.168.1.10"); + assertThat(mqtt.get("hostSource").asText()).isEqualTo("REQUEST"); + } + + private void givenConnectivity(String json) { + AdminSettings settings = new AdminSettings(); + settings.setJsonValue(JacksonUtil.toJsonNode(json)); + when(adminSettingsService.findAdminSettingsByKey(TenantId.SYS_TENANT_ID, "connectivity")).thenReturn(settings); + } + +} diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 439976d6c5..49da0f4e6a 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -13,13 +13,13 @@ import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; -import { IotHubInstalledItem, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubInstalledItem, IotHubInstalledItemKeptEntities, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { ItemType, ItemTypeFilterInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; import { InterceptorHttpParams } from '@core/interceptors/interceptor-http-params'; import { InterceptorConfig } from '@core/interceptors/interceptor-config'; import { AppState } from '@core/core.state'; import { getCurrentAuthState } from '@core/auth/auth.selectors'; -import { DeviceConnectivitySettings } from '@shared/models/settings.models'; +import { ResolvedDeviceConnectivitySettings } from '@shared/models/settings.models'; import { environment as env } from '@env/environment'; export function tbVersionToInt(version: string): number { @@ -170,8 +170,8 @@ export class IotHubApiService { }); } - public getConnectivitySettings(config?: IotHubRequestConfig): Observable { - return this.http.get( + public getConnectivitySettings(config?: IotHubRequestConfig): Observable { + return this.http.get( `/api/iot-hub/connectivity`, { params: this.buildParams(config) } ); @@ -269,6 +269,13 @@ export class IotHubApiService { ); } + public getInstalledItemKeptEntities(installedItemId: string, config?: IotHubRequestConfig): Observable { + return this.http.get( + `/api/iot-hub/installedItems/${installedItemId}/keptEntities`, + { params: this.buildParams(config) } + ); + } + public getItemsPublishedVersions(itemIds: string[], config?: IotHubRequestConfig): Observable { return this.http.post( `${this.baseUrl}/api/versions/publishedVersions`, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 3bc2fbcbd4..8f36545817 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -49,13 +49,43 @@ } @case ('form') { -
+
+ [reviewMode]="reviewMode" + [checkConnectionTemplate]="connectionCheckOf(ws) && hasCheckConnectionField(ws) ? checkConnectionTpl : null"> + +
+ + @switch (connectionCheckMessage(ws)) { + @case ('checking') { + + } + @case ('success') { + + check_circle + {{ 'iot-hub.connection-check-success' | translate }} + + } + @case ('error') { + + error + {{ 'iot-hub.connection-check-failed' | translate }} + + } + } +
+
+ @if (connectionCheckOf(ws) && !hasCheckConnectionField(ws)) { + + }
} @@ -207,7 +237,7 @@ @for (ws of wizardSteps; track ws.label) { {{ ws.label }} @@ -252,7 +282,11 @@ @case ('form') { } @case ('progress') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss index 9ab0b87e94..c57e41aebd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.scss @@ -195,6 +195,23 @@ } } +.tb-connection-check-result { + font-size: 14px; + color: #198038; + + mat-icon { + color: #198038; + } + + &.tb-connection-check-error { + color: #dd2c00; + + mat-icon { + color: #dd2c00; + } + } +} + .tb-progress-divider { width: 1px; height: 16px; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ee4a325742..9b265718b4 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -7,10 +7,10 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { DialogComponent } from '@shared/components/dialog.component'; -import { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms'; +import { AbstractControl, UntypedFormControl, UntypedFormGroup, ValidationErrors, Validators } from '@angular/forms'; import { MatStepper } from '@angular/material/stepper'; import { StepperSelectionEvent } from '@angular/cdk/stepper'; -import { firstValueFrom } from 'rxjs'; +import { firstValueFrom, Subscription } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; @@ -29,6 +29,7 @@ import { IntegrationService } from '@core/http/integration.service'; import { Converter, ConverterType } from '@shared/models/converter.models'; import { AiDashboardGenerationService } from '@home/components/ai/ai-dashboard-generation.service'; import { + cleanFormFieldValue, DeviceInstallStep, DevicePackageInfo, ENTITY_STEP_TYPES, @@ -38,10 +39,16 @@ import { FormFieldType, installMethodIcons as INSTALL_METHOD_ICONS, installMethodLabels as INSTALL_METHOD_LABELS, + InstallMethod, InstallStepType, stepTypeAliasMap } from '@shared/models/iot-hub/device-package.models'; import { mergeMap } from 'rxjs/operators'; +import { + DeviceConnectivityHostSource, + DeviceConnectivityProtocol, + ResolvedDeviceConnectivityInfo +} from '@shared/models/settings.models'; export interface DeviceInstallDialogData { item: MpItemVersionView; @@ -63,15 +70,127 @@ export interface WizardStep { markdown?: string; // Form formFields?: FormFieldDefinition[]; + // Fields the dialog adds on top of the package's form file + extraFormFields?: FormFieldDefinition[]; + // Key of the step's form values in the install state; the label when not set + stateKey?: string; formGroup?: UntypedFormGroup; + // Connection check of the integration the form configures; null when the form configures none + connectionCheck?: ConnectionCheck | null; // Progress entitySteps?: EntityStepProgress[]; progressError?: string; progressDone?: boolean; } +export interface ConnectionCheck { + // The INTEGRATION step template that the form values fill + template: string; + status: 'idle' | 'checking' | 'success' | 'error'; + // The values the status is for, as JSON: only the fields the integration template uses + checkedValues?: string; + // The result shows next to the button for a few seconds after the check + resultVisible?: boolean; + resultTimer?: ReturnType; +} + const ENTITY_STEP_MIN_DELAY = 2000; +const CONNECTION_CHECK_RESULT_MS = 5000; const DEFAULT_RANDOM_SIZE = 20; +const TRANSPORT_HOST_FIELD_KEY = 'tbTransportHost'; +const TRANSPORT_PORT_FIELD_KEY = 'tbTransportPort'; +// Not the translated label, so review mode finds the values in any UI language +const TRANSPORT_STEP_STATE_KEY = 'tbTransportConnection'; + +/** + * A transport whose ${.host} / ${.port} the install form lets the user check, + * with the translation keys of its fields. The wording is per transport (the label, the hints and + * the help popup name the protocol and its default port), so each entry brings its own keys. + */ +interface HostFieldTransport { + protocol: DeviceConnectivityProtocol; + hostLabel: string; + portLabel: string; + // Hint by the source of the host; REQUEST is used when the source is unknown + hostHints: Partial> & { REQUEST: string }; + // Hint by the source of a host that resolved to a loopback address; loopbackHint when there is none + loopbackHints: Partial>; + loopbackHint: string; + // Review mode: the stored value is shown without its source + reviewHostHint: string; + // Host set in Device connectivity: the fields are read-only + configuredHint: string; + hostError: string; + portError: string; + helpPopupId: string; + helpPopupText: string; +} + +// Install methods whose packages get the transport fields. Other methods use the host differently +// (a ChirpStack package builds the ThingsBoard URL from it, a gateway puts it into docker-compose) +// and keep the resolved value until they are handled separately. +const HOST_FIELD_TRANSPORTS = new Map([ + [InstallMethod.DIRECT_MQTT, { + protocol: 'mqtt', + hostLabel: 'iot-hub.device-install-mqtt-host', + portLabel: 'iot-hub.device-install-mqtt-port', + hostHints: { + REQUEST: 'iot-hub.device-install-mqtt-host-request-hint', + BASE_URL: 'iot-hub.device-install-mqtt-host-base-url-hint' + }, + loopbackHints: { + REQUEST: 'iot-hub.device-install-mqtt-host-opened-via-loopback-hint', + BASE_URL: 'iot-hub.device-install-mqtt-host-base-url-loopback-hint' + }, + loopbackHint: 'iot-hub.device-install-mqtt-host-loopback-hint', + reviewHostHint: 'iot-hub.device-install-mqtt-host-hint', + configuredHint: 'iot-hub.device-install-mqtt-host-configured-hint', + hostError: 'iot-hub.device-install-transport-host-error', + portError: 'iot-hub.device-install-transport-port-error', + helpPopupId: 'iot-hub/device-connection-host', + helpPopupText: 'iot-hub.device-install-which-host' + }] +]); + +/** + * Reduces what a user may paste (a URL, host:port, [IPv6]:port) to the bare host: the port is + * a separate setting, and the scheme or path would end up in the firmware as part of the host. + */ +const toBareHost = (value: string): string => { + const hostPort = value.trim().replace(/^[a-z][a-z\d+.-]*:\/\//i, '').replace(/[/?#].*$/, ''); + const bracketed = hostPort.match(/^\[([^\]]*)](:\d*)?$/); + if (bracketed) { + return bracketed[1]; + } + // A bare IPv6 address has several colons; a single one separates the port. + const parts = hostPort.split(':'); + return parts.length === 2 ? parts[0] : hostPort; +}; + +// localhost, 127.0.0.0/8, ::1 and 0.0.0.0: a device can't reach the server at any of them. +// Unlike DeviceConnectivityUtil.isLocalhost this doesn't resolve hostnames, and it also +// rejects 0.0.0.0, which isn't a loopback address but is just as unreachable. +// Takes a bare host (see toBareHost). +const isLoopbackHost = (host: string): boolean => { + const h = host.toLowerCase(); + return h === 'localhost' || h === '::1' || h === '0.0.0.0' || /^127(\.\d{1,3}){3}$/.test(h); +}; + +// Host name, IPv4 or IPv6 characters only: the value goes into C string literals and JSON templates. +const HOST_PATTERN = /^[a-z\d._:-]+$/i; + +const transportHostValidator = (control: AbstractControl): ValidationErrors | null => { + if (!control.value) { + return null; + } + const host = toBareHost(control.value); + return !HOST_PATTERN.test(host) || isLoopbackHost(host) ? { transportHost: true } : null; +}; + +const isValidPort = (port: number): boolean => Number.isInteger(port) && port >= 1 && port <= 65535; + +const transportPortValidator = (control: AbstractControl): ValidationErrors | null => + control.value === null || control.value === '' || isValidPort(Number(control.value)) ? null : { transportPort: true }; @Component({ selector: 'tb-device-install-dialog', @@ -108,15 +227,20 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; + private formTemplateSubscriptions: Subscription[] = []; entityOutputs = new Map(); transportVars: Record = {}; // Routing key pre-allocated for the in-flight INTEGRATION step so ${routingKey} // placeholders (e.g. inside clientConfiguration.httpEndpoint emitted by the // export pipeline) substitute to the value we'll save. private pendingRoutingKey: string | undefined; + // protocol → where the server took its host from + private transportHostSources: Partial> = {}; // form-field key → declared type. Used by resolveTemplateJson() to emit BOOLEAN/INTEGER // placeholders as raw JSON values instead of quoted strings. private fieldTypes = new Map(); + // Transport whose ${.host} the transport host field overrides + private hostFieldProtocol: DeviceConnectivityProtocol | null = null; gatewayDockerComposeContent: string | null = null; resolveMarkdownVariable: (key: string) => string | undefined = this._resolveMarkdownVariable.bind(this); @@ -175,10 +299,11 @@ export class TbDeviceInstallDialogComponent extends DialogComponent subscription.unsubscribe()); + this.wizardSteps?.forEach(ws => clearTimeout(ws.connectionCheck?.resultTimer)); for (const url of this.zipImages.values()) { URL.revokeObjectURL(url); } @@ -299,7 +428,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { const step = this.currentWizardStep; if (!step) { return; @@ -308,6 +437,14 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.checkConnection); + } + + /** The result of the last check, while the form still has the values it checked. */ + connectionCheckResult(ws: WizardStep): ConnectionCheck['status'] | undefined { + const check = this.connectionCheckOf(ws); + if (!check || check.status === 'idle') { + return undefined; + } + if (check.status === 'checking' || check.checkedValues === this.checkedValuesOf(ws, check)) { + return check.status; + } + return undefined; + } + + async checkConnection(ws: WizardStep): Promise { + const check = this.connectionCheckOf(ws); + if (!check) { + return true; + } + if (ws.formGroup.invalid) { + ws.formGroup.markAllAsTouched(); + return false; + } + this.cleanFormStep(ws); + const values = ws.formGroup.getRawValue(); + check.status = 'checking'; + this.cdr.detectChanges(); + const committedValues = this.formValues; + let body: any; + try { + // The integration is built the way Provisioning builds it, from the values not committed yet + this.formValues = { ...committedValues, ...values }; + body = this.resolveTemplateJson(this.zipFiles.get(check.template)); + } finally { + this.formValues = committedValues; + } + // The check requires a routing key; Provisioning adds one the same way + if (!body.routingKey) body.routingKey = this.generateUuid(); + if (!body.configuration) body.configuration = {}; + if (body.configuration.metadata == null) body.configuration.metadata = {}; + try { + await firstValueFrom(this.integrationService.checkIntegrationConnection(body, { ignoreErrors: true })); + check.status = 'success'; + } catch { + check.status = 'error'; + } + check.checkedValues = this.checkedValuesOf(ws, check); + check.resultVisible = true; + clearTimeout(check.resultTimer); + check.resultTimer = setTimeout(() => { + check.resultVisible = false; + this.cdr.detectChanges(); + }, CONNECTION_CHECK_RESULT_MS); + this.cdr.detectChanges(); + return check.status === 'success'; + } + + /** What shows next to the button: the spinner while checking, then the result for a few seconds. */ + connectionCheckMessage(ws: WizardStep): ConnectionCheck['status'] | undefined { + const check = this.connectionCheckOf(ws); + if (check?.status === 'checking') { + return 'checking'; + } + return check?.resultVisible && check.checkedValues === this.checkedValuesOf(ws, check) ? check.status : undefined; + } + + /** True when the last check of the current values failed, so Next continues anyway. */ + get continueAnyway(): boolean { + const step = this.currentWizardStep; + return !!step && this.connectionCheckResult(step) === 'error'; + } + + /** + * The values of the connection fields: the ones the integration template puts into its configuration + * (host, port, credentials), not e.g. its name. Other fields don't reset the check result. + */ + private checkedValuesOf(ws: WizardStep, check: ConnectionCheck): string { + const content = this.zipFiles.get(check.template) ?? ''; + const configurationStart = content.indexOf('"configuration"'); + const template = configurationStart >= 0 ? content.substring(configurationStart) : content; + const values = this.cleanedFormValues(ws); + const used = ws.formFields + .filter(field => template.includes(`\${${field.key}}`)) + .map(field => [field.key, values[field.key]]); + return JSON.stringify(used); + } + + private findIntegrationTemplate(ws: WizardStep): string | undefined { + for (const step of this.wizardSteps.flatMap(w => w.rawSteps)) { + if (step.type !== InstallStepType.INTEGRATION || !step.template) { + continue; + } + const content = this.zipFiles.get(step.template) ?? ''; + if (ws.formFields.some(field => content.includes(`\${${field.key}}`))) { + return step.template; + } + } + return undefined; + } + onStepSelectionChange(event: StepperSelectionEvent): void { if (event.selectedIndex <= event.previouslySelectedIndex) { return; } // Forward moves can come from the stepper header, which bypasses nextStep(), // so commit every step being passed over here. + let formValuesChanged = false; for (let i = event.previouslySelectedIndex; i < event.selectedIndex; i++) { const ws = this.wizardSteps[i]; if (ws.type === 'form') { + // Keep the bare host, so the stored state and the form after Back show what the device gets + const hostControl = ws.formGroup.get(TRANSPORT_HOST_FIELD_KEY); + if (hostControl?.enabled && hostControl.value) { + hostControl.setValue(toBareHost(hostControl.value), { emitEvent: false }); + } + this.cleanFormStep(ws); Object.assign(this.formValues, ws.formGroup.getRawValue()); + formValuesChanged = true; } ws.completed = true; } + if (formValuesChanged) { + // Instruction steps stay rendered, and their markdown only changes when the resolver does: + // after Back and a corrected value, they would otherwise keep showing the old one. + this.resolveMarkdownVariable = this._resolveMarkdownVariable.bind(this); + } this.onStepActivated(this.wizardSteps[event.selectedIndex]); } @@ -498,6 +762,18 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.type === 'GATEWAY'); if (gatewayStep?.dockerCompose) { const raw = this.zipFiles.get(gatewayStep.dockerCompose); @@ -665,6 +943,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent.host} and ${.port} into sketches and templates. Show them + * in the last form before the host is first used. When the system administrator set the host in + * Device connectivity, they are read-only. Otherwise the user can correct them — and must, when + * the host resolved to localhost, which on the device is the device itself. + */ + private addTransportFields(fromIndex: number): void { + this.hostFieldProtocol = null; + const transport = HOST_FIELD_TRANSPORTS.get(this.selectedInstallMethod); + const protocol = transport?.protocol; + const resolvedHost = protocol ? this.transportVars[`${protocol}.host`] : undefined; + if (resolvedHost === undefined) { + return; + } + const steps = this.wizardSteps.slice(fromIndex); + const firstUse = steps.findIndex(ws => this.usesVariable(ws, `${protocol}.host`)); + if (firstUse < 0) { + return; + } + const loopback = !resolvedHost || isLoopbackHost(resolvedHost); + const hostSource = this.transportHostSources[protocol]; + const readOnly = hostSource === 'DEVICE_CONNECTIVITY' && !loopback; + let formStep = steps.slice(0, firstUse).reverse().find(ws => ws.type === 'form'); + if (!formStep) { + formStep = { + type: 'form', + label: this.translate.instant('iot-hub.device-install-transport-host-step'), + stateKey: TRANSPORT_STEP_STATE_KEY, + rawSteps: [], + completed: this.reviewMode + }; + this.wizardSteps.splice(fromIndex + firstUse, 0, formStep); + } + let hostHint: string; + if (readOnly) { + hostHint = transport.configuredHint; + } else if (this.reviewMode) { + hostHint = transport.reviewHostHint; + } else if (loopback) { + hostHint = (hostSource && transport.loopbackHints[hostSource]) || transport.loopbackHint; + } else { + hostHint = (hostSource && transport.hostHints[hostSource]) || transport.hostHints.REQUEST; + } + const helpPopupId = readOnly ? undefined : transport.helpPopupId; + const group = this.translate.instant('iot-hub.device-install-thingsboard-connection'); + formStep.extraFormFields = [{ + key: TRANSPORT_HOST_FIELD_KEY, + label: this.translate.instant(transport.hostLabel), + type: FormFieldType.STRING, + defaultValue: loopback ? '' : resolvedHost, + required: true, + readOnly, + helpText: this.translate.instant(hostHint, { host: resolvedHost }), + // Shown on the transportHost error of transportHostValidator + errorMessage: this.translate.instant(transport.hostError), + helpPopupId, + helpPopupText: helpPopupId ? this.translate.instant(transport.helpPopupText) : undefined, + group, + row: TRANSPORT_HOST_FIELD_KEY + }]; + if (steps.some(ws => this.usesVariable(ws, `${protocol}.port`))) { + const resolvedPort = Number(this.transportVars[`${protocol}.port`]); + formStep.extraFormFields.push({ + key: TRANSPORT_PORT_FIELD_KEY, + label: this.translate.instant(transport.portLabel), + type: FormFieldType.INTEGER, + defaultValue: isValidPort(resolvedPort) ? resolvedPort : '', + required: true, + readOnly, + // Shown on the transportPort error of transportPortValidator + errorMessage: this.translate.instant(transport.portError), + group, + row: TRANSPORT_HOST_FIELD_KEY, + width: 200 + }); + } + this.hostFieldProtocol = protocol; + } + + private usesVariable(ws: WizardStep, key: string): boolean { + const placeholder = `\${${key}}`; + return ws.rawSteps.some(step => + [step.file, step.template, step.serverAttributes, step.sharedAttributes, step.credentials, step.dockerCompose] + .some(file => file && this.zipFiles.get(file)?.includes(placeholder))); + } + private initFormStep(ws: WizardStep): void { - const formJson = this.zipFiles.get(ws.rawSteps[0].file) || '[]'; - ws.formFields = JSON.parse(formJson) as FormFieldDefinition[]; + const formJson = (ws.rawSteps[0] && this.zipFiles.get(ws.rawSteps[0].file)) || '[]'; + // These are for the fields the dialog adds; a package can't set them + const packageFields = (JSON.parse(formJson) as FormFieldDefinition[]) + .map(({ helpPopupId, helpPopupText, errorMessage, ...field }) => field); + ws.formFields = [...packageFields, ...(ws.extraFormFields ?? [])]; const controls: Record = {}; // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.label]?.formValues; + const storedValues = this.reviewMode && this.data.installState?.[ws.stateKey ?? ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -723,16 +1092,78 @@ export class TbDeviceInstallDialogComponent extends DialogComponent 0) { - validators.push(Validators.pattern(field.validators[0].pattern)); + const pattern = Validators.pattern(field.validators[0].pattern); + validators.push((control: AbstractControl) => + pattern({ value: cleanFormFieldValue(field, control.value) } as AbstractControl)); + } + if (field.key === TRANSPORT_HOST_FIELD_KEY) { + validators.push(transportHostValidator); + } else if (field.key === TRANSPORT_PORT_FIELD_KEY) { + validators.push(transportPortValidator); } const initialValue = this.resolveInitialFieldValue(field, storedValues?.[field.key]); - controls[field.key] = new UntypedFormControl(initialValue, validators); + controls[field.key] = new UntypedFormControl({ value: initialValue, disabled: !!field.readOnly }, validators); } ws.formGroup = new UntypedFormGroup(controls); if (this.reviewMode) { ws.formGroup.disable(); ws.completed = true; + } else { + this.applyDefaultValueTemplates(ws, storedValues); + } + } + + /** + * Keeps each field with a defaultValueTemplate filled from the other fields until the user edits it. + * A template with an empty field gives an empty value, so the placeholder shows instead. + */ + private applyDefaultValueTemplates(ws: WizardStep, storedValues: Record | undefined): void { + const templated = ws.formFields.filter(field => field.defaultValueTemplate && storedValues?.[field.key] === undefined); + if (!templated.length) { + return; + } + const update = () => { + for (const field of templated) { + const control = ws.formGroup.controls[field.key]; + if (!control.dirty) { + control.setValue(this.renderFormTemplate(field.defaultValueTemplate, this.cleanedFormValues(ws)), { emitEvent: false }); + } + } + }; + update(); + this.formTemplateSubscriptions.push(ws.formGroup.valueChanges.subscribe(update)); + } + + /** Applies each field's cleanupPattern to its control, so the stored values are the cleaned ones. */ + private cleanFormStep(ws: WizardStep): void { + for (const field of ws.formFields) { + const control = ws.formGroup.controls[field.key]; + const cleaned = cleanFormFieldValue(field, control?.value); + if (control?.enabled && cleaned !== control.value) { + control.setValue(cleaned, { emitEvent: false }); + } + } + } + + private cleanedFormValues(ws: WizardStep): Record { + const values = ws.formGroup.getRawValue(); + for (const field of ws.formFields) { + values[field.key] = cleanFormFieldValue(field, values[field.key]); } + return values; + } + + private renderFormTemplate(template: string, values: Record): string { + let missing = false; + const result = template.replace(/\$\{([^}]+)}/g, (_, key: string) => { + const value = values[key]; + if (value === undefined || value === null || value === '') { + missing = true; + return ''; + } + return String(value); + }); + return missing ? '' : result; } private resolveInitialFieldValue(field: FormFieldDefinition, storedValue: any): any { @@ -1252,7 +1683,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; for (const ws of this.wizardSteps) { if (ws.type === 'form' && ws.formGroup) { - state[ws.label] = { formValues: ws.formGroup.getRawValue() }; + state[ws.stateKey ?? ws.label] = { formValues: ws.formGroup.getRawValue() }; } else if (ws.type === 'progress' && ws.entitySteps) { for (const ep of ws.entitySteps) { if (ep.status === 'success' && ep.entityOutput) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html index cdd06ae7b2..b7d1b7a978 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html @@ -7,19 +7,78 @@ --> @if (formGroup) {
- @for (field of fields; track field.key; let i = $index) { + + @if (advancedSections.length) { +
+ + + {{ 'iot-hub.advanced-settings' | translate }} + +
+ +
+
+
+ } + + + @for (section of sections; track $index) { + @if (section.title) { +
+

{{ section.title }}

+ +
+ } @else { + + } + } +
- @if (shouldRenderGroupHeader(field, i)) { -

{{ field.group }}

+ + @for (row of rows; track row.fields[0].key) { +
+ @if (row.fields.length > 1) { +
+ @for (field of row.fields; track field.key) { +
+ +
+ } +
+ } @else { + + } + + @for (field of row.fields; track field.key) { + @if (hasHintBox(field)) { +
+
{{ helpTextOf(field) }}
+
+
+ } + } + @if (checkConnectionTemplate && hasCheckConnectionField(row.fields)) { + + } +
} +
+ @if (isSecretWidget(field)) { } @else { @@ -29,15 +88,16 @@ {{ field.label }} } @case (FormFieldType.SELECT) { - + {{ field.label }} @for (opt of field.options; track opt.value) { {{ opt.label }} } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -45,16 +105,19 @@ } @case (FormFieldType.STRING_AUTOCOMPLETE) { - + {{ field.label }} - + @for (opt of field.options; track opt.value) { {{ opt.label }} } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -62,13 +125,19 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } @case (FormFieldType.PASSWORD) { - + {{ field.label }} + [formControlName]="field.key" [placeholder]="field.placeholder ?? ''" + [errorStateMatcher]="errorStateMatcher" (focus)="onFocus(field)" (blur)="onBlur(field)" + autocomplete="new-password" data-lpignore="true" data-1p-ignore data-bwignore> } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -90,14 +159,20 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } @case (FormFieldType.INTEGER) { - + {{ field.label }} - - @if (field.helpText) { - {{ field.helpText }} + + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -105,12 +180,18 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } @default { - + {{ field.label }} - + @if (field.randomGenerator) { } - @if (field.helpText) { - {{ field.helpText }} + @if (helpTextOf(field) && !hasHintBox(field)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -128,17 +209,20 @@ @if (formGroup.controls[field.key]?.hasError('pattern')) { {{ getPatternErrorMessage(field) }} } + @if (field.errorMessage && hasFieldError(field)) { + {{ field.errorMessage }} + } } } } - @if (field.type === FormFieldType.BOOLEAN && field.helpText) { -
{{ field.helpText }}
+ @if (field.type === FormFieldType.BOOLEAN && helpTextOf(field)) { +
{{ helpTextOf(field) }}
} @if (field.helpImage) { } - } +
} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index 960c886f7b..9acd239c18 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -5,13 +5,6 @@ display: block; } -.tb-install-form-group-header { - margin: 16px 0 8px 0; - font-size: 14px; - font-weight: 600; - color: rgba(0, 0, 0, 0.6); -} - .tb-install-form-secret-toggle { margin-left: 4px; align-self: center; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 4e4c813ae7..fedef617df 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -1,13 +1,25 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 -import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; -import { UntypedFormGroup } from '@angular/forms'; -import { FormFieldDefinition, FormFieldType } from '@shared/models/iot-hub/device-package.models'; +import { Component, Input, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; +import { AbstractControl, UntypedFormGroup } from '@angular/forms'; +import { ErrorStateMatcher } from '@angular/material/core'; +import { cleanFormFieldValue, FormFieldDefinition, FormFieldType } from '@shared/models/iot-hub/device-package.models'; import { generateSecret } from '@core/utils'; const DEFAULT_RANDOM_SIZE = 20; +/** Fields shown on one line. */ +interface FormRow { + fields: FormFieldDefinition[]; +} + +/** Consecutive rows of one group, shown in a panel with the group as its title; no title for ungrouped fields. */ +interface FormSection { + title?: string; + rows: FormRow[]; +} + /** * Reusable form renderer for the device install dialog's SHOW_FORM step. Consumes * the FormFieldDefinition[] parsed from the package's form.json directly — both @@ -32,10 +44,49 @@ export class InstallFormRendererComponent implements OnChanges { @Input() resolveImagePath?: (path: string) => string; /** When true, PASSWORD inputs render unmasked by default (used by review mode). */ @Input() reviewMode = false; + /** Rendered under the field marked with checkConnection; the dialog supplies it. */ + @Input() checkConnectionTemplate?: TemplateRef | null; passwordVisible: Record = {}; + // Fields in render order: consecutive fields of a group form a section, and consecutive fields + // with the same `row` share one line + sections: FormSection[] = []; + // The same for the fields of the collapsed Advanced settings panel + advancedSections: FormSection[] = []; + private rowOf = new Map(); + private focusedControl: AbstractControl | null = null; + private keepFocusedError = false; + + /** + * A new error shows only after the user leaves the field, so a value is not called wrong while it + * is typed. An error already shown when the user enters the field stays until the value is valid. + */ + readonly errorStateMatcher: ErrorStateMatcher = { + isErrorState: (control, form) => { + if (control && control === this.focusedControl) { + this.keepFocusedError = this.keepFocusedError && control.invalid; + return this.keepFocusedError; + } + return !!control?.invalid && (control.touched || !!form?.submitted); + } + }; + + readonly FormFieldType = FormFieldType; + + /** Render this field via the Secret picker widget (tb-secret-key-input). The picker + * itself accepts both plaintext and Secret references, so secretSupport=true means + * "this field MAY hold a Secret reference and the picker UI should be shown". */ + isSecretWidget(field: FormFieldDefinition): boolean { + return field.secretSupport === true; + } ngOnChanges(changes: SimpleChanges): void { + if (changes.fields) { + this.rowOf.clear(); + const fields = this.fields ?? []; + this.sections = this.buildSections(fields.filter(field => field.section !== 'advanced')); + this.advancedSections = this.buildSections(fields.filter(field => field.section === 'advanced')); + } if (changes.fields || changes.reviewMode) { this.passwordVisible = {}; if (this.reviewMode) { @@ -48,20 +99,33 @@ export class InstallFormRendererComponent implements OnChanges { } } - readonly FormFieldType = FormFieldType; + private buildSections(fields: FormFieldDefinition[]): FormSection[] { + const sections: FormSection[] = []; + let previous: FormFieldDefinition | undefined; + for (const field of fields) { + if (!previous || field.group !== previous.group) { + sections.push({ title: field.group, rows: [] }); + } + const rows = sections[sections.length - 1].rows; + const last = rows[rows.length - 1]; + if (field.row && last?.fields[0].row === field.row) { + last.fields.push(field); + } else { + rows.push({ fields: [field] }); + } + this.rowOf.set(field.key, rows[rows.length - 1]); + previous = field; + } + return sections; + } - /** Render this field via the Secret picker widget (tb-secret-key-input). The picker - * itself accepts both plaintext and Secret references, so secretSupport=true means - * "this field MAY hold a Secret reference and the picker UI should be shown". */ - isSecretWidget(field: FormFieldDefinition): boolean { - return field.secretSupport === true; + hasCheckConnectionField(fields: FormFieldDefinition[]): boolean { + return fields.some(field => field.checkConnection); } - /** True when the previous field belonged to a different group (for header rendering). */ - shouldRenderGroupHeader(field: FormFieldDefinition, index: number): boolean { - if (!field.group) return false; - if (index === 0) return true; - return this.fields[index - 1].group !== field.group; + /** The hint of a field that a defaultValueTemplate fills describes the filled value. */ + helpTextOf(field: FormFieldDefinition): string | undefined { + return field.defaultValueTemplate && field.defaultValueTemplateHelpText ? field.defaultValueTemplateHelpText : field.helpText; } togglePasswordVisible(key: string): void { @@ -75,10 +139,44 @@ export class InstallFormRendererComponent implements OnChanges { control.markAsDirty(); } + onFocus(field: FormFieldDefinition): void { + const control = this.formGroup.controls[field.key]; + this.focusedControl = control ?? null; + this.keepFocusedError = !!control?.invalid && control.touched; + } + + onBlur(field: FormFieldDefinition): void { + this.focusedControl = null; + const control = this.formGroup.controls[field.key]; + const cleaned = cleanFormFieldValue(field, control?.value); + if (control && cleaned !== control.value) { + control.setValue(cleaned); + } + } + getPatternErrorMessage(field: FormFieldDefinition): string { return field.validators?.[0]?.message || 'Invalid format'; } + /** Fields with a help popup show their hint in a box under the row, with the popup trigger. */ + hasHintBox(field: FormFieldDefinition): boolean { + return !!field.helpPopupId && !this.reviewMode; + } + + /** + * True for the fields of a row that has a hint box. They don't reserve space for a hint or an + * error, so the box sits right under them. + */ + isInHintBoxRow(field: FormFieldDefinition): boolean { + return !!this.rowOf.get(field.key)?.fields.some(f => this.hasHintBox(f)); + } + + /** True when the field fails a validator other than required and pattern (one the dialog added). */ + hasFieldError(field: FormFieldDefinition): boolean { + const errors = this.formGroup.controls[field.key]?.errors; + return !!errors && Object.keys(errors).some(key => key !== 'required' && key !== 'pattern'); + } + imagePath(path: string): string { return this.resolveImagePath ? this.resolveImagePath(path) : path; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index a3ad857308..b04932040d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -4,12 +4,13 @@ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { Observable, of, EMPTY } from 'rxjs'; -import { map, switchMap } from 'rxjs/operators'; +import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { ItemType } from '@shared/models/iot-hub/iot-hub-item.models'; -import { DeviceInstalledItemDescriptor, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { DeviceInstalledItemDescriptor, IotHubInstalledItem, IotHubInstalledItemKeptEntities } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { EntityId } from '@shared/models/id/entity-id'; import { TbIotHubAddItemDialogComponent, IotHubAddItemDialogData, IotHubAddItemDialogResult } from './iot-hub-add-item-dialog.component'; import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData, IotHubItemDetailDialogMode } from './iot-hub-item-detail-dialog.component'; @@ -35,7 +36,8 @@ export class IotHubActionsService { private dialog: MatDialog, private dialogService: DialogService, private translate: TranslateService, - private builtInService: IotHubBuiltInService + private builtInService: IotHubBuiltInService, + private iotHubApiService: IotHubApiService ) {} openItemDetail(item: MpItemVersionView, installedItem?: IotHubInstalledItem, installedItemsCount?: number, @@ -166,12 +168,18 @@ export class IotHubActionsService { if (!installedItem) { return of(false); } - return this.dialog.open(TbIotHubDeleteDialogComponent, { - panelClass: ['tb-dialog'], - disableClose: true, - autoFocus: false, - data: { installedItemId: installedItem.id.id, itemName: installedItem.itemName, itemType: installedItem.itemType } - }).afterClosed(); + // A device package keeps what other installed packages use: the dialog opens with that already known + const keptEntities$: Observable = installedItem.itemType === 'DEVICE' ? + this.iotHubApiService.getInstalledItemKeptEntities(installedItem.id.id, {ignoreErrors: true}).pipe(catchError(() => of(null))) : + of(null); + return keptEntities$.pipe( + switchMap(keptEntities => this.dialog.open(TbIotHubDeleteDialogComponent, { + panelClass: ['tb-dialog'], + disableClose: true, + autoFocus: false, + data: { installedItemId: installedItem.id.id, itemName: installedItem.itemName, itemType: installedItem.itemType, keptEntities } + }).afterClosed()) + ); } // Reached only for items whose action mode is 'connect', i.e. never for built-in content: diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html index 3270cfd641..60eb673a23 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html @@ -1,12 +1,13 @@

{{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}

-

{{ (data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc') | translate }}

+

{{ description }}

diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss index 86ad80c197..63fa684164 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss @@ -1,5 +1,11 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +:host { + display: block; + max-width: 600px; +} + .tb-iot-hub-delete-title { font-size: 20px; font-weight: 600; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts index 4447dc8a23..56a9c82543 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts @@ -1,18 +1,21 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Router } from '@angular/router'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { DialogComponent } from '@shared/components/dialog.component'; -import { IotHubInstalledItem } from 'src/app/shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubInstalledItemKeptEntities } from 'src/app/shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { TranslateService } from '@ngx-translate/core'; export interface IotHubDeleteDialogData { installedItemId: string; itemName: string; itemType?: string; + keptEntities?: IotHubInstalledItemKeptEntities | null; } @Component({ @@ -23,14 +26,19 @@ export interface IotHubDeleteDialogData { }) export class TbIotHubDeleteDialogComponent extends DialogComponent { + description: string; + constructor( protected store: Store, protected router: Router, protected dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: IotHubDeleteDialogData, - private iotHubApiService: IotHubApiService + private iotHubApiService: IotHubApiService, + private translate: TranslateService ) { super(store, router, dialogRef); + this.description = data.keptEntities?.entities.length ? this.describeKeptEntities(data.keptEntities) : + this.translate.instant(data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc'); } confirm(): void { @@ -44,4 +52,17 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent { + const key = `iot-hub.remove-kept-entity.${entity.entityId.entityType}`; + const named = this.translate.instant(key, { name: entity.name }); + return named === key ? `'${entity.name}'` : named; + }); + const entities = names.length === 1 ? names[0] : + this.translate.instant('iot-hub.remove-kept-entities', { first: names.slice(0, -1).join(', '), last: names[names.length - 1] }); + return this.translate.instant('iot-hub.remove-desc-kept', + { entities, count: kept.usedByItemsCount, kept: kept.entities.length }); + } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index f4885183cd..ab41384640 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -1,7 +1,8 @@
@@ -88,9 +89,12 @@ info_outline } - + + + + @@ -107,9 +111,9 @@ {{ (item.itemType === 'DEVICE' ? 'iot-hub.review-device-instructions' : 'iot-hub.view-item-details') | translate }} } -
} @else { - + } @for (field of row.fields; track field.key) { - @if (hasHintBox(field)) { + @if (row.hasHintBox && field.helpPopupId) {
{{ helpTextOf(field) }}
- + @if (isSecretWidget(field)) { {{ field.label }} } @case (FormFieldType.SELECT) { - {{ field.label }} @@ -96,7 +96,7 @@ {{ opt.label }} } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -105,7 +105,7 @@ } @case (FormFieldType.STRING_AUTOCOMPLETE) { - {{ field.label }} {{ opt.label }} } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -131,7 +131,7 @@ } @case (FormFieldType.PASSWORD) { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -165,13 +165,13 @@ } @case (FormFieldType.INTEGER) { - {{ field.label }} - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { @@ -186,7 +186,7 @@ } @default { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !hasHintBox(field)) { + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index fedef617df..e1c525c770 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -9,9 +9,14 @@ import { generateSecret } from '@core/utils'; const DEFAULT_RANDOM_SIZE = 20; -/** Fields shown on one line. */ +/** + * Fields shown on one line. When one of them has a help popup (outside review mode), the row shows + * the field's hint in a box under it, next to the popup trigger, and its fields don't reserve space + * for a hint or an error, so the box sits right under them. + */ interface FormRow { fields: FormFieldDefinition[]; + hasHintBox: boolean; } /** Consecutive rows of one group, shown in a panel with the group as its title; no title for ungrouped fields. */ @@ -53,7 +58,6 @@ export class InstallFormRendererComponent implements OnChanges { sections: FormSection[] = []; // The same for the fields of the collapsed Advanced settings panel advancedSections: FormSection[] = []; - private rowOf = new Map(); private focusedControl: AbstractControl | null = null; private keepFocusedError = false; @@ -81,8 +85,8 @@ export class InstallFormRendererComponent implements OnChanges { } ngOnChanges(changes: SimpleChanges): void { - if (changes.fields) { - this.rowOf.clear(); + // The hint boxes depend on reviewMode too + if (changes.fields || changes.reviewMode) { const fields = this.fields ?? []; this.sections = this.buildSections(fields.filter(field => field.section !== 'advanced')); this.advancedSections = this.buildSections(fields.filter(field => field.section === 'advanced')); @@ -108,12 +112,13 @@ export class InstallFormRendererComponent implements OnChanges { } const rows = sections[sections.length - 1].rows; const last = rows[rows.length - 1]; + const hasHintBox = !!field.helpPopupId && !this.reviewMode; if (field.row && last?.fields[0].row === field.row) { last.fields.push(field); + last.hasHintBox ||= hasHintBox; } else { - rows.push({ fields: [field] }); + rows.push({ fields: [field], hasHintBox }); } - this.rowOf.set(field.key, rows[rows.length - 1]); previous = field; } return sections; @@ -158,19 +163,6 @@ export class InstallFormRendererComponent implements OnChanges { return field.validators?.[0]?.message || 'Invalid format'; } - /** Fields with a help popup show their hint in a box under the row, with the popup trigger. */ - hasHintBox(field: FormFieldDefinition): boolean { - return !!field.helpPopupId && !this.reviewMode; - } - - /** - * True for the fields of a row that has a hint box. They don't reserve space for a hint or an - * error, so the box sits right under them. - */ - isInHintBoxRow(field: FormFieldDefinition): boolean { - return !!this.rowOf.get(field.key)?.fields.some(f => this.hasHintBox(f)); - } - /** True when the field fails a validator other than required and pattern (one the dialog added). */ hasFieldError(field: FormFieldDefinition): boolean { const errors = this.formGroup.controls[field.key]?.errors; diff --git a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts index d45e5d1964..a717d97a0d 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts @@ -279,7 +279,7 @@ export interface FormFieldDefinition { // (tb-secret-key-input); false / undefined → render the typed widget. secretSupport?: boolean; secretType?: SecretType; - // Fields with the same group get one header above the first of them + // Consecutive fields with the same group are shown in one panel titled with the group group?: string; readOnly?: boolean; // Shown inside the empty field; the label then always stays above it From e662441d252adf11127c4c663634870049392483 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 26 Oct 2026 12:50:26 +0200 Subject: [PATCH 032/275] refactor(iot-hub): build the form rows and the unmasked passwords in one ngOnChanges block (cherry picked from commit ce741cf2deee263628c33cecad84dd669a4d6709) --- .../install-form-renderer.component.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index e1c525c770..e1c73ecafa 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -85,18 +85,16 @@ export class InstallFormRendererComponent implements OnChanges { } ngOnChanges(changes: SimpleChanges): void { - // The hint boxes depend on reviewMode too + // The hint boxes and the unmasked passwords depend on reviewMode too if (changes.fields || changes.reviewMode) { const fields = this.fields ?? []; this.sections = this.buildSections(fields.filter(field => field.section !== 'advanced')); this.advancedSections = this.buildSections(fields.filter(field => field.section === 'advanced')); - } - if (changes.fields || changes.reviewMode) { this.passwordVisible = {}; if (this.reviewMode) { - for (const f of this.fields) { - if (f.type === FormFieldType.PASSWORD) { - this.passwordVisible[f.key] = true; + for (const field of fields) { + if (field.type === FormFieldType.PASSWORD) { + this.passwordVisible[field.key] = true; } } } From db90d151e9cd22fc5a794a708195704b29b13fe8 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 15:19:55 +0100 Subject: [PATCH 033/275] Check entity group and owner tenant in edge msgs processing --- .../edge/rpc/processor/BaseEdgeProcessor.java | 12 ++- .../processor/asset/AssetEdgeProcessor.java | 2 +- .../dashboard/DashboardEdgeProcessor.java | 2 +- .../processor/device/DeviceEdgeProcessor.java | 2 +- .../entityview/EntityViewEdgeProcessor.java | 2 +- .../rpc/processor/user/UserEdgeProcessor.java | 2 +- .../rpc/sync/DefaultEdgeRequestsService.java | 5 ++ .../server/edge/DeviceEdgeTest.java | 18 +++++ .../server/edge/EntityGroupEdgeTest.java | 79 +++++++++++++++++++ 9 files changed, 118 insertions(+), 6 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java index 764fd14830..e3207f422d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/BaseEdgeProcessor.java @@ -503,6 +503,9 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { protected void changeOwnerIfRequired(TenantId tenantId, CustomerId customerId, EntityId entityId) throws ThingsboardException { EntityId newOwnerId = getOwnerId(tenantId, customerId); + if (!isEntityExists(tenantId, newOwnerId)) { + throw new DataValidationException("Owner " + newOwnerId + " belongs to a different tenant!"); + } EntityId currentOwnerId; switch (entityId.getEntityType()) { case DEVICE -> { @@ -564,12 +567,19 @@ public abstract class BaseEdgeProcessor implements EdgeProcessor { protected void safeAddEntityToGroup(TenantId tenantId, EntityGroupId entityGroupId, EntityId entityId) { if (entityGroupId != null && !ModelConstants.NULL_UUID.equals(entityGroupId.getId())) { EntityGroup entityGroup = edgeCtx.getEntityGroupService().findEntityGroupById(tenantId, entityGroupId); - if (entityGroup != null) { + if (entityGroup != null && isEntityExists(tenantId, entityGroup.getOwnerId())) { edgeCtx.getEntityGroupService().addEntityToEntityGroup(tenantId, entityGroupId, entityId); } } } + protected void safeRemoveEntityFromGroup(TenantId tenantId, EntityGroupId entityGroupId, EntityId entityId) { + EntityGroup entityGroup = edgeCtx.getEntityGroupService().findEntityGroupById(tenantId, entityGroupId); + if (entityGroup != null && isEntityExists(tenantId, entityGroup.getOwnerId())) { + edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, entityId); + } + } + protected boolean isSaveRequired(HasVersion current, HasVersion updated) { if (current != null) { current.setVersion(null); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java index c39a57e635..c72acdec48 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/asset/AssetEdgeProcessor.java @@ -55,7 +55,7 @@ public class AssetEdgeProcessor extends BaseAssetProcessor implements AssetProce if (assetUpdateMsg.hasEntityGroupIdMSB() && assetUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(assetUpdateMsg.getEntityGroupIdMSB(), assetUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, assetId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, assetId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteAsset(tenantId, edge, assetId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java index 64960cde69..a8b66aebab 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/dashboard/DashboardEdgeProcessor.java @@ -51,7 +51,7 @@ public class DashboardEdgeProcessor extends BaseDashboardProcessor implements Da if (dashboardUpdateMsg.hasEntityGroupIdMSB() && dashboardUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(dashboardUpdateMsg.getEntityGroupIdMSB(), dashboardUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, dashboardId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, dashboardId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteDashboard(tenantId, edge, dashboardId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 19cf68bcf2..eb14b48895 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -76,7 +76,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr if (deviceUpdateMsg.hasEntityGroupIdMSB() && deviceUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(deviceUpdateMsg.getEntityGroupIdMSB(), deviceUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, deviceId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, deviceId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteDevice(tenantId, edge, deviceId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java index ee3aafb725..a40416ad9b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/entityview/EntityViewEdgeProcessor.java @@ -54,7 +54,7 @@ public class EntityViewEdgeProcessor extends BaseEntityViewProcessor implements if (entityViewUpdateMsg.hasEntityGroupIdMSB() && entityViewUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(entityViewUpdateMsg.getEntityGroupIdMSB(), entityViewUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, entityViewId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, entityViewId); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteEntityView(tenantId, edge, entityViewId); } else { diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index 731a70c63f..8c06c38f70 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -63,7 +63,7 @@ public class UserEdgeProcessor extends BaseUserProcessor implements UserProcesso if (userUpdateMsg.hasEntityGroupIdMSB() && userUpdateMsg.hasEntityGroupIdLSB()) { EntityGroupId entityGroupId = new EntityGroupId( new UUID(userUpdateMsg.getEntityGroupIdMSB(), userUpdateMsg.getEntityGroupIdLSB())); - edgeCtx.getEntityGroupService().removeEntityFromEntityGroup(tenantId, entityGroupId, userId); + safeRemoveEntityFromGroup(tenantId, entityGroupId, userId); yield Futures.immediateFuture(null); } else if (EdgeVersionComparator.INSTANCE.compare(edgeVersion, EdgeVersion.V_4_3_0) >= 0) { deleteUserAndPushEntityDeletedEventToRuleEngine(tenantId, userId, edge); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java index a0515446b9..1a3d5aa9cb 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/sync/DefaultEdgeRequestsService.java @@ -39,6 +39,7 @@ import org.thingsboard.server.common.data.edge.Edge; import org.thingsboard.server.common.data.edge.EdgeEvent; import org.thingsboard.server.common.data.edge.EdgeEventActionType; import org.thingsboard.server.common.data.edge.EdgeEventType; +import org.thingsboard.server.common.data.group.EntityGroup; import org.thingsboard.server.common.data.id.AssetId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; @@ -561,6 +562,10 @@ public class DefaultEdgeRequestsService implements EdgeRequestsService { log.trace("[{}] processEntityGroupEntitiesRequest [{}][{}]", tenantId, edge.getName(), entityGroupEntitiesRequestMsg); if (entityGroupEntitiesRequestMsg.getEntityGroupIdMSB() != 0 && entityGroupEntitiesRequestMsg.getEntityGroupIdLSB() != 0) { EntityGroupId entityGroupId = new EntityGroupId(new UUID(entityGroupEntitiesRequestMsg.getEntityGroupIdMSB(), entityGroupEntitiesRequestMsg.getEntityGroupIdLSB())); + EntityGroup entityGroup = entityGroupService.findEntityGroupById(tenantId, entityGroupId); + if (entityGroup == null || !isTenantEntity(tenantId, entityGroup.getOwnerId())) { + return Futures.immediateFuture(null); + } ListenableFuture> entityIdsFuture; try { // TODO: refactor this to pagination diff --git a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java index f09f35a47d..55b116a125 100644 --- a/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/DeviceEdgeTest.java @@ -20,6 +20,7 @@ import org.springframework.test.context.DynamicPropertySource; import org.springframework.test.context.TestPropertySource; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.adaptor.JsonConverter; +import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.DataConstants; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.DeviceInfo; @@ -1136,4 +1137,21 @@ public class DeviceEdgeTest extends AbstractEdgeTest { Assert.assertEquals(tenantId, doGet("/api/device/" + device.getUuidId(), Device.class).getTenantId()); } + @Test + public void testSendDeviceUpdateWithCustomerOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Customer customer = new Customer(); + customer.setTitle("Different Tenant Customer"); + Customer savedCustomer = doPost("/api/customer", customer, Customer.class); + loginTenantAdmin(); + + Device device = saveDeviceOnCloudAndVerifyDeliveryToEdge(); + Device deviceUpdate = new Device(device); + deviceUpdate.setCustomerId(savedCustomer.getId()); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg( + EdgeMsgConstructorUtils.constructDeviceUpdatedMsg(UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, deviceUpdate, null))); + + Assert.assertEquals(tenantId, doGet("/api/device/" + device.getUuidId(), Device.class).getOwnerId()); + } + } diff --git a/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java index 6e507ab2e1..3d2d51c44e 100644 --- a/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/EntityGroupEdgeTest.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.node.TextNode; import org.awaitility.Awaitility; import org.junit.Assert; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.Customer; import org.thingsboard.server.common.data.Dashboard; @@ -21,12 +22,15 @@ import org.thingsboard.server.common.data.group.EntityGroupInfo; import org.thingsboard.server.common.data.id.AssetId; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.EntityGroupId; import org.thingsboard.server.common.data.id.EntityViewId; import org.thingsboard.server.common.data.id.RoleId; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.permission.GroupPermission; import org.thingsboard.server.common.data.role.Role; import org.thingsboard.server.common.data.role.RoleType; +import org.thingsboard.server.dao.group.EntityGroupService; import org.thingsboard.server.dao.service.DaoSqlTest; import org.thingsboard.server.gen.edge.v1.AssetUpdateMsg; import org.thingsboard.server.gen.edge.v1.DashboardUpdateMsg; @@ -35,6 +39,7 @@ import org.thingsboard.server.gen.edge.v1.EntityGroupRequestMsg; import org.thingsboard.server.gen.edge.v1.EntityViewUpdateMsg; import org.thingsboard.server.gen.edge.v1.GroupPermissionProto; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; +import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.gen.edge.v1.UplinkMsg; import java.util.List; @@ -47,6 +52,9 @@ import static org.thingsboard.server.dao.customer.CustomerServiceImpl.PUBLIC_CUS @DaoSqlTest public class EntityGroupEdgeTest extends AbstractEdgeTest { + @Autowired + private EntityGroupService entityGroupService; + @Test public void testAllEdgeEntityGroup_autoAssignedToEdgeAfterUnAssign() throws Exception { sendAssetCreateMsgToCloud("Asset From Edge"); @@ -149,6 +157,77 @@ public class EntityGroupEdgeTest extends AbstractEdgeTest { } } + @Test + public void testSendDeviceDeleteFromGroupOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Device device = new Device(); + device.setName("Different Tenant Group Device"); + device.setType("default"); + Device savedDevice = doPost("/api/device", device, Device.class); + EntityGroup deviceGroup = saveDifferentTenantGroup(EntityType.DEVICE, savedDevice.getId()); + loginTenantAdmin(); + + DeviceUpdateMsg deviceDeleteMsg = DeviceUpdateMsg.newBuilder() + .setMsgType(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE) + .setIdMSB(savedDevice.getUuidId().getMostSignificantBits()) + .setIdLSB(savedDevice.getUuidId().getLeastSignificantBits()) + .setEntityGroupIdMSB(deviceGroup.getUuidId().getMostSignificantBits()) + .setEntityGroupIdLSB(deviceGroup.getUuidId().getLeastSignificantBits()) + .build(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addDeviceUpdateMsg(deviceDeleteMsg)); + + Assert.assertTrue(findGroupEntityIds(deviceGroup).contains(savedDevice.getId())); + } + + @Test + public void testSendUserDeleteFromGroupOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + EntityGroup userGroup = saveDifferentTenantGroup(EntityType.USER, savedDifferentTenantUser.getId()); + loginTenantAdmin(); + + UserUpdateMsg userDeleteMsg = UserUpdateMsg.newBuilder() + .setMsgType(UpdateMsgType.ENTITY_DELETED_RPC_MESSAGE) + .setIdMSB(savedDifferentTenantUser.getUuidId().getMostSignificantBits()) + .setIdLSB(savedDifferentTenantUser.getUuidId().getLeastSignificantBits()) + .setEntityGroupIdMSB(userGroup.getUuidId().getMostSignificantBits()) + .setEntityGroupIdLSB(userGroup.getUuidId().getLeastSignificantBits()) + .build(); + sendUplinkMsgAndWaitForResponse(uplinkMsgBuilder -> uplinkMsgBuilder.addUserUpdateMsg(userDeleteMsg)); + + Assert.assertTrue(findGroupEntityIds(userGroup).contains(savedDifferentTenantUser.getId())); + } + + @Test + public void testSendEntityGroupEntitiesRequestForGroupOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + Device device = new Device(); + device.setName("Different Tenant Requested Device"); + device.setType("default"); + Device savedDevice = doPost("/api/device", device, Device.class); + EntityGroup deviceGroup = saveDifferentTenantGroup(EntityType.DEVICE, savedDevice.getId()); + loginTenantAdmin(); + + sendUplinkMsgAndVerifyNoDownlink(uplinkMsgBuilder -> uplinkMsgBuilder.addEntityGroupEntitiesRequestMsg(EntityGroupRequestMsg.newBuilder() + .setEntityGroupIdMSB(deviceGroup.getUuidId().getMostSignificantBits()) + .setEntityGroupIdLSB(deviceGroup.getUuidId().getLeastSignificantBits()) + .setType(EntityType.DEVICE.name()) + .build())); + } + + private EntityGroup saveDifferentTenantGroup(EntityType groupType, EntityId entityId) throws Exception { + EntityGroup entityGroup = new EntityGroup(); + entityGroup.setType(groupType); + entityGroup.setName("Different Tenant " + groupType.name() + " Group"); + entityGroup.setOwnerId(differentTenantId); + EntityGroup savedGroup = doPost("/api/entityGroup", entityGroup, EntityGroup.class); + addEntitiesToEntityGroup(List.of(entityId), savedGroup.getId()); + return savedGroup; + } + + private List findGroupEntityIds(EntityGroup entityGroup) throws Exception { + return entityGroupService.findAllEntityIdsAsync(differentTenantId, entityGroup.getId(), new PageLink(100)).get(); + } + private EntityGroup createUserGroup() { EntityGroup entityGroup = new EntityGroup(); entityGroup.setType(EntityType.USER); From 5e0ce94fbb6db11a16014d68831178e79c064a1a Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 15:19:55 +0100 Subject: [PATCH 034/275] Check entity tenant in edge report template and scheduler event msgs processing --- .../report/BaseReportTemplateProcessor.java | 4 +- .../BaseSchedulerEventProcessor.java | 17 ++++++ .../SchedulerEventEdgeProcessor.java | 2 +- .../server/edge/ReportTemplateEdgeTest.java | 39 +++++++++++- .../server/edge/SchedulerEventEdgeTest.java | 60 +++++++++++++++++++ 5 files changed, 119 insertions(+), 3 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java index 237c6ce5bc..c059a9974e 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/report/BaseReportTemplateProcessor.java @@ -29,6 +29,8 @@ public abstract class BaseReportTemplateProcessor extends BaseEdgeProcessor { if (reportTemplate == null) { throw new RuntimeException("[{" + tenantId + "}] reportTemplateUpdateMsg {" + reportTemplateUpdateMsg + "} cannot be converted to report template"); } + checkEntityTenant(tenantId, reportTemplateId); + reportTemplate.setTenantId(tenantId); ReportTemplate reportTemplateById = edgeCtx.getReportTemplateService().findReportTemplateById(tenantId, reportTemplateId); if (reportTemplateById == null) { created = true; @@ -48,7 +50,7 @@ public abstract class BaseReportTemplateProcessor extends BaseEdgeProcessor { protected void deleteReportTemplate(TenantId tenantId, ReportTemplateId reportTemplateId) { ReportTemplate reportTemplateToDelete = edgeCtx.getReportTemplateService().findReportTemplateById(tenantId, reportTemplateId); - if (reportTemplateToDelete != null) { + if (reportTemplateToDelete != null && tenantId.equals(reportTemplateToDelete.getTenantId())) { edgeCtx.getReportTemplateService().deleteReportTemplate(tenantId, reportTemplateId); pushReportTemplateDeletedEventToRuleEngine(tenantId, reportTemplateToDelete); } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java index fb938c2aa9..166216bdea 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/BaseSchedulerEventProcessor.java @@ -8,12 +8,16 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.SchedulerEventId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.report.ReportConfig; import org.thingsboard.server.common.data.scheduler.SchedulerEvent; import org.thingsboard.server.common.data.scheduler.SchedulerEventInfo; import org.thingsboard.server.dao.service.DataValidator; +import org.thingsboard.server.exception.DataValidationException; import org.thingsboard.server.gen.edge.v1.SchedulerEventUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; +import static org.thingsboard.server.common.data.DataConstants.GENERATE_REPORT; + @Slf4j public abstract class BaseSchedulerEventProcessor extends BaseEdgeProcessor { @@ -27,6 +31,9 @@ public abstract class BaseSchedulerEventProcessor extends BaseEdgeProcessor { if (schedulerEvent == null) { throw new RuntimeException("[{" + tenantId + "}] schedulerEventUpdateMsg {" + schedulerEventUpdateMsg + "} cannot be converted to scheduler event"); } + checkEntityTenant(tenantId, schedulerEventId); + schedulerEvent.setTenantId(tenantId); + checkReportConfig(tenantId, schedulerEvent); SchedulerEvent existingSchedulerEvent = edgeCtx.getSchedulerEventService().findSchedulerEventById(tenantId, schedulerEventId); if (existingSchedulerEvent == null) { created = true; @@ -48,6 +55,16 @@ public abstract class BaseSchedulerEventProcessor extends BaseEdgeProcessor { return created; } + private void checkReportConfig(TenantId tenantId, SchedulerEvent schedulerEvent) { + if (GENERATE_REPORT.equals(schedulerEvent.getType())) { + ReportConfig reportConfig = JacksonUtil.treeToValue(schedulerEvent.getConfiguration(), ReportConfig.class); + if (reportConfig == null || reportConfig.getReportTemplateId() == null || !isEntityExists(tenantId, reportConfig.getReportTemplateId()) + || reportConfig.getUserId() == null || !isEntityExists(tenantId, reportConfig.getUserId())) { + throw new DataValidationException("Scheduler event is referencing to non-existent report template or user!"); + } + } + } + private void updateEnabledBasedOnCreationRules(SchedulerEvent newSchedulerEvent) { boolean isEnabled = newSchedulerEvent.isEnabled() && isEnabledDuringCreation(); newSchedulerEvent.setEnabled(isEnabled); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java index e9398cb5dd..1889ea4954 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/scheduler/SchedulerEventEdgeProcessor.java @@ -46,7 +46,7 @@ public class SchedulerEventEdgeProcessor extends BaseSchedulerEventProcessor imp } case ENTITY_DELETED_RPC_MESSAGE -> { SchedulerEvent schedulerEventToDelete = edgeCtx.getSchedulerEventService().findSchedulerEventById(tenantId, schedulerEventId); - if (schedulerEventToDelete != null) { + if (schedulerEventToDelete != null && tenantId.equals(schedulerEventToDelete.getTenantId())) { edgeCtx.getSchedulerEventService().unassignSchedulerEventFromEdge(tenantId, schedulerEventId, edge.getId()); } yield Futures.immediateFuture(null); diff --git a/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java index def2ccb2ea..6532ec9455 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ReportTemplateEdgeTest.java @@ -244,5 +244,42 @@ public class ReportTemplateEdgeTest extends AbstractEdgeTest { private CustomerId normalizeCustomerId(CustomerId customerId) { return customerId == null || customerId.isNullUid() ? null : customerId; } -} + @Test + public void testReportTemplateWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + ReportTemplate reportTemplate = createReportTemplate("Edge Report Template With Different Tenant", tenantId); + reportTemplate.setId(new ReportTemplateId(UUID.randomUUID())); + reportTemplate.setTenantId(differentTenantId); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(createUplinkMsg(reportTemplate)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + ReportTemplate foundReportTemplate = doGet("/api/reportTemplate/" + reportTemplate.getId().getId(), ReportTemplate.class); + Assert.assertEquals(tenantId, foundReportTemplate.getTenantId()); + } + + @Test + public void testReportTemplateUpdateAndDeleteOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + ReportTemplate reportTemplate = createReportTemplate("Different Tenant Report Template", differentTenantId); + reportTemplate.setTenantId(differentTenantId); + ReportTemplate savedReportTemplate = doPost("/api/reportTemplate", reportTemplate, ReportTemplate.class); + loginTenantAdmin(); + + ReportTemplate reportTemplateUpdate = createReportTemplate("Updated From Edge", tenantId); + reportTemplateUpdate.setId(savedReportTemplate.getId()); + edgeImitator.expectResponsesAmount(2); + edgeImitator.sendUplinkMsg(createUpdateUplinkMsg(reportTemplateUpdate)); + edgeImitator.sendUplinkMsg(createDeleteUplinkMsg(savedReportTemplate)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + loginDifferentTenant(); + ReportTemplate foundReportTemplate = doGet("/api/reportTemplate/" + savedReportTemplate.getUuidId(), ReportTemplate.class); + Assert.assertEquals(savedReportTemplate.getName(), foundReportTemplate.getName()); + Assert.assertEquals(differentTenantId, foundReportTemplate.getTenantId()); + } + +} diff --git a/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java index b09d9a12f9..5f00a00ba3 100644 --- a/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/SchedulerEventEdgeTest.java @@ -12,6 +12,12 @@ import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.SchedulerEventId; import org.thingsboard.server.common.data.msg.TbMsgType; import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.report.ReportConfig; +import org.thingsboard.server.common.data.report.ReportTemplate; +import org.thingsboard.server.common.data.report.ReportTemplateType; +import org.thingsboard.server.common.data.report.TbReportFormat; +import org.thingsboard.server.common.data.report.configuration.CsvReportTemplateConfig; +import org.thingsboard.server.common.data.report.configuration.components.HeadingComponent; import org.thingsboard.server.common.data.scheduler.MonthlyRepeat; import org.thingsboard.server.common.data.scheduler.SchedulerEvent; import org.thingsboard.server.common.data.scheduler.SchedulerEventInfo; @@ -23,11 +29,14 @@ import org.thingsboard.server.gen.edge.v1.UplinkMsg; import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import java.util.ArrayList; +import java.util.List; import java.util.Optional; import java.util.UUID; import java.util.concurrent.TimeUnit; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; +import static org.thingsboard.server.common.data.DataConstants.GENERATE_REPORT; @DaoSqlTest public class SchedulerEventEdgeTest extends AbstractEdgeTest { @@ -287,4 +296,55 @@ public class SchedulerEventEdgeTest extends AbstractEdgeTest { return schedulerEvent; } + @Test + public void testSchedulerEventWithTenantIdOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + SchedulerEvent schedulerEvent = createSchedulerEvent("Edge Scheduler Event With Different Tenant", tenantId); + schedulerEvent.setId(new SchedulerEventId(UUID.randomUUID())); + schedulerEvent.setTenantId(differentTenantId); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(createUplinkMsg(schedulerEvent)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + SchedulerEvent foundSchedulerEvent = doGet("/api/schedulerEvent/" + schedulerEvent.getUuidId(), SchedulerEvent.class); + Assert.assertEquals(tenantId, foundSchedulerEvent.getTenantId()); + } + + @Test + public void testGenerateReportSchedulerEventWithUserOfDifferentTenantToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + ReportTemplate reportTemplate = new ReportTemplate(); + reportTemplate.setTenantId(tenantId); + reportTemplate.setOwnerId(tenantId); + reportTemplate.setName("Scheduler Report Template"); + reportTemplate.setType(ReportTemplateType.REPORT); + reportTemplate.setFormat(TbReportFormat.CSV); + CsvReportTemplateConfig reportTemplateConfig = new CsvReportTemplateConfig(); + reportTemplateConfig.setEntityAliases(new ArrayList<>()); + reportTemplateConfig.setFilters(new ArrayList<>()); + HeadingComponent headingComponent = new HeadingComponent(); + headingComponent.setValue("Heading"); + reportTemplateConfig.setComponents(List.of(headingComponent)); + reportTemplate.setConfiguration(reportTemplateConfig); + ReportTemplate savedReportTemplate = doPost("/api/reportTemplate", reportTemplate, ReportTemplate.class); + + ReportConfig reportConfig = new ReportConfig(); + reportConfig.setReportTemplateId(savedReportTemplate.getId()); + reportConfig.setUserId(savedDifferentTenantUser.getId()); + reportConfig.setTimezone("UTC"); + SchedulerEvent schedulerEvent = createSchedulerEvent("Edge Report Scheduler Event", tenantId); + schedulerEvent.setId(new SchedulerEventId(UUID.randomUUID())); + schedulerEvent.setType(GENERATE_REPORT); + schedulerEvent.setConfiguration(JacksonUtil.valueToTree(reportConfig)); + + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(createUplinkMsg(schedulerEvent)); + Assert.assertTrue(edgeImitator.waitForResponses()); + + doGet("/api/schedulerEvent/" + schedulerEvent.getUuidId()).andExpect(status().isNotFound()); + } + } From e614d5d307416f6482681442af181562fa762917 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Tue, 27 Oct 2026 15:19:55 +0100 Subject: [PATCH 035/275] Add test for internal api key from edge --- .../server/edge/ApiKeyEdgeTest.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java index 45f7c0c024..5d419c493d 100644 --- a/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/ApiKeyEdgeTest.java @@ -15,6 +15,9 @@ import org.thingsboard.server.common.data.group.EntityGroupInfo; import org.thingsboard.server.common.data.id.ApiKeyId; import org.thingsboard.server.common.data.pat.ApiKey; import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.permission.AuthorityPermissionsInfo; +import org.thingsboard.server.common.data.permission.Operation; +import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.dao.pat.ApiKeyService; import org.thingsboard.server.dao.service.DaoSqlTest; @@ -25,7 +28,9 @@ import org.thingsboard.server.gen.edge.v1.UplinkResponseMsg; import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; +import java.util.Map; import java.util.Optional; +import java.util.Set; import java.util.UUID; import java.util.concurrent.TimeUnit; @@ -241,4 +246,23 @@ public class ApiKeyEdgeTest extends AbstractEdgeTest { Assert.assertNull(apiKeyService.findApiKeyById(tenantId, new ApiKeyId(uuid))); } + @Test + public void testSendInternalApiKeyWithPermissionsToCloud() throws Exception { + UUID uuid = Uuids.timeBased(); + ApiKey apiKey = createSimpleApiKey("Internal Key From Edge"); + apiKey.setInternal(true); + AuthorityPermissionsInfo permissions = new AuthorityPermissionsInfo(); + permissions.setOperationsByResource(Map.of(Authority.SYS_ADMIN, Map.of(Resource.ALL, Set.of(Operation.ALL)))); + apiKey.setPermissions(permissions); + UplinkMsg uplinkMsg = getUplinkMsg(uuid, apiKey, UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE); + edgeImitator.expectResponsesAmount(1); + edgeImitator.sendUplinkMsg(uplinkMsg); + Assert.assertTrue(edgeImitator.waitForResponses()); + + ApiKey savedApiKey = apiKeyService.findApiKeyById(tenantId, new ApiKeyId(uuid)); + Assert.assertNotNull(savedApiKey); + Assert.assertFalse(savedApiKey.isInternal()); + Assert.assertNull(savedApiKey.getPermissions()); + } + } From 41143a17564961e9bfb59806481874075b0062b3 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 27 Oct 2026 18:56:19 +0200 Subject: [PATCH 036/275] feat(iot-hub): the device install form checks the connection on Next, splits a pasted port and shows toggles - A form field with checkConnection makes Next: Provisioning check the integration connection. The form waits while it runs, and a failed check opens an alert titled with the install method that shows the field's checkConnectionFailedText (or a general text) and keeps the user on the form. The separate Check connection button is gone. - A field with portField moves a port pasted at the end of its value into the named field. - BOOLEAN fields render as a slide toggle in a form row, with the help text in the hint icon. --- .../device-install-dialog.component.html | 46 +++--------- .../device-install-dialog.component.scss | 17 +---- .../device-install-dialog.component.ts | 73 ++++++++----------- .../install-form-renderer.component.html | 16 ++-- .../install-form-renderer.component.scss | 6 -- .../install-form-renderer.component.ts | 16 ++-- .../models/iot-hub/device-package.models.ts | 26 ++++++- 7 files changed, 81 insertions(+), 119 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 8f36545817..11499fe154 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -49,43 +49,14 @@ } @case ('form') { -
+
+ [reviewMode]="reviewMode"> - -
- - @switch (connectionCheckMessage(ws)) { - @case ('checking') { - - } - @case ('success') { - - check_circle - {{ 'iot-hub.connection-check-success' | translate }} - - } - @case ('error') { - - error - {{ 'iot-hub.connection-check-failed' | translate }} - - } - } -
-
- @if (connectionCheckOf(ws) && !hasCheckConnectionField(ws)) { - - }
} @@ -256,7 +227,7 @@ @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -281,9 +252,12 @@ } @case ('form') { -
} } - @if (checkConnectionTemplate && hasCheckConnectionField(row.fields)) { - - }
} @@ -85,7 +82,15 @@ @switch (field.type) { @case (FormFieldType.BOOLEAN) { - {{ field.label }} +
+ + @if (helpTextOf(field)) { +
{{ field.label }}
+ } @else { + {{ field.label }} + } +
+
} @case (FormFieldType.SELECT) { {{ helpTextOf(field) }}
- } @if (field.helpImage) { } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index 9acd239c18..f99f29ebca 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -10,12 +10,6 @@ align-self: center; } -.tb-install-form-field-help { - font-size: 12px; - color: rgba(0, 0, 0, 0.6); - margin-top: 4px; -} - .tb-install-form-field-help-image { max-width: 100%; margin-top: 8px; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index e1c73ecafa..6965009871 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 -import { Component, Input, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; +import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; import { AbstractControl, UntypedFormGroup } from '@angular/forms'; import { ErrorStateMatcher } from '@angular/material/core'; -import { cleanFormFieldValue, FormFieldDefinition, FormFieldType } from '@shared/models/iot-hub/device-package.models'; +import { cleanFormFieldValue, FormFieldDefinition, FormFieldType, pastedPortOf } from '@shared/models/iot-hub/device-package.models'; import { generateSecret } from '@core/utils'; const DEFAULT_RANDOM_SIZE = 20; @@ -49,8 +49,6 @@ export class InstallFormRendererComponent implements OnChanges { @Input() resolveImagePath?: (path: string) => string; /** When true, PASSWORD inputs render unmasked by default (used by review mode). */ @Input() reviewMode = false; - /** Rendered under the field marked with checkConnection; the dialog supplies it. */ - @Input() checkConnectionTemplate?: TemplateRef | null; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields @@ -122,10 +120,6 @@ export class InstallFormRendererComponent implements OnChanges { return sections; } - hasCheckConnectionField(fields: FormFieldDefinition[]): boolean { - return fields.some(field => field.checkConnection); - } - /** The hint of a field that a defaultValueTemplate fills describes the filled value. */ helpTextOf(field: FormFieldDefinition): string | undefined { return field.defaultValueTemplate && field.defaultValueTemplateHelpText ? field.defaultValueTemplateHelpText : field.helpText; @@ -151,6 +145,12 @@ export class InstallFormRendererComponent implements OnChanges { onBlur(field: FormFieldDefinition): void { this.focusedControl = null; const control = this.formGroup.controls[field.key]; + const port = pastedPortOf(field, control?.value); + const portControl = field.portField ? this.formGroup.controls[field.portField] : undefined; + if (port !== undefined && portControl) { + portControl.setValue(port); + portControl.markAsDirty(); + } const cleaned = cleanFormFieldValue(field, control?.value); if (control && cleaned !== control.value) { control.setValue(cleaned); diff --git a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts index a717d97a0d..b707ac353d 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts @@ -110,7 +110,7 @@ export const installMethodLabels = new Map( [InstallMethod.INTEGRATION_TCP, 'TCP Integration'], [InstallMethod.INTEGRATION_THINGPARK, 'ThingPark Wireless'], [InstallMethod.INTEGRATION_THINGPARK_ENTERPRISE, 'ThingPark Enterprise'], - [InstallMethod.INTEGRATION_TTI, 'The Things Stack Cloud'], + [InstallMethod.INTEGRATION_TTI, 'The Things Stack Cloud & Enterprise'], [InstallMethod.INTEGRATION_TTN, 'The Things Stack Sandbox'], [InstallMethod.INTEGRATION_TUYA, 'Tuya'], [InstallMethod.INTEGRATION_UDP, 'UDP Integration'] @@ -291,12 +291,16 @@ export interface FormFieldDefinition { defaultValueTemplateHelpText?: string; // 'advanced' puts the field into the collapsed Advanced settings panel below the form section?: FormFieldSection; - // Shows the Check connection button of the integration the form configures under this field + // Next checks the connection of the integration the form configures and stops on a failure checkConnection?: boolean; + // With checkConnection: the text of the dialog a failed check shows + checkConnectionFailedText?: string; // A regular expression whose matches are removed from the value when the user leaves the field // and before the step is committed, e.g. "@ttn$" for an ID copied with its suffix. // validators check the cleaned value. cleanupPattern?: string; + // Key of the field that takes the port pasted at the end of this field's value, e.g. "host:8883" + portField?: string; // Set by the install dialog for the fields it adds, not by packages: // help popup shown under the field, and the text of its trigger helpPopupId?: string; @@ -311,8 +315,22 @@ export interface FormFieldDefinition { export type FormFieldSection = 'advanced'; -export const cleanFormFieldValue = (field: FormFieldDefinition, value: any): any => - field.cleanupPattern && typeof value === 'string' ? value.replace(new RegExp(field.cleanupPattern, 'g'), '') : value; +const PASTED_PORT_PATTERN = /:(\d{1,5})\/*\s*$/; + +/** The value without the port that portField takes, then without the cleanupPattern matches. */ +export const cleanFormFieldValue = (field: FormFieldDefinition, value: any): any => { + if (typeof value !== 'string') { + return value; + } + const withoutPort = field.portField ? value.replace(PASTED_PORT_PATTERN, '') : value; + return field.cleanupPattern ? withoutPort.replace(new RegExp(field.cleanupPattern, 'g'), '') : withoutPort; +}; + +/** The port at the end of the value of a field with portField, e.g. 8883 for "eu1.example.com:8883". */ +export const pastedPortOf = (field: FormFieldDefinition, value: any): number | undefined => { + const match = field.portField && typeof value === 'string' ? PASTED_PORT_PATTERN.exec(value) : null; + return match ? Number(match[1]) : undefined; +}; export interface EntityStepOutput { id: string; From 082fc3205844035c90e8ed0fbfd07cad7d20276b Mon Sep 17 00:00:00 2001 From: dshvaika Date: Tue, 27 Oct 2026 18:56:19 +0200 Subject: [PATCH 037/275] feat(iot-hub): name the TTI install method and integration type The Things Stack Cloud & Enterprise --- ui-ngx/src/assets/locale/locale.constant-ar_AE.json | 2 +- ui-ngx/src/assets/locale/locale.constant-ca_ES.json | 2 +- ui-ngx/src/assets/locale/locale.constant-da_DK.json | 2 +- ui-ngx/src/assets/locale/locale.constant-de_DE.json | 2 +- ui-ngx/src/assets/locale/locale.constant-el_GR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-en_US.json | 10 +++++----- ui-ngx/src/assets/locale/locale.constant-es_ES.json | 2 +- ui-ngx/src/assets/locale/locale.constant-fr_FR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-hi_IN.json | 2 +- ui-ngx/src/assets/locale/locale.constant-it_IT.json | 2 +- ui-ngx/src/assets/locale/locale.constant-ja_JP.json | 2 +- ui-ngx/src/assets/locale/locale.constant-lt_LT.json | 2 +- ui-ngx/src/assets/locale/locale.constant-nl_NL.json | 2 +- ui-ngx/src/assets/locale/locale.constant-no_NO.json | 2 +- ui-ngx/src/assets/locale/locale.constant-pl_PL.json | 2 +- ui-ngx/src/assets/locale/locale.constant-pt_BR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-tr_TR.json | 2 +- ui-ngx/src/assets/locale/locale.constant-uk_UA.json | 2 +- ui-ngx/src/assets/locale/locale.constant-zh_CN.json | 2 +- 19 files changed, 23 insertions(+), 23 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json index 238062e445..9b25b862d7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json @@ -3626,7 +3626,7 @@ "type-ibm-watson-iot-description": "خدمة مُدارة بالكامل على السحابة.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "شبكة LoRaWAN المفتوحة والمركزة.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "برنامج لتشغيل شبكات LoRaWAN الخاصة بنطاق واسع.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "خادم تكوين شبكة LoRaWAN.", diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index 2f6d4040d9..75557d2ed8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -3050,7 +3050,7 @@ "type-aws-kinesis": "AWS Kinesis", "type-ibm-watson-iot": "IBM Watson IoT", "type-ttn": "The Things Stack Sandbox", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-chirpstack": "ChirpStack", "type-azure-event-hub": "Azure Event Hub", "type-azure-iot-hub": "Azure IoT Hub", diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index b3c53700be..2fb93d0171 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Tjeneste til realtids video- og datastrømme.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Åbent og decentraliseret LoRaWAN-netværk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software til drift af private LoRaWAN-netværk i stor skala.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN-netværkskonfigurationstjeneste.", diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 3db3ab6800..0be24c2909 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Dienst für Echtzeit-Video- und Datenströme.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Offenes und dezentrales LoRaWAN-Netzwerk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software zum Betrieb privater LoRaWAN-Netzwerke im großen Maßstab.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index fbea64bf30..928afe9da8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Υπηρεσία ροής δεδομένων και βίντεο σε πραγματικό χρόνο.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Ανοιχτό και αποκεντρωμένο δίκτυο LoRaWAN.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Λογισμικό για ιδιωτικά δίκτυα LoRaWAN.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Διακομιστής διαμόρφωσης δικτύου LoRaWAN.", diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 19822cadae..0e0b2c893c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -5694,7 +5694,7 @@ "type-aws-kinesis-description": "Service for real-time video and data streams.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Open and decentralized LoRaWAN network.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software to operate private LoRaWAN networks at scale.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", @@ -6287,10 +6287,10 @@ }, "iot-hub": { "advanced-settings": "Advanced settings", - "check-connection": "Check connection", - "connection-check-success": "Connected.", - "connection-check-failed": "Could not connect. Check the connection settings and the credentials.", - "continue-anyway": "Continue anyway", + "back-to-configuration": "Back to configuration", + "checking-connection": "Checking connection…", + "connection-check-failed-title": "Failed to connect to {{method}}", + "connection-check-failed-text": "Check the connection settings, then try again.", "iot-hub": "IoT Hub", "generate-random-value": "Generate random value", "home-title": "ThingsBoard IoT Hub", diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index 1f94ccd579..341bdfa40e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Servicio para transmisión de datos y video en tiempo real.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Red LoRaWAN abierta y descentralizada.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software para operar redes LoRaWAN privadas a escala.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index 4185c7d673..4fd4b3e797 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Service pour le traitement de flux vidéo et de données en temps réel.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Réseau LoRaWAN ouvert et décentralisé.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Logiciel pour exploiter des réseaux LoRaWAN privés à grande échelle.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 7cb1ee68e0..2b3d37af18 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -4854,7 +4854,7 @@ "type-aws-kinesis-description": "रीयल-टाइम वीडियो और डेटा स्ट्रीम्स के लिए सेवा.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "ओपन और डिसेंट्रलाइज़्ड LoRaWAN नेटवर्क.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "बड़े स्तर पर प्राइवेट LoRaWAN नेटवर्क ऑपरेट करने के लिए सॉफ़्टवेयर.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN नेटवर्क कॉन्फ़िगरेशन सर्वर.", diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 09376d0cec..d89c64c08f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Servizio per flussi video e dati in tempo reale.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Rete LoRaWAN aperta e decentralizzata.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software per reti private LoRaWAN su larga scala.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 569d17f7a5..1cc5650d1d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "リアルタイムのビデオおよびデータストリームサービス。", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "オープンで分散型のLoRaWANネットワーク。", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "スケールでプライベートLoRaWANネットワークを運用するためのソフトウェア。", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWANネットワーク構成サーバー。", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index b13f82cd5c..3bdf99f170 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -4341,7 +4341,7 @@ "type-aws-kinesis-description": "Realaus laiko vaizdo ir duomenų srautai.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Atviras ir decentralizuotas LoRaWAN tinklas.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Programinė įranga privačioms LoRaWAN tinklams masteliuoti.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN tinklo konfigūravimo serveris.", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index 53150314c1..9c32ca6fcc 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Dienst voor realtime video- en datastromen.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Open en gedecentraliseerd LoRaWAN-netwerk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software om privé LoRaWAN-netwerken op schaal te beheren.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN-netwerkconfiguratieserver.", diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index ff10d16752..3d5a817173 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Tjeneste for sanntidsvideo og datastrømmer.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Åpent og desentralisert LoRaWAN-nettverk.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Programvare for å drive private LoRaWAN-nettverk i stor skala.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Konfigurasjonsserver for LoRaWAN-nettverk.", diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index ddae826d81..be600a572c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -3543,7 +3543,7 @@ "type-ibm-watson-iot-description": "W pełni zarządzana usługa hostowana w chmurze.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Otwarta i zdecentralizowana sieć LoRaWAN.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Oprogramowanie do obsługi prywatnych sieci LoRaWAN na dużą skalę.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Serwer konfiguracji sieci LoRaWAN.", diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index a39b81493a..352563c216 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Serviço para streams de vídeo e dados em tempo real.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Rede LoRaWAN aberta e descentralizada.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Software para operar redes LoRaWAN privadas em escala.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 5174a42982..11af893b7c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "Gerçek zamanlı video ve veri akış hizmeti.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Açık ve merkeziyetsiz LoRaWAN ağı.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Ölçeklenebilir özel LoRaWAN ağlarını çalıştırmak için yazılım.", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN ağı yapılandırma sunucusu.", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index a44b237554..73aa65c360 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -5692,7 +5692,7 @@ "type-aws-kinesis-description": "Сервіс для потоків відео та даних у реальному часі.", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "Відкрита та децентралізована мережа LoRaWAN.", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "Програмне забезпечення для масштабованої експлуатації приватних мереж LoRaWAN.", "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index ced59136bb..2583e70fc1 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -4853,7 +4853,7 @@ "type-aws-kinesis-description": "实时视频和数据流服务。", "type-ttn": "The Things Stack Sandbox", "type-ttn-description": "开放去中心化的 LoRaWAN 网络。", - "type-tti": "The Things Stack Cloud", + "type-tti": "The Things Stack Cloud & Enterprise", "type-tti-description": "用于大规模运营私有 LoRaWAN 网络的软件。", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN 网络配置服务器。", From df75ff67e8ea45a258924fe0ffc0f9f77113d7f8 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 19:06:40 +0100 Subject: [PATCH 038/275] Evict API key cache entry by its old value on rotation --- .../controller/ApiKeyControllerTest.java | 78 +++++++++++++++++++ .../server/dao/pat/ApiKeyServiceImpl.java | 3 +- .../server/dao/service/ApiKeyServiceTest.java | 16 ++++ 3 files changed, 96 insertions(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java index d84e7f5659..b0cca491a3 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ApiKeyControllerTest.java @@ -7,6 +7,8 @@ import com.fasterxml.jackson.core.type.TypeReference; import org.junit.Assert; import org.junit.Before; import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.pat.ApiKey; @@ -15,6 +17,7 @@ import org.thingsboard.server.common.data.permission.AuthorityPermissionsInfo; import org.thingsboard.server.common.data.permission.Operation; import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.pat.ApiKeyService; import org.thingsboard.server.dao.service.DaoSqlTest; import java.util.HashMap; @@ -27,6 +30,9 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @DaoSqlTest public class ApiKeyControllerTest extends AbstractControllerTest { + @Autowired + private ApiKeyService apiKeyService; + @Before public void setUp() throws Exception { loginTenantAdmin(); @@ -152,6 +158,68 @@ public class ApiKeyControllerTest extends AbstractControllerTest { doDelete("/api/apiKey/" + savedApiKey.getId()).andExpect(status().isOk()); } + @Test + public void testRotateInternalApiKey_oldValueNoLongerAuthenticates() throws Exception { + loginSysAdmin(); + ApiKeyInfo apiKeyInfo = constructApiKeyInfo(sysAdminPermissionsInfo()); + apiKeyInfo.setTenantId(TenantId.SYS_TENANT_ID); + // internal keys cannot be created via REST, so build it directly through the service + ApiKey internalApiKey = apiKeyService.saveApiKey(TenantId.SYS_TENANT_ID, apiKeyInfo); + String originalValue = internalApiKey.getValue(); + try { + // authenticate with the original value to warm up the API key cache + setApiKey(originalValue); + doGetWithApiKey("/api/auth/user").andExpect(status().isOk()); + + ApiKey rotatedApiKey = doPost("/api/apiKey/" + internalApiKey.getId().getId() + "/rotate", ApiKey.class); + Assert.assertNotNull(rotatedApiKey); + Assert.assertNotNull(rotatedApiKey.getValue()); + Assert.assertNotEquals(originalValue, rotatedApiKey.getValue()); + + doGetWithApiKey("/api/auth/user").andExpect(status().isUnauthorized()); + + setApiKey(rotatedApiKey.getValue()); + doGetWithApiKey("/api/auth/user").andExpect(status().isOk()); + } finally { + resetApiKey(); + apiKeyService.deleteApiKey(TenantId.SYS_TENANT_ID, apiKeyService.findApiKeyById(TenantId.SYS_TENANT_ID, internalApiKey.getId()), true); + } + } + + @Test + public void testRotateApiKeyAsTenantAdmin_shouldBeForbidden() throws Exception { + ApiKeyInfo apiKeyInfo = constructApiKeyInfo("Tenant admin API key", true); + ApiKey apiKey = doPost("/api/apiKey", apiKeyInfo, ApiKey.class); + + doPost("/api/apiKey/" + apiKey.getId().getId() + "/rotate").andExpect(status().isForbidden()); + + doDelete("/api/apiKey/" + apiKey.getId()).andExpect(status().isOk()); + } + + @Test + public void testRotateApiKeyAsCustomerUser_shouldBeForbidden() throws Exception { + ApiKeyInfo apiKeyInfo = constructApiKeyInfo("Tenant admin API key", true); + ApiKey apiKey = doPost("/api/apiKey", apiKeyInfo, ApiKey.class); + + loginCustomerUser(); + doPost("/api/apiKey/" + apiKey.getId().getId() + "/rotate").andExpect(status().isForbidden()); + + loginTenantAdmin(); + doDelete("/api/apiKey/" + apiKey.getId()).andExpect(status().isOk()); + } + + @Test + public void testRotateRegularApiKeyOfAnotherUserAsSysAdmin_shouldBeBadRequest() throws Exception { + ApiKeyInfo apiKeyInfo = constructApiKeyInfo("Tenant admin API key", true); + ApiKey apiKey = doPost("/api/apiKey", apiKeyInfo, ApiKey.class); + + loginSysAdmin(); + doPost("/api/apiKey/" + apiKey.getId().getId() + "/rotate").andExpect(status().isBadRequest()); + + loginTenantAdmin(); + doDelete("/api/apiKey/" + apiKey.getId()).andExpect(status().isOk()); + } + @Test public void testDeleteApiKey() throws Exception { doDelete("/api/apiKey/" + UUID.randomUUID()).andExpect(status().isNotFound()); @@ -174,6 +242,16 @@ public class ApiKeyControllerTest extends AbstractControllerTest { return apiKeyInfo; } + private AuthorityPermissionsInfo sysAdminPermissionsInfo() { + Map> permissions = new HashMap<>(); + permissions.put(Resource.DEVICE, Set.of(Operation.READ)); + Map>> operationsByResource = new HashMap<>(); + operationsByResource.put(Authority.SYS_ADMIN, permissions); + AuthorityPermissionsInfo authorityPermissionsInfo = new AuthorityPermissionsInfo(); + authorityPermissionsInfo.setOperationsByResource(operationsByResource); + return authorityPermissionsInfo; + } + private ApiKeyInfo constructApiKeyInfo(AuthorityPermissionsInfo info) { ApiKeyInfo apiKeyInfo = new ApiKeyInfo(); apiKeyInfo.setDescription("API key description for internal API key"); diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index d37126c0cf..32cd12823c 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -112,7 +112,8 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService Date: Tue, 27 Oct 2026 19:10:47 +0100 Subject: [PATCH 039/275] Evict stale API key cache entry when the key value changes --- .../server/dao/pat/ApiKeyServiceImpl.java | 24 ++++++++++++-- .../server/dao/service/ApiKeyServiceTest.java | 33 +++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index 7a2fbda4bf..a1843b72a5 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -27,6 +27,7 @@ import org.thingsboard.server.dao.eventsourcing.SaveEntityEvent; import org.thingsboard.server.dao.service.validator.ApiKeyDataValidator; import java.util.List; +import java.util.Objects; import java.util.Optional; import java.util.Set; import java.util.UUID; @@ -82,8 +83,13 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService + * Authentication resolves a key by value straight from the cache, so both the enabled flag and the value must + * trigger an eviction. A regular update preserves the value, but a save with an explicit value (e.g. an edge + * applying a key rotated on the cloud) replaces it, leaving the old value to authenticate from the cache. + */ + private static boolean isPublishEvictRequired(ApiKey old, ApiKey apiKey) { + return old != null + && (old.isEnabled() != apiKey.isEnabled() + || !Objects.equals(old.getValue(), apiKey.getValue())); + } + @Override public EntityType getEntityType() { return EntityType.API_KEY; diff --git a/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java b/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java index 157012d1c9..4fb8942142 100644 --- a/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java +++ b/dao/src/test/java/org/thingsboard/server/dao/service/ApiKeyServiceTest.java @@ -130,6 +130,39 @@ public class ApiKeyServiceTest extends AbstractServiceTest { Assert.assertEquals(savedApiKey.getValue(), foundApiKey.getValue()); } + @Test + public void testSaveApiKeyWithNewValue_oldValueEvictedFromCache() { + ApiKeyInfo apiKeyInfo = createApiKeyInfo(TEST_API_KEY_DESCRIPTION); + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, apiKeyInfo); + String originalValue = savedApiKey.getValue(); + // authentication resolves the key by value and caches the lookup + Assert.assertNotNull(apiKeyService.findApiKeyByValue(originalValue)); + + String newValue = "new-api-key-value-" + StringUtils.randomAlphanumeric(32); + apiKeyService.saveApiKey(tenantId, savedApiKey, newValue, false); + + Assert.assertNull("Old API key value must not resolve after the value changed", apiKeyService.findApiKeyByValue(originalValue)); + ApiKey foundByNewValue = apiKeyService.findApiKeyByValue(newValue); + Assert.assertNotNull(foundByNewValue); + Assert.assertEquals(savedApiKey.getId(), foundByNewValue.getId()); + } + + @Test + public void testSaveApiKeyWithNewValue_cachedMissForNewValueEvicted() { + ApiKeyInfo apiKeyInfo = createApiKeyInfo(TEST_API_KEY_DESCRIPTION); + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, apiKeyInfo); + + String newValue = "new-api-key-value-" + StringUtils.randomAlphanumeric(32); + // a failed authentication attempt caches the miss for the not-yet-saved value + Assert.assertNull(apiKeyService.findApiKeyByValue(newValue)); + + apiKeyService.saveApiKey(tenantId, savedApiKey, newValue, false); + + ApiKey foundByNewValue = apiKeyService.findApiKeyByValue(newValue); + Assert.assertNotNull("New API key value must resolve after it is saved", foundByNewValue); + Assert.assertEquals(savedApiKey.getId(), foundByNewValue.getId()); + } + @Test public void testFindApiKeysByUserId() { int size = 3; From 192836945ff1ca81a6953da11459002438439ba9 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 20:00:51 +0100 Subject: [PATCH 040/275] Verify exact API key cache evictions and call counts --- .../dao/pat/ApiKeyCacheEvictionTest.java | 105 ++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java diff --git a/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java new file mode 100644 index 0000000000..ee6ab565b2 --- /dev/null +++ b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java @@ -0,0 +1,105 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.dao.pat; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; +import org.thingsboard.server.cache.TbTransactionalCache; +import org.thingsboard.server.common.data.StringUtils; +import org.thingsboard.server.common.data.User; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.UserId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.service.AbstractServiceTest; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.dao.user.UserService; + +/** + * Verifies the exact cache interactions of {@link ApiKeyService} saves: which {@link ApiKeyCacheKey}s are evicted + * and how many times. Lives in this package because {@link ApiKeyCacheKey} is package-private. + */ +@DaoSqlTest +public class ApiKeyCacheEvictionTest extends AbstractServiceTest { + + @Autowired + ApiKeyService apiKeyService; + + @Autowired + UserService userService; + + @MockitoSpyBean + TbTransactionalCache apiKeyCache; + + private UserId userId; + + @Before + public void before() { + User tenantAdmin = new User(); + tenantAdmin.setAuthority(Authority.TENANT_ADMIN); + tenantAdmin.setTenantId(tenantId); + tenantAdmin.setEmail("tenant-api-key-cache@thingsboard.org"); + User user = userService.saveUser(TenantId.SYS_TENANT_ID, tenantAdmin); + userId = user.getId(); + } + + @After + public void after() { + apiKeyService.deleteByTenantId(tenantId); + User user = userService.findUserById(tenantId, userId); + userService.deleteUser(tenantId, user); + } + + @Test + public void testSaveApiKeyWithNewValue_evictsOldAndNewValueExactlyOnce() { + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, createApiKeyInfo()); + String originalValue = savedApiKey.getValue(); + String newValue = "new-api-key-value-" + StringUtils.randomAlphanumeric(32); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.saveApiKey(tenantId, savedApiKey, newValue, false); + + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(originalValue)); + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(newValue)); + Mockito.verify(apiKeyCache, Mockito.times(2)).evict(Mockito.any(ApiKeyCacheKey.class)); + } + + @Test + public void testDisableApiKey_evictsValueExactlyOnce() { + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, createApiKeyInfo()); + String value = savedApiKey.getValue(); + savedApiKey.setEnabled(false); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.saveApiKey(tenantId, savedApiKey); + + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(value)); + Mockito.verify(apiKeyCache, Mockito.times(1)).evict(Mockito.any(ApiKeyCacheKey.class)); + } + + @Test + public void testUpdateApiKeyDescription_noEviction() { + ApiKey savedApiKey = apiKeyService.saveApiKey(tenantId, createApiKeyInfo()); + savedApiKey.setDescription("Updated description, cached state unchanged"); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.saveApiKey(tenantId, savedApiKey); + + Mockito.verify(apiKeyCache, Mockito.never()).evict(Mockito.any(ApiKeyCacheKey.class)); + } + + private ApiKeyInfo createApiKeyInfo() { + ApiKeyInfo apiKeyInfo = new ApiKeyInfo(); + apiKeyInfo.setTenantId(tenantId); + apiKeyInfo.setUserId(userId); + apiKeyInfo.setDescription("API key cache eviction test"); + apiKeyInfo.setEnabled(true); + return apiKeyInfo; + } + +} From 91c1d9a619b8f045704542e02b378d13f131731a Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 20:00:51 +0100 Subject: [PATCH 041/275] Shorten isPublishEvictRequired javadoc --- .../org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index a1843b72a5..717466e034 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -187,12 +187,8 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService - * Authentication resolves a key by value straight from the cache, so both the enabled flag and the value must - * trigger an eviction. A regular update preserves the value, but a save with an explicit value (e.g. an edge - * applying a key rotated on the cloud) replaces it, leaving the old value to authenticate from the cache. + * Authentication resolves keys by value straight from the cache, so a changed enabled flag or value (explicit-value + * save, e.g. edge sync) requires eviction. A newly created key has nothing cached yet, hence the null check. */ private static boolean isPublishEvictRequired(ApiKey old, ApiKey apiKey) { return old != null From 42bb47e625b413d05752e52b798de5f09e641d12 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Tue, 27 Oct 2026 20:01:48 +0100 Subject: [PATCH 042/275] Verify exact API key cache eviction and call count on rotation --- .../dao/pat/ApiKeyCacheEvictionTest.java | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java diff --git a/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java new file mode 100644 index 0000000000..70e95f31f6 --- /dev/null +++ b/dao/src/test/java/org/thingsboard/server/dao/pat/ApiKeyCacheEvictionTest.java @@ -0,0 +1,76 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +package org.thingsboard.server.dao.pat; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; +import org.thingsboard.server.cache.TbTransactionalCache; +import org.thingsboard.server.common.data.User; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.id.UserId; +import org.thingsboard.server.common.data.pat.ApiKey; +import org.thingsboard.server.common.data.pat.ApiKeyInfo; +import org.thingsboard.server.common.data.security.Authority; +import org.thingsboard.server.dao.service.AbstractServiceTest; +import org.thingsboard.server.dao.service.DaoSqlTest; +import org.thingsboard.server.dao.user.UserService; + +/** + * Verifies the exact cache interactions of {@link ApiKeyService} rotation: which {@link ApiKeyCacheKey}s are evicted + * and how many times. Lives in this package because {@link ApiKeyCacheKey} is package-private. + */ +@DaoSqlTest +public class ApiKeyCacheEvictionTest extends AbstractServiceTest { + + @Autowired + ApiKeyService apiKeyService; + + @Autowired + UserService userService; + + @MockitoSpyBean + TbTransactionalCache apiKeyCache; + + private UserId userId; + + @Before + public void before() { + User tenantAdmin = new User(); + tenantAdmin.setAuthority(Authority.TENANT_ADMIN); + tenantAdmin.setTenantId(tenantId); + tenantAdmin.setEmail("tenant-api-key-cache@thingsboard.org"); + User user = userService.saveUser(TenantId.SYS_TENANT_ID, tenantAdmin); + userId = user.getId(); + } + + @After + public void after() { + apiKeyService.deleteByTenantId(tenantId); + User user = userService.findUserById(tenantId, userId); + userService.deleteUser(tenantId, user); + } + + @Test + public void testRotateInternalApiKey_evictsOldValueExactlyOnce() { + ApiKeyInfo apiKeyInfo = new ApiKeyInfo(); + apiKeyInfo.setTenantId(TenantId.SYS_TENANT_ID); + apiKeyInfo.setUserId(userId); + apiKeyInfo.setDescription("Internal key for rotation eviction counting"); + apiKeyInfo.setEnabled(true); + apiKeyInfo.setInternal(true); + ApiKey savedApiKey = apiKeyService.saveApiKey(TenantId.SYS_TENANT_ID, apiKeyInfo); + String originalValue = savedApiKey.getValue(); + Mockito.clearInvocations(apiKeyCache); + + apiKeyService.rotateInternalApiKey(TenantId.SYS_TENANT_ID, savedApiKey); + + Mockito.verify(apiKeyCache).evict(ApiKeyCacheKey.of(originalValue)); + Mockito.verify(apiKeyCache, Mockito.times(1)).evict(Mockito.any(ApiKeyCacheKey.class)); + } + +} From d53982905a1f2e2a4c76274e3e9af2bb5543092b Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 28 Oct 2026 12:58:29 +0200 Subject: [PATCH 043/275] fix(iot-hub): update a device package in place instead of deleting its entities Updating an installed device package deleted everything the package created, the device included, so its telemetry and attributes were lost, and nothing was installed again. Now the update opens the install wizard of the new version over the installed package. It keeps the install method and the form values, finds the entities by the ids in the install state (so a renamed profile is still found), keeps the device and gateway as they are (id, credentials, history) and overwrites the device profile, converters, integration, dashboard and rule chain with the new templates under their current names. The installed item then takes the new version through registerDeviceUpdate. The server no longer updates a device package by itself. PROD-9096 --- .../server/controller/IotHubController.java | 4 + .../service/iot_hub/DefaultIotHubService.java | 45 ++++- .../server/service/iot_hub/IotHubService.java | 2 + .../iot_hub/DefaultIotHubServiceTest.java | 55 ++++++ .../src/app/core/http/iot-hub-api.service.ts | 7 +- .../device-install-dialog.component.ts | 166 +++++++++++++++--- .../iot-hub/iot-hub-actions.service.ts | 20 ++- 7 files changed, 265 insertions(+), 34 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index 1645505c00..e5388bd28b 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -92,9 +92,13 @@ public class IotHubController extends BaseController { @ResponseBody public InstallItemVersionResult registerDeviceInstall( @RequestParam String versionId, + @RequestParam(required = false) UUID installedItemId, @RequestBody JsonNode body) throws ThingsboardException { checkAllPermissions(); DeviceInstalledItemDescriptor descriptor = JacksonUtil.treeToValue(body, DeviceInstalledItemDescriptor.class); + if (installedItemId != null) { + return iotHubService.registerDeviceUpdate(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId, descriptor); + } return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor); } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index a3cf0599fa..6f0f9db86f 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -416,6 +416,10 @@ public class DefaultIotHubService implements IotHubService { } String itemType = installedItem.getItemType(); + if ("DEVICE".equals(itemType)) { + // The install wizard of the new version changes the package's entities in place, see registerDeviceUpdate + throw new IllegalArgumentException("A device package is updated by the install wizard of the new version"); + } IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); // Skip checksum validation for solution templates @@ -460,12 +464,6 @@ public class DefaultIotHubService implements IotHubService { case "CALCULATED_FIELD" -> updateCalculatedField(user, tenantId, (CalculatedFieldInstalledItemDescriptor) descriptor, fileData); case "ALARM_RULE" -> updateAlarmRule(user, tenantId, (AlarmRuleInstalledItemDescriptor) descriptor, fileData); case "RULE_CHAIN" -> updateRuleChain(tenantId, (RuleChainInstalledItemDescriptor) descriptor, fileData); - case "DEVICE" -> { - DeviceInstalledItemDescriptor dd = (DeviceInstalledItemDescriptor) descriptor; - deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); - dd.setCreatedEntityIds(null); - dd.setDashboardId(null); - } case "SOLUTION_TEMPLATE" -> { SolutionTemplateInstalledItemDescriptor stDescriptor = (SolutionTemplateInstalledItemDescriptor) descriptor; solutionService.deleteSolution(tenantId, stDescriptor, user); @@ -710,6 +708,41 @@ public class DefaultIotHubService implements IotHubService { } } + @Override + public InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, + DeviceInstalledItemDescriptor descriptor) { + TenantId tenantId = user.getTenantId(); + log.info("[{}] Registering device package update of {} to version: {}", tenantId, installedItemId, versionId); + + try { + IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); + if (installedItem == null || !"DEVICE".equals(installedItem.getItemType())) { + throw new IllegalArgumentException("Installed device package not found"); + } + + JsonNode versionInfo = iotHubRestClient.getVersionInfo(versionId); + if (versionInfo == null) { + throw new IllegalArgumentException("Failed to get version info from IoT Hub"); + } + if (!installedItem.getItemId().toString().equals(versionInfo.get("itemId").asText())) { + throw new IllegalArgumentException("The version belongs to another item"); + } + + // The wizard has already changed the entities in place: a failure here must not delete them + installedItem.setItemVersionId(UUID.fromString(versionId)); + installedItem.setItemName(versionInfo.get("name").asText()); + installedItem.setVersion(versionInfo.get("version").asText()); + installedItem.setDescriptor(descriptor); + iotHubInstalledItemService.save(tenantId, installedItem); + log.info("[{}] Registered device package update: {} (version {})", tenantId, installedItem.getItemName(), installedItem.getVersion()); + + return InstallItemVersionResult.success(descriptor); + } catch (Exception e) { + log.error("[{}] Failed to register device package update of {} to version: {}", tenantId, installedItemId, versionId, e); + return InstallItemVersionResult.error(e.getMessage()); + } + } + /** * Deletes what a device package created, except the entities another installed device package * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index e1d0cd666b..3a3fd372b0 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -19,6 +19,8 @@ public interface IotHubService { InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor); + InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, DeviceInstalledItemDescriptor descriptor); + void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 0f0068872c..cf4f25bfd7 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -495,6 +495,61 @@ class DefaultIotHubServiceTest { assertThat(kept.getUsedByItemsCount()).isZero(); } + @Test + void updateItemVersion_devicePackage_deletesNothing() { + mockTenant(); + IotHubInstalledItem installed = devicePackage(new DeviceId(UUID.randomUUID()), new DashboardId(UUID.randomUUID())); + installed.setItemType("DEVICE"); + when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); + + UpdateItemVersionResult result = service.updateItemVersion(user, installed.getId(), UUID.randomUUID().toString(), true, null); + + assertThat(result.isSuccess()).isFalse(); + verify(tbDeviceService, never()).delete(any(Device.class), any()); + verify(tbDashboardService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceUpdate_keepsTheInstalledItemAndRecordsTheNewVersion() { + mockTenant(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + IotHubInstalledItem installed = devicePackage(deviceId); + installed.setItemType("DEVICE"); + installed.setItemId(UUID.randomUUID()); + installed.setVersion("1.0"); + when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, installed.getItemId().toString(), "DEVICE", "AM308", "1.1")); + DeviceInstalledItemDescriptor updated = new DeviceInstalledItemDescriptor(); + updated.setCreatedEntityIds(List.of(deviceId)); + + InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, updated); + + assertThat(result.isSuccess()).isTrue(); + verify(iotHubInstalledItemService).save(tenantId, installed); + assertThat(installed.getItemVersionId()).isEqualTo(UUID.fromString(versionId)); + assertThat(installed.getVersion()).isEqualTo("1.1"); + assertThat(installed.getDescriptor()).isSameAs(updated); + verify(tbDeviceService, never()).delete(any(Device.class), any()); + } + + @Test + void registerDeviceUpdate_versionOfAnotherItem_isRejected() { + mockTenant(); + IotHubInstalledItem installed = devicePackage(new DeviceId(UUID.randomUUID())); + installed.setItemType("DEVICE"); + installed.setItemId(UUID.randomUUID()); + when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Other", "1.0")); + + InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, new DeviceInstalledItemDescriptor()); + + assertThat(result.isSuccess()).isFalse(); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); descriptor.setCreatedEntityIds(List.of(createdEntityIds)); diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 49da0f4e6a..639127e075 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -180,10 +180,13 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, - config?: IotHubRequestConfig + config?: IotHubRequestConfig, + // Set for an update: the installed item takes the version and the descriptor + installedItemId?: string ): Observable { + const installedItemParam = installedItemId ? `&installedItemId=${installedItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}`, + `/api/iot-hub/device/register?versionId=${versionId}${installedItemParam}`, { type: 'DEVICE', ...descriptor }, { params: this.buildParams(config) } ); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 0f2a99df36..ea37b3bbe5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -14,6 +14,7 @@ import { firstValueFrom, Subscription } from 'rxjs'; import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; +import { DeviceInstalledItemDescriptor } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; import { DeviceService } from '@core/http/device.service'; @@ -57,6 +58,17 @@ export interface DeviceInstallDialogData { installState?: Record; entityGroupId?: string; customerId?: string; + // Set when the wizard updates an installed package to the item version + update?: DeviceInstallUpdate; +} + +/** + * The installed package an update changes. The steps of the new version change the entities + * the package created in place, so the device keeps its id, credentials and history. + */ +export interface DeviceInstallUpdate { + installedItemId: string; + descriptor: DeviceInstalledItemDescriptor; } export type WizardStepType = 'connectivity' | 'placeholder' | 'instruction' | 'form' | 'progress'; @@ -318,6 +330,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field); ws.formFields = [...packageFields, ...(ws.extraFormFields ?? [])]; const controls: Record = {}; - // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.stateKey ?? ws.label]?.formValues; + // In review mode, use stored values; an update starts from the values of the installed version; otherwise use defaults + const storedState = this.reviewMode ? this.data.installState : this.data.update?.descriptor.installState; + const storedValues = storedState?.[ws.stateKey ?? ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -1250,17 +1259,26 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + /** keepName: the entity keeps its current name instead of the template's, e.g. a device profile the user renamed. */ + private async overwriteEntity(step: DeviceInstallStep, existing: EntityStepOutput, keepName = false): Promise { const raw = this.zipFiles.get(step.template); if (!raw) throw new Error(`Template file not found: ${step.template}`); // Overwriting an existing integration reuses its routingKey, so resolve @@ -1563,6 +1583,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (step.type !== InstallStepType.DEVICE && step.type !== InstallStepType.GATEWAY) { + return existing; + } + const creds = await firstValueFrom(this.deviceService.getDeviceCredentials(existing.id, false, {ignoreErrors: true})); + const output: EntityStepOutput = { ...existing, token: creds.credentialsId }; + if (step.type === InstallStepType.GATEWAY) { + output.dockerComposeUrl = `/api/device-connectivity/gateway-launch/${output.id}/docker-compose/download`; + // As createEntity does: the docker-compose template resolves ${gateway.token} + this.entityOutputs.set('gateway', output); + if (step.dockerCompose) { + const dcRaw = this.zipFiles.get(step.dockerCompose); + if (dcRaw) this.gatewayDockerComposeContent = this.resolveVariables(dcRaw); + } + } + return output; + } + + /** + * Update: the entity the installed version created for this step. It is found by the id kept in + * the install state, not by name, so an entity the user renamed is still found. Null when this + * is not an update, when the installed version had no such step, or when the entity was deleted since. + */ + private async findPreviousEntity(step: DeviceInstallStep): Promise { + const installState = this.data.update?.descriptor.installState; + // A connector lives in the gateway's attributes: its step runs again over the same gateway + if (!installState || step.type === InstallStepType.GATEWAY_CONNECTOR) { + return null; + } + const id: string = (installState[step.name] || installState[this.resolveVariables(step.name)])?.entityOutput?.id; + if (!id) { + return null; + } + const config = {ignoreErrors: true}; + try { + switch (step.type) { + case InstallStepType.DEVICE_PROFILE: { + const profile = await firstValueFrom(this.deviceProfileService.getDeviceProfileInfo(id, config)); + return { id, name: profile.name, url: `/profiles/deviceProfiles/${id}` }; + } + case InstallStepType.DEVICE: { + const device = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: device.name, url: `/entities/devices/all/${id}` }; + } + case InstallStepType.GATEWAY: { + const gateway = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: gateway.name, url: '/entities/gateways' }; + } + case InstallStepType.DASHBOARD: { + const dashboard = await firstValueFrom(this.dashboardService.getDashboardInfo(id, config)); + return { id, name: dashboard.title, url: `/dashboards/all/${id}` }; + } + case InstallStepType.RULE_CHAIN: { + const ruleChain = await firstValueFrom(this.ruleChainService.getRuleChain(id, config)); + return { id, name: ruleChain.name, url: `/ruleChains/${id}` }; + } + case InstallStepType.UPLINK_CONVERTER: + case InstallStepType.DOWNLINK_CONVERTER: { + const converter = await firstValueFrom(this.converterService.getConverter(id, config)); + const type = step.type === InstallStepType.UPLINK_CONVERTER ? ConverterType.UPLINK : ConverterType.DOWNLINK; + return converter.type === type ? { id, name: converter.name, url: `/converters/${id}` } : null; + } + case InstallStepType.INTEGRATION: { + const integration = await firstValueFrom(this.integrationService.getIntegration(id, config)); + return { id, name: integration.name, url: `/integrations/${id}`, routingKey: integration.routingKey }; + } + default: + return null; + } + } catch (_e) { + // Deleted since: the step creates it again + return null; + } + } + + /** + * Update: a device or gateway is kept as it is, so its credentials, which the firmware uses, don't change. + * Other entities take the new version's template and keep their id and current name. + */ + private updatePreviousEntity(step: DeviceInstallStep, previous: EntityStepOutput): Promise { + if (step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { + return this.useExistingEntity(step, previous); + } + return this.overwriteEntity(step, previous, true); + } + private async preCheckEntity(step: DeviceInstallStep): Promise { const raw = this.zipFiles.get(step.template); if (!raw) return null; @@ -1711,6 +1822,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousId.id)) { + ids.push(previousId); + } + } return ids; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index b04932040d..fb5c9125d0 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -17,7 +17,7 @@ import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData, IotHubIt import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from './iot-hub-install-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from './iot-hub-update-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub-delete-dialog.component'; -import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; +import { TbDeviceInstallDialogComponent, DeviceInstallDialogData, DeviceInstallUpdate } from './device-install-dialog/device-install-dialog.component'; import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; import { IotHubBuiltInService } from './iot-hub-built-in.service'; import { isBuiltInItem } from './iot-hub-utils'; @@ -150,6 +150,9 @@ export class IotHubActionsService { if (!installedItem) { return of(false); } + if (installedItem.itemType === ItemType.DEVICE) { + return this.updateDevice(installedItem, versionId); + } return this.dialog.open(TbIotHubUpdateDialogComponent, { panelClass: ['tb-dialog'], disableClose: true, @@ -199,9 +202,22 @@ export class IotHubActionsService { }); } + /** + * A device package is updated by the install wizard of the new version: its steps change what + * the package created in place, so the device and its history stay. + */ + private updateDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + return this.iotHubApiService.getVersionInfo(versionId).pipe( + switchMap(item => this.openDeviceInstallDialog(item, { + update: { installedItemId: installedItem.id.id, descriptor: installedItem.descriptor as DeviceInstalledItemDescriptor } + })), + map(result => result === 'installed' ? 'updated' : result) + ); + } + private openDeviceInstallDialog(item: MpItemVersionView, options?: { reviewMode?: boolean; selectedInstallMethod?: string; installState?: any; - entityGroupId?: string; customerId?: string}): Observable { + entityGroupId?: string; customerId?: string; update?: DeviceInstallUpdate}): Observable { return this.dialog.open(TbDeviceInstallDialogComponent, { panelClass: ['tb-dialog', 'tb-fullscreen-dialog-lt-md'], disableClose: true, From 12deaf57287f78cadc2ac47aed9a5a523a7d66e3 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 28 Oct 2026 13:41:41 +0200 Subject: [PATCH 044/275] fix(iot-hub): keep what the user chose at install when updating a device package - An entity the user took with "Use existing" at install is kept as it is on update instead of being overwritten with the package's template. - Only a 404 counts as "deleted since"; any other failure to load a previous entity fails the step, so a transient error can't create a second device with new credentials. - A rejected update registration (success=false) is shown on the step and can be retried instead of closing as updated. - An overwritten dashboard keeps its owner. - Ids of entities deleted since are no longer re-tracked. - The transport fields take the current Device connectivity settings. - A version without a dashboard step keeps the installed dashboardId. - A failed version lookup on update no longer errors unhandled. PROD-9096 --- .../device-install-dialog.component.ts | 141 +++++++++++------- .../iot-hub/iot-hub-actions.service.ts | 4 +- 2 files changed, 93 insertions(+), 52 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ea37b3bbe5..3daae22f31 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -66,6 +66,12 @@ export interface DeviceInstallDialogData { * The installed package an update changes. The steps of the new version change the entities * the package created in place, so the device keeps its id, credentials and history. */ +/** Update: an entity the installed version has for a step, and whether the user kept it as it was at install. */ +interface PreviousEntity { + output: EntityStepOutput; + useExisting: boolean; +} + export interface DeviceInstallUpdate { installedItemId: string; descriptor: DeviceInstalledItemDescriptor; @@ -236,6 +242,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); // Variable resolution state formValues: Record = {}; @@ -1093,8 +1101,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field); ws.formFields = [...packageFields, ...(ws.extraFormFields ?? [])]; const controls: Record = {}; - // In review mode, use stored values; an update starts from the values of the installed version; otherwise use defaults - const storedState = this.reviewMode ? this.data.installState : this.data.update?.descriptor.installState; + // In review mode, use stored values; an update starts from the values of the installed version, + // except the transport fields, which take the current Device connectivity settings; otherwise use defaults + const storedState = this.reviewMode ? this.data.installState : + ws.stateKey !== TRANSPORT_STEP_STATE_KEY ? this.data.update?.descriptor.installState : undefined; const storedValues = storedState?.[ws.stateKey ?? ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); @@ -1265,7 +1275,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousDashboardId) ? { entityType: 'DASHBOARD', id: previousDashboardId } : undefined); + const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, { createdEntityIds, dashboardId, selectedInstallMethod: this.selectedInstallMethod, installState: this.buildInstallState() }, @@ -1310,10 +1324,19 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + private async findPreviousEntity(step: DeviceInstallStep): Promise { const installState = this.data.update?.descriptor.installState; // A connector lives in the gateway's attributes: its step runs again over the same gateway if (!installState || step.type === InstallStepType.GATEWAY_CONNECTOR) { return null; } - const id: string = (installState[step.name] || installState[this.resolveVariables(step.name)])?.entityOutput?.id; + const stored = installState[step.name] || installState[this.resolveVariables(step.name)]; + const id: string = stored?.entityOutput?.id; if (!id) { return null; } - const config = {ignoreErrors: true}; try { - switch (step.type) { - case InstallStepType.DEVICE_PROFILE: { - const profile = await firstValueFrom(this.deviceProfileService.getDeviceProfileInfo(id, config)); - return { id, name: profile.name, url: `/profiles/deviceProfiles/${id}` }; - } - case InstallStepType.DEVICE: { - const device = await firstValueFrom(this.deviceService.getDevice(id, config)); - return { id, name: device.name, url: `/entities/devices/all/${id}` }; - } - case InstallStepType.GATEWAY: { - const gateway = await firstValueFrom(this.deviceService.getDevice(id, config)); - return { id, name: gateway.name, url: '/entities/gateways' }; - } - case InstallStepType.DASHBOARD: { - const dashboard = await firstValueFrom(this.dashboardService.getDashboardInfo(id, config)); - return { id, name: dashboard.title, url: `/dashboards/all/${id}` }; - } - case InstallStepType.RULE_CHAIN: { - const ruleChain = await firstValueFrom(this.ruleChainService.getRuleChain(id, config)); - return { id, name: ruleChain.name, url: `/ruleChains/${id}` }; - } - case InstallStepType.UPLINK_CONVERTER: - case InstallStepType.DOWNLINK_CONVERTER: { - const converter = await firstValueFrom(this.converterService.getConverter(id, config)); - const type = step.type === InstallStepType.UPLINK_CONVERTER ? ConverterType.UPLINK : ConverterType.DOWNLINK; - return converter.type === type ? { id, name: converter.name, url: `/converters/${id}` } : null; - } - case InstallStepType.INTEGRATION: { - const integration = await firstValueFrom(this.integrationService.getIntegration(id, config)); - return { id, name: integration.name, url: `/integrations/${id}`, routingKey: integration.routingKey }; - } - default: - return null; + const output = await this.loadPreviousEntity(step, id); + // The user chose to keep an entity they already had: the update doesn't overwrite it either + return output ? { output, useExisting: stored.resolution === 'use-existing' } : null; + } catch (e: any) { + if (e?.status === 404) { + // Deleted since: the step creates it again, and the package no longer tracks the old id + this.deletedPreviousIds.add(id); + return null; } - } catch (_e) { - // Deleted since: the step creates it again - return null; + throw e; + } + } + + private async loadPreviousEntity(step: DeviceInstallStep, id: string): Promise { + const config = {ignoreErrors: true}; + switch (step.type) { + case InstallStepType.DEVICE_PROFILE: { + const profile = await firstValueFrom(this.deviceProfileService.getDeviceProfileInfo(id, config)); + return { id, name: profile.name, url: `/profiles/deviceProfiles/${id}` }; + } + case InstallStepType.DEVICE: { + const device = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: device.name, url: `/entities/devices/all/${id}` }; + } + case InstallStepType.GATEWAY: { + const gateway = await firstValueFrom(this.deviceService.getDevice(id, config)); + return { id, name: gateway.name, url: '/entities/gateways' }; + } + case InstallStepType.DASHBOARD: { + const dashboard = await firstValueFrom(this.dashboardService.getDashboardInfo(id, config)); + return { id, name: dashboard.title, url: `/dashboards/all/${id}` }; + } + case InstallStepType.RULE_CHAIN: { + const ruleChain = await firstValueFrom(this.ruleChainService.getRuleChain(id, config)); + return { id, name: ruleChain.name, url: `/ruleChains/${id}` }; + } + case InstallStepType.UPLINK_CONVERTER: + case InstallStepType.DOWNLINK_CONVERTER: { + const converter = await firstValueFrom(this.converterService.getConverter(id, config)); + const type = step.type === InstallStepType.UPLINK_CONVERTER ? ConverterType.UPLINK : ConverterType.DOWNLINK; + return converter.type === type ? { id, name: converter.name, url: `/converters/${id}` } : null; + } + case InstallStepType.INTEGRATION: { + const integration = await firstValueFrom(this.integrationService.getIntegration(id, config)); + return { id, name: integration.name, url: `/integrations/${id}`, routingKey: integration.routingKey }; + } + default: + return null; } } @@ -1753,11 +1792,11 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { - return this.useExistingEntity(step, previous); + private updatePreviousEntity(step: DeviceInstallStep, previous: PreviousEntity): Promise { + if (previous.useExisting || step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { + return this.useExistingEntity(step, previous.output); } - return this.overwriteEntity(step, previous, true); + return this.overwriteEntity(step, previous.output, true); } private async preCheckEntity(step: DeviceInstallStep): Promise { @@ -1825,7 +1864,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousId.id)) { + if (!this.deletedPreviousIds.has(previousId.id) && !ids.some(id => id.id === previousId.id)) { ids.push(previousId); } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index fb5c9125d0..4c6fa566e8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -211,7 +211,9 @@ export class IotHubActionsService { switchMap(item => this.openDeviceInstallDialog(item, { update: { installedItemId: installedItem.id.id, descriptor: installedItem.descriptor as DeviceInstalledItemDescriptor } })), - map(result => result === 'installed' ? 'updated' : result) + map(result => result === 'installed' ? 'updated' : result), + // The request has already shown the error + catchError(() => of(false)) ); } From 777689652b1a88845c3bb7c3a222ce47317bcd65 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 13:42:54 +0200 Subject: [PATCH 045/275] Add AiModelInfo + Reuse TbChatRequest --- .../server/controller/AiModelController.java | 55 +++++--- .../service/ai/TbAiModelChatRequest.java | 32 ----- .../controller/AiModelControllerTest.java | 121 +++++++++++++++++- .../server/dao/ai/AiModelService.java | 3 + .../server/common/data/ai/AiModel.java | 80 ++++-------- .../server/common/data/ai/AiModelInfo.java | 102 +++++++++++++++ .../common/data/ai/dto/TbChatRequest.java | 10 +- .../data/ai/model/chat/AiChatModelConfig.java | 5 +- .../server/common/data/ai/AiModelTest.java | 54 ++++++++ .../server/dao/ai/AiModelInfoDao.java | 15 +++ .../server/dao/ai/AiModelServiceImpl.java | 8 ++ .../dao/model/sql/AiModelInfoEntity.java | 59 +++++++++ .../dao/sql/ai/AiModelInfoRepository.java | 27 ++++ .../server/dao/sql/ai/JpaAiModelInfoDao.java | 45 +++++++ .../python/license-headers/curations.json | 6 + 15 files changed, 508 insertions(+), 114 deletions(-) delete mode 100644 application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java create mode 100644 common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java create mode 100644 common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java create mode 100644 dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index 5db4b29a7f..ef060cda0d 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -4,7 +4,6 @@ package org.thingsboard.server.controller; import com.google.common.util.concurrent.ListenableFuture; -import dev.langchain4j.model.chat.request.ChatRequest; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; @@ -20,8 +19,8 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.request.async.DeferredResult; -import org.thingsboard.rule.engine.ai.TbResponseFormat; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; import org.thingsboard.server.common.data.ai.dto.TbChatResponse; import org.thingsboard.server.common.data.ai.model.chat.AiChatModelConfig; @@ -34,7 +33,6 @@ import org.thingsboard.server.common.data.permission.Resource; import org.thingsboard.server.config.annotations.ApiOperation; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.ai.AiChatModelService; -import org.thingsboard.server.service.ai.TbAiModelChatRequest; import org.thingsboard.server.service.security.model.SecurityUser; import java.time.Duration; @@ -122,6 +120,34 @@ class AiModelController extends BaseController { return aiModelService.findAiModelsByTenantId(user.getTenantId(), availableViaApi, pageLink); } + @ApiOperation( + value = "Get AI model infos (getAiModelInfos)", + notes = "Returns a page of AI model infos: AI models without the configuration and its provider credentials. " + + "Requires the 'INVOKE' permission for AI models, so it lists the models a user can choose from to send chat requests to. " + + PAGE_DATA_PARAMETERS + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH + ) + @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") + @GetMapping("/infos") + public PageData getAiModelInfos( + @Parameter(description = PAGE_SIZE_DESCRIPTION, required = true) + @RequestParam int pageSize, + @Parameter(description = PAGE_NUMBER_DESCRIPTION, required = true) + @RequestParam int page, + @Parameter(description = AI_MODEL_TEXT_SEARCH_DESCRIPTION) + @RequestParam(required = false) String textSearch, + @Parameter(description = SORT_PROPERTY_DESCRIPTION, schema = @Schema(allowableValues = {"createdTime", "name", "provider", "modelId"})) + @RequestParam(required = false) String sortProperty, + @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) + @RequestParam(required = false) String sortOrder, + @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") + @RequestParam(required = false) Boolean availableViaApi + ) throws ThingsboardException { + var user = getCurrentUser(); + accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.INVOKE); + var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); + return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), availableViaApi, pageLink); + } + @ApiOperation( value = "Delete AI model by ID (deleteAiModelById)", notes = "Deletes the AI model record by its `id`. " + @@ -159,7 +185,10 @@ class AiModelController extends BaseController { @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/chat") public DeferredResult sendChatRequest(@Valid @RequestBody TbChatRequest tbChatRequest) throws ThingsboardException { - return executeChatRequest(tbChatRequest.chatModelConfig(), tbChatRequest.toLangChainChatRequest()); + if (tbChatRequest.chatModelConfig() == null) { + throw new ThingsboardException("Validation error: chatModelConfig must not be null", ThingsboardErrorCode.BAD_REQUEST_PARAMS); + } + return executeChatRequest(tbChatRequest.chatModelConfig(), tbChatRequest); } @ApiOperation( @@ -180,7 +209,7 @@ class AiModelController extends BaseController { example = "de7900d4-30e2-11f0-9cd2-0242ac120002" ) @PathVariable UUID modelUuid, - @Valid @RequestBody TbAiModelChatRequest request + @Valid @RequestBody TbChatRequest tbChatRequest ) throws ThingsboardException { AiModel model = checkAiModelId(new AiModelId(modelUuid), Operation.INVOKE); if (!model.isAvailableViaApi()) { @@ -189,22 +218,12 @@ class AiModelController extends BaseController { if (!(model.getConfiguration() instanceof AiChatModelConfig chatModelConfig)) { throw new ThingsboardException("AI model with id [" + modelUuid + "] is not a chat model", ThingsboardErrorCode.BAD_REQUEST_PARAMS); } - - ChatRequest chatRequest = new TbChatRequest(request.systemMessage(), request.userMessage(), chatModelConfig).toLangChainChatRequest(); - TbResponseFormat responseFormat = request.responseFormat(); - if (responseFormat != null) { - if (!responseFormat.isSupportedBy(chatModelConfig)) { - throw new ThingsboardException("AI model with id [" + modelUuid + "] does not support '" + responseFormat.type() + "' response format", - ThingsboardErrorCode.BAD_REQUEST_PARAMS); - } - chatRequest = chatRequest.toBuilder().responseFormat(responseFormat.toLangChainResponseFormat()).build(); - } - return executeChatRequest(chatModelConfig, chatRequest); + return executeChatRequest(chatModelConfig, tbChatRequest); } - private DeferredResult executeChatRequest(AiChatModelConfig chatModelConfig, ChatRequest chatRequest) throws ThingsboardException { + private DeferredResult executeChatRequest(AiChatModelConfig chatModelConfig, TbChatRequest tbChatRequest) throws ThingsboardException { SecurityUser user = getCurrentUser(); - ListenableFuture future = aiChatModelService.sendChatRequestAsync(user.getTenantId(), chatModelConfig, chatRequest) + ListenableFuture future = aiChatModelService.sendChatRequestAsync(user.getTenantId(), chatModelConfig, tbChatRequest.toLangChainChatRequest()) .transform(chatResponse -> (TbChatResponse) new TbChatResponse.Success(chatResponse.aiMessage().text()), directExecutor()) .catching(Throwable.class, ex -> toFailure(user, ex), directExecutor()); diff --git a/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java b/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java deleted file mode 100644 index 11210d593a..0000000000 --- a/application/src/main/java/org/thingsboard/server/service/ai/TbAiModelChatRequest.java +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -package org.thingsboard.server.service.ai; - -import io.swagger.v3.oas.annotations.media.Schema; -import jakarta.validation.Valid; -import jakarta.validation.constraints.NotNull; -import org.thingsboard.rule.engine.ai.TbResponseFormat; -import org.thingsboard.server.common.data.ai.dto.TbUserMessage; - -public record TbAiModelChatRequest( - @Schema( - requiredMode = Schema.RequiredMode.NOT_REQUIRED, - description = "A system-level instruction that frames the user's input, setting the persona, tone, and constraints for the generated response", - example = "You are a helpful assistant. Only output valid JSON." - ) - String systemMessage, - - @Schema( - requiredMode = Schema.RequiredMode.REQUIRED, - description = "The actual user prompt that will be answered by the AI model" - ) - @NotNull @Valid - TbUserMessage userMessage, - - @Schema( - requiredMode = Schema.RequiredMode.NOT_REQUIRED, - description = "Format of the generated response; plain text when omitted" - ) - @Valid - TbResponseFormat responseFormat -) {} diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index f35a6ed923..ad7e102683 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -10,6 +10,7 @@ import org.springframework.test.web.servlet.ResultActions; import org.thingsboard.common.util.SsrfProtectionValidator; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; import org.thingsboard.server.common.data.ai.dto.TbChatResponse; import org.thingsboard.server.common.data.ai.dto.TbContent; @@ -18,6 +19,7 @@ import org.thingsboard.server.common.data.ai.model.chat.AnthropicChatModelConfig import org.thingsboard.server.common.data.ai.model.chat.GoogleAiGeminiChatModelConfig; import org.thingsboard.server.common.data.ai.model.chat.GoogleVertexAiGeminiChatModelConfig; import org.thingsboard.server.common.data.ai.model.chat.OpenAiChatModelConfig; +import org.thingsboard.server.common.data.ai.provider.AiProvider; import org.thingsboard.server.common.data.ai.provider.AnthropicProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleAiGeminiProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleVertexAiGeminiProviderConfig; @@ -28,7 +30,6 @@ import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.SortOrder; import org.thingsboard.server.dao.service.DaoSqlTest; -import org.thingsboard.server.service.ai.TbAiModelChatRequest; import java.util.List; @@ -262,6 +263,19 @@ public class AiModelControllerTest extends AbstractControllerTest { } } + @Test + public void sendChatRequest_whenChatModelConfigIsMissing_shouldReturnBadRequest() throws Exception { + // GIVEN + loginTenantAdmin(); + + // WHEN + ResultActions result = doPost("/api/ai/model/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isBadRequest()) + .andExpect(statusReason(is("Validation error: chatModelConfig must not be null"))); + } + /* --- Chat with saved model API tests --- */ @Test @@ -607,6 +621,107 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(all.getData()).containsExactlyInAnyOrder(available, unavailable); } + /* --- Get infos API tests --- */ + + @Test + public void getAiModelInfos_whenUserIsSysAdmin_shouldReturnForbidden() throws Exception { + // GIVEN + loginSysAdmin(); + + // WHEN + ResultActions result = doGet("/api/ai/model/infos?pageSize=10&page=0"); + + // THEN + result.andExpect(status().isForbidden()).andExpect(statusReason(equalTo(msgErrorPermission))); + } + + @Test + public void getAiModelInfos_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { + // GIVEN + loginCustomerUser(); + + // WHEN + ResultActions result = doGet("/api/ai/model/infos?pageSize=10&page=0"); + + // THEN + result.andExpect(status().isForbidden()); + } + + @Test + public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByAvailableViaApi() throws Exception { + // GIVEN + loginTenantAdmin(); + + var available = constructValidOpenAiModel("Available model"); + available.setAvailableViaApi(true); + available = doPost("/api/ai/model", available, AiModel.class); + var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); + + // WHEN + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model/infos?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); + PageData all = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, new PageLink(10)); + + // THEN + assertThat(onlyAvailable.getData()).containsExactly(new AiModelInfo(available)); + assertThat(all.getData()).containsExactlyInAnyOrder(new AiModelInfo(available), new AiModelInfo(unavailable)); + assertThat(onlyAvailable.getData().get(0).getProvider()).isEqualTo(AiProvider.OPENAI); + assertThat(onlyAvailable.getData().get(0).getModelId()).isEqualTo("gpt-4o"); + } + + @Test + public void getAiModelInfos_testSearchAndSortByProviderAndModelId() throws Exception { + // GIVEN + loginTenantAdmin(); + + var anthropicModel = doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Test model 1") + .configuration(AnthropicChatModelConfig.builder() + .providerConfig(new AnthropicProviderConfig("test-api-key")) + .modelId("claude-sonnet-4-0") + .build()) + .build(), AiModel.class); + var geminiModel = doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Test model 2") + .configuration(GoogleAiGeminiChatModelConfig.builder() + .providerConfig(new GoogleAiGeminiProviderConfig("test-api-key")) + .modelId("gemini-2.5-pro") + .build()) + .build(), AiModel.class); + + // WHEN + PageData byProviderDesc = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, null, SortOrder.of("provider", SortOrder.Direction.DESC))); + PageData byModelIdAsc = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, null, SortOrder.of("modelId", SortOrder.Direction.ASC))); + PageData searchByProvider = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, "google ai")); + PageData searchByModelId = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, + new PageLink(10, 0, "sonnet")); + + // THEN + assertThat(byProviderDesc.getData()).containsExactly(new AiModelInfo(geminiModel), new AiModelInfo(anthropicModel)); + assertThat(byModelIdAsc.getData()).containsExactly(new AiModelInfo(anthropicModel), new AiModelInfo(geminiModel)); + assertThat(searchByProvider.getData()).containsExactly(new AiModelInfo(geminiModel)); + assertThat(searchByModelId.getData()).containsExactly(new AiModelInfo(anthropicModel)); + } + + @Test + public void getAiModelInfos_whenCustomerAdmin_shouldReturnInfosWithoutConfiguration() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + loginCustomerAdminUser(); + + // WHEN + String response = doGet("/api/ai/model/infos?pageSize=10&page=0").andExpect(status().isOk()) + .andReturn().getResponse().getContentAsString(); + + // THEN + assertThat(response).contains(model.getId().getId().toString()).doesNotContain("test-api-key"); + } + @Test public void getAiModels_testSortingByCreatedTime() throws Exception { // GIVEN @@ -887,8 +1002,8 @@ public class AiModelControllerTest extends AbstractControllerTest { return doPost("/api/ai/model", model, AiModel.class); } - private TbAiModelChatRequest constructChatRequest() { - return new TbAiModelChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); + private TbChatRequest constructChatRequest() { + return new TbChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); } private boolean hasAiModelPermission(AiModel model, String operation) throws Exception { diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index d944480fb9..8b0796cfff 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -5,6 +5,7 @@ package org.thingsboard.server.dao.ai; import com.google.common.util.concurrent.FluentFuture; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.page.PageData; @@ -25,6 +26,8 @@ public interface AiModelService extends EntityDaoService { PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId); FluentFuture> findAiModelByTenantIdAndIdAsync(TenantId tenantId, AiModelId modelId); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java index 9aa973da81..dbd3d941e0 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java @@ -3,64 +3,29 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.data.ai; +import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.Valid; -import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; -import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; -import org.thingsboard.server.common.data.BaseData; -import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.ExportableEntity; -import org.thingsboard.server.common.data.HasVersion; -import org.thingsboard.server.common.data.TenantEntity; import org.thingsboard.server.common.data.ai.model.AiModelConfig; +import org.thingsboard.server.common.data.ai.model.chat.AiChatModelConfig; +import org.thingsboard.server.common.data.ai.provider.AiProvider; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.TenantId; -import org.thingsboard.server.common.data.validation.Length; -import org.thingsboard.server.common.data.validation.NoNullChar; -import org.thingsboard.server.common.data.validation.NoXss; import java.io.Serial; @Data -@Builder -@AllArgsConstructor @EqualsAndHashCode(callSuper = true) -public final class AiModel extends BaseData implements TenantEntity, HasVersion, ExportableEntity { +public final class AiModel extends AiModelInfo implements ExportableEntity { @Serial private static final long serialVersionUID = 9017108678716011604L; - @Schema( - accessMode = Schema.AccessMode.READ_ONLY, - description = "JSON object representing the ID of the tenant associated with this AI model", - example = "e3c4b7d2-5678-4a9b-0c1d-2e3f4a5b6c7d" - ) - private TenantId tenantId; - - @Schema( - accessMode = Schema.AccessMode.READ_ONLY, - description = "Version of the AI model record; increments automatically whenever the record is changed", - example = "7", - defaultValue = "1" - ) - private Long version; - - @NotBlank - @NoNullChar - @Length(min = 1, max = 255) - @NoXss - @Schema( - requiredMode = Schema.RequiredMode.REQUIRED, - accessMode = Schema.AccessMode.READ_WRITE, - description = "Display name for this AI model configuration; not the technical model identifier", - example = "Fast and cost-efficient model" - ) - private String name; - @NotNull @Valid @Schema( @@ -70,15 +35,6 @@ public final class AiModel extends BaseData implements TenantEntity, ) private AiModelConfig configuration; - @Schema( - requiredMode = Schema.RequiredMode.NOT_REQUIRED, - accessMode = Schema.AccessMode.READ_WRITE, - description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + - "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", - defaultValue = "false" - ) - private boolean availableViaApi; - private AiModelId externalId; public AiModel() {} @@ -87,20 +43,32 @@ public final class AiModel extends BaseData implements TenantEntity, super(id); } + @Builder + public AiModel(TenantId tenantId, Long version, String name, AiModelConfig configuration, boolean availableViaApi, AiModelId externalId) { + setTenantId(tenantId); + setVersion(version); + setName(name); + setAvailableViaApi(availableViaApi); + this.configuration = configuration; + this.externalId = externalId; + } + public AiModel(AiModel model) { - super(model.getId()); - createdTime = model.getCreatedTime(); - tenantId = model.getTenantId(); - version = model.getVersion(); - name = model.getName(); + super(model); configuration = model.getConfiguration(); - availableViaApi = model.isAvailableViaApi(); externalId = model.getExternalId() == null ? null : new AiModelId(model.getExternalId().getId()); } @Override - public EntityType getEntityType() { - return EntityType.AI_MODEL; + @JsonIgnore + public AiProvider getProvider() { + return configuration != null ? configuration.provider() : null; + } + + @Override + @JsonIgnore + public String getModelId() { + return configuration instanceof AiChatModelConfig chatModelConfig ? chatModelConfig.modelId() : null; } } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java new file mode 100644 index 0000000000..2d24c0e209 --- /dev/null +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java @@ -0,0 +1,102 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.data.ai; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; +import lombok.EqualsAndHashCode; +import org.thingsboard.server.common.data.BaseData; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasName; +import org.thingsboard.server.common.data.HasVersion; +import org.thingsboard.server.common.data.TenantEntity; +import org.thingsboard.server.common.data.ai.provider.AiProvider; +import org.thingsboard.server.common.data.id.AiModelId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.validation.Length; +import org.thingsboard.server.common.data.validation.NoNullChar; +import org.thingsboard.server.common.data.validation.NoXss; + +import java.io.Serial; + +@Schema +@Data +@EqualsAndHashCode(callSuper = true) +public class AiModelInfo extends BaseData implements TenantEntity, HasName, HasVersion { + + @Serial + private static final long serialVersionUID = -2349470521862370137L; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "JSON object representing the ID of the tenant associated with this AI model", + example = "e3c4b7d2-5678-4a9b-0c1d-2e3f4a5b6c7d" + ) + private TenantId tenantId; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "Version of the AI model record; increments automatically whenever the record is changed", + example = "7", + defaultValue = "1" + ) + private Long version; + + @NotBlank + @NoNullChar + @Length(min = 1, max = 255) + @NoXss + @Schema( + requiredMode = Schema.RequiredMode.REQUIRED, + accessMode = Schema.AccessMode.READ_WRITE, + description = "Display name for this AI model configuration; not the technical model identifier", + example = "Fast and cost-efficient model" + ) + private String name; + + @Schema( + requiredMode = Schema.RequiredMode.NOT_REQUIRED, + accessMode = Schema.AccessMode.READ_WRITE, + description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", + defaultValue = "false" + ) + private boolean availableViaApi; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "AI provider, taken from the model configuration", + example = "OPENAI" + ) + private AiProvider provider; + + @Schema( + accessMode = Schema.AccessMode.READ_ONLY, + description = "Technical model identifier used by the provider, taken from the model configuration", + example = "gpt-4o-mini" + ) + private String modelId; + + public AiModelInfo() {} + + public AiModelInfo(AiModelId id) { + super(id); + } + + public AiModelInfo(AiModelInfo modelInfo) { + super(modelInfo); + tenantId = modelInfo.getTenantId(); + version = modelInfo.getVersion(); + name = modelInfo.getName(); + availableViaApi = modelInfo.isAvailableViaApi(); + provider = modelInfo.getProvider(); + modelId = modelInfo.getModelId(); + } + + @Override + public EntityType getEntityType() { + return EntityType.AI_MODEL; + } + +} diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java index e4bd9dd1c9..185da345bf 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/dto/TbChatRequest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.data.ai.dto; import dev.langchain4j.data.message.ChatMessage; @@ -33,11 +34,12 @@ public record TbChatRequest( TbUserMessage userMessage, @Schema( - requiredMode = Schema.RequiredMode.REQUIRED, + requiredMode = Schema.RequiredMode.NOT_REQUIRED, accessMode = Schema.AccessMode.READ_WRITE, - description = "Configuration of the AI chat model that should execute the request" + description = "Configuration of the AI chat model that should execute the request. " + + "Required when sending to an unsaved model; ignored when sending to a saved model by ID, which uses its saved configuration" ) - @NotNull @Valid + @Valid AiChatModelConfig chatModelConfig ) { diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java index 894bc6dbab..a3a107e89e 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/model/chat/AiChatModelConfig.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.common.data.ai.model.chat; import com.fasterxml.jackson.annotation.JsonProperty; @@ -21,6 +22,8 @@ public sealed interface AiChatModelConfig> extend return AiModelType.CHAT; } + String modelId(); + Integer timeoutSeconds(); Integer maxRetries(); diff --git a/common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java b/common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java new file mode 100644 index 0000000000..6dba47cbdd --- /dev/null +++ b/common/data/src/test/java/org/thingsboard/server/common/data/ai/AiModelTest.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.data.ai; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; +import org.thingsboard.server.common.data.ai.model.chat.OpenAiChatModelConfig; +import org.thingsboard.server.common.data.ai.provider.AiProvider; +import org.thingsboard.server.common.data.ai.provider.OpenAiProviderConfig; + +import static org.assertj.core.api.Assertions.assertThat; + +class AiModelTest { + + private final ObjectMapper mapper = new ObjectMapper(); + + @Test + void modelJsonCarriesProviderAndModelIdOnlyInsideConfiguration() { + JsonNode json = mapper.valueToTree(openAiModel()); + + assertThat(json.has("provider")).isFalse(); + assertThat(json.has("modelId")).isFalse(); + assertThat(json.get("configuration").get("provider").asText()).isEqualTo("OPENAI"); + assertThat(json.get("configuration").get("modelId").asText()).isEqualTo("gpt-4o"); + } + + @Test + void infoCopiedFromModelCarriesProviderAndModelId() { + AiModelInfo info = new AiModelInfo(openAiModel()); + + assertThat(info.getProvider()).isEqualTo(AiProvider.OPENAI); + assertThat(info.getModelId()).isEqualTo("gpt-4o"); + + JsonNode json = mapper.valueToTree(info); + assertThat(json.get("provider").asText()).isEqualTo("OPENAI"); + assertThat(json.get("modelId").asText()).isEqualTo("gpt-4o"); + assertThat(json.has("configuration")).isFalse(); + } + + private static AiModel openAiModel() { + return AiModel.builder() + .name("Test model") + .configuration(OpenAiChatModelConfig.builder() + .providerConfig(OpenAiProviderConfig.builder() + .baseUrl(OpenAiProviderConfig.OPENAI_OFFICIAL_BASE_URL) + .apiKey("test-api-key") + .build()) + .modelId("gpt-4o") + .build()) + .build(); + } + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java new file mode 100644 index 0000000000..057a4fb1e6 --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java @@ -0,0 +1,15 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.ai; + +import org.thingsboard.server.common.data.ai.AiModelInfo; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.dao.Dao; + +public interface AiModelInfoDao extends Dao { + + PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index 95f1ea7ab8..cff4f2855d 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -10,6 +10,7 @@ import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.event.TransactionalEventListener; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.ai.AiModel; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.HasId; @@ -38,6 +39,7 @@ class AiModelServiceImpl extends CachedVersionedEntityService findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); + return aiModelInfoDao.findByTenantId(tenantId, availableViaApi, pageLink); + } + @Override public Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId) { var cacheKey = AiModelCacheKey.of(tenantId, modelId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java new file mode 100644 index 0000000000..d7ef8070e4 --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java @@ -0,0 +1,59 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.model.sql; + +import jakarta.persistence.Column; +import jakarta.persistence.Entity; +import jakarta.persistence.Table; +import lombok.Data; +import lombok.EqualsAndHashCode; +import org.hibernate.annotations.Formula; +import org.hibernate.annotations.Immutable; +import org.thingsboard.server.common.data.ai.AiModelInfo; +import org.thingsboard.server.common.data.ai.provider.AiProvider; +import org.thingsboard.server.common.data.id.AiModelId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.dao.model.BaseVersionedEntity; +import org.thingsboard.server.dao.model.ModelConstants; + +import java.util.UUID; + +// Leaves the configuration column unmapped, so listing infos never loads provider credentials +@Data +@EqualsAndHashCode(callSuper = true) +@Entity +@Immutable +@Table(name = ModelConstants.AI_MODEL_TABLE_NAME) +public class AiModelInfoEntity extends BaseVersionedEntity { + + @Column(name = ModelConstants.AI_MODEL_TENANT_ID_COLUMN_NAME, columnDefinition = "UUID") + private UUID tenantId; + + @Column(name = ModelConstants.AI_MODEL_NAME_COLUMN_NAME) + private String name; + + @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME) + private boolean availableViaApi; + + @Formula("configuration ->> 'provider'") + private String provider; + + @Formula("configuration ->> 'modelId'") + private String modelId; + + public AiModelInfoEntity() {} + + @Override + public AiModelInfo toData() { + var modelInfo = new AiModelInfo(new AiModelId(id)); + modelInfo.setCreatedTime(createdTime); + modelInfo.setVersion(version); + modelInfo.setTenantId(TenantId.fromUUID(tenantId)); + modelInfo.setName(name); + modelInfo.setAvailableViaApi(availableViaApi); + modelInfo.setProvider(provider != null ? AiProvider.valueOf(provider) : null); + modelInfo.setModelId(modelId); + return modelInfo; + } + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java new file mode 100644 index 0000000000..49610c224c --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.sql.ai; + +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.query.Param; +import org.thingsboard.server.dao.model.sql.AiModelInfoEntity; + +import java.util.UUID; + +interface AiModelInfoRepository extends JpaRepository { + + @Query("SELECT m FROM AiModelInfoEntity m WHERE m.tenantId = :tenantId " + + "AND (:availableViaApi IS NULL OR m.availableViaApi = :availableViaApi) " + + "AND (:textSearch IS NULL " + + "OR ilike(m.name, CONCAT('%', :textSearch, '%')) = true " + + "OR ilike(REPLACE(m.provider, '_', ' '), CONCAT('%', :textSearch, '%')) = true " + + "OR ilike(m.modelId, CONCAT('%', :textSearch, '%')) = true)") + Page findByTenantId(@Param("tenantId") UUID tenantId, + @Param("availableViaApi") Boolean availableViaApi, + @Param("textSearch") String textSearch, + Pageable pageable); + +} diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java new file mode 100644 index 0000000000..cfd3ec9d4a --- /dev/null +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java @@ -0,0 +1,45 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.dao.sql.ai; + +import lombok.RequiredArgsConstructor; +import org.apache.commons.lang3.StringUtils; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.stereotype.Component; +import org.thingsboard.server.common.data.ai.AiModelInfo; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.dao.DaoUtil; +import org.thingsboard.server.dao.ai.AiModelInfoDao; +import org.thingsboard.server.dao.model.sql.AiModelInfoEntity; +import org.thingsboard.server.dao.sql.JpaAbstractDao; +import org.thingsboard.server.dao.util.SqlDao; + +import java.util.UUID; + +@SqlDao +@Component +@RequiredArgsConstructor +class JpaAiModelInfoDao extends JpaAbstractDao implements AiModelInfoDao { + + private final AiModelInfoRepository aiModelInfoRepository; + + @Override + public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + return DaoUtil.toPageData(aiModelInfoRepository.findByTenantId( + tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), DaoUtil.toPageable(pageLink)) + ); + } + + @Override + protected Class getEntityClass() { + return AiModelInfoEntity.class; + } + + @Override + protected JpaRepository getRepository() { + return aiModelInfoRepository; + } + +} diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index b48fb72b22..6b7f549c86 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -271,6 +271,12 @@ "reason": "PE agent installation instructions model added in e0db7ac7154 as part of the PE agent feature introduced on lts-4.4, which has no counterpart in CE. The candidate CE common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeInstructions.java shares only the instructions model boilerplate. Reviewed candidate at a0aff29ef42d3636473b017115a9334b48d54d15 (blob 409985284c6).", "contentHash": "sha256:ce067f7aad61fb79c44ac80ceda3b26e9908a8a648380097754ff9ee097256b1" }, + { + "path": "common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java", + "header": "busl", + "reason": "New PE file that does not exist in CE. It is the superclass of AiModel holding the fields shared with the configuration-free info view, so its field declarations and schema annotations repeat those of AiModel. Reviewed similarity candidate common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java at 269bc8dc73a.", + "contentHash": "sha256:d7b2034b532aa029c9ff49e794c57ba62fe674c0b502f73999b4204d5aa3b704" + }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/BlobEntityFields.java", "header": "busl", From 7351515978fee4a807bcc52907c472ef25496a56 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 28 Oct 2026 14:03:06 +0200 Subject: [PATCH 046/275] fix(iot-hub): keep entities other packages use and report a failed registration on device update - Entities other installed device packages use are kept as they are on update, as deleting the package already does, instead of being overwritten with this package's templates. - A version without a dashboard step keeps the installed dashboard only if it still exists; a deleted one is no longer tracked. - On update, Close reports the update as done only once the new version is registered. - A kept integration keeps httpEndpoint and baseUrl for the instructions. - The gateway output and docker-compose resolution are in one helper. PROD-9096 --- .../device-install-dialog.component.ts | 116 ++++++++++++------ 1 file changed, 79 insertions(+), 37 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 3daae22f31..c400003c26 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -62,16 +62,19 @@ export interface DeviceInstallDialogData { update?: DeviceInstallUpdate; } -/** - * The installed package an update changes. The steps of the new version change the entities - * the package created in place, so the device keeps its id, credentials and history. - */ -/** Update: an entity the installed version has for a step, and whether the user kept it as it was at install. */ +/** Update: an entity the installed version has for a step. */ interface PreviousEntity { output: EntityStepOutput; - useExisting: boolean; + // Taken as it is instead of overwritten: the user kept it at install, or another installed package uses it + keepAsIs: boolean; + // What the install state records for it, so that the next update decides again + resolution: string; } +/** + * The installed package an update changes. The steps of the new version change the entities + * the package created in place, so the device keeps its id, credentials and history. + */ export interface DeviceInstallUpdate { installedItemId: string; descriptor: DeviceInstalledItemDescriptor; @@ -244,6 +247,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); + // Update: ids of the package's entities that other installed device packages use, loaded once + private sharedEntityIds: Promise> | null = null; // Variable resolution state formValues: Record = {}; @@ -666,7 +671,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent id.id === previousDashboardId) ? { entityType: 'DASHBOARD', id: previousDashboardId } : undefined); const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, @@ -1390,15 +1392,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent> { + if (!this.sharedEntityIds) { + this.sharedEntityIds = firstValueFrom( + this.iotHubApiService.getInstalledItemKeptEntities(this.data.update.installedItemId, {ignoreLoading: true}) + ).then(kept => new Set(kept.entities.map(e => e.entityId.id))); + // A failed request is asked again on retry instead of being remembered + this.sharedEntityIds.catch(() => this.sharedEntityIds = null); + } + return this.sharedEntityIds; + } + private async loadPreviousEntity(step: DeviceInstallStep, id: string): Promise { const config = {ignoreErrors: true}; switch (step.type) { @@ -1780,8 +1801,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (previous.useExisting || step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { + if (previous.keepAsIs || step.type === InstallStepType.DEVICE || step.type === InstallStepType.GATEWAY) { return this.useExistingEntity(step, previous.output); } return this.overwriteEntity(step, previous.output, true); @@ -1871,6 +1892,27 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const previousDashboardId = this.data.update?.descriptor.dashboardId?.id; + if (!previousDashboardId || this.deletedPreviousIds.has(previousDashboardId)) { + return undefined; + } + try { + await firstValueFrom(this.dashboardService.getDashboardInfo(previousDashboardId, {ignoreErrors: true})); + return { entityType: 'DASHBOARD', id: previousDashboardId }; + } catch (e: any) { + if (e?.status === 404) { + this.deletedPreviousIds.add(previousDashboardId); + return undefined; + } + throw e; + } + } + private findCreatedDashboardId(): { entityType: string; id: string } | undefined { for (const ws of this.wizardSteps) { if (ws.type === 'progress' && ws.entitySteps) { From 671b3e77a975f1bb7c1121fa0edba446675eda96 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 14:13:27 +0200 Subject: [PATCH 047/275] Change from availableViaApi to customerAccessEnabled. Exclude by default invoke from readonly roles --- .../upgrade/lts/4.4.1.0/schema_update.sql | 2 +- .../server/controller/AiModelController.java | 22 ++--- .../permission/CustomerUserPermissions.java | 11 ++- .../controller/AiModelControllerTest.java | 98 ++++++++++++++----- .../server/dao/ai/AiModelService.java | 4 +- .../server/common/data/ai/AiModel.java | 4 +- .../server/common/data/ai/AiModelInfo.java | 9 +- .../thingsboard/server/dao/ai/AiModelDao.java | 2 +- .../server/dao/ai/AiModelInfoDao.java | 2 +- .../server/dao/ai/AiModelServiceImpl.java | 8 +- .../server/dao/model/ModelConstants.java | 2 +- .../server/dao/model/sql/AiModelEntity.java | 8 +- .../dao/model/sql/AiModelInfoEntity.java | 6 +- .../dao/sql/ai/AiModelInfoRepository.java | 4 +- .../server/dao/sql/ai/AiModelRepository.java | 6 +- .../server/dao/sql/ai/JpaAiModelDao.java | 4 +- .../server/dao/sql/ai/JpaAiModelInfoDao.java | 4 +- .../main/resources/sql/schema-entities.sql | 16 +-- .../python/license-headers/curations.json | 2 +- .../ai-model/ai-model-dialog.component.html | 6 +- .../ai-model/ai-model-dialog.component.ts | 2 +- .../src/app/shared/models/ai-model.models.ts | 2 +- .../assets/locale/locale.constant-da_DK.json | 4 +- .../assets/locale/locale.constant-de_DE.json | 4 +- .../assets/locale/locale.constant-el_GR.json | 4 +- .../assets/locale/locale.constant-en_US.json | 4 +- .../assets/locale/locale.constant-es_ES.json | 4 +- .../assets/locale/locale.constant-fr_FR.json | 4 +- .../assets/locale/locale.constant-hi_IN.json | 4 +- .../assets/locale/locale.constant-it_IT.json | 4 +- .../assets/locale/locale.constant-ja_JP.json | 4 +- .../assets/locale/locale.constant-ko_KR.json | 4 +- .../assets/locale/locale.constant-lt_LT.json | 4 +- .../assets/locale/locale.constant-nl_NL.json | 4 +- .../assets/locale/locale.constant-no_NO.json | 4 +- .../assets/locale/locale.constant-pt_BR.json | 4 +- .../assets/locale/locale.constant-tr_TR.json | 4 +- .../assets/locale/locale.constant-uk_UA.json | 4 +- .../assets/locale/locale.constant-zh_CN.json | 4 +- .../assets/locale/locale.constant-zh_TW.json | 4 +- 40 files changed, 174 insertions(+), 122 deletions(-) diff --git a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql index 78aa309ba5..8779620567 100644 --- a/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql +++ b/application/src/main/data/upgrade/lts/4.4.1.0/schema_update.sql @@ -7,4 +7,4 @@ -- when the calculated field actors initialize, otherwise scans the whole table and sorts on each call. CREATE INDEX IF NOT EXISTS idx_calculated_field_tenant_id_id ON calculated_field(tenant_id, id); -ALTER TABLE ai_model ADD COLUMN IF NOT EXISTS available_via_api BOOLEAN NOT NULL DEFAULT FALSE; +ALTER TABLE ai_model ADD COLUMN IF NOT EXISTS customer_access_enabled BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index ef060cda0d..d0102a4ecf 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -111,19 +111,20 @@ class AiModelController extends BaseController { @RequestParam(required = false) String sortProperty, @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) @RequestParam(required = false) String sortOrder, - @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") - @RequestParam(required = false) Boolean availableViaApi + @Parameter(description = "Filter by the 'customer access enabled' flag; all models are returned when omitted") + @RequestParam(required = false) Boolean customerAccessEnabled ) throws ThingsboardException { var user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.READ); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); - return aiModelService.findAiModelsByTenantId(user.getTenantId(), availableViaApi, pageLink); + return aiModelService.findAiModelsByTenantId(user.getTenantId(), customerAccessEnabled, pageLink); } @ApiOperation( value = "Get AI model infos (getAiModelInfos)", notes = "Returns a page of AI model infos: AI models without the configuration and its provider credentials. " + - "Requires the 'INVOKE' permission for AI models, so it lists the models a user can choose from to send chat requests to. " + + "Requires the 'INVOKE' permission for AI models. " + + "Customer users only get the models with customer access enabled, which are the ones they can send chat requests to. " + PAGE_DATA_PARAMETERS + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH ) @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") @@ -139,13 +140,13 @@ class AiModelController extends BaseController { @RequestParam(required = false) String sortProperty, @Parameter(description = SORT_ORDER_DESCRIPTION, schema = @Schema(allowableValues = {"ASC", "DESC"})) @RequestParam(required = false) String sortOrder, - @Parameter(description = "Filter by the 'available via API' flag; all models are returned when omitted") - @RequestParam(required = false) Boolean availableViaApi + @Parameter(description = "Filter by the 'customer access enabled' flag; all models are returned when omitted. Ignored for customer users") + @RequestParam(required = false) Boolean customerAccessEnabled ) throws ThingsboardException { var user = getCurrentUser(); accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.INVOKE); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); - return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), availableViaApi, pageLink); + return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), user.isCustomerUser() ? Boolean.TRUE : customerAccessEnabled, pageLink); } @ApiOperation( @@ -195,9 +196,9 @@ class AiModelController extends BaseController { value = "Send request to a saved AI chat model (sendChatRequestToAiModel)", notes = "Submits a single prompt - made up of an optional system message and a required user message - to the AI chat model " + "with the specified `id`, using its saved configuration, and returns either the generated answer or an error envelope. " + - "The model must be marked as available via API, and the user must have the 'INVOKE' permission for AI models. " + + "The user must have the 'INVOKE' permission for AI models, and customer users additionally require the model to have customer access enabled. " + "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE', " + - "so marking a model as available via API makes it callable by every user with such a role." + + "so enabling customer access makes the model callable by every customer user with such a role." + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH ) @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") @@ -212,9 +213,6 @@ class AiModelController extends BaseController { @Valid @RequestBody TbChatRequest tbChatRequest ) throws ThingsboardException { AiModel model = checkAiModelId(new AiModelId(modelUuid), Operation.INVOKE); - if (!model.isAvailableViaApi()) { - throw new ThingsboardException("AI model with id [" + modelUuid + "] is not available via API", ThingsboardErrorCode.PERMISSION_DENIED); - } if (!(model.getConfiguration() instanceof AiChatModelConfig chatModelConfig)) { throw new ThingsboardException("AI model with id [" + modelUuid + "] is not a chat model", ThingsboardErrorCode.BAD_REQUEST_PARAMS); } diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index 14223b4321..e2da30f57f 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -11,6 +11,7 @@ import org.thingsboard.server.common.data.HasOwnerId; import org.thingsboard.server.common.data.ResourceType; import org.thingsboard.server.common.data.TbResourceInfo; import org.thingsboard.server.common.data.TenantEntity; +import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.alarm.Alarm; import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; import org.thingsboard.server.common.data.exception.ThingsboardException; @@ -489,7 +490,7 @@ public class CustomerUserPermissions extends AbstractPermissions { }; // Only INVOKE is grantable: reading the model would expose the provider credentials stored in its configuration. - // Roles granting ALL include INVOKE, so the model's 'availableViaApi' flag decides which models such users can call. + // Roles granting ALL include INVOKE, so the model's 'customerAccessEnabled' flag decides which models such users can call. private static final PermissionChecker aiModelPermissionChecker = new PermissionChecker() { @Override @@ -499,7 +500,13 @@ public class CustomerUserPermissions extends AbstractPermissions { @Override public boolean hasPermission(SecurityUser user, Operation operation, EntityId entityId, TenantEntity entity) { - if (operation != Operation.INVOKE || !user.getTenantId().equals(entity.getTenantId())) { + if (operation != Operation.INVOKE) { + return false; + } + if (!user.getTenantId().equals(entity.getTenantId())) { + return false; + } + if (!(entity instanceof AiModelInfo model) || !model.isCustomerAccessEnabled()) { return false; } return user.getUserPermissions().hasGenericPermission(Resource.AI_MODEL, operation); diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index ad7e102683..fde826c47a 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -92,24 +92,24 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(savedModel.getTenantId()).isEqualTo(tenantId); assertThat(savedModel.getName()).isEqualTo("Test model"); assertThat(savedModel.getConfiguration()).isEqualTo(model.getConfiguration()); - assertThat(savedModel.isAvailableViaApi()).isFalse(); + assertThat(savedModel.isCustomerAccessEnabled()).isFalse(); assertThat(savedModel.getExternalId()).isNull(); } @Test - public void saveAiModel_whenAvailableViaApiIsSet_shouldPersistIt() throws Exception { + public void saveAiModel_whenCustomerAccessEnabledIsSet_shouldPersistIt() throws Exception { // GIVEN loginTenantAdmin(); AiModel model = constructValidOpenAiModel("Test model"); - model.setAvailableViaApi(true); + model.setCustomerAccessEnabled(true); // WHEN var savedModel = doPost("/api/ai/model", model, AiModel.class); // THEN - assertThat(savedModel.isAvailableViaApi()).isTrue(); - assertThat(doGet("/api/ai/model/" + savedModel.getId(), AiModel.class).isAvailableViaApi()).isTrue(); + assertThat(savedModel.isCustomerAccessEnabled()).isTrue(); + assertThat(doGet("/api/ai/model/" + savedModel.getId(), AiModel.class).isCustomerAccessEnabled()).isTrue(); } @Test @@ -306,25 +306,44 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void sendChatRequestToAiModel_whenModelIsNotAvailableViaApi_shouldReturnForbidden() throws Exception { + public void sendChatRequestToAiModel_whenTenantAdminAndCustomerAccessDisabled_shouldBeAllowed() throws Exception { // GIVEN loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(false); + SsrfProtectionValidator.setEnabled(true); - var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + try { + // WHEN + TbChatResponse response = doPostAsync("/api/ai/model/" + model.getId() + "/chat", constructChatRequest(), TbChatResponse.class, status().isOk()); + + // THEN + assertThat(response).isInstanceOf(TbChatResponse.Failure.class); + assertThat(((TbChatResponse.Failure) response).errorDetails()).contains("URI is invalid"); + } finally { + SsrfProtectionValidator.setEnabled(false); + } + } + + @Test + public void sendChatRequestToAiModel_whenCustomerAdminAndCustomerAccessDisabled_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(false); + loginCustomerAdminUser(); // WHEN ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); // THEN result.andExpect(status().isForbidden()) - .andExpect(statusReason(is("AI model with id [" + model.getId() + "] is not available via API"))); + .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); } @Test public void sendChatRequestToAiModel_whenTenantAdmin_shouldUseStoredConfigurationAndReturnProviderError() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var model = saveModelWithBlockedBaseUrl(); SsrfProtectionValidator.setEnabled(true); try { @@ -343,7 +362,7 @@ public class AiModelControllerTest extends AbstractControllerTest { public void sendChatRequestToAiModel_whenCustomerAdmin_shouldBeAllowedAndHideProviderError() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var model = saveModelWithBlockedBaseUrl(); loginCustomerAdminUser(); SsrfProtectionValidator.setEnabled(true); @@ -363,7 +382,7 @@ public class AiModelControllerTest extends AbstractControllerTest { public void sendChatRequestToAiModel_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var model = saveModelWithBlockedBaseUrl(); loginCustomerUser(); // WHEN @@ -380,7 +399,9 @@ public class AiModelControllerTest extends AbstractControllerTest { public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowInvokeOnly() throws Exception { // GIVEN loginTenantAdmin(); - var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + var modelConfig = constructValidOpenAiModel("Test model"); + modelConfig.setCustomerAccessEnabled(true); + var model = doPost("/api/ai/model", modelConfig, AiModel.class); loginCustomerAdminUser(); // WHEN / THEN @@ -390,6 +411,20 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(hasAiModelPermission(model, "DELETE")).isFalse(); } + @Test + public void aiModelPermission_whenCustomerAccessDisabled_shouldDenyInvokeForCustomerAdminOnly() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + + // WHEN / THEN + assertThat(model.isCustomerAccessEnabled()).isFalse(); + assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); + + loginCustomerAdminUser(); + assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); + } + @Test public void aiModelPermission_whenCustomerUserGrantedReadOnAllResources_shouldDenyReadAndInvoke() throws Exception { // GIVEN @@ -601,18 +636,18 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModels_testFilterByAvailableViaApi() throws Exception { + public void getAiModels_testFilterByCustomerAccessEnabled() throws Exception { // GIVEN loginTenantAdmin(); var available = constructValidOpenAiModel("Available model"); - available.setAvailableViaApi(true); + available.setCustomerAccessEnabled(true); available = doPost("/api/ai/model", available, AiModel.class); var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); // WHEN - PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); - PageData onlyUnavailable = doGetTypedWithPageLink("/api/ai/model?availableViaApi=false&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model?customerAccessEnabled=true&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyUnavailable = doGetTypedWithPageLink("/api/ai/model?customerAccessEnabled=false&", new TypeReference<>() {}, new PageLink(10)); PageData all = doGetTypedWithPageLink("/api/ai/model?", new TypeReference<>() {}, new PageLink(10)); // THEN @@ -648,17 +683,17 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByAvailableViaApi() throws Exception { + public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByCustomerAccessEnabled() throws Exception { // GIVEN loginTenantAdmin(); var available = constructValidOpenAiModel("Available model"); - available.setAvailableViaApi(true); + available.setCustomerAccessEnabled(true); available = doPost("/api/ai/model", available, AiModel.class); var unavailable = doPost("/api/ai/model", constructValidOpenAiModel("Unavailable model"), AiModel.class); // WHEN - PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model/infos?availableViaApi=true&", new TypeReference<>() {}, new PageLink(10)); + PageData onlyAvailable = doGetTypedWithPageLink("/api/ai/model/infos?customerAccessEnabled=true&", new TypeReference<>() {}, new PageLink(10)); PageData all = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, new PageLink(10)); // THEN @@ -708,18 +743,21 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModelInfos_whenCustomerAdmin_shouldReturnInfosWithoutConfiguration() throws Exception { + public void getAiModelInfos_whenCustomerAdmin_shouldReturnOnlyCustomerAccessibleInfosWithoutConfiguration() throws Exception { // GIVEN loginTenantAdmin(); - var model = saveModelAvailableViaApiWithBlockedBaseUrl(); + var accessible = saveModelWithBlockedBaseUrl("Accessible model", true); + var notAccessible = saveModelWithBlockedBaseUrl("Not accessible model", false); loginCustomerAdminUser(); // WHEN - String response = doGet("/api/ai/model/infos?pageSize=10&page=0").andExpect(status().isOk()) + String response = doGet("/api/ai/model/infos?pageSize=10&page=0&customerAccessEnabled=false").andExpect(status().isOk()) .andReturn().getResponse().getContentAsString(); // THEN - assertThat(response).contains(model.getId().getId().toString()).doesNotContain("test-api-key"); + assertThat(response).contains(accessible.getId().getId().toString()) + .doesNotContain(notAccessible.getId().getId().toString()) + .doesNotContain("test-api-key"); } @Test @@ -983,7 +1021,15 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(deleted).isFalse(); } - private AiModel saveModelAvailableViaApiWithBlockedBaseUrl() throws Exception { + private AiModel saveModelWithBlockedBaseUrl() throws Exception { + return saveModelWithBlockedBaseUrl(true); + } + + private AiModel saveModelWithBlockedBaseUrl(boolean customerAccessEnabled) throws Exception { + return saveModelWithBlockedBaseUrl("Test model", customerAccessEnabled); + } + + private AiModel saveModelWithBlockedBaseUrl(String name, boolean customerAccessEnabled) throws Exception { var modelConfig = OpenAiChatModelConfig.builder() .providerConfig(OpenAiProviderConfig.builder() .baseUrl("http://10.0.0.1:8080/") @@ -994,9 +1040,9 @@ public class AiModelControllerTest extends AbstractControllerTest { var model = AiModel.builder() .tenantId(tenantId) - .name("Test model") + .name(name) .configuration(modelConfig) - .availableViaApi(true) + .customerAccessEnabled(customerAccessEnabled) .build(); return doPost("/api/ai/model", model, AiModel.class); diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java index 8b0796cfff..f61b54f291 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/ai/AiModelService.java @@ -24,9 +24,9 @@ public interface AiModelService extends EntityDaoService { PageData findAiModelsByTenantId(TenantId tenantId, PageLink pageLink); - PageData findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findAiModelsByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); - PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); Optional findAiModelByTenantIdAndId(TenantId tenantId, AiModelId modelId); diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java index dbd3d941e0..8f8231c6ef 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java @@ -44,11 +44,11 @@ public final class AiModel extends AiModelInfo implements ExportableEntity implements TenantEntity, Ha @Schema( requiredMode = Schema.RequiredMode.NOT_REQUIRED, accessMode = Schema.AccessMode.READ_WRITE, - description = "Whether the model can be used via the AI model chat API by users with the 'INVOKE' permission. " + - "Roles that grant all operations, such as the default 'Customer Administrator' role, include 'INVOKE'", + description = "Whether customer users with the 'INVOKE' permission for AI models can send chat requests to the model, " + + "such as users with the default 'Customer Administrator' role, which grants all operations. " + + "Tenant administrators with the 'INVOKE' permission can use the model regardless of this flag", defaultValue = "false" ) - private boolean availableViaApi; + private boolean customerAccessEnabled; @Schema( accessMode = Schema.AccessMode.READ_ONLY, @@ -89,7 +90,7 @@ public class AiModelInfo extends BaseData implements TenantEntity, Ha tenantId = modelInfo.getTenantId(); version = modelInfo.getVersion(); name = modelInfo.getName(); - availableViaApi = modelInfo.isAvailableViaApi(); + customerAccessEnabled = modelInfo.isCustomerAccessEnabled(); provider = modelInfo.getProvider(); modelId = modelInfo.getModelId(); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java index 84be4e779e..0614aabf82 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelDao.java @@ -18,7 +18,7 @@ public interface AiModelDao extends TenantEntityDao, ExportableEntityDa Optional findByTenantIdAndId(TenantId tenantId, AiModelId modelId); - PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); boolean deleteById(TenantId tenantId, AiModelId modelId); diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java index 057a4fb1e6..06617a7b49 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelInfoDao.java @@ -10,6 +10,6 @@ import org.thingsboard.server.dao.Dao; public interface AiModelInfoDao extends Dao { - PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink); + PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java index cff4f2855d..400cb0b1df 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/ai/AiModelServiceImpl.java @@ -98,15 +98,15 @@ class AiModelServiceImpl extends CachedVersionedEntityService findAiModelsByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findAiModelsByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); - return aiModelDao.findByTenantId(tenantId, availableViaApi, pageLink); + return aiModelDao.findByTenantId(tenantId, customerAccessEnabled, pageLink); } @Override - public PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findAiModelInfosByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { validatePageLink(pageLink, AiModelEntity.ALLOWED_SORT_PROPERTIES); - return aiModelInfoDao.findByTenantId(tenantId, availableViaApi, pageLink); + return aiModelInfoDao.findByTenantId(tenantId, customerAccessEnabled, pageLink); } @Override diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java index b32788a06a..d69f97d11c 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java @@ -1085,7 +1085,7 @@ public class ModelConstants { public static final String AI_MODEL_TENANT_ID_COLUMN_NAME = TENANT_ID_COLUMN; public static final String AI_MODEL_NAME_COLUMN_NAME = NAME_PROPERTY; public static final String AI_MODEL_CONFIGURATION_COLUMN_NAME = "configuration"; - public static final String AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME = "available_via_api"; + public static final String AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME = "customer_access_enabled"; /** * Api Key constants. diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index a809bf1808..8393fdc485 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -54,8 +54,8 @@ public class AiModelEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_CONFIGURATION_COLUMN_NAME, nullable = false, columnDefinition = "JSONB") private AiModelConfig configuration; - @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME, nullable = false) - private boolean availableViaApi; + @Column(name = ModelConstants.AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME, nullable = false) + private boolean customerAccessEnabled; @Column(name = ModelConstants.EXTERNAL_ID_PROPERTY, columnDefinition = "UUID") private UUID externalId; @@ -67,7 +67,7 @@ public class AiModelEntity extends BaseVersionedEntity { tenantId = getTenantUuid(aiModel.getTenantId()); name = aiModel.getName(); configuration = aiModel.getConfiguration(); - availableViaApi = aiModel.isAvailableViaApi(); + customerAccessEnabled = aiModel.isCustomerAccessEnabled(); externalId = getUuid(aiModel.getExternalId()); } @@ -79,7 +79,7 @@ public class AiModelEntity extends BaseVersionedEntity { model.setTenantId(TenantId.fromUUID(tenantId)); model.setName(name); model.setConfiguration(configuration); - model.setAvailableViaApi(availableViaApi); + model.setCustomerAccessEnabled(customerAccessEnabled); model.setExternalId(getEntityId(externalId, AiModelId::new)); return model; } diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java index d7ef8070e4..447e9ab38e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java @@ -32,8 +32,8 @@ public class AiModelInfoEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_NAME_COLUMN_NAME) private String name; - @Column(name = ModelConstants.AI_MODEL_AVAILABLE_VIA_API_COLUMN_NAME) - private boolean availableViaApi; + @Column(name = ModelConstants.AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME) + private boolean customerAccessEnabled; @Formula("configuration ->> 'provider'") private String provider; @@ -50,7 +50,7 @@ public class AiModelInfoEntity extends BaseVersionedEntity { modelInfo.setVersion(version); modelInfo.setTenantId(TenantId.fromUUID(tenantId)); modelInfo.setName(name); - modelInfo.setAvailableViaApi(availableViaApi); + modelInfo.setCustomerAccessEnabled(customerAccessEnabled); modelInfo.setProvider(provider != null ? AiProvider.valueOf(provider) : null); modelInfo.setModelId(modelId); return modelInfo; diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java index 49610c224c..df8906ea36 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelInfoRepository.java @@ -14,13 +14,13 @@ import java.util.UUID; interface AiModelInfoRepository extends JpaRepository { @Query("SELECT m FROM AiModelInfoEntity m WHERE m.tenantId = :tenantId " + - "AND (:availableViaApi IS NULL OR m.availableViaApi = :availableViaApi) " + + "AND (:customerAccessEnabled IS NULL OR m.customerAccessEnabled = :customerAccessEnabled) " + "AND (:textSearch IS NULL " + "OR ilike(m.name, CONCAT('%', :textSearch, '%')) = true " + "OR ilike(REPLACE(m.provider, '_', ' '), CONCAT('%', :textSearch, '%')) = true " + "OR ilike(m.modelId, CONCAT('%', :textSearch, '%')) = true)") Page findByTenantId(@Param("tenantId") UUID tenantId, - @Param("availableViaApi") Boolean availableViaApi, + @Param("customerAccessEnabled") Boolean customerAccessEnabled, @Param("textSearch") String textSearch, Pageable pageable); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java index 25e6589a1f..b033d13d42 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java @@ -30,7 +30,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT * FROM ai_model model WHERE model.tenant_id = :tenantId - AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) + AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -40,7 +40,7 @@ interface AiModelRepository extends JpaRepository, Exportab SELECT COUNT(*) FROM ai_model model WHERE model.tenant_id = :tenantId - AND (CAST(:availableViaApi AS BOOLEAN) IS NULL OR model.available_via_api = CAST(:availableViaApi AS BOOLEAN)) + AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) AND (:textSearch IS NULL OR model.name ILIKE '%' || :textSearch || '%' OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' @@ -49,7 +49,7 @@ interface AiModelRepository extends JpaRepository, Exportab nativeQuery = true ) Page findByTenantId(@Param("tenantId") UUID tenantId, - @Param("availableViaApi") Boolean availableViaApi, + @Param("customerAccessEnabled") Boolean customerAccessEnabled, @Param("textSearch") String textSearch, Pageable pageable); diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java index 92d9829b68..1312376ef2 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelDao.java @@ -65,9 +65,9 @@ class JpaAiModelDao extends JpaAbstractDao implements Ai } @Override - public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { return DaoUtil.toPageData(aiModelRepository.findByTenantId( - tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) + tenantId.getId(), customerAccessEnabled, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), toPageRequest(pageLink)) ); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java index cfd3ec9d4a..3bf3be8d52 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/JpaAiModelInfoDao.java @@ -26,9 +26,9 @@ class JpaAiModelInfoDao extends JpaAbstractDao i private final AiModelInfoRepository aiModelInfoRepository; @Override - public PageData findByTenantId(TenantId tenantId, Boolean availableViaApi, PageLink pageLink) { + public PageData findByTenantId(TenantId tenantId, Boolean customerAccessEnabled, PageLink pageLink) { return DaoUtil.toPageData(aiModelInfoRepository.findByTenantId( - tenantId.getId(), availableViaApi, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), DaoUtil.toPageable(pageLink)) + tenantId.getId(), customerAccessEnabled, StringUtils.defaultIfEmpty(pageLink.getTextSearch(), null), DaoUtil.toPageable(pageLink)) ); } diff --git a/dao/src/main/resources/sql/schema-entities.sql b/dao/src/main/resources/sql/schema-entities.sql index 9de7393439..cce079ace3 100644 --- a/dao/src/main/resources/sql/schema-entities.sql +++ b/dao/src/main/resources/sql/schema-entities.sql @@ -1369,14 +1369,14 @@ CREATE TABLE IF NOT EXISTS report ( ) PARTITION BY RANGE (created_time); CREATE TABLE IF NOT EXISTS ai_model ( - id UUID NOT NULL PRIMARY KEY, - external_id UUID, - created_time BIGINT NOT NULL, - tenant_id UUID NOT NULL, - version BIGINT NOT NULL DEFAULT 1, - name VARCHAR(255) NOT NULL, - configuration JSONB NOT NULL, - available_via_api BOOLEAN NOT NULL DEFAULT FALSE, + id UUID NOT NULL PRIMARY KEY, + external_id UUID, + created_time BIGINT NOT NULL, + tenant_id UUID NOT NULL, + version BIGINT NOT NULL DEFAULT 1, + name VARCHAR(255) NOT NULL, + configuration JSONB NOT NULL, + customer_access_enabled BOOLEAN NOT NULL DEFAULT FALSE, CONSTRAINT ai_model_name_unq_key UNIQUE (tenant_id, name), CONSTRAINT ai_model_external_id_unq_key UNIQUE (tenant_id, external_id) ); diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index 6b7f549c86..e4e74bdb44 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -275,7 +275,7 @@ "path": "common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java", "header": "busl", "reason": "New PE file that does not exist in CE. It is the superclass of AiModel holding the fields shared with the configuration-free info view, so its field declarations and schema annotations repeat those of AiModel. Reviewed similarity candidate common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java at 269bc8dc73a.", - "contentHash": "sha256:d7b2034b532aa029c9ff49e794c57ba62fe674c0b502f73999b4204d5aa3b704" + "contentHash": "sha256:650bd82c42a513c19af48ba986481cd5a56f9f3491a9282deff76fccec64c4d0" }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/BlobEntityFields.java", diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html index e40df84fc0..e78aede310 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.html @@ -40,9 +40,9 @@ }
- - {{ 'ai-models.available-via-api' | translate }} + tb-hint-tooltip-icon="{{ 'ai-models.customer-access-hint' | translate }}"> + + {{ 'ai-models.customer-access' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts index fe89bbea4c..472c3502b1 100644 --- a/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/ai-model/ai-model-dialog.component.ts @@ -90,7 +90,7 @@ export class AIModelDialogComponent extends DialogComponent, 'label'>, HasTenantId, ExportableEntity { modelType: ModelType; - availableViaApi?: boolean; + customerAccessEnabled?: boolean; configuration: { provider: AiProvider providerConfig: { diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index 302826f355..61e57435a2 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -1767,8 +1767,8 @@ "model": "Model", "name": "Navn", "ai-provider": "AI-udbyder", - "available-via-api": "Tilgængelig via API", - "available-via-api-hint": "Giver brugere med tilladelsen 'Kald' for AI-modeller mulighed for at sende chatforespørgsler til denne model via REST API, f.eks. fra Trendz Analytics. Roller, der giver alle handlinger, såsom standardrollen 'Customer Administrator', omfatter 'Kald', så alle brugere med en sådan rolle kan kalde denne model. Modellens konfiguration og legitimationsoplysninger vises aldrig. Kundebrugere kan kun tildeles handlingen 'Kald' for AI-modeller.", + "customer-access": "Kundeadgang", + "customer-access-hint": "Giver kundebrugere med tilladelsen 'Kald' for AI-modeller mulighed for at sende chatforespørgsler til denne model via REST API, f.eks. fra Trendz Analytics. Roller, der giver alle handlinger, såsom standardrollen 'Customer Administrator', omfatter 'Kald', så alle kundebrugere med en sådan rolle kan kalde denne model. Lejeradministratorer med tilladelsen 'Kald' kan kalde modellen uanset denne indstilling. Modellens konfiguration og legitimationsoplysninger eksponeres aldrig.", "no-found": "Ingen AI-modeller fundet", "list": "{ count, plural, =1 {Én model} other {Liste med # modeller} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modeller} } valgt", diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 828e53496b..fa001cf17f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -1880,8 +1880,8 @@ "model": "Modell", "name": "Name", "ai-provider": "KI-Anbieter", - "available-via-api": "Über API verfügbar", - "available-via-api-hint": "Erlaubt Benutzern mit der Berechtigung 'Aufrufen' für KI-Modelle, über die REST-API Chat-Anfragen an dieses Modell zu senden, z. B. aus Trendz Analytics. Rollen, die alle Operationen gewähren, wie die Standardrolle 'Customer Administrator', enthalten 'Aufrufen', sodass jeder Benutzer mit einer solchen Rolle dieses Modell aufrufen kann. Die Modellkonfiguration und die Zugangsdaten werden nie offengelegt. Kundenbenutzern kann für KI-Modelle nur die Operation 'Aufrufen' gewährt werden.", + "customer-access": "Kundenzugriff", + "customer-access-hint": "Erlaubt Kundenbenutzern mit der Berechtigung 'Aufrufen' für KI-Modelle, über die REST-API Chat-Anfragen an dieses Modell zu senden, z. B. aus Trendz Analytics. Rollen, die alle Operationen gewähren, wie die Standardrolle 'Customer Administrator', enthalten 'Aufrufen', sodass jeder Kundenbenutzer mit einer solchen Rolle dieses Modell aufrufen kann. Mandantenadministratoren mit der Berechtigung 'Aufrufen' können das Modell unabhängig von dieser Einstellung aufrufen. Die Modellkonfiguration und die Zugangsdaten werden nie offengelegt.", "no-found": "Keine KI-Modelle gefunden", "list": "{ count, plural, one {Ein Modell} other {Liste von # Modellen} }", "selected-fields": "{ count, plural, one {# Modell} other {# Modelle} } ausgewählt", diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index eace9b01f5..a7b89e995d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -1767,8 +1767,8 @@ "model": "Μοντέλο", "name": "Όνομα", "ai-provider": "Πάροχος AI", - "available-via-api": "Διαθέσιμο μέσω API", - "available-via-api-hint": "Επιτρέπει σε χρήστες με το δικαίωμα 'Κλήση' για μοντέλα AI να στέλνουν αιτήματα συνομιλίας σε αυτό το μοντέλο μέσω REST API, π.χ. από το Trendz Analytics. Οι ρόλοι που παρέχουν όλες τις λειτουργίες, όπως ο προεπιλεγμένος ρόλος 'Customer Administrator', περιλαμβάνουν την 'Κλήση', οπότε κάθε χρήστης με τέτοιο ρόλο μπορεί να καλέσει αυτό το μοντέλο. Η διαμόρφωση και τα διαπιστευτήρια του μοντέλου δεν εκτίθενται ποτέ. Στους χρήστες πελατών μπορεί να εκχωρηθεί μόνο η λειτουργία 'Κλήση' για μοντέλα AI.", + "customer-access": "Πρόσβαση πελατών", + "customer-access-hint": "Επιτρέπει σε χρήστες πελατών με το δικαίωμα 'Κλήση' για μοντέλα AI να στέλνουν αιτήματα συνομιλίας σε αυτό το μοντέλο μέσω REST API, π.χ. από το Trendz Analytics. Οι ρόλοι που παρέχουν όλες τις λειτουργίες, όπως ο προεπιλεγμένος ρόλος 'Customer Administrator', περιλαμβάνουν την 'Κλήση', οπότε κάθε χρήστης πελάτη με τέτοιο ρόλο μπορεί να καλεί αυτό το μοντέλο. Οι διαχειριστές μισθωτή με το δικαίωμα 'Κλήση' μπορούν να καλούν το μοντέλο ανεξάρτητα από αυτή τη ρύθμιση. Η διαμόρφωση του μοντέλου και τα διαπιστευτήρια δεν εκτίθενται ποτέ.", "no-found": "Δεν βρέθηκαν μοντέλα AI", "list": "{ count, plural, =1 {Ένα μοντέλο} other {Λίστα με # μοντέλα} }", "selected-fields": "{ count, plural, =1 {1 μοντέλο} other {# μοντέλα} } επιλεγμένα", diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 1e00a8cefb..4dae7f4ca8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -1882,8 +1882,8 @@ "model": "Model", "name": "Name", "ai-provider": "AI provider", - "available-via-api": "Available via API", - "available-via-api-hint": "Allows users with the 'Invoke' permission for AI models to send chat requests to this model via REST API, e.g. from Trendz Analytics. Roles that grant all operations, such as the default 'Customer Administrator' role, include 'Invoke', so every user with such a role can call this model. The model configuration and credentials are never exposed. Customer users can only be granted the 'Invoke' operation for AI models.", + "customer-access": "Customer access", + "customer-access-hint": "Allows customer users with the 'Invoke' permission for AI models to send chat requests to this model via REST API, e.g. from Trendz Analytics. Roles that grant all operations, such as the default 'Customer Administrator' role, include 'Invoke', so every customer user with such a role can call this model. Tenant administrators with the 'Invoke' permission can call the model regardless of this setting. The model configuration and credentials are never exposed.", "no-found": "No AI models found", "list": "{ count, plural, =1 {One model} other {List of # models} }", "selected-fields": "{ count, plural, =1 {1 model} other {# models} } selected", diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index f7299e6a82..65ec4db177 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -1880,8 +1880,8 @@ "model": "Modelo", "name": "Nombre", "ai-provider": "Proveedor de IA", - "available-via-api": "Disponible mediante API", - "available-via-api-hint": "Permite a los usuarios con el permiso 'Invocar' para modelos de IA enviar solicitudes de chat a este modelo mediante la API REST, p. ej., desde Trendz Analytics. Los roles que conceden todas las operaciones, como el rol predeterminado 'Customer Administrator', incluyen 'Invocar', por lo que cualquier usuario con dicho rol puede llamar a este modelo. La configuración y las credenciales del modelo nunca se exponen. A los usuarios de cliente solo se les puede conceder la operación 'Invocar' para modelos de IA.", + "customer-access": "Acceso de clientes", + "customer-access-hint": "Permite a los usuarios de clientes con el permiso 'Invocar' para modelos de IA enviar solicitudes de chat a este modelo mediante la API REST, p. ej., desde Trendz Analytics. Los roles que conceden todas las operaciones, como el rol predeterminado 'Customer Administrator', incluyen 'Invocar', por lo que cualquier usuario de cliente con dicho rol puede llamar a este modelo. Los administradores de inquilino con el permiso 'Invocar' pueden llamar al modelo independientemente de esta configuración. La configuración del modelo y las credenciales nunca se exponen.", "no-found": "No se encontraron modelos de IA", "list": "{ count, plural, =1 {Un modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } seleccionados", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index 136c4b31a3..b5f3f8af40 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -1880,8 +1880,8 @@ "model": "Modèle", "name": "Nom", "ai-provider": "Fournisseur d’IA", - "available-via-api": "Disponible via l’API", - "available-via-api-hint": "Permet aux utilisateurs disposant de l’autorisation « Invoquer » pour les modèles d’IA d’envoyer des requêtes de chat à ce modèle via l’API REST, par exemple depuis Trendz Analytics. Les rôles qui accordent toutes les opérations, comme le rôle par défaut « Customer Administrator », incluent « Invoquer » : tout utilisateur disposant d’un tel rôle peut donc appeler ce modèle. La configuration et les identifiants du modèle ne sont jamais exposés. Les utilisateurs client ne peuvent recevoir que l’opération « Invoquer » pour les modèles d’IA.", + "customer-access": "Accès client", + "customer-access-hint": "Permet aux utilisateurs clients disposant de l’autorisation « Invoquer » pour les modèles d’IA d’envoyer des requêtes de chat à ce modèle via l’API REST, par exemple depuis Trendz Analytics. Les rôles qui accordent toutes les opérations, comme le rôle par défaut « Customer Administrator », incluent « Invoquer » : tout utilisateur client disposant d’un tel rôle peut donc appeler ce modèle. Les administrateurs de locataire disposant de l’autorisation « Invoquer » peuvent appeler le modèle quel que soit ce paramètre. La configuration du modèle et les identifiants ne sont jamais exposés.", "no-found": "Aucun modèle d’IA trouvé", "list": "{ count, plural, =1 {Un modèle} one {Liste de # modèle} other {Liste de # modèles} }", "selected-fields": "{ count, plural, one {# modèle sélectionné} other {# modèles sélectionnés} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 9284cbafd5..f67167d274 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -1767,8 +1767,8 @@ "model": "मॉडल", "name": "नाम", "ai-provider": "AI प्रदाता", - "available-via-api": "API के माध्यम से उपलब्ध", - "available-via-api-hint": "AI मॉडल के लिए 'इनवोक करें' अनुमति वाले उपयोगकर्ताओं को REST API के माध्यम से इस मॉडल को चैट अनुरोध भेजने की अनुमति देता है, जैसे Trendz Analytics से। सभी ऑपरेशन प्रदान करने वाली भूमिकाएँ, जैसे डिफ़ॉल्ट 'Customer Administrator' भूमिका, में 'इनवोक करें' शामिल है, इसलिए ऐसी भूमिका वाला हर उपयोगकर्ता इस मॉडल को कॉल कर सकता है। मॉडल का कॉन्फ़िगरेशन और क्रेडेंशियल कभी प्रकट नहीं किए जाते। ग्राहक उपयोगकर्ताओं को AI मॉडल के लिए केवल 'इनवोक करें' ऑपरेशन दिया जा सकता है।", + "customer-access": "ग्राहक पहुंच", + "customer-access-hint": "AI मॉडल के लिए 'इनवोक करें' अनुमति वाले ग्राहक उपयोगकर्ताओं को REST API के माध्यम से इस मॉडल को चैट अनुरोध भेजने की अनुमति देता है, जैसे Trendz Analytics से। सभी ऑपरेशन देने वाली भूमिकाएं, जैसे डिफ़ॉल्ट 'Customer Administrator' भूमिका, 'इनवोक करें' शामिल करती हैं, इसलिए ऐसी भूमिका वाला हर ग्राहक उपयोगकर्ता इस मॉडल को कॉल कर सकता है। 'इनवोक करें' अनुमति वाले टेनेंट व्यवस्थापक इस सेटिंग की परवाह किए बिना मॉडल को कॉल कर सकते हैं। मॉडल का कॉन्फ़िगरेशन और क्रेडेंशियल कभी उजागर नहीं होते।", "no-found": "कोई AI मॉडल नहीं मिला", "list": "{ count, plural, =1 {एक मॉडल} other {# मॉडलों की सूची} }", "selected-fields": "{ count, plural, =1 {1 मॉडल} other {# मॉडल्स} } चयनित", diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index f35c4d7105..e29b2aab04 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -1880,8 +1880,8 @@ "model": "Modello", "name": "Nome", "ai-provider": "Fornitore IA", - "available-via-api": "Disponibile tramite API", - "available-via-api-hint": "Consente agli utenti con il permesso 'Invocare' per i modelli IA di inviare richieste di chat a questo modello tramite REST API, ad es. da Trendz Analytics. I ruoli che concedono tutte le operazioni, come il ruolo predefinito 'Customer Administrator', includono 'Invocare', quindi ogni utente con tale ruolo può chiamare questo modello. La configurazione e le credenziali del modello non vengono mai esposte. Agli utenti cliente può essere concessa solo l'operazione 'Invocare' per i modelli IA.", + "customer-access": "Accesso clienti", + "customer-access-hint": "Consente agli utenti dei clienti con il permesso 'Invocare' per i modelli IA di inviare richieste di chat a questo modello tramite REST API, ad es. da Trendz Analytics. I ruoli che concedono tutte le operazioni, come il ruolo predefinito 'Customer Administrator', includono 'Invocare', quindi ogni utente cliente con tale ruolo può chiamare questo modello. Gli amministratori del tenant con il permesso 'Invocare' possono chiamare il modello indipendentemente da questa impostazione. La configurazione del modello e le credenziali non vengono mai esposte.", "no-found": "Nessun modello IA trovato", "list": "{ count, plural, =1 {Un modello} other {Elenco di # modelli} }", "selected-fields": "{ count, plural, =1 {1 modello} other {# modelli} } selezionati", diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index eda154ae1d..e9abfc45ec 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -1767,8 +1767,8 @@ "model": "モデル", "name": "名前", "ai-provider": "AIプロバイダー", - "available-via-api": "API経由で利用可能", - "available-via-api-hint": "AIモデルの「呼び出し」権限を持つユーザーが、REST APIを介して(例:Trendz Analyticsから)このモデルにチャットリクエストを送信できるようにします。デフォルトの「Customer Administrator」ロールなど、すべての操作を許可するロールには「呼び出し」が含まれるため、そのようなロールを持つすべてのユーザーがこのモデルを呼び出せます。モデルの設定と認証情報が公開されることはありません。顧客ユーザーには、AIモデルに対して「呼び出し」操作のみを付与できます。", + "customer-access": "顧客アクセス", + "customer-access-hint": "AIモデルの「呼び出し」権限を持つ顧客ユーザーが、REST APIを介して(例:Trendz Analyticsから)このモデルにチャットリクエストを送信できるようにします。デフォルトの「Customer Administrator」ロールなど、すべての操作を許可するロールには「呼び出し」が含まれるため、そのようなロールを持つすべての顧客ユーザーがこのモデルを呼び出せます。「呼び出し」権限を持つテナント管理者は、この設定に関係なくモデルを呼び出せます。モデルの設定と認証情報が公開されることはありません。", "no-found": "AIモデルが見つかりません", "list": "{ count, plural, =1 {AIモデル} other {AIモデル一覧 # 件} }", "selected-fields": "{ count, plural, =1 {1 件のAIモデル} other {# 件のAIモデル} } を選択", diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index 09d7fa0677..afbf4eb62f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -1607,8 +1607,8 @@ "model": "모델", "name": "이름", "ai-provider": "AI 제공자", - "available-via-api": "API를 통해 사용 가능", - "available-via-api-hint": "AI 모델에 대한 'Invoke' 권한이 있는 사용자가 REST API를 통해(예: Trendz Analytics에서) 이 모델에 채팅 요청을 보낼 수 있도록 합니다. 기본 'Customer Administrator' 역할처럼 모든 작업을 허용하는 역할에는 'Invoke'가 포함되므로 해당 역할을 가진 모든 사용자가 이 모델을 호출할 수 있습니다. 모델 구성과 자격 증명은 절대 노출되지 않습니다. 고객 사용자에게는 AI 모델에 대해 'Invoke' 작업만 부여할 수 있습니다.", + "customer-access": "고객 액세스", + "customer-access-hint": "AI 모델에 대한 'Invoke' 권한이 있는 고객 사용자가 REST API를 통해(예: Trendz Analytics에서) 이 모델에 채팅 요청을 보낼 수 있도록 합니다. 기본 'Customer Administrator' 역할처럼 모든 작업을 허용하는 역할에는 'Invoke'가 포함되므로 해당 역할을 가진 모든 고객 사용자가 이 모델을 호출할 수 있습니다. 'Invoke' 권한이 있는 테넌트 관리자는 이 설정과 관계없이 모델을 호출할 수 있습니다. 모델 구성과 자격 증명은 절대 노출되지 않습니다.", "no-found": "AI 모델이 없습니다", "list": "{ count, plural, =1 {1개 모델} other {#개 모델 목록} }", "selected-fields": "{ count, plural, =1 {1개 모델} other {#개 모델} } 선택됨", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index fda78b2d40..7c318a15e7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -1301,8 +1301,8 @@ "model": "Modelis", "name": "Pavadinimas", "ai-provider": "AI tiekėjas", - "available-via-api": "Pasiekiama per API", - "available-via-api-hint": "Leidžia naudotojams, turintiems AI modelių leidimą „Iškviesti“, siųsti pokalbių užklausas šiam modeliui per REST API, pvz., iš Trendz Analytics. Rolės, suteikiančios visas operacijas, pvz., numatytoji rolė „Customer Administrator“, apima „Iškviesti“, todėl kiekvienas naudotojas, turintis tokią rolę, gali iškviesti šį modelį. Modelio konfigūracija ir prisijungimo duomenys niekada neatskleidžiami. Kliento naudotojams AI modeliams gali būti suteikta tik operacija „Iškviesti“.", + "customer-access": "Klientų prieiga", + "customer-access-hint": "Leidžia klientų naudotojams, turintiems AI modelių leidimą „Iškviesti“, siųsti pokalbių užklausas šiam modeliui per REST API, pvz., iš Trendz Analytics. Rolės, suteikiančios visas operacijas, pvz., numatytoji rolė „Customer Administrator“, apima „Iškviesti“, todėl kiekvienas kliento naudotojas, turintis tokią rolę, gali iškviesti šį modelį. Nuomininko administratoriai, turintys leidimą „Iškviesti“, gali iškviesti modelį nepriklausomai nuo šio nustatymo. Modelio konfigūracija ir prisijungimo duomenys niekada neatskleidžiami.", "no-found": "AI modelių nerasta", "list": "{ count, plural, =1 {Vienas modelis} other {# modelių sąrašas} }", "selected-fields": "{ count, plural, =1 {1 modelis} other {# modeliai} } pasirinkta", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index a036f23506..eab1e11434 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -1767,8 +1767,8 @@ "model": "Model", "name": "Naam", "ai-provider": "AI-provider", - "available-via-api": "Beschikbaar via API", - "available-via-api-hint": "Hiermee kunnen gebruikers met de machtiging 'Aanroepen' voor AI-modellen chatverzoeken naar dit model sturen via de REST API, bijvoorbeeld vanuit Trendz Analytics. Rollen die alle bewerkingen toestaan, zoals de standaardrol 'Customer Administrator', bevatten 'Aanroepen', zodat elke gebruiker met zo'n rol dit model kan aanroepen. De modelconfiguratie en inloggegevens worden nooit vrijgegeven. Klantgebruikers kunnen voor AI-modellen alleen de bewerking 'Aanroepen' krijgen.", + "customer-access": "Klanttoegang", + "customer-access-hint": "Hiermee kunnen klantgebruikers met de machtiging 'Aanroepen' voor AI-modellen chatverzoeken naar dit model sturen via de REST API, bijvoorbeeld vanuit Trendz Analytics. Rollen die alle bewerkingen toestaan, zoals de standaardrol 'Customer Administrator', bevatten 'Aanroepen', zodat elke klantgebruiker met zo'n rol dit model kan aanroepen. Tenantbeheerders met de machtiging 'Aanroepen' kunnen het model aanroepen ongeacht deze instelling. De modelconfiguratie en inloggegevens worden nooit vrijgegeven.", "no-found": "Geen AI-modellen gevonden", "list": "{ count, plural, =1 {Eén model} other {Lijst van # modellen} }", "selected-fields": "{ count, plural, =1 {1 model} other {# modellen} } geselecteerd", diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index 084fff172f..f17be73ad2 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -1767,8 +1767,8 @@ "model": "Modell", "name": "Navn", "ai-provider": "AI-leverandør", - "available-via-api": "Tilgjengelig via API", - "available-via-api-hint": "Lar brukere med tillatelsen 'Kall' for AI-modeller sende chatforespørsler til denne modellen via REST API, f.eks. fra Trendz Analytics. Roller som gir alle operasjoner, som standardrollen 'Customer Administrator', inkluderer 'Kall', så alle brukere med en slik rolle kan kalle denne modellen. Modellens konfigurasjon og legitimasjon blir aldri eksponert. Kundebrukere kan bare få operasjonen 'Kall' for AI-modeller.", + "customer-access": "Kundetilgang", + "customer-access-hint": "Lar kundebrukere med tillatelsen 'Kall' for AI-modeller sende chatforespørsler til denne modellen via REST API, f.eks. fra Trendz Analytics. Roller som gir alle operasjoner, som standardrollen 'Customer Administrator', inkluderer 'Kall', så alle kundebrukere med en slik rolle kan kalle denne modellen. Leietakeradministratorer med tillatelsen 'Kall' kan kalle modellen uavhengig av denne innstillingen. Modellens konfigurasjon og legitimasjon blir aldri eksponert.", "no-found": "Fant ingen AI-modeller", "list": "{ count, plural, =1 {Én modell} other {Liste over # modeller} }", "selected-fields": "{ count, plural, =1 {1 modell} other {# modeller} } valgt", diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 833e095066..be5e0341f8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -1880,8 +1880,8 @@ "model": "Modelo", "name": "Nome", "ai-provider": "Provedor de IA", - "available-via-api": "Disponível via API", - "available-via-api-hint": "Permite que usuários com a permissão 'Invocar' para modelos de IA enviem solicitações de chat a este modelo via API REST, por exemplo, a partir do Trendz Analytics. Funções que concedem todas as operações, como a função padrão 'Customer Administrator', incluem 'Invocar', portanto qualquer usuário com essa função pode chamar este modelo. A configuração e as credenciais do modelo nunca são expostas. Usuários de cliente só podem receber a operação 'Invocar' para modelos de IA.", + "customer-access": "Acesso de clientes", + "customer-access-hint": "Permite que usuários de clientes com a permissão 'Invocar' para modelos de IA enviem solicitações de chat a este modelo via API REST, por exemplo, a partir do Trendz Analytics. Funções que concedem todas as operações, como a função padrão 'Customer Administrator', incluem 'Invocar', portanto qualquer usuário de cliente com essa função pode chamar este modelo. Administradores de tenant com a permissão 'Invocar' podem chamar o modelo independentemente desta configuração. A configuração do modelo e as credenciais nunca são expostas.", "no-found": "Nenhum modelo de IA encontrado", "list": "{ count, plural, =1 {Um modelo} other {Lista de # modelos} }", "selected-fields": "{ count, plural, =1 {1 modelo} other {# modelos} } selecionado(s)", diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index e4987c325d..10c9f99c5e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -1767,8 +1767,8 @@ "model": "Model", "name": "Ad", "ai-provider": "Yapay Zeka Sağlayıcısı", - "available-via-api": "API üzerinden kullanılabilir", - "available-via-api-hint": "Yapay zeka modelleri için 'Çağır' iznine sahip kullanıcıların REST API üzerinden, örneğin Trendz Analytics'ten, bu modele sohbet istekleri göndermesine olanak tanır. Varsayılan 'Customer Administrator' rolü gibi tüm işlemleri veren roller 'Çağır' iznini içerir; bu nedenle böyle bir role sahip her kullanıcı bu modeli çağırabilir. Modelin yapılandırması ve kimlik bilgileri asla açığa çıkarılmaz. Müşteri kullanıcılarına yapay zeka modelleri için yalnızca 'Çağır' işlemi verilebilir.", + "customer-access": "Müşteri erişimi", + "customer-access-hint": "Yapay zeka modelleri için 'Çağır' iznine sahip müşteri kullanıcılarının REST API üzerinden, örneğin Trendz Analytics'ten, bu modele sohbet istekleri göndermesine olanak tanır. Varsayılan 'Customer Administrator' rolü gibi tüm işlemleri veren roller 'Çağır' iznini içerir; bu nedenle böyle bir role sahip her müşteri kullanıcısı bu modeli çağırabilir. 'Çağır' iznine sahip kiracı yöneticileri bu ayardan bağımsız olarak modeli çağırabilir. Model yapılandırması ve kimlik bilgileri asla açığa çıkarılmaz.", "no-found": "Yapay zeka modeli bulunamadı", "list": "{ count, plural, =1 {Bir model} other {# model listesi} }", "selected-fields": "{ count, plural, =1 {1 model} other {# model seçildi} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 2ea20f2ad1..00db57b3f5 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -1880,8 +1880,8 @@ "model": "Модель", "name": "Назва", "ai-provider": "Постачальник ШІ", - "available-via-api": "Доступна через API", - "available-via-api-hint": "Дозволяє користувачам із дозволом «Виклик» для моделей ШІ надсилати чат-запити до цієї моделі через REST API, наприклад із Trendz Analytics. Ролі, що надають усі операції, як-от типова роль «Customer Administrator», містять «Виклик», тому кожен користувач із такою роллю може викликати цю модель. Конфігурація та облікові дані моделі ніколи не розкриваються. Користувачам клієнта для моделей ШІ можна надати лише операцію «Виклик».", + "customer-access": "Доступ для клієнтів", + "customer-access-hint": "Дозволяє користувачам клієнтів із дозволом «Виклик» для моделей ШІ надсилати чат-запити до цієї моделі через REST API, наприклад із Trendz Analytics. Ролі, що надають усі операції, як-от типова роль «Customer Administrator», містять «Виклик», тож кожен користувач клієнта з такою роллю може викликати цю модель. Адміністратори тенанта з дозволом «Виклик» можуть викликати модель незалежно від цього налаштування. Конфігурація моделі та облікові дані ніколи не розкриваються.", "no-found": "Моделей ШІ не знайдено", "list": "{ count, plural, =1 {Одна модель} few {Список із # моделей} many {Список із # моделей} other {Список із # моделі} }", "selected-fields": "Вибрано { count, plural, one {# модель} few {# моделі} other {# моделей} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index ac98416ffb..61c65ffde9 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -1767,8 +1767,8 @@ "model": "模型", "name": "名称", "ai-provider": "AI 提供商", - "available-via-api": "可通过 API 使用", - "available-via-api-hint": "允许拥有 AI 模型“调用”权限的用户通过 REST API(例如从 Trendz Analytics)向此模型发送聊天请求。授予所有操作的角色(例如默认的“Customer Administrator”角色)包含“调用”,因此拥有此类角色的每个用户都可以调用此模型。模型的配置和凭据永远不会被公开。客户用户只能被授予 AI 模型的“调用”操作。", + "customer-access": "客户访问", + "customer-access-hint": "允许拥有 AI 模型“调用”权限的客户用户通过 REST API(例如从 Trendz Analytics)向此模型发送聊天请求。授予所有操作的角色(例如默认的“Customer Administrator”角色)包含“调用”,因此拥有此类角色的每个客户用户都可以调用此模型。拥有“调用”权限的租户管理员可以调用此模型,不受此设置影响。模型的配置和凭据永远不会被公开。", "no-found": "未找到 AI 模型", "list": "{ count, plural, =1 {1 个模型} other {# 个模型列表} }", "selected-fields": "已选择{ count, plural, =1 {1 个模型} other {# 个模型} }", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json index 45de046b80..0b3172ac52 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json @@ -8617,8 +8617,8 @@ "model": "模型", "name": "名稱", "ai-provider": "AI 提供者", - "available-via-api": "可透過 API 使用", - "available-via-api-hint": "允許擁有 AI 模型「呼叫」權限的使用者透過 REST API(例如從 Trendz Analytics)向此模型傳送聊天請求。授予所有操作的角色(例如預設的「Customer Administrator」角色)包含「呼叫」,因此擁有此類角色的每位使用者都能呼叫此模型。模型的設定與憑證永遠不會被公開。客戶使用者只能被授予 AI 模型的「呼叫」操作。", + "customer-access": "客戶存取", + "customer-access-hint": "允許擁有 AI 模型「呼叫」權限的客戶使用者透過 REST API(例如從 Trendz Analytics)向此模型傳送聊天請求。授予所有操作的角色(例如預設的「Customer Administrator」角色)包含「呼叫」,因此擁有此類角色的每位客戶使用者都能呼叫此模型。擁有「呼叫」權限的租戶管理員可呼叫此模型,不受此設定影響。模型的設定與憑證永遠不會被公開。", "no-found": "找不到 AI 模型", "list": "{ count, plural, =1 {1 個模型} other {模型清單(# 個)} }", "selected-fields": "已選擇 { count, plural, =1 {1 個模型} other {# 個模型} }", From 3a1284de00ecd7e30d343a4fa711d9a3a8ed600c Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 16:28:49 +0200 Subject: [PATCH 048/275] Fix review comments --- .../server/controller/AiModelController.java | 5 +- .../permission/CustomerUserPermissions.java | 12 +- .../controller/AiModelControllerTest.java | 132 +++++++++++++++++- .../server/dao/model/ModelConstants.java | 2 + .../server/dao/model/sql/AiModelEntity.java | 4 +- .../dao/model/sql/AiModelInfoEntity.java | 4 +- .../server/dao/sql/ai/AiModelRepository.java | 32 ++--- 7 files changed, 154 insertions(+), 37 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java index d0102a4ecf..a01448b0d9 100644 --- a/application/src/main/java/org/thingsboard/server/controller/AiModelController.java +++ b/application/src/main/java/org/thingsboard/server/controller/AiModelController.java @@ -123,8 +123,7 @@ class AiModelController extends BaseController { @ApiOperation( value = "Get AI model infos (getAiModelInfos)", notes = "Returns a page of AI model infos: AI models without the configuration and its provider credentials. " + - "Requires the 'INVOKE' permission for AI models. " + - "Customer users only get the models with customer access enabled, which are the ones they can send chat requests to. " + + "Customer users only get the models with customer access enabled. " + PAGE_DATA_PARAMETERS + TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH ) @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") @@ -144,7 +143,7 @@ class AiModelController extends BaseController { @RequestParam(required = false) Boolean customerAccessEnabled ) throws ThingsboardException { var user = getCurrentUser(); - accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.INVOKE); + accessControlService.checkPermission(user, Resource.AI_MODEL, Operation.READ); var pageLink = createPageLink(pageSize, page, textSearch, sortProperty, sortOrder); return aiModelService.findAiModelInfosByTenantId(user.getTenantId(), user.isCustomerUser() ? Boolean.TRUE : customerAccessEnabled, pageLink); } diff --git a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java index e2da30f57f..9c9dd8bb3c 100644 --- a/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java +++ b/application/src/main/java/org/thingsboard/server/service/security/permission/CustomerUserPermissions.java @@ -489,18 +489,18 @@ public class CustomerUserPermissions extends AbstractPermissions { } }; - // Only INVOKE is grantable: reading the model would expose the provider credentials stored in its configuration. - // Roles granting ALL include INVOKE, so the model's 'customerAccessEnabled' flag decides which models such users can call. + // READ only reaches the model infos: endpoints returning the configuration with its provider credentials are tenant administrator only. + // Roles granting ALL include INVOKE, so the model's 'customerAccessEnabled' flag decides which models such users can see and call. private static final PermissionChecker aiModelPermissionChecker = new PermissionChecker() { @Override public boolean hasPermission(SecurityUser user, Resource resource, Operation operation) { - return operation == Operation.INVOKE && user.getUserPermissions().hasGenericPermission(resource, operation); + return isAllowed(operation) && user.getUserPermissions().hasGenericPermission(resource, operation); } @Override public boolean hasPermission(SecurityUser user, Operation operation, EntityId entityId, TenantEntity entity) { - if (operation != Operation.INVOKE) { + if (!isAllowed(operation)) { return false; } if (!user.getTenantId().equals(entity.getTenantId())) { @@ -511,6 +511,10 @@ public class CustomerUserPermissions extends AbstractPermissions { } return user.getUserPermissions().hasGenericPermission(Resource.AI_MODEL, operation); } + + private boolean isAllowed(Operation operation) { + return operation == Operation.READ || operation == Operation.INVOKE; + } }; private static final PermissionChecker apiKeysPermissionChecker = new PermissionChecker() { diff --git a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java index fde826c47a..e17709278e 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AiModelControllerTest.java @@ -9,6 +9,7 @@ import org.junit.Test; import org.springframework.test.web.servlet.ResultActions; import org.thingsboard.common.util.SsrfProtectionValidator; import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.User; import org.thingsboard.server.common.data.ai.AiModel; import org.thingsboard.server.common.data.ai.AiModelInfo; import org.thingsboard.server.common.data.ai.dto.TbChatRequest; @@ -24,13 +25,17 @@ import org.thingsboard.server.common.data.ai.provider.AnthropicProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleAiGeminiProviderConfig; import org.thingsboard.server.common.data.ai.provider.GoogleVertexAiGeminiProviderConfig; import org.thingsboard.server.common.data.ai.provider.OpenAiProviderConfig; +import org.thingsboard.server.common.data.group.EntityGroup; +import org.thingsboard.server.common.data.group.EntityGroupInfo; import org.thingsboard.server.common.data.id.AiModelId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.page.SortOrder; +import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.dao.service.DaoSqlTest; +import java.util.Arrays; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; @@ -393,10 +398,25 @@ public class AiModelControllerTest extends AbstractControllerTest { .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); } + @Test + public void sendChatRequestToAiModel_whenReadOnlyCustomerUser_shouldReturnForbidden() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(); + loginReadOnlyCustomerUser(); + + // WHEN + ResultActions result = doPost("/api/ai/model/" + model.getId() + "/chat", constructChatRequest()); + + // THEN + result.andExpect(status().isForbidden()) + .andExpect(statusReason(equalTo("You don't have permission to perform 'INVOKE' operation with AI_MODEL 'Test model'!"))); + } + /* --- Customer permission tests --- */ @Test - public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowInvokeOnly() throws Exception { + public void aiModelPermission_whenCustomerAdminGrantedAll_shouldAllowReadAndInvokeOnly() throws Exception { // GIVEN loginTenantAdmin(); var modelConfig = constructValidOpenAiModel("Test model"); @@ -406,30 +426,44 @@ public class AiModelControllerTest extends AbstractControllerTest { // WHEN / THEN assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); - assertThat(hasAiModelPermission(model, "READ")).isFalse(); + assertThat(hasAiModelPermission(model, "READ")).isTrue(); assertThat(hasAiModelPermission(model, "WRITE")).isFalse(); assertThat(hasAiModelPermission(model, "DELETE")).isFalse(); } @Test - public void aiModelPermission_whenCustomerAccessDisabled_shouldDenyInvokeForCustomerAdminOnly() throws Exception { + public void aiModelPermission_whenCustomerAccessDisabled_shouldDenyReadAndInvokeForCustomerAdminOnly() throws Exception { // GIVEN loginTenantAdmin(); var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); // WHEN / THEN assertThat(model.isCustomerAccessEnabled()).isFalse(); + assertThat(hasAiModelPermission(model, "READ")).isTrue(); assertThat(hasAiModelPermission(model, "INVOKE")).isTrue(); loginCustomerAdminUser(); + assertThat(hasAiModelPermission(model, "READ")).isFalse(); assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); } @Test - public void aiModelPermission_whenCustomerUserGrantedReadOnAllResources_shouldDenyReadAndInvoke() throws Exception { + public void aiModelPermission_whenReadOnlyCustomerUser_shouldAllowReadOnly() throws Exception { // GIVEN loginTenantAdmin(); - var model = doPost("/api/ai/model", constructValidOpenAiModel("Test model"), AiModel.class); + var model = saveModelWithBlockedBaseUrl(); + loginReadOnlyCustomerUser(); + + // WHEN / THEN + assertThat(hasAiModelPermission(model, "READ")).isTrue(); + assertThat(hasAiModelPermission(model, "INVOKE")).isFalse(); + } + + @Test + public void aiModelPermission_whenCustomerUserHasNoRole_shouldDenyReadAndInvoke() throws Exception { + // GIVEN + loginTenantAdmin(); + var model = saveModelWithBlockedBaseUrl(); loginCustomerUser(); // WHEN / THEN @@ -671,7 +705,7 @@ public class AiModelControllerTest extends AbstractControllerTest { } @Test - public void getAiModelInfos_whenCustomerUserWithoutInvokePermission_shouldReturnForbidden() throws Exception { + public void getAiModelInfos_whenCustomerUserHasNoRole_shouldReturnForbidden() throws Exception { // GIVEN loginCustomerUser(); @@ -682,6 +716,21 @@ public class AiModelControllerTest extends AbstractControllerTest { result.andExpect(status().isForbidden()); } + @Test + public void getAiModelInfos_whenReadOnlyCustomerUser_shouldReturnCustomerAccessibleInfos() throws Exception { + // GIVEN + loginTenantAdmin(); + var accessible = saveModelWithBlockedBaseUrl("Accessible model", true); + saveModelWithBlockedBaseUrl("Not accessible model", false); + loginReadOnlyCustomerUser(); + + // WHEN + PageData infos = doGetTypedWithPageLink("/api/ai/model/infos?", new TypeReference<>() {}, new PageLink(10)); + + // THEN + assertThat(infos.getData()).containsExactly(new AiModelInfo(accessible)); + } + @Test public void getAiModelInfos_whenTenantAdmin_shouldReturnInfosFilteredByCustomerAccessEnabled() throws Exception { // GIVEN @@ -742,6 +791,64 @@ public class AiModelControllerTest extends AbstractControllerTest { assertThat(searchByModelId.getData()).containsExactly(new AiModelInfo(anthropicModel)); } + /** + * The infos query mirrors the filter, search and sort rules of the full models query in a separate repository, + * so both endpoints must return the same models in the same order for the same parameters. + */ + @Test + public void getAiModelInfos_shouldMatchGetAiModelsForSameFilterSearchAndSort() throws Exception { + // GIVEN + loginTenantAdmin(); + + doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Support assistant") + .configuration(AnthropicChatModelConfig.builder() + .providerConfig(new AnthropicProviderConfig("test-api-key")) + .modelId("claude-sonnet-4-0") + .build()) + .customerAccessEnabled(true) + .build(), AiModel.class); + doPost("/api/ai/model", AiModel.builder() + .tenantId(tenantId) + .name("Internal analytics") + .configuration(GoogleAiGeminiChatModelConfig.builder() + .providerConfig(new GoogleAiGeminiProviderConfig("test-api-key")) + .modelId("gemini-2.5-pro") + .build()) + .build(), AiModel.class); + var openAiModel = constructValidOpenAiModel("Report assistant"); + openAiModel.setCustomerAccessEnabled(true); + doPost("/api/ai/model", openAiModel, AiModel.class); + + List filters = List.of("", "customerAccessEnabled=true&", "customerAccessEnabled=false&"); + List searches = Arrays.asList(null, "assistant", "google ai", "sonnet"); + List sortOrders = Arrays.asList(null, + SortOrder.of("createdTime", SortOrder.Direction.DESC), + SortOrder.of("name", SortOrder.Direction.ASC), + SortOrder.of("provider", SortOrder.Direction.DESC), + SortOrder.of("modelId", SortOrder.Direction.ASC)); + + for (String filter : filters) { + for (String search : searches) { + for (SortOrder sortOrder : sortOrders) { + var pageLink = new PageLink(10, 0, search, sortOrder); + + // WHEN + PageData models = doGetTypedWithPageLink("/api/ai/model?" + filter, new TypeReference<>() {}, pageLink); + PageData infos = doGetTypedWithPageLink("/api/ai/model/infos?" + filter, new TypeReference<>() {}, pageLink); + + // THEN + assertThat(infos.getData()) + .as("filter '%s', search '%s', sort %s", filter, search, sortOrder) + .extracting(AiModelInfo::getId) + .containsExactlyElementsOf(models.getData().stream().map(AiModel::getId).toList()); + assertThat(infos.getTotalElements()).isEqualTo(models.getTotalElements()); + } + } + } + } + @Test public void getAiModelInfos_whenCustomerAdmin_shouldReturnOnlyCustomerAccessibleInfosWithoutConfiguration() throws Exception { // GIVEN @@ -1052,6 +1159,19 @@ public class AiModelControllerTest extends AbstractControllerTest { return new TbChatRequest(null, new TbUserMessage(List.of(new TbContent.TbTextContent("hi"))), null); } + // The default Customer User role, which grants read-only operations on all resources + private void loginReadOnlyCustomerUser() throws Exception { + loginTenantAdmin(); + User user = new User(); + user.setAuthority(Authority.CUSTOMER_USER); + user.setTenantId(tenantId); + user.setCustomerId(customerId); + user.setEmail("read-only-customer@thingsboard.org"); + EntityGroupInfo customerUsers = findGroupByOwnerIdTypeAndName(customerId, EntityType.USER, EntityGroup.GROUP_CUSTOMER_USERS_NAME); + createUser(user, "customer", customerUsers.getId()); + login(user.getEmail(), "customer"); + } + private boolean hasAiModelPermission(AiModel model, String operation) throws Exception { return doGet("/api/permission/AI_MODEL/" + model.getId() + "/" + operation, Boolean.class); } diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java index d69f97d11c..8d6970440e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/ModelConstants.java @@ -1086,6 +1086,8 @@ public class ModelConstants { public static final String AI_MODEL_NAME_COLUMN_NAME = NAME_PROPERTY; public static final String AI_MODEL_CONFIGURATION_COLUMN_NAME = "configuration"; public static final String AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME = "customer_access_enabled"; + public static final String AI_MODEL_PROVIDER_EXPRESSION = "(" + AI_MODEL_CONFIGURATION_COLUMN_NAME + " ->> 'provider')"; + public static final String AI_MODEL_MODEL_ID_EXPRESSION = "(" + AI_MODEL_CONFIGURATION_COLUMN_NAME + " ->> 'modelId')"; /** * Api Key constants. diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java index 8393fdc485..e509ec8b6e 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelEntity.java @@ -36,8 +36,8 @@ public class AiModelEntity extends BaseVersionedEntity { public static final Map COLUMN_MAP = Map.of( "createdTime", "created_time", - "provider", "(configuration ->> 'provider')", - "modelId", "(configuration ->> 'modelId')" + "provider", ModelConstants.AI_MODEL_PROVIDER_EXPRESSION, + "modelId", ModelConstants.AI_MODEL_MODEL_ID_EXPRESSION ); public static final Set ALLOWED_SORT_PROPERTIES = Collections.unmodifiableSet( diff --git a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java index 447e9ab38e..c14a3c8121 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java +++ b/dao/src/main/java/org/thingsboard/server/dao/model/sql/AiModelInfoEntity.java @@ -35,10 +35,10 @@ public class AiModelInfoEntity extends BaseVersionedEntity { @Column(name = ModelConstants.AI_MODEL_CUSTOMER_ACCESS_ENABLED_COLUMN_NAME) private boolean customerAccessEnabled; - @Formula("configuration ->> 'provider'") + @Formula(ModelConstants.AI_MODEL_PROVIDER_EXPRESSION) private String provider; - @Formula("configuration ->> 'modelId'") + @Formula(ModelConstants.AI_MODEL_MODEL_ID_EXPRESSION) private String modelId; public AiModelInfoEntity() {} diff --git a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java index b033d13d42..551cf34108 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java +++ b/dao/src/main/java/org/thingsboard/server/dao/sql/ai/AiModelRepository.java @@ -19,33 +19,25 @@ import java.util.Optional; import java.util.Set; import java.util.UUID; +import static org.thingsboard.server.dao.model.ModelConstants.AI_MODEL_MODEL_ID_EXPRESSION; +import static org.thingsboard.server.dao.model.ModelConstants.AI_MODEL_PROVIDER_EXPRESSION; + interface AiModelRepository extends JpaRepository, ExportableEntityRepository { + String FIND_BY_TENANT_ID_WHERE = " WHERE model.tenant_id = :tenantId" + + " AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN))" + + " AND (:textSearch IS NULL" + + " OR model.name ILIKE '%' || :textSearch || '%'" + + " OR REPLACE(" + AI_MODEL_PROVIDER_EXPRESSION + ", '_', ' ') ILIKE '%' || :textSearch || '%'" + + " OR " + AI_MODEL_MODEL_ID_EXPRESSION + " ILIKE '%' || :textSearch || '%')"; + Optional findByTenantIdAndId(UUID tenantId, UUID id); Optional findByTenantIdAndName(UUID tenantId, String name); @Query( - value = """ - SELECT * - FROM ai_model model - WHERE model.tenant_id = :tenantId - AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) - AND (:textSearch IS NULL - OR model.name ILIKE '%' || :textSearch || '%' - OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' - OR model.configuration ->> 'modelId' ILIKE '%' || :textSearch || '%') - """, - countQuery = """ - SELECT COUNT(*) - FROM ai_model model - WHERE model.tenant_id = :tenantId - AND (CAST(:customerAccessEnabled AS BOOLEAN) IS NULL OR model.customer_access_enabled = CAST(:customerAccessEnabled AS BOOLEAN)) - AND (:textSearch IS NULL - OR model.name ILIKE '%' || :textSearch || '%' - OR REPLACE(model.configuration ->> 'provider', '_', ' ') ILIKE '%' || :textSearch || '%' - OR (model.configuration ->> 'modelId') ILIKE '%' || :textSearch || '%') - """, + value = "SELECT * FROM ai_model model" + FIND_BY_TENANT_ID_WHERE, + countQuery = "SELECT COUNT(*) FROM ai_model model" + FIND_BY_TENANT_ID_WHERE, nativeQuery = true ) Page findByTenantId(@Param("tenantId") UUID tenantId, From 90ca87bf970ff0addb3ab8ef3d9399e70d7e92b9 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 17:11:06 +0200 Subject: [PATCH 049/275] Fix for edge backward compatibility --- .../processor/ai/BaseAiModelProcessor.java | 4 ++ .../server/edge/AiModelEdgeTest.java | 47 ++++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index bfeea73752..00f94f7c4b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -41,6 +41,10 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { aiModel.setId(null); } else { aiModel.setId(aiModelId); + // edge versions without customer access support do not send this field + if (!JacksonUtil.toJsonNode(aiModelUpdateMsg.getEntity()).has("customerAccessEnabled")) { + aiModel.setCustomerAccessEnabled(aiModelById.get().isCustomerAccessEnabled()); + } } String aiModelName = aiModel.getName(); diff --git a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java index 2d33eafba7..1f0876efdf 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java @@ -3,6 +3,7 @@ package org.thingsboard.server.edge; import com.datastax.oss.driver.api.core.uuid.Uuids; +import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.protobuf.AbstractMessage; import com.google.protobuf.InvalidProtocolBufferException; import org.junit.Assert; @@ -139,6 +140,46 @@ public class AiModelEdgeTest extends AbstractEdgeTest { Assert.assertNotEquals(DEFAULT_AI_MODEL_NAME, aiModelFromCloud.getName()); } + @Test + public void testAiModelUpdateFromEdgeKeepsCustomerAccessEnabled() throws Exception { + AiModel aiModel = createSimpleAiModel(DEFAULT_AI_MODEL_NAME); + aiModel.setCustomerAccessEnabled(true); + + edgeImitator.expectMessageAmount(1); + AiModel savedAiModel = doPost("/api/ai/model", aiModel, AiModel.class); + Assert.assertTrue(edgeImitator.waitForMessages()); + Assert.assertTrue(savedAiModel.isCustomerAccessEnabled()); + + // edge versions without customerAccessEnabled send the model without this field + savedAiModel.setName(UPDATED_AI_MODEL_NAME); + ObjectNode legacyAiModelJson = (ObjectNode) JacksonUtil.valueToTree(savedAiModel); + legacyAiModelJson.remove("customerAccessEnabled"); + UplinkMsg uplinkMsg = getUplinkMsg(savedAiModel.getUuidId(), JacksonUtil.toString(legacyAiModelJson), UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE); + + checkAiModelOnCloud(uplinkMsg, savedAiModel.getUuidId(), UPDATED_AI_MODEL_NAME); + + AiModel aiModelFromCloud = doGet("/api/ai/model/" + savedAiModel.getUuidId(), AiModel.class); + Assert.assertTrue(aiModelFromCloud.isCustomerAccessEnabled()); + } + + @Test + public void testAiModelUpdateFromEdgeChangesCustomerAccessEnabled() throws Exception { + AiModel aiModel = createSimpleAiModel(DEFAULT_AI_MODEL_NAME); + aiModel.setCustomerAccessEnabled(true); + + edgeImitator.expectMessageAmount(1); + AiModel savedAiModel = doPost("/api/ai/model", aiModel, AiModel.class); + Assert.assertTrue(edgeImitator.waitForMessages()); + + savedAiModel.setCustomerAccessEnabled(false); + UplinkMsg uplinkMsg = getUplinkMsg(savedAiModel.getUuidId(), savedAiModel, UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE); + + checkAiModelOnCloud(uplinkMsg, savedAiModel.getUuidId(), DEFAULT_AI_MODEL_NAME); + + AiModel aiModelFromCloud = doGet("/api/ai/model/" + savedAiModel.getUuidId(), AiModel.class); + Assert.assertFalse(aiModelFromCloud.isCustomerAccessEnabled()); + } + private AiModel createSimpleAiModel(String name) { AiModel aiModel = new AiModel(); aiModel.setTenantId(tenantId); @@ -172,11 +213,15 @@ public class AiModelEdgeTest extends AbstractEdgeTest { } private UplinkMsg getUplinkMsg(UUID uuid, AiModel aiModel, UpdateMsgType updateMsgType) throws InvalidProtocolBufferException { + return getUplinkMsg(uuid, JacksonUtil.toString(aiModel), updateMsgType); + } + + private UplinkMsg getUplinkMsg(UUID uuid, String aiModelJson, UpdateMsgType updateMsgType) throws InvalidProtocolBufferException { UplinkMsg.Builder uplinkMsgBuilder = UplinkMsg.newBuilder(); AiModelUpdateMsg.Builder aiModelUpdateMsgBuilder = AiModelUpdateMsg.newBuilder(); aiModelUpdateMsgBuilder.setIdMSB(uuid.getMostSignificantBits()); aiModelUpdateMsgBuilder.setIdLSB(uuid.getLeastSignificantBits()); - aiModelUpdateMsgBuilder.setEntity(JacksonUtil.toString(aiModel)); + aiModelUpdateMsgBuilder.setEntity(aiModelJson); aiModelUpdateMsgBuilder.setMsgType(updateMsgType); testAutoGeneratedCodeByProtobuf(aiModelUpdateMsgBuilder); uplinkMsgBuilder.addAiModelUpdateMsg(aiModelUpdateMsgBuilder.build()); From f7dad01a49d8f94c8f800a662b038b6688519406 Mon Sep 17 00:00:00 2001 From: Roman Kostenko Date: Wed, 28 Oct 2026 17:23:19 +0200 Subject: [PATCH 050/275] Fix license headers --- .../service/edge/rpc/processor/ai/BaseAiModelProcessor.java | 3 ++- .../java/org/thingsboard/server/edge/AiModelEdgeTest.java | 3 ++- tools/src/main/python/license-headers/curations.json | 6 ------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index 00f94f7c4b..f609499cc0 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.edge.rpc.processor.ai; import com.datastax.oss.driver.api.core.uuid.Uuids; diff --git a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java index 1f0876efdf..43d89f2585 100644 --- a/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/AiModelEdgeTest.java @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.edge; import com.datastax.oss.driver.api.core.uuid.Uuids; diff --git a/tools/src/main/python/license-headers/curations.json b/tools/src/main/python/license-headers/curations.json index e4e74bdb44..b48fb72b22 100644 --- a/tools/src/main/python/license-headers/curations.json +++ b/tools/src/main/python/license-headers/curations.json @@ -271,12 +271,6 @@ "reason": "PE agent installation instructions model added in e0db7ac7154 as part of the PE agent feature introduced on lts-4.4, which has no counterpart in CE. The candidate CE common/data/src/main/java/org/thingsboard/server/common/data/edge/EdgeInstructions.java shares only the instructions model boilerplate. Reviewed candidate at a0aff29ef42d3636473b017115a9334b48d54d15 (blob 409985284c6).", "contentHash": "sha256:ce067f7aad61fb79c44ac80ceda3b26e9908a8a648380097754ff9ee097256b1" }, - { - "path": "common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModelInfo.java", - "header": "busl", - "reason": "New PE file that does not exist in CE. It is the superclass of AiModel holding the fields shared with the configuration-free info view, so its field declarations and schema annotations repeat those of AiModel. Reviewed similarity candidate common/data/src/main/java/org/thingsboard/server/common/data/ai/AiModel.java at 269bc8dc73a.", - "contentHash": "sha256:650bd82c42a513c19af48ba986481cd5a56f9f3491a9282deff76fccec64c4d0" - }, { "path": "common/data/src/main/java/org/thingsboard/server/common/data/edqs/fields/BlobEntityFields.java", "header": "busl", From d026a392fb3d9d486992d5edf912f7da254634d0 Mon Sep 17 00:00:00 2001 From: Andrii Shvaika Date: Wed, 28 Oct 2026 17:48:28 +0200 Subject: [PATCH 051/275] Add MAINTAINERS.md Co-Authored-By: Claude Opus 5.5 --- MAINTAINERS.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 MAINTAINERS.md diff --git a/MAINTAINERS.md b/MAINTAINERS.md new file mode 100644 index 0000000000..145fd61df5 --- /dev/null +++ b/MAINTAINERS.md @@ -0,0 +1,14 @@ +# Maintainers + +This file lists the maintainers of the ThingsBoard project. +Maintainers review and merge pull requests, triage issues, and drive project releases. + +| Name | GitHub | Email | +|---------------------|--------------------------------------------------------|---------------------------| +| Andrii Shvaika | [@ashvayka](https://github.com/ashvayka) | ashvayka@thingsboard.io | +| Igor Kulikov | [@ikulikov](https://github.com/ikulikov) | ikulikov@thingsboard.io | +| Viacheslav Klimov | [@ViacheslavKlimov](https://github.com/ViacheslavKlimov) | vklimov@thingsboard.io | +| Vladyslav Prykhodko | [@vvlladd28](https://github.com/vvlladd28) | vprykhodko@thingsboard.io | +| Sergey Matvienko | [@smatvienko-tb](https://github.com/smatvienko-tb) | smatvienko@thingsboard.io | + +For security issues, please follow the process described in [security.md](security.md) instead of contacting maintainers directly. From 6d31dfd95854fb68a16a694cdebf520ec2eb6431 Mon Sep 17 00:00:00 2001 From: Sergey Matvienko Date: Wed, 28 Oct 2026 16:53:13 +0100 Subject: [PATCH 052/275] Evict cached miss when an API key is created with an explicit value --- .../server/dao/pat/ApiKeyServiceImpl.java | 13 ++++++------ .../dao/pat/ApiKeyCacheEvictionTest.java | 18 +++++++++++++++++ .../server/dao/service/ApiKeyServiceTest.java | 20 +++++++++++++++++++ 3 files changed, 45 insertions(+), 6 deletions(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java index 717466e034..418b56c9b2 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/pat/ApiKeyServiceImpl.java @@ -86,10 +86,10 @@ public class ApiKeyServiceImpl extends AbstractCachedEntityService Date: Wed, 28 Oct 2026 18:12:38 +0200 Subject: [PATCH 053/275] IoT Hub: list the entities a device package removal keeps with the references component The remove dialog named the kept converter, integration and other entities inside one sentence, which was hard to read. It now says how many other installed packages use them and lists them with tb-image-references, one per row, each linking to the entity. --- .../iot-hub-delete-dialog.component.html | 3 ++ .../iot-hub-delete-dialog.component.ts | 28 +++++++++---------- .../assets/locale/locale.constant-en_US.json | 11 +------- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html index 60eb673a23..3de67878aa 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html @@ -8,6 +8,9 @@

{{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}

{{ description }}

+ @if (keptReferences) { + + }
diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts index 56a9c82543..81d13800d3 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts @@ -10,6 +10,8 @@ import { DialogComponent } from '@shared/components/dialog.component'; import { IotHubInstalledItemKeptEntities } from 'src/app/shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { TranslateService } from '@ngx-translate/core'; +import { ResourceReferences } from '@shared/models/resource.models'; +import { EntityId } from '@shared/models/id/entity-id'; export interface IotHubDeleteDialogData { installedItemId: string; @@ -28,6 +30,9 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent, protected router: Router, @@ -37,8 +42,14 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent ({ id: entity.entityId as EntityId, name: entity.name })); + this.description = this.translate.instant('iot-hub.remove-desc-kept', + { count: kept.usedByItemsCount, kept: kept.entities.length }); + } else { + this.description = this.translate.instant(data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc'); + } } confirm(): void { @@ -52,17 +63,4 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent { - const key = `iot-hub.remove-kept-entity.${entity.entityId.entityType}`; - const named = this.translate.instant(key, { name: entity.name }); - return named === key ? `'${entity.name}'` : named; - }); - const entities = names.length === 1 ? names[0] : - this.translate.instant('iot-hub.remove-kept-entities', { first: names.slice(0, -1).join(', '), last: names[names.length - 1] }); - return this.translate.instant('iot-hub.remove-desc-kept', - { entities, count: kept.usedByItemsCount, kept: kept.entities.length }); - } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 0e0b2c893c..030dcad4f8 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6405,16 +6405,7 @@ "remove": "Remove", "remove-confirm-title": "Remove '{{name}}'?", "remove-desc": "Removing this will also remove the installed entity and its associated resources within your tenant", - "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant, except {entities}. { count, plural, =1 {1 other installed package uses} other {# other installed packages use} } { kept, plural, =1 {it} other {them} }.", - "remove-kept-entities": "{{first}} and {{last}}", - "remove-kept-entity": { - "CONVERTER": "data converter '{{name}}'", - "DASHBOARD": "dashboard '{{name}}'", - "DEVICE": "device '{{name}}'", - "DEVICE_PROFILE": "device profile '{{name}}'", - "INTEGRATION": "integration '{{name}}'", - "RULE_CHAIN": "rule chain '{{name}}'" - }, + "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because it is} other {entities will not be removed, because they are} } used by { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-solution-template": "Removing this solution template will also remove all created entities including dashboards, rule chains, devices, and other associated resources within your tenant", "remove-anyway": "Remove anyway", "select-entity-for-cf": "Select entity for calculated field '{{name}}'", From e8724cc345338b49d9f58da08d6d6c4a40535060 Mon Sep 17 00:00:00 2001 From: Dmytro Skarzhynets Date: Wed, 28 Oct 2026 18:25:36 +0200 Subject: [PATCH 054/275] feat: send TB version to TB AI on every install Add the X-TB-Version header once in TbAiChannelPool, the single place a channel to TB AI is opened, instead of in OnPremiseTbAiTokenProvider only. Installs using LocalTbAiTokenProvider now send it too. --- .../ai/OnPremiseTbAiTokenProvider.java | 5 +-- .../service/ai/transport/TbAiChannelPool.java | 21 +++++++---- .../AbstractOnPremiseAiControllerTest.java | 7 +--- .../ai/OnPremiseTbAiTokenProviderTest.java | 15 +------- .../transport/ChannelTbAiOperationsTest.java | 4 +- .../transport/ChannelTbAiTransportTest.java | 2 +- .../service/ai/transport/FakeTbAiServer.java | 3 ++ .../ai/transport/TbAiChannelPoolTest.java | 37 ++++++++++++++++++- .../transport/TbAiPooledConnectionTest.java | 2 +- 9 files changed, 60 insertions(+), 36 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java b/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java index 18b518b49a..871f34f253 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProvider.java @@ -12,7 +12,6 @@ import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.dao.subscription.SubscriptionService; import org.thingsboard.server.exception.ThingsboardRuntimeException; import org.thingsboard.server.queue.util.TbCoreComponent; -import org.thingsboard.server.service.install.ProjectInfo; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.Map; @@ -27,7 +26,6 @@ import java.util.function.Supplier; class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { private final SubscriptionService subscriptionService; - private final ProjectInfo projectInfo; @Override public String getToken(SecurityUser user) { @@ -65,8 +63,7 @@ class OnPremiseTbAiTokenProvider implements TbAiTokenProvider { private Map additionalInfo(UUID userId, TenantId tenantId) { return Map.of( TbAiHeaders.USER_ID, userId.toString(), - TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion() + TbAiHeaders.TENANT_ID, tenantId.getId().toString() ); } diff --git a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java index a79614d9a0..9cb93f24d1 100644 --- a/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java +++ b/application/src/main/java/org/thingsboard/server/service/ai/transport/TbAiChannelPool.java @@ -14,10 +14,12 @@ import org.springframework.stereotype.Component; import org.thingsboard.ai.common.channel.ChannelProtocol; import org.thingsboard.ai.common.channel.TbAiChannelClient; import org.thingsboard.ai.common.client.TbAiClient; +import org.thingsboard.ai.common.client.TbAiHeaders; import org.thingsboard.common.util.ThingsBoardThreadFactory; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.install.ProjectInfo; import reactor.core.scheduler.Schedulers; import java.time.Duration; @@ -59,6 +61,7 @@ class TbAiChannelPool { private static final int MAX_ACQUIRE_ATTEMPTS = 3; private final TbAiChannelClient channelClient; + private final String tbVersion; private final int maxConnections; private final int maxOperationsPerConnection; private final long idleTimeoutNanos; @@ -71,17 +74,19 @@ class TbAiChannelPool { @Autowired TbAiChannelPool(TbAiChannelClient channelClient, + ProjectInfo projectInfo, @Value("${ai.channel.pool.max_connections:2000}") int maxConnections, @Value("${ai.channel.pool.max_operations_per_connection:20}") int maxOperationsPerConnection, @Value("${ai.channel.pool.idle_timeout_seconds:60}") long idleTimeoutSeconds, @Value("${ai.channel.pool.max_age_minutes:10}") long maxAgeMinutes) { - this(channelClient, maxConnections, maxOperationsPerConnection, Duration.ofSeconds(idleTimeoutSeconds), - Duration.ofMinutes(maxAgeMinutes), System::nanoTime, true); + this(channelClient, projectInfo.getProjectVersion(), maxConnections, maxOperationsPerConnection, + Duration.ofSeconds(idleTimeoutSeconds), Duration.ofMinutes(maxAgeMinutes), System::nanoTime, true); } - TbAiChannelPool(TbAiChannelClient channelClient, int maxConnections, int maxOperationsPerConnection, + TbAiChannelPool(TbAiChannelClient channelClient, String tbVersion, int maxConnections, int maxOperationsPerConnection, Duration idleTimeout, Duration maxAge, LongSupplier nanoClock, boolean startSweeper) { this.channelClient = channelClient; + this.tbVersion = tbVersion; this.maxConnections = maxConnections; this.maxOperationsPerConnection = maxOperationsPerConnection; this.idleTimeoutNanos = idleTimeout.toNanos(); @@ -293,12 +298,9 @@ class TbAiChannelPool { return true; } - private static TbAiClient.TokenProvider handshakeTokenProvider(TbAiTurnContext context) { + private TbAiClient.TokenProvider handshakeTokenProvider(TbAiTurnContext context) { TbAiClient.TokenProvider delegate = context.tokenProvider(); String acceptLanguage = context.acceptLanguage(); - if (acceptLanguage == null || acceptLanguage.isBlank()) { - return delegate; - } return new TbAiClient.TokenProvider() { @Override public String getToken() { @@ -308,7 +310,10 @@ class TbAiChannelPool { @Override public Map getAdditionalInfo() { var headers = new HashMap<>(delegate.getAdditionalInfo()); - headers.put(HttpHeaders.ACCEPT_LANGUAGE, acceptLanguage); + headers.put(TbAiHeaders.TB_VERSION, tbVersion); + if (acceptLanguage != null && !acceptLanguage.isBlank()) { + headers.put(HttpHeaders.ACCEPT_LANGUAGE, acceptLanguage); + } return headers; } }; diff --git a/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java index 4fc327c082..b2e9e86b6d 100644 --- a/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/AbstractOnPremiseAiControllerTest.java @@ -2,13 +2,11 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.server.controller; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.bean.override.mockito.MockitoSpyBean; import org.thingsboard.ai.common.client.TbAiClient; import org.thingsboard.ai.common.client.TbAiHeaders; import org.thingsboard.server.dao.subscription.SubscriptionService; -import org.thingsboard.server.service.install.ProjectInfo; import java.util.Map; @@ -24,8 +22,6 @@ public abstract class AbstractOnPremiseAiControllerTest extends AbstractAiContro @MockitoSpyBean protected SubscriptionService subscriptionService; - @Autowired - protected ProjectInfo projectInfo; protected void givenSubscriptionProvidesAiToken() { doReturn(AI_TOKEN).when(subscriptionService).getAiToken(); @@ -36,8 +32,7 @@ public abstract class AbstractOnPremiseAiControllerTest extends AbstractAiContro assertThat(tokenProvider.getToken()).isEqualTo(AI_TOKEN); assertThat(tokenProvider.getAdditionalInfo()).containsExactlyInAnyOrderEntriesOf(Map.of( TbAiHeaders.USER_ID, tenantAdminUserId.getId().toString(), - TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, projectInfo.getProjectVersion() + TbAiHeaders.TENANT_ID, tenantId.getId().toString() )); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java b/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java index c1d7c08a2a..3175d5ea05 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/OnPremiseTbAiTokenProviderTest.java @@ -16,7 +16,6 @@ import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.dao.subscription.SubscriptionService; import org.thingsboard.server.exception.ThingsboardRuntimeException; -import org.thingsboard.server.service.install.ProjectInfo; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.Map; @@ -30,12 +29,9 @@ import static org.mockito.BDDMockito.given; class OnPremiseTbAiTokenProviderTest { private final String aiToken = "on-premise-ai-token"; - private final String tbVersion = "4.3.0-AI-TEST"; @Mock SubscriptionService subscriptionService; - @Mock - ProjectInfo projectInfo; UUID userId; TenantId tenantId; @@ -48,7 +44,7 @@ class OnPremiseTbAiTokenProviderTest { userId = UUID.randomUUID(); tenantId = TenantId.fromUUID(UUID.randomUUID()); user = user(userId, tenantId); - provider = new OnPremiseTbAiTokenProvider(subscriptionService, projectInfo); + provider = new OnPremiseTbAiTokenProvider(subscriptionService); } // --------------------------------------------------------------------------------------------- @@ -89,9 +85,6 @@ class OnPremiseTbAiTokenProviderTest { @Test void shouldBuildHeadersWithoutOrigin_whenCalledForUser() { - // GIVEN - given(projectInfo.getProjectVersion()).willReturn(tbVersion); - // WHEN Map additionalInfo = provider.getAdditionalInfo(user); @@ -149,9 +142,6 @@ class OnPremiseTbAiTokenProviderTest { @Test void shouldBuildHeadersWithoutOrigin_whenCalledWithRawIds() { - // GIVEN - given(projectInfo.getProjectVersion()).willReturn(tbVersion); - // WHEN Map additionalInfo = provider.getAdditionalInfo(tenantId, new UserId(userId)); @@ -166,8 +156,7 @@ class OnPremiseTbAiTokenProviderTest { private Map expectedHeaders() { return Map.of( TbAiHeaders.USER_ID, userId.toString(), - TbAiHeaders.TENANT_ID, tenantId.getId().toString(), - TbAiHeaders.TB_VERSION, tbVersion + TbAiHeaders.TENANT_ID, tenantId.getId().toString() ); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java index afeeca5223..f9e113184a 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiOperationsTest.java @@ -247,7 +247,7 @@ class ChannelTbAiOperationsTest { void shouldSendCallOrigin_whenChannelWasOpenedWithAnother() { // GIVEN server = FakeTbAiServer.start((connection, frame) -> connection.result(frame, new OperationResult(200, null, 0))); - TbAiChannelPool sharedPool = new TbAiChannelPool(server.client(), 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); + TbAiChannelPool sharedPool = new TbAiChannelPool(server.client(), "4.4.0", 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); SecurityUser user = TbAiChannelPoolTest.user(); var channelOperations = new ChannelTbAiOperations(sharedPool, requestExecutor); @@ -294,7 +294,7 @@ class ChannelTbAiOperationsTest { ChannelTbAiOperations operations() { if (pool == null) { - pool = new TbAiChannelPool(server.client(), maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); + pool = new TbAiChannelPool(server.client(), "4.4.0", maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); } return new ChannelTbAiOperations(pool, requestExecutor); } diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java index 3f4c906824..a7095f83e3 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/ChannelTbAiTransportTest.java @@ -256,7 +256,7 @@ class ChannelTbAiTransportTest { } TbAiChannelPool pool() { - return new TbAiChannelPool(server.client(), 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); + return new TbAiChannelPool(server.client(), "4.4.0", 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); } void stubExecutor() { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java index b843494a48..1320677f5b 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/FakeTbAiServer.java @@ -3,6 +3,7 @@ package org.thingsboard.server.service.ai.transport; import com.fasterxml.jackson.databind.ObjectMapper; +import io.netty.handler.codec.http.HttpHeaders; import org.thingsboard.ai.common.channel.ChannelError; import org.thingsboard.ai.common.channel.ChannelFrame; import org.thingsboard.ai.common.channel.ChannelFrameCodec; @@ -36,12 +37,14 @@ class FakeTbAiServer implements AutoCloseable { final List received = new CopyOnWriteArrayList<>(); final AtomicInteger connections = new AtomicInteger(); final AtomicInteger openConnections = new AtomicInteger(); + final List handshakeHeaders = new CopyOnWriteArrayList<>(); private final DisposableServer server; private FakeTbAiServer(List capabilities, Script script) { server = HttpServer.create().host("127.0.0.1").port(0) .route(routes -> routes.ws(ChannelProtocol.WS_PATH, (inbound, outbound) -> { connections.incrementAndGet(); + handshakeHeaders.add(inbound.headers()); openConnections.incrementAndGet(); var connection = new Connection(); inbound.receive().asString().subscribe(text -> { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java index 22f964499d..4b5a5e41df 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiChannelPoolTest.java @@ -4,7 +4,9 @@ package org.thingsboard.server.service.ai.transport; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test; +import org.springframework.http.HttpHeaders; import org.thingsboard.ai.common.channel.ChannelProtocol; +import org.thingsboard.ai.common.client.TbAiHeaders; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.service.security.model.SecurityUser; @@ -25,6 +27,8 @@ import static org.mockito.Mockito.mock; class TbAiChannelPoolTest { + static final String TB_VERSION = "4.4.0"; + AtomicLong now = new AtomicLong(1_000_000_000L); FakeTbAiServer server = FakeTbAiServer.start((connection, frame) -> {}); TbAiChannelPool pool; @@ -53,6 +57,37 @@ class TbAiChannelPoolTest { assertThat(pool.pooledConnections()).isEqualTo(1); } + @Test + void shouldSendTbVersionAndAcceptLanguage_whenOpeningChannel() { + // GIVEN + pool = pool(10); + TbAiTurnContext context = new TbAiTurnContext(user(), null, "de-DE", () -> "token", "https://tb.example.com"); + + // WHEN + join(pool.acquire(context, false)); + + // THEN + assertThat(server.handshakeHeaders).singleElement().satisfies(headers -> { + assertThat(headers.get(TbAiHeaders.TB_VERSION)).isEqualTo(TB_VERSION); + assertThat(headers.get(HttpHeaders.ACCEPT_LANGUAGE)).isEqualTo("de-DE"); + }); + } + + @Test + void shouldSendTbVersionWithoutAcceptLanguage_whenContextHasNoLanguage() { + // GIVEN + pool = pool(10); + + // WHEN + join(pool.acquire(context(user(), "https://tb.example.com"), false)); + + // THEN + assertThat(server.handshakeHeaders).singleElement().satisfies(headers -> { + assertThat(headers.get(TbAiHeaders.TB_VERSION)).isEqualTo(TB_VERSION); + assertThat(headers.contains(HttpHeaders.ACCEPT_LANGUAGE)).isFalse(); + }); + } + @Test void shouldReuseChannel_whenSameUserCallsAgain() { // GIVEN @@ -212,7 +247,7 @@ class TbAiChannelPoolTest { } TbAiChannelPool pool(int maxConnections) { - return new TbAiChannelPool(server.client(), maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), now::get, false); + return new TbAiChannelPool(server.client(), TB_VERSION, maxConnections, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), now::get, false); } static TbAiPooledConnection join(CompletableFuture future) { diff --git a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java index a2ec05d485..b77252bf94 100644 --- a/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java +++ b/application/src/test/java/org/thingsboard/server/service/ai/transport/TbAiPooledConnectionTest.java @@ -30,7 +30,7 @@ import static org.mockito.Mockito.never; class TbAiPooledConnectionTest { ChannelFrameCodec codec = new ChannelFrameCodec(new ObjectMapper()); - TbAiChannelPool pool = new TbAiChannelPool(mock(TbAiChannelClient.class), 10, 20, Duration.ofSeconds(60), + TbAiChannelPool pool = new TbAiChannelPool(mock(TbAiChannelClient.class), "4.4.0", 10, 20, Duration.ofSeconds(60), Duration.ofMinutes(10), System::nanoTime, false); TbAiChannelPool.PoolKey key = new TbAiChannelPool.PoolKey(TenantId.fromUUID(UUID.randomUUID()), new UserId(UUID.randomUUID())); From 598f4704a94b9da12294af5225ad4b255554e9be Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 18:44:25 +0200 Subject: [PATCH 055/275] TTN and TTI default uplink converter: the IoT Hub LoRaWAN converter A new TTN or TTI integration now starts with the converter the IoT Hub LoRaWAN packages install. A device registered from the LoRaWAN Device Repository gets the profile - and its decoded values as telemetry, with a Milesight-style history list kept at each record's time. Any other device gets the LoRaWAN Device profile and its raw payload as data. The device is named by its end device ID and added to a group named after the application. The TBEL and JS defaults are the same script. ConverterControllerTest runs both through the real default v2 configuration for TTN and TTI, so ui-ngx now also copies that configuration to the classpath. --- .../controller/ConverterControllerTest.java | 73 ++++++---- .../things_stack_manual_device_payload.json | 34 +++++ ...hings_stack_repository_device_payload.json | 64 +++++++++ ui-ngx/pom.xml | 1 + .../default-converters-v2-configuration.json | 64 ++++++--- .../src/assets/converters/js-tti-decoder.raw | 134 ++++-------------- .../src/assets/converters/js-ttn-decoder.raw | 133 ++++------------- .../assets/converters/tbel-tti-decoder.raw | 104 ++++---------- .../assets/converters/tbel-ttn-decoder.raw | 104 ++++---------- 9 files changed, 309 insertions(+), 402 deletions(-) create mode 100644 application/src/test/resources/payload/things_stack_manual_device_payload.json create mode 100644 application/src/test/resources/payload/things_stack_repository_device_payload.json diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index e51e796f11..0d99594197 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -32,6 +32,7 @@ import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.integration.IntegrationType; import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.page.PageLink; +import org.thingsboard.server.common.data.script.ScriptLanguage; import org.thingsboard.server.common.data.security.Authority; import org.thingsboard.server.common.data.tenant.profile.DefaultTenantProfileConfiguration; import org.thingsboard.server.dao.service.DaoSqlTest; @@ -89,13 +90,14 @@ public class ConverterControllerTest extends AbstractControllerTest { private static final String THINGPARK_UPLINK_DECODER = "converter/thingpark_uplink_decoder.raw"; private static final String DEFAULT_TPE_UPLINK_DECODER = "converters/tbel-tpe-decoder.raw"; private static final String TPE_UPLINK_DECODER = "converter/tpe_uplink_decoder.raw"; - private static final String DEFAULT_TTI_UPLINK_DECODER = "converters/tbel-tti-decoder.raw"; private static final String TTI_UPLINK_DECODER = "converter/tti_uplink_decoder.raw"; - private static final String DEFAULT_TTN_UPLINK_DECODER = "converters/tbel-ttn-decoder.raw"; private static final String TTN_UPLINK_DECODER = "converter/ttn_uplink_decoder.raw"; private static final String TTN_UPLINK_JSON_DECODER = "converter/ttn_uplink_json_decoder.raw"; private static final String LORIOT_UPLINK_DECODER_RETURN_ARRAY = "converter/loriot_uplink_decoder_array.raw"; private static final String TTN_DECODED_PAYLOAD = "payload/ttn_payload_with_decoded.json"; + private static final String DEFAULT_V2_CONFIGURATION = "converters/default-converters-v2-configuration.json"; + private static final String THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD = "payload/things_stack_repository_device_payload.json"; + private static final String THINGS_STACK_MANUAL_DEVICE_PAYLOAD = "payload/things_stack_manual_device_payload.json"; @Before public void beforeTest() throws Exception { @@ -673,17 +675,6 @@ public class ConverterControllerTest extends AbstractControllerTest { } } - @Test - public void testTTIDefaultDecoder() throws IOException { - String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"eui-1000000000000001\",\"profile\":\"application-tti-name\"," + - "\"telemetry\":{\"ts\":1684398325906,\"values\":{\"battery\":95,\"temperature\":36.6,\"saturation\":99}},\"attributes\":{\"sn\":32310067,\"devAddr\":\"20000001\",\"fPort\":85,\"eui\":\"1000000000000001\"}}"; - - DedicatedConverterConfig config = createDedicatedConverterConfig(EntityType.DEVICE, "eui-$eui", "$applicationId", Set.of("eui", "fPort", "devAddr")); - Converter converter = createConverter(JacksonUtil.valueToTree(config), IntegrationType.TTI, 2); - - testDecoder(DEFAULT_TTI_UPLINK_DECODER, DEFAULT_TTI_UPLINK_CONVERTER_MESSAGE, expectedDecodedMessage, converter); - } - @Test public void testTTINotDefaultDecoder() throws IOException { String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"eui-1000000000000001\",\"profile\":\"IndustrialSensorProfile\",\"customer\":\"MyCustomer\",\"group\":\"SensorsGroup\"," + @@ -696,14 +687,45 @@ public class ConverterControllerTest extends AbstractControllerTest { } @Test - public void testTTNDefaultDecoder() throws IOException { - String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"eui-1000000000000001\",\"profile\":\"application-tts-name\"," + - "\"telemetry\":{\"ts\":1684474415641,\"values\":{\"battery\":95,\"temperature\":36.6,\"saturation\":99}},\"attributes\":{\"sn\":32310067,\"devAddr\":\"20000001\",\"fPort\":85,\"eui\":\"1000000000000001\"}}"; + public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { + String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560}}," + + "{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}]," + + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + + "\"fPort\":85,\"bandwidth\":125000,\"spreadingFactor\":7,\"codeRate\":\"4/5\",\"frequency\":\"868100000\",\"brandId\":\"milesight-iot\",\"modelId\":\"am308\"," + + "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + + "\"clusterAddress\":\"eu1.cloud.thethings.network\"}}"; - DedicatedConverterConfig config = createDedicatedConverterConfig(EntityType.DEVICE, "eui-$eui", "$applicationId", Set.of("eui", "fPort", "devAddr")); - Converter converter = createConverter(JacksonUtil.valueToTree(config), IntegrationType.TTN, 2); + testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, expectedDecodedMessage); + } - testDecoder(DEFAULT_TTN_UPLINK_DECODER, DEFAULT_TTN_UPLINK_CONVERTER_MESSAGE, expectedDecodedMessage, converter); + @Test + public void testThingsStackDefaultConvertersGiveManualDeviceRawData() throws IOException { + String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"manual-node\",\"profile\":\"LoRaWAN Device\",\"label\":\"manual-node\",\"group\":\"my-app\"," + + "\"telemetry\":{\"ts\":1793181600100,\"values\":{\"fCnt\":3,\"data\":\"Ae0DM18OTGM=\",\"rssi\":-70,\"snr\":7.0}}," + + "\"attributes\":{\"eui\":\"70B3D57ED006F370\",\"deviceId\":\"manual-node\",\"applicationId\":\"my-app\",\"fPort\":1,\"bandwidth\":125000," + + "\"spreadingFactor\":9,\"frequency\":\"868300000\"}}"; + + testThingsStackDefaultConverters(THINGS_STACK_MANUAL_DEVICE_PAYLOAD, expectedDecodedMessage); + } + + // The TBEL and JS defaults are two copies of one script, so each of them must give this result for TTN and TTI + private void testThingsStackDefaultConverters(String payloadFile, String expectedResult) throws IOException { + JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); + String payload = readResource(payloadFile); + for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { + Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); + for (ScriptLanguage scriptLang : ScriptLanguage.values()) { + String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; + assertThat(JacksonUtil.toJsonNode(decode(decoderFileName, payload, converter, scriptLang))) + .as("%s %s", integrationType, scriptLang) + .isEqualTo(JacksonUtil.toJsonNode(expectedResult)); + } + } + } + + private String readResource(String name) throws IOException { + return new String(IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(name)), StandardCharsets.UTF_8); } @Test @@ -870,6 +892,10 @@ public class ConverterControllerTest extends AbstractControllerTest { } public void testDecoder(String decoderFileName, String payloadExample, String expectedResult, Converter converter) throws IOException { + assertThat(decode(decoderFileName, payloadExample, converter, ScriptLanguage.TBEL)).isEqualTo(expectedResult); + } + + private String decode(String decoderFileName, String payloadExample, Converter converter, ScriptLanguage scriptLang) throws IOException { byte[] bytes = IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(decoderFileName)); String base64Payload = Base64.getEncoder().encodeToString(payloadExample.getBytes(StandardCharsets.UTF_8)); @@ -895,14 +921,11 @@ public class ConverterControllerTest extends AbstractControllerTest { inputParams.set("payload", new TextNode(base64Payload)); } - JsonNode response = doPost("/api/converter/testUpLink?scriptLang=TBEL", inputParams, JsonNode.class); - String output; + JsonNode response = doPost("/api/converter/testUpLink?scriptLang=" + scriptLang, inputParams, JsonNode.class); if (converter != null && converter.getConverterVersion() == 2) { - output = response.get("outputMsg").toString(); - } else { - output = response.get("output").asText(); + return response.get("outputMsg").toString(); } - assertThat(output).isEqualTo(expectedResult); + return response.get("output").asText(); } public DedicatedConverterConfig createDedicatedConverterConfig(EntityType type, String name, String profile, Set attributes) { diff --git a/application/src/test/resources/payload/things_stack_manual_device_payload.json b/application/src/test/resources/payload/things_stack_manual_device_payload.json new file mode 100644 index 0000000000..b8d810a8ea --- /dev/null +++ b/application/src/test/resources/payload/things_stack_manual_device_payload.json @@ -0,0 +1,34 @@ +{ + "end_device_ids": { + "device_id": "manual-node", + "application_ids": { + "application_id": "my-app" + }, + "dev_eui": "70B3D57ED006F370" + }, + "received_at": "2026-10-28T10:00:00.123Z", + "uplink_message": { + "f_port": 1, + "f_cnt": 3, + "frm_payload": "Ae0DM18OTGM=", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "ug56" + }, + "rssi": -70, + "snr": 7 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 9 + } + }, + "frequency": "868300000" + }, + "received_at": "2026-10-28T10:00:00.100Z" + } +} diff --git a/application/src/test/resources/payload/things_stack_repository_device_payload.json b/application/src/test/resources/payload/things_stack_repository_device_payload.json new file mode 100644 index 0000000000..430f685aab --- /dev/null +++ b/application/src/test/resources/payload/things_stack_repository_device_payload.json @@ -0,0 +1,64 @@ +{ + "end_device_ids": { + "device_id": "am308-office", + "application_ids": { + "application_id": "my-app" + }, + "dev_eui": "24E124707C481005", + "join_eui": "24E124C0002A0001", + "dev_addr": "260B1234" + }, + "received_at": "2026-10-28T10:00:00.123Z", + "uplink_message": { + "f_port": 85, + "f_cnt": 12, + "frm_payload": "AXVk", + "decoded_payload": { + "battery": 95, + "temperature": 24.5, + "co2": 560, + "history": [ + { + "timestamp": 1793170000, + "temperature": 24.1, + "co2": 550 + } + ] + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "ug56" + }, + "rssi": -60, + "snr": 9.5, + "channel_index": 2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "received_at": "2026-10-28T10:00:00.100Z", + "consumed_airtime": "0.061696s", + "version_ids": { + "brand_id": "milesight-iot", + "model_id": "am308", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + }, + "network_ids": { + "net_id": "000013", + "tenant_id": "ttn", + "cluster_id": "eu1", + "cluster_address": "eu1.cloud.thethings.network" + } + } +} diff --git a/ui-ngx/pom.xml b/ui-ngx/pom.xml index ac1b07c92c..d41acf2057 100644 --- a/ui-ngx/pom.xml +++ b/ui-ngx/pom.xml @@ -96,6 +96,7 @@ src/assets/converters **/*.raw + default-converters-v2-configuration.json diff --git a/ui-ngx/src/assets/converters/default-converters-v2-configuration.json b/ui-ngx/src/assets/converters/default-converters-v2-configuration.json index 547095527d..4ee2d652cc 100644 --- a/ui-ngx/src/assets/converters/default-converters-v2-configuration.json +++ b/ui-ngx/src/assets/converters/default-converters-v2-configuration.json @@ -143,12 +143,17 @@ }, "TTN": { "type": "DEVICE", - "name": "Device $eui", - "profile": "$applicationId", + "name": "$deviceId", + "profile": "LoRaWAN Device", "label": "$deviceId", + "customer": "", + "group": "$applicationId", "attributes": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -158,23 +163,30 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ], "telemetry": [ "fCnt", "data", - "decoded", "latitude", "longitude", "altitude", "rssi", "snr", - "channel" + "channel", + "consumedAirtime" ], "updateOnlyKeys": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -184,18 +196,27 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ] }, "TTI": { "type": "DEVICE", - "name": "Device $eui", - "profile": "$applicationId", + "name": "$deviceId", + "profile": "LoRaWAN Device", "label": "$deviceId", + "customer": "", + "group": "$applicationId", "attributes": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -205,23 +226,30 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ], "telemetry": [ "fCnt", "data", - "decoded", "latitude", "longitude", "altitude", "rssi", "snr", - "channel" + "channel", + "consumedAirtime" ], "updateOnlyKeys": [ "eui", + "joinEui", "devAddr", + "deviceId", + "applicationId", "fPort", "bandwidth", "spreadingFactor", @@ -231,8 +259,12 @@ "modelId", "hardwareVersion", "firmwareVersion", - "attributes", - "tenantId" + "bandId", + "netId", + "tenantId", + "clusterId", + "clusterAddress", + "attributes" ] } } diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index 10f09c96ad..5cb10f8db1 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -1,111 +1,35 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {number[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array. - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Industries payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); - } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == 'JSON') { + values = decodeToJson(payload); + if (Array.isArray(values.history)) { + values.history.forEach(function (record) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + delete record.timestamp; + history.push({ ts: ts, values: record }); + } + }); + delete values.history; } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Initialize an object to store decoded key/value telemetry data. - var values = {}; - - // Decode battery level from the 5th byte of the payload. - values.battery = parseBytesToInt(bytes, 4, 1); - - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - values.temperature = parseBytesToInt(bytes, 5, 2) / 100.0; - - // Decode saturation from the 8th byte of the payload. - values.saturation = parseBytesToInt(bytes, 7, 1); - - // Combine the timestamp with values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: values - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } +var profile = 'LoRaWAN Device'; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + '-' + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == 'milesight-iot-am308') { +// profile = 'AM308'; +// } +if (history.length == 0) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.push({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; - -/** - * Converts a byte array to a string and parses it as JSON. - * - * @param {number[]} payload - The array of bytes. - * @returns {Object} - The parsed JSON object. - */ function decodeToJson(payload) { return JSON.parse(String.fromCharCode.apply(String, payload)); } - -/** - * Parse a slice of bytes from an array into an integer (big-endian). - * - * @param {number[]} input - The array of bytes. - * @param {number} offset - The starting index. - * @param {number} length - The number of bytes to convert. - * @returns {number} - The resulting integer. - */ -function parseBytesToInt(input, offset, length) { - var result = 0; - for (var i = offset; i < offset + length; i++) { - result = (result << 8) | (input[i] & 0xFF); - } - return result; -} - diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index 478c26140a..5cb10f8db1 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -1,110 +1,35 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {number[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array. - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Network payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); - } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == 'JSON') { + values = decodeToJson(payload); + if (Array.isArray(values.history)) { + values.history.forEach(function (record) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + delete record.timestamp; + history.push({ ts: ts, values: record }); + } + }); + delete values.history; } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Initialize an object to store decoded key/value telemetry data. - var values = {}; - - // Decode battery level from the 5th byte of the payload. - values.battery = parseBytesToInt(bytes, 4, 1); - - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - values.temperature = parseBytesToInt(bytes, 5, 2) / 100.0; - - // Decode saturation from the 8th byte of the payload. - values.saturation = parseBytesToInt(bytes, 7, 1); - - // Combine the timestamp with values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: values - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } +var profile = 'LoRaWAN Device'; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + '-' + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == 'milesight-iot-am308') { +// profile = 'AM308'; +// } +if (history.length == 0) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.push({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; - -/** - * Converts a byte array to a string and parses it as JSON. - * - * @param {number[]} payload - The array of bytes. - * @returns {Object} - The parsed JSON object. - */ function decodeToJson(payload) { return JSON.parse(String.fromCharCode.apply(String, payload)); } - -/** - * Parse a slice of bytes from an array into an integer (big-endian). - * - * @param {number[]} input - The array of bytes. - * @param {number} offset - The starting index. - * @param {number} length - The number of bytes to convert. - * @returns {number} - The resulting integer. - */ -function parseBytesToInt(input, offset, length) { - var result = 0; - for (var i = offset; i < offset + length; i++) { - result = (result << 8) | (input[i] & 0xFF); - } - return result; -} diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 3dd4a8fb48..09c75b5aed 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -1,79 +1,31 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {byte[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Industries payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == "JSON") { + values = decodeToJson(payload); + if (values.history instanceof java.util.List) { + foreach (record : values.history) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + record.remove("timestamp"); + history.add({ ts: ts, values: record }); + } } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; + values.remove("history"); } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Combine the timestamp with decoded values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: { - // Decode battery level from the 5th byte of the payload. - battery: parseBytesToInt(bytes, 4, 1), - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // Decode saturation from the 8th byte of the payload. - saturation: parseBytesToInt(bytes, 7, 1) - } - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } - -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; +var profile = "LoRaWAN Device"; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + "-" + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == "milesight-iot-am308") { +// profile = "AM308"; +// } +if (history.isEmpty()) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.add({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 12f302274d..09c75b5aed 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -1,79 +1,31 @@ -/** - * Decodes the incoming payload and returns a structured object containing telemetry data and attributes. - * - * @param {byte[]} input - The raw payload received as an array of bytes. - * @returns {Object} output - The structured output with decoded telemetry and attributes. - */ - -function decodePayload(input) { - // Initialize the output object with empty attributes and telemetry for clarity. - var result = { attributes: {}, telemetry: {}}; - - // Detect input type and normalize to byte array - var bytes; - - if (metadata.payloadFormat == 'JSON') { - // payloadFormat is 'JSON' when The Things Network payload formatters are configured on the application or device level. - // In that case, decoded_payload is a JSON object produced by your formatter. - // This template assumes the formatter returns { "bytes": [...] } with the raw byte array. - // If your formatter returns pre-decoded values in a different structure, - // update this section to extract the values directly from 'parsed' instead. - var parsed = decodeToJson(input); - if (parsed.bytes == null) { - throw new Error("Payload formatter output does not contain a 'bytes' field. " + - "Update this decoder to match your formatter's output structure."); +// The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload +// is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. +// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +var values = {}; +var history = []; +if (metadata.payloadFormat == "JSON") { + values = decodeToJson(payload); + if (values.history instanceof java.util.List) { + foreach (record : values.history) { + if (record.timestamp != null) { + var ts = record.timestamp * 1000; + record.remove("timestamp"); + history.add({ ts: ts, values: record }); + } } - bytes = parsed.bytes; - } else { - // payloadFormat is 'BINARY' when no payload formatter is configured — raw bytes from frm_payload are passed directly. - bytes = input; + values.remove("history"); } - - // Decode serial number (SN) from the first 4 bytes of the payload. - // Press '?' icon in the top right corner to learn more about built in helper functions and capabilities. - result.attributes.sn = parseBytesToInt(bytes, 0, 4); - - // Extract the timestamp from metadata (represented in milliseconds). - var timestamp = metadata.ts; // ts is the timestamp parsed from the incoming message's time, or returns the current time if it cannot be parsed. - - // Combine the timestamp with decoded values and add it to the telemetry. - result.telemetry = { - ts: timestamp, - values: { - // Decode battery level from the 5th byte of the payload. - battery: parseBytesToInt(bytes, 4, 1), - // Decode temperature from the 6th and 7th bytes of the payload (divided by 100). - temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // Decode saturation from the 8th byte of the payload. - saturation: parseBytesToInt(bytes, 7, 1) - } - }; - - // Return the fully constructed output object. - return result; - // Same logic, less code: - // return { - // attributes: { - // sn: parseBytesToInt(bytes, 0, 4) - // }, - // telemetry: { - // ts: convertDateToTimestamp(extractDateFromMetadata()), - // values: { - // battery: parseBytesToInt(bytes, 4, 1), - // temperature: parseBytesToInt(bytes, 5, 2) / 100.0, - // saturation: parseBytesToInt(bytes, 7, 1) - // } - // } - // }; } - -var result = decodePayload(payload); -// Uncomment this code block to overwrite values set in the main configuration window. Useful if you extract device/asset/customer/group names from the payload; -// result.type = 'DEVICE'; // Entity type allows you to choose type of created entity. Can be 'DEVICE' or 'ASSET'. -// result.name = 'Temperature Sensor'; // Device or asset name (the value must be unique) -// result.profile = 'IndustrialSensorProfile'; // Device or asset profile name. -// result.customer = 'MyCustomer'; // If customer is not null - created entity will be assigned to customer with such name. -// result.group = 'SensorsGroup'; // If group is not null - created entity will be added to the entity group with such name. - -// Return the final result object. -return result; +var profile = "LoRaWAN Device"; +if (metadata.brandId != null && metadata.modelId != null) { + profile = metadata.brandId + "-" + metadata.modelId; +} +// To give a model its own profile name, map it here, for example: +// if (profile == "milesight-iot-am308") { +// profile = "AM308"; +// } +if (history.isEmpty()) { + return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; +} +history.add({ ts: metadata.ts, values: values }); +return { profile: profile, telemetry: history }; From 2aa823766c19837eb9803894c147b2203bff4ebc Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 19:06:12 +0200 Subject: [PATCH 056/275] Dedicated converter: save metadata telemetry at the uplink time when the script returns a telemetry array The metadata telemetry keys went into a separate array element without ts, so they were saved at the server time, while the script's own values were saved at the uplink time. The element now takes ts from the metadata, the same ts the script reads and the one an object result already uses for these keys. --- .../controller/ConverterControllerTest.java | 2 +- .../api/converter/DedicatedConverterUtil.java | 20 +++++++++- ...edicatedScriptUplinkDataConverterTest.java | 37 +++++++++++++++++++ 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 0d99594197..2a56e51460 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -690,7 +690,7 @@ public class ConverterControllerTest extends AbstractControllerTest { public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560}}," + - "{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}]," + + "{\"ts\":1793181600100,\"values\":{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + "\"fPort\":85,\"bandwidth\":125000,\"spreadingFactor\":7,\"codeRate\":\"4/5\",\"frequency\":\"868100000\",\"brandId\":\"milesight-iot\",\"modelId\":\"am308\"," + "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index 0d270db56d..c8052005f6 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -40,7 +40,7 @@ public final class DedicatedConverterUtil { if (telemetry.isJsonArray()) { JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry()); if (!telemetryFromMetadata.isEmpty()) { - telemetry.getAsJsonArray().add(telemetryFromMetadata); + telemetry.getAsJsonArray().add(withUplinkTs(telemetryFromMetadata, kvMap)); } } else if (telemetry.isJsonObject()) { var obj = telemetry.getAsJsonObject(); @@ -101,6 +101,24 @@ public final class DedicatedConverterUtil { return defaultValue.get(); } + // An array element without ts is saved at the server time, so the metadata element takes the uplink time when it is known + private static JsonObject withUplinkTs(JsonObject values, Map kvMap) { + Object ts = kvMap.get(TS); + Long uplinkTs = null; + if (ts instanceof Number number) { + uplinkTs = number.longValue(); + } else if (ts instanceof String str && StringUtils.isNumeric(str)) { + uplinkTs = Long.parseLong(str); + } + if (uplinkTs == null) { + return values; + } + JsonObject element = new JsonObject(); + element.addProperty(TS, uplinkTs); + element.add(VALUES, values); + return element; + } + private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys) { if (CollectionsUtil.isNotEmpty(keys) && !kvMap.isEmpty()) { kvMap.entrySet().stream() diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index 155b9ac6c8..f764751813 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -179,6 +179,43 @@ public class DedicatedScriptUplinkDataConverterTest { }); } + @Test + public void parseUplinkDataWithTelemetryArraySavesMetadataAtUplinkTsTest() { + DedicatedConverterConfig config = new DedicatedConverterConfig(); + config.setType(EntityType.DEVICE); + config.setName("Device ${eui}"); + config.setTelemetry(Set.of("rssi")); + + ReflectionTestUtils.setField(uplinkDataConverter, "config", config); + + long historyTs = 1793170000000L; + long uplinkTs = 1793181600100L; + JsonObject historyValues = new JsonObject(); + historyValues.addProperty("temperature", 24.1); + JsonObject history = new JsonObject(); + history.addProperty("ts", historyTs); + history.add("values", historyValues); + + JsonArray telemetryArray = new JsonArray(); + telemetryArray.add(history); + + JsonObject uplinkJson = new JsonObject(); + uplinkJson.add("telemetry", telemetryArray); + + UplinkMetaData uplinkMetaData = new UplinkMetaData(ContentType.JSON, Map.of( + "rssi", "-60", + "eui", "24E124707C481005", + "ts", String.valueOf(uplinkTs))); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(uplinkJson, uplinkMetaData); + + var tsKvLists = uplink.getTelemetry().getTsKvListList(); + assertEquals(2, tsKvLists.size()); + assertEquals(historyTs, tsKvLists.get(0).getTs()); + assertEquals(uplinkTs, tsKvLists.get(1).getTs()); + assertEquals("rssi", tsKvLists.get(1).getKv(0).getKey()); + } + @Test public void parseUplinkDataTest() { DedicatedConverterConfig config = new DedicatedConverterConfig(); From 17278ce2d9ee11cd721955e0d356994bbf8757ff Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 19:14:43 +0200 Subject: [PATCH 057/275] Dedicated converter: metadata telemetry joins the script's array element at the uplink ts With its own element at the uplink ts, a metadata key also returned by the script overwrote the script's value. The metadata keys now go into the script's element at that ts, only where the script has no value, as for an object result. Without such an element they keep their own element at the uplink ts. --- .../controller/ConverterControllerTest.java | 4 +- .../api/converter/DedicatedConverterUtil.java | 52 ++++++++++++++----- ...edicatedScriptUplinkDataConverterTest.java | 44 ++++++++++++++++ 3 files changed, 84 insertions(+), 16 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 2a56e51460..8ab6727c04 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -689,8 +689,8 @@ public class ConverterControllerTest extends AbstractControllerTest { @Test public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + - "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560}}," + - "{\"ts\":1793181600100,\"values\":{\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560," + + "\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + "\"fPort\":85,\"bandwidth\":125000,\"spreadingFactor\":7,\"codeRate\":\"4/5\",\"frequency\":\"868100000\",\"brandId\":\"milesight-iot\",\"modelId\":\"am308\"," + "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index c8052005f6..f23d60a2a3 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -3,6 +3,7 @@ package org.thingsboard.integration.api.converter; import com.google.gson.Gson; +import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import org.thingsboard.common.util.JacksonUtil; @@ -38,10 +39,7 @@ public final class DedicatedConverterUtil { telemetry = src.get(TELEMETRY); if (telemetry.isJsonArray()) { - JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry()); - if (!telemetryFromMetadata.isEmpty()) { - telemetry.getAsJsonArray().add(withUplinkTs(telemetryFromMetadata, kvMap)); - } + addMetadataTelemetry(telemetry.getAsJsonArray(), kvMap, config.getTelemetry()); } else if (telemetry.isJsonObject()) { var obj = telemetry.getAsJsonObject(); if (obj.has(VALUES)) { @@ -101,22 +99,48 @@ public final class DedicatedConverterUtil { return defaultValue.get(); } - // An array element without ts is saved at the server time, so the metadata element takes the uplink time when it is known - private static JsonObject withUplinkTs(JsonObject values, Map kvMap) { - Object ts = kvMap.get(TS); - Long uplinkTs = null; - if (ts instanceof Number number) { - uplinkTs = number.longValue(); - } else if (ts instanceof String str && StringUtils.isNumeric(str)) { - uplinkTs = Long.parseLong(str); + // The metadata keys join the script's element at the uplink ts, where the script's values win as in an object result. + // Without such an element they get their own one at the uplink ts: an element without ts is saved at the server time. + private static void addMetadataTelemetry(JsonArray telemetry, Map kvMap, Set keys) { + Long uplinkTs = getUplinkTs(kvMap); + if (uplinkTs != null) { + for (JsonElement element : telemetry) { + if (element.isJsonObject() && isValuesAtTs(element.getAsJsonObject(), uplinkTs)) { + addKvs(element.getAsJsonObject().getAsJsonObject(VALUES), kvMap, keys); + return; + } + } + } + JsonObject values = addKvs(new JsonObject(), kvMap, keys); + if (values.isEmpty()) { + return; } if (uplinkTs == null) { - return values; + telemetry.add(values); + return; } JsonObject element = new JsonObject(); element.addProperty(TS, uplinkTs); element.add(VALUES, values); - return element; + telemetry.add(element); + } + + private static boolean isValuesAtTs(JsonObject element, long ts) { + JsonElement elementTs = element.get(TS); + return element.has(VALUES) && element.get(VALUES).isJsonObject() + && elementTs != null && elementTs.isJsonPrimitive() && elementTs.getAsJsonPrimitive().isNumber() + && elementTs.getAsLong() == ts; + } + + private static Long getUplinkTs(Map kvMap) { + Object ts = kvMap.get(TS); + if (ts instanceof Number number) { + return number.longValue(); + } + if (ts instanceof String str && StringUtils.isNumeric(str)) { + return Long.parseLong(str); + } + return null; } private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys) { diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index f764751813..5ee41eda4e 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -216,6 +216,50 @@ public class DedicatedScriptUplinkDataConverterTest { assertEquals("rssi", tsKvLists.get(1).getKv(0).getKey()); } + @Test + public void parseUplinkDataWithTelemetryArrayAddsMetadataToScriptElementAtUplinkTsTest() { + DedicatedConverterConfig config = new DedicatedConverterConfig(); + config.setType(EntityType.DEVICE); + config.setName("Device ${eui}"); + config.setTelemetry(Set.of("rssi", "data")); + + ReflectionTestUtils.setField(uplinkDataConverter, "config", config); + + long uplinkTs = 1793181600100L; + JsonObject currentValues = new JsonObject(); + currentValues.addProperty("temperature", 24.5); + currentValues.addProperty("rssi", -50); + JsonObject current = new JsonObject(); + current.addProperty("ts", uplinkTs); + current.add("values", currentValues); + + JsonArray telemetryArray = new JsonArray(); + telemetryArray.add(current); + + JsonObject uplinkJson = new JsonObject(); + uplinkJson.add("telemetry", telemetryArray); + + UplinkMetaData uplinkMetaData = new UplinkMetaData(ContentType.JSON, Map.of( + "rssi", "-60", + "data", "AXVk", + "eui", "24E124707C481005", + "ts", String.valueOf(uplinkTs))); + + Map expectedTelemetry = Map.of( + "temperature", 24.5, + "rssi", -50L, + "data", "AXVk" + ); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(uplinkJson, uplinkMetaData); + + var tsKvLists = uplink.getTelemetry().getTsKvListList(); + assertEquals(1, tsKvLists.size()); + assertEquals(uplinkTs, tsKvLists.get(0).getTs()); + assertEquals(expectedTelemetry.size(), tsKvLists.get(0).getKvCount()); + tsKvLists.get(0).getKvList().forEach(kv -> assertEquals(expectedTelemetry.get(kv.getKey()), getValue(kv))); + } + @Test public void parseUplinkDataTest() { DedicatedConverterConfig config = new DedicatedConverterConfig(); From 198e87211c39cfc2f203b45df323b5f79a59c909 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Wed, 28 Oct 2026 19:37:06 +0200 Subject: [PATCH 058/275] Dedicated converter: a numeric-string ts in a script element counts as the uplink ts A script passes a numeric-string metadata ts through unchanged, and the telemetry parser reads it as a long, so the metadata keys must join that element too. --- .../api/converter/DedicatedConverterUtil.java | 11 ++++++++--- .../DedicatedScriptUplinkDataConverterTest.java | 15 ++++++++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index f23d60a2a3..3af0d78e72 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -6,6 +6,7 @@ import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.google.gson.JsonPrimitive; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.integration.api.data.UplinkMetaData; import org.thingsboard.server.common.data.EntityType; @@ -127,9 +128,13 @@ public final class DedicatedConverterUtil { private static boolean isValuesAtTs(JsonObject element, long ts) { JsonElement elementTs = element.get(TS); - return element.has(VALUES) && element.get(VALUES).isJsonObject() - && elementTs != null && elementTs.isJsonPrimitive() && elementTs.getAsJsonPrimitive().isNumber() - && elementTs.getAsLong() == ts; + if (!element.has(VALUES) || !element.get(VALUES).isJsonObject() || elementTs == null || !elementTs.isJsonPrimitive()) { + return false; + } + JsonPrimitive primitive = elementTs.getAsJsonPrimitive(); + // A script passes a numeric-string metadata ts through unchanged, and the telemetry parser reads it as a long too + return (primitive.isNumber() || (primitive.isString() && StringUtils.isNumeric(primitive.getAsString()))) + && primitive.getAsLong() == ts; } private static Long getUplinkTs(Map kvMap) { diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index 5ee41eda4e..6349a9334a 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -218,6 +218,15 @@ public class DedicatedScriptUplinkDataConverterTest { @Test public void parseUplinkDataWithTelemetryArrayAddsMetadataToScriptElementAtUplinkTsTest() { + testMetadataJoinsScriptElementAtUplinkTs(false); + } + + @Test + public void parseUplinkDataWithTelemetryArrayAddsMetadataToScriptElementAtStringUplinkTsTest() { + testMetadataJoinsScriptElementAtUplinkTs(true); + } + + private void testMetadataJoinsScriptElementAtUplinkTs(boolean scriptTsAsString) { DedicatedConverterConfig config = new DedicatedConverterConfig(); config.setType(EntityType.DEVICE); config.setName("Device ${eui}"); @@ -230,7 +239,11 @@ public class DedicatedScriptUplinkDataConverterTest { currentValues.addProperty("temperature", 24.5); currentValues.addProperty("rssi", -50); JsonObject current = new JsonObject(); - current.addProperty("ts", uplinkTs); + if (scriptTsAsString) { + current.addProperty("ts", String.valueOf(uplinkTs)); + } else { + current.addProperty("ts", uplinkTs); + } current.add("values", currentValues); JsonArray telemetryArray = new JsonArray(); From 46ea9dbd883f7004a88e81b009d661b77e911e2f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 09:45:27 +0100 Subject: [PATCH 059/275] Remove edge msgs content and secrets from edge failure notifications and logs --- .../service/edge/EdgeMsgSummaryUtils.java | 44 ++++++++++++++++++ .../service/edge/rpc/EdgeGrpcSession.java | 16 ++++--- .../processor/device/BaseDeviceProcessor.java | 11 +++-- .../processor/device/DeviceEdgeProcessor.java | 3 +- .../service/edge/EdgeMsgSummaryUtilsTest.java | 45 +++++++++++++++++++ 5 files changed, 105 insertions(+), 14 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java create mode 100644 application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java new file mode 100644 index 0000000000..7b47f9199a --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge; + +import com.google.protobuf.Descriptors.FieldDescriptor; +import com.google.protobuf.Message; + +import java.util.Collection; +import java.util.List; +import java.util.StringJoiner; +import java.util.stream.Collectors; + +/** + * Describes edge protobuf messages without their payloads, so they can be logged or put into notifications + * without exposing entity JSON, credentials, tokens or secrets. + */ +public final class EdgeMsgSummaryUtils { + + private EdgeMsgSummaryUtils() { + } + + // e.g. DownlinkMsg[downlinkMsgId=12, deviceUpdateMsg x2, deviceCredentialsUpdateMsg x1] + public static String toSummary(Message msg) { + if (msg == null) { + return "null"; + } + StringJoiner summary = new StringJoiner(", ", msg.getDescriptorForType().getName() + "[", "]"); + msg.getAllFields().forEach((field, value) -> { + if (field.isRepeated()) { + summary.add(field.getName() + " x" + ((List) value).size()); + } else if (field.getJavaType() == FieldDescriptor.JavaType.INT || field.getJavaType() == FieldDescriptor.JavaType.LONG) { + summary.add(field.getName() + "=" + value); + } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { + summary.add(field.getName()); + } + }); + return summary.toString(); + } + + public static String toSummary(Collection msgs) { + return msgs.stream().map(EdgeMsgSummaryUtils::toSummary).collect(Collectors.joining(", ", "[", "]")); + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java index ec9eedde62..5886b2cae0 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcSession.java @@ -76,6 +76,7 @@ import org.thingsboard.server.gen.edge.v1.UserCredentialsRequestMsg; import org.thingsboard.server.gen.edge.v1.WidgetBundleTypesRequestMsg; import org.thingsboard.server.service.edge.EdgeContextComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import org.thingsboard.server.service.edge.EdgeMsgSummaryUtils; import org.thingsboard.server.service.edge.rpc.fetch.EdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.fetch.GeneralEdgeEventFetcher; import org.thingsboard.server.service.edge.rpc.utils.EdgeVersionUtils; @@ -340,7 +341,7 @@ public abstract class EdgeGrpcSession implements Closeable { } private ConnectResponseMsg processConnect(ConnectRequestMsg request) { - log.trace("[{}] processConnect [{}]", sessionId, request); + log.trace("[{}] processConnect, routing key [{}], edge version [{}]", sessionId, request.getEdgeRoutingKey(), request.getEdgeVersion()); Optional optional = ctx.getEdgeService().findEdgeByRoutingKey(TenantId.SYS_TENANT_ID, request.getEdgeRoutingKey()); if (optional.isPresent()) { edge = optional.get(); @@ -358,7 +359,7 @@ public abstract class EdgeGrpcSession implements Closeable { .build(); } String error = "Failed to validate the edge!"; - String failureMsg = String.format("%s Provided request secret: %s", error, request.getEdgeSecret()); + String failureMsg = String.format("%s Provided request secret doesn't match the edge secret.", error); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId).edgeId(edge.getId()) .customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(failureMsg).error(error).build()); return ConnectResponseMsg.newBuilder() @@ -464,7 +465,7 @@ public abstract class EdgeGrpcSession implements Closeable { ctx.getStatsCounterService().ifPresent(statsCounterService -> statsCounterService.recordEvent(EdgeStatsKey.DOWNLINK_MSGS_TMP_FAILED, edge.getTenantId(), edge.getId(), 1)); log.warn("[{}][{}] {} on attempt {}", tenantId, edge.getId(), failureMsg, attempt); - log.debug("[{}][{}] entities in failed batch: {}", tenantId, edge.getId(), copy); + log.debug("[{}][{}] entities in failed batch: {}", tenantId, edge.getId(), EdgeMsgSummaryUtils.toSummary(copy)); } log.trace("[{}][{}][{}] downlink msg(s) are going to be send.", tenantId, edge.getId(), copy.size()); for (DownlinkMsg downlinkMsg : copy) { @@ -473,7 +474,7 @@ public abstract class EdgeGrpcSession implements Closeable { "env variable on the edge and restart it.", clientMaxInboundMessageSize); String message = String.format("Downlink msg size %s exceeds client max inbound message size %s. " + "Please increase value of CLOUD_RPC_MAX_INBOUND_MESSAGE_SIZE env variable on the edge and restart it.", downlinkMsg.getSerializedSize(), clientMaxInboundMessageSize); - log.error("[{}][{}][{}] {} Message {}", tenantId, edge.getId(), sessionId, message, downlinkMsg); + log.error("[{}][{}][{}] {} Message {}", tenantId, edge.getId(), sessionId, message, EdgeMsgSummaryUtils.toSummary(downlinkMsg)); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId) .edgeId(edge.getId()).customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(message).error(error).build()); ctx.getStatsCounterService().ifPresent(statsCounterService -> @@ -488,9 +489,10 @@ public abstract class EdgeGrpcSession implements Closeable { if (attempt < MAX_DOWNLINK_ATTEMPTS) { scheduleDownlinkMsgsPackSend(attempt + 1); } else { - String failureMsg = String.format("Failed to deliver messages: %s", copy); + String failedMsgsSummary = EdgeMsgSummaryUtils.toSummary(copy); + String failureMsg = String.format("Failed to deliver messages: %s", failedMsgsSummary); log.warn("[{}][{}] Failed to deliver the batch after {} attempts. Next messages are going to be discarded {}", - tenantId, edge.getId(), MAX_DOWNLINK_ATTEMPTS, copy); + tenantId, edge.getId(), MAX_DOWNLINK_ATTEMPTS, failedMsgsSummary); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId).edgeId(edge.getId()) .customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(failureMsg) .error("Failed to deliver messages after " + MAX_DOWNLINK_ATTEMPTS + " attempts").build()); @@ -944,7 +946,7 @@ public abstract class EdgeGrpcSession implements Closeable { } } } catch (Exception e) { - String failureMsg = String.format("Can't process uplink msg [%s] from edge", uplinkMsg); + String failureMsg = String.format("Can't process uplink msg [%s] from edge", EdgeMsgSummaryUtils.toSummary(uplinkMsg)); log.trace("[{}][{}] Can't process uplink msg [{}]", tenantId, edge.getId(), uplinkMsg, e); ctx.getRuleProcessor().process(EdgeCommunicationFailureTrigger.builder().tenantId(tenantId).edgeId(edge.getId()) .customerId(edge.getCustomerId()).edgeName(edge.getName()).failureMsg(failureMsg).error(e.getMessage()).build()); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java index 0c5d73cf6f..33fe2a5cec 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/BaseDeviceProcessor.java @@ -70,12 +70,12 @@ public abstract class BaseDeviceProcessor extends BaseEdgeProcessor { protected void updateDeviceCredentials(TenantId tenantId, DeviceCredentialsUpdateMsg deviceCredentialsUpdateMsg) { DeviceCredentials deviceCredentials = JacksonUtil.fromString(deviceCredentialsUpdateMsg.getEntity(), DeviceCredentials.class, true); if (deviceCredentials == null) { - throw new RuntimeException("[{" + tenantId + "}] deviceCredentialsUpdateMsg {" + deviceCredentialsUpdateMsg + "} cannot be converted to device credentials"); + throw new RuntimeException("[{" + tenantId + "}] deviceCredentialsUpdateMsg cannot be converted to device credentials"); } Device device = edgeCtx.getDeviceService().findDeviceById(tenantId, deviceCredentials.getDeviceId()); if (device != null) { - log.debug("[{}] Updating device credentials for device [{}]. New device credentials Id [{}], value [{}]", - tenantId, device.getName(), deviceCredentials.getCredentialsId(), deviceCredentials.getCredentialsValue()); + log.debug("[{}] Updating device credentials for device [{}]. New device credentials type [{}]", + tenantId, device.getName(), deviceCredentials.getCredentialsType()); try { DeviceCredentials deviceCredentialsByDeviceId = edgeCtx.getDeviceCredentialsService().findDeviceCredentialsByDeviceId(tenantId, device.getId()); if (deviceCredentialsByDeviceId == null) { @@ -88,12 +88,11 @@ public abstract class BaseDeviceProcessor extends BaseEdgeProcessor { edgeCtx.getDeviceCredentialsService().updateDeviceCredentials(tenantId, deviceCredentialsByDeviceId); } catch (Exception e) { - log.error("[{}] Can't update device credentials for device [{}], deviceCredentialsUpdateMsg [{}]", - tenantId, device.getName(), deviceCredentialsUpdateMsg, e); + log.error("[{}] Can't update device credentials for device [{}]", tenantId, device.getName(), e); throw new RuntimeException(e); } } else { - log.warn("[{}] Can't find device by id [{}], deviceCredentialsUpdateMsg [{}]", tenantId, deviceCredentials.getDeviceId(), deviceCredentialsUpdateMsg); + log.warn("[{}] Can't find device by id [{}], skipping device credentials update", tenantId, deviceCredentials.getDeviceId()); } } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java index 4cd8d9dc1c..ff272b1130 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/device/DeviceEdgeProcessor.java @@ -46,6 +46,7 @@ import org.thingsboard.server.queue.TbQueueCallback; import org.thingsboard.server.queue.TbQueueMsgMetadata; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import org.thingsboard.server.service.edge.EdgeMsgSummaryUtils; import java.util.UUID; @@ -90,7 +91,7 @@ public class DeviceEdgeProcessor extends BaseDeviceProcessor implements DevicePr @Override public ListenableFuture processDeviceCredentialsMsgFromEdge(TenantId tenantId, EdgeId edgeId, DeviceCredentialsUpdateMsg deviceCredentialsUpdateMsg) { - log.debug("[{}] Executing processDeviceCredentialsMsgFromEdge, deviceCredentialsUpdateMsg [{}]", tenantId, deviceCredentialsUpdateMsg); + log.debug("[{}] Executing processDeviceCredentialsMsgFromEdge, deviceCredentialsUpdateMsg [{}]", tenantId, EdgeMsgSummaryUtils.toSummary(deviceCredentialsUpdateMsg)); try { edgeSynchronizationManager.getEdgeId().set(edgeId); diff --git a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java new file mode 100644 index 0000000000..a75dd9ce6f --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java @@ -0,0 +1,45 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.edge; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.thingsboard.server.gen.edge.v1.DeviceCredentialsUpdateMsg; +import org.thingsboard.server.gen.edge.v1.DeviceUpdateMsg; +import org.thingsboard.server.gen.edge.v1.DownlinkMsg; +import org.thingsboard.server.gen.edge.v1.UplinkMsg; + +import java.util.List; + +public class EdgeMsgSummaryUtilsTest { + + private static final String SECRET = "secret-access-token"; + + @Test + public void testDownlinkMsgSummaryHasNoPayload() { + DownlinkMsg downlinkMsg = DownlinkMsg.newBuilder() + .setDownlinkMsgId(12) + .addDeviceUpdateMsg(DeviceUpdateMsg.newBuilder().setEntity("{\"name\":\"Device\"}").build()) + .addDeviceUpdateMsg(DeviceUpdateMsg.newBuilder().setEntity("{\"name\":\"Device 2\"}").build()) + .addDeviceCredentialsUpdateMsg(DeviceCredentialsUpdateMsg.newBuilder().setEntity("{\"credentialsId\":\"" + SECRET + "\"}").build()) + .build(); + + String summary = EdgeMsgSummaryUtils.toSummary(downlinkMsg); + + Assertions.assertEquals("DownlinkMsg[downlinkMsgId=12, deviceUpdateMsg x2, deviceCredentialsUpdateMsg x1]", summary); + } + + @Test + public void testUplinkMsgsSummaryHasNoPayload() { + UplinkMsg uplinkMsg = UplinkMsg.newBuilder() + .setUplinkMsgId(3) + .addDeviceCredentialsUpdateMsg(DeviceCredentialsUpdateMsg.newBuilder().setEntity("{\"credentialsId\":\"" + SECRET + "\"}").build()) + .build(); + + String summary = EdgeMsgSummaryUtils.toSummary(List.of(uplinkMsg, uplinkMsg)); + + Assertions.assertEquals("[UplinkMsg[uplinkMsgId=3, deviceCredentialsUpdateMsg x1], UplinkMsg[uplinkMsgId=3, deviceCredentialsUpdateMsg x1]]", summary); + Assertions.assertFalse(summary.contains(SECRET)); + } + +} From 728e0016ad31632bc7264abc815c11b623da15e4 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 09:46:31 +0100 Subject: [PATCH 060/275] Remove activation and reset tokens from user credentials sent to edge --- .../service/edge/EdgeMsgConstructorUtils.java | 5 +++- .../edge/EdgeMsgConstructorUtilsTest.java | 30 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java index 702e43ac3d..dee613c43a 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java @@ -602,7 +602,10 @@ public class EdgeMsgConstructorUtils { } public static UserCredentialsUpdateMsg constructUserCredentialsUpdatedMsg(UserCredentials userCredentials) { - return UserCredentialsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(userCredentials)).build(); + // activation and reset tokens allow taking over the account and are not used by edge + ObjectNode userCredentialsNode = (ObjectNode) JacksonUtil.valueToTree(userCredentials); + userCredentialsNode.remove(List.of("activateToken", "activateTokenExpTime", "resetToken", "resetTokenExpTime")); + return UserCredentialsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(userCredentialsNode)).build(); } public static WidgetsBundleUpdateMsg constructWidgetsBundleUpdateMsg(UpdateMsgType msgType, WidgetsBundle widgetsBundle, List widgets) { diff --git a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java index ed0593dea5..97eebc06b1 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtilsTest.java @@ -6,6 +6,7 @@ import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -23,14 +24,18 @@ import org.thingsboard.rule.engine.rest.TbSendRestApiCallReplyNode; import org.thingsboard.rule.engine.telemetry.TbCalculatedFieldsNode; import org.thingsboard.rule.engine.telemetry.TbMsgAttributesNode; import org.thingsboard.rule.engine.telemetry.TbMsgTimeseriesNode; +import org.thingsboard.server.common.data.id.UserId; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleNode; +import org.thingsboard.server.common.data.security.UserCredentials; import org.thingsboard.server.gen.edge.v1.EdgeVersion; import org.thingsboard.server.gen.edge.v1.UpdateMsgType; +import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import java.lang.reflect.Constructor; import java.util.List; import java.util.Optional; +import java.util.UUID; import java.util.stream.Stream; import static org.thingsboard.server.service.edge.EdgeMsgConstructorUtils.EXCLUDED_NODES_BY_EDGE_VERSION; @@ -142,4 +147,29 @@ public class EdgeMsgConstructorUtilsTest { String.format("For EdgeVersion '%s', ruleNode '%s' should not be included.", edgeVersion, ruleNode.getType())); } + @Test + public void testUserCredentialsUpdatedMsgWithoutTokens() { + UserCredentials userCredentials = new UserCredentials(); + userCredentials.setUserId(new UserId(UUID.randomUUID())); + userCredentials.setEnabled(true); + userCredentials.setPassword("$2a$10$passwordHash"); + userCredentials.setActivateToken("activateToken"); + userCredentials.setActivateTokenExpTime(System.currentTimeMillis()); + userCredentials.setResetToken("resetToken"); + userCredentials.setResetTokenExpTime(System.currentTimeMillis()); + + UserCredentialsUpdateMsg userCredentialsUpdateMsg = EdgeMsgConstructorUtils.constructUserCredentialsUpdatedMsg(userCredentials); + UserCredentials sentUserCredentials = JacksonUtil.fromString(userCredentialsUpdateMsg.getEntity(), UserCredentials.class, true); + + Assertions.assertNotNull(sentUserCredentials); + Assertions.assertEquals(userCredentials.getUserId(), sentUserCredentials.getUserId()); + Assertions.assertEquals(userCredentials.getPassword(), sentUserCredentials.getPassword()); + Assertions.assertTrue(sentUserCredentials.isEnabled()); + Assertions.assertNull(sentUserCredentials.getActivateToken()); + Assertions.assertNull(sentUserCredentials.getActivateTokenExpTime()); + Assertions.assertNull(sentUserCredentials.getResetToken()); + Assertions.assertNull(sentUserCredentials.getResetTokenExpTime()); + Assertions.assertEquals("resetToken", userCredentials.getResetToken()); + } + } From 6af0dd38ce39fff92e453fe535ec634effe8a356 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 10:34:14 +0100 Subject: [PATCH 061/275] Restore missing test annotation in UserEdgeTest --- .../src/test/java/org/thingsboard/server/edge/UserEdgeTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index a339ca3f8f..ade03867a4 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -437,6 +437,7 @@ public class UserEdgeTest extends AbstractEdgeTest { return opt.get(); } + @Test public void testSendUserCredentialsRequestForUserOfDifferentTenantToCloud() throws Exception { loginDifferentTenant(); UUID userUuid = savedDifferentTenantUser.getUuidId(); From 2b7830a03fc8f3894152e8fb5ac0ff51738cb10f Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 10:34:14 +0100 Subject: [PATCH 062/275] Take only password and enabled flag from edge user credentials msg --- .../rpc/processor/user/BaseUserProcessor.java | 44 ++++++++++++++----- .../thingsboard/server/edge/UserEdgeTest.java | 32 ++++++++++++++ .../server/dao/user/UserService.java | 2 + .../server/dao/user/UserServiceImpl.java | 3 +- 4 files changed, 68 insertions(+), 13 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 7cf15764de..98a14ca5fc 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -22,6 +22,8 @@ import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.service.edge.rpc.processor.BaseEdgeProcessor; +import java.util.Objects; + @Slf4j public abstract class BaseUserProcessor extends BaseEdgeProcessor { @@ -113,31 +115,49 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { } protected void updateUserCredentials(TenantId tenantId, UserCredentialsUpdateMsg updateMsg) { - UserCredentials userCredentials = JacksonUtil.fromString(updateMsg.getEntity(), UserCredentials.class, true); - if (userCredentials == null) { + UserCredentials edgeUserCredentials = JacksonUtil.fromString(updateMsg.getEntity(), UserCredentials.class, true); + if (edgeUserCredentials == null) { throw new IllegalArgumentException(String.format("[%s] Failed to parse UserCredentials from updateMsg: %s", tenantId, updateMsg)); } - User user = edgeCtx.getUserService().findUserById(tenantId, userCredentials.getUserId()); + User user = edgeCtx.getUserService().findUserById(tenantId, edgeUserCredentials.getUserId()); if (user == null || !tenantId.equals(user.getTenantId())) { log.warn("[{}] Can't find user by id [{}] skipping credentials update. UserCredentialsUpdateMsg [{}]", - tenantId, userCredentials.getUserId(), updateMsg); + tenantId, edgeUserCredentials.getUserId(), updateMsg); return; } - if (userCredentials.getId() != null) { - UserCredentials userCredentialsById = edgeCtx.getUserService().findUserCredentialsById(tenantId, userCredentials.getId()); + if (edgeUserCredentials.getId() != null) { + UserCredentials userCredentialsById = edgeCtx.getUserService().findUserCredentialsById(tenantId, edgeUserCredentials.getId()); if (userCredentialsById != null && !user.getId().equals(userCredentialsById.getUserId())) { - log.warn("[{}] User credentials [{}] belong to a different user, skipping credentials update", tenantId, userCredentials.getId()); + log.warn("[{}] User credentials [{}] belong to a different user, skipping credentials update", tenantId, edgeUserCredentials.getId()); return; } } log.debug("[{}] Updating user credentials for user [{}]. New credentials Id [{}], enabled [{}]", - tenantId, user.getName(), userCredentials.getId(), userCredentials.isEnabled()); + tenantId, user.getName(), edgeUserCredentials.getId(), edgeUserCredentials.isEnabled()); try { - UserCredentials userCredentialsByUserId = edgeCtx.getUserService().findUserCredentialsByUserId(tenantId, user.getId()); - if (userCredentialsByUserId != null && !userCredentialsByUserId.getId().equals(userCredentials.getId())) { - edgeCtx.getUserService().deleteUserCredentials(tenantId, userCredentialsByUserId); + UserCredentials savedUserCredentials = edgeCtx.getUserService().findUserCredentialsByUserId(tenantId, user.getId()); + if (savedUserCredentials != null && !savedUserCredentials.getId().equals(edgeUserCredentials.getId())) { + edgeCtx.getUserService().deleteUserCredentials(tenantId, savedUserCredentials); + } + // only password and enabled flag come from edge, tokens, login attempts and password history stay as on cloud + UserCredentials updatedUserCredentials = savedUserCredentials != null ? savedUserCredentials : new UserCredentials(); + boolean passwordChanged = !Objects.equals(updatedUserCredentials.getPassword(), edgeUserCredentials.getPassword()); + updatedUserCredentials.setId(edgeUserCredentials.getId()); + updatedUserCredentials.setUserId(user.getId()); + updatedUserCredentials.setEnabled(edgeUserCredentials.isEnabled()); + updatedUserCredentials.setPassword(edgeUserCredentials.getPassword()); + if (passwordChanged && updatedUserCredentials.getPassword() != null) { + edgeCtx.getUserService().updatePasswordHistory(updatedUserCredentials); + } + if (updatedUserCredentials.isEnabled()) { + // user is activated on edge + updatedUserCredentials.setActivateToken(null); + updatedUserCredentials.setActivateTokenExpTime(null); + } else if (edgeUserCredentials.getActivateToken() != null && updatedUserCredentials.getActivateToken() == null) { + // user activation is pending on edge, cloud uses its own token + edgeCtx.getUserService().generateUserActivationToken(updatedUserCredentials); } - edgeCtx.getUserService().saveUserCredentials(tenantId, userCredentials, false); + edgeCtx.getUserService().saveUserCredentials(tenantId, updatedUserCredentials, false); } catch (Exception e) { log.error("[{}] Can't update user credentials for user [{}], userCredentialsUpdateMsg [{}]", tenantId, user.getName(), updateMsg, e); diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index ade03867a4..72b9251f2c 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -40,6 +40,7 @@ import java.util.concurrent.TimeUnit; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.thingsboard.server.dao.user.UserServiceImpl.DEFAULT_TOKEN_LENGTH; +import static org.thingsboard.server.dao.user.UserServiceImpl.USER_PASSWORD_HISTORY; @DaoSqlTest public class UserEdgeTest extends AbstractEdgeTest { @@ -507,4 +508,35 @@ public class UserEdgeTest extends AbstractEdgeTest { Assert.assertEquals(differentTenantCredentials.getPassword(), differentTenantCredentialsAfter.getPassword()); } + @Test + public void testSendUserCredentialsWithTokensAndLoginStateFromEdgeToCloud() throws Exception { + User user = buildUser(Authority.TENANT_ADMIN, null); + user.setEmail("edgeCredentialsUser@thingsboard.org"); + User savedUser = doPost("/api/user?sendActivationMail=false", user, User.class); + UserCredentials cloudCredentials = userService.findUserCredentialsByUserId(tenantId, savedUser.getId()); + cloudCredentials.setResetToken("cloudResetToken"); + cloudCredentials.setResetTokenExpTime(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)); + cloudCredentials.setFailedLoginAttempts(3); + userService.saveUserCredentials(tenantId, cloudCredentials, false); + + UserCredentials edgeCredentials = buildCredentials(cloudCredentials.getId(), savedUser.getId(), true); + String edgePassword = passwordEncoder.encode("edgePassword"); + edgeCredentials.setPassword(edgePassword); + edgeCredentials.setActivateToken("edgeActivateToken"); + edgeCredentials.setResetToken("edgeResetToken"); + edgeCredentials.setResetTokenExpTime(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)); + edgeCredentials.setFailedLoginAttempts(0); + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserCredentialsUpdateMsg(UserCredentialsUpdateMsg.newBuilder().setEntity(JacksonUtil.toString(edgeCredentials)).build()) + .build()); + + UserCredentials cloudCredentialsAfter = userService.findUserCredentialsByUserId(tenantId, savedUser.getId()); + Assert.assertEquals(edgePassword, cloudCredentialsAfter.getPassword()); + Assert.assertTrue(cloudCredentialsAfter.isEnabled()); + Assert.assertNull(cloudCredentialsAfter.getActivateToken()); + Assert.assertEquals("cloudResetToken", cloudCredentialsAfter.getResetToken()); + Assert.assertEquals(Integer.valueOf(3), cloudCredentialsAfter.getFailedLoginAttempts()); + Assert.assertTrue(cloudCredentialsAfter.getAdditionalInfo().get(USER_PASSWORD_HISTORY).toString().contains(edgePassword)); + } + } diff --git a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java index ad8edcb710..aea5ac6c10 100644 --- a/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java +++ b/common/dao-api/src/main/java/org/thingsboard/server/dao/user/UserService.java @@ -63,6 +63,8 @@ public interface UserService extends EntityDaoService { UserCredentials replaceUserCredentials(TenantId tenantId, UserCredentials userCredentials); + void updatePasswordHistory(UserCredentials userCredentials); + void deleteUserCredentials(TenantId tenantId, UserCredentials userCredentials); void deleteUser(TenantId tenantId, User user); diff --git a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java index cfc49bb6ee..02cc440bf9 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/user/UserServiceImpl.java @@ -630,7 +630,8 @@ public class UserServiceImpl extends AbstractCachedEntityService Date: Thu, 29 Oct 2026 11:47:14 +0100 Subject: [PATCH 063/275] Remove user, api key and ai model msgs content from edge logs and exceptions --- .../edge/rpc/processor/ai/BaseAiModelProcessor.java | 4 ++-- .../rpc/processor/apikey/BaseApiKeyProcessor.java | 4 ++-- .../edge/rpc/processor/user/BaseUserProcessor.java | 12 +++++------- .../edge/rpc/processor/user/UserEdgeProcessor.java | 5 +++-- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index 6727013852..3dfa7115c2 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -31,7 +31,7 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { try { AiModel aiModel = JacksonUtil.fromString(aiModelUpdateMsg.getEntity(), AiModel.class, true); if (aiModel == null) { - throw new RuntimeException("[{" + tenantId + "}] aiModelUpdateMsg {" + aiModelUpdateMsg + " } cannot be converted to aiModel"); + throw new RuntimeException("[{" + tenantId + "}] aiModelUpdateMsg for aiModel {" + aiModelId + "} cannot be converted to aiModel"); } checkEntityTenant(tenantId, aiModelId); @@ -63,7 +63,7 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { edgeCtx.getAiModelService().save(aiModel, false); } catch (Exception e) { - log.error("[{}] Failed to process aiModel update msg [{}]", tenantId, aiModelUpdateMsg, e); + log.error("[{}] Failed to process aiModel update msg for aiModel [{}]", tenantId, aiModelId, e); throw e; } return Pair.of(isCreated, isNameUpdated); diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java index e7a9df03bf..cf56cfa959 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/apikey/BaseApiKeyProcessor.java @@ -22,7 +22,7 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { try { ApiKey apiKey = JacksonUtil.fromString(apiKeyUpdateMsg.getEntity(), ApiKey.class, true); if (apiKey == null) { - throw new RuntimeException("[{" + tenantId + "}] apiKeyUpdateMsg {" + apiKeyUpdateMsg + " } cannot be converted to apiKey"); + throw new RuntimeException("[{" + tenantId + "}] apiKeyUpdateMsg for apiKey {" + apiKeyId + "} cannot be converted to apiKey"); } checkEntityTenant(tenantId, apiKeyId); @@ -40,7 +40,7 @@ public abstract class BaseApiKeyProcessor extends BaseEdgeProcessor { apiKey.setId(apiKeyId); edgeCtx.getApiKeyService().saveApiKey(tenantId, apiKey, apiKey.getValue(), false); } catch (Exception e) { - log.error("[{}] Failed to process apiKey update msg [{}]", tenantId, apiKeyUpdateMsg, e); + log.error("[{}] Failed to process apiKey update msg for apiKey [{}]", tenantId, apiKeyId, e); throw e; } return isCreated; diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 98a14ca5fc..7c3e36d7c5 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -37,7 +37,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { try { User user = JacksonUtil.fromString(userUpdateMsg.getEntity(), User.class, true); if (user == null) { - throw new IllegalArgumentException(String.format("[%s] Failed to parse User from UserUpdateMsg: %s", tenantId, userUpdateMsg)); + throw new IllegalArgumentException(String.format("[%s] Failed to parse User from UserUpdateMsg for user %s", tenantId, userId)); } if (user.getAuthority() != Authority.TENANT_ADMIN && user.getAuthority() != Authority.CUSTOMER_USER) { throw new DataValidationException("User authority " + user.getAuthority() + " is not allowed!"); @@ -67,7 +67,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { edgeCtx.getUserService().saveUser(tenantId, user, false); } } catch (Exception e) { - log.error("[{}] Failed to process user update msg [{}]", tenantId, userUpdateMsg, e); + log.error("[{}] Failed to process user update msg for user [{}]", tenantId, userId, e); throw e; } @@ -117,12 +117,11 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { protected void updateUserCredentials(TenantId tenantId, UserCredentialsUpdateMsg updateMsg) { UserCredentials edgeUserCredentials = JacksonUtil.fromString(updateMsg.getEntity(), UserCredentials.class, true); if (edgeUserCredentials == null) { - throw new IllegalArgumentException(String.format("[%s] Failed to parse UserCredentials from updateMsg: %s", tenantId, updateMsg)); + throw new IllegalArgumentException(String.format("[%s] Failed to parse UserCredentials from UserCredentialsUpdateMsg", tenantId)); } User user = edgeCtx.getUserService().findUserById(tenantId, edgeUserCredentials.getUserId()); if (user == null || !tenantId.equals(user.getTenantId())) { - log.warn("[{}] Can't find user by id [{}] skipping credentials update. UserCredentialsUpdateMsg [{}]", - tenantId, edgeUserCredentials.getUserId(), updateMsg); + log.warn("[{}] Can't find user by id [{}] skipping credentials update", tenantId, edgeUserCredentials.getUserId()); return; } if (edgeUserCredentials.getId() != null) { @@ -159,8 +158,7 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { } edgeCtx.getUserService().saveUserCredentials(tenantId, updatedUserCredentials, false); } catch (Exception e) { - log.error("[{}] Can't update user credentials for user [{}], userCredentialsUpdateMsg [{}]", - tenantId, user.getName(), updateMsg, e); + log.error("[{}] Can't update user credentials for user [{}]", tenantId, user.getName(), e); throw new RuntimeException(e); } } diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java index 63c3fb78e8..692aeed59d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/UserEdgeProcessor.java @@ -30,6 +30,7 @@ import org.thingsboard.server.gen.edge.v1.UserCredentialsUpdateMsg; import org.thingsboard.server.gen.edge.v1.UserUpdateMsg; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.edge.EdgeMsgConstructorUtils; +import org.thingsboard.server.service.edge.EdgeMsgSummaryUtils; import java.util.List; import java.util.UUID; @@ -59,7 +60,7 @@ public class UserEdgeProcessor extends BaseUserProcessor implements UserProcesso }; } catch (DataValidationException e) { if (e.getMessage().contains("limit reached")) { - log.warn("[{}] Number of allowed users violated {}", tenantId, userUpdateMsg, e); + log.warn("[{}] Number of allowed users violated, user [{}]", tenantId, userId, e); return Futures.immediateFuture(null); } else { return Futures.immediateFailedFuture(e); @@ -71,7 +72,7 @@ public class UserEdgeProcessor extends BaseUserProcessor implements UserProcesso @Override public ListenableFuture processUserCredentialsMsgFromEdge(TenantId tenantId, Edge edge, UserCredentialsUpdateMsg userCredentialsUpdateMsg) { - log.debug("[{}] Executing processUserCredentialsMsgFromEdge, userCredentialsUpdateMsg [{}]", tenantId, userCredentialsUpdateMsg); + log.debug("[{}] Executing processUserCredentialsMsgFromEdge, userCredentialsUpdateMsg [{}]", tenantId, EdgeMsgSummaryUtils.toSummary(userCredentialsUpdateMsg)); try { edgeSynchronizationManager.getEdgeId().set(edge.getId()); From 0475763bba794e8fe421a182ec743b3424ca0624 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 11:59:22 +0100 Subject: [PATCH 064/275] Check user email across all tenants on edge user save --- .../rpc/processor/user/BaseUserProcessor.java | 3 ++- .../thingsboard/server/edge/UserEdgeTest.java | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java index 7c3e36d7c5..4b4e82910d 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/user/BaseUserProcessor.java @@ -76,7 +76,8 @@ public abstract class BaseUserProcessor extends BaseEdgeProcessor { private boolean updateUserEmailIfDuplicateExists(TenantId tenantId, UserId userId, User user) { String email = user.getEmail(); - User userByEmail = edgeCtx.getUserService().findUserByTenantIdAndEmail(tenantId, email); + // email is unique across all tenants + User userByEmail = edgeCtx.getUserService().findUserByEmail(tenantId, email); if (userByEmail != null && !userByEmail.getId().equals(user.getId())) { String[] splitEmail = email.split("@"); diff --git a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java index c8412861f0..ac81903bdd 100644 --- a/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/UserEdgeTest.java @@ -540,4 +540,23 @@ public class UserEdgeTest extends AbstractEdgeTest { Assert.assertTrue(cloudCredentialsAfter.getAdditionalInfo().get(USER_PASSWORD_HISTORY).toString().contains(edgePassword)); } + @Test + public void testSendUserWithEmailOfDifferentTenantUserFromEdgeToCloud() throws Exception { + loginDifferentTenant(); + loginTenantAdmin(); + UserId userId = new UserId(UUID.randomUUID()); + User user = buildUser(Authority.TENANT_ADMIN, null); + user.setId(userId); + user.setEmail(savedDifferentTenantUser.getEmail()); + + sendUplinkMsg(UplinkMsg.newBuilder() + .addUserUpdateMsg(EdgeMsgConstructorUtils.constructUserUpdatedMsg(UpdateMsgType.ENTITY_CREATED_RPC_MESSAGE, user)) + .build()); + + User savedUser = userService.findUserById(tenantId, userId); + Assert.assertNotNull(savedUser); + Assert.assertEquals(tenantId, savedUser.getTenantId()); + Assert.assertNotEquals(savedDifferentTenantUser.getEmail(), savedUser.getEmail()); + } + } From dcb9c6dada25f19758e121a42aa9e118ead07547 Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 29 Oct 2026 12:39:30 +0100 Subject: [PATCH 065/275] Fix license header in EdgeMsgSummaryUtils --- .../thingsboard/server/service/edge/EdgeMsgSummaryUtils.java | 2 +- .../server/service/edge/EdgeMsgSummaryUtilsTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java index 7b47f9199a..97b4a68dd1 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtils.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge; diff --git a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java index a75dd9ce6f..8ab4db4476 100644 --- a/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java +++ b/application/src/test/java/org/thingsboard/server/service/edge/EdgeMsgSummaryUtilsTest.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge; From 15a7222f2567e689a8182f01a368a052a81a4eb1 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 29 Oct 2026 13:51:36 +0200 Subject: [PATCH 066/275] fix(iot-hub): apply a device package update in one transaction on the server The wizard no longer saves the entities itself and reverts them from snapshots on a failure. It plans the update and the server applies it. - POST /api/iot-hub/installedItems/{id}/deviceUpdate takes the entity of each step, resolved from the new version's template, and saves all of them with the new version of the installed item in one transaction. Any failure rolls everything back. The audit log, version control and attributes are written after commit. - The server checks the plan: only the package's entities or confirmed conflicts are overwritten, the device and its credentials never change, and an entity changed since the check fails the update (version). - GET .../deviceUpdate/check reports for each entity whether it still exists, is shared with other packages, or was changed since install, by a checksum the server keeps in the install state at install and on update. Packages installed before keep the comparison with the template. - An entity changed since install is overwritten only after a warning, with a link to download its current version. A shared one shows the shared warning. - Only texts changed: the version is recorded without the wizard. - Try again checks the update again. Errors show validation messages and a common message for anything else. --- .../server/controller/IotHubController.java | 26 +- .../DefaultDevicePackageUpdateService.java | 789 +++++++++++++++++ .../service/iot_hub/DefaultIotHubService.java | 40 +- .../iot_hub/DevicePackageEntities.java | 119 +++ .../iot_hub/DevicePackageEntityState.java | 27 + .../iot_hub/DevicePackageUpdateService.java | 19 + .../service/iot_hub/DeviceUpdateRequest.java | 61 ++ .../service/iot_hub/DeviceUpdateResult.java | 37 + .../service/iot_hub/EntityChecksum.java | 110 +++ .../server/service/iot_hub/IotHubService.java | 2 - ...DefaultDevicePackageUpdateServiceTest.java | 376 ++++++++ .../iot_hub/DefaultIotHubServiceTest.java | 40 - .../src/app/core/http/iot-hub-api.service.ts | 26 +- .../device-install-dialog.component.html | 186 +++- .../device-install-dialog.component.scss | 84 ++ .../device-install-dialog.component.ts | 808 +++++++++++++++--- .../iot-hub/iot-hub-actions.service.ts | 10 +- .../models/iot-hub/device-package.models.ts | 3 +- .../iot-hub/iot-hub-installed-item.models.ts | 43 + .../assets/locale/locale.constant-en_US.json | 14 + 20 files changed, 2591 insertions(+), 229 deletions(-) create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java create mode 100644 application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java create mode 100644 application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index e5388bd28b..b6d01d3342 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -38,6 +38,10 @@ import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.queue.util.TbCoreComponent; import org.thingsboard.server.service.security.system.ResolvedBaseUrl; import org.thingsboard.server.service.security.system.SystemSecurityService; +import org.thingsboard.server.service.iot_hub.DevicePackageEntityState; +import org.thingsboard.server.service.iot_hub.DevicePackageUpdateService; +import org.thingsboard.server.service.iot_hub.DeviceUpdateRequest; +import org.thingsboard.server.service.iot_hub.DeviceUpdateResult; import org.thingsboard.server.service.iot_hub.InstalledItemKeptEntities; import org.thingsboard.server.service.iot_hub.InstallItemVersionResult; import org.thingsboard.server.service.iot_hub.InstallPlan; @@ -54,6 +58,7 @@ import org.thingsboard.server.service.iot_hub.IotHubService; public class IotHubController extends BaseController { private final IotHubService iotHubService; + private final DevicePackageUpdateService devicePackageUpdateService; private final IotHubInstalledItemService iotHubInstalledItemService; private final DeviceConnectivityService deviceConnectivityService; private final SystemSecurityService systemSecurityService; @@ -92,16 +97,29 @@ public class IotHubController extends BaseController { @ResponseBody public InstallItemVersionResult registerDeviceInstall( @RequestParam String versionId, - @RequestParam(required = false) UUID installedItemId, @RequestBody JsonNode body) throws ThingsboardException { checkAllPermissions(); DeviceInstalledItemDescriptor descriptor = JacksonUtil.treeToValue(body, DeviceInstalledItemDescriptor.class); - if (installedItemId != null) { - return iotHubService.registerDeviceUpdate(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId, descriptor); - } return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor); } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @GetMapping("/installedItems/{installedItemId}/deviceUpdate/check") + @ResponseBody + public List checkDeviceUpdate(@PathVariable UUID installedItemId) throws ThingsboardException { + checkAllPermissions(); + return devicePackageUpdateService.check(getCurrentUser(), new IotHubInstalledItemId(installedItemId)); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping("/installedItems/{installedItemId}/deviceUpdate") + @ResponseBody + public DeviceUpdateResult updateDevicePackage(@PathVariable UUID installedItemId, + @RequestBody DeviceUpdateRequest request) throws ThingsboardException { + checkAllPermissions(); + return devicePackageUpdateService.apply(getCurrentUser(), new IotHubInstalledItemId(installedItemId), request); + } + @PreAuthorize("hasAuthority('TENANT_ADMIN')") @PostMapping("/installedItems/{installedItemId}/update/{versionId}") @ResponseBody diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java new file mode 100644 index 0000000000..1e6d3f776d --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -0,0 +1,789 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import com.fasterxml.jackson.databind.node.TextNode; +import com.google.gson.JsonParser; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; +import org.springframework.transaction.support.TransactionTemplate; +import org.springframework.web.client.RestClientException; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.rule.engine.api.AttributesSaveRequest; +import org.thingsboard.server.common.adaptor.JsonConverter; +import org.thingsboard.server.common.data.AttributeScope; +import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasName; +import org.thingsboard.server.common.data.HasTenantId; +import org.thingsboard.server.common.data.HasVersion; +import org.thingsboard.server.common.data.audit.ActionType; +import org.thingsboard.server.common.data.converter.Converter; +import org.thingsboard.server.common.data.converter.ConverterType; +import org.thingsboard.server.common.data.exception.EntityVersionMismatchException; +import org.thingsboard.server.common.data.exception.ThingsboardErrorCode; +import org.thingsboard.server.common.data.exception.ThingsboardException; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; +import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; +import org.thingsboard.server.common.data.kv.AttributeKvEntry; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.common.data.rule.RuleChainMetaData; +import org.thingsboard.server.common.data.security.DeviceCredentials; +import org.thingsboard.server.common.data.security.DeviceCredentialsType; +import org.thingsboard.server.dao.attributes.AttributesService; +import org.thingsboard.server.dao.converter.ConverterService; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceCredentialsService; +import org.thingsboard.server.dao.device.DeviceProfileService; +import org.thingsboard.server.dao.device.DeviceService; +import org.thingsboard.server.dao.entity.EntityService; +import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.dao.rule.RuleChainService; +import org.thingsboard.server.dao.secret.SecretConfigurationService; +import org.thingsboard.server.exception.DataValidationException; +import org.thingsboard.server.exception.EntitiesLimitExceededException; +import org.thingsboard.server.queue.util.TbCoreComponent; +import org.thingsboard.server.service.entitiy.AbstractTbEntityService; +import org.thingsboard.server.service.integration.IntegrationManagerService; +import org.thingsboard.server.service.rule.TbRuleChainService; +import org.thingsboard.server.service.security.model.SecurityUser; +import org.thingsboard.server.service.telemetry.TelemetrySubscriptionService; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * Applies an update of an installed device package in one transaction. The install wizard resolves the templates + * of the new version (the same way it installs them) and sends the entity of each step; this service checks the + * plan, saves every entity and the new version of the installed item together, and rolls all of it back on a + * failure. The side effects of the saves (actors, integration restart, edge, caches) run after commit, so a + * rollback leaves no trace; the audit log, version control and the attributes, which aren't transactional, + * are written after commit too. + */ +@Service +@TbCoreComponent +@Slf4j +@RequiredArgsConstructor +public class DefaultDevicePackageUpdateService extends AbstractTbEntityService implements DevicePackageUpdateService { + + // Step type of the package -> the alias its templates refer to it by, e.g. ${deviceProfile.id} + private static final Map STEP_ALIASES = Map.of( + "DEVICE_PROFILE", "deviceProfile", + "DEVICE", "device", + "GATEWAY", "gateway", + "DASHBOARD", "dashboard", + "RULE_CHAIN", "ruleChain", + "UPLINK_CONVERTER", "uplinkConverter", + "DOWNLINK_CONVERTER", "downlinkConverter", + "INTEGRATION", "integration"); + private static final Pattern ENTITY_PLACEHOLDER = Pattern.compile("\\$\\{([A-Za-z]+)\\.([A-Za-z]+)}"); + private static final int INTEGRATION_VALIDATION_TIMEOUT_SEC = 20; + private static final String UNEXPECTED_ERROR = "Failed to update the device package"; + + private final IotHubInstalledItemService installedItemService; + private final IotHubRestClient iotHubRestClient; + private final IotHubService iotHubService; + private final DevicePackageEntities packageEntities; + private final DeviceProfileService deviceProfileService; + private final DeviceService deviceService; + private final DeviceCredentialsService deviceCredentialsService; + private final DashboardService dashboardService; + private final RuleChainService ruleChainService; + private final TbRuleChainService tbRuleChainService; + private final ConverterService converterService; + private final IntegrationService integrationService; + private final IntegrationManagerService integrationManagerService; + private final SecretConfigurationService secretConfigurationService; + private final AttributesService attributesService; + private final TelemetrySubscriptionService telemetryService; + private final TransactionTemplate transactionTemplate; + + @Override + public List check(SecurityUser user, IotHubInstalledItemId installedItemId) { + TenantId tenantId = user.getTenantId(); + DeviceInstalledItemDescriptor descriptor = findDevicePackage(tenantId, installedItemId).descriptor(); + Set sharedIds = new HashSet<>(); + iotHubService.findKeptEntities(tenantId, installedItemId).getEntities().forEach(e -> sharedIds.add(e.getEntityId().getId())); + Map createdIds = createdIds(descriptor); + + List states = new ArrayList<>(); + if (descriptor.getInstallState() == null) { + return states; + } + descriptor.getInstallState().forEach((stepName, state) -> { + EntityId entityId = DevicePackageEntities.entityIdOf(state, createdIds); + if (entityId == null || !DevicePackageEntities.CHECKSUM_TYPES.contains(entityId.getEntityType())) { + return; + } + DevicePackageEntities.Snapshot snapshot = packageEntities.load(tenantId, entityId); + JsonNode storedChecksum = state.get("checksum"); + Boolean modified = snapshot == null || storedChecksum == null || !storedChecksum.isTextual() ? null : + !storedChecksum.asText().equals(snapshot.checksum()); + states.add(new DevicePackageEntityState(stepName, entityId, snapshot != null, + snapshot != null ? snapshot.version() : null, modified, sharedIds.contains(entityId.getId()))); + }); + return states; + } + + @Override + public DeviceUpdateResult apply(SecurityUser user, IotHubInstalledItemId installedItemId, DeviceUpdateRequest request) { + TenantId tenantId = user.getTenantId(); + log.info("[{}] Updating device package {} to version {}", tenantId, installedItemId, request.getVersionId()); + Applied applied; + try { + DevicePackage devicePackage = findDevicePackage(tenantId, installedItemId); + JsonNode versionInfo = iotHubRestClient.getVersionInfo(request.getVersionId()); + if (versionInfo == null || !devicePackage.installedItem().getItemId().toString().equals(versionInfo.path("itemId").asText())) { + throw new IllegalArgumentException("The version belongs to another item"); + } + validatePlan(devicePackage, request); + validateIntegrations(tenantId, request); + applied = transactionTemplate.execute(status -> applySteps(tenantId, devicePackage, request, versionInfo)); + } catch (StepFailure e) { + log.warn("[{}] Device package update of {} failed on step [{}], nothing was changed", tenantId, installedItemId, e.stepName, e.getCause()); + return DeviceUpdateResult.error(userMessage(e.getCause()), e.stepName); + } catch (RestClientException e) { + log.error("[{}] IoT Hub request failed while updating device package {}", tenantId, installedItemId, e); + return DeviceUpdateResult.error("IoT Hub is unavailable. Try again later.", null); + } catch (Exception e) { + log.warn("[{}] Device package update of {} failed, nothing was changed", tenantId, installedItemId, e); + return DeviceUpdateResult.error(userMessage(e), null); + } + afterCommit(user, tenantId, applied); + log.info("[{}] Updated device package {} to version {}", tenantId, installedItemId, request.getVersionId()); + return DeviceUpdateResult.success(applied.descriptor(), applied.outputs()); + } + + private DevicePackage findDevicePackage(TenantId tenantId, IotHubInstalledItemId installedItemId) { + IotHubInstalledItem installedItem = installedItemService.findById(tenantId, installedItemId); + if (installedItem == null || !"DEVICE".equals(installedItem.getItemType()) + || !(installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor)) { + throw new IllegalArgumentException("Installed device package not found"); + } + return new DevicePackage(installedItem, descriptor); + } + + /** + * The update may only change what the package owns, or what the user confirmed. The device and the gateway, + * whose credentials the firmware uses, are never changed. + */ + private void validatePlan(DevicePackage devicePackage, DeviceUpdateRequest request) { + if (request.getSteps() == null || request.getSteps().isEmpty()) { + throw new IllegalArgumentException("The update has no steps"); + } + Set ownedIds = createdIds(devicePackage.descriptor()).keySet(); + for (DeviceUpdateRequest.Step step : request.getSteps()) { + if (step.getName() == null || step.getAction() == null || !isKnownType(step.getType())) { + throw new IllegalArgumentException("Invalid update step: " + step.getName()); + } + boolean deviceOrGateway = "DEVICE".equals(step.getType()) || "GATEWAY".equals(step.getType()); + switch (step.getAction()) { + case KEEP, OVERWRITE -> { + if (step.getEntityId() == null && !"GATEWAY_CONNECTOR".equals(step.getType())) { + throw new IllegalArgumentException("No entity for update step: " + step.getName()); + } + boolean owned = step.getEntityId() != null && ownedIds.contains(step.getEntityId()); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && !owned && !step.isConfirmed() + && !"GATEWAY_CONNECTOR".equals(step.getType())) { + throw new IllegalArgumentException("Overwriting an entity of another package needs a confirmation: " + step.getName()); + } + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && deviceOrGateway && owned) { + throw new IllegalArgumentException("The device and its credentials don't change on update"); + } + } + case CREATE -> { + } + } + if (step.getAction() != DeviceUpdateRequest.Action.KEEP && (step.getEntity() == null || !step.getEntity().isObject())) { + throw new IllegalArgumentException("No entity data for update step: " + step.getName()); + } + } + } + + /** The configuration of an integration is checked by a remote call, so before the transaction. */ + private void validateIntegrations(TenantId tenantId, DeviceUpdateRequest request) throws Exception { + for (DeviceUpdateRequest.Step step : request.getSteps()) { + if (!"INTEGRATION".equals(step.getType()) || step.getAction() == DeviceUpdateRequest.Action.KEEP) { + continue; + } + ObjectNode body = step.getEntity().deepCopy(); + // Converters this update creates have no id yet; the configuration doesn't depend on them + body.remove(List.of("id", "defaultConverterId", "downlinkConverterId")); + Integration integration = JacksonUtil.treeToValue(body, Integration.class); + integration.setTenantId(tenantId); + if (integration.isEdgeTemplate()) { + continue; + } + try { + secretConfigurationService.replaceSecretUsages(tenantId, integration.getConfiguration()); + integrationManagerService.validateIntegrationConfiguration(integration).get(INTEGRATION_VALIDATION_TIMEOUT_SEC, TimeUnit.SECONDS); + } catch (ExecutionException e) { + // What the integration reports, e.g. wrong credentials, is what the user has to fix + Throwable cause = e.getCause() != null ? e.getCause() : e; + throw new StepFailure(step.getName(), new IllegalArgumentException(cause.getMessage(), cause)); + } catch (TimeoutException e) { + throw new StepFailure(step.getName(), new IllegalStateException("Timeout to validate the integration configuration")); + } + } + } + + private Applied applySteps(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request, JsonNode versionInfo) { + DeviceInstalledItemDescriptor previous = devicePackage.descriptor(); + Map aliasOutputs = new HashMap<>(); + Map outputs = new LinkedHashMap<>(); + Map installState = new LinkedHashMap<>(); + if (request.getInstallState() != null) { + request.getInstallState().forEach((key, value) -> { + if (value != null && value.has("formValues")) { + installState.put(key, JacksonUtil.newObjectNode().set("formValues", value.get("formValues"))); + } + }); + } + List stepEntityIds = new ArrayList<>(); + List saved = new ArrayList<>(); + List afterCommitSteps = new ArrayList<>(); + DashboardId dashboardId = null; + + for (DeviceUpdateRequest.Step step : request.getSteps()) { + try { + if ("GATEWAY_CONNECTOR".equals(step.getType())) { + // A connector lives in the gateway's attributes, which aren't transactional: saved after commit + if (step.getAction() != DeviceUpdateRequest.Action.KEEP) { + DeviceUpdateRequest.Step resolved = copyWithEntity(step, resolvePlaceholders(step.getEntity(), aliasOutputs)); + afterCommitSteps.add(resolved); + } + continue; + } + JsonNode entity = step.getEntity() != null ? resolvePlaceholders(step.getEntity(), aliasOutputs) : null; + StepResult result = applyStep(tenantId, step, entity); + ObjectNode output = result.output(); + aliasOutputs.put(STEP_ALIASES.get(step.getType()), output); + outputs.put(step.getName(), output); + ObjectNode state = JacksonUtil.newObjectNode(); + state.set("entityOutput", output); + state.put("resolution", step.getResolution() != null ? step.getResolution() : "created"); + // A kept entity keeps the checksum of what the package left: the current one would take the + // user's changes for the package's, and the next update would overwrite them without a warning + String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? previousChecksum(previous, step.getName()) : result.checksum(); + if (checksum != null) { + state.put("checksum", checksum); + } + installState.put(step.getName(), state); + if (!"use-existing".equals(step.getResolution())) { + stepEntityIds.add(result.entityId()); + } + if (result.entityId() instanceof DashboardId id) { + dashboardId = id; + } + if (result.saved() != null) { + saved.add(result.saved()); + } + if (step.getAction() == DeviceUpdateRequest.Action.CREATE && ("DEVICE".equals(step.getType()) || "GATEWAY".equals(step.getType()))) { + // Its attributes are saved after commit, once the device exists + DeviceUpdateRequest.Step created = copyWithEntity(step, null); + created.setEntityId(result.entityId().getId()); + afterCommitSteps.add(created); + } + } catch (StepFailure e) { + throw e; + } catch (Exception e) { + throw new StepFailure(step.getName(), e); + } + } + + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + // The new version may not offer the method the package was installed with + descriptor.setSelectedInstallMethod(request.getSelectedInstallMethod() != null ? request.getSelectedInstallMethod() : previous.getSelectedInstallMethod()); + descriptor.setCreatedEntityIds(createdEntityIds(tenantId, previous, stepEntityIds)); + descriptor.setDashboardId(dashboardId != null ? dashboardId : existingDashboard(tenantId, previous)); + Map state = new LinkedHashMap<>(installState); + descriptor.setInstallState(state); + + IotHubInstalledItem installedItem = devicePackage.installedItem(); + installedItem.setItemVersionId(UUID.fromString(request.getVersionId())); + installedItem.setItemName(versionInfo.get("name").asText()); + installedItem.setVersion(versionInfo.get("version").asText()); + installedItem.setDescriptor(descriptor); + installedItemService.save(tenantId, installedItem); + return new Applied(descriptor, outputs, saved, afterCommitSteps, aliasOutputs); + } + + private StepResult applyStep(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) throws ThingsboardException { + return switch (step.getType()) { + case "DEVICE_PROFILE" -> saveDeviceProfile(tenantId, step, entity); + case "DEVICE", "GATEWAY" -> saveDevice(tenantId, step, entity); + case "DASHBOARD" -> saveDashboard(tenantId, step, entity); + case "RULE_CHAIN" -> saveRuleChain(tenantId, step, entity); + case "UPLINK_CONVERTER", "DOWNLINK_CONVERTER" -> saveConverter(tenantId, step, entity); + case "INTEGRATION" -> saveIntegration(tenantId, step, entity); + default -> throw new IllegalArgumentException("Unsupported step type: " + step.getType()); + }; + } + + private StepResult saveDeviceProfile(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + DeviceProfileId id = step.getEntityId() != null ? new DeviceProfileId(step.getEntityId()) : null; + DeviceProfile current = id != null ? deviceProfileService.findDeviceProfileById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getName()); + } + DeviceProfile profile = JacksonUtil.treeToValue(entity, DeviceProfile.class); + profile.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(profile, id, current, step); + // The tenant's default profile stays the default one + profile.setDefault(current.isDefault()); + } else { + profile.setId(null); + profile.setVersion(null); + } + DeviceProfile result = deviceProfileService.saveDeviceProfile(profile); + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getName())); + } + + private StepResult saveDevice(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + DeviceId id = step.getEntityId() != null ? new DeviceId(step.getEntityId()) : null; + Device device; + boolean created = false; + if (step.getAction() == DeviceUpdateRequest.Action.CREATE) { + Device template = JacksonUtil.treeToValue(entity, Device.class); + template.setTenantId(tenantId); + template.setId(null); + template.setVersion(null); + device = deviceService.saveDevice(template); + created = true; + } else { + Device current = id != null ? deviceService.findDeviceById(tenantId, id) : null; + device = existing(tenantId, current, step); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + // Another device the user chose to overwrite; the package's own device never changes + Device template = JacksonUtil.treeToValue(entity, Device.class); + template.setTenantId(tenantId); + prepareOverwrite(template, id, current, step); + device = deviceService.saveDevice(template); + created = true; + } + } + DeviceCredentials credentials = deviceCredentialsService.findDeviceCredentialsByDeviceId(tenantId, device.getId()); + if (created && step.getCredentials() != null && step.getCredentials().isObject()) { + credentials = applyCredentials(tenantId, credentials, step.getCredentials()); + } + ObjectNode output = output(device.getId(), device.getName()); + if (credentials != null) { + output.put("token", credentials.getCredentialsId()); + } + if ("GATEWAY".equals(step.getType())) { + output.put("dockerComposeUrl", "/api/device-connectivity/gateway-launch/" + device.getId().getId() + "/docker-compose/download"); + } + SavedEntity saved = created ? new SavedEntity(device.getId(), device, step.getAction() == DeviceUpdateRequest.Action.CREATE) : null; + return new StepResult(device.getId(), output, null, saved); + } + + private DeviceCredentials applyCredentials(TenantId tenantId, DeviceCredentials credentials, JsonNode template) { + JsonNode type = template.get("credentialsType"); + if (type != null && type.isTextual()) { + credentials.setCredentialsType(DeviceCredentialsType.valueOf(type.asText())); + } + JsonNode value = template.get("credentialsValue"); + if (value != null && !value.isNull()) { + credentials.setCredentialsValue(value.isTextual() ? value.asText() : value.toString()); + } + JsonNode credentialsId = template.get("credentialsId"); + if (credentialsId != null && credentialsId.isTextual()) { + credentials.setCredentialsId(credentialsId.asText()); + } + return deviceCredentialsService.updateDeviceCredentials(tenantId, credentials); + } + + private StepResult saveDashboard(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + DashboardId id = step.getEntityId() != null ? new DashboardId(step.getEntityId()) : null; + Dashboard current = id != null ? dashboardService.findDashboardById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getTitle()); + } + Dashboard dashboard = JacksonUtil.treeToValue(entity, Dashboard.class); + dashboard.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(dashboard, id, current, step); + // The dashboard keeps its owner and the customers it is assigned to + if (dashboard.getCustomerId() == null) { + dashboard.setCustomerId(current.getCustomerId()); + } + dashboard.setAssignedCustomers(current.getAssignedCustomers()); + } else { + dashboard.setId(null); + dashboard.setVersion(null); + } + Dashboard result = dashboardService.saveDashboard(dashboard); + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getTitle())); + } + + private StepResult saveRuleChain(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) throws ThingsboardException { + RuleChainId id = step.getEntityId() != null ? new RuleChainId(step.getEntityId()) : null; + RuleChain current = id != null ? ruleChainService.findRuleChainById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getName()); + } + JsonNode ruleChainJson = entity.has("ruleChain") ? entity.get("ruleChain") : entity; + RuleChain ruleChain = JacksonUtil.treeToValue(ruleChainJson, RuleChain.class); + ruleChain.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(ruleChain, id, current, step); + // A rule chain the tenant made its root one stays the root + ruleChain.setRoot(current.isRoot()); + } else { + ruleChain.setId(null); + ruleChain.setVersion(null); + ruleChain.setRoot(false); + } + RuleChain result = ruleChainService.saveRuleChain(ruleChain); + if (entity.has("metadata") && entity.get("metadata").isObject()) { + RuleChainMetaData metadata = JacksonUtil.treeToValue(entity.get("metadata"), RuleChainMetaData.class); + metadata.setRuleChainId(result.getId()); + metadata.setVersion(result.getVersion()); + if (!ruleChainService.saveRuleChainMetaData(tenantId, metadata, tbRuleChainService::updateRuleNodeConfiguration).isSuccess()) { + throw new IllegalStateException("Failed to save the rule chain metadata"); + } + result = ruleChainService.findRuleChainById(tenantId, result.getId()); + } + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getName())); + } + + private StepResult saveConverter(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + ConverterId id = step.getEntityId() != null ? new ConverterId(step.getEntityId()) : null; + Converter current = id != null ? converterService.findConverterById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return kept(id, current.getName()); + } + Converter converter = JacksonUtil.treeToValue(entity, Converter.class); + converter.setTenantId(tenantId); + converter.setType("UPLINK_CONVERTER".equals(step.getType()) ? ConverterType.UPLINK : ConverterType.DOWNLINK); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(converter, id, current, step); + } else { + converter.setId(null); + converter.setVersion(null); + } + Converter result = converterService.saveConverter(converter); + return savedResult(tenantId, result.getId(), result, step, output(result.getId(), result.getName())); + } + + private StepResult saveIntegration(TenantId tenantId, DeviceUpdateRequest.Step step, JsonNode entity) { + IntegrationId id = step.getEntityId() != null ? new IntegrationId(step.getEntityId()) : null; + Integration current = id != null ? integrationService.findIntegrationById(tenantId, id) : null; + if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { + existing(tenantId, current, step); + return new StepResult(id, integrationOutput(current), null, null); + } + Integration integration = JacksonUtil.treeToValue(entity, Integration.class); + integration.setTenantId(tenantId); + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE) { + existing(tenantId, current, step); + prepareOverwrite(integration, id, current, step); + // The devices keep sending to the same endpoint + integration.setRoutingKey(current.getRoutingKey()); + } else { + integration.setId(null); + integration.setVersion(null); + if (integration.getRoutingKey() == null) { + integration.setRoutingKey(UUID.randomUUID().toString()); + } + } + Integration result = integrationService.saveIntegration(integration); + return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); + } + + /** + * The overwritten entity keeps its id and its current name (the user may have renamed it). The version the + * user reviewed makes the save fail if someone changed the entity since. + */ + private void prepareOverwrite(Object entity, EntityId id, Object current, DeviceUpdateRequest.Step step) { + switch (entity) { + case DeviceProfile p -> { p.setId((DeviceProfileId) id); p.setName(((DeviceProfile) current).getName()); } + case Device d -> { d.setId((DeviceId) id); d.setName(((Device) current).getName()); } + case Dashboard d -> { d.setId((DashboardId) id); d.setTitle(((Dashboard) current).getTitle()); } + case RuleChain r -> { r.setId((RuleChainId) id); r.setName(((RuleChain) current).getName()); } + case Converter c -> { c.setId((ConverterId) id); c.setName(((Converter) current).getName()); } + case Integration i -> { i.setId((IntegrationId) id); i.setName(((Integration) current).getName()); } + default -> throw new IllegalArgumentException("Unsupported entity: " + entity.getClass().getSimpleName()); + } + Long currentVersion = ((HasVersion) current).getVersion(); + if (step.getExpectedVersion() != null && !step.getExpectedVersion().equals(currentVersion)) { + throw new EntityVersionMismatchException(id.getEntityType(), null); + } + ((HasVersion) entity).setVersion(currentVersion); + } + + private T existing(TenantId tenantId, T current, DeviceUpdateRequest.Step step) { + if (current == null || !tenantId.equals(((HasTenantId) current).getTenantId())) { + throw new IllegalArgumentException(step.getName() + " was deleted. Check the update again."); + } + return current; + } + + private StepResult kept(EntityId id, String name) { + return new StepResult(id, output(id, name), null, null); + } + + private static String previousChecksum(DeviceInstalledItemDescriptor previous, String stepName) { + JsonNode checksum = previous.getInstallState() != null && previous.getInstallState().get(stepName) != null ? + previous.getInstallState().get(stepName).get("checksum") : null; + return checksum != null && checksum.isTextual() ? checksum.asText() : null; + } + + /** + * The checksum is of the entity the save returned: a profile or an integration read back by id inside the + * transaction may come from the cache, which is evicted only after commit. A rule chain is read back with + * its metadata, which isn't cached. + */ + private StepResult savedResult(TenantId tenantId, EntityId id, Object entity, DeviceUpdateRequest.Step step, ObjectNode output) { + String checksum = entity instanceof RuleChain ? packageEntities.checksum(tenantId, id) : EntityChecksum.of(entity); + return new StepResult(id, output, checksum, new SavedEntity(id, entity, step.getAction() == DeviceUpdateRequest.Action.CREATE)); + } + + private static ObjectNode output(EntityId id, String name) { + ObjectNode output = JacksonUtil.newObjectNode(); + output.put("id", id.getId().toString()); + output.put("name", name); + return output; + } + + /** With what the install instructions resolve: ${integration.routingKey}, ${integration.httpEndpoint}, ${integration.baseUrl}. */ + private static ObjectNode integrationOutput(Integration integration) { + ObjectNode output = output(integration.getId(), integration.getName()); + output.put("routingKey", integration.getRoutingKey()); + JsonNode configuration = integration.getConfiguration() != null ? integration.getConfiguration() : JacksonUtil.newObjectNode(); + JsonNode client = configuration.path("clientConfiguration"); + putText(output, "httpEndpoint", client.path("httpEndpoint"), configuration.path("httpEndpoint")); + putText(output, "baseUrl", client.path("baseUrl"), configuration.path("baseUrl")); + return output; + } + + private static void putText(ObjectNode output, String key, JsonNode first, JsonNode second) { + JsonNode value = first.isTextual() ? first : second; + if (value.isTextual()) { + output.put(key, value.asText()); + } + } + + /** Replaces ${.} of entities this update has saved, e.g. the id of a converter it created. */ + static JsonNode resolvePlaceholders(JsonNode node, Map aliasOutputs) { + if (node == null) { + return null; + } + if (node.isTextual()) { + String text = node.asText(); + Matcher matcher = ENTITY_PLACEHOLDER.matcher(text); + StringBuilder resolved = new StringBuilder(); + boolean changed = false; + while (matcher.find()) { + ObjectNode output = aliasOutputs.get(matcher.group(1)); + JsonNode value = output != null ? output.get(matcher.group(2)) : null; + String replacement = value != null && !value.isNull() ? value.asText() : matcher.group(); + changed |= value != null && !value.isNull(); + matcher.appendReplacement(resolved, Matcher.quoteReplacement(replacement)); + } + matcher.appendTail(resolved); + return changed ? TextNode.valueOf(resolved.toString()) : node; + } + if (node.isObject()) { + ObjectNode copy = JacksonUtil.newObjectNode(); + for (Iterator> it = node.fields(); it.hasNext(); ) { + Map.Entry field = it.next(); + copy.set(field.getKey(), resolvePlaceholders(field.getValue(), aliasOutputs)); + } + return copy; + } + if (node.isArray()) { + ArrayNode copy = JacksonUtil.newArrayNode(); + node.forEach(item -> copy.add(resolvePlaceholders(item, aliasOutputs))); + return copy; + } + return node; + } + + /** + * The ids the package tracks: the entities of this version's steps, and those of the installed version this one + * no longer uses, so deleting the package still deletes them. Entities deleted since are dropped. + */ + private List createdEntityIds(TenantId tenantId, DeviceInstalledItemDescriptor previous, List stepEntityIds) { + List ids = new ArrayList<>(stepEntityIds); + Set known = new HashSet<>(); + ids.forEach(id -> known.add(id.getId())); + if (previous.getCreatedEntityIds() != null) { + for (EntityId id : previous.getCreatedEntityIds()) { + if (known.add(id.getId()) && entityService.fetchEntity(tenantId, id).isPresent()) { + ids.add(id); + } + } + } + return ids; + } + + private DashboardId existingDashboard(TenantId tenantId, DeviceInstalledItemDescriptor previous) { + DashboardId id = previous.getDashboardId(); + return id != null && dashboardService.findDashboardById(tenantId, id) != null ? id : null; + } + + /** What isn't transactional: the audit log, version control and attributes. A failure here doesn't undo the update. */ + private void afterCommit(SecurityUser user, TenantId tenantId, Applied applied) { + for (SavedEntity saved : applied.saved()) { + try { + logEntityActionService.logEntityAction(tenantId, saved.id(), (HasName) saved.entity(), + saved.created() ? ActionType.ADDED : ActionType.UPDATED, user); + if (saved.id().getEntityType() != EntityType.DEVICE) { + autoCommit(user, saved.id()); + } + } catch (Exception e) { + log.warn("[{}] Failed to log the device package update of {}", tenantId, saved.id(), e); + } + } + for (DeviceUpdateRequest.Step step : applied.afterCommitSteps()) { + try { + if ("GATEWAY_CONNECTOR".equals(step.getType())) { + saveConnector(tenantId, applied.aliasOutputs().get("gateway"), step.getEntity()); + } else { + DeviceId deviceId = new DeviceId(step.getEntityId()); + saveAttributes(tenantId, deviceId, AttributeScope.SERVER_SCOPE, step.getServerAttributes()); + saveAttributes(tenantId, deviceId, AttributeScope.SHARED_SCOPE, step.getSharedAttributes()); + } + } catch (Exception e) { + log.warn("[{}] Failed to save the attributes of device package step [{}]", tenantId, step.getName(), e); + } + } + } + + private void saveConnector(TenantId tenantId, ObjectNode gateway, JsonNode connector) throws Exception { + if (gateway == null || connector == null || !connector.has("name")) { + return; + } + DeviceId gatewayId = new DeviceId(UUID.fromString(gateway.get("id").asText())); + String name = connector.get("name").asText(); + List active = new ArrayList<>(); + for (AttributeKvEntry entry : attributesService.find(tenantId, gatewayId, AttributeScope.SHARED_SCOPE, List.of("active_connectors")).get()) { + JsonNode value = JacksonUtil.toJsonNode(entry.getValueAsString()); + if (value != null && value.isArray()) { + value.forEach(v -> active.add(v.asText())); + } + } + if (!active.contains(name)) { + active.add(name); + } + ObjectNode attributes = JacksonUtil.newObjectNode(); + attributes.set("active_connectors", JacksonUtil.valueToTree(active)); + attributes.set(name, connector); + saveAttributes(tenantId, gatewayId, AttributeScope.SHARED_SCOPE, attributes); + } + + private void saveAttributes(TenantId tenantId, EntityId entityId, AttributeScope scope, JsonNode attributes) { + if (attributes == null || !attributes.isObject() || attributes.isEmpty()) { + return; + } + List entries = JsonConverter.convertToAttributes(JsonParser.parseString(attributes.toString())); + telemetryService.saveAttributes(AttributesSaveRequest.builder() + .tenantId(tenantId) + .entityId(entityId) + .scope(scope) + .entries(entries) + .build()); + } + + /** + * The message the wizard shows: the ones validation and limits give, as they are; anything else, e.g. a database + * error, as a common message, with the details in the log. + */ + static String userMessage(Throwable e) { + if (e instanceof EntityVersionMismatchException) { + return "Someone changed it while you were reviewing the update. Check the update again."; + } + if (e instanceof DataValidationException || e instanceof EntitiesLimitExceededException || e instanceof IllegalArgumentException) { + return e.getMessage(); + } + if (e instanceof ThingsboardException te && te.getErrorCode() != ThingsboardErrorCode.GENERAL) { + return te.getMessage(); + } + return UNEXPECTED_ERROR; + } + + private static boolean isKnownType(String type) { + return type != null && (STEP_ALIASES.containsKey(type) || "GATEWAY_CONNECTOR".equals(type)); + } + + private static Map createdIds(DeviceInstalledItemDescriptor descriptor) { + Map ids = new HashMap<>(); + if (descriptor.getCreatedEntityIds() != null) { + descriptor.getCreatedEntityIds().forEach(id -> ids.put(id.getId(), id)); + } + return ids; + } + + private static DeviceUpdateRequest.Step copyWithEntity(DeviceUpdateRequest.Step step, JsonNode entity) { + DeviceUpdateRequest.Step copy = JacksonUtil.treeToValue(JacksonUtil.valueToTree(step), DeviceUpdateRequest.Step.class); + if (entity != null) { + copy.setEntity(entity); + } + return copy; + } + + private record DevicePackage(IotHubInstalledItem installedItem, DeviceInstalledItemDescriptor descriptor) { + } + + private record StepResult(EntityId entityId, ObjectNode output, String checksum, SavedEntity saved) { + } + + private record SavedEntity(EntityId id, Object entity, boolean created) { + } + + private record Applied(DeviceInstalledItemDescriptor descriptor, Map outputs, List saved, + List afterCommitSteps, Map aliasOutputs) { + } + + /** A step that failed: the transaction rolls back, and the wizard shows which step it was. */ + private static class StepFailure extends RuntimeException { + + private final String stepName; + + StepFailure(String stepName, Throwable cause) { + super(cause.getMessage(), cause); + this.stepName = stepName; + } + + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 6f0f9db86f..dcc569b481 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -133,6 +133,7 @@ public class DefaultIotHubService implements IotHubService { private final ConverterService converterService; private final TbConverterService tbConverterService; private final ProjectInfo projectInfo; + private final DevicePackageEntities devicePackageEntities; // Field names of the marketplace version JSON payload. Both the install path and the // install-plan resolver parse the same shape, so the contract lives here in one place. @@ -417,7 +418,7 @@ public class DefaultIotHubService implements IotHubService { String itemType = installedItem.getItemType(); if ("DEVICE".equals(itemType)) { - // The install wizard of the new version changes the package's entities in place, see registerDeviceUpdate + // Updated in one transaction from the install wizard of the new version, see DevicePackageUpdateService throw new IllegalArgumentException("A device package is updated by the install wizard of the new version"); } IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); @@ -677,6 +678,8 @@ public class DefaultIotHubService implements IotHubService { installedItem.setItemName(itemName); installedItem.setItemType("DEVICE"); installedItem.setVersion(version); + // So that an update can tell whether someone changed an entity since + devicePackageEntities.addChecksums(tenantId, descriptor); installedItem.setDescriptor(descriptor); try { iotHubInstalledItemService.save(tenantId, installedItem); @@ -708,41 +711,6 @@ public class DefaultIotHubService implements IotHubService { } } - @Override - public InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, - DeviceInstalledItemDescriptor descriptor) { - TenantId tenantId = user.getTenantId(); - log.info("[{}] Registering device package update of {} to version: {}", tenantId, installedItemId, versionId); - - try { - IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); - if (installedItem == null || !"DEVICE".equals(installedItem.getItemType())) { - throw new IllegalArgumentException("Installed device package not found"); - } - - JsonNode versionInfo = iotHubRestClient.getVersionInfo(versionId); - if (versionInfo == null) { - throw new IllegalArgumentException("Failed to get version info from IoT Hub"); - } - if (!installedItem.getItemId().toString().equals(versionInfo.get("itemId").asText())) { - throw new IllegalArgumentException("The version belongs to another item"); - } - - // The wizard has already changed the entities in place: a failure here must not delete them - installedItem.setItemVersionId(UUID.fromString(versionId)); - installedItem.setItemName(versionInfo.get("name").asText()); - installedItem.setVersion(versionInfo.get("version").asText()); - installedItem.setDescriptor(descriptor); - iotHubInstalledItemService.save(tenantId, installedItem); - log.info("[{}] Registered device package update: {} (version {})", tenantId, installedItem.getItemName(), installedItem.getVersion()); - - return InstallItemVersionResult.success(descriptor); - } catch (Exception e) { - log.error("[{}] Failed to register device package update of {} to version: {}", tenantId, installedItemId, versionId, e); - return InstallItemVersionResult.error(e.getMessage()); - } - } - /** * Deletes what a device package created, except the entities another installed device package * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java new file mode 100644 index 0000000000..37cc999822 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntities.java @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Component; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.HasTenantId; +import org.thingsboard.server.common.data.HasVersion; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.dao.converter.ConverterService; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceProfileService; +import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.dao.rule.RuleChainService; +import org.thingsboard.server.queue.util.TbCoreComponent; + +import java.util.HashMap; +import java.util.Map; +import java.util.Set; +import java.util.UUID; + +/** + * The entities of a device package whose content an update overwrites, and their checksums. A device, a gateway + * and a gateway connector don't have one: an update never changes them. + */ +@Component +@TbCoreComponent +@RequiredArgsConstructor +public class DevicePackageEntities { + + static final Set CHECKSUM_TYPES = Set.of(EntityType.DEVICE_PROFILE, EntityType.DASHBOARD, + EntityType.RULE_CHAIN, EntityType.CONVERTER, EntityType.INTEGRATION); + + private final DeviceProfileService deviceProfileService; + private final DashboardService dashboardService; + private final RuleChainService ruleChainService; + private final ConverterService converterService; + private final IntegrationService integrationService; + + /** The entity of the tenant, null when there is none, e.g. it was deleted. A rule chain comes with its metadata. */ + public Snapshot load(TenantId tenantId, EntityId entityId) { + Object entity = switch (entityId.getEntityType()) { + case DEVICE_PROFILE -> deviceProfileService.findDeviceProfileById(tenantId, (DeviceProfileId) entityId); + case DASHBOARD -> dashboardService.findDashboardById(tenantId, (DashboardId) entityId); + case RULE_CHAIN -> ruleChainService.findRuleChainById(tenantId, (RuleChainId) entityId); + case CONVERTER -> converterService.findConverterById(tenantId, (ConverterId) entityId); + case INTEGRATION -> integrationService.findIntegrationById(tenantId, (IntegrationId) entityId); + default -> throw new IllegalArgumentException("Unsupported entity type: " + entityId.getEntityType()); + }; + if (entity == null || !tenantId.equals(((HasTenantId) entity).getTenantId())) { + return null; + } + Object metadata = entity instanceof RuleChain ruleChain ? ruleChainService.loadRuleChainMetaData(tenantId, ruleChain.getId()) : null; + return new Snapshot(entity, metadata); + } + + public String checksum(TenantId tenantId, EntityId entityId) { + Snapshot snapshot = load(tenantId, entityId); + return snapshot != null ? snapshot.checksum() : null; + } + + /** + * Adds the checksum of each entity the install state names, so that an update can tell whether someone changed + * it since. Entities the user kept at install are left out: an update never overwrites them. + */ + public void addChecksums(TenantId tenantId, DeviceInstalledItemDescriptor descriptor) { + if (descriptor.getInstallState() == null || descriptor.getCreatedEntityIds() == null) { + return; + } + Map createdIds = new HashMap<>(); + descriptor.getCreatedEntityIds().forEach(id -> createdIds.put(id.getId(), id)); + descriptor.getInstallState().forEach((stepName, state) -> { + EntityId entityId = entityIdOf(state, createdIds); + if (entityId != null && CHECKSUM_TYPES.contains(entityId.getEntityType()) && state.isObject()) { + String checksum = checksum(tenantId, entityId); + if (checksum != null) { + ((ObjectNode) state).put("checksum", checksum); + } + } + }); + } + + /** The package entity an install-state step recorded, with its type from the ids the package created. */ + static EntityId entityIdOf(JsonNode state, Map createdIds) { + JsonNode id = state != null ? state.path("entityOutput").path("id") : null; + if (id == null || !id.isTextual() || "use-existing".equals(state.path("resolution").asText())) { + return null; + } + try { + return createdIds.get(UUID.fromString(id.asText())); + } catch (IllegalArgumentException e) { + return null; + } + } + + public record Snapshot(Object entity, Object metadata) { + + public Long version() { + return ((HasVersion) entity).getVersion(); + } + + public String checksum() { + return metadata != null ? EntityChecksum.of(entity, metadata) : EntityChecksum.of(entity); + } + + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java new file mode 100644 index 0000000000..005727da77 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageEntityState.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.id.EntityId; + +/** An entity of an installed device package as an update finds it, before it changes anything. */ +@Data +@NoArgsConstructor +@AllArgsConstructor +public class DevicePackageEntityState { + + private String stepName; + private EntityId entityId; + private boolean exists; + // Sent back with the update, which fails if someone changed the entity in between + private Long version; + // Changed since the package installed or last updated it; null when the install state has no checksum of it + // (installed before checksums were kept) + private Boolean modified; + // Other installed device packages use it, so overwriting it affects them + private boolean shared; + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java new file mode 100644 index 0000000000..25a0cdb6ef --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DevicePackageUpdateService.java @@ -0,0 +1,19 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.service.security.model.SecurityUser; + +import java.util.List; + +/** Updates an installed device package to another version of its item. */ +public interface DevicePackageUpdateService { + + /** The package's entities as they are now: whether they still exist, changed since, or are shared. */ + List check(SecurityUser user, IotHubInstalledItemId installedItemId); + + /** Applies the update in one transaction, together with the new version of the installed item, or nothing. */ + DeviceUpdateResult apply(SecurityUser user, IotHubInstalledItemId installedItemId, DeviceUpdateRequest request); + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java new file mode 100644 index 0000000000..6e47841e91 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -0,0 +1,61 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import lombok.Data; + +import java.util.List; +import java.util.Map; +import java.util.UUID; + +/** + * The update of an installed device package as the install wizard planned it: the entity of each install step + * of the new version, already resolved from its template, and what to do with it. The server applies all of it + * in one transaction, together with the new version of the installed item, or nothing. + */ +@Data +public class DeviceUpdateRequest { + + private String versionId; + // The install method of the new version's steps; the installed one when not set + private String selectedInstallMethod; + // The form values of the install state, by step: the server adds the entities to it + private Map installState; + private List steps; + + public enum Action { + // Taken as it is: the new version doesn't change it, or the user kept an entity they had + KEEP, + // Takes the entity from the step + OVERWRITE, + // A new entity: new in this version, deleted since install, or a copy next to one with the same name + CREATE + } + + @Data + public static class Step { + private String name; + // InstallStepType of the package: DEVICE_PROFILE, DEVICE, GATEWAY, GATEWAY_CONNECTOR, DASHBOARD, RULE_CHAIN, + // UPLINK_CONVERTER, DOWNLINK_CONVERTER, INTEGRATION + private String type; + private Action action; + // KEEP and OVERWRITE: the entity + private UUID entityId; + // OVERWRITE: the version the user reviewed; a different one means someone changed the entity since + private Long expectedVersion; + // The user confirmed overwriting an entity of another package or one they didn't install with this package + private boolean confirmed; + // OVERWRITE and CREATE: the entity resolved from the template. ${.} of an entity this + // update creates is left for the server, which knows its id only once it is created. + private JsonNode entity; + // DEVICE and GATEWAY: the credentials template, if any + private JsonNode credentials; + // DEVICE and GATEWAY created by this update: attributes, saved after the transaction + private JsonNode serverAttributes; + private JsonNode sharedAttributes; + // The resolution the install state records for it + private String resolution; + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java new file mode 100644 index 0000000000..da73d5de80 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateResult.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.node.ObjectNode; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; + +import java.util.Map; + +/** + * Either everything was applied, or nothing was: on a failure the transaction was rolled back and failedStep + * names the step that failed, if one did. + */ +@Data +@NoArgsConstructor +@AllArgsConstructor +public class DeviceUpdateResult { + + private boolean success; + private String errorMessage; + private String failedStep; + private DeviceInstalledItemDescriptor descriptor; + // By step name: what the install instructions resolve, e.g. ${integration.httpEndpoint}, ${device.token} + private Map outputs; + + public static DeviceUpdateResult success(DeviceInstalledItemDescriptor descriptor, Map outputs) { + return new DeviceUpdateResult(true, null, null, descriptor, outputs); + } + + public static DeviceUpdateResult error(String errorMessage, String failedStep) { + return new DeviceUpdateResult(false, errorMessage, failedStep, null, null); + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java new file mode 100644 index 0000000000..898a222f05 --- /dev/null +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java @@ -0,0 +1,110 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.rule.RuleChainMetaData; +import org.thingsboard.server.common.data.rule.RuleNode; + +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.ArrayList; +import java.util.HexFormat; +import java.util.Iterator; +import java.util.List; +import java.util.Set; + +/** + * The checksum of an entity as the server stores it, kept in the install state of a device package. A different + * checksum later means someone changed the entity, even a widget resized. The fields the server sets, and the name, + * which an update keeps, don't count. + */ +final class EntityChecksum { + + private static final Set SKIPPED_KEYS = Set.of("id", "name", "title", "version", "createdTime", "tenantId", + "customerId", "ownerId", "assignedCustomers", "externalId", "ruleChainId", "resources"); + + private EntityChecksum() { + } + + /** A rule chain is checked with its metadata: pass both. */ + static String of(Object... parts) { + StringBuilder canonical = new StringBuilder(); + for (Object part : parts) { + JsonNode node = part instanceof RuleChainMetaData metadata ? ruleChainContent(metadata) : JacksonUtil.valueToTree(part); + appendCanonical(canonical, node, true); + canonical.append('|'); + } + try { + byte[] hash = MessageDigest.getInstance("SHA-256").digest(canonical.toString().getBytes(StandardCharsets.UTF_8)); + return HexFormat.of().formatHex(hash); + } catch (NoSuchAlgorithmException e) { + throw new IllegalStateException(e); + } + } + + /** + * What a rule chain does, as the IoT Hub checksum of a rule chain item takes it: the nodes' type, name and + * configuration, and the connections. Node ids, layout and debug settings change without the user changing + * what the rule chain does, e.g. when it is saved again. + */ + private static JsonNode ruleChainContent(RuleChainMetaData metadata) { + ObjectNode content = JacksonUtil.newObjectNode(); + ArrayNode nodes = content.putArray("nodes"); + if (metadata.getNodes() != null) { + for (RuleNode node : metadata.getNodes()) { + ObjectNode n = nodes.addObject(); + n.put("type", node.getType()); + n.put("name", node.getName()); + n.set("configuration", node.getConfiguration()); + n.put("singletonMode", node.isSingletonMode()); + n.put("queueName", node.getQueueName()); + } + } + content.set("connections", JacksonUtil.valueToTree(metadata.getConnections())); + content.set("ruleChainConnections", JacksonUtil.valueToTree(metadata.getRuleChainConnections())); + content.set("firstNodeIndex", JacksonUtil.valueToTree(metadata.getFirstNodeIndex())); + return content; + } + + /** JSON with the keys sorted, so the same entity always gives the same text. */ + private static void appendCanonical(StringBuilder out, JsonNode node, boolean topLevel) { + if (node == null || node.isNull() || node.isMissingNode()) { + out.append("null"); + } else if (node.isObject()) { + List keys = new ArrayList<>(); + for (Iterator it = node.fieldNames(); it.hasNext(); ) { + String key = it.next(); + if (!topLevel || !SKIPPED_KEYS.contains(key)) { + keys.add(key); + } + } + keys.sort(null); + out.append('{'); + for (int i = 0; i < keys.size(); i++) { + if (i > 0) { + out.append(','); + } + out.append(JacksonUtil.toString(keys.get(i))).append(':'); + appendCanonical(out, node.get(keys.get(i)), false); + } + out.append('}'); + } else if (node.isArray()) { + out.append('['); + for (int i = 0; i < node.size(); i++) { + if (i > 0) { + out.append(','); + } + appendCanonical(out, node.get(i), false); + } + out.append(']'); + } else { + out.append(node.toString()); + } + } + +} diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 3a3fd372b0..e1d0cd666b 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -19,8 +19,6 @@ public interface IotHubService { InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor); - InstallItemVersionResult registerDeviceUpdate(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, DeviceInstalledItemDescriptor descriptor); - void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java new file mode 100644 index 0000000000..736e6c790d --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -0,0 +1,376 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.iot_hub; + +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentCaptor; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.mockito.junit.jupiter.MockitoSettings; +import org.mockito.quality.Strictness; +import org.springframework.test.util.ReflectionTestUtils; +import org.springframework.transaction.support.TransactionCallback; +import org.springframework.transaction.support.TransactionTemplate; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.Device; +import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.converter.Converter; +import org.thingsboard.server.common.data.exception.EntityVersionMismatchException; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.id.CustomerId; +import org.thingsboard.server.common.data.id.DashboardId; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.IotHubInstalledItemId; +import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; +import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; +import org.thingsboard.server.dao.converter.ConverterService; +import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceCredentialsService; +import org.thingsboard.server.dao.device.DeviceProfileService; +import org.thingsboard.server.dao.device.DeviceService; +import org.thingsboard.server.dao.entity.EntityService; +import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; +import org.thingsboard.server.exception.DataValidationException; +import org.thingsboard.server.service.entitiy.TbLogEntityActionService; +import org.thingsboard.server.service.security.model.SecurityUser; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.UUID; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; +import static org.mockito.Mockito.when; + +@ExtendWith(MockitoExtension.class) +@MockitoSettings(strictness = Strictness.LENIENT) +class DefaultDevicePackageUpdateServiceTest { + + private final TenantId tenantId = TenantId.fromUUID(UUID.randomUUID()); + private final SecurityUser user = mock(SecurityUser.class); + private final UUID itemId = UUID.randomUUID(); + private final String versionId = UUID.randomUUID().toString(); + private final DeviceProfileId profileId = new DeviceProfileId(UUID.randomUUID()); + private final DashboardId dashboardId = new DashboardId(UUID.randomUUID()); + private final DeviceId deviceId = new DeviceId(UUID.randomUUID()); + private final IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + + @Mock + private IotHubInstalledItemService installedItemService; + @Mock + private IotHubRestClient iotHubRestClient; + @Mock + private DevicePackageEntities packageEntities; + @Mock + private DeviceProfileService deviceProfileService; + @Mock + private DashboardService dashboardService; + @Mock + private DeviceService deviceService; + @Mock + private DeviceCredentialsService deviceCredentialsService; + @Mock + private ConverterService converterService; + @Mock + private IntegrationService integrationService; + @Mock + private TransactionTemplate transactionTemplate; + @Mock + private EntityService entityService; + @Mock + private TbLogEntityActionService logEntityActionService; + + @InjectMocks + private DefaultDevicePackageUpdateService service; + + private IotHubInstalledItem installedItem; + // Set when the transaction callback threw, so the transaction would roll back + private final List rolledBack = new ArrayList<>(); + + @BeforeEach + void setUp() { + ReflectionTestUtils.setField(service, "entityService", entityService); + ReflectionTestUtils.setField(service, "logEntityActionService", logEntityActionService); + when(user.getTenantId()).thenReturn(tenantId); + + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setSelectedInstallMethod("INTEGRATION_TTN"); + descriptor.setCreatedEntityIds(List.of(profileId, deviceId, dashboardId, integrationId)); + descriptor.setDashboardId(dashboardId); + descriptor.setInstallState(Map.of()); + installedItem = new IotHubInstalledItem(); + installedItem.setId(new IotHubInstalledItemId(UUID.randomUUID())); + installedItem.setTenantId(tenantId); + installedItem.setItemId(itemId); + installedItem.setItemType("DEVICE"); + installedItem.setVersion("1.0.0"); + installedItem.setDescriptor(descriptor); + when(installedItemService.findById(tenantId, installedItem.getId())).thenReturn(installedItem); + + ObjectNode versionInfo = JacksonUtil.newObjectNode(); + versionInfo.put("itemId", itemId.toString()); + versionInfo.put("name", "AM308"); + versionInfo.put("version", "1.0.1"); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(versionInfo); + + when(transactionTemplate.execute(any())).thenAnswer(invocation -> { + try { + return invocation.>getArgument(0).doInTransaction(null); + } catch (RuntimeException e) { + rolledBack.add(e); + throw e; + } + }); + when(packageEntities.checksum(any(), any())).thenReturn("checksum"); + when(entityService.fetchEntity(any(), any())).thenReturn(Optional.empty()); + Device device = new Device(deviceId); + device.setTenantId(tenantId); + device.setName("AM308"); + when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + } + + @Test + void overwritesTheEntitiesAndRecordsTheNewVersionInOneTransaction() { + DeviceProfile profile = profile(3L, "AM308 renamed"); + when(deviceProfileService.findDeviceProfileById(tenantId, profileId)).thenReturn(profile); + when(deviceProfileService.saveDeviceProfile(any())).thenAnswer(i -> i.getArgument(0)); + Dashboard dashboard = dashboard(7L); + dashboard.setCustomerId(new CustomerId(UUID.randomUUID())); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard); + when(dashboardService.saveDashboard(any(Dashboard.class))).thenAnswer(i -> i.getArgument(0)); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("AM308 profile", "DEVICE_PROFILE", profileId, 3L, JacksonUtil.newObjectNode().put("name", "milesight-iot-am308").put("description", "new")), + keep("AM308", "DEVICE", deviceId), + overwrite("Dashboard", "DASHBOARD", dashboardId, 7L, JacksonUtil.newObjectNode().put("title", "Template title")))); + + assertThat(result.isSuccess()).isTrue(); + ArgumentCaptor savedProfile = ArgumentCaptor.forClass(DeviceProfile.class); + verify(deviceProfileService).saveDeviceProfile(savedProfile.capture()); + // Same id, the name the user gave it, the version they reviewed + assertThat(savedProfile.getValue().getId()).isEqualTo(profileId); + assertThat(savedProfile.getValue().getName()).isEqualTo("AM308 renamed"); + assertThat(savedProfile.getValue().getDescription()).isEqualTo("new"); + assertThat(savedProfile.getValue().getVersion()).isEqualTo(3L); + ArgumentCaptor savedDashboard = ArgumentCaptor.forClass(Dashboard.class); + verify(dashboardService).saveDashboard(savedDashboard.capture()); + assertThat(savedDashboard.getValue().getCustomerId()).isEqualTo(dashboard.getCustomerId()); + + verify(installedItemService).save(tenantId, installedItem); + assertThat(installedItem.getVersion()).isEqualTo("1.0.1"); + assertThat(installedItem.getItemVersionId()).isEqualTo(UUID.fromString(versionId)); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + // Of the saved dashboard, not read back by id: inside the transaction that may come from the cache + assertThat(descriptor.getInstallState().get("Dashboard").get("checksum").asText()) + .isEqualTo(EntityChecksum.of(savedDashboard.getValue())); + assertThat(descriptor.getCreatedEntityIds()).contains(profileId, deviceId, dashboardId); + } + + @Test + void keptEntity_keepsTheChecksumThePackageLeft() { + // The user changed the dashboard since: its current checksum must not become the package's + ObjectNode dashboardState = JacksonUtil.newObjectNode().put("checksum", "installed").put("resolution", "created"); + dashboardState.set("entityOutput", JacksonUtil.newObjectNode().put("id", dashboardId.getId().toString())); + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", dashboardState)); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest request = request(keep("Dashboard", "DASHBOARD", dashboardId)); + request.setSelectedInstallMethod("INTEGRATION_CHIRPSTACK"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Dashboard").get("checksum").asText()).isEqualTo("installed"); + assertThat(descriptor.getSelectedInstallMethod()).isEqualTo("INTEGRATION_CHIRPSTACK"); + verify(dashboardService, never()).saveDashboard(any(Dashboard.class)); + } + + @Test + void failedStep_rollsBackAndReportsTheStep() { + when(deviceProfileService.findDeviceProfileById(tenantId, profileId)).thenReturn(profile(3L, "AM308")); + when(deviceProfileService.saveDeviceProfile(any())).thenAnswer(i -> i.getArgument(0)); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(7L)); + when(dashboardService.saveDashboard(any(Dashboard.class))).thenThrow(new DataValidationException("Dashboards limit reached")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("AM308 profile", "DEVICE_PROFILE", profileId, 3L, JacksonUtil.newObjectNode().put("name", "p")), + overwrite("Dashboard", "DASHBOARD", dashboardId, 7L, JacksonUtil.newObjectNode().put("title", "d")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getFailedStep()).isEqualTo("Dashboard"); + assertThat(result.getErrorMessage()).isEqualTo("Dashboards limit reached"); + assertThat(rolledBack).hasSize(1); + verify(installedItemService, never()).save(any(), any()); + verifyNoInteractions(logEntityActionService); + assertThat(installedItem.getVersion()).isEqualTo("1.0.0"); + } + + @Test + void entityChangedSinceTheCheck_isAVersionConflict() { + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(8L)); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("Dashboard", "DASHBOARD", dashboardId, 7L, JacksonUtil.newObjectNode().put("title", "d")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getFailedStep()).isEqualTo("Dashboard"); + assertThat(result.getErrorMessage()).contains("Check the update again"); + verify(dashboardService, never()).saveDashboard(any(Dashboard.class)); + } + + @Test + void integrationGetsTheIdOfTheConverterCreatedInTheSameUpdate() throws Exception { + ConverterId converterId = new ConverterId(UUID.randomUUID()); + when(converterService.saveConverter(any())).thenAnswer(i -> { + Converter converter = i.getArgument(0); + converter.setId(converterId); + return converter; + }); + Integration current = new Integration(); + current.setId(integrationId); + current.setTenantId(tenantId); + current.setName("TTN my-app"); + current.setRoutingKey("routing-key"); + current.setVersion(2L); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + when(integrationService.saveIntegration(any())).thenAnswer(i -> i.getArgument(0)); + ObjectNode integration = JacksonUtil.newObjectNode().put("name", "Template name").put("type", "TTN").put("edgeTemplate", true); + integration.set("defaultConverterId", JacksonUtil.newObjectNode().put("entityType", "CONVERTER").put("id", "${uplinkConverter.id}")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + create("Uplink", "UPLINK_CONVERTER", JacksonUtil.newObjectNode().put("name", "Uplink for TTN")), + overwrite("TTN", "INTEGRATION", integrationId, 2L, integration))); + + assertThat(result.isSuccess()).isTrue(); + ArgumentCaptor saved = ArgumentCaptor.forClass(Integration.class); + verify(integrationService).saveIntegration(saved.capture()); + assertThat(saved.getValue().getDefaultConverterId()).isEqualTo(converterId); + // The devices keep sending to the same endpoint + assertThat(saved.getValue().getRoutingKey()).isEqualTo("routing-key"); + assertThat(saved.getValue().getName()).isEqualTo("TTN my-app"); + assertThat(result.getOutputs().get("TTN").get("routingKey").asText()).isEqualTo("routing-key"); + } + + @Test + void overwritingAnEntityOfAnotherPackage_needsAConfirmation() { + DashboardId foreign = new DashboardId(UUID.randomUUID()); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("Dashboard", "DASHBOARD", foreign, 1L, JacksonUtil.newObjectNode().put("title", "d")))); + + assertThat(result.isSuccess()).isFalse(); + verify(transactionTemplate, never()).execute(any()); + } + + @Test + void theDeviceIsNeverOverwritten() { + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request( + overwrite("AM308", "DEVICE", deviceId, 1L, JacksonUtil.newObjectNode().put("name", "d")))); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getErrorMessage()).isEqualTo("The device and its credentials don't change on update"); + verify(transactionTemplate, never()).execute(any()); + } + + @Test + void versionOfAnotherItem_isRejected() { + ObjectNode other = JacksonUtil.newObjectNode().put("itemId", UUID.randomUUID().toString()); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(other); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("AM308", "DEVICE", deviceId))); + + assertThat(result.isSuccess()).isFalse(); + verify(transactionTemplate, never()).execute(any()); + } + + @Test + void userMessage_showsValidationMessagesAndHidesInternalOnes() { + assertThat(DefaultDevicePackageUpdateService.userMessage(new DataValidationException("Rule chains limit reached"))) + .isEqualTo("Rule chains limit reached"); + assertThat(DefaultDevicePackageUpdateService.userMessage(new EntityVersionMismatchException(EntityType.DASHBOARD, null))) + .contains("Check the update again"); + assertThat(DefaultDevicePackageUpdateService.userMessage(new IllegalStateException("could not execute statement; SQL [n/a]"))) + .isEqualTo("Failed to update the device package"); + } + + @Test + void resolvePlaceholders_leavesUnknownAliasesAsTheyAre() { + ObjectNode device = JacksonUtil.newObjectNode().put("id", "123"); + ObjectNode node = JacksonUtil.newObjectNode().put("a", "${device.id}").put("b", "x ${device.id} ${gateway.id}"); + + ObjectNode resolved = (ObjectNode) DefaultDevicePackageUpdateService.resolvePlaceholders(node, Map.of("device", device)); + + assertThat(resolved.get("a").asText()).isEqualTo("123"); + assertThat(resolved.get("b").asText()).isEqualTo("x 123 ${gateway.id}"); + } + + private DeviceProfile profile(Long version, String name) { + DeviceProfile profile = new DeviceProfile(profileId); + profile.setTenantId(tenantId); + profile.setName(name); + profile.setVersion(version); + return profile; + } + + private Dashboard dashboard(Long version) { + Dashboard dashboard = new Dashboard(dashboardId); + dashboard.setTenantId(tenantId); + dashboard.setTitle("AM308 dashboard"); + dashboard.setVersion(version); + return dashboard; + } + + private DeviceUpdateRequest request(DeviceUpdateRequest.Step... steps) { + DeviceUpdateRequest request = new DeviceUpdateRequest(); + request.setVersionId(versionId); + request.setSteps(List.of(steps)); + return request; + } + + private static DeviceUpdateRequest.Step keep(String name, String type, EntityId id) { + DeviceUpdateRequest.Step step = step(name, type, DeviceUpdateRequest.Action.KEEP); + step.setEntityId(id.getId()); + return step; + } + + private static DeviceUpdateRequest.Step overwrite(String name, String type, EntityId id, Long version, ObjectNode entity) { + DeviceUpdateRequest.Step step = step(name, type, DeviceUpdateRequest.Action.OVERWRITE); + step.setEntityId(id.getId()); + step.setExpectedVersion(version); + step.setEntity(entity); + return step; + } + + private static DeviceUpdateRequest.Step create(String name, String type, ObjectNode entity) { + DeviceUpdateRequest.Step step = step(name, type, DeviceUpdateRequest.Action.CREATE); + step.setEntity(entity); + return step; + } + + private static DeviceUpdateRequest.Step step(String name, String type, DeviceUpdateRequest.Action action) { + DeviceUpdateRequest.Step step = new DeviceUpdateRequest.Step(); + step.setName(name); + step.setType(type); + step.setAction(action); + return step; + } + +} diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index cf4f25bfd7..8cc1848797 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -510,46 +510,6 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService, never()).save(any(), any()); } - @Test - void registerDeviceUpdate_keepsTheInstalledItemAndRecordsTheNewVersion() { - mockTenant(); - DeviceId deviceId = new DeviceId(UUID.randomUUID()); - IotHubInstalledItem installed = devicePackage(deviceId); - installed.setItemType("DEVICE"); - installed.setItemId(UUID.randomUUID()); - installed.setVersion("1.0"); - when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); - String versionId = UUID.randomUUID().toString(); - when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, installed.getItemId().toString(), "DEVICE", "AM308", "1.1")); - DeviceInstalledItemDescriptor updated = new DeviceInstalledItemDescriptor(); - updated.setCreatedEntityIds(List.of(deviceId)); - - InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, updated); - - assertThat(result.isSuccess()).isTrue(); - verify(iotHubInstalledItemService).save(tenantId, installed); - assertThat(installed.getItemVersionId()).isEqualTo(UUID.fromString(versionId)); - assertThat(installed.getVersion()).isEqualTo("1.1"); - assertThat(installed.getDescriptor()).isSameAs(updated); - verify(tbDeviceService, never()).delete(any(Device.class), any()); - } - - @Test - void registerDeviceUpdate_versionOfAnotherItem_isRejected() { - mockTenant(); - IotHubInstalledItem installed = devicePackage(new DeviceId(UUID.randomUUID())); - installed.setItemType("DEVICE"); - installed.setItemId(UUID.randomUUID()); - when(iotHubInstalledItemService.findById(tenantId, installed.getId())).thenReturn(installed); - String versionId = UUID.randomUUID().toString(); - when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Other", "1.0")); - - InstallItemVersionResult result = service.registerDeviceUpdate(user, installed.getId(), versionId, new DeviceInstalledItemDescriptor()); - - assertThat(result.isSuccess()).isFalse(); - verify(iotHubInstalledItemService, never()).save(any(), any()); - } - private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); descriptor.setCreatedEntityIds(List.of(createdEntityIds)); diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 639127e075..1bf462ce35 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -13,7 +13,7 @@ import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { CreatorView } from '@shared/models/iot-hub/iot-hub-creator.models'; -import { IotHubInstalledItem, IotHubInstalledItemKeptEntities, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { DevicePackageEntityState, DeviceUpdateRequest, DeviceUpdateResult, IotHubInstalledItem, IotHubInstalledItemKeptEntities, InstallItemVersionResult, InstallPlan, InstallPlanResult, UpdateItemVersionResult, ItemPublishedVersionInfo } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { ItemType, ItemTypeFilterInfo, WidgetCategory } from '@shared/models/iot-hub/iot-hub-item.models'; import { InterceptorHttpParams } from '@core/interceptors/interceptor-http-params'; import { InterceptorConfig } from '@core/interceptors/interceptor-config'; @@ -180,13 +180,10 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, - config?: IotHubRequestConfig, - // Set for an update: the installed item takes the version and the descriptor - installedItemId?: string + config?: IotHubRequestConfig ): Observable { - const installedItemParam = installedItemId ? `&installedItemId=${installedItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}${installedItemParam}`, + `/api/iot-hub/device/register?versionId=${versionId}`, { type: 'DEVICE', ...descriptor }, { params: this.buildParams(config) } ); @@ -272,6 +269,23 @@ export class IotHubApiService { ); } + /** The entities of an installed device package as they are now: whether they exist, changed since, or are shared. */ + public checkDeviceUpdate(installedItemId: string, config?: IotHubRequestConfig): Observable { + return this.http.get( + `/api/iot-hub/installedItems/${installedItemId}/deviceUpdate/check`, + { params: this.buildParams(config) } + ); + } + + /** Applies a device package update in one transaction: all of it, or nothing. */ + public updateDevicePackage(installedItemId: string, request: DeviceUpdateRequest, config?: IotHubRequestConfig): Observable { + return this.http.post( + `/api/iot-hub/installedItems/${installedItemId}/deviceUpdate`, + request, + { params: this.buildParams(config) } + ); + } + public getInstalledItemKeptEntities(installedItemId: string, config?: IotHubRequestConfig): Observable { return this.http.get( `/api/iot-hub/installedItems/${installedItemId}/keptEntities`, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 11499fe154..d13e0221d9 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -61,6 +61,9 @@ } @case ('progress') { + @if (data.update) { + + } @else {
@for (ep of ws.entitySteps; track ep.step.name; let i = $index) { @if (i > 0) { @@ -144,6 +147,142 @@ } }
+ } + } + } +
+ + + + + {{ 'iot-hub.device-update-modified' | translate }} + {{ 'iot-hub.device-update-here' | translate }}. + + + + +
+ @for (ep of ws.entitySteps; track ep.step.name; let i = $index) { + @if (i > 0) { +
+ } + @let plan = updatePlanOf(ep); + @let label = ('iot-hub.device-install-step-type-' + ep.step.type | translate) + ' — ' + (ep.resolvedName || ep.step.name); + @if (ws.reviewing && plan && !plan.confirmed) { +
+
+
+ warning +
+
+ {{ label }} + @if (plan.existing) { + + {{ 'iot-hub.device-install-conflict-exists' | translate:{ type: ('iot-hub.device-install-step-type-' + ep.step.type | translate) } }} + + } + @if (plan.shared) { + {{ 'iot-hub.device-update-shared' | translate }} + } + @if (plan.modified) { + + + + } +
+
+
+ @if (plan.existing) { + @if (ep.step.type === 'DASHBOARD') { + + } @else { + + } + + } @else { + + } +
+
+ } @else if (ep.status === 'error') { +
+
+ error +
+
+ {{ label }} + @if (ep.errorMessage) { + {{ ep.errorMessage }} + } +
+ {{ 'iot-hub.device-install-step-error' | translate }} +
+ } @else { +
+
+ @switch (ep.status) { + @case ('running') { + + } + @case ('success') { + check_circle + } + @default { +
{{ i + 1 }}
+ } + } +
+
+
+ {{ label }} + @if (plan?.action === 'create' && plan.resolution !== 'use-existing') { + {{ 'iot-hub.device-update-new' | translate }} + } +
+ + @if (ws.reviewing && plan?.confirmed) { + @if (plan.existing) { + {{ 'iot-hub.device-update-existing-' + plan.resolution | translate }} + } + @if (plan.shared) { + {{ 'iot-hub.device-update-shared' | translate }} + } + @if (plan.modified) { + + + + } + } +
+ + @switch (ep.status) { + @case ('running') { + {{ 'iot-hub.in-progress' | translate }} + } + @case ('success') { + {{ 'iot-hub.done' | translate }} + } + @case ('skipped') { + {{ 'iot-hub.device-update-skipped' | translate }} + } + @default { + @if (ws.reviewing && plan) { + {{ 'iot-hub.device-update-no-conflicts' | translate }} + } + } + } + +
} }
@@ -171,7 +310,14 @@
} @else {
-

{{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

+

+ @if (data.update) { + {{ 'iot-hub.device-update-title' | translate:{ name: packageInfo?.name || data.item.name } }} + {{ data.update.fromVersion }} → {{ data.item.version }} + } @else { + {{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }} + } +

@@ -225,9 +371,24 @@ } + @if (data.update && currentWizardStep?.type === 'progress') { + @let step = currentWizardStep; + @if (hasUpdateError(step)) { +
+ error + {{ step.progressError }} +
+ } @else if (step.reviewing && !step.checking && unconfirmedUpdateWarnings(step) > 0) { +
+ warning + {{ 'iot-hub.device-update-confirm-warnings' | translate:{ count: unconfirmedUpdateWarnings(step) } }} +
+ } + } + @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -264,7 +425,26 @@ } @case ('progress') { - @if (step.progressError) { + @if (data.update && (step.reviewing || step.updating || step.progressError)) { + @if (step.progressError && !step.updating) { + + + } @else if (step.updating) { + + + } @else { + + + } + } @else if (step.progressError) {
} @@ -270,7 +271,7 @@ {{ 'iot-hub.in-progress' | translate }} } @case ('success') { - {{ 'iot-hub.done' | translate }} + {{ updateOutcomeOf(plan) | translate }} } @case ('skipped') { {{ 'iot-hub.device-update-skipped' | translate }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 39e97081c4..34b25e66c5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -200,6 +200,8 @@ export interface WizardStep { extraFormFields?: FormFieldDefinition[]; // Key of the step's form values in the install state; the label when not set stateKey?: string; + // Update: the keys of the form's fields the installed version didn't have + newFieldKeys?: Set; formGroup?: UntypedFormGroup; // Connection check of the integration the form configures; null when the form configures none connectionCheck?: ConnectionCheck | null; @@ -1230,6 +1232,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent…, which the translation may put anywhere in it, split around the link. */ + /** Update: what the update did with the entity of a row, once it succeeded. */ + updateOutcomeOf(plan: EntityStepPlan | undefined): string { + if (!plan || plan.action === 'keep' || plan.resolution === 'use-existing') { + return 'iot-hub.device-update-not-changed'; + } + return plan.action === 'overwrite' || plan.resolution === 'overwrite' ? 'iot-hub.device-update-updated' : 'iot-hub.device-update-created'; + } + textWithLink(key: string): { before: string; link: string; after: string } { const text: string = this.translate.instant(key); const match = /^([\s\S]*)([\s\S]*)<\/a>([\s\S]*)$/.exec(text); @@ -2295,6 +2306,22 @@ export class TbDeviceInstallDialogComponent extends DialogComponent s.type === step.type && (s.id && step.id ? s.id === step.id : s.name === step.name)); } + /** Update: the fields of a form step the installed version's form didn't have; all of them for a new form step. */ + private newFieldKeysOf(step: DeviceInstallStep, fields: FormFieldDefinition[]): Set { + if (!this.previousPackageInfo) { + return new Set(); + } + const previousStep = this.findPreviousStep(step); + let previousKeys = new Set(); + try { + const previousForm = previousStep ? JSON.parse(this.previousFiles.get(previousStep.file) || '[]') as FormFieldDefinition[] : []; + previousKeys = new Set(previousForm.map(field => field.key)); + } catch { + return new Set(); + } + return new Set(fields.map(field => field.key).filter(key => !previousKeys.has(key))); + } + /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ private stateKeysOf(step: DeviceInstallStep): string[] { return step.id ? [step.id] : [step.name, this.resolveVariables(step.name)]; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html index a94a41cff0..ab1314f65d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html @@ -36,7 +36,10 @@ @for (row of rows; track row.fields[0].key) { -
+
+ @if (isNewRow(row)) { + {{ 'iot-hub.device-update-new' | translate }} + } @if (row.fields.length > 1) {
@for (field of row.fields; track field.key) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index f99f29ebca..10711348cc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -14,3 +14,23 @@ max-width: 100%; margin-top: 8px; } + +// Update: a field the installed version didn't have +.tb-install-form-row-new { + padding: 8px 12px; + border-left: 3px solid #305680; + border-radius: 4px; + background: rgba(48, 86, 128, 0.04); +} + +.tb-install-form-new { + align-self: flex-start; + font-size: 12px; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.4px; + color: #305680; + background: rgba(48, 86, 128, 0.08); + border-radius: 4px; + padding: 2px 8px; +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 6965009871..4633a41afd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -49,6 +49,8 @@ export class InstallFormRendererComponent implements OnChanges { @Input() resolveImagePath?: (path: string) => string; /** When true, PASSWORD inputs render unmasked by default (used by review mode). */ @Input() reviewMode = false; + /** Update: the fields the installed version's form didn't have, highlighted as new. */ + @Input() newFieldKeys?: Set; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields @@ -170,4 +172,8 @@ export class InstallFormRendererComponent implements OnChanges { imagePath(path: string): string { return this.resolveImagePath ? this.resolveImagePath(path) : path; } + + isNewRow(row: { fields: FormFieldDefinition[] }): boolean { + return !!this.newFieldKeys?.size && row.fields.some(field => this.newFieldKeys.has(field.key)); + } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 7e587600c9..36c91f24ab 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6538,13 +6538,16 @@ "device-update-no-conflicts": "No conflicts", "device-update-new": "New", "device-update-shared": "Used by other packages. The update affects them.", - "device-update-modified": "Changed by someone else. You can download the current version here.", + "device-update-modified": "Has local changes. You can download the current version here.", "device-install-unexpected-error": "Something went wrong. Try again.", "device-update-existing-use-existing": "Already exists. The existing one will be used.", "device-update-existing-overwrite": "Already exists. It will be overwritten.", "device-update-existing-create-copy": "Already exists. A copy will be created.", "device-update-confirm-warnings": "Confirm { count, plural, =1 {1 warning} other {# warnings} } to enable Update", "device-update-skipped": "Not changed", + "device-update-not-changed": "Not changed", + "device-update-updated": "Updated", + "device-update-created": "Created", "device-update-try-again": "Try again", "done": "Done", "in-progress": "In progress", From 109c13a5e2f64c6612b0502c008cae7b3f7d2677 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:15:10 +0200 Subject: [PATCH 086/275] feat(iot-hub): mark a new form field by its outline, label and hint; show Done for kept entities --- .../device-install-dialog.component.html | 3 +- .../device-install-dialog.component.ts | 2 +- .../install-form-renderer.component.html | 60 +++++++++++++------ .../install-form-renderer.component.scss | 28 ++++----- .../install-form-renderer.component.ts | 6 +- .../assets/locale/locale.constant-en_US.json | 2 +- 6 files changed, 62 insertions(+), 39 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 7fb651678e..964a50bd0d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -56,7 +56,8 @@ [formGroup]="ws.formGroup" [resolveImagePath]="resolveImagePathFn" [reviewMode]="reviewMode" - [newFieldKeys]="ws.newFieldKeys"> + [newFieldKeys]="ws.newFieldKeys" + [newFieldHint]="'iot-hub.device-update-new-field' | translate: { version: data.item.version }">
} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 34b25e66c5..ca88fa519e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -1946,7 +1946,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent @for (row of rows; track row.fields[0].key) { -
- @if (isNewRow(row)) { - {{ 'iot-hub.device-update-new' | translate }} - } +
@if (row.fields.length > 1) {
@for (field of row.fields; track field.key) { @@ -96,7 +93,7 @@
} @case (FormFieldType.SELECT) { - {{ field.label }} @@ -104,8 +101,13 @@ {{ opt.label }} } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -113,7 +115,7 @@ } @case (FormFieldType.STRING_AUTOCOMPLETE) { - {{ field.label }} {{ opt.label }} } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -139,7 +146,7 @@ } @case (FormFieldType.PASSWORD) { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -173,14 +185,19 @@ } @case (FormFieldType.INTEGER) { - {{ field.label }} - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -194,7 +211,7 @@ } @default { - {{ field.label }} autorenew } - @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { - {{ helpTextOf(field) }} + @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { + + @if (isNewField(field)) { + {{ newFieldHint }} + } + {{ helpTextOf(field) }} + } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index 10711348cc..b19765a280 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -15,22 +15,20 @@ margin-top: 8px; } -// Update: a field the installed version didn't have -.tb-install-form-row-new { - padding: 8px 12px; - border-left: 3px solid #305680; - border-radius: 4px; - background: rgba(48, 86, 128, 0.04); +// Update: a field the installed version didn't have: outline, label and hint in the primary color +:host ::ng-deep .mat-mdc-form-field.tb-install-form-field-new { + .mdc-notched-outline__leading, + .mdc-notched-outline__notch, + .mdc-notched-outline__trailing { + border-color: var(--tb-primary-500); + } + .mdc-floating-label, + .mat-mdc-floating-label { + color: var(--tb-primary-500); + } } -.tb-install-form-new { - align-self: flex-start; - font-size: 12px; +.tb-install-form-new-hint { + color: var(--tb-primary-500); font-weight: 500; - line-height: 16px; - letter-spacing: 0.4px; - color: #305680; - background: rgba(48, 86, 128, 0.08); - border-radius: 4px; - padding: 2px 8px; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 4633a41afd..16a1298ae2 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -51,6 +51,8 @@ export class InstallFormRendererComponent implements OnChanges { @Input() reviewMode = false; /** Update: the fields the installed version's form didn't have, highlighted as new. */ @Input() newFieldKeys?: Set; + /** Update: the text the hint of a new field starts with. */ + @Input() newFieldHint = ''; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields @@ -173,7 +175,7 @@ export class InstallFormRendererComponent implements OnChanges { return this.resolveImagePath ? this.resolveImagePath(path) : path; } - isNewRow(row: { fields: FormFieldDefinition[] }): boolean { - return !!this.newFieldKeys?.size && row.fields.some(field => this.newFieldKeys.has(field.key)); + isNewField(field: FormFieldDefinition): boolean { + return !!this.newFieldKeys?.has(field.key); } } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 36c91f24ab..78db1e922c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6545,7 +6545,7 @@ "device-update-existing-create-copy": "Already exists. A copy will be created.", "device-update-confirm-warnings": "Confirm { count, plural, =1 {1 warning} other {# warnings} } to enable Update", "device-update-skipped": "Not changed", - "device-update-not-changed": "Not changed", + "device-update-new-field": "New in {{version}}.", "device-update-updated": "Updated", "device-update-created": "Created", "device-update-try-again": "Try again", From 25692d6ab0faca2c22ad4cb9030907c0cb5798ba Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:24:57 +0200 Subject: [PATCH 087/275] feat(iot-hub): mark a new form field by a primary outline and a New label --- .../device-install-dialog.component.html | 3 +- .../install-form-renderer.component.html | 55 +++++-------------- .../install-form-renderer.component.scss | 13 +++-- .../install-form-renderer.component.ts | 2 - .../assets/locale/locale.constant-en_US.json | 1 - 5 files changed, 23 insertions(+), 51 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 964a50bd0d..7fb651678e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -56,8 +56,7 @@ [formGroup]="ws.formGroup" [resolveImagePath]="resolveImagePathFn" [reviewMode]="reviewMode" - [newFieldKeys]="ws.newFieldKeys" - [newFieldHint]="'iot-hub.device-update-new-field' | translate: { version: data.item.version }"> + [newFieldKeys]="ws.newFieldKeys">
} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html index f8fd99411e..965f6ffefe 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.html @@ -95,19 +95,14 @@ @case (FormFieldType.SELECT) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} @for (opt of field.options; track opt.value) { {{ opt.label }} } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -117,7 +112,7 @@ @case (FormFieldType.STRING_AUTOCOMPLETE) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} @@ -126,13 +121,8 @@ {{ opt.label }} } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -148,7 +138,7 @@ @case (FormFieldType.PASSWORD) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} autorenew } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -187,17 +172,12 @@ @case (FormFieldType.INTEGER) { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} @@ -213,7 +193,7 @@ @default { - {{ field.label }} + {{ field.label }}@if (isNewField(field)) { · {{ 'iot-hub.device-update-new' | translate }}} @@ -225,13 +205,8 @@ autorenew } - @if ((helpTextOf(field) || isNewField(field)) && !(row.hasHintBox && field.helpPopupId)) { - - @if (isNewField(field)) { - {{ newFieldHint }} - } - {{ helpTextOf(field) }} - + @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { + {{ helpTextOf(field) }} } @if (formGroup.controls[field.key]?.hasError('required')) { {{ field.label + ' is required' }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss index b19765a280..492e9be76d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.scss @@ -15,20 +15,21 @@ margin-top: 8px; } -// Update: a field the installed version didn't have: outline, label and hint in the primary color +// Update: a field the installed version didn't have: a thicker outline, a tint and the label in the primary color :host ::ng-deep .mat-mdc-form-field.tb-install-form-field-new { .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing { border-color: var(--tb-primary-500); + border-width: 2px; + } + .mat-mdc-text-field-wrapper { + border-radius: 4px; + background: color-mix(in srgb, var(--tb-primary-500) 4%, transparent); } .mdc-floating-label, .mat-mdc-floating-label { color: var(--tb-primary-500); + font-weight: 500; } } - -.tb-install-form-new-hint { - color: var(--tb-primary-500); - font-weight: 500; -} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index 16a1298ae2..a87c734094 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -51,8 +51,6 @@ export class InstallFormRendererComponent implements OnChanges { @Input() reviewMode = false; /** Update: the fields the installed version's form didn't have, highlighted as new. */ @Input() newFieldKeys?: Set; - /** Update: the text the hint of a new field starts with. */ - @Input() newFieldHint = ''; passwordVisible: Record = {}; // Fields in render order: consecutive fields of a group form a section, and consecutive fields diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 78db1e922c..4d52160b91 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6545,7 +6545,6 @@ "device-update-existing-create-copy": "Already exists. A copy will be created.", "device-update-confirm-warnings": "Confirm { count, plural, =1 {1 warning} other {# warnings} } to enable Update", "device-update-skipped": "Not changed", - "device-update-new-field": "New in {{version}}.", "device-update-updated": "Updated", "device-update-created": "Created", "device-update-try-again": "Try again", From 83ab5ec8147d8b12d77c11c1e7935bf0c01258d9 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:28:30 +0200 Subject: [PATCH 088/275] feat(iot-hub): installed items offer an update through the new version's details --- .../iot-hub-installed-items-table.component.html | 12 +++++------- .../iot-hub-installed-items-table.component.scss | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index ab41384640..8e4d9b57c5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -45,19 +45,17 @@ @if (getPublishedVersionInfo(item); as pubInfo) { @if (pubInfo.publishedVersionId !== item.itemVersionId) {
+ @if (!itemVersion) { - } - + + }
} @else { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss index 9f304d2751..7d511670b9 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss @@ -126,9 +126,9 @@ font-weight: 500; line-height: 20px; letter-spacing: 0.25px; - color: rgba(0, 0, 0, 0.76); + color: var(--tb-primary-500); background: none; - border: 1px solid rgba(0, 0, 0, 0.12); + border: 1px solid var(--tb-primary-500); border-radius: 4px; padding: 6px 12px; cursor: pointer; @@ -143,7 +143,7 @@ } &:hover { - background: rgba(0, 0, 0, 0.04); + background: color-mix(in srgb, var(--tb-primary-500) 8%, transparent); } } From f410611ed690d3a877e9dfb05283b1e7f770f216 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:28:46 +0200 Subject: [PATCH 089/275] fix(iot-hub): lowercase available after the version --- ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 4d52160b91..eb84ed9a84 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6325,7 +6325,7 @@ "items-per-page": "Items per page", "filter": "Filter", "clear-filters": "Clear filters", - "available": "Available", + "available": "available", "items-page-desc-widgets": "Jumpstart your IoT journey with pre-configured widgets designed for your industry. Deploy proven architectures instantly and focus your energy on what matters: your unique business logic.", "items-page-desc-solution-templates": "Complete IoT solution packages with dashboards, rule chains, and device configurations. Get started with proven architectures.", "items-page-desc-calculated-fields": "Use pre-configured Calculated Fields to automate complex metrics like fuel efficiency or power factor. Skip the manual logic and keep your dashboards clean and actionable.", From a25a4563933fbe6e7d30e8e8695e1f13d0900563 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:32:02 +0200 Subject: [PATCH 090/275] fix(iot-hub): keep the update button red --- ...t-hub-installed-items-table.component.html | 2 +- ...t-hub-installed-items-table.component.scss | 32 +------------------ 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index 8e4d9b57c5..6926a0ba41 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -47,7 +47,7 @@
@if (!itemVersion) { - diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss index 7d511670b9..e390164cd5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss @@ -117,37 +117,7 @@ .tb-type-alarm-rule { color: #d7702f; background: rgba(215, 112, 47, 0.06); } .tb-type-rule-chain { color: #aa5be3; background: rgba(170, 91, 227, 0.06); } -// "vX.X.X Available" button — Design: border rgba(0,0,0,0.12), rounded-4, px-12 py-6, gap-8 -.tb-installed-version-btn { - display: inline-flex; - align-items: center; - gap: 8px; - font-size: 14px; - font-weight: 500; - line-height: 20px; - letter-spacing: 0.25px; - color: var(--tb-primary-500); - background: none; - border: 1px solid var(--tb-primary-500); - border-radius: 4px; - padding: 6px 12px; - cursor: pointer; - font-family: inherit; - - mat-icon { - font-size: 18px; - width: 18px; - height: 18px; - color: inherit !important; - --mat-icon-color: currentColor; - } - - &:hover { - background: color-mix(in srgb, var(--tb-primary-500) 8%, transparent); - } -} - -// "Update" button — Design: same height as available btn, border matches text color +// "vX.X.X available" and "Update to" buttons: border matches the text color .tb-installed-update-btn.mat-mdc-outlined-button { font-size: 14px; font-weight: 500; From cd95b67b8c931b1a1ebe57845c783526cff43656 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 09:34:42 +0200 Subject: [PATCH 091/275] feat(iot-hub): the available version button opens the update --- .../iot-hub-installed-items-table.component.html | 3 +-- .../iot-hub-installed-items-table.component.scss | 5 +++++ .../iot-hub/iot-hub-installed-items-table.component.ts | 10 ---------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index 6926a0ba41..08195cac7a 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -45,9 +45,8 @@ @if (getPublishedVersionInfo(item); as pubInfo) { @if (pubInfo.publishedVersionId !== item.itemVersionId) {
- @if (!itemVersion) { - diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss index e390164cd5..e943f76f46 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.scss @@ -126,6 +126,11 @@ padding: 6px 12px; height: auto; --mat-button-outlined-outline-color: var(--mat-button-outlined-label-text-color); + + mat-icon { + color: inherit !important; + --mat-icon-color: currentColor; + } } // "Up to date" — Design: 14px Medium, #198038, gap-8, py-6 diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 0e332b9d45..27a2215c48 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -242,16 +242,6 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, }); } - viewUpdateDetails(publishedInfo: ItemPublishedVersionInfo, installedItem: IotHubInstalledItem): void { - this.iotHubApiService.getVersionInfo(publishedInfo.publishedVersionId, {ignoreLoading: true}).subscribe(versionView => { - this.iotHubActions.openItemDetail(versionView, installedItem).subscribe(result => { - if (result === 'updated' || result === 'deleted') { - this.loadData(); - } - }); - }); - } - updateItem(item: IotHubInstalledItem, publishedInfo: ItemPublishedVersionInfo): void { this.iotHubActions.updateItem(item, publishedInfo.publishedVersion, publishedInfo.publishedVersionId).subscribe(result => { if (result === 'updated') { From 341fd5d3cd247bf4adaf3b22cb0a361b6a9a8149 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Mon, 2 Nov 2026 10:20:01 +0200 Subject: [PATCH 092/275] feat(iot-hub): a device package step takes the default converter, a new default converter shows as an update, and the profile name is set at install - UPLINK_CONVERTER step with "default": true and no template: the wizard builds the converter ThingsBoard creates for a new integration of the method's type (INTEGRATION_TTN: TTN) from the UI assets, and installs, overwrites and updates it like a template of the package. - Installed items: a device package whose default converter differs from ThingsBoard's default converter now shows "New converter available". It opens the update of the installed version, which brings the converter to the default one. A package that took another package's converter overwrites it with the shared-entity warning. - After an update overwrites an entity, the other packages that recorded its checksum record the new one. - INTEGRATION step "metadata": its entries are added to the integration's metadata at create, overwrite, use existing and update; the entries the integration has stay. An entry that maps a name to itself (profile.: ) isn't added. The checksum of an integration leaves out its metadata. - The default TTN and TTI converters take the profile name from the integration metadata entry profile.- when there is one. - Form field "resettable": a field the user changed shows a button that puts its default value back. --- .../DefaultDevicePackageUpdateService.java | 53 +++++++ .../service/iot_hub/DeviceUpdateRequest.java | 2 + .../service/iot_hub/EntityChecksum.java | 5 + .../controller/ConverterControllerTest.java | 29 +++- ...DefaultDevicePackageUpdateServiceTest.java | 64 ++++++++ .../device-install-dialog.component.html | 6 + .../device-install-dialog.component.ts | 138 ++++++++++++++++-- .../install-form-renderer.component.html | 8 + .../install-form-renderer.component.ts | 12 ++ .../iot-hub/iot-hub-default-converter.ts | 57 ++++++++ ...t-hub-installed-items-table.component.html | 40 ++--- ...iot-hub-installed-items-table.component.ts | 52 ++++++- .../models/iot-hub/device-package.models.ts | 6 + .../iot-hub/iot-hub-installed-item.models.ts | 2 + .../src/assets/converters/js-tti-decoder.raw | 12 +- .../src/assets/converters/js-ttn-decoder.raw | 12 +- .../assets/converters/tbel-tti-decoder.raw | 12 +- .../assets/converters/tbel-ttn-decoder.raw | 12 +- .../assets/locale/locale.constant-en_US.json | 2 + 19 files changed, 465 insertions(+), 59 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 6b8445d16e..1f452c3792 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -42,6 +42,8 @@ import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.kv.AttributeKvEntry; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.page.PageLink; import org.thingsboard.server.common.data.rule.RuleChain; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.security.DeviceCredentials; @@ -285,6 +287,8 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i List saved = new ArrayList<>(); List connectorSteps = new ArrayList<>(); List attributes = new ArrayList<>(); + // The checksums of the entities this update overwrote, which other packages may record too + Map overwrittenChecksums = new HashMap<>(); DashboardId dashboardId = null; for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -310,6 +314,12 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (checksum != null) { state.put("checksum", checksum); } + if (step.isDefaultConverter()) { + state.put("defaultConverter", true); + } + if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && result.checksum() != null) { + overwrittenChecksums.put(result.entityId().getId(), result.checksum()); + } installState.put(step.getId() != null ? step.getId() : step.getName(), state); if (!"use-existing".equals(step.getResolution())) { stepEntityIds.add(result.entityId()); @@ -344,12 +354,55 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i installedItem.setVersion(versionInfo.get("version").asText()); installedItem.setDescriptor(descriptor); installedItemService.save(tenantId, installedItem); + refreshChecksumsOfOtherPackages(tenantId, installedItem.getId(), overwrittenChecksums); // Resolved once every entity is saved: attributes may refer to a later step's entity List resolvedAttributes = attributes.stream().map(a -> new StepAttributes(a.stepName(), a.entityId(), resolvePlaceholders(a.server(), aliasOutputs), resolvePlaceholders(a.shared(), aliasOutputs))).toList(); return new Applied(descriptor, outputs, saved, connectorSteps, resolvedAttributes, aliasOutputs); } + /** + * Another package that recorded the checksum of an entity this update overwrote, e.g. a shared converter, records the + * new one: the update was confirmed for all packages using the entity, so their next update sees no change by someone else. + */ + private void refreshChecksumsOfOtherPackages(TenantId tenantId, IotHubInstalledItemId installedItemId, Map checksums) { + if (checksums.isEmpty()) { + return; + } + PageLink pageLink = new PageLink(100); + PageData page; + do { + page = installedItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); + for (IotHubInstalledItem item : page.getData()) { + if (!item.getId().equals(installedItemId) && item.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor + && descriptor.getInstallState() != null && refreshChecksums(descriptor.getInstallState(), checksums)) { + installedItemService.save(tenantId, item); + } + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext()); + } + + private static boolean refreshChecksums(Map installState, Map checksums) { + boolean changed = false; + for (JsonNode state : installState.values()) { + String checksum = checksums.get(toUuid(state.path("entityOutput").path("id").asText())); + if (checksum != null && state.has("checksum") && state instanceof ObjectNode objectState) { + objectState.put("checksum", checksum); + changed = true; + } + } + return changed; + } + + private static UUID toUuid(String id) { + try { + return UUID.fromString(id); + } catch (IllegalArgumentException e) { + return null; + } + } + /** * Another update of the package, e.g. a second click or another tab, waits here until this one commits, and then * fails: the plan was made for the version installed before. Without it both would create the new entities. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java index 28118ed018..c3f2f90f89 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -61,6 +61,8 @@ public class DeviceUpdateRequest { private JsonNode sharedAttributes; // The resolution the install state records for it private String resolution; + // UPLINK_CONVERTER: the step takes ThingsBoard's default converter, which the install state records for the update check + private boolean defaultConverter; } } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java index 4cd2f25d02..1f8c8887e5 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/EntityChecksum.java @@ -6,6 +6,7 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.rule.RuleChainMetaData; import org.thingsboard.server.common.data.rule.RuleNode; @@ -37,6 +38,10 @@ final class EntityChecksum { StringBuilder canonical = new StringBuilder(); for (Object part : parts) { JsonNode node = part instanceof RuleChainMetaData metadata ? ruleChainContent(metadata) : JacksonUtil.valueToTree(part); + if (part instanceof Integration && node.get("configuration") instanceof ObjectNode configuration) { + // Device packages on one integration add their entries to its metadata: that is no change to the integration + configuration.remove("metadata"); + } appendCanonical(canonical, node, true); canonical.append('|'); } diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 8ab6727c04..023397bf0b 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -686,9 +686,7 @@ public class ConverterControllerTest extends AbstractControllerTest { testDecoder(TTI_UPLINK_DECODER, DEFAULT_TTI_UPLINK_CONVERTER_MESSAGE, expectedDecodedMessage, converter); } - @Test - public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { - String expectedDecodedMessage = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + + private static final String THINGS_STACK_REPOSITORY_DEVICE_RESULT = "{\"entityType\":\"DEVICE\",\"name\":\"am308-office\",\"profile\":\"milesight-iot-am308\",\"label\":\"am308-office\",\"group\":\"my-app\"," + "\"telemetry\":[{\"ts\":1793170000000,\"values\":{\"temperature\":24.1,\"co2\":550}},{\"ts\":1793181600100,\"values\":{\"battery\":95,\"temperature\":24.5,\"co2\":560," + "\"fCnt\":12,\"data\":\"AXVk\",\"rssi\":-60,\"snr\":9.5,\"channel\":2,\"consumedAirtime\":\"0.061696s\"}}]," + "\"attributes\":{\"eui\":\"24E124707C481005\",\"joinEui\":\"24E124C0002A0001\",\"devAddr\":\"260B1234\",\"deviceId\":\"am308-office\",\"applicationId\":\"my-app\"," + @@ -696,7 +694,17 @@ public class ConverterControllerTest extends AbstractControllerTest { "\"hardwareVersion\":\"1.0\",\"firmwareVersion\":\"1.0\",\"bandId\":\"EU_863_870\",\"netId\":\"000013\",\"tenantId\":\"ttn\",\"clusterId\":\"eu1\"," + "\"clusterAddress\":\"eu1.cloud.thethings.network\"}}"; - testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, expectedDecodedMessage); + @Test + public void testThingsStackDefaultConvertersGiveRepositoryDeviceItsModelProfile() throws IOException { + testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, Map.of(), THINGS_STACK_REPOSITORY_DEVICE_RESULT); + } + + @Test + public void testThingsStackDefaultConvertersTakeProfileNameFromIntegrationMetadata() throws IOException { + String expectedDecodedMessage = THINGS_STACK_REPOSITORY_DEVICE_RESULT.replace("\"profile\":\"milesight-iot-am308\"", "\"profile\":\"AM308\""); + Map integrationMetadata = Map.of("profile.milesight-iot-am308", "AM308", "profile.milesight-iot-ws202", "WS202"); + + testThingsStackDefaultConverters(THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD, integrationMetadata, expectedDecodedMessage); } @Test @@ -706,18 +714,18 @@ public class ConverterControllerTest extends AbstractControllerTest { "\"attributes\":{\"eui\":\"70B3D57ED006F370\",\"deviceId\":\"manual-node\",\"applicationId\":\"my-app\",\"fPort\":1,\"bandwidth\":125000," + "\"spreadingFactor\":9,\"frequency\":\"868300000\"}}"; - testThingsStackDefaultConverters(THINGS_STACK_MANUAL_DEVICE_PAYLOAD, expectedDecodedMessage); + testThingsStackDefaultConverters(THINGS_STACK_MANUAL_DEVICE_PAYLOAD, Map.of("profile.milesight-iot-am308", "AM308"), expectedDecodedMessage); } // The TBEL and JS defaults are two copies of one script, so each of them must give this result for TTN and TTI - private void testThingsStackDefaultConverters(String payloadFile, String expectedResult) throws IOException { + private void testThingsStackDefaultConverters(String payloadFile, Map integrationMetadata, String expectedResult) throws IOException { JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); String payload = readResource(payloadFile); for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); for (ScriptLanguage scriptLang : ScriptLanguage.values()) { String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; - assertThat(JacksonUtil.toJsonNode(decode(decoderFileName, payload, converter, scriptLang))) + assertThat(JacksonUtil.toJsonNode(decode(decoderFileName, payload, converter, scriptLang, integrationMetadata))) .as("%s %s", integrationType, scriptLang) .isEqualTo(JacksonUtil.toJsonNode(expectedResult)); } @@ -896,6 +904,12 @@ public class ConverterControllerTest extends AbstractControllerTest { } private String decode(String decoderFileName, String payloadExample, Converter converter, ScriptLanguage scriptLang) throws IOException { + return decode(decoderFileName, payloadExample, converter, scriptLang, Map.of()); + } + + // integrationMetadata: what the integration adds to the metadata of every uplink, from its configuration + private String decode(String decoderFileName, String payloadExample, Converter converter, ScriptLanguage scriptLang, + Map integrationMetadata) throws IOException { byte[] bytes = IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(decoderFileName)); String base64Payload = Base64.getEncoder().encodeToString(payloadExample.getBytes(StandardCharsets.UTF_8)); @@ -917,6 +931,7 @@ public class ConverterControllerTest extends AbstractControllerTest { inputParams.set("payload", unwrapped.get("payload")); } inputParams.set("metadata",unwrapped.get("metadata")); + integrationMetadata.forEach(((ObjectNode) inputParams.get("metadata"))::put); } else { inputParams.set("payload", new TextNode(base64Payload)); } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 6fbf49587c..e0281891aa 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.iot_hub; +import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -34,6 +35,7 @@ import org.thingsboard.server.common.data.id.IntegrationId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.common.data.subscription.SubscriptionErrorCode; import org.thingsboard.server.common.data.subscription.SubscriptionException; import org.thingsboard.rule.engine.api.AttributesSaveRequest; @@ -165,6 +167,7 @@ class DefaultDevicePackageUpdateServiceTest { device.setTenantId(tenantId); device.setName("AM308"); when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + when(installedItemService.findByTenantId(any(), any(), any(), any())).thenReturn(new PageData<>()); } @Test @@ -335,6 +338,40 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(result.getOutputs().get("TTN").get("routingKey").asText()).isEqualTo("routing-key"); } + @Test + void overwrittenSharedConverter_isRecordedAsDefaultAndOtherPackagesTakeItsChecksum() { + ConverterId converterId = new ConverterId(UUID.randomUUID()); + Converter current = new Converter(converterId); + current.setTenantId(tenantId); + current.setName("Uplink data converter for TTN my-app"); + current.setVersion(4L); + when(converterService.findConverterById(tenantId, converterId)).thenReturn(current); + when(converterService.saveConverter(any())).thenAnswer(i -> i.getArgument(0)); + // The package that created the converter records its checksum; one that took it as it was records none + ObjectNode created = JacksonUtil.newObjectNode().put("checksum", "before").put("resolution", "created"); + created.set("entityOutput", JacksonUtil.newObjectNode().put("id", converterId.getId().toString())); + ObjectNode usedExisting = JacksonUtil.newObjectNode().put("resolution", "use-existing"); + usedExisting.set("entityOutput", JacksonUtil.newObjectNode().put("id", converterId.getId().toString())); + IotHubInstalledItem creator = otherPackage(Map.of("Uplink", created)); + IotHubInstalledItem taker = otherPackage(Map.of("Uplink", usedExisting)); + when(installedItemService.findByTenantId(any(), any(), any(), any())) + .thenReturn(new PageData<>(List.of(installedItem, creator, taker), 1, 3, false)); + DeviceUpdateRequest.Step step = overwrite("Uplink", "UPLINK_CONVERTER", converterId, 4L, + JacksonUtil.newObjectNode().put("name", "Uplink").set("configuration", JacksonUtil.newObjectNode().put("tbelDecoder", "return {};"))); + step.setConfirmed(true); + step.setDefaultConverter(true); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + JsonNode state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("Uplink"); + assertThat(state.get("defaultConverter").asBoolean()).isTrue(); + assertThat(created.get("checksum").asText()).isEqualTo(state.get("checksum").asText()); + assertThat(usedExisting.has("checksum")).isFalse(); + verify(installedItemService).save(tenantId, creator); + verify(installedItemService, never()).save(tenantId, taker); + } + @Test void overwritingAnEntityOfAnotherPackage_needsAConfirmation() { DashboardId foreign = new DashboardId(UUID.randomUUID()); @@ -443,6 +480,22 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(EntityChecksum.of(profile)).isEqualTo(profileChecksum); } + @Test + void checksum_ignoresTheMetadataOfAnIntegration() { + Integration integration = new Integration(); + integration.setName("TTN my-app"); + ObjectNode configuration = JacksonUtil.newObjectNode().put("host", "eu1.cloud.thethings.network"); + configuration.set("metadata", JacksonUtil.newObjectNode()); + integration.setConfiguration(configuration); + String installed = EntityChecksum.of(integration); + // Another package on the integration adds its profile name + ((ObjectNode) configuration.get("metadata")).put("profile.milesight-iot-am308", "AM308"); + assertThat(EntityChecksum.of(integration)).isEqualTo(installed); + assertThat(integration.getConfiguration().get("metadata").has("profile.milesight-iot-am308")).isTrue(); + configuration.put("host", "nam1.cloud.thethings.network"); + assertThat(EntityChecksum.of(integration)).isNotEqualTo(installed); + } + @Test void userMessage_showsValidationMessagesAndHidesInternalOnes() { assertThat(DefaultDevicePackageUpdateService.userMessage(new DataValidationException("Rule chains limit reached"))) @@ -464,6 +517,17 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(resolved.get("b").asText()).isEqualTo("x 123 ${gateway.id}"); } + private IotHubInstalledItem otherPackage(Map installState) { + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setInstallState(installState); + IotHubInstalledItem item = new IotHubInstalledItem(); + item.setId(new IotHubInstalledItemId(UUID.randomUUID())); + item.setTenantId(tenantId); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + return item; + } + private DeviceProfile profile(Long version, String name) { DeviceProfile profile = new DeviceProfile(profileId); profile.setTenantId(tenantId); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 7fb651678e..695df118b5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -177,6 +177,9 @@
{{ label }} + @if (plan.newDefaultConverter) { + {{ 'iot-hub.device-update-new-default-converter' | translate }} + } @if (plan.existing) { {{ 'iot-hub.device-install-conflict-exists' | translate:{ type: ('iot-hub.device-install-step-type-' + ep.step.type | translate) } }} @@ -252,6 +255,9 @@
@if (ws.reviewing && plan?.confirmed) { + @if (plan.newDefaultConverter) { + {{ 'iot-hub.device-update-new-default-converter' | translate }} + } @if (plan.existing) { {{ 'iot-hub.device-update-existing-' + plan.resolution | translate }} } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ca88fa519e..e515186140 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -35,6 +35,11 @@ import { IntegrationService } from '@core/http/integration.service'; import { DialogService } from '@core/services/dialog.service'; import { Converter, ConverterType } from '@shared/models/converter.models'; import { AiDashboardGenerationService } from '@home/components/ai/ai-dashboard-generation.service'; +import { ResourcesService } from '@core/services/resources.service'; +import { getCurrentAuthState } from '@core/auth/auth.selectors'; +import { ScriptLanguage } from '@shared/models/rule-node.models'; +import { IntegrationType } from '@shared/models/integration.models'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; import { cleanFormFieldValue, DeviceInstallStep, @@ -98,6 +103,8 @@ interface EntityStepPlan { version?: number; // Modified: the entity as the check found it, which the user can download before it is overwritten current?: any; + // A step with "default": true whose converter differs from ThingsBoard's default converter now + newDefaultConverter?: boolean; } /** @@ -225,6 +232,8 @@ export interface ConnectionCheck { } const ENTITY_STEP_MIN_DELAY = 2000; +// Where the wizard keeps the converter it builds for a step with "default": true, as if the package had that file +const DEFAULT_CONVERTER_PATH = 'tb-default-converter/'; const DEFAULT_RANDOM_SIZE = 20; const TRANSPORT_HOST_FIELD_KEY = 'tbTransportHost'; const TRANSPORT_PORT_FIELD_KEY = 'tbTransportPort'; @@ -359,6 +368,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); private previousPackageInfo: DevicePackageInfo | null = null; private entityPlans = new WeakMap(); + // Update: for each step with "default": true, whether its converter differs from ThingsBoard's default one now + private defaultConverterChanges = new Map(); // Variable resolution state formValues: Record = {}; @@ -397,7 +408,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent this.packageInfo.installSteps[ct]?.length > 0 ); @@ -440,6 +453,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + if (step.type === InstallStepType.INTEGRATION && step.metadata) { + return this.addStepMetadata(step, existing); + } if (step.type !== InstallStepType.DEVICE && step.type !== InstallStepType.GATEWAY) { return existing; } @@ -1814,6 +1833,35 @@ export class TbDeviceInstallDialogComponent extends DialogComponent: does when the + * user kept the default profile name, isn't added. + */ + private withStepMetadata(step: DeviceInstallStep, metadata: Record | null | undefined): Record { + const merged = { ...(metadata ?? {}) }; + for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { + const key = this.resolveVariables(rawKey); + const value = this.resolveVariables(String(rawValue ?? '')); + if (value && !value.includes('${') && value !== key.substring(key.indexOf('.') + 1)) { + merged[key] = value; + } + } + return merged; + } + + /** An integration taken as it is still gets the step's metadata: the package's converter reads it. */ + private async addStepMetadata(step: DeviceInstallStep, existing: EntityStepOutput): Promise { + const integration = await firstValueFrom(this.integrationService.getIntegration(existing.id, {ignoreErrors: true})); + const metadata = this.withStepMetadata(step, integration.configuration?.metadata); + if (isEqual(metadata, integration.configuration?.metadata ?? {})) { + return existing; + } + integration.configuration = { ...integration.configuration, metadata }; + const result = await firstValueFrom(this.integrationService.saveIntegration(integration, {ignoreErrors: true})); + return this.buildIntegrationOutput(result); + } + /** Stores the gateway output early, so the custom docker-compose template, if any, resolves ${gateway.token} etc. */ private setGatewayOutput(step: DeviceInstallStep, output: EntityStepOutput): void { this.entityOutputs.set('gateway', output); @@ -2001,7 +2049,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { for (const ep of ws.entitySteps) { const plan = this.entityPlans.get(ep); const alias = stepTypeAliasMap[ep.step.type]; @@ -2068,16 +2116,21 @@ export class TbDeviceInstallDialogComponent extends DialogComponent this.buildUpdateStep(ws, ep.step, this.entityPlans.get(ep))); + const steps: DeviceUpdateStep[] = []; + for (const ep of ws.entitySteps) { + steps.push(await this.buildUpdateStep(ws, ep.step, this.entityPlans.get(ep))); + } + return steps; } - private buildUpdateStep(ws: WizardStep, step: DeviceInstallStep, plan: EntityStepPlan): DeviceUpdateStep { + private async buildUpdateStep(ws: WizardStep, step: DeviceInstallStep, plan: EntityStepPlan): Promise { const base: DeviceUpdateStep = { name: step.name, id: step.id, type: step.type, action: 'KEEP', - resolution: plan.previous?.resolution ?? plan.resolution ?? 'created' + resolution: plan.previous?.resolution ?? plan.resolution ?? 'created', + defaultConverter: step.default || undefined }; if (step.type === InstallStepType.GATEWAY_CONNECTOR) { return plan.action === 'keep' ? base : { ...base, action: 'OVERWRITE', entity: this.resolveTemplateJson(this.zipFiles.get(step.template)) }; @@ -2090,6 +2143,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const scriptLang = getCurrentAuthState(this.store).tbelEnabled ? ScriptLanguage.TBEL : ScriptLanguage.JS; + for (const [method, steps] of Object.entries(this.packageInfo.installSteps ?? {})) { + for (const step of steps) { + if (step.type !== InstallStepType.UPLINK_CONVERTER || !step.default) { + continue; + } + const integrationType = method.replace(/^INTEGRATION_/, '') as IntegrationType; + const converter = await loadDefaultUplinkConverter(this.resourcesService, integrationType, scriptLang, step.name); + if (!converter) { + throw new Error(`ThingsBoard has no default converter for ${integrationType}`); + } + step.template = `${DEFAULT_CONVERTER_PATH}${integrationType}.json`; + this.zipFiles.set(step.template, JSON.stringify(converter)); + } + } + } + + /** + * Update: ThingsBoard's default converter changes with ThingsBoard, not with the package, so a step with "default": true + * changed when the package's converter differs from the default one now. A converter the user changed differs too: + * the update shows that someone changed it. + */ + private async checkDefaultConverters(): Promise { + this.restoreInstallState(this.data.update.descriptor.installState ?? {}); + try { + for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { + const id = step.default ? this.storedStateOf(step)?.state?.entityOutput?.id : undefined; + const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true})).catch(() => null) : null; + if (converter) { + const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, + converter.configuration.scriptLang, converter.name); + this.defaultConverterChanges.set(step, !!defaultConverter && differsFromDefaultConverter(converter, defaultConverter)); + } + } + } finally { + this.formValues = {}; + this.entityOutputs.clear(); + } + } + /** Update: loads the installed version. Without it, every form and entity of the new version counts as changed. */ private async loadPreviousVersion(): Promise { try { @@ -2343,12 +2447,15 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual( this.resolvePackageFile(this.zipFiles, step[file], this.formValues), this.resolvePackageFile(this.previousFiles, previousStep[file], previousFormValues) @@ -2418,6 +2525,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponentautorenew } + @if (canResetToDefault(field)) { + + } @if (helpTextOf(field) && !(row.hasHintBox && field.helpPopupId)) { {{ helpTextOf(field) }} } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts index a87c734094..5c2b03d162 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/install-form-renderer/install-form-renderer.component.ts @@ -138,6 +138,18 @@ export class InstallFormRendererComponent implements OnChanges { control.markAsDirty(); } + /** A resettable field the user changed shows a button that puts its defaultValue back. */ + canResetToDefault(field: FormFieldDefinition): boolean { + const control = this.formGroup.controls[field.key]; + return !!field.resettable && !!control?.enabled && control.value !== (field.defaultValue ?? ''); + } + + resetToDefault(field: FormFieldDefinition): void { + const control = this.formGroup.controls[field.key]; + control.setValue(field.defaultValue ?? ''); + control.markAsDirty(); + } + onFocus(field: FormFieldDefinition): void { const control = this.formGroup.controls[field.key]; this.focusedControl = control ?? null; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts new file mode 100644 index 0000000000..b90a362da3 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts @@ -0,0 +1,57 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +import { firstValueFrom } from 'rxjs'; +import { ResourcesService } from '@core/services/resources.service'; +import { Converter, ConverterConfigV2, ConverterType, getTargetField, getTargetTemplateUrl } from '@shared/models/converter.models'; +import { IntegrationType } from '@shared/models/integration.models'; +import { ScriptLanguage } from '@shared/models/rule-node.models'; +import { isEqual } from '@core/utils'; + +const DEFAULT_CONVERTERS_V2_CONFIGURATION_URL = '/assets/converters/default-converters-v2-configuration.json'; + +// The settings of a default converter that decide what it does: the script is compared on its own +const V2_CONFIGURATION_KEYS: (keyof ConverterConfigV2)[] = + ['type', 'name', 'profile', 'label', 'customer', 'group', 'attributes', 'telemetry', 'updateOnlyKeys']; + +/** + * The uplink converter ThingsBoard creates for a new integration of this type, as a device package step with + * "default": true installs it. Null when ThingsBoard has no default converter settings for the type. + */ +export const loadDefaultUplinkConverter = async (resourcesService: ResourcesService, integrationType: IntegrationType, + scriptLang: ScriptLanguage, name: string): Promise | null> => { + const configurations = await firstValueFrom( + resourcesService.loadJsonResource>(DEFAULT_CONVERTERS_V2_CONFIGURATION_URL)); + const configuration = configurations?.[integrationType]; + if (!configuration) { + return null; + } + const script = await firstValueFrom(resourcesService.loadJsonResource( + getTargetTemplateUrl(ConverterType.UPLINK, scriptLang, integrationType, 2))); + return { + name, + type: ConverterType.UPLINK, + integrationType, + converterVersion: 2, + edgeTemplate: false, + // As the device packages had it: the debug events help to find out why a LoRaWAN device sends nothing + debugSettings: { failuresEnabled: true, allEnabled: true, allEnabledUntil: 0 }, + configuration: { + ...configuration, + scriptLang, + decoder: null, + tbelDecoder: null, + encoder: null, + tbelEncoder: null, + [getTargetField(ConverterType.UPLINK, scriptLang)]: script + }, + additionalInfo: { description: '' } + }; +}; + +/** True when the converter does something else than the default one: another script or other settings. */ +export const differsFromDefaultConverter = (converter: Converter, defaultConverter: Partial): boolean => { + const field = getTargetField(ConverterType.UPLINK, converter.configuration.scriptLang); + const script = (value: string) => (value ?? '').trimEnd(); + return script(converter.configuration[field]) !== script(defaultConverter.configuration[field]) || + V2_CONFIGURATION_KEYS.some(key => !isEqual(converter.configuration[key] ?? null, defaultConverter.configuration[key] ?? null)); +}; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index 08195cac7a..db7ad21423 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -42,26 +42,26 @@ @if (updatesChecked) { {{ 'iot-hub.updates' | translate }} } @if (updatesChecked) { - @if (getPublishedVersionInfo(item); as pubInfo) { - @if (pubInfo.publishedVersionId !== item.itemVersionId) { -
- @if (!itemVersion) { - - } @else { - - } -
- } @else { - - check - {{ 'iot-hub.up-to-date' | translate }} - - } + @let pubInfo = getPublishedVersionInfo(item); + @if (pubInfo && pubInfo.publishedVersionId !== item.itemVersionId) { +
+ @if (!itemVersion) { + + } @else { + + } +
+ } @else if (hasConverterUpdate(item)) { + + } @else { check diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 27a2215c48..765f563898 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -36,6 +36,10 @@ import { entityTypeTranslations } from '@shared/models/entity-type.models'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; +import { ConverterService } from '@core/http/converter.service'; +import { ResourcesService } from '@core/services/resources.service'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { firstValueFrom } from 'rxjs'; @Component({ selector: 'tb-iot-hub-installed-items-table', @@ -68,6 +72,8 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, isLoading = false; publishedVersionMap = new Map(); + // Installed device packages whose default converter differs from ThingsBoard's default converter now + converterUpdates = new Set(); updatesChecked = false; isCheckingUpdates = false; @@ -83,7 +89,9 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, private iotHubActions: IotHubActionsService, private elementRef: ElementRef, private zone: NgZone, - private cd: ChangeDetectorRef + private cd: ChangeDetectorRef, + private converterService: ConverterService, + private resourcesService: ResourcesService ) { this.widgetResize$ = new ResizeObserver(() => { this.zone.run(() => { @@ -235,6 +243,7 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, infos.forEach(info => this.publishedVersionMap.set(info.itemId, info)); this.updatesChecked = true; this.isCheckingUpdates = false; + void this.checkConverterUpdates(); }, error: () => { this.isCheckingUpdates = false; @@ -250,6 +259,44 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, }); } + hasConverterUpdate(item: IotHubInstalledItem): boolean { + return this.converterUpdates.has(item.id.id); + } + + /** The update to the installed version itself brings the converter to ThingsBoard's default one. */ + updateConverter(item: IotHubInstalledItem): void { + this.iotHubActions.updateItem(item, item.version, item.itemVersionId).subscribe(result => { + if (result === 'updated') { + this.loadData(); + } + }); + } + + /** + * The device packages on this page whose step with "default": true installed a converter that differs from + * ThingsBoard's default converter now. ThingsBoard's default changes with ThingsBoard, so the package has no new version for it. + */ + private async checkConverterUpdates(): Promise { + const updates = new Set(); + for (const item of this.dataSource) { + const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; + for (const state of states) { + const id = state?.defaultConverter ? state.entityOutput?.id : undefined; + const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) + .catch(() => null) : null; + if (converter) { + const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, + converter.configuration.scriptLang, converter.name); + if (defaultConverter && differsFromDefaultConverter(converter, defaultConverter)) { + updates.add(item.id.id); + } + } + } + } + this.converterUpdates = updates; + this.cd.markForCheck(); + } + getPublishedVersionInfo(item: IotHubInstalledItem): ItemPublishedVersionInfo | undefined { return this.publishedVersionMap.get(item.itemId); } @@ -267,6 +314,9 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, this.dataSource = data.data; this.totalElements = data.totalElements; this.isLoading = false; + if (this.updatesChecked && !this.itemVersion) { + void this.checkConverterUpdates(); + } }, error: () => { this.dataSource = []; diff --git a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts index 62e38c0541..088f787440 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/device-package.models.ts @@ -226,6 +226,10 @@ export interface DeviceInstallStep { dockerCompose?: string; // INTEGRATION step references the integration-form.json artifact alongside the template. form?: string; + // UPLINK_CONVERTER: ThingsBoard's default converter for the method's integration instead of a template + default?: boolean; + // INTEGRATION: entries added to the integration's metadata, which keeps the entries it has + metadata?: Record; } export interface DevicePackageInfo { @@ -285,6 +289,8 @@ export interface FormFieldDefinition { // Consecutive fields with the same group are shown in one panel titled with the group group?: string; readOnly?: boolean; + // A STRING field the user changed shows a button that puts defaultValue back + resettable?: boolean; // Shown inside the empty field; the label then always stays above it placeholder?: string; // Fills the field from other fields of the form, e.g. "TTN – ${appId}", until the user edits it. diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index fbdd9867c3..494605caf4 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -62,6 +62,8 @@ export interface DeviceUpdateStep { resolution?: string; // The package step's id, which keys its install state; the name when not set id?: string; + // The step takes ThingsBoard's default converter: its install state says so, for the update check + defaultConverter?: boolean; } export interface DeviceUpdateRequest { diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index 5cb10f8db1..ee4314679b 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == 'JSON') { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == 'JSON') { var profile = 'LoRaWAN Device'; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + '-' + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata['profile.' + profile]; + if (customProfile != null && customProfile != '') { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == 'milesight-iot-am308') { -// profile = 'AM308'; -// } if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index 5cb10f8db1..ee4314679b 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == 'JSON') { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == 'JSON') { var profile = 'LoRaWAN Device'; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + '-' + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata['profile.' + profile]; + if (customProfile != null && customProfile != '') { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == 'milesight-iot-am308') { -// profile = 'AM308'; -// } if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 09c75b5aed..1cfef4546d 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == "JSON") { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == "JSON") { var profile = "LoRaWAN Device"; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + "-" + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata["profile." + profile]; + if (customProfile != null && customProfile != "") { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == "milesight-iot-am308") { -// profile = "AM308"; -// } if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 09c75b5aed..1cfef4546d 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -1,6 +1,7 @@ // The Things Stack adds decoded_payload for a device registered from the LoRaWAN Device Repository, and the payload // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. -// Such a device gets the profile -, so all devices of one model share it. Any other device gets LoRaWAN Device. +// Such a device gets the profile -, so all devices of one model share it, +// or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. var values = {}; var history = []; if (metadata.payloadFormat == "JSON") { @@ -19,11 +20,12 @@ if (metadata.payloadFormat == "JSON") { var profile = "LoRaWAN Device"; if (metadata.brandId != null && metadata.modelId != null) { profile = metadata.brandId + "-" + metadata.modelId; + // The profile name chosen at install, kept in the integration metadata + var customProfile = metadata["profile." + profile]; + if (customProfile != null && customProfile != "") { + profile = customProfile; + } } -// To give a model its own profile name, map it here, for example: -// if (profile == "milesight-iot-am308") { -// profile = "AM308"; -// } if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index eb84ed9a84..68a0906635 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6452,6 +6452,7 @@ "check-for-updates": "Check for updates", "updates": "Updates", "up-to-date": "Up to date", + "new-converter-available": "New converter available", "update": "Update", "update-to-version": "Update to v {{ version }}", "update-item-title": "Update Item", @@ -6538,6 +6539,7 @@ "device-update-no-conflicts": "No conflicts", "device-update-new": "New", "device-update-shared": "Used by other packages. The update affects them.", + "device-update-new-default-converter": "ThingsBoard has a new version of the default converter used by this package.", "device-update-modified": "Has local changes. You can download the current version here.", "device-install-unexpected-error": "Something went wrong. Try again.", "device-update-existing-use-existing": "Already exists. The existing one will be used.", From 4bfa5d91153ae83dd9c7f4faede9f4a7593cdf0f Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 10:20:54 +0200 Subject: [PATCH 093/275] fix(iot-hub): keep the package's own entity on use-existing, find a step that gained an id by its name --- .../device-install-dialog.component.ts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ca88fa519e..327590d41c 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -2086,7 +2086,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } + /** Update: true when the entity is one the installed package created. */ + private isPackageEntity(id: string): boolean { + return !!this.data.update?.descriptor.createdEntityIds?.some(created => created.id === id); + } + /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ private stateKeysOf(step: DeviceInstallStep): string[] { return step.id ? [step.id] : [step.name, this.resolveVariables(step.name)]; } - /** Update: the install state of a step of the new version, under the key of the installed step it replaces. */ + /** + * Update: the install state of a step of the new version, under the key of the installed step it replaces. + * Without the installed version's steps (e.g. it can't be downloaded any more), a step that has gained an id + * is also looked up under its own name, which the installed version keyed it by. + */ private storedStateOf(step: DeviceInstallStep): { key: string; state: any } | undefined { const installState = this.data.update?.descriptor.installState ?? {}; const previousStep = this.findPreviousStep(step); const keys = [...(previousStep ? this.stateKeysOf(previousStep) : []), ...this.stateKeysOf(step)]; + if (!previousStep && step.id) { + keys.push(step.name, this.resolveVariables(step.name)); + } const key = keys.find(k => k && installState[k]); return key ? { key, state: installState[key] } : undefined; } From f536a08e21117c49ba42e7dac70dfc80c5675bd7 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 10:45:51 +0200 Subject: [PATCH 094/275] fix(iot-hub): the server keeps the package's own entities, the name fallback only without the installed version --- .../iot_hub/DefaultDevicePackageUpdateService.java | 10 +++++++--- .../DefaultDevicePackageUpdateServiceTest.java | 14 ++++++++++++++ .../device-install-dialog.component.ts | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 6b8445d16e..380f372ea7 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -271,6 +271,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i private Applied applySteps(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request, JsonNode versionInfo) { IotHubInstalledItem installedItem = lockInstalledItem(tenantId, devicePackage, request); DeviceInstalledItemDescriptor previous = devicePackage.descriptor(); + Set ownedIds = createdIds(previous).keySet(); Map aliasOutputs = new HashMap<>(); Map outputs = new LinkedHashMap<>(); Map installState = new LinkedHashMap<>(); @@ -303,7 +304,10 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i outputs.put(step.getName(), output); ObjectNode state = JacksonUtil.newObjectNode(); state.set("entityOutput", output); - state.put("resolution", step.getResolution() != null ? step.getResolution() : "created"); + // The package's own entity stays the package's, whatever the request says, so later versions update it + boolean owned = step.getEntityId() != null && ownedIds.contains(step.getEntityId()); + String resolution = step.getResolution() == null || (owned && "use-existing".equals(step.getResolution())) ? "created" : step.getResolution(); + state.put("resolution", resolution); // A kept entity keeps the checksum of what the package left: the current one would take the // user's changes for the package's, and the next update would overwrite them without a warning String checksum = step.getAction() == DeviceUpdateRequest.Action.KEEP ? previousChecksum(previous, step.getEntityId()) : result.checksum(); @@ -311,7 +315,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i state.put("checksum", checksum); } installState.put(step.getId() != null ? step.getId() : step.getName(), state); - if (!"use-existing".equals(step.getResolution())) { + if (!"use-existing".equals(resolution)) { stepEntityIds.add(result.entityId()); } if (result.entityId() instanceof DashboardId id) { @@ -320,7 +324,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (result.saved() != null) { saved.add(result.saved()); } - if (step.getAction() != DeviceUpdateRequest.Action.KEEP && !"use-existing".equals(step.getResolution())) { + if (step.getAction() != DeviceUpdateRequest.Action.KEEP && !"use-existing".equals(resolution)) { // As at install, the step's attributes go with the entity it saved; written after commit attributes.add(new StepAttributes(step.getName(), result.entityId(), step.getServerAttributes(), step.getSharedAttributes())); } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 6fbf49587c..0d6bed9f0f 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -256,6 +256,20 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(descriptor.getInstallState().get("Dashboard").has("checksum")).isFalse(); } + @Test + void useExistingOfAPackageEntity_staysThePackages() { + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest.Step step = keep("Overview", "DASHBOARD", dashboardId); + step.setResolution("use-existing"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Overview").get("resolution").asText()).isEqualTo("created"); + assertThat(descriptor.getCreatedEntityIds()).contains(dashboardId); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 327590d41c..fc1718b108 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -2344,7 +2344,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent k && installState[k]); From 464147b6f7eda98484ac6721784ba689a695dd29 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:04:41 +0200 Subject: [PATCH 095/275] fix(iot-hub): a package owns the entities its install state records, except use-existing ones --- .../DefaultDevicePackageUpdateService.java | 24 +++++++++++- ...DefaultDevicePackageUpdateServiceTest.java | 37 ++++++++++++++++++- .../device-install-dialog.component.ts | 8 +++- 3 files changed, 64 insertions(+), 5 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index db5dc64379..5ab98c932e 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -204,7 +204,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (request.getSteps() == null || request.getSteps().isEmpty()) { throw new IllegalArgumentException("The update has no steps"); } - Set ownedIds = createdIds(devicePackage.descriptor()).keySet(); + Set ownedIds = ownedIds(devicePackage.descriptor()); Set stateKeys = new HashSet<>(); for (DeviceUpdateRequest.Step step : request.getSteps()) { if (step.getName() == null || step.getAction() == null || !isKnownType(step.getType())) { @@ -273,7 +273,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i private Applied applySteps(TenantId tenantId, DevicePackage devicePackage, DeviceUpdateRequest request, JsonNode versionInfo) { IotHubInstalledItem installedItem = lockInstalledItem(tenantId, devicePackage, request); DeviceInstalledItemDescriptor previous = devicePackage.descriptor(); - Set ownedIds = createdIds(previous).keySet(); + Set ownedIds = ownedIds(previous); Map aliasOutputs = new HashMap<>(); Map outputs = new LinkedHashMap<>(); Map installState = new LinkedHashMap<>(); @@ -840,6 +840,26 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return type != null && (STEP_ALIASES.containsKey(type) || "GATEWAY_CONNECTOR".equals(type)); } + /** + * The entities the package owns: those its install state records, except the ones the user chose to use as they + * were. Not createdEntityIds: the install adds the use-existing ones to it too. + */ + private static Set ownedIds(DeviceInstalledItemDescriptor descriptor) { + Set ids = new HashSet<>(); + if (descriptor.getInstallState() != null) { + descriptor.getInstallState().values().forEach(state -> { + JsonNode id = state.path("entityOutput").path("id"); + if (id.isTextual() && !"use-existing".equals(state.path("resolution").asText())) { + try { + ids.add(UUID.fromString(id.asText())); + } catch (IllegalArgumentException ignored) { + } + } + }); + } + return ids; + } + private static Map createdIds(DeviceInstalledItemDescriptor descriptor) { Map ids = new HashMap<>(); if (descriptor.getCreatedEntityIds() != null) { diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 7b02a966fa..06d0109b82 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -135,7 +135,9 @@ class DefaultDevicePackageUpdateServiceTest { descriptor.setSelectedInstallMethod("INTEGRATION_TTN"); descriptor.setCreatedEntityIds(List.of(profileId, deviceId, dashboardId, integrationId)); descriptor.setDashboardId(dashboardId); - descriptor.setInstallState(Map.of()); + // The package created these entities + descriptor.setInstallState(Map.of("Profile", stateOf(profileId, "created"), "AM308", stateOf(deviceId, "created"), + "Dashboard", stateOf(dashboardId, "created"), "Integration", stateOf(integrationId, "created"))); installedItem = new IotHubInstalledItem(); installedItem.setId(new IotHubInstalledItemId(UUID.randomUUID())); installedItem.setTenantId(tenantId); @@ -273,6 +275,32 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(descriptor.getCreatedEntityIds()).contains(dashboardId); } + @Test + void useExistingAtInstall_staysUseExisting() { + // At install the user picked their own dashboard: the install adds it to createdEntityIds too + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", stateOf(dashboardId, "use-existing"))); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest.Step step = keep("Dashboard", "DASHBOARD", dashboardId); + step.setResolution("use-existing"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Dashboard").get("resolution").asText()).isEqualTo("use-existing"); + } + + @Test + void overwritingAnEntityUsedAtInstall_needsAConfirmation() { + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", stateOf(dashboardId, "use-existing"))); + DeviceUpdateRequest.Step step = overwrite("Dashboard", "DASHBOARD", dashboardId, 9L, JacksonUtil.newObjectNode().put("title", "Dashboard")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isFalse(); + verify(installedItemService, never()).save(any(), any()); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); @@ -593,4 +621,11 @@ class DefaultDevicePackageUpdateServiceTest { return step; } + + private static ObjectNode stateOf(EntityId id, String resolution) { + ObjectNode state = JacksonUtil.newObjectNode().put("resolution", resolution); + state.set("entityOutput", JacksonUtil.newObjectNode().put("id", id.getId().toString())); + return state; + } + } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 77fef10a5e..5085d7fc96 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -2429,9 +2429,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } - /** Update: true when the entity is one the installed package created. */ + /** + * Update: true when the entity is one the installed package owns: its install state records it, and not as one + * the user chose to use as it was. Not createdEntityIds: the install adds the use-existing ones to it too. + */ private isPackageEntity(id: string): boolean { - return !!this.data.update?.descriptor.createdEntityIds?.some(created => created.id === id); + return Object.values(this.data.update?.descriptor.installState ?? {}) + .some(state => state?.entityOutput?.id === id && state.resolution !== 'use-existing'); } /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ From 50eff0dd15667da9e07eafa2086d7bce9052e6d9 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:37:10 +0200 Subject: [PATCH 096/275] fix(iot-hub): keep the used-existing ids, check shared entities against every package's checksums, fix the default converter review --- .../DefaultDevicePackageUpdateService.java | 82 +++++++++--------- ...DefaultDevicePackageUpdateServiceTest.java | 71 +++++++++++++++- .../DeviceInstalledItemDescriptor.java | 2 + .../src/app/core/http/iot-hub-api.service.ts | 2 +- .../device-install-dialog.component.ts | 84 ++++++++++++++++--- .../iot-hub/iot-hub-default-converter.ts | 9 ++ ...iot-hub-installed-items-table.component.ts | 8 +- .../iot-hub/iot-hub-installed-item.models.ts | 2 + 8 files changed, 203 insertions(+), 57 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 5ab98c932e..c8dd0e69f8 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -137,6 +137,7 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i Set sharedIds = new HashSet<>(); iotHubService.findKeptEntities(tenantId, installedItemId).getEntities().forEach(e -> sharedIds.add(e.getEntityId().getId())); Map createdIds = createdIds(descriptor); + Map> recordedChecksums = recordedChecksums(tenantId); List states = new ArrayList<>(); if (descriptor.getInstallState() == null) { @@ -149,8 +150,11 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } DevicePackageEntities.Snapshot snapshot = packageEntities.load(tenantId, entityId); JsonNode storedChecksum = state.get("checksum"); + // Changed by someone else only when no installed package recorded the current checksum: an update of another + // package that shares the entity, e.g. a converter, records it only in its own row Boolean modified = snapshot == null || storedChecksum == null || !storedChecksum.isTextual() ? null : - !storedChecksum.asText().equals(snapshot.checksum()); + !storedChecksum.asText().equals(snapshot.checksum()) + && !recordedChecksums.getOrDefault(entityId.getId(), Set.of()).contains(snapshot.checksum()); states.add(new DevicePackageEntityState(stepName, entityId, snapshot != null, snapshot != null ? snapshot.version() : null, modified, sharedIds.contains(entityId.getId()))); }); @@ -285,11 +289,11 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i }); } List stepEntityIds = new ArrayList<>(); + Map usedExistingIds = usedExistingIds(previous); List saved = new ArrayList<>(); List connectorSteps = new ArrayList<>(); List attributes = new ArrayList<>(); // The checksums of the entities this update overwrote, which other packages may record too - Map overwrittenChecksums = new HashMap<>(); DashboardId dashboardId = null; for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -321,12 +325,11 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (step.isDefaultConverter()) { state.put("defaultConverter", true); } - if (step.getAction() == DeviceUpdateRequest.Action.OVERWRITE && result.checksum() != null) { - overwrittenChecksums.put(result.entityId().getId(), result.checksum()); - } installState.put(step.getId() != null ? step.getId() : step.getName(), state); if (!"use-existing".equals(resolution)) { stepEntityIds.add(result.entityId()); + } else { + usedExistingIds.putIfAbsent(result.entityId().getId(), result.entityId()); } if (result.entityId() instanceof DashboardId id) { dashboardId = id; @@ -349,6 +352,9 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i // The new version may not offer the method the package was installed with descriptor.setSelectedInstallMethod(request.getSelectedInstallMethod() != null ? request.getSelectedInstallMethod() : previous.getSelectedInstallMethod()); descriptor.setCreatedEntityIds(createdEntityIds(tenantId, previous, stepEntityIds)); + // Carried over like createdEntityIds, so an entity the user chose to use stays theirs after a version drops its step + Set tracked = createdIds(descriptor).keySet(); + descriptor.setUsedExistingEntityIds(usedExistingIds.values().stream().filter(id -> tracked.contains(id.getId())).toList()); descriptor.setDashboardId(dashboardId != null ? dashboardId : existingDashboard(tenantId, previous)); Map state = new LinkedHashMap<>(installState); descriptor.setInstallState(state); @@ -358,45 +364,33 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i installedItem.setVersion(versionInfo.get("version").asText()); installedItem.setDescriptor(descriptor); installedItemService.save(tenantId, installedItem); - refreshChecksumsOfOtherPackages(tenantId, installedItem.getId(), overwrittenChecksums); // Resolved once every entity is saved: attributes may refer to a later step's entity List resolvedAttributes = attributes.stream().map(a -> new StepAttributes(a.stepName(), a.entityId(), resolvePlaceholders(a.server(), aliasOutputs), resolvePlaceholders(a.shared(), aliasOutputs))).toList(); return new Applied(descriptor, outputs, saved, connectorSteps, resolvedAttributes, aliasOutputs); } - /** - * Another package that recorded the checksum of an entity this update overwrote, e.g. a shared converter, records the - * new one: the update was confirmed for all packages using the entity, so their next update sees no change by someone else. - */ - private void refreshChecksumsOfOtherPackages(TenantId tenantId, IotHubInstalledItemId installedItemId, Map checksums) { - if (checksums.isEmpty()) { - return; - } + /** The checksums the installed device packages recorded, by entity. */ + private Map> recordedChecksums(TenantId tenantId) { + Map> checksums = new HashMap<>(); PageLink pageLink = new PageLink(100); PageData page; do { page = installedItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); for (IotHubInstalledItem item : page.getData()) { - if (!item.getId().equals(installedItemId) && item.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor - && descriptor.getInstallState() != null && refreshChecksums(descriptor.getInstallState(), checksums)) { - installedItemService.save(tenantId, item); + if (item.getDescriptor() instanceof DeviceInstalledItemDescriptor descriptor && descriptor.getInstallState() != null) { + descriptor.getInstallState().values().forEach(state -> { + UUID id = toUuid(state.path("entityOutput").path("id").asText()); + JsonNode checksum = state.get("checksum"); + if (id != null && checksum != null && checksum.isTextual()) { + checksums.computeIfAbsent(id, k -> new HashSet<>()).add(checksum.asText()); + } + }); } } pageLink = pageLink.nextPageLink(); } while (page.hasNext()); - } - - private static boolean refreshChecksums(Map installState, Map checksums) { - boolean changed = false; - for (JsonNode state : installState.values()) { - String checksum = checksums.get(toUuid(state.path("entityOutput").path("id").asText())); - if (checksum != null && state.has("checksum") && state instanceof ObjectNode objectState) { - objectState.put("checksum", checksum); - changed = true; - } - } - return changed; + return checksums; } private static UUID toUuid(String id) { @@ -841,19 +835,31 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } /** - * The entities the package owns: those its install state records, except the ones the user chose to use as they - * were. Not createdEntityIds: the install adds the use-existing ones to it too. + * The entities the package owns: those it created, not the ones the user chose to use as they were. The install adds + * those to createdEntityIds too, so they are subtracted; an entity of a step a later version dropped stays owned. */ private static Set ownedIds(DeviceInstalledItemDescriptor descriptor) { - Set ids = new HashSet<>(); + Set ids = new HashSet<>(createdIds(descriptor).keySet()); + ids.removeAll(usedExistingIds(descriptor).keySet()); + return ids; + } + + /** + * The entities the user chose to use as they were. An install made before the descriptor kept them has them only in + * its install state, which the first update carries over into the descriptor. + */ + private static Map usedExistingIds(DeviceInstalledItemDescriptor descriptor) { + Map ids = new LinkedHashMap<>(); + if (descriptor.getUsedExistingEntityIds() != null) { + descriptor.getUsedExistingEntityIds().forEach(id -> ids.put(id.getId(), id)); + return ids; + } + Map createdIds = createdIds(descriptor); if (descriptor.getInstallState() != null) { descriptor.getInstallState().values().forEach(state -> { - JsonNode id = state.path("entityOutput").path("id"); - if (id.isTextual() && !"use-existing".equals(state.path("resolution").asText())) { - try { - ids.add(UUID.fromString(id.asText())); - } catch (IllegalArgumentException ignored) { - } + UUID id = toUuid(state.path("entityOutput").path("id").asText()); + if (id != null && "use-existing".equals(state.path("resolution").asText()) && createdIds.containsKey(id)) { + ids.put(id, createdIds.get(id)); } }); } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 06d0109b82..2f7e4f57b0 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -117,6 +117,8 @@ class DefaultDevicePackageUpdateServiceTest { private SubscriptionService subscriptionService; @Mock private TelemetrySubscriptionService telemetryService; + @Mock + private IotHubService iotHubService; @InjectMocks private DefaultDevicePackageUpdateService service; @@ -301,6 +303,67 @@ class DefaultDevicePackageUpdateServiceTest { verify(installedItemService, never()).save(any(), any()); } + @Test + void sharedEntityOverwrittenByAnotherPackage_isNotChangedBySomeoneElse() { + Dashboard shared = dashboard(9L); + DevicePackageEntities.Snapshot snapshot = new DevicePackageEntities.Snapshot(shared, null); + when(packageEntities.load(tenantId, dashboardId)).thenReturn(snapshot); + when(iotHubService.findKeptEntities(tenantId, installedItem.getId())).thenReturn(new InstalledItemKeptEntities(List.of(), 0)); + // This package recorded the dashboard as it left it; the other one overwrote it since and recorded the new one + ObjectNode own = stateOf(dashboardId, "created").put("checksum", "as-this-package-left-it"); + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", own)); + IotHubInstalledItem other = otherPackage(Map.of("Dashboard", stateOf(dashboardId, "created").put("checksum", snapshot.checksum()))); + when(installedItemService.findByTenantId(any(), any(), any(), any())) + .thenReturn(new PageData<>(List.of(installedItem, other), 1, 2, false)); + + assertThat(service.check(user, installedItem.getId()).get(0).getModified()).isFalse(); + + shared.setConfiguration(JacksonUtil.newObjectNode().put("description", "Changed by hand")); + assertThat(service.check(user, installedItem.getId()).get(0).getModified()).isTrue(); + } + + @Test + void entityOfAStepAVersionDropped_staysThePackages() { + // v2 dropped the dashboard step: the install state no longer has it, createdEntityIds does + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of()); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + DeviceUpdateRequest.Step step = keep("Dashboard", "DASHBOARD", dashboardId); + step.setResolution("use-existing"); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + assertThat(descriptor.getInstallState().get("Dashboard").get("resolution").asText()).isEqualTo("created"); + } + + @Test + void entityUsedAtInstall_staysTheUsersAfterAVersionDropsItsStep() { + // Recorded at install; the step is gone from the install state since + DeviceInstalledItemDescriptor installed = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + installed.setUsedExistingEntityIds(List.of(dashboardId)); + installed.setInstallState(Map.of()); + DeviceUpdateRequest.Step step = overwrite("Dashboard", "DASHBOARD", dashboardId, 9L, JacksonUtil.newObjectNode().put("title", "Dashboard")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isFalse(); + verify(installedItemService, never()).save(any(), any()); + } + + @Test + void entitiesUsedAtInstall_areCarriedIntoTheDescriptor() { + // Installed before the descriptor kept them: the install state has them + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", stateOf(dashboardId, "use-existing"))); + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + when(entityService.fetchEntity(any(), any())).thenReturn(Optional.of(dashboard(9L))); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("AM308", "DEVICE", deviceId))); + + assertThat(result.isSuccess()).isTrue(); + assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getUsedExistingEntityIds()).containsExactly(dashboardId); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); @@ -381,7 +444,7 @@ class DefaultDevicePackageUpdateServiceTest { } @Test - void overwrittenSharedConverter_isRecordedAsDefaultAndOtherPackagesTakeItsChecksum() { + void overwrittenSharedConverter_isRecordedAsDefaultAndOnlyThePackagesOwnRowIsWritten() { ConverterId converterId = new ConverterId(UUID.randomUUID()); Converter current = new Converter(converterId); current.setTenantId(tenantId); @@ -408,9 +471,9 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(result.isSuccess()).isTrue(); JsonNode state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("Uplink"); assertThat(state.get("defaultConverter").asBoolean()).isTrue(); - assertThat(created.get("checksum").asText()).isEqualTo(state.get("checksum").asText()); - assertThat(usedExisting.has("checksum")).isFalse(); - verify(installedItemService).save(tenantId, creator); + // The other packages keep what they recorded: check() takes the checksum of any installed package + assertThat(created.get("checksum").asText()).isEqualTo("before"); + verify(installedItemService, never()).save(tenantId, creator); verify(installedItemService, never()).save(tenantId, taker); } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java b/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java index c7f5583291..25734fae2d 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/iot_hub/DeviceInstalledItemDescriptor.java @@ -14,6 +14,8 @@ import java.util.Map; public class DeviceInstalledItemDescriptor implements IotHubInstalledItemDescriptor { private List createdEntityIds; + // Of createdEntityIds, the entities the user chose to use as they were: the package doesn't own them + private List usedExistingEntityIds; private DashboardId dashboardId; private String selectedInstallMethod; private Map installState; diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 1bf462ce35..fa040e8632 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -179,7 +179,7 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, - descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, + descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; usedExistingEntityIds?: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, config?: IotHubRequestConfig ): Observable { return this.http.post( diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 5085d7fc96..195e5e0e3b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,7 +18,8 @@ import { DeviceInstalledItemDescriptor, DevicePackageEntityState, DeviceUpdateResult, - DeviceUpdateStep + DeviceUpdateStep, + IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; @@ -39,7 +40,8 @@ import { ResourcesService } from '@core/services/resources.service'; import { getCurrentAuthState } from '@core/auth/auth.selectors'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { IntegrationType } from '@shared/models/integration.models'; -import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { PageData } from '@shared/models/page/page-data'; import { cleanFormFieldValue, DeviceInstallStep, @@ -1462,7 +1464,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent: does when the - * user kept the default profile name, isn't added. + * user kept the default profile name, isn't added, and an earlier value of it is removed: the name is the default again. */ private withStepMetadata(step: DeviceInstallStep, metadata: Record | null | undefined): Record { const merged = { ...(metadata ?? {}) }; for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { const key = this.resolveVariables(rawKey); const value = this.resolveVariables(String(rawValue ?? '')); - if (value && !value.includes('${') && value !== key.substring(key.indexOf('.') + 1)) { + if (!value || value.includes('${')) { + continue; + } + if (value === key.substring(key.indexOf('.') + 1)) { + delete merged[key]; + } else { merged[key] = value; } } @@ -2282,7 +2290,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent null) : null; if (converter) { const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, @@ -2348,7 +2361,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -2429,13 +2442,30 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } + /** True when a device package installed the converter itself, as its default converter. */ + private async isInstalledDefaultConverter(id: string): Promise { + let pageLink = new PageLink(100); + let page: PageData; + do { + page = await firstValueFrom(this.iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); + if (page.data.some(item => isOwnDefaultConverter(item, id))) { + return true; + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext); + return false; + } + /** - * Update: true when the entity is one the installed package owns: its install state records it, and not as one - * the user chose to use as it was. Not createdEntityIds: the install adds the use-existing ones to it too. + * Update: true when the entity is one the installed package owns: it created it, not the user chose to use it as it was. + * The same rule as the server's: createdEntityIds without usedExistingEntityIds, which an install made before the + * descriptor kept them has only in its install state. */ private isPackageEntity(id: string): boolean { - return Object.values(this.data.update?.descriptor.installState ?? {}) - .some(state => state?.entityOutput?.id === id && state.resolution !== 'use-existing'); + const descriptor = this.data.update?.descriptor; + const usedExisting = descriptor?.usedExistingEntityIds?.some(used => used.id === id) ?? + Object.values(descriptor?.installState ?? {}).some(state => state?.entityOutput?.id === id && state.resolution === 'use-existing'); + return !!descriptor?.createdEntityIds?.some(created => created.id === id) && !usedExisting; } /** The keys the install state may keep a step under: its id, or else its name, as written or resolved. */ @@ -2478,7 +2508,23 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual( this.resolvePackageFile(this.zipFiles, step[file], this.formValues), this.resolvePackageFile(this.previousFiles, previousStep[file], previousFormValues) - )); + )) || !isEqual( + // An INTEGRATION step's metadata entries, which the package's converter reads, are written when it is overwritten + this.resolveStepMetadata(step.metadata, this.formValues), + this.resolveStepMetadata(previousStep.metadata, previousFormValues) + ); + } + + /** The metadata entries of a step, resolved with the given form values. */ + private resolveStepMetadata(metadata: Record | undefined, formValues: Record): Record { + const committedValues = this.formValues; + this.formValues = formValues; + try { + return Object.fromEntries(Object.entries(metadata ?? {}) + .map(([key, value]) => [this.resolveVariables(key), this.resolveVariables(String(value ?? ''))])); + } finally { + this.formValues = committedValues; + } } /** Update: the form values the installed version was installed with. */ @@ -2708,6 +2754,20 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual(converter.configuration[key] ?? null, defaultConverter.configuration[key] ?? null)); }; + +/** + * True when the device package installed the converter itself as its default converter, not one it took as it was: + * only such a converter is ThingsBoard's default one, which a new ThingsBoard version may change. + */ +export const isOwnDefaultConverter = (item: IotHubInstalledItem, converterId: string): boolean => + item.itemType === 'DEVICE' && Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) + .some(state => state?.defaultConverter && state.entityOutput?.id === converterId && state.resolution !== 'use-existing'); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 765f563898..d4cf0d4df0 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -38,7 +38,7 @@ import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/ import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; import { ConverterService } from '@core/http/converter.service'; import { ResourcesService } from '@core/services/resources.service'; -import { differsFromDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; import { firstValueFrom } from 'rxjs'; @Component({ @@ -281,7 +281,11 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, for (const item of this.dataSource) { const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; for (const state of states) { - const id = state?.defaultConverter ? state.entityOutput?.id : undefined; + let id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; + // A converter taken as it was counts only when a package installed it as its default converter + if (id && state.resolution === 'use-existing' && !this.dataSource.some(other => isOwnDefaultConverter(other, id))) { + id = undefined; + } const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) .catch(() => null) : null; if (converter) { diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 494605caf4..eb4776d107 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -30,6 +30,8 @@ export interface RuleChainInstalledItemDescriptor { export interface DeviceInstalledItemDescriptor { type: 'DEVICE'; createdEntityIds?: { entityType: string; id: string }[]; + // Of createdEntityIds, the entities the user chose to use as they were: the package doesn't own them + usedExistingEntityIds?: { entityType: string; id: string }[]; dashboardId?: { id: string }; selectedInstallMethod?: string; installState?: Record; From 31dda2cf4153452fc722290c5a595b13fd447240 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:51:31 +0200 Subject: [PATCH 097/275] fix(iot-hub): a kept integration gets the step's metadata entries, one lookup of the packages' own default converters --- .../DefaultDevicePackageUpdateService.java | 27 ++++++ .../service/iot_hub/DeviceUpdateRequest.java | 3 + ...DefaultDevicePackageUpdateServiceTest.java | 51 +++++++++++ .../device-install-dialog.component.ts | 89 ++++++++++--------- .../iot-hub/iot-hub-default-converter.ts | 28 ++++-- ...iot-hub-installed-items-table.component.ts | 11 ++- .../iot-hub/iot-hub-installed-item.models.ts | 2 + 7 files changed, 159 insertions(+), 52 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index c8dd0e69f8..399e46f6ac 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -587,6 +587,10 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i Integration current = id != null ? integrationService.findIntegrationById(tenantId, id) : null; if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { existing(tenantId, current, step); + if (mergeMetadata(current, step.getMetadata())) { + Integration result = integrationService.saveIntegration(current); + return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); + } return new StepResult(id, integrationOutput(current), null, null); } Integration integration = JacksonUtil.treeToValue(entity, Integration.class); @@ -607,6 +611,29 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } + /** Merges the step's metadata entries into the integration's; true when that changed it. */ + private static boolean mergeMetadata(Integration integration, JsonNode entries) { + if (entries == null || !entries.isObject() || entries.isEmpty()) { + return false; + } + ObjectNode configuration = integration.getConfiguration() != null && integration.getConfiguration().isObject() ? + (ObjectNode) integration.getConfiguration() : JacksonUtil.newObjectNode(); + ObjectNode metadata = configuration.get("metadata") instanceof ObjectNode current ? current.deepCopy() : JacksonUtil.newObjectNode(); + entries.fields().forEachRemaining(entry -> { + if (entry.getValue() == null || entry.getValue().isNull()) { + metadata.remove(entry.getKey()); + } else { + metadata.put(entry.getKey(), entry.getValue().asText()); + } + }); + if (metadata.equals(configuration.get("metadata")) || (metadata.isEmpty() && configuration.get("metadata") == null)) { + return false; + } + configuration.set("metadata", metadata); + integration.setConfiguration(configuration); + return true; + } + /** * The overwritten entity keeps its id and its current name (the user may have renamed it). The version the * user reviewed makes the save fail if someone changed the entity since. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java index c3f2f90f89..b8f31cef32 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DeviceUpdateRequest.java @@ -61,6 +61,9 @@ public class DeviceUpdateRequest { private JsonNode sharedAttributes; // The resolution the install state records for it private String resolution; + // INTEGRATION: the step's metadata entries, which the package's converter reads. A KEEP merges them into the + // integration, e.g. one the package took as it was; null removes an entry + private JsonNode metadata; // UPLINK_CONVERTER: the step takes ThingsBoard's default converter, which the install state records for the update check private boolean defaultConverter; } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 2f7e4f57b0..76bad73451 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -364,6 +364,57 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getUsedExistingEntityIds()).containsExactly(dashboardId); } + @Test + void keptIntegration_getsTheStepsMetadataEntries() { + // Taken as it was at install: other packages' entries stay, the step's are merged, a null one is removed + ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("TTN", stateOf(integrationId, "use-existing"))); + Integration current = new Integration(); + current.setId(integrationId); + current.setTenantId(tenantId); + current.setName("TTN my-app"); + ObjectNode configuration = JacksonUtil.newObjectNode(); + configuration.set("metadata", JacksonUtil.newObjectNode().put("profile.other-model", "Other").put("profile.milesight-iot-am308", "AM308")); + current.setConfiguration(configuration); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + when(integrationService.saveIntegration(any())).thenAnswer(i -> i.getArgument(0)); + DeviceUpdateRequest.Step step = keep("TTN", "INTEGRATION", integrationId); + step.setResolution("use-existing"); + ObjectNode entries = JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge"); + entries.putNull("profile.milesight-iot-am308"); + step.setMetadata(entries); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + ArgumentCaptor saved = ArgumentCaptor.forClass(Integration.class); + verify(integrationService).saveIntegration(saved.capture()); + JsonNode metadata = saved.getValue().getConfiguration().get("metadata"); + assertThat(metadata.get("profile.other-model").asText()).isEqualTo("Other"); + assertThat(metadata.get("profile.lansitec-badge").asText()).isEqualTo("Badge"); + assertThat(metadata.has("profile.milesight-iot-am308")).isFalse(); + assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN").get("resolution").asText()) + .isEqualTo("use-existing"); + } + + @Test + void keptIntegrationWithTheEntriesItHas_isNotSaved() { + Integration current = new Integration(); + current.setId(integrationId); + current.setTenantId(tenantId); + current.setName("TTN my-app"); + ObjectNode configuration = JacksonUtil.newObjectNode(); + configuration.set("metadata", JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge")); + current.setConfiguration(configuration); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + DeviceUpdateRequest.Step step = keep("TTN", "INTEGRATION", integrationId); + step.setMetadata(JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge")); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(step)); + + assertThat(result.isSuccess()).isTrue(); + verify(integrationService, never()).saveIntegration(any()); + } + @Test void twoStepsWithOneKey_areRejected() { DeviceUpdateRequest.Step first = keep("Overview", "DASHBOARD", dashboardId); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 195e5e0e3b..f049ee97b8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,8 +18,7 @@ import { DeviceInstalledItemDescriptor, DevicePackageEntityState, DeviceUpdateResult, - DeviceUpdateStep, - IotHubInstalledItem + DeviceUpdateStep } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; @@ -40,8 +39,7 @@ import { ResourcesService } from '@core/services/resources.service'; import { getCurrentAuthState } from '@core/auth/auth.selectors'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { IntegrationType } from '@shared/models/integration.models'; -import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; -import { PageData } from '@shared/models/page/page-data'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter, loadOwnDefaultConverterIds } from '@home/components/iot-hub/iot-hub-default-converter'; import { cleanFormFieldValue, DeviceInstallStep, @@ -1843,13 +1841,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent | null | undefined): Record { const merged = { ...(metadata ?? {}) }; - for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { - const key = this.resolveVariables(rawKey); - const value = this.resolveVariables(String(rawValue ?? '')); - if (!value || value.includes('${')) { - continue; - } - if (value === key.substring(key.indexOf('.') + 1)) { + for (const [key, value] of Object.entries(this.stepMetadataEntries(step))) { + if (value === null) { delete merged[key]; } else { merged[key] = value; @@ -1858,6 +1851,34 @@ export class TbDeviceInstallDialogComponent extends DialogComponent | undefined { + this.restoreInstallState(this.data.update.descriptor.installState ?? {}); + try { + return this.integrationMetadataOf(step); + } finally { + this.formValues = {}; + this.entityOutputs.clear(); + } + } + + private integrationMetadataOf(step: DeviceInstallStep): Record | undefined { + return step.type === InstallStepType.INTEGRATION && step.metadata ? this.stepMetadataEntries(step) : undefined; + } + + /** The INTEGRATION step's metadata entries, resolved: null for a self-mapping, whose earlier value is removed. */ + private stepMetadataEntries(step: DeviceInstallStep): Record { + const entries: Record = {}; + for (const [rawKey, rawValue] of Object.entries(step.metadata ?? {})) { + const key = this.resolveVariables(rawKey); + const value = this.resolveVariables(String(rawValue ?? '')); + if (value && !value.includes('${')) { + entries[key] = value === key.substring(key.indexOf('.') + 1) ? null : value; + } + } + return entries; + } + /** An integration taken as it is still gets the step's metadata: the package's converter reads it. */ private async addStepMetadata(step: DeviceInstallStep, existing: EntityStepOutput): Promise { const integration = await firstValueFrom(this.integrationService.getIntegration(existing.id, {ignoreErrors: true})); @@ -2138,7 +2159,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { this.restoreInstallState(this.data.update.descriptor.installState ?? {}); + let ownDefaultConverterIds: Set | undefined; try { for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { const stored = step.default ? this.storedStateOf(step)?.state : undefined; let id: string = stored?.entityOutput?.id; // A converter taken as it was may be any converter with that name: only another package's default one is checked - if (id && stored.resolution === 'use-existing' && !(await this.isInstalledDefaultConverter(id))) { - id = undefined; + if (id && stored.resolution === 'use-existing') { + ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); + if (!ownDefaultConverterIds.has(id)) { + id = undefined; + } } const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true})).catch(() => null) : null; if (converter) { @@ -2361,7 +2388,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -2442,19 +2470,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent field.key).filter(key => !previousKeys.has(key))); } - /** True when a device package installed the converter itself, as its default converter. */ - private async isInstalledDefaultConverter(id: string): Promise { - let pageLink = new PageLink(100); - let page: PageData; - do { - page = await firstValueFrom(this.iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); - if (page.data.some(item => isOwnDefaultConverter(item, id))) { - return true; - } - pageLink = pageLink.nextPageLink(); - } while (page.hasNext); - return false; - } + /** * Update: true when the entity is one the installed package owns: it created it, not the user chose to use it as it was. @@ -2508,24 +2524,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual( this.resolvePackageFile(this.zipFiles, step[file], this.formValues), this.resolvePackageFile(this.previousFiles, previousStep[file], previousFormValues) - )) || !isEqual( - // An INTEGRATION step's metadata entries, which the package's converter reads, are written when it is overwritten - this.resolveStepMetadata(step.metadata, this.formValues), - this.resolveStepMetadata(previousStep.metadata, previousFormValues) - ); + )); } - /** The metadata entries of a step, resolved with the given form values. */ - private resolveStepMetadata(metadata: Record | undefined, formValues: Record): Record { - const committedValues = this.formValues; - this.formValues = formValues; - try { - return Object.fromEntries(Object.entries(metadata ?? {}) - .map(([key, value]) => [this.resolveVariables(key), this.resolveVariables(String(value ?? ''))])); - } finally { - this.formValues = committedValues; - } - } /** Update: the form values the installed version was installed with. */ private previousFormValues(): Record { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts index 6af1073b93..68aeb0f832 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts @@ -7,6 +7,9 @@ import { IntegrationType } from '@shared/models/integration.models'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { isEqual } from '@core/utils'; import { DeviceInstalledItemDescriptor, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { PageLink } from '@shared/models/page/page-link'; +import { PageData } from '@shared/models/page/page-data'; const DEFAULT_CONVERTERS_V2_CONFIGURATION_URL = '/assets/converters/default-converters-v2-configuration.json'; @@ -58,9 +61,24 @@ export const differsFromDefaultConverter = (converter: Converter, defaultConvert }; /** - * True when the device package installed the converter itself as its default converter, not one it took as it was: - * only such a converter is ThingsBoard's default one, which a new ThingsBoard version may change. + * The converters device packages installed themselves as their default converter, not ones they took as they were, of + * all installed device packages: only such a converter is ThingsBoard's default one, which a new ThingsBoard version + * may change. The installed items table and the update dialog both decide by it. */ -export const isOwnDefaultConverter = (item: IotHubInstalledItem, converterId: string): boolean => - item.itemType === 'DEVICE' && Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) - .some(state => state?.defaultConverter && state.entityOutput?.id === converterId && state.resolution !== 'use-existing'); +export const loadOwnDefaultConverterIds = async (iotHubApiService: IotHubApiService): Promise> => { + const ids = new Set(); + let pageLink = new PageLink(100); + let page: PageData; + do { + page = await firstValueFrom(iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); + for (const item of page.data) { + for (const state of Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {})) { + if (state?.defaultConverter && state.entityOutput?.id && state.resolution !== 'use-existing') { + ids.add(state.entityOutput.id); + } + } + } + pageLink = pageLink.nextPageLink(); + } while (page.hasNext); + return ids; +}; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index d4cf0d4df0..a99fc65a66 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -38,7 +38,7 @@ import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/ import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; import { ConverterService } from '@core/http/converter.service'; import { ResourcesService } from '@core/services/resources.service'; -import { differsFromDefaultConverter, isOwnDefaultConverter, loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; +import { differsFromDefaultConverter, loadDefaultUplinkConverter, loadOwnDefaultConverterIds } from '@home/components/iot-hub/iot-hub-default-converter'; import { firstValueFrom } from 'rxjs'; @Component({ @@ -278,13 +278,18 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, */ private async checkConverterUpdates(): Promise { const updates = new Set(); + // Over all installed packages, not only this page's, as the update dialog decides + let ownDefaultConverterIds: Set | undefined; for (const item of this.dataSource) { const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; for (const state of states) { let id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; // A converter taken as it was counts only when a package installed it as its default converter - if (id && state.resolution === 'use-existing' && !this.dataSource.some(other => isOwnDefaultConverter(other, id))) { - id = undefined; + if (id && state.resolution === 'use-existing') { + ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); + if (!ownDefaultConverterIds.has(id)) { + id = undefined; + } } const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) .catch(() => null) : null; diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index eb4776d107..882c97f9c5 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -64,6 +64,8 @@ export interface DeviceUpdateStep { resolution?: string; // The package step's id, which keys its install state; the name when not set id?: string; + // INTEGRATION: the step's metadata entries, which a KEEP merges into the integration; null removes an entry + metadata?: Record; // The step takes ThingsBoard's default converter: its install state says so, for the update check defaultConverter?: boolean; } From de40a36f125de4600887274018e31f8f8c589e71 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:53:41 +0200 Subject: [PATCH 098/275] fix(iot-hub): a kept integration gets the step's metadata, one default converter lookup, uninstall keeps use-existing entities --- .../service/iot_hub/DefaultIotHubService.java | 34 ++++++++++++++--- .../iot_hub/InstalledItemKeptEntities.java | 4 +- ...DefaultDevicePackageUpdateServiceTest.java | 2 +- .../iot_hub/DefaultIotHubServiceTest.java | 37 +++++++++++++++++++ .../iot-hub-delete-dialog.component.ts | 6 ++- .../iot-hub/iot-hub-installed-item.models.ts | 2 + .../assets/locale/locale.constant-en_US.json | 2 + 7 files changed, 78 insertions(+), 9 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index dcc569b481..6968cbd00f 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -713,17 +713,24 @@ public class DefaultIotHubService implements IotHubService { /** * Deletes what a device package created, except the entities another installed device package - * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package. + * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package, + * and the ones the user had before and the package took as they were (use existing). */ private void deleteDevicePackageEntities(TenantId tenantId, IotHubInstalledItemId installedItemId, - List createdEntityIds, SecurityUser user) { + DeviceInstalledItemDescriptor descriptor, SecurityUser user) { + List createdEntityIds = descriptor.getCreatedEntityIds(); if (createdEntityIds == null || createdEntityIds.isEmpty()) { return; } + Set usedExisting = usedExistingIds(descriptor); Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); for (EntityId entityId : reversed) { + if (usedExisting.contains(entityId.getId())) { + log.info("[{}] Kept {} {}: the package took it as it was", tenantId, entityId.getEntityType(), entityId.getId()); + continue; + } Set usedBy = usedByOtherPackages.get(entityId.getId()); if (usedBy != null) { log.info("[{}] Kept {} {}: installed device packages {} use it", tenantId, entityId.getEntityType(), entityId.getId(), usedBy); @@ -746,17 +753,34 @@ public class DefaultIotHubService implements IotHubService { } List kept = new ArrayList<>(); Set usedByItems = new HashSet<>(); + int usedExistingCount = 0; if (installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + Set usedExisting = usedExistingIds(dd); Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); for (EntityId entityId : dd.getCreatedEntityIds()) { Set usedBy = usedByOtherPackages.get(entityId.getId()); - if (usedBy != null) { + boolean taken = usedExisting.contains(entityId.getId()); + if (usedBy != null || taken) { kept.add(new InstalledItemKeptEntities.KeptEntity(entityId, entityService.fetchEntityName(tenantId, entityId).orElse(null))); + } + if (usedBy != null) { usedByItems.addAll(usedBy); } + if (taken) { + usedExistingCount++; + } } } - return new InstalledItemKeptEntities(kept, usedByItems.size()); + return new InstalledItemKeptEntities(kept, usedByItems.size(), usedExistingCount); + } + + /** The entities the package took as they were at install (use existing); none for installs before 4.4.1 kept them. */ + private static Set usedExistingIds(DeviceInstalledItemDescriptor descriptor) { + Set ids = new HashSet<>(); + if (descriptor.getUsedExistingEntityIds() != null) { + descriptor.getUsedExistingEntityIds().forEach(id -> ids.add(id.getId())); + } + return ids; } private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId) { @@ -854,7 +878,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, installedItemId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, installedItemId, dd, user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java index 021cfe5be5..ad517c5327 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstalledItemKeptEntities.java @@ -9,7 +9,7 @@ import org.thingsboard.server.common.data.id.EntityId; import java.util.List; -/** What deleting an installed item keeps, because other installed items use it too. */ +/** What deleting an installed item keeps: what other installed items use too, and what the user had before it. */ @Data @NoArgsConstructor @AllArgsConstructor @@ -18,6 +18,8 @@ public class InstalledItemKeptEntities { private List entities; // How many other installed items use at least one of the kept entities private int usedByItemsCount; + // How many of the kept entities the user had before and the package took as they were (use existing) + private int usedExistingCount; @Data @NoArgsConstructor diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 76bad73451..316732253c 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -308,7 +308,7 @@ class DefaultDevicePackageUpdateServiceTest { Dashboard shared = dashboard(9L); DevicePackageEntities.Snapshot snapshot = new DevicePackageEntities.Snapshot(shared, null); when(packageEntities.load(tenantId, dashboardId)).thenReturn(snapshot); - when(iotHubService.findKeptEntities(tenantId, installedItem.getId())).thenReturn(new InstalledItemKeptEntities(List.of(), 0)); + when(iotHubService.findKeptEntities(tenantId, installedItem.getId())).thenReturn(new InstalledItemKeptEntities(List.of(), 0, 0)); // This package recorded the dashboard as it left it; the other one overwrote it since and recorded the new one ObjectNode own = stateOf(dashboardId, "created").put("checksum", "as-this-package-left-it"); ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).setInstallState(Map.of("Dashboard", own)); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 8cc1848797..938c816ed7 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -481,6 +481,43 @@ class DefaultIotHubServiceTest { assertThat(kept.getUsedByItemsCount()).isEqualTo(2); } + @Test + void deleteInstalledItem_devicePackage_keepsEntitiesTheUserHadBefore() { + mockTenant(); + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId usersDashboardId = new DashboardId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(deviceId, usersDashboardId); + ((DeviceInstalledItemDescriptor) deleted.getDescriptor()).setUsedExistingEntityIds(List.of(usersDashboardId)); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted), 1, 1, false)); + Device device = new Device(deviceId); + when(deviceService.findDeviceById(tenantId, deviceId)).thenReturn(device); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(tbDeviceService).delete(device, user); + verify(tbDashboardService, never()).delete(any(), any()); + } + + @Test + void findKeptEntities_devicePackage_namesTheEntitiesTheUserHadBefore() { + DeviceId deviceId = new DeviceId(UUID.randomUUID()); + DashboardId usersDashboardId = new DashboardId(UUID.randomUUID()); + IotHubInstalledItem checked = devicePackage(deviceId, usersDashboardId); + ((DeviceInstalledItemDescriptor) checked.getDescriptor()).setUsedExistingEntityIds(List.of(usersDashboardId)); + when(iotHubInstalledItemService.findById(tenantId, checked.getId())).thenReturn(checked); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(checked), 1, 1, false)); + when(entityService.fetchEntityName(tenantId, usersDashboardId)).thenReturn(Optional.of("My dashboard")); + + InstalledItemKeptEntities kept = service.findKeptEntities(tenantId, checked.getId()); + + assertThat(kept.getEntities()).containsExactly(new InstalledItemKeptEntities.KeptEntity(usersDashboardId, "My dashboard")); + assertThat(kept.getUsedByItemsCount()).isZero(); + assertThat(kept.getUsedExistingCount()).isEqualTo(1); + } + @Test void findKeptEntities_devicePackageSharingNothing_keepsNothing() { IotHubInstalledItem checked = devicePackage(new DeviceId(UUID.randomUUID())); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts index 81d13800d3..08ae924eb6 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.ts @@ -45,8 +45,10 @@ export class TbIotHubDeleteDialogComponent extends DialogComponent ({ id: entity.entityId as EntityId, name: entity.name })); - this.description = this.translate.instant('iot-hub.remove-desc-kept', - { count: kept.usedByItemsCount, kept: kept.entities.length }); + // Kept because other packages use them, because the user had them before the package, or both + const key = !kept.usedExistingCount ? 'iot-hub.remove-desc-kept' : + !kept.usedByItemsCount ? 'iot-hub.remove-desc-kept-own' : 'iot-hub.remove-desc-kept-own-or-used'; + this.description = this.translate.instant(key, { count: kept.usedByItemsCount, kept: kept.entities.length }); } else { this.description = this.translate.instant(data.itemType === 'SOLUTION_TEMPLATE' ? 'iot-hub.remove-desc-solution-template' : 'iot-hub.remove-desc'); } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 882c97f9c5..2ca0603a37 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -166,6 +166,8 @@ export interface IotHubKeptEntity { export interface IotHubInstalledItemKeptEntities { entities: IotHubKeptEntity[]; usedByItemsCount: number; + // Of the kept entities, the ones the user had before and the package took as they were + usedExistingCount: number; } export interface IotHubInstalledItem extends BaseData<{id: string}> { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 68a0906635..ca933a9b36 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6405,6 +6405,8 @@ "remove": "Remove", "remove-confirm-title": "Remove '{{name}}'?", "remove-desc": "Removing this will also remove the installed entity and its associated resources within your tenant", + "remove-desc-kept-own": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because you had it} other {entities will not be removed, because you had them} } before the package was installed:", + "remove-desc-kept-own-or-used": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity} other {entities} } will not be removed, because you had them before the package was installed or { count, plural, =1 {1 other installed package uses} other {# other installed packages use} } them:", "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because it is} other {entities will not be removed, because they are} } used by { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-solution-template": "Removing this solution template will also remove all created entities including dashboards, rule chains, devices, and other associated resources within your tenant", "remove-anyway": "Remove anyway", From f2d4872688e0a1f91b524885867b3f00603b4e99 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 12:08:30 +0200 Subject: [PATCH 099/275] fix(iot-hub): merge metadata into a copy of the integration, lock the metadata fields on update, plural of the kept text --- .../DefaultDevicePackageUpdateService.java | 30 +++++++++++-------- ...DefaultDevicePackageUpdateServiceTest.java | 3 ++ .../device-install-dialog.component.ts | 20 +++++++++++++ .../assets/locale/locale.constant-en_US.json | 2 +- 4 files changed, 42 insertions(+), 13 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 399e46f6ac..2bbed29280 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -587,8 +587,9 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i Integration current = id != null ? integrationService.findIntegrationById(tenantId, id) : null; if (step.getAction() == DeviceUpdateRequest.Action.KEEP) { existing(tenantId, current, step); - if (mergeMetadata(current, step.getMetadata())) { - Integration result = integrationService.saveIntegration(current); + Integration merged = withMergedMetadata(current, step.getMetadata()); + if (merged != null) { + Integration result = integrationService.saveIntegration(merged); return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } return new StepResult(id, integrationOutput(current), null, null); @@ -611,14 +612,18 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } - /** Merges the step's metadata entries into the integration's; true when that changed it. */ - private static boolean mergeMetadata(Integration integration, JsonNode entries) { + /** + * A copy of the integration with the step's metadata entries merged into its metadata; null when that changes nothing. + * A copy: the integration may be the cache's own instance, which a rolled back update must not change. + */ + private static Integration withMergedMetadata(Integration integration, JsonNode entries) { if (entries == null || !entries.isObject() || entries.isEmpty()) { - return false; + return null; } - ObjectNode configuration = integration.getConfiguration() != null && integration.getConfiguration().isObject() ? - (ObjectNode) integration.getConfiguration() : JacksonUtil.newObjectNode(); - ObjectNode metadata = configuration.get("metadata") instanceof ObjectNode current ? current.deepCopy() : JacksonUtil.newObjectNode(); + Integration copy = new Integration(integration); + ObjectNode configuration = copy.getConfiguration() instanceof ObjectNode current ? current : JacksonUtil.newObjectNode(); + JsonNode before = configuration.get("metadata"); + ObjectNode metadata = before instanceof ObjectNode current ? current.deepCopy() : JacksonUtil.newObjectNode(); entries.fields().forEachRemaining(entry -> { if (entry.getValue() == null || entry.getValue().isNull()) { metadata.remove(entry.getKey()); @@ -626,14 +631,15 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i metadata.put(entry.getKey(), entry.getValue().asText()); } }); - if (metadata.equals(configuration.get("metadata")) || (metadata.isEmpty() && configuration.get("metadata") == null)) { - return false; + if (metadata.equals(before) || (metadata.isEmpty() && before == null)) { + return null; } configuration.set("metadata", metadata); - integration.setConfiguration(configuration); - return true; + copy.setConfiguration(configuration); + return copy; } + /** * The overwritten entity keeps its id and its current name (the user may have renamed it). The version the * user reviewed makes the save fail if someone changed the entity since. diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 316732253c..062eabf80f 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -392,6 +392,9 @@ class DefaultDevicePackageUpdateServiceTest { assertThat(metadata.get("profile.other-model").asText()).isEqualTo("Other"); assertThat(metadata.get("profile.lansitec-badge").asText()).isEqualTo("Badge"); assertThat(metadata.has("profile.milesight-iot-am308")).isFalse(); + // A copy is saved: the integration read, possibly the cache's own instance, stays as it is until the commit + assertThat(saved.getValue()).isNotSameAs(current); + assertThat(current.getConfiguration().get("metadata").has("profile.lansitec-badge")).isFalse(); assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN").get("resolution").asText()) .isEqualTo("use-existing"); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index f049ee97b8..ca92919b5b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -1247,6 +1247,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent locked.has(field.key) ? { ...field, readOnly: true, resettable: false } : field); } for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); @@ -1862,6 +1866,22 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const keys = new Set(); + for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { + if (step.type !== InstallStepType.INTEGRATION) { + continue; + } + for (const [key, value] of Object.entries(step.metadata ?? {})) { + for (const match of `${key} ${value ?? ''}`.matchAll(/\$\{([^}.]+)}/g)) { + keys.add(match[1]); + } + } + } + return keys; + } + private integrationMetadataOf(step: DeviceInstallStep): Record | undefined { return step.type === InstallStepType.INTEGRATION && step.metadata ? this.stepMetadataEntries(step) : undefined; } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ca933a9b36..598b051e0e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6406,7 +6406,7 @@ "remove-confirm-title": "Remove '{{name}}'?", "remove-desc": "Removing this will also remove the installed entity and its associated resources within your tenant", "remove-desc-kept-own": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because you had it} other {entities will not be removed, because you had them} } before the package was installed:", - "remove-desc-kept-own-or-used": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity} other {entities} } will not be removed, because you had them before the package was installed or { count, plural, =1 {1 other installed package uses} other {# other installed packages use} } them:", + "remove-desc-kept-own-or-used": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because you had it before the package was installed or it is used by} other {entities will not be removed, because you had them before the package was installed or they are used by} } { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-kept": "Removing this will also remove the installed entity and its associated resources within your tenant. The following { kept, plural, =1 {entity will not be removed, because it is} other {entities will not be removed, because they are} } used by { count, plural, =1 {1 other installed package} other {# other installed packages} }:", "remove-desc-solution-template": "Removing this solution template will also remove all created entities including dashboards, rule chains, devices, and other associated resources within your tenant", "remove-anyway": "Remove anyway", From 4f0151542fbfb30c9a37df4063293d4ac0bcc027 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 12:33:46 +0200 Subject: [PATCH 100/275] fix(iot-hub): check the update again after any way back, check default converters in parallel and keep the latest run --- .../device-install-dialog.component.ts | 20 ++++++--- ...iot-hub-installed-items-table.component.ts | 41 ++++++++++++------- 2 files changed, 41 insertions(+), 20 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index ca92919b5b..54dfc3e218 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -555,6 +555,15 @@ export class TbDeviceInstallDialogComponent extends DialogComponent this.resetUpdatePlan(ws)); + } return; } // Forward moves can come from the stepper header, which bypasses nextStep(), diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index a99fc65a66..2677ec1cbe 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -74,6 +74,7 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, publishedVersionMap = new Map(); // Installed device packages whose default converter differs from ThingsBoard's default converter now converterUpdates = new Set(); + private converterCheckRun = 0; updatesChecked = false; isCheckingUpdates = false; @@ -277,35 +278,47 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, * ThingsBoard's default converter now. ThingsBoard's default changes with ThingsBoard, so the package has no new version for it. */ private async checkConverterUpdates(): Promise { - const updates = new Set(); + // A later load (another page, sort or search) starts another run: an earlier one finishing last mustn't win + const run = ++this.converterCheckRun; + // The package's default converter of each DEVICE package on the page + const checks: { itemId: string; converterId: string }[] = []; // Over all installed packages, not only this page's, as the update dialog decides let ownDefaultConverterIds: Set | undefined; for (const item of this.dataSource) { const states = item.itemType === 'DEVICE' ? Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; for (const state of states) { - let id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; + const id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; + if (!id) { + continue; + } // A converter taken as it was counts only when a package installed it as its default converter - if (id && state.resolution === 'use-existing') { + if (state.resolution === 'use-existing') { ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); if (!ownDefaultConverterIds.has(id)) { - id = undefined; - } - } - const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true, ignoreLoading: true})) - .catch(() => null) : null; - if (converter) { - const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, - converter.configuration.scriptLang, converter.name); - if (defaultConverter && differsFromDefaultConverter(converter, defaultConverter)) { - updates.add(item.id.id); + continue; } } + checks.push({ itemId: item.id.id, converterId: id }); } } - this.converterUpdates = updates; + const changed = await Promise.all(checks.map(async ({ itemId, converterId }) => { + const converter = await firstValueFrom(this.converterService.getConverter(converterId, {ignoreErrors: true, ignoreLoading: true})) + .catch(() => null); + if (!converter) { + return null; + } + const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, + converter.configuration.scriptLang, converter.name); + return defaultConverter && differsFromDefaultConverter(converter, defaultConverter) ? itemId : null; + })); + if (run !== this.converterCheckRun) { + return; + } + this.converterUpdates = new Set(changed.filter(itemId => !!itemId)); this.cd.markForCheck(); } + getPublishedVersionInfo(item: IotHubInstalledItem): ItemPublishedVersionInfo | undefined { return this.publishedVersionMap.get(item.itemId); } From af75897c2530f388cf5178b22d7b08c4ba4ff599 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 13:37:39 +0200 Subject: [PATCH 101/275] fix(iot-hub): drop the result of an update check the user went back from --- .../device-install-dialog.component.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 54dfc3e218..9f79cbb59d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -370,6 +370,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); // Update: for each step with "default": true, whether its converter differs from ThingsBoard's default one now private defaultConverterChanges = new Map(); + // Update: the check of the update in progress; a way back meanwhile starts a new one, which drops this one's result + private updateCheckRun = 0; // Variable resolution state formValues: Record = {}; @@ -557,7 +559,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + const run = ++this.updateCheckRun; // Templates refer to the package's entities, e.g. ${deviceProfile.id}: until the steps run, the installed ones this.restoreInstallState(this.data.update.descriptor.installState ?? {}, false); ws.entitySteps = ws.rawSteps.map(s => ({ @@ -2600,9 +2608,16 @@ export class TbDeviceInstallDialogComponent extends DialogComponent [state.stepName, state])); const plans = await Promise.all(ws.entitySteps.map(ep => this.planEntityStep(ep))); + if (run !== this.updateCheckRun) { + // The user went back meanwhile: the plan is of the form values before + return; + } ws.entitySteps.forEach((ep, i) => this.entityPlans.set(ep, plans[i])); this.overwriteReferencesToCreated(ws); } catch (e: any) { + if (run !== this.updateCheckRun) { + return; + } ws.progressError = this.failureMessage(e); } ws.checking = false; From 7420039a55962b7f30b81f53bb15d0a8e9654a7b Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 11:20:28 +0200 Subject: [PATCH 102/275] feat(iot-hub): the default TTN/TTI converter decodes Lansitec devices from the LoRaWAN Device Repository The Lansitec codecs wrap everything in bytes, give numbers as strings with units and get some fields wrong. The default converter unwraps them, names the keys as the Lansitec datasheets do, decodes the wrong fields from the raw bytes, and writes the Register message as attributes. The JS default reads the payload as UTF-8. --- .../src/assets/converters/js-tti-decoder.raw | 425 +++++++++++++++++- .../src/assets/converters/js-ttn-decoder.raw | 425 +++++++++++++++++- .../assets/converters/tbel-tti-decoder.raw | 378 +++++++++++++++- .../assets/converters/tbel-ttn-decoder.raw | 378 +++++++++++++++- 4 files changed, 1600 insertions(+), 6 deletions(-) diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index ee4314679b..ca1d911e66 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -2,11 +2,428 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; + +var LANSITEC_GATEWAYS = ['compact-bluetooth-gateway', 'indoor-bluetooth-gateway', 'macro-bluetooth-gateway', 'solar-bluetooth-gateway']; + +// Codec key -> datasheet name, per model group. '-' drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: 'adr', mode: 'mode', LoRaWANband: 'loraWanFrequencyBand', LoRaTxpower: 'loraTxPower', + ContinuousReceive: 'continuousBleReceiving', dr: 'dataRate', pos: 'positionReportInterval', + hb: 'heartbeatInterval', BLEReceivingDuration: 'bluetoothReceivingDuration', + rssi: 'loraRssi', snr: '-', ver: 'deviceFirmwareVersion', vol: '-', chgstate: '-', number: '-' +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: 'adr', 'Lora Txpower': 'loraTxPower', DR: 'dataRate', GNSSEN: 'gnssEnabled', + 'Position mode': 'positioningReportMode', 'Position period': 'bluetoothPositionReportInterval', + 'Heartbeat period': '-', 'Firmware version': '-', CFMMSG: '-', HBCOUNT: '-', 'Fall threshold': '-', + 'Battery level': 'batteryLevel', RSSI: 'loraRssi', SNR: '-', 'GPS state': 'gnssState', + 'Move state': '-', 'Charge state': 'chargeState', + Longitude: '-', Latitude: '-', Time: '-', Length: '-', Vibstate: '-', 'Alarm type': 'alarm' +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: 'adr', mode: 'mode', smode: 'smode', LoraTxpower: 'loraTxPower', dr: 'dataRate', repting: 'reptind', + th: 'temperatureHumidityReportPeriod', crc: '-', + ver: '-', vol: 'batteryLevel', rssi: 'loraRssi', snr: '-', temperature: '-', humidity: '-' +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', + firmwareVersion: 'deviceFirmwareVersion', 'Firmware version': 'deviceFirmwareVersion', + type: '-', 'Message type': '-', chgstate: '-', number: '-' +}; + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ['devicetype1', 'devicetype2', 'devicetype3', 'device', 'dev', 'pos', 'asset']; +var LANSITEC_BEACON_FIELDS = ['data', 'major', 'minor', 'rssi', 'id']; + +function lansitecEndsWith(s, end) { + return s.length >= end.length && s.substring(s.length - end.length) == end; +} + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (typeof v != 'string') { + return v; + } + for (var i = 0; i < LANSITEC_UNITS.length; i++) { + var u = LANSITEC_UNITS[i]; + if (lansitecEndsWith(v, u)) { + var n = v.substring(0, v.length - u.length).trim(); + if (/^-?[0-9]+(\.[0-9]+)?$/.test(n)) { + return u == 'min' ? parseFloat(n) * 60 : parseFloat(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length && part.charAt(n) != part.charAt(n).toLowerCase()) { + n = n + 1; + } + if (n == part.length) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split(/[ .]+/); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace('.', ''); + for (var i = 0; i < LANSITEC_BEACON_PREFIXES.length; i++) { + var p = LANSITEC_BEACON_PREFIXES[i]; + if (k.indexOf(p) == 0) { + var rest = k.substring(p.length); + for (var j = 0; j < LANSITEC_BEACON_FIELDS.length; j++) { + var f = LANSITEC_BEACON_FIELDS[j]; + if (lansitecEndsWith(rest, f) && /^[0-9]+$/.test(rest.substring(0, rest.length - f.length))) { + return { group: p, index: rest.substring(0, rest.length - f.length), field: f }; + } + if (rest.indexOf(f) == 0 && /^[0-9]+$/.test(rest.substring(f.length))) { + return { group: p, index: rest.substring(f.length), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == 'badge-tracker') { + return LANSITEC_BADGE_KEYS; + } + if (model == 'temperature-humidity-sensor') { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + Object.keys(raw).forEach(function (key) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index, 10) }; + } + if (b.field == 'rssi') { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == 'data' || b.field == 'major' || b.field == 'minor') { + beacons[id][b.field] = value; + } + } else if (table == null && key == 'time' && typeof value == 'string') { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + values.gnssTime = new Date(value.replace(/"/g, '')).getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.hasOwnProperty(key)) { + if (table[key] != '-') { + values[table[key]] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.hasOwnProperty(key)) { + if (LANSITEC_CLASH_KEYS[key] != '-') { + values[LANSITEC_CLASH_KEYS[key]] = lansitecNumber(value); + } + } else { + values[lansitecCamelCase(key)] = lansitecNumber(value); + } + }); + if (Object.keys(beacons).length > 0) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + var ids = Object.keys(beacons); + for (var i = 1; i <= ids.length; i++) { + ids.forEach(function (id) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.push(item); + } + }); + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.length > 1 && list[0].data != null && list[0].data.length != 8) { + return [list[0]]; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == 'badge-tracker') { + lansitecBadgeRawValues(values, b, type); + } else if (model == 'temperature-humidity-sensor' && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +function lansitecBase64ToBytes(input) { + var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + var bytes = []; + var bits = 0; + var count = 0; + for (var i = 0; i < input.length; i++) { + var c = chars.indexOf(input.charAt(i)); + if (c < 0) { + continue; + } + bits = (bits << 6) | c; + count = count + 6; + if (count >= 8) { + count = count - 8; + bytes.push((bits >> count) & 0xFF); + } + } + return bytes; +} + +function lansitecHex(b, from, to) { + var digits = '0123456789ABCDEF'; + var hex = ''; + for (var i = from; i < to; i++) { + hex = hex + digits.charAt((b[i] >> 4) & 0x0F) + digits.charAt(b[i] & 0x0F); + } + return hex; +} + +function lansitecUint(b, offset, length) { + var v = 0; + for (var i = 0; i < length; i++) { + v = v * 256 + b[offset + i]; + } + return v; +} + +// IEEE 754 single precision, big-endian, rounded to 6 decimals (about 0.1 m) as in the TBEL converter. +function lansitecFloat(b, offset) { + var bits = lansitecUint(b, offset, 4); + var exponent = Math.floor(bits / 8388608) % 256; + var mantissa = bits % 8388608; + var value = exponent == 0 ? mantissa * Math.pow(2, -149) : (1 + mantissa / 8388608) * Math.pow(2, exponent - 127); + value = Math.round(value * 1000000) / 1000000; + return bits >= 2147483648 ? -value : value; +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = lansitecUint(b, offset, 2); + if (v > 32767) { + v = v - 65536; + } + return v / 100; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = b[8] * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == 'macro-bluetooth-gateway') { + values.batteryVoltage = (b[1] + 150) / 100; + } else { + values.batteryLevel = b[1]; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == 'compact-bluetooth-gateway' || model == 'solar-bluetooth-gateway') { + if (b[7] == 0x00) { + values.chargeState = 'Not charging'; + } else if (b[7] == 0x50) { + values.chargeState = 'Charging'; + } else if (b[7] == 0x60) { + values.chargeState = 'Charging completed'; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + delete values.beacons; + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + var step = (b.length - 1) / count; + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start]; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + list.push({ + deviceType: deviceType, + data: lansitecHex(b, start + head, start + head + dataLength), + rssi: b[start + step - 1] - 256 + }); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = lansitecUint(b, 6, 2) * 5; + values.heartbeatInterval = b[8] * 30; + // Version 0x0525 is V5.25. + var major = lansitecHex(b, 9, 10); + if (major.charAt(0) == '0') { + major = major.substring(1); + } + values.deviceFirmwareVersion = 'V' + major + '.' + lansitecHex(b, 10, 11); + values.cfmmsg = b[11]; + values.hbcount = b[12]; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = b[13] * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + if ((b[0] & 0x0F) == 0) { + values.longitude = lansitecFloat(b, 1); + values.latitude = lansitecFloat(b, 5); + values.gnssTime = lansitecUint(b, 9, 4) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = Math.round(temperature * 100) / 100; + values.humidity = b[offset + 2]; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (Array.isArray(values.history)) { + if (metadata.brandId == 'lansitec' && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, lansitecBase64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw['Message type']; + if (messageType == 'Register') { + attributes = values; + values = {}; + } + } else if (Array.isArray(values.history)) { values.history.forEach(function (record) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,12 +443,16 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (Object.keys(attributes).length > 0) { + return { profile: profile, attributes: attributes }; +} if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; +// The payload is UTF-8: a codec value can have a unit like ℃. function decodeToJson(payload) { - return JSON.parse(String.fromCharCode.apply(String, payload)); + return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index ee4314679b..ca1d911e66 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -2,11 +2,428 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; + +var LANSITEC_GATEWAYS = ['compact-bluetooth-gateway', 'indoor-bluetooth-gateway', 'macro-bluetooth-gateway', 'solar-bluetooth-gateway']; + +// Codec key -> datasheet name, per model group. '-' drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: 'adr', mode: 'mode', LoRaWANband: 'loraWanFrequencyBand', LoRaTxpower: 'loraTxPower', + ContinuousReceive: 'continuousBleReceiving', dr: 'dataRate', pos: 'positionReportInterval', + hb: 'heartbeatInterval', BLEReceivingDuration: 'bluetoothReceivingDuration', + rssi: 'loraRssi', snr: '-', ver: 'deviceFirmwareVersion', vol: '-', chgstate: '-', number: '-' +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: 'adr', 'Lora Txpower': 'loraTxPower', DR: 'dataRate', GNSSEN: 'gnssEnabled', + 'Position mode': 'positioningReportMode', 'Position period': 'bluetoothPositionReportInterval', + 'Heartbeat period': '-', 'Firmware version': '-', CFMMSG: '-', HBCOUNT: '-', 'Fall threshold': '-', + 'Battery level': 'batteryLevel', RSSI: 'loraRssi', SNR: '-', 'GPS state': 'gnssState', + 'Move state': '-', 'Charge state': 'chargeState', + Longitude: '-', Latitude: '-', Time: '-', Length: '-', Vibstate: '-', 'Alarm type': 'alarm' +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: 'adr', mode: 'mode', smode: 'smode', LoraTxpower: 'loraTxPower', dr: 'dataRate', repting: 'reptind', + th: 'temperatureHumidityReportPeriod', crc: '-', + ver: '-', vol: 'batteryLevel', rssi: 'loraRssi', snr: '-', temperature: '-', humidity: '-' +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', + firmwareVersion: 'deviceFirmwareVersion', 'Firmware version': 'deviceFirmwareVersion', + type: '-', 'Message type': '-', chgstate: '-', number: '-' +}; + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ['devicetype1', 'devicetype2', 'devicetype3', 'device', 'dev', 'pos', 'asset']; +var LANSITEC_BEACON_FIELDS = ['data', 'major', 'minor', 'rssi', 'id']; + +function lansitecEndsWith(s, end) { + return s.length >= end.length && s.substring(s.length - end.length) == end; +} + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (typeof v != 'string') { + return v; + } + for (var i = 0; i < LANSITEC_UNITS.length; i++) { + var u = LANSITEC_UNITS[i]; + if (lansitecEndsWith(v, u)) { + var n = v.substring(0, v.length - u.length).trim(); + if (/^-?[0-9]+(\.[0-9]+)?$/.test(n)) { + return u == 'min' ? parseFloat(n) * 60 : parseFloat(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length && part.charAt(n) != part.charAt(n).toLowerCase()) { + n = n + 1; + } + if (n == part.length) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split(/[ .]+/); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace('.', ''); + for (var i = 0; i < LANSITEC_BEACON_PREFIXES.length; i++) { + var p = LANSITEC_BEACON_PREFIXES[i]; + if (k.indexOf(p) == 0) { + var rest = k.substring(p.length); + for (var j = 0; j < LANSITEC_BEACON_FIELDS.length; j++) { + var f = LANSITEC_BEACON_FIELDS[j]; + if (lansitecEndsWith(rest, f) && /^[0-9]+$/.test(rest.substring(0, rest.length - f.length))) { + return { group: p, index: rest.substring(0, rest.length - f.length), field: f }; + } + if (rest.indexOf(f) == 0 && /^[0-9]+$/.test(rest.substring(f.length))) { + return { group: p, index: rest.substring(f.length), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == 'badge-tracker') { + return LANSITEC_BADGE_KEYS; + } + if (model == 'temperature-humidity-sensor') { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + Object.keys(raw).forEach(function (key) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index, 10) }; + } + if (b.field == 'rssi') { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == 'data' || b.field == 'major' || b.field == 'minor') { + beacons[id][b.field] = value; + } + } else if (table == null && key == 'time' && typeof value == 'string') { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + values.gnssTime = new Date(value.replace(/"/g, '')).getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.hasOwnProperty(key)) { + if (table[key] != '-') { + values[table[key]] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.hasOwnProperty(key)) { + if (LANSITEC_CLASH_KEYS[key] != '-') { + values[LANSITEC_CLASH_KEYS[key]] = lansitecNumber(value); + } + } else { + values[lansitecCamelCase(key)] = lansitecNumber(value); + } + }); + if (Object.keys(beacons).length > 0) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + var ids = Object.keys(beacons); + for (var i = 1; i <= ids.length; i++) { + ids.forEach(function (id) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.push(item); + } + }); + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.length > 1 && list[0].data != null && list[0].data.length != 8) { + return [list[0]]; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == 'badge-tracker') { + lansitecBadgeRawValues(values, b, type); + } else if (model == 'temperature-humidity-sensor' && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +function lansitecBase64ToBytes(input) { + var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + var bytes = []; + var bits = 0; + var count = 0; + for (var i = 0; i < input.length; i++) { + var c = chars.indexOf(input.charAt(i)); + if (c < 0) { + continue; + } + bits = (bits << 6) | c; + count = count + 6; + if (count >= 8) { + count = count - 8; + bytes.push((bits >> count) & 0xFF); + } + } + return bytes; +} + +function lansitecHex(b, from, to) { + var digits = '0123456789ABCDEF'; + var hex = ''; + for (var i = from; i < to; i++) { + hex = hex + digits.charAt((b[i] >> 4) & 0x0F) + digits.charAt(b[i] & 0x0F); + } + return hex; +} + +function lansitecUint(b, offset, length) { + var v = 0; + for (var i = 0; i < length; i++) { + v = v * 256 + b[offset + i]; + } + return v; +} + +// IEEE 754 single precision, big-endian, rounded to 6 decimals (about 0.1 m) as in the TBEL converter. +function lansitecFloat(b, offset) { + var bits = lansitecUint(b, offset, 4); + var exponent = Math.floor(bits / 8388608) % 256; + var mantissa = bits % 8388608; + var value = exponent == 0 ? mantissa * Math.pow(2, -149) : (1 + mantissa / 8388608) * Math.pow(2, exponent - 127); + value = Math.round(value * 1000000) / 1000000; + return bits >= 2147483648 ? -value : value; +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = lansitecUint(b, offset, 2); + if (v > 32767) { + v = v - 65536; + } + return v / 100; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = b[8] * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == 'macro-bluetooth-gateway') { + values.batteryVoltage = (b[1] + 150) / 100; + } else { + values.batteryLevel = b[1]; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == 'compact-bluetooth-gateway' || model == 'solar-bluetooth-gateway') { + if (b[7] == 0x00) { + values.chargeState = 'Not charging'; + } else if (b[7] == 0x50) { + values.chargeState = 'Charging'; + } else if (b[7] == 0x60) { + values.chargeState = 'Charging completed'; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + delete values.beacons; + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + var step = (b.length - 1) / count; + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start]; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + list.push({ + deviceType: deviceType, + data: lansitecHex(b, start + head, start + head + dataLength), + rssi: b[start + step - 1] - 256 + }); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = lansitecUint(b, 6, 2) * 5; + values.heartbeatInterval = b[8] * 30; + // Version 0x0525 is V5.25. + var major = lansitecHex(b, 9, 10); + if (major.charAt(0) == '0') { + major = major.substring(1); + } + values.deviceFirmwareVersion = 'V' + major + '.' + lansitecHex(b, 10, 11); + values.cfmmsg = b[11]; + values.hbcount = b[12]; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = b[13] * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + if ((b[0] & 0x0F) == 0) { + values.longitude = lansitecFloat(b, 1); + values.latitude = lansitecFloat(b, 5); + values.gnssTime = lansitecUint(b, 9, 4) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = Math.round(temperature * 100) / 100; + values.humidity = b[offset + 2]; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (Array.isArray(values.history)) { + if (metadata.brandId == 'lansitec' && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, lansitecBase64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw['Message type']; + if (messageType == 'Register') { + attributes = values; + values = {}; + } + } else if (Array.isArray(values.history)) { values.history.forEach(function (record) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,12 +443,16 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (Object.keys(attributes).length > 0) { + return { profile: profile, attributes: attributes }; +} if (history.length == 0) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; +// The payload is UTF-8: a codec value can have a unit like ℃. function decodeToJson(payload) { - return JSON.parse(String.fromCharCode.apply(String, payload)); + return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); } diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 1cfef4546d..2e675de454 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -2,11 +2,384 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; + +var LANSITEC_GATEWAYS = ["compact-bluetooth-gateway", "indoor-bluetooth-gateway", "macro-bluetooth-gateway", "solar-bluetooth-gateway"]; + +// Codec key -> datasheet name, per model group. "-" drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: "adr", mode: "mode", LoRaWANband: "loraWanFrequencyBand", LoRaTxpower: "loraTxPower", + ContinuousReceive: "continuousBleReceiving", dr: "dataRate", pos: "positionReportInterval", + hb: "heartbeatInterval", BLEReceivingDuration: "bluetoothReceivingDuration", + rssi: "loraRssi", snr: "-", ver: "deviceFirmwareVersion", vol: "-", chgstate: "-", number: "-" +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: "adr", "Lora Txpower": "loraTxPower", DR: "dataRate", GNSSEN: "gnssEnabled", + "Position mode": "positioningReportMode", "Position period": "bluetoothPositionReportInterval", + "Heartbeat period": "-", "Firmware version": "-", CFMMSG: "-", HBCOUNT: "-", "Fall threshold": "-", + "Battery level": "batteryLevel", RSSI: "loraRssi", SNR: "-", "GPS state": "gnssState", + "Move state": "-", "Charge state": "chargeState", + Longitude: "-", Latitude: "-", Time: "-", Length: "-", Vibstate: "-", "Alarm type": "alarm" +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: "adr", mode: "mode", smode: "smode", LoraTxpower: "loraTxPower", dr: "dataRate", repting: "reptind", + th: "temperatureHumidityReportPeriod", crc: "-", + ver: "-", vol: "batteryLevel", rssi: "loraRssi", snr: "-", temperature: "-", humidity: "-" +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", + firmwareVersion: "deviceFirmwareVersion", "Firmware version": "deviceFirmwareVersion", + type: "-", "Message type": "-", chgstate: "-", number: "-" +}; + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (!(v instanceof String)) { + return v; + } + foreach (u : LANSITEC_UNITS) { + if (v.endsWith(u)) { + var n = v.substring(0, v.length() - u.length()).trim(); + if (n.matches("-?[0-9]+(\\.[0-9]+)?")) { + return u == "min" ? parseDouble(n) * 60 : parseDouble(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length() && part.substring(n, n + 1) != part.substring(n, n + 1).toLowerCase()) { + n = n + 1; + } + if (n == part.length()) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split("[ .]+"); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ["devicetype1", "devicetype2", "devicetype3", "device", "dev", "pos", "asset"]; +var LANSITEC_BEACON_FIELDS = ["data", "major", "minor", "rssi", "id"]; + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace(".", ""); + foreach (p : LANSITEC_BEACON_PREFIXES) { + if (k.startsWith(p)) { + var rest = k.substring(p.length()); + foreach (f : LANSITEC_BEACON_FIELDS) { + if (rest.endsWith(f) && rest.substring(0, rest.length() - f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(0, rest.length() - f.length()), field: f }; + } + if (rest.startsWith(f) && rest.substring(f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(f.length()), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.contains(model)) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == "badge-tracker") { + return LANSITEC_BADGE_KEYS; + } + if (model == "temperature-humidity-sensor") { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + foreach (key : raw.keySet()) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index) }; + } + if (b.field == "rssi") { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == "data" || b.field == "major" || b.field == "minor") { + beacons[id][b.field] = value; + } + } else if (table == null && key == "time" && value instanceof String) { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + var gnssDate = new Date(value.replace("\"", "")); + values.gnssTime = gnssDate.getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.containsKey(key)) { + var tableName = table[key]; + if (tableName != "-") { + values[tableName] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.containsKey(key)) { + var clashName = LANSITEC_CLASH_KEYS[key]; + if (clashName != "-") { + values[clashName] = lansitecNumber(value); + } + } else { + var codecName = lansitecCamelCase(key); + values[codecName] = lansitecNumber(value); + } + } + if (!beacons.isEmpty()) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + for (var i = 1; i <= beacons.size(); i++) { + foreach (id : beacons.keySet()) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.add(item); + } + } + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.size() > 1 && list[0].data != null && list[0].data.length() != 8) { + var first = []; + first.add(list[0]); + return first; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.contains(model)) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == "badge-tracker") { + lansitecBadgeRawValues(values, b, type); + } else if (model == "temperature-humidity-sensor" && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = parseBytesToInt(b, offset, 2, true); + if (v > 32767) { + v = v - 65536; + } + return v / 100.0; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = (b[8] & 0xFF) * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == "macro-bluetooth-gateway") { + values.batteryVoltage = ((b[1] & 0xFF) + 150) / 100.0; + } else { + values.batteryLevel = b[1] & 0xFF; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == "compact-bluetooth-gateway" || model == "solar-bluetooth-gateway") { + var charge = b[7] & 0xFF; + if (charge == 0x00) { + values.chargeState = "Not charging"; + } else if (charge == 0x50) { + values.chargeState = "Charging"; + } else if (charge == 0x60) { + values.chargeState = "Charging completed"; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + values.remove("beacons"); + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + // TBEL division gives a Double: array indexes need an int. + var step = ((b.length - 1) / count).intValue(); + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var hex = bytesToHex(b); + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start] & 0xFF; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + var item = {}; + item.deviceType = deviceType; + item.data = hex.substring(2 * (start + head), 2 * (start + head + dataLength)); + item.rssi = (b[start + step - 1] & 0xFF) - 256; + list.add(item); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = parseBytesToInt(b, 6, 2, true) * 5; + values.heartbeatInterval = (b[8] & 0xFF) * 30; + // Version 0x0525 is V5.25. + var version = bytesToHex(b).substring(18, 22); + var major = version.substring(0, 2); + if (major.startsWith("0")) { + major = major.substring(1); + } + values.deviceFirmwareVersion = "V" + major + "." + version.substring(2); + values.cfmmsg = b[11] & 0xFF; + values.hbcount = b[12] & 0xFF; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = (b[13] & 0xFF) * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + // Rounded to 6 decimals (about 0.1 m), as a double: the float has no more precision. + if ((b[0] & 0x0F) == 0) { + values.longitude = toFixed(parseBytesToFloat(b, 1, 4, true) * 1.0, 6); + values.latitude = toFixed(parseBytesToFloat(b, 5, 4, true) * 1.0, 6); + values.gnssTime = parseBytesToLong(b, 9, 4, true) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = toFixed(temperature, 2); + values.humidity = b[offset + 2] & 0xFF; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (values.history instanceof java.util.List) { + if (metadata.brandId == "lansitec" && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, base64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw["Message type"]; + if (messageType == "Register") { + attributes = values; + values = {}; + } + } else if (values.history instanceof java.util.List) { foreach (record : values.history) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,6 +399,9 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (!attributes.isEmpty()) { + return { profile: profile, attributes: attributes }; +} if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 1cfef4546d..2e675de454 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -2,11 +2,384 @@ // is then that JSON: its keys become telemetry. A Milesight-style history list keeps each record's time. // Such a device gets the profile -, so all devices of one model share it, // or the name the integration metadata gives it under profile.-. Any other device gets LoRaWAN Device. + +// Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units +// ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: +// Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26. +// The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. +var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; + +var LANSITEC_GATEWAYS = ["compact-bluetooth-gateway", "indoor-bluetooth-gateway", "macro-bluetooth-gateway", "solar-bluetooth-gateway"]; + +// Codec key -> datasheet name, per model group. "-" drops the key. +// +// Bluetooth Gateway DataSheet 2.27, 4.4.1 Registration: ADR, Mode (current working LoRaWAN frequency sub-band plan), +// LoRaWAN frequency band, Power (LoRa TX power, dBm), Continuously BLE receiving, DR (LoRaWAN Uplink Data Rate), +// PRI (Position report interval), HB (Heartbeat interval), Bluetooth receiving duration. +// 4.4.2 Heartbeat: RSSI and SNR (LoRa), VER (Firmware version). VOL, SNR and CHGSTAT come from the raw bytes. +// number is the count of reported devices: the beacons list has them. The beacons come from the raw bytes too. +var LANSITEC_GATEWAY_KEYS = { + adr: "adr", mode: "mode", LoRaWANband: "loraWanFrequencyBand", LoRaTxpower: "loraTxPower", + ContinuousReceive: "continuousBleReceiving", dr: "dataRate", pos: "positionReportInterval", + hb: "heartbeatInterval", BLEReceivingDuration: "bluetoothReceivingDuration", + rssi: "loraRssi", snr: "-", ver: "deviceFirmwareVersion", vol: "-", chgstate: "-", number: "-" +}; + +// Badge Tracker DataSheet v5.30, 5.1 Registration: ADR, LoRa TX power, DR, GNSSEN (GNSS enable status), +// POSMODE (Positioning report mode), BLEPRI (Bluetooth Position Report Interval). The codec reads it without the +// GNSSPRI field, so heartbeat, version, CFMMSG, HBCOUNT and fall detection come from the raw bytes. +// 5.2 Heartbeat: Battery (percentage), RSSI (LoRa), GNSSSTATE (Status of the GNSS module), CHGSTATE (Status of +// battery charging). SNR and VIBSTATE come from the raw bytes. +// 5.3 GNSS Position: longitude, latitude and time come from the raw bytes. +// 5.4 Beacon: bytes 1-5 are RFU, the codec reads byte 1 as Vibstate. 5.5 Alarm: 0x01 SOS, 0x02 Fall Detection. +var LANSITEC_BADGE_KEYS = { + ADR: "adr", "Lora Txpower": "loraTxPower", DR: "dataRate", GNSSEN: "gnssEnabled", + "Position mode": "positioningReportMode", "Position period": "bluetoothPositionReportInterval", + "Heartbeat period": "-", "Firmware version": "-", CFMMSG: "-", HBCOUNT: "-", "Fall threshold": "-", + "Battery level": "batteryLevel", RSSI: "loraRssi", SNR: "-", "GPS state": "gnssState", + "Move state": "-", "Charge state": "chargeState", + Longitude: "-", Latitude: "-", Time: "-", Length: "-", Vibstate: "-", "Alarm type": "alarm" +}; + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.1 Register: ADR, MODE (current working scheme), SMODE (data +// scheme supported), POWER (configured transmit power, dBm), DR, REPTIND (report H&T if the value is the same; +// the codec gives "false" for 0 = always report), TH (period of temperature and humidity report), CRC. +// 2.2.2 Periodical temperature and humidity: VER is the version of the message type, not the firmware; +// VOL (battery left, %), RSSI (downlink, detected by the sensor). SNR, temperature and humidity come from the raw bytes. +var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { + adr: "adr", mode: "mode", smode: "smode", LoraTxpower: "loraTxPower", dr: "dataRate", repting: "reptind", + th: "temperatureHumidityReportPeriod", crc: "-", + ver: "-", vol: "batteryLevel", rssi: "loraRssi", snr: "-", temperature: "-", humidity: "-" +}; + +// Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. +// chgstate: the SocketSync gateway has the compact gateway codec byte for byte, which reads CHGSTAT 0x50 as +// "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is its count of reported +// devices: the beacons list has them. +var LANSITEC_CLASH_KEYS = { + rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", + firmwareVersion: "deviceFirmwareVersion", "Firmware version": "deviceFirmwareVersion", + type: "-", "Message type": "-", chgstate: "-", number: "-" +}; + +// Strips the unit. Periods become seconds: the codecs give most of them in seconds, a few in minutes. +function lansitecNumber(v) { + if (!(v instanceof String)) { + return v; + } + foreach (u : LANSITEC_UNITS) { + if (v.endsWith(u)) { + var n = v.substring(0, v.length() - u.length()).trim(); + if (n.matches("-?[0-9]+(\\.[0-9]+)?")) { + return u == "min" ? parseDouble(n) * 60 : parseDouble(n); + } + } + } + return v; +} + +function lansitecLowerStart(part) { + var n = 0; + while (n < part.length() && part.substring(n, n + 1) != part.substring(n, n + 1).toLowerCase()) { + n = n + 1; + } + if (n == part.length()) { + return part.toLowerCase(); + } + if (n > 1) { + return part.substring(0, n - 1).toLowerCase() + part.substring(n - 1); + } + return part.substring(0, 1).toLowerCase() + part.substring(1); +} + +function lansitecCamelCase(key) { + var parts = key.split("[ .]+"); + var result = lansitecLowerStart(parts[0]); + for (var i = 1; i < parts.length; i++) { + var part = lansitecLowerStart(parts[i]); + result = result + part.substring(0, 1).toUpperCase() + part.substring(1); + } + return result; +} + +// Beacon keys: Devicetype1data1, Device1data, dev1major, dev1.major, pos1minor, asset1rssi... +var LANSITEC_BEACON_PREFIXES = ["devicetype1", "devicetype2", "devicetype3", "device", "dev", "pos", "asset"]; +var LANSITEC_BEACON_FIELDS = ["data", "major", "minor", "rssi", "id"]; + +function lansitecBeaconKey(key) { + var k = key.toLowerCase().replace(".", ""); + foreach (p : LANSITEC_BEACON_PREFIXES) { + if (k.startsWith(p)) { + var rest = k.substring(p.length()); + foreach (f : LANSITEC_BEACON_FIELDS) { + if (rest.endsWith(f) && rest.substring(0, rest.length() - f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(0, rest.length() - f.length()), field: f }; + } + if (rest.startsWith(f) && rest.substring(f.length()).matches("[0-9]+")) { + return { group: p, index: rest.substring(f.length()), field: f }; + } + } + } + } + return null; +} + +function lansitecKeyTable(model) { + if (LANSITEC_GATEWAYS.contains(model)) { + return LANSITEC_GATEWAY_KEYS; + } + if (model == "badge-tracker") { + return LANSITEC_BADGE_KEYS; + } + if (model == "temperature-humidity-sensor") { + return LANSITEC_TEMPERATURE_HUMIDITY_KEYS; + } + return null; +} + +function lansitecValues(raw, model) { + var table = lansitecKeyTable(model); + var values = {}; + var beacons = {}; + foreach (key : raw.keySet()) { + var value = raw[key]; + var b = lansitecBeaconKey(key); + if (b != null) { + var id = b.group + b.index; + if (beacons[id] == null) { + beacons[id] = { order: parseInt(b.index) }; + } + if (b.field == "rssi") { + beacons[id].rssi = lansitecNumber(value); + } else if (b.field == "data" || b.field == "major" || b.field == "minor") { + beacons[id][b.field] = value; + } + } else if (table == null && key == "time" && value instanceof String) { + // Container tracker and helmet sensor, no datasheet: their codecs add 8 hours to the GNSS time and wrap + // it in quotes, as the badge tracker codec does with the UTC time of DataSheet v5.30, 5.3. + var gnssDate = new Date(value.replace("\"", "")); + values.gnssTime = gnssDate.getTime() - 8 * 60 * 60 * 1000; + } else if (table != null && table.containsKey(key)) { + var tableName = table[key]; + if (tableName != "-") { + values[tableName] = lansitecNumber(value); + } + } else if (LANSITEC_CLASH_KEYS.containsKey(key)) { + var clashName = LANSITEC_CLASH_KEYS[key]; + if (clashName != "-") { + values[clashName] = lansitecNumber(value); + } + } else { + var codecName = lansitecCamelCase(key); + values[codecName] = lansitecNumber(value); + } + } + if (!beacons.isEmpty()) { + values.beacons = lansitecBeaconList(beacons); + } + return values; +} + +function lansitecBeaconList(beacons) { + var list = []; + for (var i = 1; i <= beacons.size(); i++) { + foreach (id : beacons.keySet()) { + var b = beacons[id]; + if (b.order == i) { + var item = {}; + if (b.data != null) { + item.data = b.data; + } + if (b.major != null) { + item.major = b.major; + item.minor = b.minor; + } + item.rssi = b.rssi; + list.add(item); + } + } + } + // The gateway codec reads the data of every device after the first at a 5-byte step, so it is right only + // for 4-byte data (DataSheet 4.4.4 examples): with longer data only the first device is kept. The gateways + // with a datasheet get their beacons from the raw bytes instead; this is for the SocketSync gateway. + if (list.size() > 1 && list[0].data != null && list[0].data.length() != 8) { + var first = []; + first.add(list[0]); + return first; + } + return list; +} + +// Decoded from the raw bytes by the datasheet where the codec gets it wrong. +function lansitecRawValues(values, b, model) { + var type = (b[0] >> 4) & 0x0F; + if (LANSITEC_GATEWAYS.contains(model)) { + lansitecGatewayRawValues(values, b, model, type); + } else if (model == "badge-tracker") { + lansitecBadgeRawValues(values, b, type); + } else if (model == "temperature-humidity-sensor" && type == 2) { + lansitecTemperatureHumidityRawValues(values, b); + } +} + +// SNR, unit 0.01 dB, -3000 to 3000: signed. The codecs read it unsigned. +function lansitecSnr(b, offset) { + var v = parseBytesToInt(b, offset, 2, true); + if (v > 32767) { + v = v - 65536; + } + return v / 100.0; +} + +// Bluetooth Gateway DataSheet 2.27. +function lansitecGatewayRawValues(values, b, model, type) { + if (type == 1 && b.length >= 9) { + // 4.4.1: Network reconnection interval, unit 5 minutes. The codec does not decode it. + values.networkReconnectionInterval = (b[8] & 0xFF) * 300; + } else if (type == 2 && b.length >= 8) { + // 4.4.2: VOL is the battery voltage (VOL x 0.01 + 1.5 V) on the macro gateway and the battery level (%) on + // the others. The codec decides by the value (<= 100 is %), not by the model. + if (model == "macro-bluetooth-gateway") { + values.batteryVoltage = ((b[1] & 0xFF) + 150) / 100.0; + } else { + values.batteryLevel = b[1] & 0xFF; + } + values.loraSnr = lansitecSnr(b, 3); + // CHGSTAT: 0x00 Not charging, 0x50 Charging, 0x60 Charging completed on the compact and solar gateway, + // always 0x00 on the macro and indoor gateway. The codec reads the low half of the byte. + if (model == "compact-bluetooth-gateway" || model == "solar-bluetooth-gateway") { + var charge = b[7] & 0xFF; + if (charge == 0x00) { + values.chargeState = "Not charging"; + } else if (charge == 0x50) { + values.chargeState = "Charging"; + } else if (charge == 0x60) { + values.chargeState = "Charging completed"; + } + } + } else if (type == 0x8 || type == 0x9 || type == 0xA || type == 0xE) { + values.remove("beacons"); + var beacons = lansitecGatewayBeacons(b, type); + if (beacons != null) { + values.beacons = beacons; + } + } +} + +// 4.4.4-4.4.6: Device Type 1, 2 and 3 messages: Type (bits 3-0: number of devices), then Data (1-31 bytes) and +// RSSI (value - 256, dBm) of each device. Data length is not in the message: it is set by the device report rule +// of the type (4.4.3), so all devices of one message have the same length. The codec reads every device after +// the first at a 5-byte step. +// 4.4.7: Multi-Device Type message: Device Type ID before the data of each device. The data length can differ per +// type, and the message does not say it: decoded only when all devices fit the same length. +function lansitecGatewayBeacons(b, type) { + var count = b[0] & 0x0F; + if (count == 0 || (b.length - 1) % count != 0) { + return null; + } + // TBEL division gives a Double: array indexes need an int. + var step = ((b.length - 1) / count).intValue(); + var head = type == 0xE ? 1 : 0; + var dataLength = step - head - 1; + if (dataLength < 1) { + return null; + } + var hex = bytesToHex(b); + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * step; + var deviceType = type - 7; + if (type == 0xE) { + deviceType = b[start] & 0xFF; + if (deviceType < 1 || deviceType > 3) { + return null; + } + } + var item = {}; + item.deviceType = deviceType; + item.data = hex.substring(2 * (start + head), 2 * (start + head + dataLength)); + item.rssi = (b[start + step - 1] & 0xFF) - 256; + list.add(item); + } + return list; +} + +// Badge Tracker DataSheet v5.30. +function lansitecBadgeRawValues(values, b, type) { + if (type == 1 && b.length == 14) { + // 5.1, 14 bytes: Type, SMODE, Power, Config, BLEPRI (2), GNSSPRI (2), Heartbeat, Version (2), CFMMSG, HBCOUNT, Fall. + // BLEEN (Config bit 0) is not decoded: the field table says BLE enable status and that GNSSEN or BLEEN must + // be enabled, but the example (Config 32) has both 0 and calls bit 0 reserved. + values.gnssPositionReportInterval = parseBytesToInt(b, 6, 2, true) * 5; + values.heartbeatInterval = (b[8] & 0xFF) * 30; + // Version 0x0525 is V5.25. + var version = bytesToHex(b).substring(18, 22); + var major = version.substring(0, 2); + if (major.startsWith("0")) { + major = major.substring(1); + } + values.deviceFirmwareVersion = "V" + major + "." + version.substring(2); + values.cfmmsg = b[11] & 0xFF; + values.hbcount = b[12] & 0xFF; + // Fall detection threshold, unit 0.5 m, 0 means off. + values.fallDetectionThreshold = (b[13] & 0xFF) * 0.5; + } else if (type == 2 && b.length >= 6) { + // 5.2: the SNR field is there since firmware 0x0501. The SNREN bit (Type bits 3-0) is not used: the + // datasheet example 20 64 3E 033E 00 60 00 has SNREN 0 and the SNR 8.3 dB. + values.loraSnr = lansitecSnr(b, 3); + // VIBSTATE: moving state 0-9, 0 means no moving, 9 high acceleration. The codec turns only 0 and 1 into text. + values.movingState = b[5] & 0x0F; + } else if (type == 3 && b.length >= 13) { + // 5.3: Flag (Type bits 3-0) 0x1 means GNSS positioning failed. Longitude and latitude are IEEE 754 floats + // (the codec divides the mantissa by 0x7fffff instead of 2^23), time is UTC seconds (the codec adds 8 hours). + // Rounded to 6 decimals (about 0.1 m), as a double: the float has no more precision. + if ((b[0] & 0x0F) == 0) { + values.longitude = toFixed(parseBytesToFloat(b, 1, 4, true) * 1.0, 6); + values.latitude = toFixed(parseBytesToFloat(b, 5, 4, true) * 1.0, 6); + values.gnssTime = parseBytesToLong(b, 9, 4, true) * 1000; + } + } +} + +// Temperature Humidity Sensor DataSheet 1.26, 2.2.2: VER (Type bits 3-0) 1 means the SNR field is there, 0 means +// it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. +// TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. +function lansitecTemperatureHumidityRawValues(values, b) { + var offset = 3; + if ((b[0] & 0x0F) == 1) { + values.loraSnr = lansitecSnr(b, 3); + offset = 5; + } + if (b.length < offset + 3) { + return; + } + var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; + if ((b[offset] & 0x80) != 0) { + temperature = -temperature; + } + values.temperature = toFixed(temperature, 2); + values.humidity = b[offset + 2] & 0xFF; +} + var values = {}; +var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (values.history instanceof java.util.List) { + if (metadata.brandId == "lansitec" && values.bytes != null) { + // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. + var raw = values.bytes; + values = lansitecValues(raw, metadata.modelId); + if (metadata.data != null) { + lansitecRawValues(values, base64ToBytes(metadata.data), metadata.modelId); + } + // Register is sent after join and holds the device settings: they are attributes, not telemetry. + var messageType = raw.type != null ? raw.type : raw["Message type"]; + if (messageType == "Register") { + attributes = values; + values = {}; + } + } else if (values.history instanceof java.util.List) { foreach (record : values.history) { if (record.timestamp != null) { var ts = record.timestamp * 1000; @@ -26,6 +399,9 @@ if (metadata.brandId != null && metadata.modelId != null) { profile = customProfile; } } +if (!attributes.isEmpty()) { + return { profile: profile, attributes: attributes }; +} if (history.isEmpty()) { return { profile: profile, telemetry: { ts: metadata.ts, values: values } }; } From e57c5167f9fd6af225664e07490e93920060a226 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 12:38:43 +0200 Subject: [PATCH 103/275] fix(iot-hub): the JS default TTN/TTI converter takes the payload as UTF-8 bytes or as characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nashorn passes the payload as characters, so decoding it again as UTF-8 failed on a unit like ℃ and the uplink was lost. Tested with simulated TTN uplinks of the Lansitec datasheet examples, TBEL and JS give the same values. --- ui-ngx/src/assets/converters/js-tti-decoder.raw | 10 ++++++++-- ui-ngx/src/assets/converters/js-ttn-decoder.raw | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index ca1d911e66..cc7223254c 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -452,7 +452,13 @@ if (history.length == 0) { history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; -// The payload is UTF-8: a codec value can have a unit like ℃. +// A codec value can have a unit like ℃. Where the payload comes as UTF-8 bytes, they are decoded; where it already +// comes as characters, the decoding fails and the text is taken as it is. function decodeToJson(payload) { - return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); + var text = String.fromCharCode.apply(String, payload); + try { + text = decodeURIComponent(escape(text)); + } catch (e) { + } + return JSON.parse(text); } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index ca1d911e66..cc7223254c 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -452,7 +452,13 @@ if (history.length == 0) { history.push({ ts: metadata.ts, values: values }); return { profile: profile, telemetry: history }; -// The payload is UTF-8: a codec value can have a unit like ℃. +// A codec value can have a unit like ℃. Where the payload comes as UTF-8 bytes, they are decoded; where it already +// comes as characters, the decoding fails and the text is taken as it is. function decodeToJson(payload) { - return JSON.parse(decodeURIComponent(escape(String.fromCharCode.apply(String, payload)))); + var text = String.fromCharCode.apply(String, payload); + try { + text = decodeURIComponent(escape(text)); + } catch (e) { + } + return JSON.parse(text); } From b26409cae1cc133555b3afed6e684106e8e97b4d Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 13:50:06 +0200 Subject: [PATCH 104/275] test(iot-hub): the default TTN/TTI converters decode Lansitec devices, on 20 uplinks The Things Stack sent (TBEL and JS, TTN and TTI) --- .../controller/ConverterControllerTest.java | 66 + .../things_stack_lansitec_uplinks.json | 1444 +++++++++++++++++ 2 files changed, 1510 insertions(+) create mode 100644 application/src/test/resources/payload/things_stack_lansitec_uplinks.json diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 023397bf0b..317508490f 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -4,6 +4,7 @@ package org.thingsboard.server.controller; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.fasterxml.jackson.databind.node.TextNode; import com.google.common.collect.Streams; @@ -40,6 +41,7 @@ import org.thingsboard.server.exception.DataValidationException; import java.io.IOException; import java.io.InputStream; +import java.math.RoundingMode; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Base64; @@ -98,6 +100,7 @@ public class ConverterControllerTest extends AbstractControllerTest { private static final String DEFAULT_V2_CONFIGURATION = "converters/default-converters-v2-configuration.json"; private static final String THINGS_STACK_REPOSITORY_DEVICE_PAYLOAD = "payload/things_stack_repository_device_payload.json"; private static final String THINGS_STACK_MANUAL_DEVICE_PAYLOAD = "payload/things_stack_manual_device_payload.json"; + private static final String THINGS_STACK_LANSITEC_UPLINKS = "payload/things_stack_lansitec_uplinks.json"; @Before public void beforeTest() throws Exception { @@ -732,6 +735,69 @@ public class ConverterControllerTest extends AbstractControllerTest { } } + // Uplinks of Lansitec devices registered from the LoRaWAN Device Repository, as The Things Stack sent them + // (Simulate uplink), and the keys the default converters decode from them. The keys the integration adds to + // every uplink (rssi, fCnt...) are not listed. TBEL gives integers as doubles, so numbers are compared by value. + private static final Set THINGS_STACK_UPLINK_KEYS = Set.of("fCnt", "data", "rssi", "snr", "channel", "consumedAirtime"); + + @Test + public void testThingsStackDefaultConvertersDecodeLansitecDevices() throws IOException { + JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); + JsonNode cases = JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS)); + for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { + Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); + for (ScriptLanguage scriptLang : ScriptLanguage.values()) { + String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; + for (JsonNode testCase : cases) { + String description = integrationType + " " + scriptLang + " " + testCase.get("name").asText(); + JsonNode result = JacksonUtil.toJsonNode(decode(decoderFileName, testCase.get("uplink").toString(), converter, scriptLang, Map.of())); + JsonNode decoded = testCase.get("decoded"); + assertThat(result.get("profile")).as(description).isEqualTo(decoded.get("profile")); + + JsonNode telemetry = result.get("telemetry"); + if (telemetry != null && telemetry.isArray()) { + telemetry = telemetry.get(telemetry.size() - 1); + } + JsonNode telemetryValues = telemetry != null && telemetry.has("values") ? telemetry.get("values") : JacksonUtil.newObjectNode(); + ObjectNode lansitecTelemetry = JacksonUtil.newObjectNode(); + telemetryValues.fields().forEachRemaining(e -> { + if (!THINGS_STACK_UPLINK_KEYS.contains(e.getKey())) { + lansitecTelemetry.set(e.getKey(), e.getValue()); + } + }); + assertThat(numbersByValue(lansitecTelemetry)).as(description + " telemetry") + .isEqualTo(numbersByValue(decoded.has("telemetry") ? decoded.get("telemetry") : JacksonUtil.newObjectNode())); + + if (decoded.has("attributes")) { + ObjectNode attributes = JacksonUtil.newObjectNode(); + decoded.get("attributes").fieldNames().forEachRemaining(key -> attributes.set(key, result.get("attributes").get(key))); + assertThat(numbersByValue(attributes)).as(description + " attributes").isEqualTo(numbersByValue(decoded.get("attributes"))); + } + } + } + } + } + + private static JsonNode numbersByValue(JsonNode node) { + if (node == null) { + return null; + } + if (node.isNumber()) { + return JacksonUtil.toJsonNode(node.decimalValue().setScale(6, RoundingMode.HALF_UP).stripTrailingZeros().toPlainString()); + } + if (node.isObject()) { + ObjectNode copy = JacksonUtil.newObjectNode(); + node.fields().forEachRemaining(e -> copy.set(e.getKey(), numbersByValue(e.getValue()))); + return copy; + } + if (node.isArray()) { + ArrayNode copy = JacksonUtil.newArrayNode(); + node.forEach(item -> copy.add(numbersByValue(item))); + return copy; + } + return node; + } + private String readResource(String name) throws IOException { return new String(IOUtils.toByteArray(ConverterControllerTest.class.getClassLoader().getResourceAsStream(name)), StandardCharsets.UTF_8); } diff --git a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json new file mode 100644 index 0000000000..5b1aefd85f --- /dev/null +++ b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json @@ -0,0 +1,1444 @@ +[ + { + "name": "gw Registration 4.4.1", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DWZKQC3A6CWMNE64WPEVRC", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:96427a37-7461-40d0-94f4-6e3ea7f275e5" + ], + "received_at": "2026-11-02T10:30:49.835523566Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "FiCgMAA8eAsG", + "decoded_payload": { + "bytes": { + "BLEReceivingDuration": "11sec", + "ContinuousReceive": "Continuous Bluetooth receiving is disabled", + "LoRaTxpower": "20dBm", + "LoRaWANband": "EU868", + "adr": "OFF", + "dr": "DR3", + "hb": "3600sec", + "mode": "EU868", + "pos": "300sec", + "type": "Register" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "attributes": { + "bluetoothReceivingDuration": 11.0, + "continuousBleReceiving": "Continuous Bluetooth receiving is disabled", + "loraTxPower": 20.0, + "loraWanFrequencyBand": "EU868", + "adr": "OFF", + "dataRate": "DR3", + "heartbeatInterval": 3600.0, + "mode": "EU868", + "positionReportInterval": 300.0, + "networkReconnectionInterval": 1800 + } + } + }, + { + "name": "gw Heartbeat 4.4.2 macro", + "uplink": { + "end_device_ids": { + "device_id": "lt-macro-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0002", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DWZT8XP0N2W84G07Q2MMCH", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:1af83ff0-c875-48b0-b388-dc2e2742ef61" + ], + "received_at": "2026-11-02T10:30:56.540968417Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "Ics+Az4AbAA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "3.5300000000000002V" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "macro-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.10", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-macro-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "deviceFirmwareVersion": "VER108", + "batteryVoltage": 3.53, + "loraSnr": 8.3 + } + } + }, + { + "name": "gw Heartbeat CHGSTAT 0x50 (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX00PFS05VHZX420SK9SRW", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:4a7e0719-1b7b-4322-b00f-9619d3c1988b" + ], + "received_at": "2026-11-02T10:31:03.118765152Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+Az4AbFA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "deviceFirmwareVersion": "VER108", + "batteryLevel": 100, + "loraSnr": 8.3, + "chargeState": "Charging" + } + } + }, + { + "name": "gw Heartbeat CHGSTAT 0x60, SNR -5.00 (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-solar-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0003", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX074N1N81HG0PPEWKCC4W", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:08bbcae0-1d84-49ae-af6c-384da48f8212" + ], + "received_at": "2026-11-02T10:31:09.716547098Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gwAbGA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "650.36dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "solar-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.10", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-solar-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "deviceFirmwareVersion": "VER108", + "batteryLevel": 100, + "loraSnr": -5.0, + "chargeState": "Charging completed" + } + } + }, + { + "name": "gw Device Type 1 4.4.4 ex1", + "uplink": { + "end_device_ids": { + "device_id": "lt-indoor-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0001", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX0DHGSWGSMJN6M8JJQM4Q", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:3ff688da-df1b-4138-ac08-7d4e01ce8695" + ], + "received_at": "2026-11-02T10:31:16.271874839Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "gwYaTAACFaq7swYaTAACFaq8tAYaTAACFaq9tQ==", + "decoded_payload": { + "bytes": { + "Devicetype1data1": "061A4C000215AABB", + "Devicetype1data2": "15AABBB3061A4C00", + "Devicetype1data3": "1A4C000215AABCB4", + "Devicetype1rssi1": "-77dBm", + "Devicetype1rssi2": "-76dBm", + "Devicetype1rssi3": "-75dBm", + "number": 3, + "type": "Device Type 1 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "indoor-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-indoor-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 1, + "data": "061A4C000215AABB", + "rssi": -77 + }, + { + "deviceType": 1, + "data": "061A4C000215AABC", + "rssi": -76 + }, + { + "deviceType": 1, + "data": "061A4C000215AABD", + "rssi": -75 + } + ] + } + } + }, + { + "name": "gw Device Type 1 4.4.4 ex2", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX0KYNGRQ053WBK9XC1SP2", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:d999fd28-8d4f-401c-9b7f-95c694d99f72" + ], + "received_at": "2026-11-02T10:31:22.835827277Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "gmSCFpgmU0wCFaq8tGSCFpgmVAYaFaq9tQ==", + "decoded_payload": { + "bytes": { + "Devicetype1data1": "6482169826534C0215AABC", + "Devicetype1data2": "534C0215AABCB464821698", + "Devicetype1rssi1": "-76dBm", + "Devicetype1rssi2": "-75dBm", + "number": 2, + "type": "Device Type 1 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 1, + "data": "6482169826534C0215AABC", + "rssi": -76 + }, + { + "deviceType": 1, + "data": "648216982654061A15AABD", + "rssi": -75 + } + ] + } + } + }, + { + "name": "gw Device Type 2 4.4.5 ex2", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX0TBEF65ED7NRWQ4YFTRQ", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:7f4ac774-4027-4962-a213-e526da66fd38" + ], + "received_at": "2026-11-02T10:31:29.389983893Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "kpgmU0FNLTEwMDAxs5gmVEFNLTEwMDAytA==", + "decoded_payload": { + "bytes": { + "Devicetype2data1": "982653414D2D3130303031", + "Devicetype2data2": "2D3130303031B398265441", + "Devicetype2rssi1": "-77dBm", + "Devicetype2rssi2": "-76dBm", + "number": 2, + "type": "Device Type 2 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 2, + "data": "982653414D2D3130303031", + "rssi": -77 + }, + { + "deviceType": 2, + "data": "982654414D2D3130303032", + "rssi": -76 + } + ] + } + } + }, + { + "name": "gw Device Type 3 4.4.6 ex1", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX10R67RVM4X2QAMR9C8JG", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:68655884-9942-4270-9536-700ee6b20dcf" + ], + "received_at": "2026-11-02T10:31:35.941440062Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "ogAQAwrCABADC8Q=", + "decoded_payload": { + "bytes": { + "Devicetype3data1": "0010030A", + "Devicetype3data2": "0010030B", + "Devicetype3rssi1": "-62dBm", + "Devicetype3rssi2": "-60dBm", + "number": 2, + "type": "Device Type 3 Message" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": { + "beacons": [ + { + "deviceType": 3, + "data": "0010030A", + "rssi": -62 + }, + { + "deviceType": 3, + "data": "0010030B", + "rssi": -60 + } + ] + } + } + }, + { + "name": "gw Multi 4.4.7 (mixed lengths)", + "uplink": { + "end_device_ids": { + "device_id": "lt-compact-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0000", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX174RG6ZG5ZKAHAZTRVG9", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:1aff5046-26ee-42eb-9dfb-d58dafa63116" + ], + "received_at": "2026-11-02T10:31:42.487961636Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "4wEGGkwAAhWqu7MDQU0tMTAwMDGxAgAQAwvF", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "compact-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-compact-bluetooth-gateway", + "telemetry": {} + } + }, + { + "name": "badge Registration 5.1", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX1DGR31039JQYY9Y2XQ8V", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:224ac913-2b83-4efa-8b16-93b3f4fe7a16" + ], + "received_at": "2026-11-02T10:31:49.014979356Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "EACgMgA8AWh4BSUCBQQ=", + "decoded_payload": { + "bytes": { + "ADR": "OFF", + "CFMMSG": "1 Confirmed every 5 Heartbeat", + "DR": "DR3", + "Fall threshold": "1 meter", + "Firmware version": "V68.78", + "GNSSEN": "Disable", + "HBCOUNT": "Disconnect Judgement 37", + "Heartbeat period": "30sec", + "Lora Txpower": "20dBm", + "Message type": "Register", + "Position mode": "Autonomous", + "Position period": "300sec" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "attributes": { + "adr": "OFF", + "dataRate": "DR3", + "gnssEnabled": "Disable", + "loraTxPower": 20.0, + "positioningReportMode": "Autonomous", + "bluetoothPositionReportInterval": 300.0, + "gnssPositionReportInterval": 1800, + "heartbeatInterval": 3600, + "deviceFirmwareVersion": "V5.25", + "cfmmsg": 2, + "hbcount": 5, + "fallDetectionThreshold": 2.0 + } + } + }, + { + "name": "badge Heartbeat 5.2", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX1KWZBE1ANRSZWHFSKQ89", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:29eb6310-c010-4972-897c-d743a41f1d8d" + ], + "received_at": "2026-11-02T10:31:55.550797518Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IGQ+Az4AYAA=", + "decoded_payload": { + "bytes": { + "Battery level": "100%", + "Charge state": "Charge complete", + "GPS state": "GPS OFF", + "Message type": "Heartbeat", + "Move state": "No Move", + "RSSI": "-62dBm", + "SNR": "8.3dB" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "telemetry": { + "batteryLevel": 100.0, + "chargeState": "Charge complete", + "gnssState": "GPS OFF", + "loraRssi": -62.0, + "loraSnr": 8.3, + "movingState": 0 + } + } + }, + { + "name": "badge GNSS 5.3", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX1T9GTJ0BFJRK0D53EHQA", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:bd62cb24-c5cb-4732-a997-c5b6af5a2e47" + ], + "received_at": "2026-11-02T10:32:02.096017163Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MELtisRB/84uZXLoqA==", + "decoded_payload": { + "bytes": { + "Latitude": 31.975675579986046, + "Longitude": 118.77103314054408, + "Message type": "GNSSPosition", + "Time": "\"2023-12-08T17:58:00.000Z\"" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "telemetry": { + "longitude": 118.771027, + "latitude": 31.975674, + "gnssTime": 1702029480000 + } + } + }, + { + "name": "badge GNSS flag failed (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-badge-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0007", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX20NZAK3HTDSA9K12Z4Z6", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:b498fb1f-8894-4ba9-b17c-07c7d0f4018f" + ], + "received_at": "2026-11-02T10:32:08.639160535Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MULtisRB/84uZXLoqA==", + "decoded_payload": { + "bytes": { + "Latitude": 31.975675579986046, + "Longitude": 118.77103314054408, + "Message type": "GNSSPosition", + "Time": "\"2023-12-08T17:58:00.000Z\"" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "badge-tracker", + "hardware_version": "1.0", + "firmware_version": "5.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-badge-tracker", + "telemetry": {} + } + }, + { + "name": "temp-hum VER1 -5.00 dB, -12.34 C, 56 % (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-temperature-humidity-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A000A", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2756RP8VNV5W4TED20QV", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:2f27538b-a738-43f7-b251-82e5b814d2f2" + ], + "received_at": "2026-11-02T10:32:15.269594659Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gyMIjgSNA==", + "decoded_payload": { + "bytes": { + "crc": 4660, + "humidity": "56%", + "rssi": "-62dBm", + "snr": 650.36, + "temperature": "-12.34℃", + "type": "Heartbeat", + "ver": 1, + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "temperature-humidity-sensor", + "hardware_version": "1.0", + "firmware_version": "1.01", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-temperature-humidity-sensor", + "telemetry": { + "loraRssi": -62.0, + "batteryLevel": 100.0, + "loraSnr": -5.0, + "temperature": -12.34, + "humidity": 56 + } + } + }, + { + "name": "temp-hum VER0 21.05 C, 40 % (built)", + "uplink": { + "end_device_ids": { + "device_id": "lt-temperature-humidity-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A000A", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2DHP1PVMSN9XXTFX6G9E", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:d92a9e40-19fc-4d8a-bbed-db57a3285281" + ], + "received_at": "2026-11-02T10:32:21.813476822Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IGQ+FQUoEjQ=", + "decoded_payload": { + "bytes": { + "crc": 0, + "humidity": "52%", + "rssi": "-62dBm", + "snr": 53.81, + "temperature": "40.18℃", + "type": "Heartbeat", + "ver": 0, + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "temperature-humidity-sensor", + "hardware_version": "1.0", + "firmware_version": "1.01", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-temperature-humidity-sensor", + "telemetry": { + "loraRssi": -62.0, + "batteryLevel": 100.0, + "temperature": 21.05, + "humidity": 40 + } + } + }, + { + "name": "container Heartbeat (built from the codec)", + "uplink": { + "end_device_ids": { + "device_id": "lt-container-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0008", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2KYHR69G9SQHNPG7VJ0N", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:e36b265c-edf1-4c2b-8162-4e475b776185" + ], + "received_at": "2026-11-02T10:32:28.369063597Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "Ics+Az4yABkADA==", + "decoded_payload": { + "bytes": { + "gpsstate": "located", + "movement": "60sec", + "rssi": "-62dBm", + "snr": "8.3dB", + "snrinc": "SNR field included ", + "temperature": "25℃", + "type": "Heartbeat", + "vibstate": "2level", + "vol": "3.5300000000000002V" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "container-tracker", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-container-tracker", + "telemetry": { + "gpsstate": "located", + "movement": 60.0, + "loraRssi": -62.0, + "loraSnr": 8.3, + "snrinc": "SNR field included ", + "temperature": 25.0, + "vibstate": 2.0, + "vol": 3.5300000000000002 + } + } + }, + { + "name": "container GNSS (badge 5.3 bytes)", + "uplink": { + "end_device_ids": { + "device_id": "lt-container-tracker", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0008", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX2TBAJT5T5EE3615Y9MAW", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:b64cce74-6708-4423-aa37-eca108e9f585" + ], + "received_at": "2026-11-02T10:32:34.922307414Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MELtisRB/84uZXLoqA==", + "decoded_payload": { + "bytes": { + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "time": "\"2023-12-08T17:58:00.000Z\"", + "type": "GNSSPosition" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "container-tracker", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-container-tracker", + "telemetry": { + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "gnssTime": 1702029480000 + } + } + }, + { + "name": "helmet Heartbeat (built from the codec)", + "uplink": { + "end_device_ids": { + "device_id": "lt-helmet-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0009", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX30QBDSZ7MN6T27M5X0A3", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:177c9fb1-a5aa-40a5-a324-ace0f58979b7" + ], + "received_at": "2026-11-02T10:32:41.450805906Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+Az4BAQIEIA==", + "decoded_payload": { + "bytes": { + "batteryPercentage": "100%", + "bleState": 1, + "chargeTime": "60s", + "gpsState": 1, + "moveState": "2 Move", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "wearTime": "120s" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "helmet-sensor", + "hardware_version": "1.0", + "firmware_version": "0.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-helmet-sensor", + "telemetry": { + "batteryPercentage": 100.0, + "bleState": 1, + "chargeTime": 60.0, + "gpsState": 1, + "moveState": "2 Move", + "loraRssi": -62.0, + "loraSnr": 8.3, + "wearTime": 120.0 + } + } + }, + { + "name": "helmet GNSS (built from the codec)", + "uplink": { + "end_device_ids": { + "device_id": "lt-helmet-sensor", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0009", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX373VN3K38B2H5WR86Z6H", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ed54ebed-8df4-46eb-a656-5769e3c37be8" + ], + "received_at": "2026-11-02T10:32:47.994303232Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "MQABhqBC7YrEQf/OLmVy6Kg=", + "decoded_payload": { + "bytes": { + "gpsState": "gps location success", + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "pressure": 100000, + "time": "\"2023-12-08T17:58:00.000Z\"", + "type": "GNSSPosition", + "wearState": "wear" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "helmet-sensor", + "hardware_version": "1.0", + "firmware_version": "0.25", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-helmet-sensor", + "telemetry": { + "gpsState": "gps location success", + "latitude": 31.975675579986046, + "longitude": 118.77103314054408, + "pressure": 100000, + "gnssTime": 1702029480000, + "wearState": "wear" + } + } + }, + { + "name": "socketsync Heartbeat 0x50", + "uplink": { + "end_device_ids": { + "device_id": "lt-socket-sync-bluetooth-gateway", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0004", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6DX3DFWNQE3WSG9JNFTAG7B", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:ec26c3c1-e861-4d65-b6e7-1206e538a5c7" + ], + "received_at": "2026-11-02T10:32:54.523762899Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+Az4AbFA=", + "decoded_payload": { + "bytes": { + "chgstate": "Not charging", + "rssi": "-62dBm", + "snr": "8.3dB", + "type": "Heartbeat", + "ver": "VER108", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "socket-sync-bluetooth-gateway", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-socket-sync-bluetooth-gateway", + "telemetry": { + "loraRssi": -62.0, + "loraSnr": 8.3, + "ver": "VER108", + "vol": 100.0 + } + } + } +] From 846c022d9d6c6967839509fa7ac60d6c105623b4 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Mon, 2 Nov 2026 14:04:13 +0200 Subject: [PATCH 105/275] fix(iot-hub): a Lansitec frame too short for its message or bytes that are not an object no longer drop the uplink; the Lansitec test also checks the attributes --- .../controller/ConverterControllerTest.java | 103 +++++++++++++----- .../src/assets/converters/js-tti-decoder.raw | 14 ++- .../src/assets/converters/js-ttn-decoder.raw | 14 ++- .../assets/converters/tbel-tti-decoder.raw | 14 ++- .../assets/converters/tbel-ttn-decoder.raw | 14 ++- 5 files changed, 108 insertions(+), 51 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 317508490f..56a9237097 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -737,47 +737,96 @@ public class ConverterControllerTest extends AbstractControllerTest { // Uplinks of Lansitec devices registered from the LoRaWAN Device Repository, as The Things Stack sent them // (Simulate uplink), and the keys the default converters decode from them. The keys the integration adds to - // every uplink (rssi, fCnt...) are not listed. TBEL gives integers as doubles, so numbers are compared by value. + // every uplink (rssi, fCnt, eui...) are not listed. TBEL gives integers as doubles, so numbers are compared by value. private static final Set THINGS_STACK_UPLINK_KEYS = Set.of("fCnt", "data", "rssi", "snr", "channel", "consumedAirtime"); + private static final Set THINGS_STACK_ATTRIBUTE_KEYS = Set.of("eui", "joinEui", "devAddr", "deviceId", "applicationId", "fPort", + "bandwidth", "spreadingFactor", "codeRate", "frequency", "brandId", "modelId", "hardwareVersion", "firmwareVersion", "bandId", + "netId", "tenantId", "clusterId", "clusterAddress"); @Test public void testThingsStackDefaultConvertersDecodeLansitecDevices() throws IOException { - JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); JsonNode cases = JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS)); + forEachThingsStackDefaultConverter((description, decoder) -> { + for (JsonNode testCase : cases) { + String caseDescription = description + " " + testCase.get("name").asText(); + JsonNode result = decoder.apply(testCase.get("uplink")); + JsonNode decoded = testCase.get("decoded"); + assertThat(result.get("profile")).as(caseDescription).isEqualTo(decoded.get("profile")); + assertThat(numbersByValue(withoutKeys(telemetryValues(result), THINGS_STACK_UPLINK_KEYS))).as(caseDescription + " telemetry") + .isEqualTo(numbersByValue(decoded.has("telemetry") ? decoded.get("telemetry") : JacksonUtil.newObjectNode())); + assertThat(numbersByValue(withoutKeys(result.get("attributes"), THINGS_STACK_ATTRIBUTE_KEYS))).as(caseDescription + " attributes") + .isEqualTo(numbersByValue(decoded.has("attributes") ? decoded.get("attributes") : JacksonUtil.newObjectNode())); + } + }); + } + + // A frame too short for its message type, and bytes that are not an object: the uplink is still converted + @Test + public void testThingsStackDefaultConvertersKeepMalformedLansitecUplinks() throws IOException { + JsonNode temperatureHumidity = null; + for (JsonNode testCase : JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS))) { + if (testCase.get("name").asText().startsWith("temp-hum VER1")) { + temperatureHumidity = testCase.get("uplink"); + } + } + ObjectNode shortFrame = temperatureHumidity.deepCopy(); + ((ObjectNode) shortFrame.get("uplink_message")).put("frm_payload", "IQ=="); + ObjectNode bytesList = temperatureHumidity.deepCopy(); + ((ObjectNode) bytesList.get("uplink_message").get("decoded_payload")).set("bytes", JacksonUtil.toJsonNode("[33, 100]")); + + forEachThingsStackDefaultConverter((description, decoder) -> { + JsonNode result = decoder.apply(shortFrame); + assertThat(result.get("profile").asText()).as(description + " short frame").isEqualTo("lansitec-temperature-humidity-sensor"); + assertThat(telemetryValues(result).has("loraSnr")).as(description + " short frame").isFalse(); + + result = decoder.apply(bytesList); + assertThat(result.get("profile").asText()).as(description + " bytes list").isEqualTo("lansitec-temperature-humidity-sensor"); + assertThat(numbersByValue(telemetryValues(result).get("bytes"))).as(description + " bytes list") + .isEqualTo(numbersByValue(JacksonUtil.toJsonNode("[33, 100]"))); + }); + } + + private interface ThingsStackDecoderCheck { + void check(String description, java.util.function.Function decoder) throws IOException; + } + + private void forEachThingsStackDefaultConverter(ThingsStackDecoderCheck check) throws IOException { + JsonNode defaultConfigurations = JacksonUtil.toJsonNode(readResource(DEFAULT_V2_CONFIGURATION)); for (IntegrationType integrationType : List.of(IntegrationType.TTN, IntegrationType.TTI)) { Converter converter = createConverter(defaultConfigurations.get(integrationType.name()), integrationType, 2); for (ScriptLanguage scriptLang : ScriptLanguage.values()) { String decoderFileName = "converters/" + scriptLang.name().toLowerCase() + "-" + integrationType.name().toLowerCase() + "-decoder.raw"; - for (JsonNode testCase : cases) { - String description = integrationType + " " + scriptLang + " " + testCase.get("name").asText(); - JsonNode result = JacksonUtil.toJsonNode(decode(decoderFileName, testCase.get("uplink").toString(), converter, scriptLang, Map.of())); - JsonNode decoded = testCase.get("decoded"); - assertThat(result.get("profile")).as(description).isEqualTo(decoded.get("profile")); - - JsonNode telemetry = result.get("telemetry"); - if (telemetry != null && telemetry.isArray()) { - telemetry = telemetry.get(telemetry.size() - 1); - } - JsonNode telemetryValues = telemetry != null && telemetry.has("values") ? telemetry.get("values") : JacksonUtil.newObjectNode(); - ObjectNode lansitecTelemetry = JacksonUtil.newObjectNode(); - telemetryValues.fields().forEachRemaining(e -> { - if (!THINGS_STACK_UPLINK_KEYS.contains(e.getKey())) { - lansitecTelemetry.set(e.getKey(), e.getValue()); - } - }); - assertThat(numbersByValue(lansitecTelemetry)).as(description + " telemetry") - .isEqualTo(numbersByValue(decoded.has("telemetry") ? decoded.get("telemetry") : JacksonUtil.newObjectNode())); - - if (decoded.has("attributes")) { - ObjectNode attributes = JacksonUtil.newObjectNode(); - decoded.get("attributes").fieldNames().forEachRemaining(key -> attributes.set(key, result.get("attributes").get(key))); - assertThat(numbersByValue(attributes)).as(description + " attributes").isEqualTo(numbersByValue(decoded.get("attributes"))); + check.check(integrationType + " " + scriptLang, uplink -> { + try { + return JacksonUtil.toJsonNode(decode(decoderFileName, uplink.toString(), converter, scriptLang, Map.of())); + } catch (IOException e) { + throw new RuntimeException(e); } - } + }); } } } + private static JsonNode telemetryValues(JsonNode result) { + JsonNode telemetry = result.get("telemetry"); + if (telemetry != null && telemetry.isArray()) { + telemetry = telemetry.get(telemetry.size() - 1); + } + return telemetry != null && telemetry.has("values") ? telemetry.get("values") : JacksonUtil.newObjectNode(); + } + + private static ObjectNode withoutKeys(JsonNode node, Set keys) { + ObjectNode copy = JacksonUtil.newObjectNode(); + if (node != null) { + node.fields().forEachRemaining(e -> { + if (!keys.contains(e.getKey())) { + copy.set(e.getKey(), e.getValue()); + } + }); + } + return copy; + } + private static JsonNode numbersByValue(JsonNode node) { if (node == null) { return null; diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index cc7223254c..e3257d7c4b 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -214,6 +214,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { lansitecGatewayRawValues(values, b, model, type); @@ -389,14 +392,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -410,7 +412,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (metadata.brandId == 'lansitec' && values.bytes != null) { + if (metadata.brandId == 'lansitec' && values.bytes != null && typeof values.bytes === 'object' && !Array.isArray(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index cc7223254c..e3257d7c4b 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -214,6 +214,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.indexOf(model) >= 0) { lansitecGatewayRawValues(values, b, model, type); @@ -389,14 +392,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + b[offset + 1] / 100; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -410,7 +412,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == 'JSON') { values = decodeToJson(payload); - if (metadata.brandId == 'lansitec' && values.bytes != null) { + if (metadata.brandId == 'lansitec' && values.bytes != null && typeof values.bytes === 'object' && !Array.isArray(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 2e675de454..6052f41f4a 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -212,6 +212,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.contains(model)) { lansitecGatewayRawValues(values, b, model, type); @@ -345,14 +348,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -366,7 +368,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (metadata.brandId == "lansitec" && values.bytes != null) { + if (metadata.brandId == "lansitec" && isMap(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 2e675de454..6052f41f4a 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -212,6 +212,9 @@ function lansitecBeaconList(beacons) { // Decoded from the raw bytes by the datasheet where the codec gets it wrong. function lansitecRawValues(values, b, model) { + if (b.length == 0) { + return; + } var type = (b[0] >> 4) & 0x0F; if (LANSITEC_GATEWAYS.contains(model)) { lansitecGatewayRawValues(values, b, model, type); @@ -345,14 +348,13 @@ function lansitecBadgeRawValues(values, b, type) { // it is not and the message is 8 bytes. The codec always reads the SNR, so with VER 0 the next fields are shifted. // TEMP_INT bit 7 is the sign, TEMP_FRA the hundredths. function lansitecTemperatureHumidityRawValues(values, b) { - var offset = 3; - if ((b[0] & 0x0F) == 1) { - values.loraSnr = lansitecSnr(b, 3); - offset = 5; - } + var offset = (b[0] & 0x0F) == 1 ? 5 : 3; if (b.length < offset + 3) { return; } + if (offset == 5) { + values.loraSnr = lansitecSnr(b, 3); + } var temperature = (b[offset] & 0x7F) + (b[offset + 1] & 0xFF) / 100.0; if ((b[offset] & 0x80) != 0) { temperature = -temperature; @@ -366,7 +368,7 @@ var attributes = {}; var history = []; if (metadata.payloadFormat == "JSON") { values = decodeToJson(payload); - if (metadata.brandId == "lansitec" && values.bytes != null) { + if (metadata.brandId == "lansitec" && isMap(values.bytes)) { // The Lansitec codecs put everything in "bytes" and get some fields wrong: see the Lansitec block above. var raw = values.bytes; values = lansitecValues(raw, metadata.modelId); From 6cfe0e0bf4288af0bcce60558c909c9b9cdb41f2 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Mon, 2 Nov 2026 15:21:51 +0200 Subject: [PATCH 106/275] Typed LoRaWAN uplink converters keep string identifiers as strings Values that the network server sends as JSON strings and that the typed converter adds from the unwrapped event (devAddr, eui, joinEui, netId, hardwareVersion, ...) skip the numeric type cast, so devAddr "01020304" stays "01020304". Numbers from the event (fCnt, rssi, snr, ...) and the decoder output are cast as before. JsonConverter gets convertToTelemetryProto/convertToAttributesProto overloads with a set of no-cast keys; the existing methods do not change. PROD-9057 Co-Authored-By: Claude --- .../AbstractUplinkDataConverter.java | 2 +- .../api/converter/DedicatedConverterUtil.java | 30 ++++-- .../DedicatedScriptUplinkDataConverter.java | 7 +- .../api/converter/DedicatedUplinkData.java | 6 ++ ...edicatedScriptUplinkDataConverterTest.java | 100 ++++++++++++++++++ .../server/common/adaptor/JsonConverter.java | 50 +++++---- .../common/adaptor/JsonConverterTest.java | 40 +++++++ 7 files changed, 206 insertions(+), 29 deletions(-) diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java index 599c431468..b0f981f181 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/AbstractUplinkDataConverter.java @@ -54,7 +54,7 @@ public abstract class AbstractUplinkDataConverter extends AbstractDataConverter protected final Map> currentUpdateOnlyTelemetryPerEntity = new ConcurrentHashMap<>(); protected final Map> currentUpdateOnlyAttributesPerEntity = new ConcurrentHashMap<>(); - private ConverterUnwrapper converterUnwrapper; + protected ConverterUnwrapper converterUnwrapper; public AbstractUplinkDataConverter(JsInvokeService jsInvokeService, TbelInvokeService tbelInvokeService, LogSettingsComponent logSettings) { super(jsInvokeService, tbelInvokeService, logSettings); diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java index 0d270db56d..ae3ccf23c3 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedConverterUtil.java @@ -11,7 +11,9 @@ import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.StringUtils; import org.thingsboard.server.common.data.util.CollectionsUtil; +import java.util.Collections; import java.util.HashMap; +import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.function.Function; @@ -31,14 +33,21 @@ public final class DedicatedConverterUtil { } public static DedicatedUplinkData parseUplinkData(DedicatedConverterConfig config, JsonObject src, UplinkMetaData metadata) { + return parseUplinkData(config, src, metadata, Collections.emptySet()); + } + + // String values of unwrapperKeys skip the type cast, so devAddr "01020304" stays a string. + public static DedicatedUplinkData parseUplinkData(DedicatedConverterConfig config, JsonObject src, UplinkMetaData metadata, Set unwrapperKeys) { Map kvMap = new HashMap<>(metadata.getKvMap()); + Set telemetryNoCastKeys = new HashSet<>(); + Set attributesNoCastKeys = new HashSet<>(); JsonElement telemetry; if (src.has(TELEMETRY)) { telemetry = src.get(TELEMETRY); if (telemetry.isJsonArray()) { - JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry()); + JsonObject telemetryFromMetadata = addKvs(new JsonObject(), kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); if (!telemetryFromMetadata.isEmpty()) { telemetry.getAsJsonArray().add(telemetryFromMetadata); } @@ -46,13 +55,13 @@ public final class DedicatedConverterUtil { var obj = telemetry.getAsJsonObject(); if (obj.has(VALUES)) { var values = obj.get(VALUES).getAsJsonObject(); - addKvs(values, kvMap, config.getTelemetry()); + addKvs(values, kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); } else { - addKvs(obj, kvMap, config.getTelemetry()); + addKvs(obj, kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); } } } else { - telemetry = addKvs(new JsonObject(), kvMap, config.getTelemetry()); + telemetry = addKvs(new JsonObject(), kvMap, config.getTelemetry(), unwrapperKeys, telemetryNoCastKeys); } JsonObject attributes; @@ -62,7 +71,7 @@ public final class DedicatedConverterUtil { attributes = new JsonObject(); } - addKvs(attributes, kvMap, config.getAttributes()); + addKvs(attributes, kvMap, config.getAttributes(), unwrapperKeys, attributesNoCastKeys); EntityType entityType = getProperty(src, "type", EntityType::valueOf, config::getType); String entityName = getProperty(src, "name", () -> processTemplate(config.getName(), kvMap)); @@ -83,6 +92,8 @@ public final class DedicatedConverterUtil { .group(group) .telemetry(telemetry) .attributes(attributes) + .telemetryNoCastKeys(telemetryNoCastKeys) + .attributesNoCastKeys(attributesNoCastKeys) .build(); } @@ -101,11 +112,16 @@ public final class DedicatedConverterUtil { return defaultValue.get(); } - private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys) { + private static JsonObject addKvs(JsonObject kvsObj, Map kvMap, Set keys, Set unwrapperKeys, Set noCastKeys) { if (CollectionsUtil.isNotEmpty(keys) && !kvMap.isEmpty()) { kvMap.entrySet().stream() .filter(e -> keys.contains(e.getKey()) && !kvsObj.has(e.getKey())) - .forEach(e -> kvsObj.add(e.getKey(), GSON.toJsonTree(e.getValue()))); + .forEach(e -> { + kvsObj.add(e.getKey(), GSON.toJsonTree(e.getValue())); + if (e.getValue() instanceof String && unwrapperKeys.contains(e.getKey())) { + noCastKeys.add(e.getKey()); + } + }); } return kvsObj; } diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java index 8098512b21..7f99ff891f 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverter.java @@ -11,6 +11,7 @@ import org.thingsboard.integration.api.util.LogSettingsComponent; import org.thingsboard.script.api.ScriptInvokeService; import org.thingsboard.script.api.js.JsInvokeService; import org.thingsboard.script.api.tbel.TbelInvokeService; +import org.thingsboard.server.common.adaptor.JsonConverter; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.converter.Converter; import org.thingsboard.server.common.data.script.ScriptLanguage; @@ -58,7 +59,7 @@ public class DedicatedScriptUplinkDataConverter extends AbstractUplinkDataConver @Override protected UplinkData parseUplinkData(JsonObject src, UplinkMetaData metadata) { - DedicatedUplinkData uplinkData = DedicatedConverterUtil.parseUplinkData(config, src, metadata); + DedicatedUplinkData uplinkData = DedicatedConverterUtil.parseUplinkData(config, src, metadata, converterUnwrapper.getKeys()); boolean isAsset = uplinkData.getEntityType() == EntityType.ASSET; @@ -95,13 +96,13 @@ public class DedicatedScriptUplinkDataConverter extends AbstractUplinkDataConver Map currentOnValueTelemetryUpdate = this.currentUpdateOnlyTelemetryPerEntity.getOrDefault(name, new ConcurrentHashMap<>()); Map currentOnValueAttributesUpdate = this.currentUpdateOnlyAttributesPerEntity.getOrDefault(name, new ConcurrentHashMap<>()); - TransportProtos.PostTelemetryMsg parsedTelemetry = parseTelemetry(uplinkData.getTelemetryJson()); + TransportProtos.PostTelemetryMsg parsedTelemetry = JsonConverter.convertToTelemetryProto(uplinkData.getTelemetryJson(), uplinkData.getTelemetryNoCastKeys()); if (!this.updateOnlyKeys.isEmpty()) { parsedTelemetry = filterTelemetryOnKeyValueUpdateAndUpdateMap(parsedTelemetry, currentOnValueTelemetryUpdate); } builder.telemetry(parsedTelemetry); - TransportProtos.PostAttributeMsg parsedAttributes = parseAttributesUpdate(uplinkData.getAttributesJson()); + TransportProtos.PostAttributeMsg parsedAttributes = JsonConverter.convertToAttributesProto(uplinkData.getAttributesJson(), uplinkData.getAttributesNoCastKeys()); if (!this.updateOnlyKeys.isEmpty()) { parsedAttributes = filterAttributeOnKeyValueUpdateAndUpdateMap(parsedAttributes, currentOnValueAttributesUpdate); } diff --git a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java index be46b58539..f0fe325bc6 100644 --- a/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java +++ b/common/integration/integration-api/src/main/java/org/thingsboard/integration/api/converter/DedicatedUplinkData.java @@ -10,6 +10,8 @@ import lombok.Builder; import lombok.Data; import org.thingsboard.server.common.data.EntityType; +import java.util.Set; + @Builder @Data @JsonInclude(JsonInclude.Include.NON_NULL) @@ -22,6 +24,10 @@ public class DedicatedUplinkData { private final String group; private final JsonElement telemetry; private final JsonElement attributes; + @JsonIgnore + private final Set telemetryNoCastKeys; + @JsonIgnore + private final Set attributesNoCastKeys; @JsonRawValue public String getTelemetry() { diff --git a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java index 155b9ac6c8..60a41cae3b 100644 --- a/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java +++ b/common/integration/integration-api/src/test/java/org/thingsboard/integration/api/converter/DedicatedScriptUplinkDataConverterTest.java @@ -2,33 +2,102 @@ // SPDX-License-Identifier: BUSL-1.1 package org.thingsboard.integration.api.converter; +import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.ValueSource; import org.springframework.test.util.ReflectionTestUtils; +import org.thingsboard.common.util.JacksonUtil; +import org.thingsboard.integration.api.converter.wrapper.ConverterUnwrapper; +import org.thingsboard.integration.api.converter.wrapper.ThingsStackConverterUnwrapper; import org.thingsboard.integration.api.data.ContentType; import org.thingsboard.integration.api.data.UplinkData; import org.thingsboard.integration.api.data.UplinkMetaData; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.gen.transport.TransportProtos; +import java.nio.file.Files; +import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; +import java.util.stream.Collectors; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; +import static org.thingsboard.server.gen.transport.TransportProtos.KeyValueType.DOUBLE_V; +import static org.thingsboard.server.gen.transport.TransportProtos.KeyValueType.LONG_V; +import static org.thingsboard.server.gen.transport.TransportProtos.KeyValueType.STRING_V; public class DedicatedScriptUplinkDataConverterTest { private DedicatedScriptUplinkDataConverter uplinkDataConverter; + private final ConverterUnwrapper thingsStackUnwrapper = new ThingsStackConverterUnwrapper(); @BeforeEach public void startup() { uplinkDataConverter = new DedicatedScriptUplinkDataConverter(any(), any(), any()); + ReflectionTestUtils.setField(uplinkDataConverter, "converterUnwrapper", thingsStackUnwrapper); + } + + @ParameterizedTest + @ValueSource(strings = {"01020304", "01a44d4c"}) + public void parseUplinkDataKeepsStringIdentifiersInAttributesTest(String devAddr) throws Exception { + setConfig(Set.of("devAddr", "eui", "fCnt", "rssi", "snr"), null); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(new JsonObject(), unwrapThingsStack(devAddr)); + + Map attributes = toMap(uplink.getAttributesUpdate().getKvList()); + assertKv(attributes.get("devAddr"), STRING_V, devAddr); + assertKv(attributes.get("eui"), STRING_V, "1000000000000001"); + assertKv(attributes.get("fCnt"), LONG_V, 101L); + assertKv(attributes.get("rssi"), LONG_V, -22L); + assertKv(attributes.get("snr"), DOUBLE_V, 11.0); + } + + @ParameterizedTest + @ValueSource(strings = {"01020304", "01a44d4c"}) + public void parseUplinkDataKeepsStringIdentifiersInTelemetryTest(String devAddr) throws Exception { + setConfig(Set.of("eui"), Set.of("devAddr", "fCnt", "rssi", "snr")); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(new JsonObject(), unwrapThingsStack(devAddr)); + + Map telemetry = toMap(uplink.getTelemetry().getTsKvList(0).getKvList()); + assertKv(telemetry.get("devAddr"), STRING_V, devAddr); + assertKv(telemetry.get("fCnt"), LONG_V, 101L); + assertKv(telemetry.get("rssi"), LONG_V, -22L); + assertKv(telemetry.get("snr"), DOUBLE_V, 11.0); + assertKv(toMap(uplink.getAttributesUpdate().getKvList()).get("eui"), STRING_V, "1000000000000001"); + } + + @Test + public void parseUplinkDataKeepsNumericIdentifierAsNumberTest() throws Exception { + setConfig(Set.of("devAddr"), null); + + ObjectNode payload = JacksonUtil.fromString(readPayloadFromFile("ThingsStackPayload.json"), ObjectNode.class); + UplinkMetaData unwrapped = thingsStackUnwrapper.unwrap(JacksonUtil.writeValueAsBytes(payload), new UplinkMetaData<>(ContentType.JSON, Map.of())).getSecond(); + UplinkData uplink = uplinkDataConverter.parseUplinkData(new JsonObject(), unwrapped); + + assertKv(toMap(uplink.getAttributesUpdate().getKvList()).get("devAddr"), LONG_V, 27000020L); + } + + @Test + public void parseUplinkDataCastsDecoderOutputTest() throws Exception { + setConfig(Set.of("devAddr"), null); + + JsonObject attributes = new JsonObject(); + attributes.addProperty("devAddr", "01020304"); + JsonObject uplinkJson = new JsonObject(); + uplinkJson.add("attributes", attributes); + + UplinkData uplink = uplinkDataConverter.parseUplinkData(uplinkJson, unwrapThingsStack("05060708")); + + assertKv(toMap(uplink.getAttributesUpdate().getKvList()).get("devAddr"), LONG_V, 1020304L); } @Test @@ -206,6 +275,37 @@ public class DedicatedScriptUplinkDataConverterTest { assertEquals("BE7A123456789", uplink.getDeviceLabel()); } + private void setConfig(Set attributes, Set telemetry) { + DedicatedConverterConfig config = new DedicatedConverterConfig(); + config.setType(EntityType.DEVICE); + config.setName("Device $eui"); + config.setAttributes(attributes); + config.setTelemetry(telemetry); + ReflectionTestUtils.setField(uplinkDataConverter, "config", config); + } + + private UplinkMetaData unwrapThingsStack(String devAddr) throws Exception { + ObjectNode payload = JacksonUtil.fromString(readPayloadFromFile("ThingsStackPayload.json"), ObjectNode.class); + ObjectNode endDeviceIds = (ObjectNode) payload.get("end_device_ids"); + endDeviceIds.put("dev_addr", devAddr); + endDeviceIds.put("dev_eui", "1000000000000001"); + return thingsStackUnwrapper.unwrap(JacksonUtil.writeValueAsBytes(payload), new UplinkMetaData<>(ContentType.JSON, Map.of())).getSecond(); + } + + private Map toMap(List kvList) { + return kvList.stream().collect(Collectors.toMap(TransportProtos.KeyValueProto::getKey, kv -> kv)); + } + + private void assertKv(TransportProtos.KeyValueProto kv, TransportProtos.KeyValueType type, Object value) { + assertEquals(type, kv.getType()); + assertEquals(value, getValue(kv)); + } + + private String readPayloadFromFile(String fileName) throws Exception { + var uri = this.getClass().getClassLoader().getResource(fileName).toURI(); + return Files.readString(Path.of(uri)); + } + private Object getValue(TransportProtos.KeyValueProto kv) { return switch (kv.getType()) { case STRING_V -> kv.getStringV(); diff --git a/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java b/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java index f70769dd80..cecb4fb4ed 100644 --- a/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java +++ b/common/proto/src/main/java/org/thingsboard/server/common/adaptor/JsonConverter.java @@ -51,10 +51,12 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; +import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; +import java.util.Set; import java.util.TreeMap; import java.util.function.Consumer; @@ -70,7 +72,7 @@ public class JsonConverter { public static PostTelemetryMsg convertToTelemetryProto(JsonElement jsonElement, long ts) throws JsonSyntaxException { PostTelemetryMsg.Builder builder = PostTelemetryMsg.newBuilder(); - convertToTelemetry(jsonElement, ts, null, builder); + convertToTelemetry(jsonElement, ts, null, builder, Collections.emptySet()); return builder.build(); } @@ -78,6 +80,13 @@ public class JsonConverter { return convertToTelemetryProto(jsonElement, System.currentTimeMillis()); } + // String values of noCastKeys stay strings even when type cast is enabled. + public static PostTelemetryMsg convertToTelemetryProto(JsonElement jsonElement, Set noCastKeys) throws JsonSyntaxException { + PostTelemetryMsg.Builder builder = PostTelemetryMsg.newBuilder(); + convertToTelemetry(jsonElement, System.currentTimeMillis(), null, builder, noCastKeys); + return builder.build(); + } + public static TbPair> convertToGatewayTelemetry(JsonElement jsonElement, long systemTs) { List metadataResult = null; PostTelemetryMsg.Builder builder = PostTelemetryMsg.newBuilder(); @@ -102,7 +111,7 @@ public class JsonConverter { throw new JsonSyntaxException("Can't parse gateway metadata: " + metadataElem); } } - parseObject(systemTs, null, builder, jo); + parseObject(systemTs, null, builder, jo, Collections.emptySet()); } else { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + je); } @@ -121,13 +130,13 @@ public class JsonConverter { return element; } - private static void convertToTelemetry(JsonElement jsonElement, long systemTs, Map> result, PostTelemetryMsg.Builder builder) { + private static void convertToTelemetry(JsonElement jsonElement, long systemTs, Map> result, PostTelemetryMsg.Builder builder, Set noCastKeys) { if (jsonElement.isJsonObject()) { - parseObject(systemTs, result, builder, jsonElement.getAsJsonObject()); + parseObject(systemTs, result, builder, jsonElement.getAsJsonObject(), noCastKeys); } else if (jsonElement.isJsonArray()) { jsonElement.getAsJsonArray().forEach(je -> { if (je.isJsonObject()) { - parseObject(systemTs, result, builder, je.getAsJsonObject()); + parseObject(systemTs, result, builder, je.getAsJsonObject(), noCastKeys); } else { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + je); } @@ -137,12 +146,12 @@ public class JsonConverter { } } - private static void parseObject(long systemTs, Map> result, PostTelemetryMsg.Builder builder, JsonObject jo) { + private static void parseObject(long systemTs, Map> result, PostTelemetryMsg.Builder builder, JsonObject jo, Set noCastKeys) { try { if (result != null) { parseObject(result, systemTs, jo); } else { - parseObject(builder, systemTs, jo); + parseObject(builder, systemTs, jo, noCastKeys); } } catch (Exception e) { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + jo); @@ -185,9 +194,14 @@ public class JsonConverter { } public static PostAttributeMsg convertToAttributesProto(JsonElement jsonObject) throws JsonSyntaxException { + return convertToAttributesProto(jsonObject, Collections.emptySet()); + } + + // String values of noCastKeys stay strings even when type cast is enabled. + public static PostAttributeMsg convertToAttributesProto(JsonElement jsonObject, Set noCastKeys) throws JsonSyntaxException { if (jsonObject.isJsonObject()) { PostAttributeMsg.Builder result = PostAttributeMsg.newBuilder(); - List keyValueList = parseProtoValues(jsonObject.getAsJsonObject()); + List keyValueList = parseProtoValues(jsonObject.getAsJsonObject(), noCastKeys); result.addAllKv(keyValueList); return result.build(); } else { @@ -205,22 +219,22 @@ public class JsonConverter { return result; } - private static void parseObject(PostTelemetryMsg.Builder builder, long systemTs, JsonObject jo) { + private static void parseObject(PostTelemetryMsg.Builder builder, long systemTs, JsonObject jo, Set noCastKeys) { if (jo.has("ts") && jo.has("values")) { - parseWithTs(builder, jo); + parseWithTs(builder, jo, noCastKeys); } else { - parseWithoutTs(builder, systemTs, jo); + parseWithoutTs(builder, systemTs, jo, noCastKeys); } } - private static void parseWithoutTs(PostTelemetryMsg.Builder request, long systemTs, JsonObject jo) { + private static void parseWithoutTs(PostTelemetryMsg.Builder request, long systemTs, JsonObject jo, Set noCastKeys) { TsKvListProto.Builder builder = TsKvListProto.newBuilder(); builder.setTs(systemTs); - builder.addAllKv(parseProtoValues(jo)); + builder.addAllKv(parseProtoValues(jo, noCastKeys)); request.addTsKvList(builder.build()); } - private static void parseWithTs(PostTelemetryMsg.Builder request, JsonObject jo) { + private static void parseWithTs(PostTelemetryMsg.Builder request, JsonObject jo, Set noCastKeys) { JsonElement tsJsonElement = jo.get("ts"); if (tsJsonElement.isJsonNull()) { throw new JsonSyntaxException(CAN_T_PARSE_VALUE + "ts is null!"); @@ -229,12 +243,12 @@ public class JsonConverter { } else { TsKvListProto.Builder builder = TsKvListProto.newBuilder(); builder.setTs(tsJsonElement.getAsLong()); - builder.addAllKv(parseProtoValues(jo.get("values").getAsJsonObject())); + builder.addAllKv(parseProtoValues(jo.get("values").getAsJsonObject(), noCastKeys)); request.addTsKvList(builder.build()); } } - private static List parseProtoValues(JsonObject valuesObject) { + private static List parseProtoValues(JsonObject valuesObject, Set noCastKeys) { List result = new ArrayList<>(); for (Entry valueEntry : valuesObject.entrySet()) { JsonElement element = valueEntry.getValue(); @@ -245,7 +259,7 @@ public class JsonConverter { String message = String.format("String value length [%d] for key [%s] is greater than maximum allowed [%d]", value.getAsString().length(), valueEntry.getKey(), maxStringValueLength); throw new JsonSyntaxException(message); } - if (isTypeCastEnabled && NumberUtils.isParsable(value.getAsString())) { + if (isTypeCastEnabled && !noCastKeys.contains(valueEntry.getKey()) && NumberUtils.isParsable(value.getAsString())) { try { result.add(buildNumericKeyValueProto(value, valueEntry.getKey())); } catch (RuntimeException th) { @@ -669,7 +683,7 @@ public class JsonConverter { public static Map> convertToTelemetry(JsonElement jsonElement, long systemTs, boolean sorted) throws JsonSyntaxException { Map> result = sorted ? new TreeMap<>() : new HashMap<>(); - convertToTelemetry(jsonElement, systemTs, result, null); + convertToTelemetry(jsonElement, systemTs, result, null, Collections.emptySet()); return result; } diff --git a/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java b/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java index 3729ad3d39..13f49c785e 100644 --- a/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java +++ b/common/proto/src/test/java/org/thingsboard/server/common/adaptor/JsonConverterTest.java @@ -9,6 +9,10 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.parallel.Isolated; +import org.thingsboard.server.gen.transport.TransportProtos.KeyValueProto; +import org.thingsboard.server.gen.transport.TransportProtos.KeyValueType; + +import java.util.Set; @Isolated("JsonConverter static settings being modified") public class JsonConverterTest { @@ -94,4 +98,40 @@ public class JsonConverterTest { }); } + @Test + public void testParseAttributesProtoWithNoCastKeys() { + var json = JsonParser.parseString("{\"devAddr\": \"01020304\", \"fCnt\": \"42\", \"rssi\": -110}"); + var kvList = JsonConverter.convertToAttributesProto(json, Set.of("devAddr")).getKvList(); + assertKv(kvList.get(0), KeyValueType.STRING_V, "01020304"); + assertKv(kvList.get(1), KeyValueType.LONG_V, "42"); + assertKv(kvList.get(2), KeyValueType.LONG_V, "-110"); + } + + @Test + public void testParseTelemetryProtoWithNoCastKeys() { + var json = JsonParser.parseString("{\"ts\": 1000, \"values\": {\"eui\": \"1000000000000001\", \"fCnt\": \"42\", \"snr\": 9.5}}"); + var tsKvList = JsonConverter.convertToTelemetryProto(json, Set.of("eui")).getTsKvList(0); + Assertions.assertEquals(1000L, tsKvList.getTs()); + assertKv(tsKvList.getKv(0), KeyValueType.STRING_V, "1000000000000001"); + assertKv(tsKvList.getKv(1), KeyValueType.LONG_V, "42"); + assertKv(tsKvList.getKv(2), KeyValueType.DOUBLE_V, "9.5"); + } + + @Test + public void testParseAttributesProtoCastsNumericStrings() { + var kvList = JsonConverter.convertToAttributesProto(JsonParser.parseString("{\"devAddr\": \"01020304\"}")).getKvList(); + assertKv(kvList.get(0), KeyValueType.LONG_V, "1020304"); + } + + private static void assertKv(KeyValueProto kv, KeyValueType type, String value) { + Assertions.assertEquals(type, kv.getType()); + String actual = switch (type) { + case STRING_V -> kv.getStringV(); + case LONG_V -> String.valueOf(kv.getLongV()); + case DOUBLE_V -> String.valueOf(kv.getDoubleV()); + default -> throw new IllegalArgumentException("Unexpected type: " + type); + }; + Assertions.assertEquals(value, actual); + } + } From d9e1f62204660bedaa99884143467e65b780a555 Mon Sep 17 00:00:00 2001 From: dshvaika Date: Mon, 2 Nov 2026 15:47:18 +0200 Subject: [PATCH 107/275] IoT Hub device package delete removes its entries from a kept integration's metadata A device package's install state records, per INTEGRATION step, the metadata entries the step added to the integration (e.g. profile.milesight-iot-am308 -> the chosen profile name), both at install (UI) and on update (server). When the package is deleted and its integration is kept, because other installed packages use it or the package took it as it was, those entries are removed from the integration's configuration.metadata. Entries another installed package also recorded stay, and the integration is not saved when none of the package's entries is present. The integration checksum already leaves metadata out, so the remaining packages don't see the integration as changed. Co-Authored-By: Claude --- .../DefaultDevicePackageUpdateService.java | 19 +++- .../service/iot_hub/DefaultIotHubService.java | 67 ++++++++++++-- ...DefaultDevicePackageUpdateServiceTest.java | 6 +- .../iot_hub/DefaultIotHubServiceTest.java | 88 +++++++++++++++++++ .../device-install-dialog.component.ts | 9 +- 5 files changed, 180 insertions(+), 9 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 2bbed29280..159014bdcd 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -293,7 +293,6 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i List saved = new ArrayList<>(); List connectorSteps = new ArrayList<>(); List attributes = new ArrayList<>(); - // The checksums of the entities this update overwrote, which other packages may record too DashboardId dashboardId = null; for (DeviceUpdateRequest.Step step : request.getSteps()) { @@ -325,6 +324,10 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i if (step.isDefaultConverter()) { state.put("defaultConverter", true); } + ObjectNode metadata = addedMetadata(step.getMetadata()); + if (metadata != null) { + state.set("metadata", metadata); + } installState.put(step.getId() != null ? step.getId() : step.getName(), state); if (!"use-existing".equals(resolution)) { stepEntityIds.add(result.entityId()); @@ -612,6 +615,20 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i return savedResult(tenantId, result.getId(), result, step, integrationOutput(result)); } + /** The entries the step adds to the integration's metadata, which a delete of the package removes; null when none. */ + private static ObjectNode addedMetadata(JsonNode entries) { + if (entries == null || !entries.isObject()) { + return null; + } + ObjectNode added = JacksonUtil.newObjectNode(); + entries.fields().forEachRemaining(entry -> { + if (entry.getValue() != null && !entry.getValue().isNull()) { + added.put(entry.getKey(), entry.getValue().asText()); + } + }); + return added.isEmpty() ? null : added; + } + /** * A copy of the integration with the step's metadata entries merged into its metadata; null when that changes nothing. * A copy: the integration may be the cache's own instance, which a rolled back update must not change. diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 6968cbd00f..c071bc61b6 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -4,6 +4,7 @@ package org.thingsboard.server.service.iot_hub; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -32,6 +33,7 @@ import org.thingsboard.server.common.data.id.IntegrationId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.RuleChainId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.iot_hub.AlarmRuleInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.CalculatedFieldInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; @@ -715,6 +717,7 @@ public class DefaultIotHubService implements IotHubService { * Deletes what a device package created, except the entities another installed device package * also uses (e.g. an integration it took over with Overwrite): deleting those would break that package, * and the ones the user had before and the package took as they were (use existing). + * A kept integration loses the metadata entries the package added. */ private void deleteDevicePackageEntities(TenantId tenantId, IotHubInstalledItemId installedItemId, DeviceInstalledItemDescriptor descriptor, SecurityUser user) { @@ -723,17 +726,20 @@ public class DefaultIotHubService implements IotHubService { return; } Set usedExisting = usedExistingIds(descriptor); - Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); + List otherPackages = new ArrayList<>(); + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId, otherPackages); List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); for (EntityId entityId : reversed) { if (usedExisting.contains(entityId.getId())) { log.info("[{}] Kept {} {}: the package took it as it was", tenantId, entityId.getEntityType(), entityId.getId()); + removeIntegrationMetadata(tenantId, entityId, descriptor, otherPackages); continue; } Set usedBy = usedByOtherPackages.get(entityId.getId()); if (usedBy != null) { log.info("[{}] Kept {} {}: installed device packages {} use it", tenantId, entityId.getEntityType(), entityId.getId(), usedBy); + removeIntegrationMetadata(tenantId, entityId, descriptor, otherPackages); continue; } try { @@ -744,6 +750,52 @@ public class DefaultIotHubService implements IotHubService { } } + /** + * Removes from the kept integration's metadata the entries the package added, e.g. the profile name its converter + * reads, so that a later package of that model gets the default profile again. An entry another installed package + * also added stays. + */ + private void removeIntegrationMetadata(TenantId tenantId, EntityId entityId, DeviceInstalledItemDescriptor descriptor, + List otherPackages) { + if (entityId.getEntityType() != EntityType.INTEGRATION) { + return; + } + Set keys = addedMetadataKeys(descriptor, entityId.getId()); + otherPackages.forEach(other -> keys.removeAll(addedMetadataKeys(other, entityId.getId()))); + if (keys.isEmpty()) { + return; + } + try { + Integration integration = integrationService.findIntegrationById(tenantId, new IntegrationId(entityId.getId())); + if (integration == null || !(integration.getConfiguration() != null + && integration.getConfiguration().get("metadata") instanceof ObjectNode metadata) + || keys.stream().noneMatch(metadata::has)) { + return; + } + // A copy: the integration read may be the cache's own instance + Integration copy = new Integration(integration); + ((ObjectNode) copy.getConfiguration().get("metadata")).remove(keys); + integrationService.saveIntegration(copy); + log.info("[{}] Removed metadata entries {} of the deleted device package from integration {}", tenantId, keys, entityId.getId()); + } catch (Exception e) { + log.error("[{}] Failed to remove the deleted device package's metadata entries from integration {}", tenantId, entityId.getId(), e); + } + } + + /** The metadata entries the package's steps on the integration added, as its install state records them. */ + private static Set addedMetadataKeys(DeviceInstalledItemDescriptor descriptor, UUID integrationId) { + Set keys = new HashSet<>(); + if (descriptor.getInstallState() != null) { + descriptor.getInstallState().values().forEach(state -> { + if (state != null && integrationId.toString().equals(state.path("entityOutput").path("id").asText()) + && state.get("metadata") instanceof ObjectNode metadata) { + metadata.fieldNames().forEachRemaining(keys::add); + } + }); + } + return keys; + } + /** The delete dialog shows these before the user confirms, so they must match what {@link #deleteDevicePackageEntities} keeps. */ @Override public InstalledItemKeptEntities findKeptEntities(TenantId tenantId, IotHubInstalledItemId installedItemId) { @@ -756,7 +808,7 @@ public class DefaultIotHubService implements IotHubService { int usedExistingCount = 0; if (installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { Set usedExisting = usedExistingIds(dd); - Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId); + Map> usedByOtherPackages = findEntitiesOfOtherDevicePackages(tenantId, installedItemId, new ArrayList<>()); for (EntityId entityId : dd.getCreatedEntityIds()) { Set usedBy = usedByOtherPackages.get(entityId.getId()); boolean taken = usedExisting.contains(entityId.getId()); @@ -783,15 +835,20 @@ public class DefaultIotHubService implements IotHubService { return ids; } - private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId) { + /** The other installed device packages' entities, by id; the packages' descriptors go to {@code otherPackages}. */ + private Map> findEntitiesOfOtherDevicePackages(TenantId tenantId, IotHubInstalledItemId installedItemId, + List otherPackages) { Map> usedBy = new HashMap<>(); PageLink pageLink = new PageLink(100); PageData page; do { page = iotHubInstalledItemService.findByTenantId(tenantId, List.of("DEVICE"), null, pageLink); for (IotHubInstalledItem item : page.getData()) { - if (!item.getId().equals(installedItemId) - && item.getDescriptor() instanceof DeviceInstalledItemDescriptor dd && dd.getCreatedEntityIds() != null) { + if (item.getId().equals(installedItemId) || !(item.getDescriptor() instanceof DeviceInstalledItemDescriptor dd)) { + continue; + } + otherPackages.add(dd); + if (dd.getCreatedEntityIds() != null) { dd.getCreatedEntityIds().forEach(id -> usedBy.computeIfAbsent(id.getId(), k -> new HashSet<>()).add(item.getId())); } } diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 062eabf80f..57b11a2076 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -395,8 +395,10 @@ class DefaultDevicePackageUpdateServiceTest { // A copy is saved: the integration read, possibly the cache's own instance, stays as it is until the commit assertThat(saved.getValue()).isNotSameAs(current); assertThat(current.getConfiguration().get("metadata").has("profile.lansitec-badge")).isFalse(); - assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN").get("resolution").asText()) - .isEqualTo("use-existing"); + JsonNode state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState().get("TTN"); + assertThat(state.get("resolution").asText()).isEqualTo("use-existing"); + // The entries the step added, which a delete of the package removes; not the one it removed + assertThat(state.get("metadata")).isEqualTo(JacksonUtil.newObjectNode().put("profile.lansitec-badge", "Badge")); } @Test diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 938c816ed7..e8264499c3 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.ArgumentCaptor; import org.mockito.InOrder; import org.mockito.InjectMocks; import org.mockito.Mock; @@ -19,8 +20,10 @@ import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.DeviceProfileId; import org.thingsboard.server.common.data.id.EntityId; +import org.thingsboard.server.common.data.id.IntegrationId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; +import org.thingsboard.server.common.data.integration.Integration; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; @@ -28,12 +31,14 @@ import org.thingsboard.server.common.data.page.PageData; import org.thingsboard.server.dao.dashboard.DashboardService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.entity.EntityService; +import org.thingsboard.server.dao.integration.IntegrationService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; import java.util.List; +import java.util.Map; import java.util.Optional; import java.util.UUID; @@ -72,6 +77,8 @@ class DefaultIotHubServiceTest { private DashboardService dashboardService; @Mock private TbDashboardService tbDashboardService; + @Mock + private IntegrationService integrationService; @Spy @InjectMocks @@ -458,6 +465,71 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService).deleteById(tenantId, deleted.getId()); } + @Test + void deleteInstalledItem_devicePackage_removesItsMetadataEntriesFromTheKeptIntegration() { + mockTenant(); + IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(integrationId); + setIntegrationState(deleted, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + IotHubInstalledItem other = devicePackage(integrationId); + setIntegrationState(other, integrationId, Map.of("profile.lansitec-badge", "Badge")); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted, other), 1, 2, false)); + Integration current = integration(integrationId, Map.of("profile.milesight-iot-am308", "am308-custom", + "profile.lansitec-badge", "Badge", "profile.added-by-user", "Mine")); + when(integrationService.findIntegrationById(tenantId, integrationId)).thenReturn(current); + + service.deleteInstalledItem(user, deleted.getId()); + + ArgumentCaptor saved = ArgumentCaptor.forClass(Integration.class); + verify(integrationService).saveIntegration(saved.capture()); + verify(integrationService, never()).deleteIntegration(any(), any()); + JsonNode metadata = saved.getValue().getConfiguration().get("metadata"); + assertThat(metadata.has("profile.milesight-iot-am308")).isFalse(); + assertThat(metadata.get("profile.lansitec-badge").asText()).isEqualTo("Badge"); + assertThat(metadata.get("profile.added-by-user").asText()).isEqualTo("Mine"); + // A copy is saved: the integration read may be the cache's own instance + assertThat(current.getConfiguration().get("metadata").has("profile.milesight-iot-am308")).isTrue(); + } + + @Test + void deleteInstalledItem_devicePackage_keepsTheMetadataEntryAnotherPackageAddedToo() { + mockTenant(); + IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(integrationId); + setIntegrationState(deleted, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + IotHubInstalledItem other = devicePackage(integrationId); + setIntegrationState(other, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted, other), 1, 2, false)); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(integrationService, never()).saveIntegration(any()); + verify(integrationService, never()).deleteIntegration(any(), any()); + } + + @Test + void deleteInstalledItem_devicePackage_leavesTheKeptIntegrationWithoutItsEntriesAsItIs() { + mockTenant(); + IntegrationId integrationId = new IntegrationId(UUID.randomUUID()); + IotHubInstalledItem deleted = devicePackage(integrationId); + setIntegrationState(deleted, integrationId, Map.of("profile.milesight-iot-am308", "am308-custom")); + ((DeviceInstalledItemDescriptor) deleted.getDescriptor()).setUsedExistingEntityIds(List.of(integrationId)); + when(iotHubInstalledItemService.findById(tenantId, deleted.getId())).thenReturn(deleted); + when(iotHubInstalledItemService.findByTenantId(eq(tenantId), eq(List.of("DEVICE")), isNull(), any())) + .thenReturn(new PageData<>(List.of(deleted), 1, 1, false)); + when(integrationService.findIntegrationById(tenantId, integrationId)) + .thenReturn(integration(integrationId, Map.of("profile.lansitec-badge", "Badge"))); + + service.deleteInstalledItem(user, deleted.getId()); + + verify(integrationService, never()).saveIntegration(any()); + verify(integrationService, never()).deleteIntegration(any(), any()); + } + @Test void findKeptEntities_devicePackage_namesTheSharedEntitiesAndCountsTheOtherPackages() { DeviceId deviceId = new DeviceId(UUID.randomUUID()); @@ -547,6 +619,22 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService, never()).save(any(), any()); } + private void setIntegrationState(IotHubInstalledItem item, IntegrationId integrationId, Map addedMetadata) { + ObjectNode state = JacksonUtil.newObjectNode().put("resolution", "created"); + state.set("entityOutput", JacksonUtil.newObjectNode().put("id", integrationId.getId().toString())); + state.set("metadata", JacksonUtil.valueToTree(addedMetadata)); + ((DeviceInstalledItemDescriptor) item.getDescriptor()).setInstallState(Map.of("TTN", state)); + } + + private Integration integration(IntegrationId id, Map metadata) { + Integration integration = new Integration(id); + integration.setTenantId(tenantId); + ObjectNode configuration = JacksonUtil.newObjectNode(); + configuration.set("metadata", JacksonUtil.valueToTree(metadata)); + integration.setConfiguration(configuration); + return integration; + } + private IotHubInstalledItem devicePackage(EntityId... createdEntityIds) { DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); descriptor.setCreatedEntityIds(List.of(createdEntityIds)); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 9f79cbb59d..a75ed31fd8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -1901,6 +1901,12 @@ export class TbDeviceInstallDialogComponent extends DialogComponent | undefined { + const entries = Object.entries(this.integrationMetadataOf(step) ?? {}).filter(([, value]) => value !== null); + return entries.length ? Object.fromEntries(entries) : undefined; + } + /** The INTEGRATION step's metadata entries, resolved: null for a self-mapping, whose earlier value is removed. */ private stepMetadataEntries(step: DeviceInstallStep): Record { const entries: Record = {}; @@ -2789,8 +2795,9 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Mon, 2 Nov 2026 15:54:34 +0200 Subject: [PATCH 108/275] IoT Hub: a confirm dialog updates a device package's default converter "New converter available" in Installed items opens "Update the converter?" instead of the version update wizard. The dialog names the converter and, from the update check, either warns that someone changed it (with a download of the current one) or lists the other installed packages that use it. Update sends only the converter step, built from ThingsBoard's default converter now, through the device package update. An update to the installed version itself keeps the install state of the steps and forms it leaves out, so the integration and its metadata stay as they are. The wizard's error message, text-with-link and JSON download helpers move to iot-hub-utils, and the installed device packages loader to iot-hub-default-converter, for both to use. Co-Authored-By: Claude --- .../DefaultDevicePackageUpdateService.java | 10 +++ ...DefaultDevicePackageUpdateServiceTest.java | 47 +++++++++++ .../device-install-dialog.component.ts | 36 +-------- .../iot-hub/iot-hub-actions.service.ts | 37 ++++++++- .../iot-hub/iot-hub-components.module.ts | 2 + ...hub-converter-update-dialog.component.html | 32 ++++++++ ...hub-converter-update-dialog.component.scss | 65 +++++++++++++++ ...t-hub-converter-update-dialog.component.ts | 79 +++++++++++++++++++ .../iot-hub/iot-hub-default-converter.ts | 68 +++++++++++++--- ...t-hub-installed-items-table.component.html | 2 +- ...iot-hub-installed-items-table.component.ts | 34 +++++--- .../home/components/iot-hub/iot-hub-utils.ts | 42 ++++++++++ .../assets/locale/locale.constant-en_US.json | 2 + 13 files changed, 398 insertions(+), 58 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java index 2bbed29280..06151fe139 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateService.java @@ -348,6 +348,16 @@ public class DefaultDevicePackageUpdateService extends AbstractTbEntityService i } } + // An update to the installed version itself, e.g. of ThingsBoard's default converter only, sends just the steps + // it changes: the other steps and the forms keep their install state + if (UUID.fromString(request.getVersionId()).equals(installedItem.getItemVersionId()) && previous.getInstallState() != null) { + previous.getInstallState().forEach((key, value) -> { + if (value instanceof ObjectNode state) { + installState.putIfAbsent(key, state); + } + }); + } + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); // The new version may not offer the method the package was installed with descriptor.setSelectedInstallMethod(request.getSelectedInstallMethod() != null ? request.getSelectedInstallMethod() : previous.getSelectedInstallMethod()); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java index 062eabf80f..a3c7e7ca28 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultDevicePackageUpdateServiceTest.java @@ -531,6 +531,53 @@ class DefaultDevicePackageUpdateServiceTest { verify(installedItemService, never()).save(tenantId, taker); } + @Test + void updateOfTheInstalledVersion_keepsTheInstallStateOfTheStepsItLeavesOut() { + ConverterId converterId = new ConverterId(UUID.randomUUID()); + Converter current = new Converter(converterId); + current.setTenantId(tenantId); + current.setName("Uplink data converter for TTN my-app"); + current.setVersion(4L); + when(converterService.findConverterById(tenantId, converterId)).thenReturn(current); + when(converterService.saveConverter(any())).thenAnswer(i -> i.getArgument(0)); + DeviceInstalledItemDescriptor installed = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + installed.setCreatedEntityIds(List.of(profileId, deviceId, dashboardId, integrationId, converterId)); + installed.setInstallState(Map.of("Integration", stateOf(integrationId, "created"), "uplink", stateOf(converterId, "created"), + "Configuration", JacksonUtil.newObjectNode().set("formValues", JacksonUtil.newObjectNode().put("profileName", "am308")))); + ObjectNode versionInfo = JacksonUtil.newObjectNode().put("itemId", itemId.toString()).put("name", "AM308").put("version", "1.0.0"); + when(iotHubRestClient.getVersionInfo(installedVersionId.toString())).thenReturn(versionInfo); + // ThingsBoard's default converter changed: only the converter step is sent + DeviceUpdateRequest.Step step = overwrite("Uplink data converter", "UPLINK_CONVERTER", converterId, 4L, + JacksonUtil.newObjectNode().put("name", "Uplink").set("configuration", JacksonUtil.newObjectNode().put("tbelDecoder", "return {};"))); + step.setId("uplink"); + step.setDefaultConverter(true); + DeviceUpdateRequest request = request(step); + request.setVersionId(installedVersionId.toString()); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request); + + assertThat(result.isSuccess()).isTrue(); + Map state = ((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState(); + ArgumentCaptor saved = ArgumentCaptor.forClass(Converter.class); + verify(converterService).saveConverter(saved.capture()); + assertThat(state.get("uplink").get("checksum").asText()).isEqualTo(EntityChecksum.of(saved.getValue())); + assertThat(state.get("uplink").get("defaultConverter").asBoolean()).isTrue(); + assertThat(state.get("Integration")).isEqualTo(stateOf(integrationId, "created")); + assertThat(state.get("Configuration").get("formValues").get("profileName").asText()).isEqualTo("am308"); + verify(integrationService, never()).saveIntegration(any()); + assertThat(installedItem.getItemVersionId()).isEqualTo(installedVersionId); + } + + @Test + void updateToAnotherVersion_dropsTheInstallStateOfTheStepsItLeavesOut() { + when(dashboardService.findDashboardById(tenantId, dashboardId)).thenReturn(dashboard(9L)); + + DeviceUpdateResult result = service.apply(user, installedItem.getId(), request(keep("Dashboard", "DASHBOARD", dashboardId))); + + assertThat(result.isSuccess()).isTrue(); + assertThat(((DeviceInstalledItemDescriptor) installedItem.getDescriptor()).getInstallState()).containsOnlyKeys("Dashboard"); + } + @Test void overwritingAnEntityOfAnotherPackage_needsAConfirmation() { DashboardId foreign = new DashboardId(UUID.randomUUID()); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 9f79cbb59d..29dca9d171 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -40,6 +40,7 @@ import { getCurrentAuthState } from '@core/auth/auth.selectors'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { IntegrationType } from '@shared/models/integration.models'; import { differsFromDefaultConverter, loadDefaultUplinkConverter, loadOwnDefaultConverterIds } from '@home/components/iot-hub/iot-hub-default-converter'; +import { downloadEntityJson, readableMessage, requestFailureMessage, splitTextWithLink } from '@home/components/iot-hub/iot-hub-utils'; import { cleanFormFieldValue, DeviceInstallStep, @@ -119,15 +120,6 @@ export interface DeviceInstallUpdate { fromVersion: string; } -// ThingsBoard error codes whose message is written for the user: validation, permission, not found, limits -const SHOWN_ERROR_CODES = new Set([20, 30, 31, 32, 33, 34, 35, 40, 41]); -const MAX_SHOWN_ERROR_LENGTH = 200; - -/** The message as it is when it reads like one written for the user, null for an internal one (a stack trace, a URL, too long). */ -const readableMessage = (message: unknown): string | null => - typeof message === 'string' && message.trim() && message.length <= MAX_SHOWN_ERROR_LENGTH && - !/exception|java\.|https?:\/\/|\bat [\w.$]+\(/i.test(message) ? message : null; - // Fields the server sets, or that the update keeps as they are: they don't count as changes the user made. // Nor do the debug settings, which change nothing the entity does, and whether a profile is the default one. const SERVER_SET_KEYS = new Set(['id', 'name', 'title', 'routingKey', 'version', 'createdTime', 'tenantId', 'customerId', @@ -2014,18 +2006,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent…, which the translation may put anywhere in it, split around the link. */ /** Update: what the update did with the entity of a row, once it succeeded. */ updateOutcomeOf(plan: EntityStepPlan | undefined): string { if (!plan || plan.action === 'keep' || plan.resolution === 'use-existing') { @@ -2064,9 +2045,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent([\s\S]*)<\/a>([\s\S]*)$/.exec(text); - return match ? { before: match[1], link: match[2], after: match[3] } : { before: text, link: '', after: '' }; + return splitTextWithLink(this.translate.instant(key)); } /** Update: saves the entity the user changed, as it is before the update overwrites it, to a JSON file. */ @@ -2075,14 +2054,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent URL.revokeObjectURL(url), 0); + downloadEntityJson(current, ep.resolvedName || ep.step.name); } /** diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index f1d358426f..8dd87b637f 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; -import { Observable, of, EMPTY } from 'rxjs'; +import { Observable, of, EMPTY, firstValueFrom, from } from 'rxjs'; import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; @@ -21,6 +21,8 @@ import { TbDeviceInstallDialogComponent, DeviceInstallDialogData, DeviceInstallU import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; import { IotHubBuiltInService } from './iot-hub-built-in.service'; import { isBuiltInItem } from './iot-hub-utils'; +import { TbIotHubConverterUpdateDialogComponent, IotHubConverterUpdateDialogData } from './iot-hub-converter-update-dialog.component'; +import { DefaultConverterUpdate, loadInstalledDevicePackages } from './iot-hub-default-converter'; /** * What `openBuiltInOrConfirmInstall` did with a built-in item: 'handled' means nothing is left to do @@ -167,6 +169,39 @@ export class IotHubActionsService { }).afterClosed(); } + /** + * Brings a device package's default converter to ThingsBoard's default converter now, after the user confirms it. + * The dialog opens with what the update check found: whether someone changed the converter, and which other packages use it. + */ + updateDefaultConverter(update: DefaultConverterUpdate): Observable { + return from(this.converterUpdateDialogData(update)).pipe( + switchMap(data => this.dialog.open( + TbIotHubConverterUpdateDialogComponent, { + panelClass: ['tb-dialog'], + disableClose: true, + autoFocus: false, + data + }).afterClosed()), + catchError(() => of(false)) + ); + } + + private async converterUpdateDialogData(update: DefaultConverterUpdate): Promise { + const installedItemId = update.installedItem.id.id; + const converterId = update.converter.id.id; + const [states, packages] = await Promise.all([ + firstValueFrom(this.iotHubApiService.checkDeviceUpdate(installedItemId)), + loadInstalledDevicePackages(this.iotHubApiService) + ]); + const state = states.find(s => s.stepName === update.stateKey); + // As the server decides what is shared: the converter is one of the entities another package tracks + const usedBy = packages + .filter(item => item.id.id !== installedItemId && + (item.descriptor as DeviceInstalledItemDescriptor)?.createdEntityIds?.some(id => id.id === converterId)) + .map(item => item.itemName); + return { update, version: state?.version, modified: state?.modified === true, usedBy }; + } + deleteItem(installedItem: IotHubInstalledItem): Observable { if (!installedItem) { return of(false); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts index ea754e42f9..99a2676c90 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts @@ -11,6 +11,7 @@ import { TbIotHubAddItemDialogComponent } from './iot-hub-add-item-dialog.compon import { TbIotHubInstallDialogComponent } from './iot-hub-install-dialog.component'; import { TbIotHubUpdateDialogComponent } from './iot-hub-update-dialog.component'; import { TbIotHubDeleteDialogComponent } from './iot-hub-delete-dialog.component'; +import { TbIotHubConverterUpdateDialogComponent } from './iot-hub-converter-update-dialog.component'; import { TbIotHubUnpublishedWarningDialogComponent } from './iot-hub-unpublished-warning-dialog.component'; import { TbDeviceInstallDialogComponent } from './device-install-dialog/device-install-dialog.component'; import { InstallFormRendererComponent } from './device-install-dialog/install-form-renderer/install-form-renderer.component'; @@ -27,6 +28,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link @NgModule({ declarations: [ + TbIotHubConverterUpdateDialogComponent, TbIotHubItemDetailDialogComponent, TbIotHubBrowseComponent, TbIotHubItemCardComponent, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html new file mode 100644 index 0000000000..a629614e50 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html @@ -0,0 +1,32 @@ + +
+

{{ 'iot-hub.converter-update-title' | translate }}

+

{{ 'iot-hub.device-update-new-default-converter' | translate }}

+
+
{{ data.update.converter.name }}
+ @if (data.modified) { + + {{ modifiedHint.before }}{{ modifiedHint.link }}{{ modifiedHint.after }} + + } @else if (data.usedBy.length) { + {{ 'iot-hub.device-update-shared' | translate }} +
    + @for (name of data.usedBy; track $index) { +
  • {{ name }}
  • + } +
+ } +
+ @if (errorMessage) { + {{ errorMessage }} + } +
+
+ + +
diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss new file mode 100644 index 0000000000..2d54d12bba --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss @@ -0,0 +1,65 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +:host { + display: block; + max-width: 600px; +} + +.tb-converter-update-title { + font-size: 20px; + font-weight: 600; + line-height: 24px; + letter-spacing: 0.1px; + color: rgba(0, 0, 0, 0.87); + margin: 0; +} + +.tb-converter-update-text { + font-size: 14px; + line-height: 20px; + letter-spacing: 0.2px; + color: rgba(0, 0, 0, 0.54); + margin: 0; +} + +.tb-converter-update-box { + padding: 12px 16px; + border: 1px solid rgba(0, 0, 0, 0.12); + border-radius: 8px; +} + +.tb-converter-update-name { + font-size: 14px; + font-weight: 500; + line-height: 20px; + color: rgba(0, 0, 0, 0.87); +} + +.tb-converter-update-packages { + margin: 0; + padding-left: 20px; + font-size: 12px; + line-height: 16px; + color: rgba(0, 0, 0, 0.54); +} + +.tb-converter-update-link { + color: #305680; + text-decoration: underline; + cursor: pointer; +} + +.tb-progress-alert-msg { + font-size: 12px; + font-weight: 400; + line-height: 16px; + letter-spacing: 0.4px; + + &.tb-progress-alert-msg-warning { + color: #f66716; + } + + &.tb-progress-alert-msg-error { + color: #dd2c00; + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts new file mode 100644 index 0000000000..a6736965a4 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 +import { Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Router } from '@angular/router'; +import { Store } from '@ngrx/store'; +import { TranslateService } from '@ngx-translate/core'; +import { AppState } from '@core/core.state'; +import { DialogComponent } from '@shared/components/dialog.component'; +import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { DefaultConverterUpdate, defaultConverterUpdateRequest } from '@home/components/iot-hub/iot-hub-default-converter'; +import { downloadEntityJson, readableMessage, requestFailureMessage, splitTextWithLink } from '@home/components/iot-hub/iot-hub-utils'; + +export interface IotHubConverterUpdateDialogData { + update: DefaultConverterUpdate; + // The converter's version the update check found: the server refuses the update if someone saved the converter since + version?: number; + // Someone changed the converter since a package installed or last updated it + modified: boolean; + // The names of the other installed packages that use the converter + usedBy: string[]; +} + +/** + * Brings an installed device package's default converter to ThingsBoard's default converter now, without a new version of + * the package. Closes with true once it is updated. + */ +@Component({ + selector: 'tb-iot-hub-converter-update-dialog', + standalone: false, + templateUrl: './iot-hub-converter-update-dialog.component.html', + styleUrls: ['./iot-hub-converter-update-dialog.component.scss'] +}) +export class TbIotHubConverterUpdateDialogComponent extends DialogComponent { + + readonly modifiedHint = splitTextWithLink(this.translate.instant('iot-hub.converter-update-modified')); + updating = false; + errorMessage: string | null = null; + + constructor( + protected store: Store, + protected router: Router, + protected dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: IotHubConverterUpdateDialogData, + private iotHubApiService: IotHubApiService, + private translate: TranslateService + ) { + super(store, router, dialogRef); + } + + downloadCurrent(): void { + downloadEntityJson(this.data.update.converter, this.data.update.converter.name); + } + + update(): void { + this.updating = true; + this.errorMessage = null; + this.iotHubApiService.updateDevicePackage(this.data.update.installedItem.id.id, + defaultConverterUpdateRequest(this.data.update, this.data.version), { ignoreErrors: true }).subscribe({ + next: result => { + if (result.success) { + this.dialogRef.close(true); + return; + } + // Nothing was changed: the server rolled it back + this.updating = false; + this.errorMessage = readableMessage(result.errorMessage) ?? this.translate.instant('iot-hub.device-install-unexpected-error'); + }, + error: error => { + this.updating = false; + this.errorMessage = requestFailureMessage(error, this.translate); + } + }); + } + + cancel(): void { + this.dialogRef.close(false); + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts index 68aeb0f832..acbd246df8 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts @@ -6,11 +6,20 @@ import { Converter, ConverterConfigV2, ConverterType, getTargetField, getTargetT import { IntegrationType } from '@shared/models/integration.models'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { isEqual } from '@core/utils'; -import { DeviceInstalledItemDescriptor, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; +import { DeviceInstalledItemDescriptor, DeviceUpdateRequest, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { PageLink } from '@shared/models/page/page-link'; import { PageData } from '@shared/models/page/page-data'; +/** An installed device package's default converter that differs from ThingsBoard's default converter now. */ +export interface DefaultConverterUpdate { + installedItem: IotHubInstalledItem; + // The key of the converter's step in the package's install state + stateKey: string; + converter: Converter; + defaultConverter: Partial; +} + const DEFAULT_CONVERTERS_V2_CONFIGURATION_URL = '/assets/converters/default-converters-v2-configuration.json'; // The settings of a default converter that decide what it does: the script is compared on its own @@ -60,6 +69,19 @@ export const differsFromDefaultConverter = (converter: Converter, defaultConvert V2_CONFIGURATION_KEYS.some(key => !isEqual(converter.configuration[key] ?? null, defaultConverter.configuration[key] ?? null)); }; +/** All installed device packages of the tenant. */ +export const loadInstalledDevicePackages = async (iotHubApiService: IotHubApiService): Promise => { + const items: IotHubInstalledItem[] = []; + let pageLink = new PageLink(100); + let page: PageData; + do { + page = await firstValueFrom(iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); + items.push(...page.data); + pageLink = pageLink.nextPageLink(); + } while (page.hasNext); + return items; +}; + /** * The converters device packages installed themselves as their default converter, not ones they took as they were, of * all installed device packages: only such a converter is ThingsBoard's default one, which a new ThingsBoard version @@ -67,18 +89,40 @@ export const differsFromDefaultConverter = (converter: Converter, defaultConvert */ export const loadOwnDefaultConverterIds = async (iotHubApiService: IotHubApiService): Promise> => { const ids = new Set(); - let pageLink = new PageLink(100); - let page: PageData; - do { - page = await firstValueFrom(iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); - for (const item of page.data) { - for (const state of Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {})) { - if (state?.defaultConverter && state.entityOutput?.id && state.resolution !== 'use-existing') { - ids.add(state.entityOutput.id); - } + for (const item of await loadInstalledDevicePackages(iotHubApiService)) { + for (const state of Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {})) { + if (state?.defaultConverter && state.entityOutput?.id && state.resolution !== 'use-existing') { + ids.add(state.entityOutput.id); } } - pageLink = pageLink.nextPageLink(); - } while (page.hasNext); + } return ids; }; + +/** + * The update of the installed version itself that brings its default converter to ThingsBoard's default one. It sends only + * the converter step: the server keeps the other steps, the forms and the integration's metadata as they are. + * expectedVersion is the converter's version the user reviewed. + */ +export const defaultConverterUpdateRequest = (update: DefaultConverterUpdate, expectedVersion?: number): DeviceUpdateRequest => { + const descriptor = update.installedItem.descriptor as DeviceInstalledItemDescriptor; + return { + versionId: update.installedItem.itemVersionId, + fromVersionId: update.installedItem.itemVersionId, + selectedInstallMethod: descriptor.selectedInstallMethod, + installState: {}, + steps: [{ + name: update.converter.name, + id: update.stateKey, + type: 'UPLINK_CONVERTER', + action: 'OVERWRITE', + entityId: update.converter.id.id, + expectedVersion, + // The user confirmed it in the dialog, which names the other packages it affects + confirmed: true, + resolution: descriptor.installState?.[update.stateKey]?.resolution ?? 'created', + defaultConverter: true, + entity: update.defaultConverter + }] + }; +}; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index db7ad21423..bc550bd817 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -57,7 +57,7 @@ }
} @else if (hasConverterUpdate(item)) { - +
} } @@ -157,7 +166,7 @@ } @else {

{{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

-
@@ -211,13 +220,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index bd8accdb79..c9aa546f23 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -48,9 +48,10 @@ export interface DeviceInstallDialogData { selectedInstallMethod?: string; installState?: Record; /** - * Update of an installed device package: the installed item of the current version. It is removed together - * with its entities right before the wizard creates the new version's entities, not earlier, so closing the - * wizard before that leaves the package as it was. + * Update of an installed device package: the installed item of the current version. Its entities are removed + * right before the wizard creates the new version's entities, not earlier, so closing the wizard before that + * leaves the package as it was; the item takes the new version when the wizard registers it. The forms start + * from installState and the connection method from selectedInstallMethod, as the user filled them before. */ replaceInstalledItemId?: string; } @@ -71,6 +72,8 @@ export interface WizardStep { entitySteps?: EntityStepProgress[]; progressError?: string; progressDone?: boolean; + /** Update only: the entities of the replaced version are being removed. */ + removingReplaced?: boolean; } const ENTITY_STEP_MIN_DELAY = 2000; @@ -108,8 +111,24 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -141,6 +160,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + this.registeredItemId = this.data.replaceInstalledItemId; try { const zipData = await firstValueFrom(this.iotHubApiService.getVersionFileData(this.data.item.id, { ignoreLoading: true }).pipe( mergeMap((blob: Blob) => blob.arrayBuffer()) @@ -199,12 +219,19 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); + } + cancel(): void { - // Once the replaced version is removed, the caller has to reload its installed items as well. - this.dialogRef.close(this.installRegistered || this.replacedItemRemoved ? 'installed' : false); + if (this.removingReplaced) { + // The removal is irreversible and already running: closing now would leave the outcome unknown. + return; + } + this.closed = true; + // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. + this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); } retryEntitySteps(step: WizardStep): void { @@ -420,7 +463,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; - // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.label]?.formValues; + // In review mode and on an update, use stored values; otherwise use defaults + const storedValues = (this.reviewMode || this.data.replaceInstalledItemId) && this.data.installState?.[ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -713,7 +756,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === output.id)) { + this.packageEntityIds.push({ entityType, id: output.id }); + } const alias = stepTypeAliasMap[ep.step.type]; if (alias) { this.entityOutputs.set(alias, output); @@ -786,7 +835,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!await this.removeReplacedItem(ws)) { + if (!await this.removeReplacedEntities(ws) || this.closed) { + // The dialog was closed meanwhile (navigating away): create nothing. return; } for (const ep of ws.entitySteps) { @@ -818,31 +868,44 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { + this.packageEntityIds.push(id); + } + } + const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); - await firstValueFrom( + const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, { createdEntityIds, dashboardId, selectedInstallMethod: this.selectedInstallMethod, installState: this.buildInstallState() }, - { ignoreLoading: true } + this.registeredItemId, + { ignoreLoading: true, ignoreErrors: true } ) ); + if (!result?.success) { + throw new Error(result?.errorMessage); + } this.installRegistered = true; - } catch (_e) { - // Non-critical — entities are created, tracking registration failed - console.error('Failed to register device install', _e); + this.registeredItemId = result.installedItemId ?? this.registeredItemId; + } catch (err: any) { + // The entities stay as they are: Retry registers them again. + ws.progressError = this.translate.instant('iot-hub.device-install-register-error', { error: this.errorText(err) }); + this.cdr.detectChanges(); + return; } + ws.progressDone = true; + ws.completed = true; // Auto-advance to next step after a short pause if (!this.isLastWizardStep) { @@ -853,37 +916,50 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!this.data.replaceInstalledItemId || this.replacedItemRemoved) { + private async removeReplacedEntities(ws: WizardStep): Promise { + if (!this.data.replaceInstalledItemId || this.replacedEntitiesRemoved) { return true; } - // Nothing is created yet: the first step shows the removal running and, if it fails, why. - const ep = ws.entitySteps.find(s => s.status !== 'success'); - if (ep) { - ep.status = 'running'; - ep.errorMessage = null; - this.cdr.detectChanges(); - } + this.replaceStarted = true; + ws.removingReplaced = true; + this.cdr.detectChanges(); try { - const result = await firstValueFrom(this.iotHubApiService.updateItemVersion( - this.data.replaceInstalledItemId, this.data.item.id as string, { ignoreLoading: true }, true)); - if (!result.success) { - throw new Error(result.errorMessage || this.translate.instant('iot-hub.update-error', { name: this.data.item.name })); - } - this.replacedItemRemoved = true; + await firstValueFrom(this.iotHubApiService.removeDevicePackageEntities(this.data.replaceInstalledItemId, + this.data.item.id as string, { ignoreLoading: true, ignoreErrors: true })); + this.replacedEntitiesRemoved = true; return true; } catch (err: any) { - // Retry runs the removal again. - ws.progressError = err?.error?.message || err?.message || 'Unknown error'; - if (ep) { - ep.status = 'error'; - ep.errorMessage = ws.progressError; - } - this.cdr.detectChanges(); + ws.progressError = this.translate.instant('iot-hub.device-update-remove-error', { error: this.errorText(err) }); return false; + } finally { + ws.removingReplaced = false; + this.cdr.detectChanges(); + } + } + + /** An error of the step that is not one entity's (removing the replaced entities, registering), shown below them. */ + stepLevelError(ws: WizardStep): string | null { + return ws.progressError && !ws.entitySteps?.some(ep => ep.status === 'error') ? ws.progressError : null; + } + + private errorText(err: any): string { + return err?.error?.message || err?.message || 'Unknown error'; + } + + private fitsField(field: FormFieldDefinition, value: any): boolean { + switch (field.type) { + case FormFieldType.BOOLEAN: + return typeof value === 'boolean'; + case FormFieldType.INTEGER: + return Number.isInteger(value) || (typeof value === 'string' && /^-?\d*$/.test(value)); + case FormFieldType.SELECT: + return typeof value === 'string' && (!field.options?.length || field.options.some(option => option.value === value)); + default: + return typeof value === 'string'; } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index 36b4c83bcb..5ec83949bd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -3,7 +3,7 @@ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { Observable, of, EMPTY } from 'rxjs'; -import { map, switchMap } from 'rxjs/operators'; +import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; @@ -172,13 +172,20 @@ export class IotHubActionsService { /** * A device package is updated by installing the new version through the install wizard: it needs the user's - * input, so the server cannot install it alone. The wizard removes the installed version only when it starts - * creating the entities, so closing it before that leaves the package as it was. + * input, so the server cannot install it alone. The wizard removes the installed version's entities only when it starts + * creating the new ones, so closing it before that leaves the package as it was. */ private reinstallDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + const descriptor = installedItem.descriptor as DeviceInstalledItemDescriptor; return this.iotHubApiService.getVersionInfo(versionId).pipe( - switchMap(item => this.openDeviceInstallDialog(item, { replaceInstalledItemId: installedItem.id.id })), - map(result => result === 'installed' ? 'updated' : false) + switchMap(item => this.openDeviceInstallDialog(item, { + replaceInstalledItemId: installedItem.id.id, + selectedInstallMethod: descriptor?.selectedInstallMethod, + installState: descriptor?.installState + })), + map(result => result === 'installed' ? 'updated' : false), + // The error itself is shown by the HTTP interceptor; nothing is changed yet. + catchError(() => of(false)) ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 63c88b4cce..2c715bec1c 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -25,6 +25,7 @@ import { switchMap } from 'rxjs/operators'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; import { + canReviewDeviceInstall, DeviceInstalledItemDescriptor, getInstalledItemUrl, IotHubInstalledItem, @@ -182,9 +183,13 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, private openDeviceReviewDialog(item: IotHubInstalledItem): void { const descriptor = item.descriptor as DeviceInstalledItemDescriptor; - if (!descriptor.installState || !descriptor.selectedInstallMethod) { + if (!canReviewDeviceInstall(descriptor)) { this.iotHubApiService.getVersionInfo(item.itemVersionId, {ignoreLoading: true}).subscribe(versionView => { - this.iotHubActions.openItemDetail(versionView, item).subscribe(); + this.iotHubActions.openItemDetail(versionView, item).subscribe(result => { + if (result === 'updated' || result === 'deleted') { + this.loadData(); + } + }); }); return; } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index 106f6fa13a..96815a0854 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -34,6 +34,13 @@ export interface DeviceInstalledItemDescriptor { installState?: Record; } +/** + * Whether the install of a device package can be reviewed: an update that removed the entities of the installed + * version but did not install the new one leaves the item with nothing to show. + */ +export const canReviewDeviceInstall = (descriptor: DeviceInstalledItemDescriptor): boolean => + !!descriptor?.installState && !!descriptor.selectedInstallMethod && !!descriptor.createdEntityIds?.length; + export interface SolutionTemplateInstalledItemDescriptor { type: 'SOLUTION_TEMPLATE'; createdEntityIds: { entityType: string; id: string }[]; @@ -55,6 +62,7 @@ export interface InstallItemVersionResult { success: boolean; errorMessage: string; descriptor: IotHubInstalledItemDescriptor; + installedItemId?: string; } export enum InstallPlanEntryStatus { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ad313ecc0c..7a926cc39a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3870,6 +3870,9 @@ "update-confirm": "Update '{{name}}' to version {{version}}?", "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", + "device-update-removing": "Removing the entities of the installed version…", + "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", From 9803832a400e3ddf06897ed0e306a9d6dfd8d044 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 4 Nov 2026 16:15:57 +0200 Subject: [PATCH 130/275] fix(iot-hub): keep the installed version until the wizard registers the new one Review of the device package update: - The update endpoint refuses device packages instead of removing them, so a client that reads it as an update no longer reports success with nothing installed. - The wizard removes only the entities of the installed version (installedItems/{id}/device/removeEntities, checked against the new version first), right before it creates the new ones. The installed item keeps its version until the wizard registers the new one on the same item (device/register?replaceInstalledItemId), so closing the wizard never leaves an item that claims a version that is not installed. - Every registration (one per group of entity steps, and each Retry) updates that one item and keeps tracking the entities it already tracks. A package with several groups no longer gets an installed item per group. - A failed registration is shown with Retry instead of being swallowed, and no longer rolls the entities back; the step is done only once registered. - The forms and the connection method start from what the user entered for the installed version, when the value fits the new field. - An entity of another tenant is never deleted for a package. --- .../server/controller/IotHubController.java | 12 +- .../service/iot_hub/DefaultIotHubService.java | 159 ++++++++---- .../iot_hub/InstallItemVersionResult.java | 12 +- .../server/service/iot_hub/IotHubService.java | 14 +- .../iot_hub/DefaultIotHubServiceTest.java | 232 ++++++++++++++++-- .../src/app/core/http/iot-hub-api.service.ts | 13 + .../device-install-dialog.component.html | 15 +- .../device-install-dialog.component.ts | 168 +++++++++---- .../iot-hub/iot-hub-actions.service.ts | 17 +- ...iot-hub-installed-items-table.component.ts | 9 +- .../iot-hub/iot-hub-installed-item.models.ts | 8 + .../assets/locale/locale.constant-en_US.json | 3 + 12 files changed, 540 insertions(+), 122 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index 13bd02c5da..2376c67b77 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -82,9 +82,19 @@ public class IotHubController extends BaseController { @ResponseBody public InstallItemVersionResult registerDeviceInstall( @RequestParam String versionId, + @RequestParam(required = false) UUID replaceInstalledItemId, @RequestBody JsonNode body) throws ThingsboardException { DeviceInstalledItemDescriptor descriptor = JacksonUtil.treeToValue(body, DeviceInstalledItemDescriptor.class); - return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor); + return iotHubService.registerDeviceInstall(getCurrentUser(), versionId, descriptor, + replaceInstalledItemId != null ? new IotHubInstalledItemId(replaceInstalledItemId) : null); + } + + @PreAuthorize("hasAuthority('TENANT_ADMIN')") + @PostMapping("/installedItems/{installedItemId}/device/removeEntities") + @ResponseBody + public void removeDevicePackageEntities(@PathVariable UUID installedItemId, + @RequestParam String versionId) throws ThingsboardException { + iotHubService.removeDevicePackageEntities(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId); } @PreAuthorize("hasAuthority('TENANT_ADMIN')") diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 83a0038268..5a091db85a 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -11,6 +11,7 @@ import org.thingsboard.common.util.ExceptionUtil; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.asset.AssetProfile; import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.cf.CalculatedField; import org.thingsboard.server.common.data.cf.CalculatedFieldType; import org.thingsboard.server.common.data.id.CalculatedFieldId; @@ -66,6 +67,7 @@ import java.util.HashSet; import java.util.HexFormat; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.UUID; @@ -377,9 +379,16 @@ public class DefaultIotHubService implements IotHubService { String itemType = installedItem.getItemType(); IotHubInstalledItemDescriptor descriptor = installedItem.getDescriptor(); - // Skip checksum validation for solution templates and device packages: both are removed and installed again, - // and the update dialog warns about that before the user confirms. - if (!"SOLUTION_TEMPLATE".equals(itemType) && !"DEVICE".equals(itemType)) { + if ("DEVICE".equals(itemType)) { + // A device package needs the user's input to install (gateway name, credentials and so on), so the + // server cannot install the new version alone: the install wizard of the new version does the update + // (removeDevicePackageEntities, then registerDeviceInstall with this item). Refuse instead of removing + // the package here: a client that reads this as an update would report success with nothing installed. + throw new IllegalArgumentException("A device package is updated through the install wizard of its new version."); + } + + // Skip checksum validation for solution templates + if (!"SOLUTION_TEMPLATE".equals(itemType)) { JsonNode installedVersionInfo = iotHubRestClient.getVersionInfo(installedItem.getItemVersionId().toString()); if (installedVersionInfo == null) { throw new IllegalArgumentException("Failed to get installed version info from IoT Hub"); @@ -409,18 +418,6 @@ public class DefaultIotHubService implements IotHubService { throw new IllegalArgumentException("Installed item type does not match the new version's item type."); } - if ("DEVICE".equals(itemType)) { - // A device package is installed by the wizard in the UI: it needs the user's input (gateway name, - // credentials and so on), so the server cannot install the new version itself. The wizard calls this - // right before it creates the new version's entities, and registers the new version when it is done. - // Remove the installed item together with its entities, so it never shows the new version with - // nothing installed. - deleteDevicePackageEntities(tenantId, ((DeviceInstalledItemDescriptor) descriptor).getCreatedEntityIds(), user); - iotHubInstalledItemService.deleteById(tenantId, installedItemId); - log.info("[{}] Removed device package {} for the install of version {}", tenantId, installedItem.getItemName(), versionId); - return UpdateItemVersionResult.success(descriptor); - } - String itemName = versionInfo.get("name").asText(); String version = versionInfo.get("version").asText(); @@ -622,7 +619,8 @@ public class DefaultIotHubService implements IotHubService { } @Override - public InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor) { + public InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor, + IotHubInstalledItemId replaceInstalledItemId) { TenantId tenantId = user.getTenantId(); log.info("[{}] Registering device package install for version: {}", tenantId, versionId); @@ -637,44 +635,118 @@ public class DefaultIotHubService implements IotHubService { UUID itemId = UUID.fromString(versionInfo.get("itemId").asText()); String version = versionInfo.get("version").asText(); - IotHubInstalledItem installedItem = new IotHubInstalledItem(); - installedItem.setTenantId(tenantId); + // An item replaced in the meantime (deleted from another tab) leaves a new one: the entities stay tracked. + IotHubInstalledItem installedItem = replaceInstalledItemId != null + ? iotHubInstalledItemService.findById(tenantId, replaceInstalledItemId) : null; + boolean newItem = installedItem == null; + if (newItem) { + installedItem = new IotHubInstalledItem(); + installedItem.setTenantId(tenantId); + } else { + checkDevicePackage(installedItem); + checkSameItem(installedItem, itemId); + keepTracking((DeviceInstalledItemDescriptor) installedItem.getDescriptor(), descriptor); + } installedItem.setItemId(itemId); installedItem.setItemVersionId(UUID.fromString(versionId)); installedItem.setItemName(itemName); installedItem.setItemType("DEVICE"); installedItem.setVersion(version); installedItem.setDescriptor(descriptor); - try { - iotHubInstalledItemService.save(tenantId, installedItem); - } catch (Exception e) { - log.error("[{}] Failed to save IoT Hub installed-item tracking row for device package {} (version {}); rolling back created entities", - tenantId, itemName, version, e); + // Not rolled back when the save fails: the wizard shows the error, and Retry registers the same entities again. + installedItem = iotHubInstalledItemService.save(tenantId, installedItem); + + // Reported once per install, as before: the wizard registers again after each group of entities, on Retry + // and on an update. + if (newItem) { try { - deleteEntityForDescriptor(user, tenantId, descriptor, null); - } catch (Exception rb) { - log.error("[{}] Compensating delete after failed tracking save threw — device package entities may remain orphaned", - tenantId, rb); + InstallReport report = buildInstallReport(tenantId.getId(), user.getId().getId(), + projectInfo.getProjectVersion(), projectInfo.getProductType()); + iotHubRestClient.reportVersionInstalled(versionId, report); + } catch (Exception e) { + log.warn("[{}] Failed to report install for version {}: {}", tenantId, versionId, e.getMessage()); } - throw e; - } - - try { - InstallReport report = buildInstallReport(tenantId.getId(), user.getId().getId(), - projectInfo.getProjectVersion(), projectInfo.getProductType()); - iotHubRestClient.reportVersionInstalled(versionId, report); - } catch (Exception e) { - log.warn("[{}] Failed to report install for version {}: {}", tenantId, versionId, e.getMessage()); } log.info("[{}] Registered device package install: {} (version {})", tenantId, itemName, version); - return InstallItemVersionResult.success(descriptor); + return InstallItemVersionResult.success(descriptor, installedItem.getId().getId()); } catch (Exception e) { log.error("[{}] Failed to register device package install: {}", tenantId, versionId, e); return InstallItemVersionResult.error(e.getMessage()); } } + @Override + public void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId) { + TenantId tenantId = user.getTenantId(); + IotHubInstalledItem installedItem = findDevicePackage(tenantId, installedItemId); + // Checked before anything is removed: the registration of the new version checks the same and would fail. + JsonNode versionInfo = iotHubRestClient.getVersionInfo(versionId); + if (versionInfo == null) { + throw new IllegalArgumentException("Failed to get version info from IoT Hub"); + } + checkSameItem(installedItem, UUID.fromString(versionInfo.get(FIELD_ITEM_ID).asText())); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); + descriptor.setCreatedEntityIds(null); + descriptor.setDashboardId(null); + // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of + // the removed entities: their ids, links and tokens no longer exist. + if (descriptor.getInstallState() != null) { + descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); + } + iotHubInstalledItemService.save(tenantId, installedItem); + log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); + } + + private static Map stripEntityOutputs(Map installState) { + Map stripped = new LinkedHashMap<>(); + installState.forEach((step, state) -> { + JsonNode formValues = state != null ? state.get("formValues") : null; + if (formValues != null) { + stripped.put(step, JacksonUtil.newObjectNode().set("formValues", formValues)); + } + }); + return stripped; + } + + private static void checkSameItem(IotHubInstalledItem installedItem, UUID itemId) { + if (!itemId.equals(installedItem.getItemId())) { + throw new IllegalArgumentException("The new version belongs to another IoT Hub item."); + } + } + + /** + * The new descriptor keeps tracking every entity the item tracks: the wizard registers again after each group of + * entities, and an entity left out would stay in the tenant with nothing to remove it. An update registers only + * after removing the entities of the installed version, so it tracks none of them any more. + */ + private static void keepTracking(DeviceInstalledItemDescriptor tracked, DeviceInstalledItemDescriptor descriptor) { + if (tracked.getCreatedEntityIds() != null) { + List ids = descriptor.getCreatedEntityIds() != null ? new ArrayList<>(descriptor.getCreatedEntityIds()) : new ArrayList<>(); + tracked.getCreatedEntityIds().stream().filter(id -> !ids.contains(id)).forEach(ids::add); + descriptor.setCreatedEntityIds(ids); + } + if (descriptor.getDashboardId() == null) { + descriptor.setDashboardId(tracked.getDashboardId()); + } + } + + private IotHubInstalledItem findDevicePackage(TenantId tenantId, IotHubInstalledItemId installedItemId) { + IotHubInstalledItem installedItem = iotHubInstalledItemService.findById(tenantId, installedItemId); + if (installedItem == null) { + throw new IllegalArgumentException("Installed item not found"); + } + checkDevicePackage(installedItem); + return installedItem; + } + + private static void checkDevicePackage(IotHubInstalledItem installedItem) { + if (!"DEVICE".equals(installedItem.getItemType()) || !(installedItem.getDescriptor() instanceof DeviceInstalledItemDescriptor)) { + throw new IllegalArgumentException("Installed item is not a device package"); + } + } + private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { if (createdEntityIds == null || createdEntityIds.isEmpty()) { return; @@ -690,23 +762,28 @@ public class DefaultIotHubService implements IotHubService { } } + /** The ids come from what the client registered: never delete an entity of another tenant. */ + private static boolean isOwnedBy(HasTenantId entity, TenantId tenantId) { + return entity != null && tenantId.equals(entity.getTenantId()); + } + private void deleteDevicePackageEntity(TenantId tenantId, EntityId entityId, SecurityUser user) { switch (entityId.getEntityType()) { case DEVICE -> { var device = deviceService.findDeviceById(tenantId, new DeviceId(entityId.getId())); - if (device != null) tbDeviceService.delete(device, user); + if (isOwnedBy(device, tenantId)) tbDeviceService.delete(device, user); } case DEVICE_PROFILE -> { var profile = deviceProfileService.findDeviceProfileById(tenantId, new DeviceProfileId(entityId.getId())); - if (profile != null) tbDeviceProfileService.delete(profile, user); + if (isOwnedBy(profile, tenantId)) tbDeviceProfileService.delete(profile, user); } case DASHBOARD -> { var dashboard = dashboardService.findDashboardById(tenantId, new DashboardId(entityId.getId())); - if (dashboard != null) tbDashboardService.delete(dashboard, user); + if (isOwnedBy(dashboard, tenantId)) tbDashboardService.delete(dashboard, user); } case RULE_CHAIN -> { var ruleChain = ruleChainService.findRuleChainById(tenantId, new RuleChainId(entityId.getId())); - if (ruleChain != null) tbRuleChainService.delete(ruleChain, user); + if (isOwnedBy(ruleChain, tenantId)) tbRuleChainService.delete(ruleChain, user); } default -> log.warn("[{}] Unsupported entity type for device package delete: {}", tenantId, entityId.getEntityType()); } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java index 04c9e6a80d..22aa2d5671 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/InstallItemVersionResult.java @@ -7,6 +7,8 @@ import lombok.Data; import lombok.NoArgsConstructor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItemDescriptor; +import java.util.UUID; + @Data @NoArgsConstructor @AllArgsConstructor @@ -15,13 +17,19 @@ public class InstallItemVersionResult { private boolean success; private String errorMessage; private IotHubInstalledItemDescriptor descriptor; + /** The installed item that was saved; null when unknown. */ + private UUID installedItemId; public static InstallItemVersionResult success(IotHubInstalledItemDescriptor descriptor) { - return new InstallItemVersionResult(true, null, descriptor); + return new InstallItemVersionResult(true, null, descriptor, null); + } + + public static InstallItemVersionResult success(IotHubInstalledItemDescriptor descriptor, UUID installedItemId) { + return new InstallItemVersionResult(true, null, descriptor, installedItemId); } public static InstallItemVersionResult error(String errorMessage) { - return new InstallItemVersionResult(false, errorMessage, null); + return new InstallItemVersionResult(false, errorMessage, null, null); } } diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 2e8d0c453f..24d88ac4da 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -14,7 +14,19 @@ public interface IotHubService { UpdateItemVersionResult updateItemVersion(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, boolean force, HttpServletRequest request); - InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor); + /** + * Records a device package installed by the install wizard. With {@code replaceInstalledItemId} (an update), that + * installed item takes the new version instead of a new installed item being created. + */ + InstallItemVersionResult registerDeviceInstall(SecurityUser user, String versionId, DeviceInstalledItemDescriptor descriptor, + IotHubInstalledItemId replaceInstalledItemId); + + /** + * First step of a device package update: removes the entities the package created and keeps the installed item at + * its current version, so it is never shown with a version that is not installed. Repeating it is safe. Refused, + * before anything is removed, when {@code versionId} (the version to install) is not a version of that item. + */ + void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 856629ddfb..b07b3c8195 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -30,7 +30,9 @@ import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; import org.thingsboard.server.service.entitiy.device.TbDeviceService; import org.thingsboard.server.service.security.model.SecurityUser; +import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import java.util.UUID; import static org.assertj.core.api.Assertions.assertThat; @@ -431,9 +433,30 @@ class DefaultIotHubServiceTest { } @Test - void updateItemVersion_device_removesInstalledItemWithItsEntities() throws Exception { + void updateItemVersion_device_refusedAndRemovesNothing() { + mockTenant(); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemVersionId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + // The install wizard of the new version does the update. A client that called this as an update before + // got success while the package was removed and nothing was installed again. + UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), UUID.randomUUID().toString(), true, null); + + assertThat(result.isSuccess()).isFalse(); + assertThat(result.getErrorMessage()).contains("install wizard"); + verify(tbDeviceService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_removesEntitiesInReverseOrderAndKeepsTheItemVersion() throws Exception { mockTenant(); - String newVersionId = UUID.randomUUID().toString(); Device device = new Device(new DeviceId(UUID.randomUUID())); Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); @@ -441,48 +464,215 @@ class DefaultIotHubServiceTest { descriptor.setDashboardId(dashboard.getId()); IotHubInstalledItem item = installedItem(UUID.randomUUID()); item.setItemType("DEVICE"); - item.setItemVersionId(UUID.randomUUID()); + UUID versionId = UUID.randomUUID(); + item.setItemVersionId(versionId); + item.setVersion("1.0.1"); item.setDescriptor(descriptor); - + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Configuration", JacksonUtil.toJsonNode("{\"formValues\":{\"gatewayName\":\"GW\"}}"), + "Gateway", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"x\"},\"resolution\":\"created\"}")))); when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + item.setItemId(UUID.randomUUID()); when(iotHubRestClient.getVersionInfo(newVersionId)) - .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + device.setTenantId(tenantId); + dashboard.setTenantId(tenantId); when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); - UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + service.removeDevicePackageEntities(user, item.getId(), newVersionId); - // No "entity modified" question: the update dialog warns that the package is installed again. - assertThat(result.isSuccess()).isTrue(); - assertThat(result.isEntityModified()).isFalse(); - // The entities are removed in reverse order of creation, then the installed item itself: the install - // wizard registers the new version, and until then the package is not shown as installed. InOrder order = inOrder(tbDashboardService, tbDeviceService, iotHubInstalledItemService); order.verify(tbDashboardService).delete(dashboard, user); order.verify(tbDeviceService).delete(device, user); - order.verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); - // Nothing is installed or saved on the server: the new version is never recorded with no entities. - verify(iotHubRestClient, never()).getVersionInfo(item.getItemVersionId().toString()); - verify(iotHubRestClient, never()).getVersionFileData(anyString()); - verify(iotHubInstalledItemService, never()).save(any(), any()); + order.verify(iotHubInstalledItemService).save(tenantId, item); + // The item keeps its version until the wizard registers the new one, and lists nothing to remove again. + assertThat(item.getItemVersionId()).isEqualTo(versionId); + assertThat(item.getVersion()).isEqualTo("1.0.1"); + assertThat(descriptor.getCreatedEntityIds()).isNull(); + assertThat(descriptor.getDashboardId()).isNull(); + // The form values stay for the wizard of the new version; the removed entities' outputs go. + assertThat(descriptor.getInstallState()).containsOnlyKeys("Configuration"); + assertThat(descriptor.getInstallState().get("Configuration").get("formValues").get("gatewayName").asText()).isEqualTo("GW"); + verify(iotHubInstalledItemService, never()).deleteById(any(), any()); } @Test - void updateItemVersion_device_versionOfAnotherType_keepsEverything() { + void registerDeviceInstall_replace_updatesTheSameItemToTheNewVersion() { mockTenant(); - String newVersionId = UUID.randomUUID().toString(); IotHubInstalledItem item = installedItem(UUID.randomUUID()); item.setItemType("DEVICE"); item.setItemVersionId(UUID.randomUUID()); + item.setVersion("1.0.1"); item.setDescriptor(new DeviceInstalledItemDescriptor()); + String newVersionId = UUID.randomUUID().toString(); + String itemId = UUID.randomUUID().toString(); + item.setItemId(UUID.fromString(itemId)); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)).thenReturn(version(newVersionId, itemId, "DEVICE", "Gateway", "1.0.2")); + DeviceInstalledItemDescriptor newDescriptor = new DeviceInstalledItemDescriptor(); + newDescriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, newDescriptor, item.getId()); + + assertThat(result.isSuccess()).isTrue(); + assertThat(result.getInstalledItemId()).isEqualTo(item.getId().getId()); + verify(iotHubInstalledItemService).save(tenantId, item); + assertThat(item.getId()).isNotNull(); + assertThat(item.getItemVersionId()).isEqualTo(UUID.fromString(newVersionId)); + assertThat(item.getVersion()).isEqualTo("1.0.2"); + assertThat(item.getDescriptor()).isSameAs(newDescriptor); + } + + @Test + void removeDevicePackageEntities_notADevicePackage_refused() { + mockTenant(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("RULE_CHAIN"); + item.setDescriptor(new RuleChainInstalledItemDescriptor()); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), UUID.randomUUID().toString())) + .isInstanceOf(IllegalArgumentException.class); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceInstall_replace_keepsTrackingTheEntitiesTheItemTracks() { + mockTenant(); + String itemId = UUID.randomUUID().toString(); + EntityId gateway = new DeviceId(UUID.randomUUID()); + DashboardId dashboard = new DashboardId(UUID.randomUUID()); + DeviceInstalledItemDescriptor tracked = new DeviceInstalledItemDescriptor(); + tracked.setCreatedEntityIds(List.of(gateway, dashboard)); + tracked.setDashboardId(dashboard); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.fromString(itemId)); + item.setDescriptor(tracked); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(newVersionId)).thenReturn(version(newVersionId, itemId, "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + EntityId device = new DeviceId(UUID.randomUUID()); + DeviceInstalledItemDescriptor next = new DeviceInstalledItemDescriptor(); + next.setCreatedEntityIds(List.of(device)); + + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, next, item.getId()); + + // A registration that leaves tracked entities out (another group, another connection method) still tracks them. + assertThat(result.isSuccess()).isTrue(); + assertThat(next.getCreatedEntityIds()).containsExactlyInAnyOrder(device, gateway, dashboard); + assertThat(next.getDashboardId()).isEqualTo(dashboard); + } + + @Test + void registerDeviceInstall_replacedItemGone_savesANewItem() { + mockTenant(); + IotHubInstalledItemId goneId = new IotHubInstalledItemId(UUID.randomUUID()); + String versionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(versionId)) + .thenReturn(version(versionId, UUID.randomUUID().toString(), "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(eq(tenantId), any())).thenAnswer(inv -> { + IotHubInstalledItem saved = inv.getArgument(1); + saved.setId(new IotHubInstalledItemId(UUID.randomUUID())); + return saved; + }); + + InstallItemVersionResult result = service.registerDeviceInstall(user, versionId, new DeviceInstalledItemDescriptor(), goneId); + + // Deleted from another tab during the update: the new entities are tracked by a new item, Retry is not stuck. + assertThat(result.isSuccess()).isTrue(); + assertThat(result.getInstalledItemId()).isNotEqualTo(goneId.getId()); + } + + @Test + void registerDeviceInstall_replace_versionOfAnotherItem_refused() { + mockTenant(); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(new DeviceInstalledItemDescriptor()); + String newVersionId = UUID.randomUUID().toString(); when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); when(iotHubRestClient.getVersionInfo(newVersionId)) - .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "WIDGET", "Widget", "1.0.0")); + .thenReturn(version(newVersionId, UUID.randomUUID().toString(), "DEVICE", "Other", "2.0.0")); - UpdateItemVersionResult result = service.updateItemVersion(user, item.getId(), newVersionId, false, null); + InstallItemVersionResult result = service.registerDeviceInstall(user, newVersionId, new DeviceInstalledItemDescriptor(), item.getId()); assertThat(result.isSuccess()).isFalse(); - verify(iotHubInstalledItemService, never()).deleteById(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void registerDeviceInstall_replace_nextGroupWithAllTrackedEntities_updatesTheItem() { + mockTenant(); + String itemId = UUID.randomUUID().toString(); + EntityId gateway = new DeviceId(UUID.randomUUID()); + EntityId dashboard = new DashboardId(UUID.randomUUID()); + DeviceInstalledItemDescriptor firstGroup = new DeviceInstalledItemDescriptor(); + firstGroup.setCreatedEntityIds(List.of(gateway)); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.fromString(itemId)); + item.setDescriptor(firstGroup); + String versionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(versionId)).thenReturn(version(versionId, itemId, "DEVICE", "Gateway", "1.0.2")); + when(iotHubInstalledItemService.save(tenantId, item)).thenReturn(item); + // The wizard registers after each group of entities with everything it created so far. + DeviceInstalledItemDescriptor bothGroups = new DeviceInstalledItemDescriptor(); + bothGroups.setCreatedEntityIds(List.of(gateway, dashboard)); + + InstallItemVersionResult result = service.registerDeviceInstall(user, versionId, bothGroups, item.getId()); + + assertThat(result.isSuccess()).isTrue(); + assertThat(item.getDescriptor()).isSameAs(bothGroups); + } + + @Test + void removeDevicePackageEntities_entityOfAnotherTenant_notDeleted() { + mockTenant(); + Device foreignDevice = new Device(new DeviceId(UUID.randomUUID())); + foreignDevice.setTenantId(TenantId.fromUUID(UUID.randomUUID())); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(foreignDevice.getId())); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + item.setItemId(UUID.randomUUID()); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, foreignDevice.getId())).thenReturn(foreignDevice); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + verify(tbDeviceService, never()).delete(any(), any()); + } + + @Test + void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { + mockTenant(); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(new DeviceId(UUID.randomUUID()))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + String otherVersionId = UUID.randomUUID().toString(); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + when(iotHubRestClient.getVersionInfo(otherVersionId)) + .thenReturn(version(otherVersionId, UUID.randomUUID().toString(), "DEVICE", "Other", "2.0.0")); + + // The registration of that version would be refused: nothing may be removed for it. + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), otherVersionId)) + .isInstanceOf(IllegalArgumentException.class); + verify(tbDeviceService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); } } diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 70f97ed061..ba19c0f6e6 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -179,11 +179,24 @@ export class IotHubApiService { public registerDeviceInstall( versionId: string, descriptor: { type?: string; createdEntityIds: { entityType: string; id: string }[]; dashboardId?: { entityType: string; id: string }; selectedInstallMethod?: string; installState?: Record }, + replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { + let params = this.buildParams(config); + if (replaceInstalledItemId) { + params = params.set('replaceInstalledItemId', replaceInstalledItemId); + } return this.http.post( `/api/iot-hub/device/register?versionId=${versionId}`, { type: 'DEVICE', ...descriptor }, + { params } + ); + } + + public removeDevicePackageEntities(installedItemId: string, versionId: string, config?: IotHubRequestConfig): Observable { + return this.http.post( + `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities?versionId=${versionId}`, + null, { params: this.buildParams(config) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 28e7f61ceb..6db53d1cfb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -143,6 +143,15 @@
} } + @if (ws.removingReplaced) { +
+ + {{ 'iot-hub.device-update-removing' | translate }} +
+ } + @if (stepLevelError(ws); as error) { + {{ error }} + }
} } @@ -157,7 +166,7 @@ } @else {

{{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

-
@@ -211,13 +220,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 5fe32d30a1..0b46df81bb 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -48,9 +48,10 @@ export interface DeviceInstallDialogData { selectedInstallMethod?: string; installState?: Record; /** - * Update of an installed device package: the installed item of the current version. It is removed together - * with its entities right before the wizard creates the new version's entities, not earlier, so closing the - * wizard before that leaves the package as it was. + * Update of an installed device package: the installed item of the current version. Its entities are removed + * right before the wizard creates the new version's entities, not earlier, so closing the wizard before that + * leaves the package as it was; the item takes the new version when the wizard registers it. The forms start + * from installState and the connection method from selectedInstallMethod, as the user filled them before. */ replaceInstalledItemId?: string; } @@ -71,6 +72,8 @@ export interface WizardStep { entitySteps?: EntityStepProgress[]; progressError?: string; progressDone?: boolean; + /** Update only: the entities of the replaced version are being removed. */ + removingReplaced?: boolean; } const ENTITY_STEP_MIN_DELAY = 2000; @@ -108,8 +111,24 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; @@ -141,6 +160,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { + this.registeredItemId = this.data.replaceInstalledItemId; try { const zipData = await firstValueFrom(this.iotHubApiService.getVersionFileData(this.data.item.id, { ignoreLoading: true }).pipe( mergeMap((blob: Blob) => blob.arrayBuffer()) @@ -199,12 +219,19 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); + } + cancel(): void { - // Once the replaced version is removed, the caller has to reload its installed items as well. - this.dialogRef.close(this.installRegistered || this.replacedItemRemoved ? 'installed' : false); + if (this.removingReplaced) { + // The removal is irreversible and already running: closing now would leave the outcome unknown. + return; + } + this.closed = true; + // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. + this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); } retryEntitySteps(step: WizardStep): void { @@ -420,7 +463,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent = {}; - // In review mode, use stored values; otherwise use defaults - const storedValues = this.reviewMode && this.data.installState?.[ws.label]?.formValues; + // In review mode and on an update, use stored values; otherwise use defaults + const storedValues = (this.reviewMode || this.data.replaceInstalledItemId) && this.data.installState?.[ws.label]?.formValues; for (const field of ws.formFields) { this.fieldTypes.set(field.key, field.type); const validators = []; @@ -713,7 +756,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === output.id)) { + this.packageEntityIds.push({ entityType, id: output.id }); + } const alias = stepTypeAliasMap[ep.step.type]; if (alias) { this.entityOutputs.set(alias, output); @@ -786,7 +835,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!await this.removeReplacedItem(ws)) { + if (!await this.removeReplacedEntities(ws) || this.closed) { + // The dialog was closed meanwhile (navigating away): create nothing. return; } for (const ep of ws.entitySteps) { @@ -818,31 +868,44 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { + this.packageEntityIds.push(id); + } + } + const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); - await firstValueFrom( + const result = await firstValueFrom( this.iotHubApiService.registerDeviceInstall( this.data.item.id as string, { createdEntityIds, dashboardId, selectedInstallMethod: this.selectedInstallMethod, installState: this.buildInstallState() }, - { ignoreLoading: true } + this.registeredItemId, + { ignoreLoading: true, ignoreErrors: true } ) ); + if (!result?.success) { + throw new Error(result?.errorMessage); + } this.installRegistered = true; - } catch (_e) { - // Non-critical — entities are created, tracking registration failed - console.error('Failed to register device install', _e); + this.registeredItemId = result.installedItemId ?? this.registeredItemId; + } catch (err: any) { + // The entities stay as they are: Retry registers them again. + ws.progressError = this.translate.instant('iot-hub.device-install-register-error', { error: this.errorText(err) }); + this.cdr.detectChanges(); + return; } + ws.progressDone = true; + ws.completed = true; // Auto-advance to next step after a short pause if (!this.isLastWizardStep) { @@ -853,37 +916,50 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - if (!this.data.replaceInstalledItemId || this.replacedItemRemoved) { + private async removeReplacedEntities(ws: WizardStep): Promise { + if (!this.data.replaceInstalledItemId || this.replacedEntitiesRemoved) { return true; } - // Nothing is created yet: the first step shows the removal running and, if it fails, why. - const ep = ws.entitySteps.find(s => s.status !== 'success'); - if (ep) { - ep.status = 'running'; - ep.errorMessage = null; - this.cdr.detectChanges(); - } + this.replaceStarted = true; + ws.removingReplaced = true; + this.cdr.detectChanges(); try { - const result = await firstValueFrom(this.iotHubApiService.updateItemVersion( - this.data.replaceInstalledItemId, this.data.item.id as string, { ignoreLoading: true }, true)); - if (!result.success) { - throw new Error(result.errorMessage || this.translate.instant('iot-hub.update-error', { name: this.data.item.name })); - } - this.replacedItemRemoved = true; + await firstValueFrom(this.iotHubApiService.removeDevicePackageEntities(this.data.replaceInstalledItemId, + this.data.item.id as string, { ignoreLoading: true, ignoreErrors: true })); + this.replacedEntitiesRemoved = true; return true; } catch (err: any) { - // Retry runs the removal again. - ws.progressError = err?.error?.message || err?.message || 'Unknown error'; - if (ep) { - ep.status = 'error'; - ep.errorMessage = ws.progressError; - } - this.cdr.detectChanges(); + ws.progressError = this.translate.instant('iot-hub.device-update-remove-error', { error: this.errorText(err) }); return false; + } finally { + ws.removingReplaced = false; + this.cdr.detectChanges(); + } + } + + /** An error of the step that is not one entity's (removing the replaced entities, registering), shown below them. */ + stepLevelError(ws: WizardStep): string | null { + return ws.progressError && !ws.entitySteps?.some(ep => ep.status === 'error') ? ws.progressError : null; + } + + private errorText(err: any): string { + return err?.error?.message || err?.message || 'Unknown error'; + } + + private fitsField(field: FormFieldDefinition, value: any): boolean { + switch (field.type) { + case FormFieldType.BOOLEAN: + return typeof value === 'boolean'; + case FormFieldType.INTEGER: + return Number.isInteger(value) || (typeof value === 'string' && /^-?\d*$/.test(value)); + case FormFieldType.SELECT: + return typeof value === 'string' && (!field.options?.length || field.options.some(option => option.value === value)); + default: + return typeof value === 'string'; } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index 36b4c83bcb..5ec83949bd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -3,7 +3,7 @@ import { Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { Observable, of, EMPTY } from 'rxjs'; -import { map, switchMap } from 'rxjs/operators'; +import { catchError, map, switchMap } from 'rxjs/operators'; import { TranslateService } from '@ngx-translate/core'; import { DialogService } from '@core/services/dialog.service'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; @@ -172,13 +172,20 @@ export class IotHubActionsService { /** * A device package is updated by installing the new version through the install wizard: it needs the user's - * input, so the server cannot install it alone. The wizard removes the installed version only when it starts - * creating the entities, so closing it before that leaves the package as it was. + * input, so the server cannot install it alone. The wizard removes the installed version's entities only when it starts + * creating the new ones, so closing it before that leaves the package as it was. */ private reinstallDevice(installedItem: IotHubInstalledItem, versionId: string): Observable { + const descriptor = installedItem.descriptor as DeviceInstalledItemDescriptor; return this.iotHubApiService.getVersionInfo(versionId).pipe( - switchMap(item => this.openDeviceInstallDialog(item, { replaceInstalledItemId: installedItem.id.id })), - map(result => result === 'installed' ? 'updated' : false) + switchMap(item => this.openDeviceInstallDialog(item, { + replaceInstalledItemId: installedItem.id.id, + selectedInstallMethod: descriptor?.selectedInstallMethod, + installState: descriptor?.installState + })), + map(result => result === 'installed' ? 'updated' : false), + // The error itself is shown by the HTTP interceptor; nothing is changed yet. + catchError(() => of(false)) ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 63c88b4cce..2c715bec1c 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -25,6 +25,7 @@ import { switchMap } from 'rxjs/operators'; import { PageLink } from '@shared/models/page/page-link'; import { Direction, SortOrder } from '@shared/models/page/sort-order'; import { + canReviewDeviceInstall, DeviceInstalledItemDescriptor, getInstalledItemUrl, IotHubInstalledItem, @@ -182,9 +183,13 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, private openDeviceReviewDialog(item: IotHubInstalledItem): void { const descriptor = item.descriptor as DeviceInstalledItemDescriptor; - if (!descriptor.installState || !descriptor.selectedInstallMethod) { + if (!canReviewDeviceInstall(descriptor)) { this.iotHubApiService.getVersionInfo(item.itemVersionId, {ignoreLoading: true}).subscribe(versionView => { - this.iotHubActions.openItemDetail(versionView, item).subscribe(); + this.iotHubActions.openItemDetail(versionView, item).subscribe(result => { + if (result === 'updated' || result === 'deleted') { + this.loadData(); + } + }); }); return; } diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index c836687a45..5a18c4a6a4 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -34,6 +34,13 @@ export interface DeviceInstalledItemDescriptor { installState?: Record; } +/** + * Whether the install of a device package can be reviewed: an update that removed the entities of the installed + * version but did not install the new one leaves the item with nothing to show. + */ +export const canReviewDeviceInstall = (descriptor: DeviceInstalledItemDescriptor): boolean => + !!descriptor?.installState && !!descriptor.selectedInstallMethod && !!descriptor.createdEntityIds?.length; + export interface SolutionTemplateInstalledItemDescriptor { type: 'SOLUTION_TEMPLATE'; createdEntityIds: { entityType: string; id: string }[]; @@ -55,6 +62,7 @@ export interface InstallItemVersionResult { success: boolean; errorMessage: string; descriptor: IotHubInstalledItemDescriptor; + installedItemId?: string; } export enum InstallPlanEntryStatus { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index ba48007bab..d4d249f2b7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4480,6 +4480,9 @@ "update-confirm": "Update '{{name}}' to version {{version}}?", "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", + "device-update-removing": "Removing the entities of the installed version…", + "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", From a8513638860a8a5e1db78f8568f40f0a644db508 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 4 Nov 2026 18:32:01 +0200 Subject: [PATCH 131/275] Document NotificationInfo subtypes in the OpenAPI spec NotificationInfo uses JsonTypeInfo.Id.CLASS without JsonSubTypes, so the spec had only an empty base schema and generated clients dropped every subtype field (alarm, rule engine lifecycle, etc.). Add a discriminator mapping from the fully qualified class name to each of the 24 concrete subtypes and list them in JsonSubTypes so each one is generated as allOf NotificationInfo. The wire format is unchanged: Jackson still writes and reads the class name as the type id. --- .../notification/info/NotificationInfo.java | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java b/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java index 54c8400c44..ad8b61402d 100644 --- a/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java +++ b/common/data/src/main/java/org/thingsboard/server/common/data/notification/info/NotificationInfo.java @@ -5,14 +5,74 @@ package org.thingsboard.server.common.data.notification.info; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; +import io.swagger.v3.oas.annotations.media.DiscriminatorMapping; +import io.swagger.v3.oas.annotations.media.Schema; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.EntityId; import java.util.Map; +// The type id is the fully qualified class name (JsonTypeInfo.Id.CLASS). The subtypes and the mapping +// below only document it in the OpenAPI spec; they do not change how Jackson reads or writes the type. +@Schema( + discriminatorProperty = "type", + discriminatorMapping = { + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AddonAccessErrorNotificationInfo", schema = AddonAccessErrorNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AddonAccessRequestNotificationInfo", schema = AddonAccessRequestNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AlarmAssignmentNotificationInfo", schema = AlarmAssignmentNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AlarmCommentNotificationInfo", schema = AlarmCommentNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.AlarmNotificationInfo", schema = AlarmNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.ApiUsageLimitNotificationInfo", schema = ApiUsageLimitNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.DeviceActivityNotificationInfo", schema = DeviceActivityNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EdgeCommunicationFailureNotificationInfo", schema = EdgeCommunicationFailureNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EdgeConnectionNotificationInfo", schema = EdgeConnectionNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EntitiesLimitIncreaseRequestNotificationInfo", schema = EntitiesLimitIncreaseRequestNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EntitiesLimitNotificationInfo", schema = EntitiesLimitNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.EntityActionNotificationInfo", schema = EntityActionNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.GeneralNotificationInfo", schema = GeneralNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.IntegrationLifecycleEventNotificationInfo", schema = IntegrationLifecycleEventNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.NewPlatformVersionNotificationInfo", schema = NewPlatformVersionNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.PlanUpgradeRequestNotificationInfo", schema = PlanUpgradeRequestNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.RateLimitsNotificationInfo", schema = RateLimitsNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.ReportGeneratedNotificationInfo", schema = ReportGeneratedNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.ResourcesShortageNotificationInfo", schema = ResourcesShortageNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.RuleEngineComponentLifecycleEventNotificationInfo", schema = RuleEngineComponentLifecycleEventNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.RuleEngineOriginatedNotificationInfo", schema = RuleEngineOriginatedNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.TaskProcessingFailureNotificationInfo", schema = TaskProcessingFailureNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.UserActivatedNotificationInfo", schema = UserActivatedNotificationInfo.class), + @DiscriminatorMapping(value = "org.thingsboard.server.common.data.notification.info.UserRegisteredNotificationInfo", schema = UserRegisteredNotificationInfo.class) + } +) @JsonIgnoreProperties(ignoreUnknown = true) @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "type") +@JsonSubTypes({ + @JsonSubTypes.Type(AddonAccessErrorNotificationInfo.class), + @JsonSubTypes.Type(AddonAccessRequestNotificationInfo.class), + @JsonSubTypes.Type(AlarmAssignmentNotificationInfo.class), + @JsonSubTypes.Type(AlarmCommentNotificationInfo.class), + @JsonSubTypes.Type(AlarmNotificationInfo.class), + @JsonSubTypes.Type(ApiUsageLimitNotificationInfo.class), + @JsonSubTypes.Type(DeviceActivityNotificationInfo.class), + @JsonSubTypes.Type(EdgeCommunicationFailureNotificationInfo.class), + @JsonSubTypes.Type(EdgeConnectionNotificationInfo.class), + @JsonSubTypes.Type(EntitiesLimitIncreaseRequestNotificationInfo.class), + @JsonSubTypes.Type(EntitiesLimitNotificationInfo.class), + @JsonSubTypes.Type(EntityActionNotificationInfo.class), + @JsonSubTypes.Type(GeneralNotificationInfo.class), + @JsonSubTypes.Type(IntegrationLifecycleEventNotificationInfo.class), + @JsonSubTypes.Type(NewPlatformVersionNotificationInfo.class), + @JsonSubTypes.Type(PlanUpgradeRequestNotificationInfo.class), + @JsonSubTypes.Type(RateLimitsNotificationInfo.class), + @JsonSubTypes.Type(ReportGeneratedNotificationInfo.class), + @JsonSubTypes.Type(ResourcesShortageNotificationInfo.class), + @JsonSubTypes.Type(RuleEngineComponentLifecycleEventNotificationInfo.class), + @JsonSubTypes.Type(RuleEngineOriginatedNotificationInfo.class), + @JsonSubTypes.Type(TaskProcessingFailureNotificationInfo.class), + @JsonSubTypes.Type(UserActivatedNotificationInfo.class), + @JsonSubTypes.Type(UserRegisteredNotificationInfo.class) +}) public interface NotificationInfo { @JsonIgnore From 358ca210f971cdd397b1fa05fbc2578ff11cd162 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 08:56:46 +0200 Subject: [PATCH 132/275] fix(iot-hub): keep the request config on a device package registration - The registration sends replaceInstalledItemId in the URL: HttpParams.set() returned a plain HttpParams, which dropped ignoreLoading/ignoreErrors, so a failed registration showed a toast next to the wizard's own error. - The stepper header cannot go back while the installed version's entities are being removed, like the Back button. - A version from the Hub without its item is reported as such instead of a NullPointerException. - The wizard registers the entities it keeps from the moment they exist; the second collection of the same ids before each registration is gone. - The tests verify TbDeviceService.delete through the Device overload, as 4.4 and PE also have one for a DeviceId, so the test is the same file everywhere. --- .../service/iot_hub/DefaultIotHubService.java | 6 ++++- .../iot_hub/DefaultIotHubServiceTest.java | 6 ++--- .../src/app/core/http/iot-hub-api.service.ts | 10 ++++----- .../device-install-dialog.component.html | 2 +- .../device-install-dialog.component.ts | 22 ------------------- 5 files changed, 13 insertions(+), 33 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index c4389517d0..ece9c0cad9 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -631,7 +631,11 @@ public class DefaultIotHubService implements IotHubService { if (versionInfo == null) { throw new IllegalArgumentException("Failed to get version info from IoT Hub"); } - checkSameItem(installedItem, UUID.fromString(versionInfo.get(FIELD_ITEM_ID).asText())); + String itemId = optText(versionInfo, FIELD_ITEM_ID); + if (itemId == null) { + throw new IllegalArgumentException("IoT Hub returned the version without its item"); + } + checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); descriptor.setCreatedEntityIds(null); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index b07b3c8195..0d6a8d49b8 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -449,7 +449,7 @@ class DefaultIotHubServiceTest { assertThat(result.isSuccess()).isFalse(); assertThat(result.getErrorMessage()).contains("install wizard"); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).deleteById(any(), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } @@ -652,7 +652,7 @@ class DefaultIotHubServiceTest { service.removeDevicePackageEntities(user, item.getId(), newVersionId); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); } @Test @@ -672,7 +672,7 @@ class DefaultIotHubServiceTest { // The registration of that version would be refused: nothing may be removed for it. assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), otherVersionId)) .isInstanceOf(IllegalArgumentException.class); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } } diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index ba19c0f6e6..07c1c9a64d 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -182,14 +182,12 @@ export class IotHubApiService { replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { - let params = this.buildParams(config); - if (replaceInstalledItemId) { - params = params.set('replaceInstalledItemId', replaceInstalledItemId); - } + // In the URL: HttpParams.set() would drop the interceptor config (ignoreLoading, ignoreErrors) of buildParams. + const replace = replaceInstalledItemId ? `&replaceInstalledItemId=${replaceInstalledItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}`, + `/api/iot-hub/device/register?versionId=${versionId}${replace}`, { type: 'DEVICE', ...descriptor }, - { params } + { params: this.buildParams(config) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 6db53d1cfb..45060d91bc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -206,7 +206,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index c9aa546f23..51903723b1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -878,11 +878,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { - this.packageEntityIds.push(id); - } - } const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); const result = await firstValueFrom( @@ -1215,23 +1210,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 08:56:46 +0200 Subject: [PATCH 133/275] fix(iot-hub): keep the request config on a device package registration - The registration sends replaceInstalledItemId in the URL: HttpParams.set() returned a plain HttpParams, which dropped ignoreLoading/ignoreErrors, so a failed registration showed a toast next to the wizard's own error. - The stepper header cannot go back while the installed version's entities are being removed, like the Back button. - A version from the Hub without its item is reported as such instead of a NullPointerException. - The wizard registers the entities it keeps from the moment they exist; the second collection of the same ids before each registration is gone. - The tests verify TbDeviceService.delete through the Device overload, as 4.4 and PE also have one for a DeviceId, so the test is the same file everywhere. --- .../service/iot_hub/DefaultIotHubService.java | 6 ++++- .../iot_hub/DefaultIotHubServiceTest.java | 6 ++--- .../src/app/core/http/iot-hub-api.service.ts | 10 ++++----- .../device-install-dialog.component.html | 2 +- .../device-install-dialog.component.ts | 22 ------------------- 5 files changed, 13 insertions(+), 33 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 5a091db85a..8b3678bbbc 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -685,7 +685,11 @@ public class DefaultIotHubService implements IotHubService { if (versionInfo == null) { throw new IllegalArgumentException("Failed to get version info from IoT Hub"); } - checkSameItem(installedItem, UUID.fromString(versionInfo.get(FIELD_ITEM_ID).asText())); + String itemId = optText(versionInfo, FIELD_ITEM_ID); + if (itemId == null) { + throw new IllegalArgumentException("IoT Hub returned the version without its item"); + } + checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); descriptor.setCreatedEntityIds(null); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index b07b3c8195..0d6a8d49b8 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -449,7 +449,7 @@ class DefaultIotHubServiceTest { assertThat(result.isSuccess()).isFalse(); assertThat(result.getErrorMessage()).contains("install wizard"); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).deleteById(any(), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } @@ -652,7 +652,7 @@ class DefaultIotHubServiceTest { service.removeDevicePackageEntities(user, item.getId(), newVersionId); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); } @Test @@ -672,7 +672,7 @@ class DefaultIotHubServiceTest { // The registration of that version would be refused: nothing may be removed for it. assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), otherVersionId)) .isInstanceOf(IllegalArgumentException.class); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } } diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index ba19c0f6e6..07c1c9a64d 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -182,14 +182,12 @@ export class IotHubApiService { replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { - let params = this.buildParams(config); - if (replaceInstalledItemId) { - params = params.set('replaceInstalledItemId', replaceInstalledItemId); - } + // In the URL: HttpParams.set() would drop the interceptor config (ignoreLoading, ignoreErrors) of buildParams. + const replace = replaceInstalledItemId ? `&replaceInstalledItemId=${replaceInstalledItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}`, + `/api/iot-hub/device/register?versionId=${versionId}${replace}`, { type: 'DEVICE', ...descriptor }, - { params } + { params: this.buildParams(config) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 6db53d1cfb..45060d91bc 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -206,7 +206,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 0b46df81bb..d9ad8974d5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -878,11 +878,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === id.id)) { - this.packageEntityIds.push(id); - } - } const createdEntityIds = [...this.packageEntityIds]; const dashboardId = this.findCreatedDashboardId(); const result = await firstValueFrom( @@ -1215,23 +1210,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 11:45:27 +0200 Subject: [PATCH 134/275] fix(iot-hub): keep tracking the entities a device package update could not remove An entity that is not removed stays in the installed item and the removal fails, so the wizard shows the error and Retry removes the rest. Closing the wizard after the removal asks first, and the update warning says that the new devices get new access tokens. --- .../service/iot_hub/DefaultIotHubService.java | 23 ++++++++++--- .../server/service/iot_hub/IotHubService.java | 6 ++-- .../iot_hub/DefaultIotHubServiceTest.java | 34 +++++++++++++++++++ .../device-install-dialog.component.ts | 17 ++++++++-- .../assets/locale/locale.constant-en_US.json | 6 ++-- 5 files changed, 75 insertions(+), 11 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index ece9c0cad9..004c822dc5 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -637,15 +637,22 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - descriptor.setCreatedEntityIds(null); - descriptor.setDashboardId(null); + Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); + if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { + descriptor.setDashboardId(null); + } // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of // the removed entities: their ids, links and tokens no longer exist. if (descriptor.getInstallState() != null) { descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); } iotHubInstalledItemService.save(tenantId, installedItem); + if (!failed.isEmpty()) { + // The wizard must not create the new version's entities next to the ones left: it shows this and Retry. + throw new IllegalStateException("not removed: " + String.join(", ", failed.values())); + } log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); } @@ -697,9 +704,11 @@ public class DefaultIotHubService implements IotHubService { } } - private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ + private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + Map failed = new LinkedHashMap<>(); if (createdEntityIds == null || createdEntityIds.isEmpty()) { - return; + return failed; } List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); @@ -708,8 +717,12 @@ public class DefaultIotHubService implements IotHubService { deleteDevicePackageEntity(tenantId, entityId, user); } catch (Exception e) { log.error("[{}] Failed to delete device package entity: {}", tenantId, entityId, e); + failed.put(entityId, entityId.getEntityType() + " (" + e.getMessage() + ")"); } } + Map inCreationOrder = new LinkedHashMap<>(); + createdEntityIds.stream().filter(failed::containsKey).forEach(id -> inCreationOrder.put(id, failed.get(id))); + return inCreationOrder; } /** The ids come from what the client registered: never delete an entity of another tenant. */ diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 24d88ac4da..42854e48c1 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -23,8 +23,10 @@ public interface IotHubService { /** * First step of a device package update: removes the entities the package created and keeps the installed item at - * its current version, so it is never shown with a version that is not installed. Repeating it is safe. Refused, - * before anything is removed, when {@code versionId} (the version to install) is not a version of that item. + * its current version, so it is never shown with a version that is not installed. The item keeps that version even + * when its entities are gone and the new version is never registered (the wizard was closed): Update installs it + * again. An entity that could not be removed stays tracked and the call fails, so repeating it removes the rest. + * Refused, before anything is removed, when {@code versionId} (the version to install) is not a version of that item. */ void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 0d6a8d49b8..e367794b94 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -655,6 +655,40 @@ class DefaultIotHubServiceTest { verify(tbDeviceService, never()).delete(any(Device.class), any()); } + @Test + void removeDevicePackageEntities_entityNotRemoved_staysTrackedAndFails() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + dashboard.setTenantId(tenantId); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(device.getId(), dashboard.getId())); + descriptor.setDashboardId(dashboard.getId()); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setVersion("1.0.1"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + doThrow(new RuntimeException("dashboard is in use")).when(tbDashboardService).delete(dashboard, user); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .hasMessage("not removed: DASHBOARD (dashboard is in use)"); + + // The rest is removed; the one left stays tracked, so Retry, a later update or Delete removes it. + verify(tbDeviceService).delete(device, user); + verify(iotHubInstalledItemService).save(tenantId, item); + assertThat(descriptor.getCreatedEntityIds()).containsExactly(dashboard.getId()); + assertThat(descriptor.getDashboardId()).isEqualTo(dashboard.getId()); + assertThat(item.getVersion()).isEqualTo("1.0.1"); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 51903723b1..d1d7680470 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,6 +18,7 @@ import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { DialogService } from '@core/services/dialog.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; import { DeviceService } from '@core/http/device.service'; import { DashboardService } from '@core/http/dashboard.service'; @@ -154,7 +155,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); } - cancel(): void { + async cancel(): Promise { if (this.removingReplaced) { // The removal is irreversible and already running: closing now would leave the outcome unknown. return; } + if (this.replaceStarted && !this.installRegistered) { + // The installed version may already be gone while the new one is not installed: the user has to know before leaving. + const close = await firstValueFrom(this.dialogService.confirm( + this.translate.instant('iot-hub.device-update-close-title'), + this.translate.instant('iot-hub.device-update-close-text'), + this.translate.instant('action.cancel'), + this.translate.instant('action.close'))); + if (!close) { + return; + } + } this.closed = true; // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 7a926cc39a..9306351638 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3871,9 +3871,11 @@ "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", "device-update-removing": "Removing the entities of the installed version…", - "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-update-close-text": "The update has already removed entities of the installed version, and the new version is not installed yet. If you close the wizard now, the package stays at its installed version without them; Update installs it again.", + "device-update-close-title": "Close the installation wizard?", + "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", + "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 7e2802d24dd31b8ac8964db3a7da06ca60741f3c Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 11:45:27 +0200 Subject: [PATCH 135/275] fix(iot-hub): keep tracking the entities a device package update could not remove An entity that is not removed stays in the installed item and the removal fails, so the wizard shows the error and Retry removes the rest. Closing the wizard after the removal asks first, and the update warning says that the new devices get new access tokens. --- .../service/iot_hub/DefaultIotHubService.java | 23 ++++++++++--- .../server/service/iot_hub/IotHubService.java | 6 ++-- .../iot_hub/DefaultIotHubServiceTest.java | 34 +++++++++++++++++++ .../device-install-dialog.component.ts | 17 ++++++++-- .../assets/locale/locale.constant-en_US.json | 6 ++-- 5 files changed, 75 insertions(+), 11 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 8b3678bbbc..ab9c00fbc1 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -691,15 +691,22 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - descriptor.setCreatedEntityIds(null); - descriptor.setDashboardId(null); + Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); + if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { + descriptor.setDashboardId(null); + } // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of // the removed entities: their ids, links and tokens no longer exist. if (descriptor.getInstallState() != null) { descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); } iotHubInstalledItemService.save(tenantId, installedItem); + if (!failed.isEmpty()) { + // The wizard must not create the new version's entities next to the ones left: it shows this and Retry. + throw new IllegalStateException("not removed: " + String.join(", ", failed.values())); + } log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); } @@ -751,9 +758,11 @@ public class DefaultIotHubService implements IotHubService { } } - private void deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ + private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { + Map failed = new LinkedHashMap<>(); if (createdEntityIds == null || createdEntityIds.isEmpty()) { - return; + return failed; } List reversed = new ArrayList<>(createdEntityIds); Collections.reverse(reversed); @@ -762,8 +771,12 @@ public class DefaultIotHubService implements IotHubService { deleteDevicePackageEntity(tenantId, entityId, user); } catch (Exception e) { log.error("[{}] Failed to delete device package entity: {}", tenantId, entityId, e); + failed.put(entityId, entityId.getEntityType() + " (" + e.getMessage() + ")"); } } + Map inCreationOrder = new LinkedHashMap<>(); + createdEntityIds.stream().filter(failed::containsKey).forEach(id -> inCreationOrder.put(id, failed.get(id))); + return inCreationOrder; } /** The ids come from what the client registered: never delete an entity of another tenant. */ diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 24d88ac4da..42854e48c1 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -23,8 +23,10 @@ public interface IotHubService { /** * First step of a device package update: removes the entities the package created and keeps the installed item at - * its current version, so it is never shown with a version that is not installed. Repeating it is safe. Refused, - * before anything is removed, when {@code versionId} (the version to install) is not a version of that item. + * its current version, so it is never shown with a version that is not installed. The item keeps that version even + * when its entities are gone and the new version is never registered (the wizard was closed): Update installs it + * again. An entity that could not be removed stays tracked and the call fails, so repeating it removes the rest. + * Refused, before anything is removed, when {@code versionId} (the version to install) is not a version of that item. */ void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 0d6a8d49b8..e367794b94 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -655,6 +655,40 @@ class DefaultIotHubServiceTest { verify(tbDeviceService, never()).delete(any(Device.class), any()); } + @Test + void removeDevicePackageEntities_entityNotRemoved_staysTrackedAndFails() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + dashboard.setTenantId(tenantId); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(device.getId(), dashboard.getId())); + descriptor.setDashboardId(dashboard.getId()); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setVersion("1.0.1"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + doThrow(new RuntimeException("dashboard is in use")).when(tbDashboardService).delete(dashboard, user); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .hasMessage("not removed: DASHBOARD (dashboard is in use)"); + + // The rest is removed; the one left stays tracked, so Retry, a later update or Delete removes it. + verify(tbDeviceService).delete(device, user); + verify(iotHubInstalledItemService).save(tenantId, item); + assertThat(descriptor.getCreatedEntityIds()).containsExactly(dashboard.getId()); + assertThat(descriptor.getDashboardId()).isEqualTo(dashboard.getId()); + assertThat(item.getVersion()).isEqualTo("1.0.1"); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index d9ad8974d5..92c76d3cfa 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -18,6 +18,7 @@ import { TranslateService } from '@ngx-translate/core'; import { PageLink } from '@shared/models/page/page-link'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { DialogService } from '@core/services/dialog.service'; import { DeviceProfileService } from '@core/http/device-profile.service'; import { DeviceService } from '@core/http/device.service'; import { DashboardService } from '@core/http/dashboard.service'; @@ -154,7 +155,8 @@ export class TbDeviceInstallDialogComponent extends DialogComponent ws.removingReplaced); } - cancel(): void { + async cancel(): Promise { if (this.removingReplaced) { // The removal is irreversible and already running: closing now would leave the outcome unknown. return; } + if (this.replaceStarted && !this.installRegistered) { + // The installed version may already be gone while the new one is not installed: the user has to know before leaving. + const close = await firstValueFrom(this.dialogService.confirm( + this.translate.instant('iot-hub.device-update-close-title'), + this.translate.instant('iot-hub.device-update-close-text'), + this.translate.instant('action.cancel'), + this.translate.instant('action.close'))); + if (!close) { + return; + } + } this.closed = true; // Once the replaced version's entities may be gone, the caller has to reload its installed items as well. this.dialogRef.close(this.installRegistered || this.replaceStarted ? 'installed' : false); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index d4d249f2b7..8f5882c3e3 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4481,9 +4481,11 @@ "update-confirm-title": "Update '{{name}}'?", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", "device-update-removing": "Removing the entities of the installed version…", - "device-update-remove-error": "The entities of the installed version were not removed: {{error}}. Retry removes them again", + "device-update-close-text": "The update has already removed entities of the installed version, and the new version is not installed yet. If you close the wizard now, the package stays at its installed version without them; Update installs it again.", + "device-update-close-title": "Close the installation wizard?", + "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry", + "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 9f056688f43be2aa02419900c6d0a846ead9c099 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:05:01 +0200 Subject: [PATCH 136/275] fix(iot-hub): the Lansitec contact tracing badge is decoded by its own datasheet (LoRaWAN Bluetooth Badge DataSheet 2.78): Register, Heartbeat with friend badges, 10 s Instant Report, 80 s Periodic Report and Acknowledge from the raw frame; the test has 7 uplinks as The Things Stack sent them --- .../controller/ConverterControllerTest.java | 15 + .../things_stack_lansitec_uplinks.json | 514 ++++++++++++++++++ .../src/assets/converters/js-tti-decoder.raw | 172 +++++- .../src/assets/converters/js-ttn-decoder.raw | 172 +++++- .../assets/converters/tbel-tti-decoder.raw | 194 ++++++- .../assets/converters/tbel-ttn-decoder.raw | 194 ++++++- 6 files changed, 1225 insertions(+), 36 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 1abe155e74..78c02874bc 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -792,15 +792,23 @@ public class ConverterControllerTest extends AbstractControllerTest { @Test public void testThingsStackDefaultConvertersKeepMalformedLansitecUplinks() throws IOException { JsonNode temperatureHumidity = null; + JsonNode contactBadge = null; for (JsonNode testCase : JacksonUtil.toJsonNode(readResource(THINGS_STACK_LANSITEC_UPLINKS))) { if (testCase.get("name").asText().startsWith("temp-hum VER1")) { temperatureHumidity = testCase.get("uplink"); + } else if (testCase.get("name").asText().startsWith("contact badge 80s Periodic Report 4.5.5 example 1")) { + contactBadge = testCase.get("uplink"); } } ObjectNode shortFrame = temperatureHumidity.deepCopy(); ((ObjectNode) shortFrame.get("uplink_message")).put("frm_payload", "IQ=="); ObjectNode bytesList = temperatureHumidity.deepCopy(); ((ObjectNode) bytesList.get("uplink_message").get("decoded_payload")).set("bytes", JacksonUtil.toJsonNode("[33, 100]")); + // Periodic Report with 2 badges, cut in the middle of the first one, and Instant Report with 3 beacons and 1 byte + ObjectNode shortPeriodicReport = contactBadge.deepCopy(); + ((ObjectNode) shortPeriodicReport.get("uplink_message")).put("frm_payload", "wtAR"); + ObjectNode shortInstantReport = contactBadge.deepCopy(); + ((ObjectNode) shortInstantReport.get("uplink_message")).put("frm_payload", "g9M="); forEachThingsStackDefaultConverter((description, decoder) -> { JsonNode result = decoder.apply(shortFrame); @@ -811,6 +819,13 @@ public class ConverterControllerTest extends AbstractControllerTest { assertThat(result.get("profile").asText()).as(description + " bytes list").isEqualTo("lansitec-temperature-humidity-sensor"); assertThat(numbersByValue(telemetryValues(result).get("bytes"))).as(description + " bytes list") .isEqualTo(numbersByValue(JacksonUtil.toJsonNode("[33, 100]"))); + + for (ObjectNode shortReport : List.of(shortPeriodicReport, shortInstantReport)) { + result = decoder.apply(shortReport); + String reportDescription = description + " short report " + shortReport.get("uplink_message").get("frm_payload").asText(); + assertThat(result.get("profile").asText()).as(reportDescription).isEqualTo("lansitec-contact-tracing-badge"); + assertThat(withoutKeys(telemetryValues(result), THINGS_STACK_UPLINK_KEYS).isEmpty()).as(reportDescription).isTrue(); + } }); } diff --git a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json index 1d5ce0b72c..c9ecb72c4b 100644 --- a/application/src/test/resources/payload/things_stack_lansitec_uplinks.json +++ b/application/src/test/resources/payload/things_stack_lansitec_uplinks.json @@ -1855,5 +1855,519 @@ "profile": "lansitec-badge-tracker", "telemetry": {} } + }, + { + "name": "contact badge Register 4.5.1 (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ57PNWP8AGXCJQD7R9BDW", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:1987636f-fbc5-417b-b6c5-43dfebb304f2" + ], + "received_at": "2026-11-05T09:55:35.252740417Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "FiBwIAACCgqKEjQ=", + "decoded_payload": { + "bytes": { + "BLEReceivingDuration": "10sec", + "ContinuousReceive": "Continuous Bluetooth receiving is disabled", + "LoRaTxpower": "14dBm", + "LoRaWANband": "EU868", + "adr": "OFF", + "dr": "DR2", + "hb": "300sec", + "mode": "EU868", + "pos": "10sec", + "type": "Register" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "attributes": { + "adr": "OFF", + "mode": "EU868", + "loraWanFrequencyBand": "EU868", + "loraTxPower": 14, + "dataRate": "DR2", + "positionReportInterval": 10, + "heartbeatInterval": 300, + "buzzerAndVibrator": "ON", + "bluetoothTxPower": 0, + "proximityDetection": "ON", + "bluetoothReceivingThresholdSetting": 10 + } + } + }, + { + "name": "contact badge Heartbeat 4.5.2, SNR -5.00, Charging, 2 friend badges (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5BCG6BN1FHSSGF67YE24", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:5168cd93-1983-479d-a3d2-cc30d548ea44" + ], + "received_at": "2026-11-05T09:55:39.023582872Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gwFBRI0AADC0BEALtARAC0=", + "decoded_payload": { + "bytes": { + "chgstate": 2, + "rssi": "-62dBm", + "snr": "650.36dB", + "type": "Heartbeat", + "ver": "VER1285", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "batteryLevel": 100, + "loraRssi": -62, + "loraSnr": -5, + "deviceFirmwareVersion": "05", + "chargeState": "Charging", + "vibratorBuzzerStatus": "No action", + "friends": [ + { + "major": "D011", + "minor": "002E" + }, + { + "major": "D011", + "minor": "002D" + } + ] + } + } + }, + { + "name": "contact badge Heartbeat 4.5.2, BTSTATUS (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5D0MNH1S774XX07286BJ", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:8c866e78-af36-4e03-8059-c9161c9f0fe8" + ], + "received_at": "2026-11-05T09:55:40.691881636Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "IWQ+/gwAABI0BiU=", + "decoded_payload": { + "bytes": { + "chgstate": 2, + "rssi": "-62dBm", + "snr": "650.36dB", + "type": "Heartbeat", + "ver": "VER0", + "vol": "100%" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "batteryLevel": 100, + "loraRssi": -62, + "loraSnr": -5, + "deviceFirmwareVersion": "00", + "chargeState": "Not charging", + "vibratorBuzzerStatus": "Vibrator enabled, buzzer full sound level", + "bluetoothTxPower": 0, + "bluetoothReceivingThreshold": -77 + } + } + }, + { + "name": "contact badge 10s Instant Report 4.5.3, RSSI and TOFF examples (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5EMKTH1Q7R7AD5WA4HB6", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:e9a53f5b-bd3b-478b-8ff9-4c3424e1337f" + ], + "received_at": "2026-11-05T09:55:42.353804675Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "g9MQAj4r0BEALqsAAQACtSQQ", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "beacons": [ + { + "major": "D310", + "minor": "023E", + "type": "Badge", + "rssi": -85, + "timeOffset": 2 + }, + { + "major": "D011", + "minor": "002E", + "type": "Bluetooth beacon", + "rssi": -85, + "timeOffset": 4 + }, + { + "major": "0001", + "minor": "0002", + "type": "Bluetooth beacon", + "rssi": -75, + "timeOffset": 1 + } + ] + } + } + }, + { + "name": "contact badge 80s Periodic Report 4.5.5 example 1", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5G8KP87MTGDZW5HZ8FK2", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:18969a7b-1571-4754-b58f-ca2faa9b417f" + ], + "received_at": "2026-11-05T09:55:44.017827879Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "wtARAC750BEALY8=", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "badges": [ + { + "major": "D011", + "minor": "002E", + "timeMark": 249, + "seenTime": 60 + }, + { + "major": "D011", + "minor": "002D", + "timeMark": 143, + "seenTime": 50 + } + ], + "beacons": [] + } + } + }, + { + "name": "contact badge 80s Periodic Report 4.5.5 example 2", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5HWK1Q3VDZS5HH0DX9ST", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:2eb35d1f-4ebc-45eb-a898-447be7a6e488" + ], + "received_at": "2026-11-05T09:55:45.681914168Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "wv//AZvfAPAg", + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "badges": [], + "beacons": [ + { + "minor": "019B", + "timeMark": 223, + "seenTime": 70 + }, + { + "minor": "00F0", + "timeMark": 32, + "seenTime": 10 + } + ] + } + } + }, + { + "name": "contact badge Acknowledge 4.5.4 (built from DataSheet 2.78)", + "uplink": { + "end_device_ids": { + "device_id": "lt-contact-tracing-badge", + "application_ids": { + "application_id": "ansitec-test" + }, + "dev_eui": "70B3D57ED01A0005", + "join_eui": "0000000000000000" + }, + "correlation_ids": [ + "as:up:01M6NJ5KGJ7QJ2B7AS9Q0VCATN", + "rpc:/ttn.lorawan.v3.AppAs/SimulateUplink:0aba77e7-1257-4147-9e31-31b369cc2cbe" + ], + "received_at": "2026-11-05T09:55:47.345699317Z", + "uplink_message": { + "f_port": 1, + "frm_payload": "8Ac=", + "decoded_payload": { + "bytes": { + "msgid": "7", + "result": "downlink success", + "type": "Acknowledgment" + } + }, + "rx_metadata": [ + { + "gateway_ids": { + "gateway_id": "test" + }, + "rssi": -42, + "channel_rssi": -42, + "snr": 4.2 + } + ], + "settings": { + "data_rate": { + "lora": { + "bandwidth": 125000, + "spreading_factor": 7, + "coding_rate": "4/5" + } + }, + "frequency": "868100000" + }, + "version_ids": { + "brand_id": "lansitec", + "model_id": "contact-tracing-badge", + "hardware_version": "1.0", + "firmware_version": "1.0", + "band_id": "EU_863_870" + } + }, + "simulated": true + }, + "decoded": { + "profile": "lansitec-contact-tracing-badge", + "telemetry": { + "result": "Success", + "msgid": 7 + } + } } ] diff --git a/ui-ngx/src/assets/converters/js-tti-decoder.raw b/ui-ngx/src/assets/converters/js-tti-decoder.raw index 634d265574..0723f09d7c 100644 --- a/ui-ngx/src/assets/converters/js-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/js-tti-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', @@ -495,15 +496,168 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = 'contact-tracing-badge'; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ['', 'AU915', 'IN865', 'CN470', 'AS923', 'EU433', 'EU868', 'US915']; +var LANSITEC_CONTACT_BADGE_BANDS = { 1: 'AU915', 2: 'IN865', 4: 'CN470', 8: 'AS923', 16: 'EU433', 32: 'EU868', 64: 'US915' }; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ['No action', 'Vibrator disabled, buzzer muted (restore)', + 'Vibrator disabled, buzzer half sound level', 'Vibrator disabled, buzzer full sound level', + 'Vibrator enabled, buzzer muted', 'Vibrator enabled, buzzer half sound level', + 'Vibrator enabled, buzzer full sound level', 'Vibrator disabled, buzzer muted (no restore)', + 'Beacon-in-tracker and proximity detection disabled']; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + bits += (mark >> i) & 1; + } + item.seenTime = bits * 10; + return item; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var i, start; + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? 'ON' : 'OFF'; + if (LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07] != '') { + values.mode = LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07]; + } + if (LANSITEC_CONTACT_BADGE_BANDS[b[1]] != null) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[b[1]]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = 'DR' + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = lansitecUint(b, 4, 2) * 5; + values.heartbeatInterval = b[6] * 30; + var bt = lansitecUint(b, 7, 2); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? 'ON' : 'OFF'; + if (((bt >> 8) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(bt >> 8) & 0x07]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? 'ON' : 'OFF'; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1]; + values.loraRssi = -b[2]; + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = lansitecHex(b, 5, 6); + if (b[6] == 0x0) { + values.chargeState = 'Not charging'; + } else if (b[6] == 0x5) { + values.chargeState = 'Charging'; + } else if (b[6] == 0x6) { + values.chargeState = 'Charging completed'; + } + if (b.length >= 11) { + var status = lansitecUint(b, 9, 2); + if (LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F] != null) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + if (((status >> 4) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(status >> 4) & 0x07]; + } + if ((status & 0x0F) > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - (status & 0x0F); + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC && b.length >= 12 + (b[11] & 0x0F) * 4) { + var friends = []; + for (i = 0; i < (b[11] & 0x0F); i++) { + start = 12 + i * 4; + friends.push({ major: lansitecHex(b, start, start + 2), minor: lansitecHex(b, start + 2, start + 4) }); + } + values.friends = friends; + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + Math.floor((count + 1) / 2); + var list = []; + for (i = 0; i < count; i++) { + start = 1 + i * 5; + var item = { + major: lansitecHex(b, start, start + 2), + minor: lansitecHex(b, start + 2, start + 4), + type: (b[start + 4] & 0x80) != 0 ? 'Bluetooth beacon' : 'Badge', + rssi: (b[start + 4] & 0x7F) - 128 + }; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + Math.floor(i / 2)]; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.push(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && b[pos] == 0xFF && b[pos + 1] == 0xFF) { + inBeacons = true; + pos += 2; + } else if (!inBeacons && pos + 5 <= b.length) { + badges.push(lansitecContactBadgeSeen({ major: lansitecHex(b, pos, pos + 2), minor: lansitecHex(b, pos + 2, pos + 4) }, b[pos + 4])); + pos += 5; + } else if (inBeacons && pos + 3 <= b.length) { + periodBeacons.push(lansitecContactBadgeSeen({ minor: lansitecHex(b, pos, pos + 2) }, b[pos + 2])); + pos += 3; + } else { + return values; + } + } + if (badges.length + periodBeacons.length == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? 'Success' : 'Failure'; + values.msgid = b[1]; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == 'lansitec' && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = lansitecBase64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == 'lansitec' && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = lansitecBase64ToBytes(metadata.data); + var socketSync = metadata.modelId == LANSITEC_SOCKET_SYNC; + values = socketSync ? lansitecSocketSyncValues(lansitecBytes) : lansitecContactBadgeValues(lansitecBytes); + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == (socketSync ? 0x4 : 0x1)) { attributes = values; values = {}; } diff --git a/ui-ngx/src/assets/converters/js-ttn-decoder.raw b/ui-ngx/src/assets/converters/js-ttn-decoder.raw index 634d265574..0723f09d7c 100644 --- a/ui-ngx/src/assets/converters/js-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/js-ttn-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ['dBm', 'dB', '%', 'V', 'sec', 'min', 's', '℃', 'level', ' meter']; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: 'loraRssi', RSSI: 'loraRssi', snr: 'loraSnr', SNR: 'loraSnr', @@ -495,15 +496,168 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = 'contact-tracing-badge'; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ['', 'AU915', 'IN865', 'CN470', 'AS923', 'EU433', 'EU868', 'US915']; +var LANSITEC_CONTACT_BADGE_BANDS = { 1: 'AU915', 2: 'IN865', 4: 'CN470', 8: 'AS923', 16: 'EU433', 32: 'EU868', 64: 'US915' }; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ['No action', 'Vibrator disabled, buzzer muted (restore)', + 'Vibrator disabled, buzzer half sound level', 'Vibrator disabled, buzzer full sound level', + 'Vibrator enabled, buzzer muted', 'Vibrator enabled, buzzer half sound level', + 'Vibrator enabled, buzzer full sound level', 'Vibrator disabled, buzzer muted (no restore)', + 'Beacon-in-tracker and proximity detection disabled']; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + bits += (mark >> i) & 1; + } + item.seenTime = bits * 10; + return item; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var i, start; + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? 'ON' : 'OFF'; + if (LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07] != '') { + values.mode = LANSITEC_CONTACT_BADGE_MODES[b[0] & 0x07]; + } + if (LANSITEC_CONTACT_BADGE_BANDS[b[1]] != null) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[b[1]]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = 'DR' + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = lansitecUint(b, 4, 2) * 5; + values.heartbeatInterval = b[6] * 30; + var bt = lansitecUint(b, 7, 2); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? 'ON' : 'OFF'; + if (((bt >> 8) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(bt >> 8) & 0x07]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? 'ON' : 'OFF'; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1]; + values.loraRssi = -b[2]; + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = lansitecHex(b, 5, 6); + if (b[6] == 0x0) { + values.chargeState = 'Not charging'; + } else if (b[6] == 0x5) { + values.chargeState = 'Charging'; + } else if (b[6] == 0x6) { + values.chargeState = 'Charging completed'; + } + if (b.length >= 11) { + var status = lansitecUint(b, 9, 2); + if (LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F] != null) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[(status >> 8) & 0x0F]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + if (((status >> 4) & 0x07) > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[(status >> 4) & 0x07]; + } + if ((status & 0x0F) > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - (status & 0x0F); + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC && b.length >= 12 + (b[11] & 0x0F) * 4) { + var friends = []; + for (i = 0; i < (b[11] & 0x0F); i++) { + start = 12 + i * 4; + friends.push({ major: lansitecHex(b, start, start + 2), minor: lansitecHex(b, start + 2, start + 4) }); + } + values.friends = friends; + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + Math.floor((count + 1) / 2); + var list = []; + for (i = 0; i < count; i++) { + start = 1 + i * 5; + var item = { + major: lansitecHex(b, start, start + 2), + minor: lansitecHex(b, start + 2, start + 4), + type: (b[start + 4] & 0x80) != 0 ? 'Bluetooth beacon' : 'Badge', + rssi: (b[start + 4] & 0x7F) - 128 + }; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + Math.floor(i / 2)]; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.push(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && b[pos] == 0xFF && b[pos + 1] == 0xFF) { + inBeacons = true; + pos += 2; + } else if (!inBeacons && pos + 5 <= b.length) { + badges.push(lansitecContactBadgeSeen({ major: lansitecHex(b, pos, pos + 2), minor: lansitecHex(b, pos + 2, pos + 4) }, b[pos + 4])); + pos += 5; + } else if (inBeacons && pos + 3 <= b.length) { + periodBeacons.push(lansitecContactBadgeSeen({ minor: lansitecHex(b, pos, pos + 2) }, b[pos + 2])); + pos += 3; + } else { + return values; + } + } + if (badges.length + periodBeacons.length == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? 'Success' : 'Failure'; + values.msgid = b[1]; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == 'lansitec' && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = lansitecBase64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == 'lansitec' && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = lansitecBase64ToBytes(metadata.data); + var socketSync = metadata.modelId == LANSITEC_SOCKET_SYNC; + values = socketSync ? lansitecSocketSyncValues(lansitecBytes) : lansitecContactBadgeValues(lansitecBytes); + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == (socketSync ? 0x4 : 0x1)) { attributes = values; values = {}; } diff --git a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw index 8adbe6983f..a3f160c3dc 100644 --- a/ui-ngx/src/assets/converters/tbel-tti-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-tti-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", @@ -461,15 +462,190 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = "contact-tracing-badge"; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ["", "AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +var LANSITEC_CONTACT_BADGE_SMODES = [1, 2, 4, 8, 16, 32, 64]; +var LANSITEC_CONTACT_BADGE_BANDS = ["AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ["No action", "Vibrator disabled, buzzer muted (restore)", + "Vibrator disabled, buzzer half sound level", "Vibrator disabled, buzzer full sound level", + "Vibrator enabled, buzzer muted", "Vibrator enabled, buzzer half sound level", + "Vibrator enabled, buzzer full sound level", "Vibrator disabled, buzzer muted (no restore)", + "Beacon-in-tracker and proximity detection disabled"]; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + if (((mark >> i) & 1) == 1) { + bits = bits + 1; + } + } + item.seenTime = bits * 10; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var hex = bytesToHex(b); + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? "ON" : "OFF"; + var mode = b[0] & 0x07; + if (LANSITEC_CONTACT_BADGE_MODES[mode] != "") { + values.mode = LANSITEC_CONTACT_BADGE_MODES[mode]; + } + var band = LANSITEC_CONTACT_BADGE_SMODES.indexOf(b[1] & 0xFF); + if (band >= 0) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[band]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = "DR" + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = parseBytesToInt(b, 4, 2, true) * 5; + values.heartbeatInterval = (b[6] & 0xFF) * 30; + var bt = parseBytesToInt(b, 7, 2, true); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? "ON" : "OFF"; + var power = (bt >> 8) & 0x07; + if (power > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[power]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? "ON" : "OFF"; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1] & 0xFF; + values.loraRssi = 0 - (b[2] & 0xFF); + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = hex.substring(10, 12); + var charge = b[6] & 0xFF; + if (charge == 0x0) { + values.chargeState = "Not charging"; + } else if (charge == 0x5) { + values.chargeState = "Charging"; + } else if (charge == 0x6) { + values.chargeState = "Charging completed"; + } + if (b.length >= 11) { + var status = parseBytesToInt(b, 9, 2, true); + var buzzer = (status >> 8) & 0x0F; + if (buzzer < LANSITEC_CONTACT_BADGE_BUZZER.size()) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[buzzer]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + var statusPower = (status >> 4) & 0x07; + if (statusPower > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[statusPower]; + } + var threshold = status & 0x0F; + if (threshold > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - threshold; + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC) { + var friendCount = b[11] & 0x0F; + if (b.length >= 12 + friendCount * 4) { + var friends = []; + for (var f = 0; f < friendCount; f++) { + var friendStart = 12 + f * 4; + friends.add({ major: hex.substring(2 * friendStart, 2 * friendStart + 4), + minor: hex.substring(2 * friendStart + 4, 2 * friendStart + 8) }); + } + values.friends = friends; + } + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + (count + 1) / 2; + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 5; + var item = {}; + item.major = hex.substring(2 * start, 2 * start + 4); + item.minor = hex.substring(2 * start + 4, 2 * start + 8); + var rssi = b[start + 4] & 0xFF; + item.type = (rssi & 0x80) != 0 ? "Bluetooth beacon" : "Badge"; + item.rssi = (rssi & 0x7F) - 128; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + (i / 2).intValue()] & 0xFF; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.add(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && (b[pos] & 0xFF) == 0xFF && (b[pos + 1] & 0xFF) == 0xFF) { + inBeacons = true; + pos = pos + 2; + } else if (!inBeacons && pos + 5 <= b.length) { + var badge = { major: hex.substring(2 * pos, 2 * pos + 4), minor: hex.substring(2 * pos + 4, 2 * pos + 8) }; + lansitecContactBadgeSeen(badge, b[pos + 4] & 0xFF); + badges.add(badge); + pos = pos + 5; + } else if (inBeacons && pos + 3 <= b.length) { + var beacon = { minor: hex.substring(2 * pos, 2 * pos + 4) }; + lansitecContactBadgeSeen(beacon, b[pos + 2] & 0xFF); + periodBeacons.add(beacon); + pos = pos + 3; + } else { + return values; + } + } + if (badges.size() + periodBeacons.size() == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? "Success" : "Failure"; + values.msgid = b[1] & 0xFF; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == "lansitec" && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = base64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == "lansitec" && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = base64ToBytes(metadata.data); + var registerType = 0x1; + if (metadata.modelId == LANSITEC_SOCKET_SYNC) { + values = lansitecSocketSyncValues(lansitecBytes); + registerType = 0x4; + } else { + values = lansitecContactBadgeValues(lansitecBytes); + } + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == registerType) { attributes = values; values = {}; } diff --git a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw index 8adbe6983f..a3f160c3dc 100644 --- a/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw +++ b/ui-ngx/src/assets/converters/tbel-ttn-decoder.raw @@ -6,7 +6,8 @@ // Lansitec: the LoRaWAN Device Repository codecs wrap everything in "bytes", write numbers as strings with units // ("85%", "-67dBm") and get some fields wrong. Key names follow the Lansitec datasheets where there are any: // Bluetooth Gateway DataSheet 2.27, Badge Tracker DataSheet v5.30, Temperature Humidity Sensor DataSheet 1.26, -// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway). +// Plug Bluetooth Gateway DataSheet 1.5 (SocketSync gateway), +// LoRaWAN Bluetooth Badge DataSheet 2.78 (contact tracing badge). // The wrong fields are decoded from the raw bytes (metadata.data). Remove a fix when the Repository fixes the codec. var LANSITEC_UNITS = ["dBm", "dB", "%", "V", "sec", "min", "s", "℃", "level", " meter"]; @@ -54,8 +55,8 @@ var LANSITEC_TEMPERATURE_HUMIDITY_KEYS = { }; // Without a datasheet only these keys are renamed: the integration writes rssi, snr and firmwareVersion itself. -// chgstate: the tracking label and the contact tracing badge have the gateway codec byte for byte, which reads -// CHGSTAT 0x50 as "Not charging" (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count +// chgstate: the tracking label has the gateway codec byte for byte, which reads CHGSTAT 0x50 as "Not charging" +// (Bluetooth Gateway DataSheet 2.27, 4.4.2), so it is dropped. number is the count // of reported devices: the beacons list has them. var LANSITEC_CLASH_KEYS = { rssi: "loraRssi", RSSI: "loraRssi", snr: "loraSnr", SNR: "loraSnr", @@ -461,15 +462,190 @@ function lansitecSocketSyncValues(b) { return values; } +// LoRaWAN Bluetooth Badge DataSheet 2.78 (990-01242), the contact tracing badge: it reports the badges and the +// Bluetooth beacons near it, it has no GNSS. Its codec is the Bluetooth gateway's, which reads these messages with +// the gateway layout, so every message is decoded from the raw bytes, as for the SocketSync gateway. +// Major and Minor are hex: a badge's are the last 4 bytes of its DevEUI (4.4). +var LANSITEC_CONTACT_BADGE = "contact-tracing-badge"; +// 4.5.1 Type bits 2-0 (Mode) and SMODE: the LoRa frequency plan. +var LANSITEC_CONTACT_BADGE_MODES = ["", "AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +var LANSITEC_CONTACT_BADGE_SMODES = [1, 2, 4, 8, 16, 32, 64]; +var LANSITEC_CONTACT_BADGE_BANDS = ["AU915", "IN865", "CN470", "AS923", "EU433", "EU868", "US915"]; +// 4.5.1 BT bits 10-8 and 4.5.2 BTSTATUS bits 6-4: the Bluetooth transmitting power, dBm. 0 is not a power. +var LANSITEC_CONTACT_BADGE_BT_POWERS = [0, 4, 0, -4, -8, -12, -16, -20]; +// 4.5.2 BTSTATUS bits 11-8: the vibrator and buzzer. +var LANSITEC_CONTACT_BADGE_BUZZER = ["No action", "Vibrator disabled, buzzer muted (restore)", + "Vibrator disabled, buzzer half sound level", "Vibrator disabled, buzzer full sound level", + "Vibrator enabled, buzzer muted", "Vibrator enabled, buzzer half sound level", + "Vibrator enabled, buzzer full sound level", "Vibrator disabled, buzzer muted (no restore)", + "Beacon-in-tracker and proximity detection disabled"]; + +// 4.5.5 TimeMark: bit n set means seen n * 10 to n * 10 + 9 seconds before the message. Seen time is 10 s per bit. +function lansitecContactBadgeSeen(item, mark) { + item.timeMark = mark; + var bits = 0; + for (var i = 0; i < 8; i++) { + if (((mark >> i) & 1) == 1) { + bits = bits + 1; + } + } + item.seenTime = bits * 10; +} + +function lansitecContactBadgeValues(b) { + var values = {}; + if (b.length == 0) { + return values; + } + var type = (b[0] >> 4) & 0x0F; + var hex = bytesToHex(b); + if (type == 0x1 && b.length >= 9) { + // 4.5.1 Register: Type (ADR, Mode), SMODE, Power, CFG, POS (2), HB, BT (2), CRC (2). + values.adr = (b[0] & 0x08) != 0 ? "ON" : "OFF"; + var mode = b[0] & 0x07; + if (LANSITEC_CONTACT_BADGE_MODES[mode] != "") { + values.mode = LANSITEC_CONTACT_BADGE_MODES[mode]; + } + var band = LANSITEC_CONTACT_BADGE_SMODES.indexOf(b[1] & 0xFF); + if (band >= 0) { + values.loraWanFrequencyBand = LANSITEC_CONTACT_BADGE_BANDS[band]; + } + values.loraTxPower = (b[2] >> 3) & 0x1F; + values.dataRate = "DR" + ((b[3] >> 4) & 0x0F); + // POS unit 5 s, 0 means off. HB unit 30 s. + values.positionReportInterval = parseBytesToInt(b, 4, 2, true) * 5; + values.heartbeatInterval = (b[6] & 0xFF) * 30; + var bt = parseBytesToInt(b, 7, 2, true); + values.buzzerAndVibrator = ((bt >> 11) & 1) == 1 ? "ON" : "OFF"; + var power = (bt >> 8) & 0x07; + if (power > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[power]; + } + values.proximityDetection = ((bt >> 7) & 1) == 1 ? "ON" : "OFF"; + // 0x0-57, the datasheet gives no unit. + values.bluetoothReceivingThresholdSetting = bt & 0x7F; + } else if (type == 0x2 && b.length >= 7) { + // 4.5.2 Heartbeat: Type, VOL (battery level, %), RSSI (unit -1 dBm), SNR (2, signed, 0.01 dB), REV (software + // revision), CHGSTAT, CRC (2), BTSTATUS (2), then the friend badges. + values.batteryLevel = b[1] & 0xFF; + values.loraRssi = 0 - (b[2] & 0xFF); + values.loraSnr = lansitecSnr(b, 3); + values.deviceFirmwareVersion = hex.substring(10, 12); + var charge = b[6] & 0xFF; + if (charge == 0x0) { + values.chargeState = "Not charging"; + } else if (charge == 0x5) { + values.chargeState = "Charging"; + } else if (charge == 0x6) { + values.chargeState = "Charging completed"; + } + if (b.length >= 11) { + var status = parseBytesToInt(b, 9, 2, true); + var buzzer = (status >> 8) & 0x0F; + if (buzzer < LANSITEC_CONTACT_BADGE_BUZZER.size()) { + values.vibratorBuzzerStatus = LANSITEC_CONTACT_BADGE_BUZZER[buzzer]; + } + // 0 means not changed. The receiving threshold table is for range bit 7 = 0: -73 to -87 dBm. + var statusPower = (status >> 4) & 0x07; + if (statusPower > 0) { + values.bluetoothTxPower = LANSITEC_CONTACT_BADGE_BT_POWERS[statusPower]; + } + var threshold = status & 0x0F; + if (threshold > 0 && ((status >> 7) & 1) == 0) { + values.bluetoothReceivingThreshold = -72 - threshold; + } + } + // Friend field: Type 0xC with the number of friend badges (1-6), then Major (2) and Minor (2) of each. + if (b.length >= 12 && ((b[11] >> 4) & 0x0F) == 0xC) { + var friendCount = b[11] & 0x0F; + if (b.length >= 12 + friendCount * 4) { + var friends = []; + for (var f = 0; f < friendCount; f++) { + var friendStart = 12 + f * 4; + friends.add({ major: hex.substring(2 * friendStart, 2 * friendStart + 4), + minor: hex.substring(2 * friendStart + 4, 2 * friendStart + 8) }); + } + values.friends = friends; + } + } + } else if (type == 0x8) { + // 4.5.3 10s Instant Report: Type (bits 3-0: number of beacons M), Major (2), Minor (2) and RSSI of each, then + // TOFF: (M + 1) / 2 bytes, 4 bits per beacon, the first beacon in the high bits: seconds before the message. + // RSSI bit 7: 1 a Bluetooth beacon, 0 a badge (beacon-in-tracker); bits 6-0 - 128 is the RSSI, dBm. + var count = b[0] & 0x0F; + if (count > 0 && b.length >= 1 + count * 5) { + var hasOffsets = b.length >= 1 + count * 5 + (count + 1) / 2; + var list = []; + for (var i = 0; i < count; i++) { + var start = 1 + i * 5; + var item = {}; + item.major = hex.substring(2 * start, 2 * start + 4); + item.minor = hex.substring(2 * start + 4, 2 * start + 8); + var rssi = b[start + 4] & 0xFF; + item.type = (rssi & 0x80) != 0 ? "Bluetooth beacon" : "Badge"; + item.rssi = (rssi & 0x7F) - 128; + if (hasOffsets) { + var offsetByte = b[1 + count * 5 + (i / 2).intValue()] & 0xFF; + item.timeOffset = i % 2 == 0 ? (offsetByte >> 4) & 0x0F : offsetByte & 0x0F; + } + list.add(item); + } + values.beacons = list; + } + } else if (type == 0xC) { + // 4.5.5 80s Periodic Report: Type (bits 3-0: number of badges and beacons), badges as Major (2), Minor (2), + // TimeMark, then the marker 0xFFFF and beacons as Minor (2), TimeMark. A beacon's Major is always FFFF. + var badges = []; + var periodBeacons = []; + var pos = 1; + var inBeacons = false; + while (pos < b.length) { + if (!inBeacons && pos + 2 <= b.length && (b[pos] & 0xFF) == 0xFF && (b[pos + 1] & 0xFF) == 0xFF) { + inBeacons = true; + pos = pos + 2; + } else if (!inBeacons && pos + 5 <= b.length) { + var badge = { major: hex.substring(2 * pos, 2 * pos + 4), minor: hex.substring(2 * pos + 4, 2 * pos + 8) }; + lansitecContactBadgeSeen(badge, b[pos + 4] & 0xFF); + badges.add(badge); + pos = pos + 5; + } else if (inBeacons && pos + 3 <= b.length) { + var beacon = { minor: hex.substring(2 * pos, 2 * pos + 4) }; + lansitecContactBadgeSeen(beacon, b[pos + 2] & 0xFF); + periodBeacons.add(beacon); + pos = pos + 3; + } else { + return values; + } + } + if (badges.size() + periodBeacons.size() == (b[0] & 0x0F)) { + values.badges = badges; + values.beacons = periodBeacons; + } + } else if (type == 0xF && b.length >= 2) { + // 4.5.4 Acknowledge: Type bits 3-0 the result, then the MSGID of the downlink. + values.result = (b[0] & 0x0F) == 0 ? "Success" : "Failure"; + values.msgid = b[1] & 0xFF; + } + return values; +} + var values = {}; var attributes = {}; var history = []; -if (metadata.brandId == "lansitec" && metadata.modelId == LANSITEC_SOCKET_SYNC && metadata.data != null) { - // The SocketSync gateway: decoded from the raw bytes only, see lansitecSocketSyncValues. - var socketSyncBytes = base64ToBytes(metadata.data); - values = lansitecSocketSyncValues(socketSyncBytes); - // Registration (0x4) holds the device settings: attributes, not telemetry. - if (socketSyncBytes.length > 0 && ((socketSyncBytes[0] >> 4) & 0x0F) == 0x4) { +if (metadata.brandId == "lansitec" && (metadata.modelId == LANSITEC_SOCKET_SYNC || metadata.modelId == LANSITEC_CONTACT_BADGE) + && metadata.data != null) { + // The SocketSync gateway and the contact tracing badge: decoded from the raw bytes only, see + // lansitecSocketSyncValues and lansitecContactBadgeValues. + var lansitecBytes = base64ToBytes(metadata.data); + var registerType = 0x1; + if (metadata.modelId == LANSITEC_SOCKET_SYNC) { + values = lansitecSocketSyncValues(lansitecBytes); + registerType = 0x4; + } else { + values = lansitecContactBadgeValues(lansitecBytes); + } + // Registration holds the device settings: attributes, not telemetry. + if (lansitecBytes.length > 0 && ((lansitecBytes[0] >> 4) & 0x0F) == registerType) { attributes = values; values = {}; } From 5cd1d98f9acc326c1ea0440253531f56762a7c31 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:33:54 +0200 Subject: [PATCH 137/275] fix(iot-hub): keep the entities a device package used as they were An entity the user chose to use as it was, on a name conflict, is not the package's: updating or deleting the package neither removes nor tracks it. The default device profile is one, and it cannot be removed, so it blocked the update. The update warning also says plainly that this version reinstalls a device package. --- .../service/iot_hub/DefaultIotHubService.java | 29 +++++++++-- .../iot_hub/DefaultIotHubServiceTest.java | 52 +++++++++++++++++++ .../assets/locale/locale.constant-en_US.json | 2 +- 3 files changed, 79 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 004c822dc5..d343e20c24 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -637,8 +637,9 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + Map failed = deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(descriptor), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. The ones + // the user chose to use as they were are neither removed nor tracked any more. descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { descriptor.setDashboardId(null); @@ -704,6 +705,28 @@ public class DefaultIotHubService implements IotHubService { } } + /** + * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they + * were (the install state keeps that choice). The default device profile, for example, is never the package's. + */ + private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { + List tracked = descriptor.getCreatedEntityIds(); + if (tracked == null || descriptor.getInstallState() == null) { + return tracked; + } + Set usedExisting = new HashSet<>(); + descriptor.getInstallState().values().forEach(state -> { + if (state != null && "use-existing".equals(optText(state, "resolution"))) { + JsonNode output = state.get("entityOutput"); + String id = output != null ? optText(output, "id") : null; + if (id != null) { + usedExisting.add(id); + } + } + }); + return tracked.stream().filter(id -> !usedExisting.contains(id.getId().toString())).toList(); + } + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { Map failed = new LinkedHashMap<>(); @@ -792,7 +815,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(dd), user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index e367794b94..7199fe7fcc 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -17,6 +17,7 @@ import org.thingsboard.server.common.data.Dashboard; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; @@ -24,6 +25,7 @@ import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceProfileService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; @@ -63,6 +65,8 @@ class DefaultIotHubServiceTest { @Mock private DeviceService deviceService; @Mock + private DeviceProfileService deviceProfileService; + @Mock private TbDeviceService tbDeviceService; @Mock private DashboardService dashboardService; @@ -689,6 +693,54 @@ class DefaultIotHubServiceTest { assertThat(item.getVersion()).isEqualTo("1.0.1"); } + @Test + void removeDevicePackageEntities_entityUsedAsItWas_neitherRemovedNorTracked() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfileId defaultProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(defaultProfileId, device.getId())); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "default", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + defaultProfileId.getId() + "\"},\"resolution\":\"use-existing\"}"), + "Gateway", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + device.getId().getId() + "\"},\"resolution\":\"created\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + // The profile the user chose to use as it was (here the default one, which cannot be removed) is the user's. + verify(tbDeviceService).delete(device, user); + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + assertThat(descriptor.getCreatedEntityIds()).isNull(); + } + + @Test + void deleteInstalledItem_devicePackage_keepsEntityUsedAsItWas() { + mockTenant(); + DeviceProfileId usersProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(usersProfileId)); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Profile", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + usersProfileId.getId() + "\"},\"resolution\":\"use-existing\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + service.deleteInstalledItem(user, item.getId()); + + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 9306351638..994e0be3af 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3875,7 +3875,7 @@ "device-update-close-title": "Close the installation wizard?", "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", + "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 07b72d10b252d94a722e53af092695a5b0cbc03f Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:33:54 +0200 Subject: [PATCH 138/275] fix(iot-hub): keep the entities a device package used as they were An entity the user chose to use as it was, on a name conflict, is not the package's: updating or deleting the package neither removes nor tracks it. The default device profile is one, and it cannot be removed, so it blocked the update. The update warning also says plainly that this version reinstalls a device package. --- .../service/iot_hub/DefaultIotHubService.java | 29 +++++++++-- .../iot_hub/DefaultIotHubServiceTest.java | 52 +++++++++++++++++++ .../assets/locale/locale.constant-en_US.json | 2 +- 3 files changed, 79 insertions(+), 4 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index ab9c00fbc1..6ae127d68d 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -691,8 +691,9 @@ public class DefaultIotHubService implements IotHubService { } checkSameItem(installedItem, UUID.fromString(itemId)); DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); - Map failed = deleteDevicePackageEntities(tenantId, descriptor.getCreatedEntityIds(), user); - // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. + Map failed = deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(descriptor), user); + // An entity that could not be removed stays tracked, so that Retry, a later update or Delete removes it. The ones + // the user chose to use as they were are neither removed nor tracked any more. descriptor.setCreatedEntityIds(failed.isEmpty() ? null : new ArrayList<>(failed.keySet())); if (descriptor.getDashboardId() != null && !failed.containsKey(descriptor.getDashboardId())) { descriptor.setDashboardId(null); @@ -758,6 +759,28 @@ public class DefaultIotHubService implements IotHubService { } } + /** + * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they + * were (the install state keeps that choice). The default device profile, for example, is never the package's. + */ + private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { + List tracked = descriptor.getCreatedEntityIds(); + if (tracked == null || descriptor.getInstallState() == null) { + return tracked; + } + Set usedExisting = new HashSet<>(); + descriptor.getInstallState().values().forEach(state -> { + if (state != null && "use-existing".equals(optText(state, "resolution"))) { + JsonNode output = state.get("entityOutput"); + String id = output != null ? optText(output, "id") : null; + if (id != null) { + usedExisting.add(id); + } + } + }); + return tracked.stream().filter(id -> !usedExisting.contains(id.getId().toString())).toList(); + } + /** Removes the entities in reverse order of creation. Returns the ones that failed, in order of creation, with the reason. */ private Map deleteDevicePackageEntities(TenantId tenantId, List createdEntityIds, SecurityUser user) { Map failed = new LinkedHashMap<>(); @@ -851,7 +874,7 @@ public class DefaultIotHubService implements IotHubService { } } } else if (descriptor instanceof DeviceInstalledItemDescriptor dd) { - deleteDevicePackageEntities(tenantId, dd.getCreatedEntityIds(), user); + deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(dd), user); } else if (descriptor instanceof SolutionTemplateInstalledItemDescriptor st) { try { solutionService.deleteSolution(tenantId, st, user); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index e367794b94..7199fe7fcc 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -17,6 +17,7 @@ import org.thingsboard.server.common.data.Dashboard; import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.id.DeviceProfileId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; @@ -24,6 +25,7 @@ import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.common.data.iot_hub.IotHubInstalledItem; import org.thingsboard.server.common.data.iot_hub.RuleChainInstalledItemDescriptor; import org.thingsboard.server.dao.dashboard.DashboardService; +import org.thingsboard.server.dao.device.DeviceProfileService; import org.thingsboard.server.dao.device.DeviceService; import org.thingsboard.server.dao.iot_hub.IotHubInstalledItemService; import org.thingsboard.server.service.entitiy.dashboard.TbDashboardService; @@ -63,6 +65,8 @@ class DefaultIotHubServiceTest { @Mock private DeviceService deviceService; @Mock + private DeviceProfileService deviceProfileService; + @Mock private TbDeviceService tbDeviceService; @Mock private DashboardService dashboardService; @@ -689,6 +693,54 @@ class DefaultIotHubServiceTest { assertThat(item.getVersion()).isEqualTo("1.0.1"); } + @Test + void removeDevicePackageEntities_entityUsedAsItWas_neitherRemovedNorTracked() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfileId defaultProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(defaultProfileId, device.getId())); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "default", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + defaultProfileId.getId() + "\"},\"resolution\":\"use-existing\"}"), + "Gateway", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + device.getId().getId() + "\"},\"resolution\":\"created\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + // The profile the user chose to use as it was (here the default one, which cannot be removed) is the user's. + verify(tbDeviceService).delete(device, user); + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + assertThat(descriptor.getCreatedEntityIds()).isNull(); + } + + @Test + void deleteInstalledItem_devicePackage_keepsEntityUsedAsItWas() { + mockTenant(); + DeviceProfileId usersProfileId = new DeviceProfileId(UUID.randomUUID()); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(usersProfileId)); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Profile", JacksonUtil.toJsonNode("{\"entityOutput\":{\"id\":\"" + usersProfileId.getId() + "\"},\"resolution\":\"use-existing\"}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + + service.deleteInstalledItem(user, item.getId()); + + verify(deviceProfileService, never()).findDeviceProfileById(any(), any()); + verify(iotHubInstalledItemService).deleteById(tenantId, item.getId()); + } + @Test void removeDevicePackageEntities_versionOfAnotherItem_refusedBeforeRemoving() { mockTenant(); diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 8f5882c3e3..36d93a9938 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4485,7 +4485,7 @@ "device-update-close-title": "Close the installation wizard?", "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Updating re-installs the package through the installation wizard of the new version. When the wizard starts the installation, the entities the current version created (devices, gateways, profiles, rule chains, dashboard) are removed together with their data, including device telemetry. The new devices get new access tokens: set up your physical devices and gateways again with the new credentials, and update anything outside the package that refers to the old devices", + "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From ff661a5e7437f22cd94a99ba044a306d0619bc35 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:34:20 +0200 Subject: [PATCH 139/275] fix(iot-hub): point a device package update to ThingsBoard 4.4.1 on lts-4.3 ThingsBoard 4.4.1 updates device packages without reinstalling them; the update warning says so and links the Community Grant Program, as the dialog of an item that needs 4.4 does. --- .../components/iot-hub/iot-hub-update-dialog.component.html | 4 ++-- ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index a1fffb0a9d..8f65bba065 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -8,11 +8,11 @@ @switch (state) { @case ('confirm') {

{{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

-

{{ updateDescKey | translate }}

+

} @case ('updating') {

{{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

-

{{ updateDescKey | translate }}

+

} @case ('success') {

{{ 'iot-hub.update-success-title' | translate }}

diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 36d93a9938..cbde03a653 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -4485,7 +4485,7 @@ "device-update-close-title": "Close the installation wizard?", "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", - "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch", + "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch.

ThingsBoard 4.4.1 and newer update device packages without reinstalling. If your instance was running before September 29, 2026, the Community Grant Program lets you upgrade for free.", "update-desc-solution-template": "Updating this solution template will delete and recreate all entities it created, including dashboards, rule chains, devices, and other associated resources within your tenant. Any changes you made to them will be lost", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", From 89627b7242bd2f779900f195987c45c780e70f9e Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:41:23 +0200 Subject: [PATCH 140/275] fix(iot-hub): ask to update a device package anyway, as on Remove Updating a device package removes its entities and their data, like Remove, so the button is the same warning "Update anyway". --- .../components/iot-hub/iot-hub-update-dialog.component.html | 4 +++- .../components/iot-hub/iot-hub-update-dialog.component.ts | 5 +++++ ui-ngx/src/assets/locale/locale.constant-en_US.json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index 8f65bba065..f6fd5b7a04 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -35,7 +35,9 @@ @switch (state) { @case ('confirm') { - + } @case ('updating') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d5d0398f00..fbcd148b6e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -64,6 +64,11 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:41:23 +0200 Subject: [PATCH 141/275] fix(iot-hub): ask to update a device package anyway, as on Remove Updating a device package removes its entities and their data, like Remove, so the button is the same warning "Update anyway". --- .../components/iot-hub/iot-hub-update-dialog.component.html | 4 +++- .../components/iot-hub/iot-hub-update-dialog.component.ts | 5 +++++ ui-ngx/src/assets/locale/locale.constant-en_US.json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index a1fffb0a9d..ab583ca072 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -35,7 +35,9 @@ @switch (state) { @case ('confirm') { - + } @case ('updating') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d5d0398f00..fbcd148b6e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -64,6 +64,11 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:54:10 +0200 Subject: [PATCH 142/275] refactor(iot-hub): keep the update description's javadoc on its getter --- .../iot-hub/iot-hub-update-dialog.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index fbcd148b6e..d2b1132938 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -59,16 +59,16 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:54:10 +0200 Subject: [PATCH 143/275] refactor(iot-hub): keep the update description's javadoc on its getter --- .../iot-hub/iot-hub-update-dialog.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index fbcd148b6e..d2b1132938 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -59,16 +59,16 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent Date: Thu, 5 Nov 2026 12:56:29 +0200 Subject: [PATCH 144/275] fix(iot-hub): lead the update of a device package to the upgrade on lts-4.3 This version can only reinstall a device package. Update opens the same kind of window as an item that needs ThingsBoard 4.4 (#16231): it says so, leads to the Community Grant Program, and keeps "Update anyway" to reinstall through the install wizard. --- .../iot-hub/iot-hub-actions.service.ts | 20 ++++++-- .../iot-hub/iot-hub-components.module.ts | 3 ++ ...ot-hub-device-update-dialog.component.html | 29 ++++++++++++ .../iot-hub-device-update-dialog.component.ts | 47 +++++++++++++++++++ .../iot-hub-update-dialog.component.html | 8 ++-- .../iot-hub-update-dialog.component.ts | 21 ++------- 6 files changed, 102 insertions(+), 26 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html create mode 100644 ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts index 5ec83949bd..9027e71323 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-actions.service.ts @@ -14,6 +14,10 @@ import { TbIotHubAddItemDialogComponent, IotHubAddItemDialogData, IotHubAddItemD import { TbIotHubItemDetailDialogComponent, IotHubItemDetailDialogData, IotHubItemDetailDialogMode } from './iot-hub-item-detail-dialog.component'; import { TbIotHubInstallDialogComponent, IotHubInstallDialogData } from './iot-hub-install-dialog.component'; import { TbIotHubUpdateDialogComponent, IotHubUpdateDialogData } from './iot-hub-update-dialog.component'; +import { + IotHubDeviceUpdateDialogData, + TbIotHubDeviceUpdateDialogComponent +} from './iot-hub-device-update-dialog.component'; import { TbIotHubDeleteDialogComponent, IotHubDeleteDialogData } from './iot-hub-delete-dialog.component'; import { TbDeviceInstallDialogComponent, DeviceInstallDialogData } from './device-install-dialog/device-install-dialog.component'; import { TbIotHubInstalledItemsDialogComponent, IotHubInstalledItemsDialogData } from './iot-hub-installed-items-dialog.component'; @@ -154,6 +158,18 @@ export class IotHubActionsService { if (!installedItem) { return of(false); } + if (installedItem.itemType === ItemType.DEVICE) { + // This version can only reinstall a device package: the dialog leads to the upgrade first. + return this.dialog.open( + TbIotHubDeviceUpdateDialogComponent, { + panelClass: ['tb-dialog'], + disableClose: true, + autoFocus: false, + data: { itemName: installedItem.itemName } + }).afterClosed().pipe( + switchMap(result => result === 'reinstall' ? this.reinstallDevice(installedItem, versionId) : of(result)) + ); + } return this.dialog.open(TbIotHubUpdateDialogComponent, { panelClass: ['tb-dialog'], disableClose: true, @@ -165,9 +181,7 @@ export class IotHubActionsService { version, versionId } - }).afterClosed().pipe( - switchMap(result => result === 'reinstall' ? this.reinstallDevice(installedItem, versionId) : of(result)) - ); + }).afterClosed(); } /** diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts index f6591ac8f8..d81a34e407 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts @@ -20,6 +20,7 @@ import { TbIotHubInstalledItemsDialogComponent } from './iot-hub-installed-items import { TbIotHubSelectCfEntityDialogComponent } from './iot-hub-select-cf-entity-dialog.component'; import { TbPeConnectivityMethodPromptComponent } from './pe-connectivity-method-prompt.component'; import { TbIotHubPeRequiredDialogComponent } from './iot-hub-pe-required-dialog.component'; +import { TbIotHubDeviceUpdateDialogComponent } from './iot-hub-device-update-dialog.component'; import { TbIotHubUpgradeRequiredDialogComponent } from './iot-hub-upgrade-required-dialog.component'; import { TbIotHubMarkdownComponent } from './iot-hub-markdown.component'; import { SolutionInstallDialogComponent } from './solution-install-dialog.component'; @@ -47,6 +48,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link SolutionInstallDialogComponent, InstallFormRendererComponent, TbIotHubPeRequiredDialogComponent, + TbIotHubDeviceUpdateDialogComponent, TbIotHubUpgradeRequiredDialogComponent ], imports: [ @@ -76,6 +78,7 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link TbIotHubMarkdownComponent, SolutionInstallDialogComponent, TbIotHubPeRequiredDialogComponent, + TbIotHubDeviceUpdateDialogComponent, TbIotHubUpgradeRequiredDialogComponent ] }) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html new file mode 100644 index 0000000000..4f7ca41696 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.html @@ -0,0 +1,29 @@ + +
+ + + + +

+ {{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }} +

+ +

+ +
+ + +
+
diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts new file mode 100644 index 0000000000..fb0cc99f03 --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +import { Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Router } from '@angular/router'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { DialogComponent } from '@shared/components/dialog.component'; + +export interface IotHubDeviceUpdateDialogData { + itemName: string; +} + +/** + * Update of a device package. This version can only reinstall it, so the dialog leads to the upgrade that updates device + * packages without reinstalling, as the dialog of an item that needs a newer version does, and keeps the reinstall as + * the other way. Closes with 'reinstall' when the user chooses it. + */ +@Component({ + selector: 'tb-iot-hub-device-update-dialog', + standalone: false, + templateUrl: './iot-hub-device-update-dialog.component.html', + styleUrls: ['./iot-hub-pe-required-dialog.component.scss'] +}) +export class TbIotHubDeviceUpdateDialogComponent extends DialogComponent { + + constructor( + protected store: Store, + protected router: Router, + protected dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: IotHubDeviceUpdateDialogData + ) { + super(store, router, dialogRef); + } + + close(): void { + this.dialogRef.close(false); + } + + reinstall(): void { + this.dialogRef.close('reinstall'); + } + + viewUpgradeOptions(): void { + window.open('https://thingsboard.io/community-grant-program/', '_blank'); + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index f6fd5b7a04..a1fffb0a9d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -8,11 +8,11 @@ @switch (state) { @case ('confirm') {

{{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

-

+

{{ updateDescKey | translate }}

} @case ('updating') {

{{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }}

-

+

{{ updateDescKey | translate }}

} @case ('success') {

{{ 'iot-hub.update-success-title' | translate }}

@@ -35,9 +35,7 @@ @switch (state) { @case ('confirm') { - + } @case ('updating') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d2b1132938..e5472c45a1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -59,33 +59,18 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent { From e6b98476247e68476b1fecbdacf073909f6e55b2 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 5 Nov 2026 13:25:27 +0200 Subject: [PATCH 145/275] Document GET /api/system/info in the OpenAPI spec The endpoint is available to every authenticated user, but the whole SystemInfoController was hidden, so generated REST clients had no call for it and could only read the version from the sysadmin-only /api/admin/updates. Show the endpoint and return a SystemVersionInfo record that serializes to the same JSON as the hand-built ObjectNode. The other two endpoints of the controller stay hidden. --- .../controller/SystemInfoController.java | 27 +++++++++---------- .../server/common/data/SystemVersionInfo.java | 23 ++++++++++++++++ 2 files changed, 36 insertions(+), 14 deletions(-) create mode 100644 common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java diff --git a/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java b/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java index c072b6b09d..f10009830c 100644 --- a/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java +++ b/application/src/main/java/org/thingsboard/server/controller/SystemInfoController.java @@ -3,7 +3,6 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.controller; -import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import io.swagger.v3.oas.annotations.Hidden; import jakarta.annotation.PostConstruct; @@ -21,6 +20,7 @@ import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.DashboardInfo; import org.thingsboard.server.common.data.EntityType; import org.thingsboard.server.common.data.SystemParams; +import org.thingsboard.server.common.data.SystemVersionInfo; import org.thingsboard.server.common.data.exception.ThingsboardException; import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.TenantId; @@ -34,6 +34,7 @@ import org.thingsboard.server.common.data.settings.UserSettings; import org.thingsboard.server.common.data.settings.UserSettingsType; import org.thingsboard.server.common.data.tenant.profile.DefaultTenantProfileConfiguration; import org.thingsboard.server.common.msg.edqs.EdqsService; +import org.thingsboard.server.config.annotations.ApiOperation; import org.thingsboard.server.dao.mobile.QrCodeSettingService; import org.thingsboard.server.dao.subscription.PlatformFeature; import org.thingsboard.server.dao.subscription.SubscriptionService; @@ -52,7 +53,8 @@ import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; -@Hidden +import static org.thingsboard.server.controller.ControllerConstants.SYSTEM_OR_TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH; + @RestController @TbCoreComponent @RequestMapping("/api") @@ -117,23 +119,26 @@ public class SystemInfoController extends BaseController { @PostConstruct public void init() { - JsonNode info = buildInfoObject(); - log.info("System build info: {}", info); + log.info("System build info: {}", JacksonUtil.toString(buildInfoObject())); } + @ApiOperation(value = "Get platform version (getSystemVersionInfo)", + notes = "Returns the version and edition of the platform build." + SYSTEM_OR_TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH) @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @RequestMapping(value = "/system/info", method = RequestMethod.GET) @ResponseBody - public JsonNode getSystemVersionInfo() { + public SystemVersionInfo getSystemVersionInfo() { return buildInfoObject(); } + @Hidden @RequestMapping(value = "/noauth/system/development", method = RequestMethod.GET) @ResponseBody public Boolean isDevelopment() { return subscriptionService.isDevelopment(TenantId.SYS_TENANT_ID); } + @Hidden @PreAuthorize("hasAnyAuthority('SYS_ADMIN', 'TENANT_ADMIN', 'CUSTOMER_USER')") @RequestMapping(value = "/system/params", method = RequestMethod.GET) @ResponseBody @@ -230,17 +235,11 @@ public class SystemInfoController extends BaseController { currentUser.getAdditionalInfo().get("defaultDashboardFullscreen").booleanValue()); } - private JsonNode buildInfoObject() { - ObjectNode infoObject = JacksonUtil.newObjectNode(); + private SystemVersionInfo buildInfoObject() { if (buildProperties != null) { - infoObject.put("version", buildProperties.getVersion()); - infoObject.put("artifact", buildProperties.getArtifact()); - infoObject.put("name", buildProperties.getName()); - } else { - infoObject.put("version", "unknown"); + return new SystemVersionInfo(buildProperties.getVersion(), buildProperties.getArtifact(), buildProperties.getName(), "PE"); } - infoObject.put("type", "PE"); - return infoObject; + return new SystemVersionInfo("unknown", null, null, "PE"); } } diff --git a/common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java b/common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java new file mode 100644 index 0000000000..c202c7c695 --- /dev/null +++ b/common/data/src/main/java/org/thingsboard/server/common/data/SystemVersionInfo.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +package org.thingsboard.server.common.data; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import io.swagger.v3.oas.annotations.media.Schema; + +@Schema(description = "Version and edition of the platform build") +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({"version", "artifact", "name", "type"}) +public record SystemVersionInfo( + @Schema(requiredMode = Schema.RequiredMode.REQUIRED, example = "4.4.1", + description = "Platform version, or 'unknown' when the build information is not available") + String version, + @Schema(example = "application", description = "Build artifact; absent when the build information is not available") + String artifact, + @Schema(example = "ThingsBoard Server Application", description = "Build name; absent when the build information is not available") + String name, + @Schema(requiredMode = Schema.RequiredMode.REQUIRED, example = "PE", description = "Platform edition") + String type +) { +} From e8683bd85a21af516e89c746033dbd1e57d43684 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Fri, 6 Nov 2026 10:12:36 +0200 Subject: [PATCH 146/275] fix(iot-hub): review of the device package update: new access tokens in the warning, a package's own entity stays its own, the close prompt only once entities may be gone - update-desc-device says again that the new devices get new access tokens - an existing entity the wizard created a moment ago is recorded as created, not use-existing - the close prompt shows only after the removal, a partial removal or a lost answer - query params go through InterceptorHttpParams (also fixes force losing the interceptor config) - one iotHubErrorMessage helper on parseHttpErrorMessage for the iot-hub dialogs - removingReplaced is one signal, stepError a field, no template method calls or extra detectChanges - fewer comments, readonly fields in the update dialog, cdr renamed to cd --- .../src/app/core/http/iot-hub-api.service.ts | 21 ++- .../device-install-dialog.component.html | 31 ++--- .../device-install-dialog.component.ts | 122 +++++++----------- .../iot-hub/iot-hub-actions.service.ts | 6 +- .../iot-hub-add-item-dialog.component.ts | 4 +- .../iot-hub-install-dialog.component.ts | 3 +- .../iot-hub-update-dialog.component.ts | 37 ++---- .../home/components/iot-hub/iot-hub-utils.ts | 8 ++ .../assets/locale/locale.constant-en_US.json | 2 +- 9 files changed, 100 insertions(+), 134 deletions(-) diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index 07c1c9a64d..89df8e9d3b 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -182,20 +182,18 @@ export class IotHubApiService { replaceInstalledItemId?: string, config?: IotHubRequestConfig ): Observable { - // In the URL: HttpParams.set() would drop the interceptor config (ignoreLoading, ignoreErrors) of buildParams. - const replace = replaceInstalledItemId ? `&replaceInstalledItemId=${replaceInstalledItemId}` : ''; return this.http.post( - `/api/iot-hub/device/register?versionId=${versionId}${replace}`, + `/api/iot-hub/device/register`, { type: 'DEVICE', ...descriptor }, - { params: this.buildParams(config) } + { params: this.buildParams(config, { versionId, replaceInstalledItemId }) } ); } public removeDevicePackageEntities(installedItemId: string, versionId: string, config?: IotHubRequestConfig): Observable { return this.http.post( - `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities?versionId=${versionId}`, + `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities`, null, - { params: this.buildParams(config) } + { params: this.buildParams(config, { versionId }) } ); } @@ -223,10 +221,7 @@ export class IotHubApiService { } public updateItemVersion(installedItemId: string, versionId: string, config?: IotHubRequestConfig, force?: boolean): Observable { - let params = this.buildParams(config); - if (force) { - params = params.set('force', 'true'); - } + const params = this.buildParams(config, { force: force ? 'true' : undefined }); return this.http.post( `/api/iot-hub/installedItems/${installedItemId}/update/${versionId}`, null, @@ -294,9 +289,11 @@ export class IotHubApiService { ); } - private buildParams(config?: IotHubRequestConfig): HttpParams { + private buildParams(config?: IotHubRequestConfig, params?: Record): HttpParams { + const defined = Object.fromEntries(Object.entries(params ?? {}).filter(([, value]) => value != null)); return new InterceptorHttpParams( - new InterceptorConfig(config?.ignoreLoading ?? false, config?.ignoreErrors ?? false) + new InterceptorConfig(config?.ignoreLoading ?? false, config?.ignoreErrors ?? false), + defined ); } } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 45060d91bc..93902b5338 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -133,24 +133,25 @@ {{ ('iot-hub.device-install-step-type-' + ep.step.type | translate) + ' — ' + (ep.resolvedName || ep.step.name) }} - @if (ep.status === 'success') { - {{ 'iot-hub.done' | translate }} - } - @if (ep.status === 'running') { - {{ 'iot-hub.in-progress' | translate }} + @switch (ep.status) { + @case ('success') { + {{ 'iot-hub.done' | translate }} + } + @case ('running') { + {{ 'iot-hub.in-progress' | translate }} + } } } } - @if (ws.removingReplaced) { + @if (removingReplaced()) {
{{ 'iot-hub.device-update-removing' | translate }}
- } - @if (stepLevelError(ws); as error) { - {{ error }} + } @else if (ws.stepError) { + {{ ws.stepError }} } } @@ -166,7 +167,7 @@ } @else {

{{ 'iot-hub.device-install-title' | translate:{ name: packageInfo?.name || data.item.name } }}

-
@@ -206,7 +207,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} @@ -220,13 +221,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -261,7 +262,7 @@ } @case ('progress') { - @if (step.progressError) { + @if (step.progressError || step.stepError) { } - } @else if (!step.progressError) { + } @else { @@ -206,7 +207,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} @@ -220,13 +221,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -261,7 +262,7 @@ } @case ('progress') { - @if (step.progressError) { + @if (step.progressError || step.stepError) { } - } @else if (!step.progressError) { + } @else { @@ -205,7 +215,7 @@ @for (ws of wizardSteps; track ws.label) { - {{ ws.label }} @@ -219,13 +229,13 @@ @if (allProgressDone) { } @else { - + } @if (!isFirstWizardStep) { - + } @if (currentWizardStep; as step) { @@ -255,14 +265,14 @@ } @case ('progress') { - @if (step.progressError) { + @if (step.progressError || step.stepError) { } @else if (step.progressDone && isLastWizardStep) { - } @else if (!step.progressError) { + } @else { + + + +

+ {{ 'iot-hub.update-confirm-title' | translate:{ name: data.itemName } }} +

+ +

+ +
+ + +
+ diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts new file mode 100644 index 0000000000..29d104bb6d --- /dev/null +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-device-update-dialog.component.ts @@ -0,0 +1,48 @@ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 +import { Component, Inject } from '@angular/core'; +import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; +import { Router } from '@angular/router'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { DialogComponent } from '@shared/components/dialog.component'; + +export interface IotHubDeviceUpdateDialogData { + itemName: string; +} + +/** + * Update of a device package. This version can only reinstall it, so the dialog leads to the upgrade that updates device + * packages without reinstalling, as the dialog of an item that needs a newer version does, and keeps the reinstall as + * the other way. Closes with 'reinstall' when the user chooses it. + */ +@Component({ + selector: 'tb-iot-hub-device-update-dialog', + standalone: false, + templateUrl: './iot-hub-device-update-dialog.component.html', + styleUrls: ['./iot-hub-upgrade-required-dialog.component.scss'] +}) +export class TbIotHubDeviceUpdateDialogComponent extends DialogComponent { + + constructor( + protected store: Store, + protected router: Router, + protected dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: IotHubDeviceUpdateDialogData + ) { + super(store, router, dialogRef); + } + + close(): void { + this.dialogRef.close(false); + } + + reinstall(): void { + this.dialogRef.close('reinstall'); + } + + upgradeInstance(): void { + window.open('https://thingsboard.io/docs/pe/installation/upgrade-instructions/', '_blank'); + } +} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.ts index 803fe17c3c..55ddf606e1 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.ts @@ -30,6 +30,7 @@ import { DeviceProfileService } from '@core/http/device-profile.service'; import { AssetProfileService } from '@core/http/asset-profile.service'; import { RuleChainService } from '@core/http/rule-chain.service'; import { RuleChainId } from '@shared/models/id/rule-chain-id'; +import { iotHubErrorMessage } from './iot-hub-utils'; interface SelectEntityConfig { allowed: EntityType[]; @@ -323,7 +324,7 @@ export class TbIotHubInstallDialogComponent extends DialogComponent { - this.iotHubActions.openItemDetail(versionView, item).subscribe(); + this.iotHubActions.openItemDetail(versionView, item).subscribe(result => { + if (result === 'updated' || result === 'deleted') { + this.loadData(); + } + }); }); return; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d47c2f8ada..2d5e821184 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -15,6 +15,7 @@ import { IotHubApiService } from '@core/http/iot-hub-api.service'; import { DialogService } from '@core/services/dialog.service'; import { TranslateService } from '@ngx-translate/core'; import { SolutionInstallDialogComponent } from '@home/components/iot-hub/solution-install-dialog.component'; +import { iotHubErrorMessage } from './iot-hub-utils'; export interface IotHubUpdateDialogData { installedItemId: string; @@ -95,7 +96,7 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent { this.state = 'error'; - this.errorMessage = err?.error?.message || err?.message || this.translate.instant('iot-hub.update-error', { name: this.data.itemName }); + this.errorMessage = iotHubErrorMessage(err, this.translate, this.translate.instant('iot-hub.update-error', { name: this.data.itemName })); } }); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-utils.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-utils.ts index 411ca58878..ce2422aaed 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-utils.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-utils.ts @@ -3,6 +3,9 @@ import { FilterParamInfo, ItemType } from '@shared/models/iot-hub/iot-hub-item.models'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { IotHubApiService } from '@core/http/iot-hub-api.service'; +import { HttpErrorResponse } from '@angular/common/http'; +import { TranslateService } from '@ngx-translate/core'; +import { parseHttpErrorMessage } from '@core/utils'; export const IOT_HUB_FILTER_GROUPING_THRESHOLD = 11; export const IOT_HUB_FILTER_POPULAR_LIMIT = 10; @@ -103,3 +106,8 @@ export function resolveIotHubItemImageUrl(item: MpItemVersionView, api: IotHubAp } return null; } + +export function iotHubErrorMessage(err: any, translate: TranslateService, fallback?: string): string { + const message = err instanceof HttpErrorResponse ? parseHttpErrorMessage(err, translate).message : err?.message; + return message || fallback || translate.instant('error.unknown-error'); +} diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index a4bec2b193..5772e3c29a 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -40,6 +40,13 @@ export interface DeviceInstalledItemDescriptor { installState?: Record; } +/** + * Whether the install of a device package can be reviewed: an update that removed the entities of the installed + * version but did not install the new one leaves the item with nothing to show. + */ +export const canReviewDeviceInstall = (descriptor: DeviceInstalledItemDescriptor): boolean => + !!descriptor?.installState && !!descriptor.selectedInstallMethod && !!descriptor.createdEntityIds?.length; + export interface SolutionTemplateInstalledItemDescriptor { type: 'SOLUTION_TEMPLATE'; createdEntityIds: { entityType: string; id: string }[]; @@ -63,6 +70,7 @@ export interface InstallItemVersionResult { success: boolean; errorMessage: string; descriptor: IotHubInstalledItemDescriptor; + installedItemId?: string; } export enum InstallPlanEntryStatus { diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index fda314e14d..8e19062cca 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -6446,7 +6446,14 @@ "update-item-title": "Update Item", "update-confirm": "Update '{{name}}' to version {{version}}?", "update-confirm-title": "Update '{{name}}'?", + "update-anyway": "Update anyway", "update-desc": "Updating this will replace the current version with the latest and reconfigure the associated resources within your tenant", + "device-update-removing": "Removing the entities of the installed version…", + "device-update-close-text": "The update has already removed entities of the installed version, and the new version is not installed yet. If you close the wizard now, the package stays at its installed version without them; Update installs it again.", + "device-update-close-title": "Close the installation wizard?", + "device-update-remove-error": "Removing the entities of the installed version failed: {{error}}. Retry removes them again", + "device-install-register-error": "The package is not recorded as installed: {{error}}. Retry records it again", + "update-desc-device": "Device packages can't be updated without reinstalling on this ThingsBoard version. Updating removes the installed entities and their data and installs the new version from scratch.

Upgrade to ThingsBoard 4.4.1 or newer to update device packages without reinstalling.", "update-success-desc": "'{{name}}' has been updated successfully", "updating": "Updating...", "update-success-title": "Update Successful", From d8699f430d4369e56da5d9904ac5f64c4426dfff Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 11 Nov 2026 15:40:31 +0200 Subject: [PATCH 203/275] Add unit tests for duration alarm rule re-evaluation when schedule window opens --- .../ctx/state/alarm/AlarmRuleStateTest.java | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java diff --git a/application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java b/application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java new file mode 100644 index 0000000000..a55c2ce738 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java @@ -0,0 +1,143 @@ +/** + * Copyright © 2016-2026 The Thingsboard Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.thingsboard.server.service.cf.ctx.state.alarm; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.thingsboard.server.common.data.alarm.AlarmSeverity; +import org.thingsboard.server.common.data.alarm.rule.AlarmRule; +import org.thingsboard.server.common.data.alarm.rule.condition.AlarmConditionValue; +import org.thingsboard.server.common.data.alarm.rule.condition.DurationAlarmCondition; +import org.thingsboard.server.common.data.alarm.rule.condition.expression.AlarmConditionFilter; +import org.thingsboard.server.common.data.alarm.rule.condition.expression.SimpleAlarmConditionExpression; +import org.thingsboard.server.common.data.alarm.rule.condition.expression.predicate.NumericFilterPredicate; +import org.thingsboard.server.common.data.alarm.rule.condition.expression.predicate.NumericFilterPredicate.NumericOperation; +import org.thingsboard.server.common.data.alarm.rule.condition.schedule.SpecificTimeSchedule; +import org.thingsboard.server.common.data.cf.CalculatedField; +import org.thingsboard.server.common.data.cf.configuration.AlarmCalculatedFieldConfiguration; +import org.thingsboard.server.common.data.id.DeviceId; +import org.thingsboard.server.common.data.kv.DoubleDataEntry; +import org.thingsboard.server.common.data.query.EntityKeyValueType; +import org.thingsboard.server.service.cf.ctx.state.CalculatedFieldCtx; +import org.thingsboard.server.service.cf.ctx.state.SingleValueArgumentEntry; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.UUID; +import java.util.concurrent.TimeUnit; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + +public class AlarmRuleStateTest { + + private static final DeviceId DEVICE_ID = new DeviceId(UUID.fromString("5512071d-5abc-411d-a907-4cdb6539c2eb")); + + // Schedule window: every day from 10:00 to 24:00 UTC + private static final long DAY_START_TS = Instant.parse("2024-01-15T00:00:00Z").toEpochMilli(); + private static final long WINDOW_STARTS_ON_MS = TimeUnit.HOURS.toMillis(10); + private static final long TELEMETRY_TS = DAY_START_TS + TimeUnit.HOURS.toMillis(8); + private static final long WINDOW_OPENED_TS = DAY_START_TS + WINDOW_STARTS_ON_MS + TimeUnit.SECONDS.toMillis(1); + + private static final long SHORT_DURATION_MS = TimeUnit.MINUTES.toMillis(1); + // AlarmRuleState.evalDuration() measures the duration against the wall clock, so to have a duration + // that has not elapsed yet for a telemetry ts fixed in the past, it has to be far longer than the time since then. + private static final long LONG_DURATION_MS = TimeUnit.DAYS.toMillis(365 * 1000); + + private final CalculatedFieldCtx ctx = mock(CalculatedFieldCtx.class); + + private AlarmCalculatedFieldState state; + + @BeforeEach + void setUp() { + AlarmCalculatedFieldConfiguration configuration = new AlarmCalculatedFieldConfiguration(); + configuration.setCreateRules(Map.of()); + CalculatedField calculatedField = new CalculatedField(); + calculatedField.setName("Test alarm"); + calculatedField.setConfiguration(configuration); + when(ctx.getCalculatedField()).thenReturn(calculatedField); + when(ctx.getArgNames()).thenReturn(List.of("temperature")); + + state = new AlarmCalculatedFieldState(DEVICE_ID); + state.setCtx(ctx, null); + // stored telemetry that satisfies the condition, received while the schedule window was closed + state.update(Map.of("temperature", new SingleValueArgumentEntry(TELEMETRY_TS, new DoubleDataEntry("temperature", 30.0), 1L)), ctx); + } + + @Test + void testReevalDurationWithoutSchedule_doesNotStartTimerFromStoredValue() { + // re-evaluated without a new event because another rule of the same calculated field has a schedule + AlarmRuleState ruleState = createRuleState(SHORT_DURATION_MS, false); + + AlarmEvalResult result = ruleState.reeval(WINDOW_OPENED_TS, ctx); + + assertThat(result.getStatus()).isNull(); + assertThat(ruleState.getFirstEventTs()).isZero(); + } + + @Test + void testReevalDurationWithSchedule_whenWindowOpensAndDurationElapsed_thenTrue() { + AlarmRuleState ruleState = createRuleState(SHORT_DURATION_MS, true); + + AlarmEvalResult result = ruleState.reeval(WINDOW_OPENED_TS, ctx); + + assertThat(result.getStatus()).isEqualTo(AlarmEvalResult.Status.TRUE); + assertThat(ruleState.getFirstEventTs()).isEqualTo(TELEMETRY_TS); + } + + @Test + void testReevalDurationWithSchedule_whenWindowOpensAndDurationNotElapsed_thenTimerStarted() { + // leftDuration of the result is what AlarmCalculatedFieldState uses to schedule the next duration check + AlarmRuleState ruleState = createRuleState(LONG_DURATION_MS, true); + + AlarmEvalResult result = ruleState.reeval(WINDOW_OPENED_TS, ctx); + + assertThat(result.getStatus()).isEqualTo(AlarmEvalResult.Status.NOT_YET_TRUE); + assertThat(result.getLeftDuration()).isPositive(); + assertThat(ruleState.getFirstEventTs()).isEqualTo(TELEMETRY_TS); + } + + private AlarmRuleState createRuleState(long durationMs, boolean withSchedule) { + DurationAlarmCondition condition = new DurationAlarmCondition(); + condition.setExpression(createTemperatureGreaterThanExpression(25.0)); + condition.setUnit(TimeUnit.MILLISECONDS); + condition.setValue(new AlarmConditionValue<>(durationMs, null)); + if (withSchedule) { + SpecificTimeSchedule schedule = new SpecificTimeSchedule(); + schedule.setTimezone("UTC"); + schedule.setDaysOfWeek(Set.of(1, 2, 3, 4, 5, 6, 7)); + schedule.setStartsOn(WINDOW_STARTS_ON_MS); + condition.setSchedule(new AlarmConditionValue<>(schedule, null)); + } + AlarmRule rule = new AlarmRule(); + rule.setCondition(condition); + return new AlarmRuleState(AlarmSeverity.CRITICAL, rule, state); + } + + private SimpleAlarmConditionExpression createTemperatureGreaterThanExpression(double threshold) { + AlarmConditionFilter filter = new AlarmConditionFilter(); + filter.setArgument("temperature"); + filter.setValueType(EntityKeyValueType.NUMERIC); + filter.setPredicates(List.of(new NumericFilterPredicate(NumericOperation.GREATER, new AlarmConditionValue<>(threshold, null)))); + SimpleAlarmConditionExpression expression = new SimpleAlarmConditionExpression(); + expression.setFilters(List.of(filter)); + return expression; + } + +} From 283a0804d1b6f2ff3aac67ac3fa0cf28c7f68fc9 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 11 Nov 2026 15:41:56 +0200 Subject: [PATCH 204/275] Use SPDX license header in AlarmRuleStateTest --- .../cf/ctx/state/alarm/AlarmRuleStateTest.java | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java b/application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java index a55c2ce738..2d04459fe6 100644 --- a/application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java +++ b/application/src/test/java/org/thingsboard/server/service/cf/ctx/state/alarm/AlarmRuleStateTest.java @@ -1,18 +1,5 @@ -/** - * Copyright © 2016-2026 The Thingsboard Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors +// SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.cf.ctx.state.alarm; import org.junit.jupiter.api.BeforeEach; From ad100171c8b25d8872b27c93f2b726d34f0a9491 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 11 Nov 2026 15:47:06 +0200 Subject: [PATCH 205/275] fix(iot-hub): an update that can't remove the package's profile or rule chain is refused before removing The update removes the package's entities one by one. ThingsBoard refuses to delete a device profile that is the default one or that devices outside the package use, and a rule chain that is the root one or the default rule chain of a profile outside the package. Found after the dashboard and the device were gone, such a refusal left the package half removed, and every Retry failed the same way. Now it is checked before anything is removed, and the update is refused with a 400 that names what blocks it. A failure after the removal has started is thrown without its cause: BaseController answers 400 for an IncorrectParameterException cause, and a 400 tells the wizard that nothing was removed. --- .../service/iot_hub/DefaultIotHubService.java | 68 ++++++++++++++- .../iot_hub/DefaultIotHubServiceTest.java | 87 +++++++++++++++++++ 2 files changed, 153 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 6b0324be14..0443647f27 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -12,6 +12,8 @@ import org.thingsboard.common.util.ExceptionUtil; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.server.common.data.asset.AssetProfile; import org.thingsboard.server.common.data.DeviceProfile; +import org.thingsboard.server.common.data.EntityType; +import org.thingsboard.server.common.data.page.PageDataIterable; import org.thingsboard.server.common.data.HasTenantId; import org.thingsboard.server.common.data.cf.CalculatedField; import org.thingsboard.server.common.data.exception.ThingsboardException; @@ -642,9 +644,10 @@ public class DefaultIotHubService implements IotHubService { throw new IllegalArgumentException("IoT Hub returned the version without its item"); } checkSameItem(installedItem, UUID.fromString(itemId)); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + checkPackageEntitiesCanBeRemoved(tenantId, packageOwnedEntityIds(descriptor)); // Refusals above are a 400 and remove nothing. Any failure from here on is not a 400, so the wizard knows that // entities may already be gone (each delete is committed on its own). - DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); Map failed; try { failed = deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(descriptor), user); @@ -661,7 +664,10 @@ public class DefaultIotHubService implements IotHubService { } iotHubInstalledItemService.save(tenantId, installedItem); } catch (RuntimeException e) { - throw new IllegalStateException("Removing the entities failed: " + e.getMessage(), e); + // Without the cause: BaseController answers 400 for an IncorrectParameterException cause, and a 400 tells the + // wizard that nothing was removed. + log.warn("[{}] Removing the entities of device package {} failed", tenantId, installedItem.getItemName(), e); + throw new IllegalStateException("Removing the entities failed: " + e.getMessage()); } if (!failed.isEmpty()) { // The wizard must not create the new version's entities next to the ones left: it shows this and Retry. @@ -722,6 +728,64 @@ public class DefaultIotHubService implements IotHubService { * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they * were (the install state keeps that choice). The default device profile, for example, is never the package's. */ + /** + * The update removes the package's entities one by one. ThingsBoard refuses to delete a device profile that is the + * default one or that devices outside the package use, and a rule chain that is the root one or the default rule + * chain of a profile outside the package. Found after the first deletes, such a refusal would leave the package half + * removed and fail every Retry the same way, so it is checked before anything is removed: a 400 removes nothing. + */ + private void checkPackageEntitiesCanBeRemoved(TenantId tenantId, List packageEntityIds) { + if (packageEntityIds == null || packageEntityIds.isEmpty()) { + return; + } + Set owned = new HashSet<>(); + packageEntityIds.forEach(id -> owned.add(id.getId())); + List blockers = new ArrayList<>(); + for (EntityId entityId : packageEntityIds) { + if (entityId.getEntityType() == EntityType.DEVICE_PROFILE) { + DeviceProfile profile = deviceProfileService.findDeviceProfileById(tenantId, new DeviceProfileId(entityId.getId())); + if (!isOwnedBy(profile, tenantId)) { + continue; + } + if (profile.isDefault()) { + blockers.add("the device profile '" + profile.getName() + "' is the default device profile"); + } + long otherDevices = 0; + for (DeviceId deviceId : new PageDataIterable<>(link -> deviceService.findDeviceIdsByTenantIdAndDeviceProfileId( + tenantId, profile.getId(), link), 1000)) { + if (!owned.contains(deviceId.getId())) { + otherDevices++; + } + } + if (otherDevices > 0) { + blockers.add("the device profile '" + profile.getName() + "' is used by " + otherDevices + " other device(s)"); + } + } else if (entityId.getEntityType() == EntityType.RULE_CHAIN) { + RuleChain ruleChain = ruleChainService.findRuleChainById(tenantId, new RuleChainId(entityId.getId())); + if (!isOwnedBy(ruleChain, tenantId)) { + continue; + } + if (ruleChain.isRoot()) { + blockers.add("the rule chain '" + ruleChain.getName() + "' is the root rule chain"); + } + for (DeviceProfile profile : new PageDataIterable<>(link -> deviceProfileService.findDeviceProfiles(tenantId, link), 1000)) { + if (ruleChain.getId().equals(profile.getDefaultRuleChainId()) && !owned.contains(profile.getId().getId())) { + blockers.add("the rule chain '" + ruleChain.getName() + "' is the rule chain of the device profile '" + profile.getName() + "'"); + } + } + for (AssetProfile profile : new PageDataIterable<>(link -> assetProfileService.findAssetProfiles(tenantId, link), 1000)) { + if (ruleChain.getId().equals(profile.getDefaultRuleChainId())) { + blockers.add("the rule chain '" + ruleChain.getName() + "' is the rule chain of the asset profile '" + profile.getName() + "'"); + } + } + } + } + if (!blockers.isEmpty()) { + throw new IllegalArgumentException("The package can't be updated: " + String.join("; ", blockers) + + ". Move them to other profiles or rule chains first, or delete them. Nothing was removed."); + } + } + private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { List tracked = descriptor.getCreatedEntityIds(); if (tracked == null || descriptor.getInstallState() == null) { diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index ad6bde5e70..de53f44c91 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -19,6 +19,9 @@ import org.thingsboard.server.common.data.Device; import org.thingsboard.server.common.data.id.DashboardId; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.DeviceProfileId; +import org.thingsboard.server.service.entitiy.device.profile.TbDeviceProfileService; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.DeviceProfile; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.id.TenantId; @@ -70,6 +73,8 @@ class DefaultIotHubServiceTest { @Mock private TbDeviceService tbDeviceService; @Mock + private TbDeviceProfileService tbDeviceProfileService; + @Mock private DashboardService dashboardService; @Mock private TbDashboardService tbDashboardService; @@ -720,6 +725,88 @@ class DefaultIotHubServiceTest { verify(tbDeviceService).delete(device, user); } + @Test + void removeDevicePackageEntities_profileUsedByAnotherDevice_refusedBeforeRemoving() { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfile profile = packageProfile(false); + IotHubInstalledItem item = devicePackage(profile.getId(), device.getId()); + DeviceId otherDevice = new DeviceId(UUID.randomUUID()); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())) + .thenReturn(new PageData<>(List.of(device.getId(), otherDevice), 1, 2, false)); + String newVersionId = mockNewVersion(item); + + // Deleting the profile would fail after the device is gone, and every Retry the same way: nothing is touched. + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package profile' is used by 1 other device(s)") + .hasMessageContaining("Nothing was removed"); + verify(tbDeviceService, never()).delete(any(), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_defaultProfile_refusedBeforeRemoving() { + mockTenant(); + DeviceProfile profile = packageProfile(true); + IotHubInstalledItem item = devicePackage(profile.getId()); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())) + .thenReturn(new PageData<>(List.of(), 0, 0, false)); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package profile' is the default device profile"); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_profileUsedOnlyByThePackageDevice_removed() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfile profile = packageProfile(false); + IotHubInstalledItem item = devicePackage(profile.getId(), device.getId()); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())) + .thenReturn(new PageData<>(List.of(device.getId()), 1, 1, false)); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + String newVersionId = mockNewVersion(item); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + verify(tbDeviceService).delete(device, user); + verify(tbDeviceProfileService).delete(profile, user); + } + + private DeviceProfile packageProfile(boolean isDefault) { + DeviceProfile profile = new DeviceProfile(new DeviceProfileId(UUID.randomUUID())); + profile.setTenantId(tenantId); + profile.setName("Package profile"); + profile.setDefault(isDefault); + when(deviceProfileService.findDeviceProfileById(tenantId, profile.getId())).thenReturn(profile); + return profile; + } + + private IotHubInstalledItem devicePackage(EntityId... created) { + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(created)); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setVersion("1.0.1"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + return item; + } + + private String mockNewVersion(IotHubInstalledItem item) { + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + return newVersionId; + } + @Test void removeDevicePackageEntities_entityUsedAsItWas_neitherRemovedNorTracked() throws Exception { mockTenant(); From 4cba073b7c327d239cf4caaf5251dde229149bf2 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 11 Nov 2026 15:47:18 +0200 Subject: [PATCH 206/275] fix(iot-hub): an entity the user had and chose to use is not tracked as the package's After Back reruns the entity steps, the "use existing" mark of such an entity is gone from the install state, so the server took it for the package's and a later update or Delete removed the user's own entity. The wizard no longer tracks it, unless it created that entity itself earlier in the same wizard. --- .../device-install-dialog/device-install-dialog.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index a25b364162..6c67832f13 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -818,7 +818,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent known.id === output.id)) { + // An entity the user had before the install and chose to use is not the package's: a later update or Delete must + // not remove it, even after Back reruns the steps and its "use existing" mark is gone from the install state. + const packageOwned = resolution !== 'use-existing' || this.createdInThisWizard.has(output.id); + if (entityType && packageOwned && !this.packageEntityIds.some(known => known.id === output.id)) { this.packageEntityIds.push({ entityType, id: output.id }); } const alias = stepTypeAliasMap[ep.step.type]; From b588634622bbd9572c954c8515b0718891601842 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 11 Nov 2026 15:51:59 +0200 Subject: [PATCH 207/275] test(iot-hub): the device delete matcher names its type, as TbDeviceService of PE overloads delete --- .../server/service/iot_hub/DefaultIotHubServiceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index de53f44c91..d2ca5dfc38 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -742,7 +742,7 @@ class DefaultIotHubServiceTest { .isInstanceOf(IllegalArgumentException.class) .hasMessageContaining("'Package profile' is used by 1 other device(s)") .hasMessageContaining("Nothing was removed"); - verify(tbDeviceService, never()).delete(any(), any()); + verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } From cd704379fc19c8570ed96b42dce0973a13e73d65 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 11 Nov 2026 15:57:41 +0200 Subject: [PATCH 208/275] IoT Hub: a device package update keeps the device's entity group and customer (PROD-9245) The PE part of thingsboard-pe#5291 for 4.4.0.x, by hand: the update opens the wizard of the new version with the entity group (the first one other than All) and the customer of the installed version's device, and the server keeps them in the install state ($placement) when it removes the entities, so a retry after the device is gone still creates the new one there. 4.4.1 does not need it: its update keeps the same device. --- .../server/controller/IotHubController.java | 7 ++- .../service/iot_hub/DefaultIotHubService.java | 28 +++++++++-- .../server/service/iot_hub/IotHubService.java | 11 ++++- .../iot_hub/DefaultIotHubServiceTest.java | 34 ++++++++++++++ .../src/app/core/http/iot-hub-api.service.ts | 5 +- .../device-install-dialog.component.ts | 4 +- .../iot-hub/iot-hub-actions.service.ts | 46 +++++++++++++++++-- 7 files changed, 120 insertions(+), 15 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java index 95cbc7c1aa..5890480c68 100644 --- a/application/src/main/java/org/thingsboard/server/controller/IotHubController.java +++ b/application/src/main/java/org/thingsboard/server/controller/IotHubController.java @@ -101,9 +101,12 @@ public class IotHubController extends BaseController { @PostMapping("/installedItems/{installedItemId}/device/removeEntities") @ResponseBody public void removeDevicePackageEntities(@PathVariable UUID installedItemId, - @RequestParam String versionId) throws ThingsboardException { + @RequestParam String versionId, + @RequestParam(required = false) UUID entityGroupId, + @RequestParam(required = false) UUID customerId) throws ThingsboardException { checkAllPermissions(); - iotHubService.removeDevicePackageEntities(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId); + iotHubService.removeDevicePackageEntities(getCurrentUser(), new IotHubInstalledItemId(installedItemId), versionId, + entityGroupId, customerId); } @PreAuthorize("hasAuthority('TENANT_ADMIN')") diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 0f39f4581e..66bc9e1313 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -4,6 +4,7 @@ package org.thingsboard.server.service.iot_hub; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -800,7 +801,8 @@ public class DefaultIotHubService implements IotHubService { } @Override - public void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId) { + public void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, + UUID entityGroupId, UUID customerId) { TenantId tenantId = user.getTenantId(); IotHubInstalledItem installedItem = findDevicePackage(tenantId, installedItemId); // Checked before anything is removed: the registration of the new version checks the same and would fail. @@ -832,9 +834,23 @@ public class DefaultIotHubService implements IotHubService { } // Keep what the user entered in the forms (the wizard of the new version starts from it), drop the outputs of // the removed entities: their ids, links and tokens no longer exist. - if (descriptor.getInstallState() != null) { - descriptor.setInstallState(stripEntityOutputs(descriptor.getInstallState())); + Map installState = descriptor.getInstallState() != null + ? stripEntityOutputs(descriptor.getInstallState()) : null; + // PE: where the removed device was, so that a retry still creates the new one there. + if (entityGroupId != null || customerId != null) { + if (installState == null) { + installState = new LinkedHashMap<>(); + } + ObjectNode placement = JacksonUtil.newObjectNode(); + if (entityGroupId != null) { + placement.put("entityGroupId", entityGroupId.toString()); + } + if (customerId != null) { + placement.put("customerId", customerId.toString()); + } + installState.put(PLACEMENT_STATE, placement); } + descriptor.setInstallState(installState); iotHubInstalledItemService.save(tenantId, installedItem); } catch (RuntimeException e) { // Without the cause: BaseController answers 400 for an IncorrectParameterException cause, and a 400 tells the @@ -849,11 +865,15 @@ public class DefaultIotHubService implements IotHubService { log.info("[{}] Removed the entities of device package {} for its update", tenantId, installedItem.getItemName()); } + private static final String PLACEMENT_STATE = "$placement"; + private static Map stripEntityOutputs(Map installState) { Map stripped = new LinkedHashMap<>(); installState.forEach((step, state) -> { JsonNode formValues = state != null ? state.get("formValues") : null; - if (formValues != null) { + if (PLACEMENT_STATE.equals(step) && state != null) { + stripped.put(step, state); + } else if (formValues != null) { stripped.put(step, JacksonUtil.newObjectNode().set("formValues", formValues)); } }); diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java index 39f7f1df70..055811d35b 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/IotHubService.java @@ -10,6 +10,8 @@ import org.thingsboard.server.common.data.id.IotHubInstalledItemId; import org.thingsboard.server.common.data.iot_hub.DeviceInstalledItemDescriptor; import org.thingsboard.server.service.security.model.SecurityUser; +import java.util.UUID; + public interface IotHubService { InstallItemVersionResult installItemVersion(SecurityUser user, String versionId, JsonNode data, HttpServletRequest request); @@ -31,8 +33,15 @@ public interface IotHubService { * Refused with an {@link IllegalArgumentException} (a 400), before anything is removed, when the item is not a device * package, {@code versionId} (the version to install) is not a version of that item, or IoT Hub does not answer. A failure once removing started is an * {@link IllegalStateException}: entities may already be removed. + * PE: the entity group and the customer of the removed device are kept in the install state ({@code $placement}), + * so the new version's device is created there even when the update is retried after the device is gone. */ - void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId); + void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId, + UUID entityGroupId, UUID customerId); + + default void removeDevicePackageEntities(SecurityUser user, IotHubInstalledItemId installedItemId, String versionId) { + removeDevicePackageEntities(user, installedItemId, versionId, null, null); + } void deleteInstalledItem(SecurityUser user, IotHubInstalledItemId installedItemId); diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index a8672bf668..2c770f2fa2 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -504,6 +504,40 @@ class DefaultIotHubServiceTest { verify(iotHubInstalledItemService, never()).deleteById(any(), any()); } + @Test + void removeDevicePackageEntities_keepsThePlacementOfTheRemovedDeviceForARetry() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(device.getId())); + descriptor.setInstallState(new LinkedHashMap<>(Map.of( + "Configuration", JacksonUtil.toJsonNode("{\"formValues\":{\"gatewayName\":\"GW\"}}")))); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + UUID entityGroupId = UUID.randomUUID(); + UUID customerId = UUID.randomUUID(); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId, entityGroupId, customerId); + + verify(tbDeviceService).delete(device, user); + assertThat(descriptor.getInstallState()).containsOnlyKeys("Configuration", "$placement"); + assertThat(descriptor.getInstallState().get("$placement").get("entityGroupId").asText()).isEqualTo(entityGroupId.toString()); + assertThat(descriptor.getInstallState().get("$placement").get("customerId").asText()).isEqualTo(customerId.toString()); + + // A retry after the device is gone: the wizard sends the kept placement again, and it stays. + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + assertThat(descriptor.getInstallState()).containsOnlyKeys("Configuration", "$placement"); + assertThat(descriptor.getInstallState().get("$placement").get("customerId").asText()).isEqualTo(customerId.toString()); + } + @Test void registerDeviceInstall_replace_updatesTheSameItemToTheNewVersion() { mockTenant(); diff --git a/ui-ngx/src/app/core/http/iot-hub-api.service.ts b/ui-ngx/src/app/core/http/iot-hub-api.service.ts index b83635c774..b443daafe9 100644 --- a/ui-ngx/src/app/core/http/iot-hub-api.service.ts +++ b/ui-ngx/src/app/core/http/iot-hub-api.service.ts @@ -175,11 +175,12 @@ export class IotHubApiService { ); } - public removeDevicePackageEntities(installedItemId: string, versionId: string, config?: IotHubRequestConfig): Observable { + public removeDevicePackageEntities(installedItemId: string, versionId: string, config?: IotHubRequestConfig, + placement?: { entityGroupId?: string; customerId?: string }): Observable { return this.http.post( `/api/iot-hub/installedItems/${installedItemId}/device/removeEntities`, null, - { params: this.buildParams(config, { versionId }) } + { params: this.buildParams(config, { versionId, entityGroupId: placement?.entityGroupId, customerId: placement?.customerId }) } ); } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 355f7753a3..8ad5fc9c76 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -937,8 +937,10 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { const descriptor = installedItem.descriptor as DeviceInstalledItemDescriptor; - return this.iotHubApiService.getVersionInfo(versionId).pipe( - switchMap(item => this.openDeviceInstallDialog(item, { + return forkJoin({ + item: this.iotHubApiService.getVersionInfo(versionId), + placement: this.findDevicePlacement(descriptor) + }).pipe( + switchMap(({ item, placement }) => this.openDeviceInstallDialog(item, { replaceInstalledItemId: installedItem.id.id, selectedInstallMethod: descriptor?.selectedInstallMethod, - installState: descriptor?.installState + installState: descriptor?.installState, + ...placement })), map(result => result === 'installed' ? 'updated' : false), // The error itself is shown by the HTTP interceptor; nothing is changed yet. @@ -224,6 +234,32 @@ export class IotHubActionsService { }); } + /** + * The customer and the entity group of the installed version's device: the new version's device is created there + * too, as the wizard creates it in the group and for the customer it was installed from. With several groups the + * first one other than "All" is taken; nothing when the device cannot be read. When an earlier update already removed + * the device, the placement the server kept for it ($placement in the install state). + */ + private findDevicePlacement(descriptor: DeviceInstalledItemDescriptor): Observable<{ entityGroupId?: string; customerId?: string }> { + const deviceId = descriptor?.createdEntityIds?.find(id => id.entityType === EntityType.DEVICE)?.id; + if (!deviceId) { + const kept = descriptor?.installState?.['$placement']; + return of({ entityGroupId: kept?.entityGroupId, customerId: kept?.customerId }); + } + const config = { ignoreLoading: true, ignoreErrors: true }; + // Each lookup failing on its own (a deleted device, no access to its groups) only leaves its part out. + return forkJoin({ + customerId: this.deviceService.getDevice(deviceId, config).pipe( + map(device => device.customerId && device.customerId.id !== NULL_UUID ? device.customerId.id : undefined), + catchError(() => of(undefined))), + entityGroupId: this.entityGroupService.getEntityGroupIdsForEntityId(EntityType.DEVICE, deviceId, config).pipe( + switchMap(groupIds => groupIds.length + ? this.entityGroupService.getEntityGroupsByIds(groupIds.map(groupId => groupId.id), config) : of([])), + map(groups => groups.find(group => !group.groupAll)?.id.id), + catchError(() => of(undefined))) + }); + } + private openDeviceInstallDialog(item: MpItemVersionView, options?: { reviewMode?: boolean; selectedInstallMethod?: string; installState?: any; entityGroupId?: string; customerId?: string; replaceInstalledItemId?: string}): Observable { From 6b8e62cebc9443a49a847e2b0f6bb5db037cbbe4 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 11 Nov 2026 15:59:44 +0200 Subject: [PATCH 209/275] IoT Hub: an update that can't remove the package's profile, rule chain or converter is refused before removing (PROD-9245) By hand from the 4.2 and PE lines: ThingsBoard refuses to delete a device profile that is the default one or that devices outside the package use, a converter that an integration outside the package uses, and a rule chain that is the root one or the default rule chain of a profile outside the package. Found after the dashboard and the device were gone, such a refusal left the package half removed and failed every Retry. Now it is checked before anything is removed, and the update is refused with a 400 that names what blocks it. --- .../service/iot_hub/DefaultIotHubService.java | 74 ++++++++++- .../iot_hub/DefaultIotHubServiceTest.java | 117 ++++++++++++++++++ 2 files changed, 190 insertions(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 66bc9e1313..b8b6320ed9 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -3,6 +3,9 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.iot_hub; +import org.thingsboard.server.common.data.page.PageDataIterable; +import org.thingsboard.server.common.data.converter.Converter; +import org.thingsboard.server.common.data.integration.Integration; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; @@ -820,9 +823,10 @@ public class DefaultIotHubService implements IotHubService { throw new IllegalArgumentException("IoT Hub returned the version without its item"); } checkSameItem(installedItem, UUID.fromString(itemId)); + DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); + checkPackageEntitiesCanBeRemoved(tenantId, packageOwnedEntityIds(descriptor)); // Refusals above are a 400 and remove nothing. Any failure from here on is not a 400, so the wizard knows that // entities may already be gone (each delete is committed on its own). - DeviceInstalledItemDescriptor descriptor = (DeviceInstalledItemDescriptor) installedItem.getDescriptor(); Map failed; try { failed = deleteDevicePackageEntities(tenantId, packageOwnedEntityIds(descriptor), user); @@ -921,6 +925,74 @@ public class DefaultIotHubService implements IotHubService { * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they * were (the install state keeps that choice). The default device profile, for example, is never the package's. */ + /** + * The update removes the package's entities one by one. ThingsBoard refuses to delete a device profile that is the + * default one or that devices outside the package use, a converter that an integration outside the package uses, + * and a rule chain that is the root one or the default rule chain of a profile outside the package. Found after the first deletes, such a refusal would leave the package half + * removed and fail every Retry the same way, so it is checked before anything is removed: a 400 removes nothing. + */ + private void checkPackageEntitiesCanBeRemoved(TenantId tenantId, List packageEntityIds) { + if (packageEntityIds == null || packageEntityIds.isEmpty()) { + return; + } + Set owned = new HashSet<>(); + packageEntityIds.forEach(id -> owned.add(id.getId())); + List blockers = new ArrayList<>(); + for (EntityId entityId : packageEntityIds) { + if (entityId.getEntityType() == EntityType.DEVICE_PROFILE) { + DeviceProfile profile = deviceProfileService.findDeviceProfileById(tenantId, new DeviceProfileId(entityId.getId())); + if (!isOwnedBy(profile, tenantId)) { + continue; + } + if (profile.isDefault()) { + blockers.add("the device profile '" + profile.getName() + "' is the default device profile"); + } + long otherDevices = 0; + for (DeviceId deviceId : new PageDataIterable<>(link -> deviceService.findDeviceIdsByTenantIdAndDeviceProfileId( + tenantId, profile.getId(), link), 1000)) { + if (!owned.contains(deviceId.getId())) { + otherDevices++; + } + } + if (otherDevices > 0) { + blockers.add("the device profile '" + profile.getName() + "' is used by " + otherDevices + " other device(s)"); + } + } else if (entityId.getEntityType() == EntityType.CONVERTER) { + Converter converter = converterService.findConverterById(tenantId, new ConverterId(entityId.getId())); + if (!isOwnedBy(converter, tenantId)) { + continue; + } + for (Integration integration : integrationService.findIntegrationsByConverterId(tenantId, converter.getId())) { + if (!owned.contains(integration.getId().getId())) { + blockers.add("the converter '" + converter.getName() + "' is used by the integration '" + integration.getName() + "'"); + } + } + } else if (entityId.getEntityType() == EntityType.RULE_CHAIN) { + RuleChain ruleChain = ruleChainService.findRuleChainById(tenantId, new RuleChainId(entityId.getId())); + if (!isOwnedBy(ruleChain, tenantId)) { + continue; + } + if (ruleChain.isRoot()) { + blockers.add("the rule chain '" + ruleChain.getName() + "' is the root rule chain"); + } + for (DeviceProfile profile : new PageDataIterable<>(link -> deviceProfileService.findDeviceProfiles(tenantId, link), 1000)) { + if (ruleChain.getId().equals(profile.getDefaultRuleChainId()) && !owned.contains(profile.getId().getId())) { + blockers.add("the rule chain '" + ruleChain.getName() + "' is the rule chain of the device profile '" + profile.getName() + "'"); + } + } + for (AssetProfile profile : new PageDataIterable<>(link -> assetProfileService.findAssetProfiles(tenantId, link), 1000)) { + if (ruleChain.getId().equals(profile.getDefaultRuleChainId())) { + blockers.add("the rule chain '" + ruleChain.getName() + "' is the rule chain of the asset profile '" + profile.getName() + "'"); + } + } + } + } + if (!blockers.isEmpty()) { + throw new IllegalArgumentException("The package can't be updated: " + String.join("; ", blockers) + + ". Move them to other profiles or rule chains first, or delete them. Nothing was removed."); + } + } + private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { List tracked = descriptor.getCreatedEntityIds(); if (tracked == null || descriptor.getInstallState() == null) { diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index 2c770f2fa2..bfbf16794e 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -2,6 +2,15 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.iot_hub; +import org.thingsboard.server.dao.converter.ConverterService; +import org.thingsboard.server.dao.integration.IntegrationService; +import org.thingsboard.server.common.data.id.IntegrationId; +import org.thingsboard.server.common.data.id.ConverterId; +import org.thingsboard.server.common.data.integration.Integration; +import org.thingsboard.server.common.data.converter.Converter; +import org.thingsboard.server.service.entitiy.device.profile.TbDeviceProfileService; +import org.thingsboard.server.common.data.page.PageData; +import org.thingsboard.server.common.data.DeviceProfile; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; @@ -71,6 +80,12 @@ class DefaultIotHubServiceTest { @Mock private TbDeviceService tbDeviceService; @Mock + private IntegrationService integrationService; + @Mock + private ConverterService converterService; + @Mock + private TbDeviceProfileService tbDeviceProfileService; + @Mock private DashboardService dashboardService; @Mock private TbDashboardService tbDashboardService; @@ -755,6 +770,108 @@ class DefaultIotHubServiceTest { verify(tbDeviceService).delete(device, user); } + @Test + void removeDevicePackageEntities_profileUsedByAnotherDevice_refusedBeforeRemoving() { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfile profile = packageProfile(false); + IotHubInstalledItem item = devicePackage(profile.getId(), device.getId()); + DeviceId otherDevice = new DeviceId(UUID.randomUUID()); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())) + .thenReturn(new PageData<>(List.of(device.getId(), otherDevice), 1, 2, false)); + String newVersionId = mockNewVersion(item); + + // Deleting the profile would fail after the device is gone, and every Retry the same way: nothing is touched. + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package profile' is used by 1 other device(s)") + .hasMessageContaining("Nothing was removed"); + verify(tbDeviceService, never()).delete(any(Device.class), any()); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_defaultProfile_refusedBeforeRemoving() { + mockTenant(); + DeviceProfile profile = packageProfile(true); + IotHubInstalledItem item = devicePackage(profile.getId()); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())) + .thenReturn(new PageData<>(List.of(), 0, 0, false)); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package profile' is the default device profile"); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_profileUsedOnlyByThePackageDevice_removed() throws Exception { + mockTenant(); + Device device = new Device(new DeviceId(UUID.randomUUID())); + device.setTenantId(tenantId); + DeviceProfile profile = packageProfile(false); + IotHubInstalledItem item = devicePackage(profile.getId(), device.getId()); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())) + .thenReturn(new PageData<>(List.of(device.getId()), 1, 1, false)); + when(deviceService.findDeviceById(tenantId, device.getId())).thenReturn(device); + String newVersionId = mockNewVersion(item); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + verify(tbDeviceService).delete(device, user); + verify(tbDeviceProfileService).delete(profile, user); + } + + private DeviceProfile packageProfile(boolean isDefault) { + DeviceProfile profile = new DeviceProfile(new DeviceProfileId(UUID.randomUUID())); + profile.setTenantId(tenantId); + profile.setName("Package profile"); + profile.setDefault(isDefault); + when(deviceProfileService.findDeviceProfileById(tenantId, profile.getId())).thenReturn(profile); + return profile; + } + + @Test + void removeDevicePackageEntities_converterUsedByAnotherIntegration_refusedBeforeRemoving() { + mockTenant(); + Converter converter = new Converter(new ConverterId(UUID.randomUUID())); + converter.setTenantId(tenantId); + converter.setName("Package converter"); + Integration own = new Integration(new IntegrationId(UUID.randomUUID())); + Integration other = new Integration(new IntegrationId(UUID.randomUUID())); + other.setName("Another integration"); + IotHubInstalledItem item = devicePackage(converter.getId(), own.getId()); + when(converterService.findConverterById(tenantId, converter.getId())).thenReturn(converter); + when(integrationService.findIntegrationsByConverterId(tenantId, converter.getId())).thenReturn(List.of(own, other)); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package converter' is used by the integration 'Another integration'"); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + private IotHubInstalledItem devicePackage(EntityId... created) { + DeviceInstalledItemDescriptor descriptor = new DeviceInstalledItemDescriptor(); + descriptor.setCreatedEntityIds(List.of(created)); + IotHubInstalledItem item = installedItem(UUID.randomUUID()); + item.setItemType("DEVICE"); + item.setVersion("1.0.1"); + item.setItemId(UUID.randomUUID()); + item.setDescriptor(descriptor); + when(iotHubInstalledItemService.findById(tenantId, item.getId())).thenReturn(item); + return item; + } + + private String mockNewVersion(IotHubInstalledItem item) { + String newVersionId = UUID.randomUUID().toString(); + when(iotHubRestClient.getVersionInfo(newVersionId)) + .thenReturn(version(newVersionId, item.getItemId().toString(), "DEVICE", "Gateway", "1.0.2")); + return newVersionId; + } + @Test void removeDevicePackageEntities_entityUsedAsItWas_neitherRemovedNorTracked() throws Exception { mockTenant(); From d236134434094ef8a725014540ccf0b7e82234cd Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 15:14:42 +0100 Subject: [PATCH 210/275] Fixed missing default RPC timeout in widget action settings (#16621) --- .../action/get-value-action-settings-panel.component.html | 4 ++-- .../action/get-value-action-settings-panel.component.ts | 4 ++-- .../action/set-value-action-settings-panel.component.html | 4 ++-- .../action/set-value-action-settings-panel.component.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html index 2cd8413e32..3560e331cd 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html @@ -207,7 +207,7 @@
-
{{ 'widgets.value-action.request-timeout-ms' | translate }}
+
{{ 'widgets.value-action.request-timeout-ms' | translate }}
@if (getValueSettingsFormGroup.get('executeRpc').get('requestTimeout').touched && @@ -236,7 +236,7 @@
-
{{ 'widgets.value-action.persistent-polling-interval' | translate }}
+
{{ 'widgets.value-action.persistent-polling-interval' | translate }}
@if (getValueSettingsFormGroup.get('executeRpc').get('persistentPollingInterval').touched && diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.ts index b6cda40331..a7f483683f 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.ts @@ -110,10 +110,10 @@ export class GetValueActionSettingsPanelComponent extends PageComponent implemen defaultValue: [this.getValueSettings?.defaultValue, [Validators.required]], executeRpc: this.fb.group({ method: [this.getValueSettings?.executeRpc?.method, [Validators.required]], - requestTimeout: [this.getValueSettings?.executeRpc?.requestTimeout, [Validators.required, Validators.min(5000)]], + requestTimeout: [this.getValueSettings?.executeRpc?.requestTimeout ?? 5000, [Validators.required, Validators.min(5000)]], requestPersistent: [this.getValueSettings?.executeRpc?.requestPersistent, []], persistentPollingInterval: - [this.getValueSettings?.executeRpc?.persistentPollingInterval, [Validators.required, Validators.min(1000)]], + [this.getValueSettings?.executeRpc?.persistentPollingInterval ?? 1000, [Validators.required, Validators.min(1000)]], params: this.fb.group({ type: [this.getValueSettings?.executeRpc?.params?.type ?? RpcParamsType.NONE, [Validators.required]], constantValue: [this.getValueSettings?.executeRpc?.params?.constantValue, [Validators.required]], diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html index 4d37d94c7f..e5963def57 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html @@ -139,7 +139,7 @@
-
{{ 'widgets.value-action.request-timeout-ms' | translate }}
+
{{ 'widgets.value-action.request-timeout-ms' | translate }}
@if (setValueSettingsFormGroup.get('executeRpc').get('requestTimeout').touched && @@ -168,7 +168,7 @@
-
{{ 'widgets.value-action.persistent-polling-interval' | translate }}
+
{{ 'widgets.value-action.persistent-polling-interval' | translate }}
@if (setValueSettingsFormGroup.get('executeRpc').get('persistentPollingInterval').touched && diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.ts index 25091cb3bd..759256c772 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.ts @@ -89,10 +89,10 @@ export class SetValueActionSettingsPanelComponent extends PageComponent implemen action: [this.setValueSettings?.action, []], executeRpc: this.fb.group({ method: [this.setValueSettings?.executeRpc?.method, [Validators.required]], - requestTimeout: [this.setValueSettings?.executeRpc?.requestTimeout, [Validators.required, Validators.min(5000)]], + requestTimeout: [this.setValueSettings?.executeRpc?.requestTimeout ?? 5000, [Validators.required, Validators.min(5000)]], requestPersistent: [this.setValueSettings?.executeRpc?.requestPersistent, []], persistentPollingInterval: - [this.setValueSettings?.executeRpc?.persistentPollingInterval, [Validators.required, Validators.min(1000)]] + [this.setValueSettings?.executeRpc?.persistentPollingInterval ?? 1000, [Validators.required, Validators.min(1000)]] }), setAttribute: this.fb.group({ scope: [this.setValueSettings?.setAttribute?.scope, []], From 969a848e7335ea16f89757a50c3df5f6209432f2 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 15:15:19 +0100 Subject: [PATCH 211/275] Fix [object Object] in Execute RPC action summary for JSON parameters (#16622) --- .../common/action/set-value-action-settings.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts index bb2c6024db..6578d6a5b4 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings.component.ts @@ -18,7 +18,7 @@ import { SetValueAction, SetValueSettings, ValueToDataType } from '@shared/model import { TranslateService } from '@ngx-translate/core'; import { IAliasController } from '@core/api/widget-api.models'; import { TargetDevice, widgetType } from '@shared/models/widget.models'; -import { isDefinedAndNotNull } from '@core/utils'; +import { isDefinedAndNotNull, isObject } from '@core/utils'; import { SetValueActionSettingsPanelComponent } from '@home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component'; @@ -136,6 +136,9 @@ export class SetValueActionSettingsComponent implements OnInit, ControlValueAcce break; case ValueToDataType.CONSTANT: value = this.modelValue.valueToData.constantValue; + if (isObject(value)) { + value = JSON.stringify(value); + } break; case ValueToDataType.FUNCTION: value = 'f(value)'; From a4c2db388690d9646b14def89b7866652f6ce502 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 15:38:36 +0100 Subject: [PATCH 212/275] Fixed [object Object] metadata values after Updated RAW payload in converter test dialog (#16532) * Fixed [object Object] display of object/array metadata after Updated RAW payload in converter test dialog * PR comments fixes --- .../converter-test-dialog.component.ts | 24 ++++++++++++------- .../src/app/shared/models/converter.models.ts | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/converter/converter-test-dialog.component.ts b/ui-ngx/src/app/modules/home/components/converter/converter-test-dialog.component.ts index b2e1888113..4842816f19 100644 --- a/ui-ngx/src/app/modules/home/components/converter/converter-test-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/converter/converter-test-dialog.component.ts @@ -153,7 +153,7 @@ export class ConverterTestDialogComponent extends DialogComponent; + let metadata: Record; let integrationMetadata: Record; if (debugIn) { if (debugIn.inContentType) { @@ -161,12 +161,7 @@ export class ConverterTestDialogComponent extends DialogComponent { this.converterTestFormGroup.patchValue({ payload: value, - metadata: value.metadata + metadata: this.stringifyMetadataValues(value.metadata) }, {emitEvent: false}); this.currentOriginalMsg.payload = msg.payload; this.currentOriginalMsg.metadata = msg.metadata; @@ -446,9 +441,20 @@ export class ConverterTestDialogComponent extends DialogComponent): Record { + if (!metadata) { + return metadata; + } + const result: Record = {}; + Object.keys(metadata).forEach((key) => { + result[key] = isObject(metadata[key]) ? JSON.stringify(metadata[key]) : metadata[key]; + }); + return result; + } + private testConverter(): Observable { if (this.checkInputParamErrors()) { - const metadata: Record = this.converterTestFormGroup.get('metadata').value; + const metadata: Record = {...this.converterTestFormGroup.get('metadata').value}; Object.keys(metadata).forEach(function (key) { try { metadata[key] = JSON.parse(metadata[key]); diff --git a/ui-ngx/src/app/shared/models/converter.models.ts b/ui-ngx/src/app/shared/models/converter.models.ts index 3c6bba0ee0..2180399bfe 100644 --- a/ui-ngx/src/app/shared/models/converter.models.ts +++ b/ui-ngx/src/app/shared/models/converter.models.ts @@ -140,7 +140,7 @@ export interface ConvertedInputMsgParams { export interface ConvertedInputMsgResult { payload: any; - metadata: {[key: string]: string}; + metadata: Record; contentType: ContentType; stringContent?: string; } From 747611d4f23f086fd248f7dcd7730857318e9b71 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 15:40:39 +0100 Subject: [PATCH 213/275] Fixed black corners of rounded widgets on iOS/Safari (#16509) * Fixed black corners of rounded widgets on iOS * Changed scope of styles --- .../home/components/widget/widget-container.component.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/modules/home/components/widget/widget-container.component.scss b/ui-ngx/src/app/modules/home/components/widget/widget-container.component.scss index d02cd489ee..e7871370e1 100644 --- a/ui-ngx/src/app/modules/home/components/widget/widget-container.component.scss +++ b/ui-ngx/src/app/modules/home/components/widget/widget-container.component.scss @@ -27,6 +27,7 @@ div.tb-widget { display: flex; flex-direction: column; + isolation: isolate; .tb-widget-header { display: flex; flex-direction: row; From d505684579779e0783e071ba3a641c87ebd39a24 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 11 Nov 2026 17:03:19 +0200 Subject: [PATCH 214/275] fix(iot-hub): review of #16553: the removal check covers dashboards and firmware, the connector step owns no entity - A dashboard of the package that a profile outside the package uses as its default dashboard, and a device profile of the package that a firmware or software package refers to, refuse the update before anything is removed, as the profile and the rule chain do. - The refusal no longer says that nothing was removed: an earlier attempt may have removed part of the package. - The GATEWAY_CONNECTOR step neither marks the gateway as created in this wizard nor tracks it: the connector is attributes on the gateway. A gateway the user had and chose to use stays theirs after Back reruns the steps. - The doc of packageOwnedEntityIds is back above it. - Tests for the rule chain (root, default of another device or asset profile, default of the package's own profile), the dashboard and the firmware. --- .../service/iot_hub/DefaultIotHubService.java | 43 ++++- .../iot_hub/DefaultIotHubServiceTest.java | 147 +++++++++++++++++- .../device-install-dialog.component.ts | 7 +- 3 files changed, 186 insertions(+), 11 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index 0443647f27..ea3ba7289c 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -2,6 +2,9 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.iot_hub; +import org.thingsboard.server.common.data.Dashboard; +import org.thingsboard.server.common.data.OtaPackageInfo; +import org.thingsboard.server.dao.ota.OtaPackageService; import com.fasterxml.jackson.databind.JsonNode; import jakarta.servlet.http.HttpServletRequest; import lombok.RequiredArgsConstructor; @@ -98,6 +101,7 @@ public class DefaultIotHubService implements IotHubService { private final IotHubInstalledItemService iotHubInstalledItemService; private final WidgetTypeService widgetTypeService; private final DashboardService dashboardService; + private final OtaPackageService otaPackageService; private final CalculatedFieldService calculatedFieldService; private final DeviceProfileService deviceProfileService; private final DeviceService deviceService; @@ -724,15 +728,12 @@ public class DefaultIotHubService implements IotHubService { } } - /** - * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they - * were (the install state keeps that choice). The default device profile, for example, is never the package's. - */ /** * The update removes the package's entities one by one. ThingsBoard refuses to delete a device profile that is the - * default one or that devices outside the package use, and a rule chain that is the root one or the default rule - * chain of a profile outside the package. Found after the first deletes, such a refusal would leave the package half - * removed and fail every Retry the same way, so it is checked before anything is removed: a 400 removes nothing. + * default one, that devices outside the package use or that a firmware or software package refers to; a dashboard + * that a profile outside the package uses as its default dashboard; and a rule chain that is the root one or the + * default rule chain of a profile outside the package. Found after the first deletes, such a refusal would leave the + * package half removed and fail every Retry the same way, so it is checked before anything is removed. */ private void checkPackageEntitiesCanBeRemoved(TenantId tenantId, List packageEntityIds) { if (packageEntityIds == null || packageEntityIds.isEmpty()) { @@ -760,6 +761,27 @@ public class DefaultIotHubService implements IotHubService { if (otherDevices > 0) { blockers.add("the device profile '" + profile.getName() + "' is used by " + otherDevices + " other device(s)"); } + for (OtaPackageInfo ota : new PageDataIterable<>(link -> otaPackageService.findTenantOtaPackagesByTenantId(tenantId, link), 1000)) { + if (profile.getId().equals(ota.getDeviceProfileId())) { + blockers.add("the device profile '" + profile.getName() + "' is used by the " + ota.getType().name().toLowerCase() + + " '" + ota.getTitle() + " " + ota.getVersion() + "'"); + } + } + } else if (entityId.getEntityType() == EntityType.DASHBOARD) { + Dashboard dashboard = dashboardService.findDashboardById(tenantId, new DashboardId(entityId.getId())); + if (!isOwnedBy(dashboard, tenantId)) { + continue; + } + for (DeviceProfile profile : new PageDataIterable<>(link -> deviceProfileService.findDeviceProfiles(tenantId, link), 1000)) { + if (dashboard.getId().equals(profile.getDefaultDashboardId()) && !owned.contains(profile.getId().getId())) { + blockers.add("the dashboard '" + dashboard.getTitle() + "' is the default dashboard of the device profile '" + profile.getName() + "'"); + } + } + for (AssetProfile profile : new PageDataIterable<>(link -> assetProfileService.findAssetProfiles(tenantId, link), 1000)) { + if (dashboard.getId().equals(profile.getDefaultDashboardId())) { + blockers.add("the dashboard '" + dashboard.getTitle() + "' is the default dashboard of the asset profile '" + profile.getName() + "'"); + } + } } else if (entityId.getEntityType() == EntityType.RULE_CHAIN) { RuleChain ruleChain = ruleChainService.findRuleChainById(tenantId, new RuleChainId(entityId.getId())); if (!isOwnedBy(ruleChain, tenantId)) { @@ -781,11 +803,16 @@ public class DefaultIotHubService implements IotHubService { } } if (!blockers.isEmpty()) { + // Not "nothing was removed": an earlier attempt may have removed part of the package already. throw new IllegalArgumentException("The package can't be updated: " + String.join("; ", blockers) - + ". Move them to other profiles or rule chains first, or delete them. Nothing was removed."); + + ". Change or delete them first."); } } + /** + * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they + * were (the install state keeps that choice). The default device profile, for example, is never the package's. + */ private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { List tracked = descriptor.getCreatedEntityIds(); if (tracked == null || descriptor.getInstallState() == null) { diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index d2ca5dfc38..69d378243a 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -2,6 +2,18 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.iot_hub; +import org.thingsboard.server.service.rule.TbRuleChainService; +import static org.mockito.Mockito.lenient; +import org.thingsboard.server.common.data.id.AssetProfileId; +import org.thingsboard.server.common.data.asset.AssetProfile; +import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.common.data.id.OtaPackageId; +import org.thingsboard.server.common.data.ota.OtaPackageType; +import org.thingsboard.server.common.data.OtaPackageInfo; +import org.thingsboard.server.dao.ota.OtaPackageService; +import org.thingsboard.server.dao.asset.AssetProfileService; +import org.thingsboard.server.dao.rule.RuleChainService; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import jakarta.servlet.http.HttpServletRequest; @@ -75,6 +87,14 @@ class DefaultIotHubServiceTest { @Mock private TbDeviceProfileService tbDeviceProfileService; @Mock + private RuleChainService ruleChainService; + @Mock + private TbRuleChainService tbRuleChainService; + @Mock + private AssetProfileService assetProfileService; + @Mock + private OtaPackageService otaPackageService; + @Mock private DashboardService dashboardService; @Mock private TbDashboardService tbDashboardService; @@ -741,7 +761,7 @@ class DefaultIotHubServiceTest { assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) .isInstanceOf(IllegalArgumentException.class) .hasMessageContaining("'Package profile' is used by 1 other device(s)") - .hasMessageContaining("Nothing was removed"); + .hasMessageContaining("Change or delete them first"); verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } @@ -779,12 +799,137 @@ class DefaultIotHubServiceTest { verify(tbDeviceProfileService).delete(profile, user); } + @Test + void removeDevicePackageEntities_rootRuleChain_refusedBeforeRemoving() { + mockTenant(); + RuleChain ruleChain = packageRuleChain(true); + IotHubInstalledItem item = devicePackage(ruleChain.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package rule chain' is the root rule chain"); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_ruleChainOfAnotherProfile_refusedBeforeRemoving() { + mockTenant(); + RuleChain ruleChain = packageRuleChain(false); + DeviceProfile other = otherProfile("User profile"); + other.setDefaultRuleChainId(ruleChain.getId()); + when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page(other)); + IotHubInstalledItem item = devicePackage(ruleChain.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package rule chain' is the rule chain of the device profile 'User profile'"); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_ruleChainOfThePackageProfile_removed() throws Exception { + mockTenant(); + RuleChain ruleChain = packageRuleChain(false); + DeviceProfile profile = packageProfile(false); + profile.setDefaultRuleChainId(ruleChain.getId()); + when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page(profile)); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())).thenReturn(page()); + IotHubInstalledItem item = devicePackage(ruleChain.getId(), profile.getId()); + String newVersionId = mockNewVersion(item); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + verify(tbDeviceProfileService).delete(profile, user); + verify(tbRuleChainService).delete(ruleChain, user); + } + + @Test + void removeDevicePackageEntities_ruleChainOfAnAssetProfile_refusedBeforeRemoving() { + mockTenant(); + RuleChain ruleChain = packageRuleChain(false); + AssetProfile assetProfile = new AssetProfile(new AssetProfileId(UUID.randomUUID())); + assetProfile.setName("Building"); + assetProfile.setDefaultRuleChainId(ruleChain.getId()); + when(assetProfileService.findAssetProfiles(eq(tenantId), any())).thenReturn(page(assetProfile)); + IotHubInstalledItem item = devicePackage(ruleChain.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package rule chain' is the rule chain of the asset profile 'Building'"); + } + + @Test + void removeDevicePackageEntities_dashboardOfAnotherProfile_refusedBeforeRemoving() { + mockTenant(); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + dashboard.setTenantId(tenantId); + dashboard.setTitle("Package dashboard"); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + DeviceProfile other = otherProfile("User profile"); + other.setDefaultDashboardId(dashboard.getId()); + when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page(other)); + lenient().when(assetProfileService.findAssetProfiles(eq(tenantId), any())).thenReturn(page()); + IotHubInstalledItem item = devicePackage(dashboard.getId()); + String newVersionId = mockNewVersion(item); + + // Deleted first (reverse order), the dashboard would fail after nothing else, and the rest after it: refused now. + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package dashboard' is the default dashboard of the device profile 'User profile'"); + verify(tbDashboardService, never()).delete(any(), any()); + } + + @Test + void removeDevicePackageEntities_profileOfAFirmware_refusedBeforeRemoving() { + mockTenant(); + DeviceProfile profile = packageProfile(false); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())).thenReturn(page()); + OtaPackageInfo firmware = new OtaPackageInfo(new OtaPackageId(UUID.randomUUID())); + firmware.setDeviceProfileId(profile.getId()); + firmware.setType(OtaPackageType.FIRMWARE); + firmware.setTitle("fw"); + firmware.setVersion("1.2"); + when(otaPackageService.findTenantOtaPackagesByTenantId(eq(tenantId), any())).thenReturn(page(firmware)); + IotHubInstalledItem item = devicePackage(profile.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package profile' is used by the firmware 'fw 1.2'"); + } + private DeviceProfile packageProfile(boolean isDefault) { DeviceProfile profile = new DeviceProfile(new DeviceProfileId(UUID.randomUUID())); profile.setTenantId(tenantId); profile.setName("Package profile"); profile.setDefault(isDefault); when(deviceProfileService.findDeviceProfileById(tenantId, profile.getId())).thenReturn(profile); + lenient().when(otaPackageService.findTenantOtaPackagesByTenantId(eq(tenantId), any())).thenReturn(page()); + return profile; + } + + private static PageData page(T... items) { + return new PageData<>(List.of(items), 1, items.length, false); + } + + private RuleChain packageRuleChain(boolean root) { + RuleChain ruleChain = new RuleChain(new RuleChainId(UUID.randomUUID())); + ruleChain.setTenantId(tenantId); + ruleChain.setName("Package rule chain"); + ruleChain.setRoot(root); + when(ruleChainService.findRuleChainById(tenantId, ruleChain.getId())).thenReturn(ruleChain); + lenient().when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page()); + lenient().when(assetProfileService.findAssetProfiles(eq(tenantId), any())).thenReturn(page()); + return ruleChain; + } + + private DeviceProfile otherProfile(String name) { + DeviceProfile profile = new DeviceProfile(new DeviceProfileId(UUID.randomUUID())); + profile.setTenantId(tenantId); + profile.setName(name); return profile; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 6c67832f13..8884663acd 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -814,10 +814,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Wed, 11 Nov 2026 16:06:24 +0100 Subject: [PATCH 215/275] Fixed clipped hover and compressed layout of policy toggles on Self registration page (#16447) * Fixed clipped hover and compressed layout of policy toggles on Self registration page * PR comments fixes --- .../pages/admin/self-registration.component.html | 14 +++++++------- .../pages/admin/self-registration.component.scss | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.html b/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.html index 8e1a90a0fd..6695931170 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.html @@ -135,24 +135,24 @@
self-registration.privacy-policy-text -
- +
+ {{ 'self-registration.show-privacy-policy' | translate }} -
+
-
+
self-registration.terms-of-use-text -
- +
+ {{ 'self-registration.show-terms-of-use' | translate }} -
+
diff --git a/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss b/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss index 78d635eee2..2fd16a6f76 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss +++ b/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss @@ -11,7 +11,6 @@ } .tb-privacy-policy, .tb-terms-of-use { min-height: 380px; - padding: 10px 2px; } } From a5afbf35be55d8d836990bcbab2da8a684f55ccf Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Wed, 11 Nov 2026 17:08:05 +0200 Subject: [PATCH 216/275] Updated Lithuanian locale translations for 4.4 (#16605) * Update Lithuanian translation for 4.4: missing keys, plurals, terminology * Remove Lithuanian keys that en_US no longer has --- .../assets/locale/locale.constant-lt_LT.json | 9592 +++++++++++------ 1 file changed, 6057 insertions(+), 3535 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index 2af5b178e9..64a45c98cb 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -1,10 +1,109 @@ { + "setup": { + "activate-platform": "Aktyvuoti ThingsBoard platformą", + "initial": { + "welcome": "Sveiki atvykę į ThingsBoard {{version}}", + "title": "Gaukite nemokamą licenciją ir pradėkite kurti", + "desc": "Kelios minutės Licencijų portale — sukursite paskyrą, pasirinksite licenciją, o šis egzempliorius aktyvuosis savaime.", + "open-license-portal": "Atidaryti Licencijų portalą", + "already-have-license": "Jau turite licenciją?", + "free-no-credit-card": "Nemokamai visam laikui. Kredito kortelės nereikia.", + "source-available": "Pirminis kodas prieinamas pagal" + }, + "waiting": { + "live-eyebrow": "Laukiama aktyvavimo", + "title": "Tęskite Licencijų portale", + "desc": "Prisijunkite arba sukurkite paskyrą, pasirinkite licenciją, sutikite su sąlygomis. Šis egzempliorius aktyvuosis savaime, kai tik bus išduota licencija.", + "nothing-opened": "Niekas neatsidarė?", + "paste-link-or-scan-qr-code": "Įklijuokite tekstinę nuorodą bet kuriame įrenginyje su internetu arba nuskaitykite QR kodą telefonu.", + "text-link": "Tekstinė nuoroda", + "qr-code": "QR kodas", + "qr-code-hint": "Nukreipkite telefono kamerą į kodą, tada atidarykite nuorodą. Telefonas turi turėti savo interneto ryšį.", + "have-key": "Turite licencijos raktą?", + "activate-key": "Aktyvuoti licenciją raktu" + }, + "offline": { + "eyebrow": "Neprisijungus", + "title": "Aktyvuoti iš kito įrenginio", + "desc": "Šis serveris negali pasiekti Licencijų portalo, todėl tai atliekama dviem žingsniais: gaukite licenciją ten prie interneto prijungtame įrenginyje, tada įveskite raktą čia.", + "get-your-license": "Gaukite licenciją portale", + "open-link": "Atidarykite šią nuorodą bet kuriame įrenginyje su internetu. Prisijungsite arba sukursite paskyrą, pasirinksite licenciją ir sutiksite su sąlygomis. Tada portale bus parodytas licencijos raktas.", + "paste-key": "Įklijuokite raktą čia", + "no-connected-device": "Neturite jokio įrenginio su interneto ryšiu?" + }, + "have-key": { + "title": "Aktyvuoti licenciją raktu", + "enter-license-key": "Įveskite licencijos raktą", + "enter-license-key-note": "Jis yra jūsų Licencijų portalo paskyroje: prisijunkite adresu {{hostName}} bet kuriame įrenginyje ir nukopijuokite jį iš ten.", + "no-account": "Neturite nei paskyros, nei įrenginio su interneto ryšiu?", + "contact-support": "Susisiekti su palaikymo komanda" + }, + "key-form": { + "placeholder": "Įklijuokite licencijos raktą", + "invalid": "Šis raktas netinka šiam egzemplioriui. Patikrinkite, ar netrūksta simbolio, arba susisiekite su palaikymo komanda.", + "activate": "Aktyvuoti", + "activating": "Aktyvuojama" + }, + "account": { + "title": "Šis egzempliorius aktyvuotas", + "desc": "Jūsų licencija išsaugota šiame serveryje ir jūsų Licencijų portalo paskyroje.", + "create-sys-admin-account": "Sukurti sistemos administratoriaus paskyrą", + "create-sys-admin-account-hint": "Su šia paskyra jungiatės prie šio serverio — ji atskira nuo Licencijų portalo paskyros, kurioje saugoma jūsų licencija.", + "email-label": "El. paštas", + "email-required": "Įveskite el. pašto adresą.", + "email-invalid": "Įveskite galiojantį el. pašto adresą.", + "password-label": "Slaptažodis", + "password-required": "Įveskite slaptažodį.", + "password-min-length": "Slaptažodį turi sudaryti bent 6 simboliai.", + "confirm-label": "Pakartokite slaptažodį", + "confirm-required": "Patvirtinkite slaptažodį.", + "confirm-mismatch": "Slaptažodžiai nesutampa.", + "demo-tenant-title": "Sukurti demonstracinį nuomininką", + "demo-tenant-desc": "Greičiausias būdas pamatyti platformą veikiant. Skydeliai, įrenginiai ir taisyklių grandinės jau sukonfigūruoti, o nuomininko ir kliento naudotojai paruošti prisijungti. Jį taip pat galite atidaryti skiltyje „Nuomininkai“ kaip sistemos administratorius.", + "create": "Sukurti paskyrą", + "creating": "Kuriama paskyra" + }, + "demo-tenant": { + "signed-in-as": "Jūsų sistemos administratoriaus paskyra sukurta, o jūs prisijungėte kaip {{email}}.", + "title": "Norite išbandyti demonstracinį nuomininką?", + "desc": "Pagrindiniai dalykai jau sukonfigūruoti — atidarykite skydelį, pakeiskite taisyklę arba prijunkite savo įrenginį.", + "dashboards": "Skydeliai — sukurti toliau nurodytiems įrenginiams, valdikliai jau susieti su duomenimis", + "devices": "Įrenginiai — su jų įrenginių profiliais ir įspėjimų taisyklėmis; kol kas nė vienas nesiuntė duomenų", + "rule-chains": "Taisyklių grandinės — jose sprendžiama, kada kelti šiuos įspėjimus", + "explore": "Išbandyti demonstracinį nuomininką", + "not-now": "Ne dabar", + "not-now-hint": "Pasirinkę „Ne dabar“, būsite nukreipti į sistemos administravimą.", + "signing-in-later": "Prisijungimas vėliau", + "demo-tenant-hint": "Paties nuomininko administratorius. Kaip sistemos administratorius nuomininką taip pat galite atidaryti skiltyje „Nuomininkai“ be slaptažodžio." + }, + "non-production": { + "eyebrow": "Reikia pakartotinio patvirtinimo", + "title": "Patvirtinkite, kad šis diegimas vis dar nėra gamybinis.", + "desc": "Šis egzempliorius veikia su nemokama negamybine licencija, kurią periodiškai iš naujo patvirtina sistemos administratorius. Patvirtinimas neturi įtakos jūsų duomenims, naudotojams ar įrenginių ryšiui.", + "confirm": "Patvirtinti", + "confirming": "Tvirtinama", + "sysadmin-required": "Tai patvirtinti gali tik sistemos administratorius.", + "login-as-sysadmin": "Prisijungti kaip sistemos administratorius", + "state-verify-failed": "Patvirtinta, bet būsenos patikrinti nepavyko. Atnaujinkite puslapį.", + "state-not-updated": "Šis egzempliorius vis dar praneša, kad patvirtinimas neatliktas. Atnaujinkite puslapį ir patvirtinkite dar kartą." + }, + "errors": { + "signin-failed": "Paskyra sukurta, bet automatiškai prisijungti nepavyko. Atnaujinkite puslapį ir prisijunkite rankiniu būdu.", + "state-not-updated": "Sąranka baigta, bet būsena neatnaujinta. Atnaujinkite puslapį.", + "state-verify-failed": "Sąranka baigta, bet būsenos nepavyko patikrinti. Atnaujinkite puslapį.", + "no-sign-up-url": "Šis egzempliorius atsakė be nuorodos, todėl nėra ką atidaryti.", + "link-expired": "Ši nuoroda nebegalioja. Dar kartą atidarykite Licencijų portalą, kad gautumėte naują.", + "activated-state-verify-failed": "Šis egzempliorius licencijuotas, bet kito žingsnio dar nepavyko nuskaityti. Vis dar bandoma — taip pat galite atnaujinti puslapį.", + "no-connection": "Nėra ryšio su serveriu. Bandykite dar kartą vėliau.", + "request-failed": "Užklausa nepavyko. Bandykite dar kartą." + } + }, "access": { "unauthorized": "Neautorizuotas", "unauthorized-access": "Neautorizuota prieiga", - "unauthorized-access-text": "Prieiga prie šio funkcionalumo leidžiama tik prisijungusiam vartotojui!", + "unauthorized-access-text": "Prieiga prie šio funkcionalumo leidžiama tik prisijungusiam naudotojui!", "access-forbidden": "Prieiga uždrausta", - "access-forbidden-text": "Neturite teisių prieigai!
Bandykite prisijungti kitu vartotoju.", + "access-forbidden-text": "Neturite teisių pasiekti šią vietą!
Jei vis tiek norite ją pasiekti, pabandykite prisijungti kitu naudotoju.", "refresh-token-expired": "Sesijos galiojimas baigėsi", "refresh-token-failed": "Sesijos atnaujinti nepavyksta", "permission-denied": "Leidimas nesuteiktas", @@ -20,16 +119,16 @@ "save": "Išsaugoti", "saveAs": "Išsaugoti kaip", "move": "Perkelti", - "cancel": "Atmesti", + "cancel": "Atšaukti", "ok": "OK", - "delete": "Panaikinti", + "delete": "Ištrinti", "add": "Pridėti", "yes": "Taip", "no": "Ne", "update": "Atnaujinti", - "remove": "Panaikinti", + "remove": "Pašalinti", "search": "Paieška", - "clear-search": "Išvalyti", + "clear-search": "Išvalyti paiešką", "assign": "Priskirti", "unassign": "Atsieti", "share": "Pasidalinti", @@ -38,10 +137,10 @@ "apply": "Taikyti", "apply-changes": "Pritaikyti pakeitimus", "edit-mode": "Redagavimo režimas", - "enter-edit-mode": "Redagavimo režimas", - "decline-changes": "Atšaukti pakeitimus", - "open": "Atverti", - "decline": "Atšaukti", + "enter-edit-mode": "Įjungti redagavimo režimą", + "decline-changes": "Atsisakyti pakeitimų", + "open": "Atidaryti", + "decline": "Atsisakyti", "close": "Uždaryti", "back": "Atgal", "run": "Paleisti", @@ -51,8 +150,9 @@ "create": "Kurti", "drag": "Vilkti", "refresh": "Atnaujinti", - "undo": "Atšaukti", + "undo": "Anuliuoti", "copy": "Kopijuoti", + "copied": "Nukopijuota", "paste": "Įklijuoti", "copy-reference": "Kopijuoti nuorodą", "paste-reference": "Įklijuoti nuorodą", @@ -62,12 +162,12 @@ "select": "Pasirinkti", "continue": "Tęsti", "discard-changes": "Atsisakyti pakeitimų", - "download": "Parsisiųsti", - "next": "Sekantis", - "next-with-label": "Sekantis: {{label}}", + "download": "Atsisiųsti", + "next": "Toliau", + "next-with-label": "Toliau: {{label}}", "read-more": "Skaityti daugiau", - "hide": "Paslėpti", - "test": "Test", + "hide": "Slėpti", + "test": "Testuoti", "done": "Atlikta", "print": "Spausdinti", "restore": "Atkurti", @@ -79,32 +179,37 @@ "reset": "Nustatyti iš naujo", "reset-default": "Atstatyti numatytus parametrus", "show-more": "Rodyti daugiau", - "dont-show-again": "Daugiau neberodyti", + "dont-show-again": "Daugiau nerodyti", + "dont-show-this-again": "Daugiau nerodyti", "see-documentation": "Žiūrėti dokumentacijoje", + "see-debug-events": "Peržiūrėti derinimo įvykius", "clear": "Išvalyti", "upload": "Įkelti", - "delete-anyway": "Trinti vistike", - "delete-selected": "Trinti pasirinktą", + "delete-anyway": "Vis tiek ištrinti", + "delete-selected": "Ištrinti pasirinktus", "set": "Nustatyti", - "duplicate": "Dublikuoti", + "duplicate": "Dubliuoti", "disable": "Išjungti", - "enable": "Įjungti" + "enable": "Įjungti", + "rename": "Pervardyti", + "retry": "Bandyti dar kartą" }, "aggregation": { "aggregation": "Agregavimas", - "function": "Duomenų aggregavimo funkcija", - "limit": "Maksimali reikšmė", + "function": "Duomenų agregavimo funkcija", + "limit": "Didžiausias reikšmių skaičius", "group-interval": "Grupavimo intervalas", - "min": "Min", - "max": "Max", + "min": "Min.", + "max": "Maks.", "avg": "Vidurkis", - "sum": "Sum", + "sum": "Suma", "count": "Kiekis", "none": "Nėra" }, "admin": { "settings": "Nustatymai", - "general": "Bendrieji", + "platform": "Platforma", + "general": "Bendra", "general-settings": "Bendrieji nustatymai", "home-settings": "Pagrindinio puslapio nustatymai", "home": "Pagrindinis puslapis", @@ -112,10 +217,10 @@ "outgoing-mail-settings": "Išeinančio pašto serverio nustatymai", "system-settings": "Sistemos nustatymai", "test-mail-sent": "Bandomasis laiškas sėkmingai išsiųstas!", - "base-url": "Pagrindinis URL", - "base-url-required": "Pagrindinis URL yra privalomas.", + "base-url": "Bazinis URL", + "base-url-required": "Bazinis URL yra privalomas.", "prohibit-different-url": "Drausti naudoti kliento užklausų antraštėse nurodytą pagrindinio kompiuterio pavadinimą", - "prohibit-different-url-hint": "Šis nustatymas turėtų būti įjungtas gamybinėje aplinkoje. Jo išjungimas gali sukelti saugumo problemų", + "prohibit-different-url-hint": "Šį nustatymą rekomenduojama įjungti gamybinėje aplinkoje. Išjungus gali kilti saugumo problemų", "device-connectivity": { "device-connectivity": "Įrenginių jungiamumas", "http-s": "HTTP(s)", @@ -127,21 +232,21 @@ "mqtts": "MQTTs", "coap": "COAP", "coaps": "COAPs", - "hint": "Jei laukeliai 'host' arba 'port' yra tušti, bus naudojamos numatytosios protokolo reikšmės.", - "host": "Host", - "port": "Port", - "port-pattern": "Port turi būti teigiamas sveikasis skaičius.", - "port-range": "Port turi būti nuo 1 iki 65535." - }, - "mail-from": "Laiškas nuo", - "mail-from-required": "Laukas „Laiškas nuo“ yra privalomas.", + "hint": "Jei laukai „Serveris“ arba „Prievadas“ tušti, bus naudojamos numatytosios protokolo reikšmės.", + "host": "Serveris", + "port": "Prievadas", + "port-pattern": "Prievadas turi būti teigiamas sveikasis skaičius.", + "port-range": "Prievadas turi būti nuo 1 iki 65535." + }, + "mail-from": "Siuntėjo adresas", + "mail-from-required": "Laukas „Siuntėjo adresas“ yra privalomas.", "smtp-protocol": "SMTP protokolas", "smtp-host": "SMTP serveris", "smtp-host-required": "SMTP serveris yra privalomas.", "smtp-port": "SMTP prievadas", "smtp-port-required": "Turite nurodyti SMTP prievadą.", "smtp-port-invalid": "Tai neatrodo kaip tinkamas SMTP prievadas.", - "timeout-msec": "Laiko limitas (msek)", + "timeout-msec": "Laiko limitas (ms)", "timeout-required": "Laiko limitas yra privalomas.", "timeout-invalid": "Tai neatrodo kaip tinkamas laiko limitas.", "enable-tls": "Įjungti TLS", @@ -162,14 +267,14 @@ "use-system-mail-template-settings": "Naudoti sistemos laiškų šablonus", "mail-template": { "mail-template": "Laiško šablonas", - "test": "Bandomasis el. laiško pranešimas", + "test": "Bandomasis el. laiškas", "activation": "Paskyros aktyvavimo pranešimas", - "account-activated": "Paskyra aktyvuota pranešimas", + "account-activated": "Pranešimas apie aktyvuotą paskyrą", "account-lockout": "Paskyros užrakinimo pranešimas", "reset-password": "Slaptažodžio atstatymo pranešimas", - "password-was-reset": "Slaptažodis buvo atstatytas pranešimas", + "password-was-reset": "Pranešimas apie atstatytą slaptažodį", "api-usage-state-enabled": "API naudojimo būsena įjungta", - "api-usage-state-warning": "API naudojimo būsena įspėjimas", + "api-usage-state-warning": "API naudojimo būsenos perspėjimas", "api-usage-state-disabled": "API naudojimo būsena išjungta", "two-fa-verification": "2FA patvirtinimo pranešimas" }, @@ -183,16 +288,16 @@ "sms-provider-type-aws-sns": "Amazon SNS", "sms-provider-type-twilio": "Twilio", "sms-provider-type-smpp": "SMPP", - "aws-access-key-id": "AWS prieigos raktas (Access Key ID)", - "aws-access-key-id-required": "AWS prieigos raktas (Access Key ID) yra privalomas", - "aws-secret-access-key": "AWS slaptas prieigos raktas (Secret Access Key)", - "aws-secret-access-key-required": "AWS slaptas prieigos raktas (Secret Access Key) yra privalomas", + "aws-access-key-id": "AWS prieigos rakto ID", + "aws-access-key-id-required": "AWS prieigos rakto ID yra privalomas", + "aws-secret-access-key": "AWS slaptasis prieigos raktas", + "aws-secret-access-key-required": "AWS slaptasis prieigos raktas yra privalomas", "aws-region": "AWS regionas", "aws-region-required": "AWS regionas yra privalomas", - "number-from": "Telefono numeris nuo", - "number-from-required": "Telefono numeris nuo yra privalomas.", - "number-to": "Telefono numeris kam", - "number-to-required": "Telefono numeris kam yra privalomas.", + "number-from": "Siuntėjo telefono numeris", + "number-from-required": "Siuntėjo telefono numeris yra privalomas.", + "number-to": "Gavėjo telefono numeris", + "number-to-required": "Gavėjo telefono numeris yra privalomas.", "phone-number-hint": "Telefono numeris E.164 formatu, pvz. +19995550123", "phone-number-hint-twilio": "Telefono numeris E.164 formatu / Telefono numerio SID / Žinučių paslaugos SID, pvz. +19995550123/PNXXX/MGXXX", "phone-number-pattern": "Neteisingas telefono numeris. Turi būti E.164 formatu, pvz. +19995550123.", @@ -202,15 +307,15 @@ "sms-message-max-length": "SMS žinutė negali būti ilgesnė nei 1600 simbolių", "twilio-account-sid": "Twilio paskyros SID", "twilio-account-sid-required": "Twilio paskyros SID yra privalomas", - "twilio-account-token": "Twilio paskyros prieigos raktas (Token)", - "twilio-account-token-required": "Twilio paskyros prieigos raktas (Token) yra privalomas", + "twilio-account-token": "Twilio paskyros žetonas", + "twilio-account-token-required": "Twilio paskyros žetonas yra privalomas", "send-test-sms": "Siųsti bandomąją SMS", "test-sms-sent": "Bandomoji SMS sėkmingai išsiųsta!", "security-settings": "Saugumo nustatymai", "password-policy": "Slaptažodžių politika", "minimum-password-length": "Minimalus slaptažodžio ilgis", "minimum-password-length-required": "Minimalus slaptažodžio ilgis yra privalomas", - "minimum-password-length-range": "Minimalus slaptažodžio ilgis turi būti nuo 5 iki 50 simbolių", + "minimum-password-length-range": "Minimalus slaptažodžio ilgis turi būti nuo 6 iki 50 simbolių", "maximum-password-length": "Maksimalus slaptažodžio ilgis", "maximum-password-length-min": "Maksimalus slaptažodžio ilgis turi būti bent 6 simboliai", "maximum-password-length-less-min": "Maksimalus slaptažodžio ilgis turi būti didesnis nei minimalus", @@ -237,16 +342,16 @@ "user-activation-token-ttl-range": "Naudotojo aktyvavimo nuorodos TTL turi būti nuo 1 iki 24 valandų", "password-reset-token-ttl": "Slaptažodžio atstatymo nuorodos TTL valandomis", "password-reset-token-ttl-range": "Slaptažodžio atstatymo nuorodos TTL turi būti nuo 1 iki 24 valandų", - "mobile-secret-key-length": "Mobiliojo slaptosios rakto ilgis", - "mobile-secret-key-length-range": "Mobiliojo slaptosios rakto ilgis turi būti teigiamas", + "mobile-secret-key-length": "Mobiliojo slaptojo rakto ilgis", + "mobile-secret-key-length-range": "Mobiliojo slaptojo rakto ilgis turi būti teigiamas", "domain-name": "Domeno pavadinimas", "domain-name-unique": "Domeno pavadinimas ir protokolas turi būti unikalūs.", "domain-name-max-length": "Domeno pavadinimas turi būti trumpesnis nei 256 simboliai", - "error-verification-url": "Domeno pavadinime neturi būti simbolių '/' ir ':'. Pavyzdys: thingsboard.io", + "error-verification-url": "Domeno pavadinime negali būti simbolių „/“ ir „:“. Pavyzdys: thingsboard.io", "connection-settings": "Ryšio nustatymai", "oauth2": { - "access-token-uri": "Prieigos rakto URI", - "access-token-uri-required": "Prieigos rakto URI yra privalomas.", + "access-token-uri": "Prieigos žetono URI", + "access-token-uri-required": "Prieigos žetono URI yra privalomas.", "activate-user": "Aktyvuoti naudotoją", "add-domain": "Pridėti domeną", "delete-domain": "Ištrinti domeną", @@ -261,140 +366,140 @@ "client": "OAuth 2.0 klientas", "clients": "OAuth 2.0 klientai", "no-oauth2-clients": "OAuth 2.0 klientų nerasta", - "search-oauth2-clients": "Ieškoti OAuth 2.0 klientų", - "delete-client-title": "Ar tikrai norite ištrinti OAuth 2.0 klientą '{{clientName}}'?", + "search-oauth2-clients": "Ieškokite OAuth 2.0 klientų", + "delete-client-title": "Ar tikrai norite ištrinti OAuth 2.0 klientą „{{clientName}}“?", "delete-client-text": "Būkite atsargūs, po patvirtinimo klientas ir visi susiję duomenys bus negrįžtamai pašalinti.", - "delete-mobile-app-title": "Ar tikrai norite ištrinti mobiliojoje programėlėje '{{applicationName}}'?", + "delete-mobile-app-title": "Ar tikrai norite ištrinti mobiliąją programėlę „{{applicationName}}“?", "delete-mobile-app-text": "Būkite atsargūs, po patvirtinimo mobilioji programėlė ir visi susiję duomenys bus negrįžtamai pašalinti.", - "title": "Pavadinimas.", - "client-title-required": "Pavadinimas yra privalomas.", - "client-title-max-length": "Pavadinimas turi būti mažiau nei 100", + "title": "Pavadinimas", + "client-title-required": "Pavadinimas yra privalomas", + "client-title-max-length": "Pavadinimas turi būti trumpesnis nei 100 simbolių", "advanced-settings": "Išplėstiniai nustatymai", "domain-details": "Domeno informacija", - "no-domains": "Domenų nerasta.", - "search-domains": "Ieškoti domenų.", + "no-domains": "Domenų nerasta", + "search-domains": "Ieškokite domenų", "mobile-app-details": "Mobiliosios programėlės informacija", "add-mobile-app": "Pridėti mobiliąją programėlę", - "no-mobile-apps": "No applications configured", - "search-mobile-apps": "Ieškoti mobiliųjų programėlių.", - "send-token": "Siųsti prieigos raktą.", + "no-mobile-apps": "Mobiliųjų programėlių nerasta", + "search-mobile-apps": "Ieškokite mobiliųjų programėlių", + "send-token": "Siųsti žetoną", "create-new": "Sukurti naują", "client-authentication-method": "Kliento autentifikavimo metodas", "client-id": "Kliento ID", "client-id-required": "Kliento ID yra privalomas.", "client-id-max-length": "Kliento ID turi būti trumpesnis nei 256 simboliai", - "client-secret": "Kliento slaptas raktas", - "client-secret-required": "Kliento slaptas raktas yra privalomas.", - "client-secret-max-length": "Kliento slaptis turi būti trumpesnė nei 2049 simboliai", - "custom-setting": "Pasirinktiniai nustatymai.", - "customer-name-pattern": "Kliento vardo šablonas.", - "customer-name-pattern-max-length": "Kliento vardo šablonas turi būti trumpesnis nei 256 simboliai.", - "parent-customer-name-pattern": "Parent customer name pattern", - "user-groups-name-pattern": "User groups name pattern", - "default-dashboard-name": "Numatytas prietaisų skydelio pavadinimas", - "default-dashboard-name-max-length": "Numatytojo prietaisų skydelio pavadinimas turi būti trumpesnis nei 256 simboliai", + "client-secret": "Kliento slaptasis raktas", + "client-secret-required": "Kliento slaptasis raktas yra privalomas.", + "client-secret-max-length": "Kliento slaptasis raktas turi būti trumpesnis nei 2049 simboliai", + "custom-setting": "Pasirinktiniai nustatymai", + "customer-name-pattern": "Kliento pavadinimo šablonas", + "customer-name-pattern-max-length": "Kliento pavadinimo šablonas turi būti trumpesnis nei 256 simboliai", + "parent-customer-name-pattern": "Pirminio kliento pavadinimo šablonas", + "user-groups-name-pattern": "Naudotojų grupių pavadinimo šablonas", + "default-dashboard-name": "Numatytojo skydelio pavadinimas", + "default-dashboard-name-max-length": "Numatytojo skydelio pavadinimas turi būti trumpesnis nei 256 simboliai", "delete-domain-text": "Būkite atsargūs — po patvirtinimo domenas ir visi tiekėjo duomenys taps nepasiekiami.", "delete-domain-title": "Ar tikrai norite ištrinti domeną „{{domainName}}“?", "delete-registration-text": "Būkite atsargūs, po patvirtinimo tiekėjo duomenys taps nepasiekiami.", "delete-registration-title": "Ar tikrai norite ištrinti tiekėją „{{name}}“?", - "email-attribute-key": "Email attribute key", - "email-attribute-key-required": "Email attribute key is required.", - "email-attribute-key-max-length": "Email attribute key should be less than 32", - "first-name-attribute-key": "First name attribute key", - "first-name-attribute-key-max-length": "First name attribute key should be less than 32", - "general": "General", + "email-attribute-key": "El. pašto atributo raktas", + "email-attribute-key-required": "El. pašto atributo raktas yra privalomas.", + "email-attribute-key-max-length": "El. pašto atributo raktas turi būti trumpesnis nei 32 simboliai", + "first-name-attribute-key": "Vardo atributo raktas", + "first-name-attribute-key-max-length": "Vardo atributo raktas turi būti trumpesnis nei 32 simboliai", + "general": "Bendra", "jwk-set-uri": "JSON Web Key URI", - "last-name-attribute-key": "Last name attribute key", - "last-name-attribute-key-max-length": "Last name attribute key should be less than 32", - "login-button-icon": "Login button icon", - "login-button-label": "Provider label", - "login-button-label-placeholder": "Login with $(Provider label)", - "login-button-label-required": "Label is required.", - "login-provider": "Login provider", - "mapper": "Mapper", - "new-domain": "New domain", - "oauth2": "OAuth2", - "password-max-length": "Password should be less than 256", - "redirect-uri-template": "Redirect URI template", - "copy-redirect-uri": "Nukopijuoti nukreipimo URI.", - "registration-id": "Registration ID", - "registration-id-required": "Registration ID is required.", - "registration-id-unique": "Registration ID need to unique for the system.", - "scope": "Scope", - "scope-required": "Scope is required.", - "tenant-name-pattern": "Tenant name pattern", - "tenant-name-pattern-required": "Tenant name pattern is required.", - "tenant-name-pattern-max-length": "Tenant name pattern ishould be less than 256", - "tenant-name-strategy": "Tenant name strategy", - "type": "Mapper type", - "uri-pattern-error": "Invalid URI format.", + "last-name-attribute-key": "Pavardės atributo raktas", + "last-name-attribute-key-max-length": "Pavardės atributo raktas turi būti trumpesnis nei 32 simboliai", + "login-button-icon": "Prisijungimo mygtuko piktograma", + "login-button-label": "Tiekėjo etiketė", + "login-button-label-placeholder": "Prisijungti su $(Tiekėjo etiketė)", + "login-button-label-required": "Etiketė yra privaloma.", + "login-provider": "Prisijungimo tiekėjas", + "mapper": "Atvaizdavimas", + "new-domain": "Naujas domenas", + "oauth2": "OAuth 2.0", + "password-max-length": "Slaptažodis turi būti trumpesnis nei 256 simboliai", + "redirect-uri-template": "Nukreipimo URI šablonas", + "copy-redirect-uri": "Kopijuoti nukreipimo URI", + "registration-id": "Registracijos ID", + "registration-id-required": "Registracijos ID yra privalomas.", + "registration-id-unique": "Registracijos ID turi būti unikalus sistemoje.", + "scope": "Taikymo sritis", + "scope-required": "Taikymo sritis yra privaloma.", + "tenant-name-pattern": "Nuomininko pavadinimo šablonas", + "tenant-name-pattern-required": "Nuomininko pavadinimo šablonas yra privalomas.", + "tenant-name-pattern-max-length": "Nuomininko pavadinimo šablonas turi būti trumpesnis nei 256 simboliai", + "tenant-name-strategy": "Nuomininko pavadinimo strategija", + "type": "Atvaizdavimo tipas", + "uri-pattern-error": "Neteisingas URI formatas.", "url": "URL", - "url-pattern": "Invalid URL format.", - "url-required": "URL is required.", - "url-max-length": "URL should be less than 256", - "user-info-uri": "User info URI", - "user-info-uri-required": "User info URI is required.", - "username-max-length": "User name should be less than 256", - "user-name-attribute-name": "User name attribute key", - "user-name-attribute-name-required": "User name attribute key is required", - "protocol": "Protocol", + "url-pattern": "Neteisingas URL formatas.", + "url-required": "URL yra privalomas.", + "url-max-length": "URL turi būti trumpesnis nei 256 simboliai", + "user-info-uri": "Naudotojo informacijos URI", + "user-info-uri-required": "Naudotojo informacijos URI yra privalomas.", + "username-max-length": "Naudotojo vardas turi būti trumpesnis nei 256 simboliai", + "user-name-attribute-name": "Naudotojo vardo atributo raktas", + "user-name-attribute-name-required": "Naudotojo vardo atributo raktas yra privalomas", + "protocol": "Protokolas", "domain-schema-http": "HTTP", "domain-schema-https": "HTTPS", "domain-schema-mixed": "HTTP+HTTPS", - "enable": "Enable OAuth2 settings", + "enable": "Įjungti OAuth 2.0 nustatymus", "disable": "Išjungti OAuth 2.0 nustatymus", - "edge": "Propaguoti į Edge", - "edge-enable": "Įjungti propagavimą į „Edge“", - "edge-disable": "Išjungti propagavimą į „Edge“", - "domains": "Domains", - "mobile-apps": "Mobile applications", - "mobile-package": "Application package", - "mobile-package-placeholder": "Ex.: my.example.app", - "mobile-package-hint": "For Android: your own unique Application ID. For iOS: Product bundle identifier.", - "mobile-package-unique": "Application package must be unique.", - "mobile-package-required": "Programėlės paketo pavadinimas yra privalomas.", - "mobile-package-max-length": "Programėlės paketo pavadinimas turi būti trumpesnis nei 256 simboliai.", - "mobile-package-spaces": "Programėlės paketo pavadinimas negali turėti tarpų.", - "mobile-app-secret": "Application secret", - "mobile-app-secret-hint": "Base64 koduota eilutė, vaizduojanti bent 512 bitų duomenų.", + "edge": "Perduoti Edge egzemplioriams", + "edge-enable": "Įjungti perdavimą Edge egzemplioriams", + "edge-disable": "Išjungti perdavimą Edge egzemplioriams", + "domains": "Domenai", + "mobile-apps": "Mobiliosios programėlės", + "mobile-package": "Programėlės paketas", + "mobile-package-placeholder": "Pvz.: my.example.app", + "mobile-package-hint": "Android: jūsų unikalus programėlės ID. iOS: produkto paketo identifikatorius.", + "mobile-package-unique": "Programėlės paketas turi būti unikalus.", + "mobile-package-required": "Programėlės paketas yra privalomas.", + "mobile-package-max-length": "Programėlės paketas turi būti trumpesnis nei 256 simboliai", + "mobile-package-spaces": "Programėlės paketas negali turėti tarpų", + "mobile-app-secret": "Programėlės slaptasis raktas", + "mobile-app-secret-hint": "Base64 koduota eilutė, atitinkanti bent 512 bitų duomenų.", "mobile-app-secret-required": "Programėlės slaptasis raktas yra privalomas.", "mobile-app-secret-min-length": "Programėlės slaptasis raktas turi būti bent 512 bitų duomenų.", - "mobile-app-secret-base64": "Programos paslaptis turi būti „base64“ formato.", - "invalid-mobile-app-secret": "Application secret must contain only alphanumeric characters and must be between 16 and 2048 characters long.", - "copy-mobile-app-secret": "Nukopijuoti programos slaptą raktą", - "delete-mobile-app": "Ištrinti programos informaciją", - "providers": "Providers", + "mobile-app-secret-base64": "Programėlės slaptasis raktas turi būti „base64“ formato.", + "invalid-mobile-app-secret": "Programėlės slaptasis raktas turi būti sudarytas tik iš raidžių ir skaitmenų ir būti nuo 16 iki 2048 simbolių ilgio.", + "copy-mobile-app-secret": "Kopijuoti programėlės slaptąjį raktą", + "delete-mobile-app": "Ištrinti programėlės informaciją", + "providers": "Tiekėjai", "platform-web": "Web", "platform-android": "Android", "platform-ios": "iOS", "all-platforms": "Visos platformos", - "smtp-provider": "SMTP provider", - "allowed-platforms": "Leistinos platforms", - "authentication": "Autentifikacija", - "basic": "Bazinis", - "provider": "Provider", - "redirect-url": "Redirect URI", + "smtp-provider": "SMTP tiekėjas", + "allowed-platforms": "Leidžiamos platformos", + "authentication": "Autentifikavimas", + "basic": "Paprastas", + "provider": "Tiekėjas", + "redirect-url": "Nukreipimo URI", "domain-name": "Domeno pavadinimas", "domain-name-required": "Domeno pavadinimas yra privalomas", - "redirect-url-template": "Redirect URI template", - "microsoft-tenant-id": "Directory (tenant) Id", - "microsoft-tenant-id-required": "Directory (tenant) Id is required", - "token-uri": "Token URI", - "token-uri-required": "Token URI is required", - "redirect-uri": "Redirect URI", + "redirect-url-template": "Nukreipimo URI šablonas", + "microsoft-tenant-id": "Katalogo (nuomininko) ID", + "microsoft-tenant-id-required": "Katalogo (nuomininko) ID yra privalomas", + "token-uri": "Žetono URI", + "token-uri-required": "Žetono URI yra privalomas", + "redirect-uri": "Nukreipimo URI", "google-provider": "Google", "microsoft-provider": "Office 365", "sendgrid-provider": "Sendgrid", "custom-provider": "Pasirinktinis", - "generate-access-token": "Generate access token", - "update-access-token": "Update access token", - "access-token-status": "Prieigos rakto būsena:", - "token-status-generated": "generated", - "token-status-not-generated": "not generated", + "generate-access-token": "Generuoti prieigos žetoną", + "update-access-token": "Atnaujinti prieigos žetoną", + "access-token-status": "Prieigos žetono būsena:", + "token-status-generated": "sugeneruotas", + "token-status-not-generated": "nesugeneruotas", "domain": "Domenas", "no-domain-matching": "Nebuvo rasta jokių domenų, atitinkančių „{{entity}}“.", "domain-required": "Domenas yra privalomas", - "no-domain-text": "Domenas nerastas." + "no-domain-text": "Domenų nerasta" }, "smpp-provider": { "smpp-version": "SMPP versija", @@ -422,7 +527,7 @@ "coding-scheme": "Koduotės schema", "bind-type-tx": "Siuntėjas", "bind-type-rx": "Gavėjas", - "bind-type-trx": "Siuntėjas/Gavėjas (Transceiver)", + "bind-type-trx": "Siuntėjas / gavėjas", "ton-unknown": "Nežinomas", "ton-international": "Tarptautinis", "ton-national": "Nacionalinis", @@ -434,7 +539,7 @@ "npi-isdn": "1 - ISDN/telefono numeracijos planas (E163/E164)", "npi-data-numbering-plan": "3 - Duomenų numeracijos planas (X.121)", "npi-telex-numbering-plan": "4 - Telex numeracijos planas (F.69)", - "npi-land-mobile": "6 - Mobilusis (E.212)", + "npi-land-mobile": "6 - Antžeminis mobilusis (E.212)", "npi-national-numbering-plan": "8 - Nacionalinis numeracijos planas", "npi-private-numbering-plan": "9 - Privatus numeracijos planas", "npi-ermes-numbering-plan": "10 - ERMES numeracijos planas (ETSI DE/PS 3 01-3)", @@ -443,7 +548,7 @@ "scheme-smsc": "0 - SMSC numatytoji abėcėlė (ASCII trumpiems ir ilgiems kodams bei GSM be mokesčio numeriams)", "scheme-ia5": "1 - IA5 (ASCII trumpiems ir ilgiems kodams, Latin 9 be mokesčio numeriams (ISO-8859-9))", "scheme-octet-unspecified-2": "2 - Neapibrėžtas aštuonetas (8 bitų dvejetainis)", - "scheme-latin-1": "3 - Lotynų 1 (ISO-8859-1)", + "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", "scheme-octet-unspecified-4": "4 - Neapibrėžtas aštuonetas (8 bitų dvejetainis)", "scheme-jis": "5 - JIS (X 0208-1990)", "scheme-cyrillic": "6 - Kirilica (ISO-8859-5)", @@ -458,7 +563,7 @@ "queue-name": "Pavadinimas", "queue-name-required": "Eilės pavadinimas yra privalomas!", "queues": "Eilės", - "queue-partitions": "Skirsniai", + "queue-partitions": "Skaidiniai", "queue-submit-strategy": "Pateikimo strategija", "queue-processing-strategy": "Apdorojimo strategija", "queue-configuration": "Eilės konfigūracija", @@ -468,16 +573,16 @@ "repository-url-required": "Repozitorijos URL yra privalomas.", "default-branch": "Numatytasis šakos pavadinimas", "repository-read-only": "Tik skaitymui", - "show-merge-commits": "Rodyti sujungimo (merge) įrašus", + "show-merge-commits": "Rodyti sujungimo įrašus", "authentication-settings": "Autentifikavimo nustatymai", "auth-method": "Autentifikavimo metodas", - "auth-method-username-password": "Slaptažodis / prieigos raktas", - "auth-method-username-password-hint": "GitHub naudotojai privalo naudoti prieigos raktus su rašymo teisėmis į repozitoriją.", + "auth-method-username-password": "Slaptažodis / prieigos žetonas", + "auth-method-username-password-hint": "GitHub naudotojai privalo naudoti prieigos žetonus su rašymo teisėmis į repozitoriją.", "auth-method-private-key": "Privatus raktas", - "password-access-token": "Slaptažodis / prieigos raktas", - "change-password-access-token": "Pakeisti slaptažodį / prieigos raktą", + "password-access-token": "Slaptažodis / prieigos žetonas", + "change-password-access-token": "Pakeisti slaptažodį / prieigos žetoną", "private-key": "Privatus raktas", - "drop-private-key-file-or": "Vilkite ir numeskite privataus rakto failą arba", + "drop-private-key-file-or": "Nuvilkite privataus rakto failą arba", "passphrase": "Slaptažodžio frazė", "enter-passphrase": "Įveskite slaptažodžio frazę", "change-passphrase": "Pakeisti slaptažodžio frazę", @@ -485,12 +590,12 @@ "check-repository-access-success": "Repozitorijos prieiga sėkmingai patvirtinta!", "delete-repository-settings-title": "Ar tikrai norite ištrinti repozitorijos nustatymus?", "delete-repository-settings-text": "Būkite atsargūs, po patvirtinimo repozitorijos nustatymai bus pašalinti ir versijų valdymo funkcija taps nepasiekiama.", - "auto-commit-settings": "Automatinio įrašo nustatymai", - "auto-commit": "Automatinis įrašas (commit)", - "auto-commit-entities": "Automatinio įrašo objektai", - "no-auto-commit-entities-prompt": "Nėra sukonfigūruotų objektų automatiniam įrašui", - "delete-auto-commit-settings-title": "Ar tikrai norite ištrinti automatinio įrašo nustatymus?", - "delete-auto-commit-settings-text": "Būkite atsargūs, po patvirtinimo automatinio įrašo nustatymai bus pašalinti ir funkcija bus išjungta visiems objektams.", + "auto-commit-settings": "Automatinio įkėlimo nustatymai", + "auto-commit": "Automatinis įkėlimas", + "auto-commit-entities": "Automatinio įkėlimo subjektai", + "no-auto-commit-entities-prompt": "Nėra sukonfigūruotų subjektų automatiniam įkėlimui", + "delete-auto-commit-settings-title": "Ar tikrai norite ištrinti automatinio įkėlimo nustatymus?", + "delete-auto-commit-settings-text": "Būkite atsargūs, po patvirtinimo automatinio įkėlimo nustatymai bus pašalinti ir funkcija bus išjungta visiems subjektams.", "mobile-app": { "mobile-app": "Mobilioji programėlė", "mobile-app-qr-code-widget-settings": "Mobiliosios programėlės QR kodo valdiklio nustatymai", @@ -513,16 +618,17 @@ "preview": "Peržiūra", "connect-mobile-app": "Prijungti mobiliąją programėlę", "use-system-settings": "Naudoti sistemos nustatymus", - "warning-not-set-white-labeling": "Šių nustatymų negalima taikyti nenurodžius pagrindinio URL prisijungimo baltos etiketės (white labeling) skyriuje. Prieš redaguodami QR kodo valdiklio nustatymus, nustatykite ", - "base-url": "Pagrindinis URL" + "warning-not-set-white-labeling": "Šių nustatymų negalima taikyti nenurodžius bazinio URL prisijungimo puslapio tinkinimo skyriuje. Prieš redaguodami QR kodo valdiklio nustatymus, nustatykite ", + "base-url": "Bazinis URL" }, "2fa": { - "2fa": "Dvigubas autentifikavimas", + "2fa": "Dviejų veiksnių autentifikavimas", "available-providers": "Galimi tiekėjai", + "available-providers-required": "Turi būti sukonfigūruotas bent vienas 2FA tiekėjas.", "issuer-name": "Leidėjo pavadinimas", "issuer-name-required": "Leidėjo pavadinimas yra privalomas.", "max-verification-failures-before-user-lockout": "Maksimalus neteisingų patvirtinimų skaičius prieš naudotojo užrakinimą", - "max-verification-failures-before-user-lockout-pattern": "Maksimalus patvirtinimų skaičius turi būti teigiamas sveikasis skaičius.", + "max-verification-failures-before-user-lockout-pattern": "Maksimalus neteisingų patvirtinimų skaičius turi būti teigiamas sveikasis skaičius.", "number-of-checking-attempts": "Tikrinimo bandymų skaičius", "number-of-checking-attempts-pattern": "Tikrinimo bandymų skaičius turi būti teigiamas sveikasis skaičius.", "number-of-checking-attempts-required": "Tikrinimo bandymų skaičius yra privalomas.", @@ -530,33 +636,35 @@ "number-of-codes-pattern": "Kodų skaičius turi būti teigiamas sveikasis skaičius.", "number-of-codes-required": "Kodų skaičius yra privalomas.", "provider": "Tiekėjas", - "retry-verification-code-period": "Pakartotinio patvirtinimo kodo laikotarpis (sek)", + "retry-verification-code-period": "Pakartotinio patvirtinimo kodo laikotarpis", "retry-verification-code-period-pattern": "Minimalus laikotarpis yra 5 sek.", "retry-verification-code-period-required": "Pakartotinio patvirtinimo kodo laikotarpis yra privalomas.", - "total-allowed-time-for-verification": "Bendras leidžiamas patvirtinimo laikas (sek)", + "total-allowed-time-for-verification": "Bendras leidžiamas patvirtinimo laikas", "total-allowed-time-for-verification-pattern": "Minimalus bendras leidžiamas laikas yra 60 sek.", "total-allowed-time-for-verification-required": "Bendras leidžiamas laikas yra privalomas.", "use-system-two-factor-auth-settings": "Naudoti sistemos dviejų veiksnių autentifikavimo nustatymus", "verification-code-check-rate-limit": "Patvirtinimo kodo tikrinimo dažnio limitas", - "verification-code-lifetime": "Patvirtinimo kodo galiojimo laikas (sek)", + "verification-code-lifetime": "Patvirtinimo kodo galiojimo laikas", "verification-code-lifetime-pattern": "Patvirtinimo kodo galiojimo laikas turi būti teigiamas sveikasis skaičius.", "verification-code-lifetime-required": "Patvirtinimo kodo galiojimo laikas yra privalomas.", "verification-message-template": "Patvirtinimo pranešimo šablonas", "verification-limitations": "Patvirtinimo apribojimai", "verification-message-template-pattern": "Patvirtinimo pranešime turi būti šablonas: ${code}", "verification-message-template-required": "Patvirtinimo pranešimo šablonas yra privalomas.", - "within-time": "Per laiką (sek)", + "within-time": "Per laikotarpį", "within-time-pattern": "Laikas turi būti teigiamas sveikasis skaičius.", - "within-time-required": "Laikas yra privalomas." + "within-time-required": "Laikas yra privalomas.", + "force-2fa": "Privalomai taikyti dviejų veiksnių autentifikavimą", + "enforce-for": "Kam taikyti privalomai" }, "jwt": { "security-settings": "JWT saugumo nustatymai", "issuer-name": "Leidėjo pavadinimas", "issuer-name-required": "Leidėjo pavadinimas yra privalomas.", "signings-key": "Pasirašymo raktas", - "signings-key-hint": "Base64 koduota eilutė, atitinkanti bent 256 bitų duomenis.", + "signings-key-hint": "Base64 koduota eilutė, atitinkanti bent 512 bitų duomenų.", "signings-key-required": "Pasirašymo raktas yra privalomas.", - "signings-key-min-length": "Pasirašymo raktas turi būti bent 256 bitų duomenų ilgio.", + "signings-key-min-length": "Pasirašymo raktas turi būti bent 512 bitų duomenų ilgio.", "signings-key-base64": "Pasirašymo raktas turi būti Base64 formatu.", "expiration-time": "Žetono galiojimo laikas (sek)", "expiration-time-required": "Žetono galiojimo laikas yra privalomas.", @@ -574,57 +682,249 @@ "resources": "Ištekliai", "notifications": "Pranešimai", "notifications-settings": "Pranešimų nustatymai", - "slack-api-token": "Slack API prieigos raktas", + "slack-api-token": "Slack API žetonas", "slack": "Slack", "slack-settings": "Slack nustatymai", - "mobile-settings": "Mobiliosios programos nustatymai", - "firebase-service-account-file": "Firebase paslaugos paskyros kredencialų JSON failas", - "select-firebase-service-account-file": "Vilkite ir numeskite savo Firebase paslaugos paskyros kredencialų failą arba ", - "use-system-mobile-settings": "Naudoti sistemos mobiliųjų nustatymus", - "trendz": "PredAna", - "trendz-settings": "PredAna nustatymai", - "trendz-url": "PredAna URL", - "trendz-url-required": "PredAna URL yra privalomas", - "trendz-api-key": "PredAna API raktas", - "trendz-enable": "Įjungti PredAna" + "mobile-settings": "Mobiliosios programėlės nustatymai", + "firebase-service-account-file": "Firebase paslaugos paskyros prisijungimo duomenų JSON failas", + "select-firebase-service-account-file": "Nuvilkite savo Firebase paslaugos paskyros prisijungimo duomenų failą arba ", + "use-system-mobile-settings": "Naudoti sistemos mobiliosios programėlės nustatymus" }, "ai-assistant": { - "configure-with-ai": "Konfigūruoti naudojant AI", - "follow-up-prompt-placeholder": "Atsakyti...", - "sub-title": "Galiu padėti jums nustatyti ir valdyti jūsų įrenginius, skydelius, apskaičiuojamus laukus, aliarmų taisykles ir pranešimus — tiesiog apibūdinkite, ko jums reikia, o likusiu pasirūpinsiu aš.", + "configure-with-ai": "Konfigūruoti naudojant DI", + "follow-up-prompt-placeholder": "Atsakykite...", + "sub-title": "Galiu padėti jums nustatyti ir valdyti jūsų įrenginius, skydelius, apskaičiuotus laukus, įspėjimų taisykles ir pranešimus — tiesiog apibūdinkite, ko jums reikia, o likusiais pasirūpinsiu aš.", "new-chat": "Naujas pokalbis", "no-chats": "Pokalbių dar nėra", "today": "Šiandien", "yesterday": "Vakar", "last-7-days": "Paskutinės 7 dienos", "older": "Senesni", - "delete-chat-title": "Ar tikrai norite pašalinti '{{name}}'?", + "delete-chat-title": "Ar tikrai norite ištrinti „{{name}}“?", "delete-chat-text": "Visi pokalbio pranešimai bus prarasti", - "delete-chat-confirm": "Taip, pašalinti", + "delete-chat-confirm": "Taip, ištrinti", "action-approval-required": "Reikalingas veiksmo patvirtinimas", "approve": "Patvirtinti", + "approve-all": "Patvirtinti visus tolesnius veiksmus", "deny": "Atmesti", "processing": "Apdorojama...", "approved": "Atlikta", "denied": "Atmesta", "error": "Nepavyko", "thinking": "Galvoju...", + "connection-lost": "Ryšys su DI asistentu nutrūko. Jungiamasi iš naujo...", + "reconnect-failed": "Nepavyko iš naujo prisijungti prie DI asistento. Atidarykite pokalbį iš naujo, kad pamatytumėte jo atsakymą.", + "ask-the-assistant": "Paklausti DI asistento", + "send": "Siųsti", + "new-line": "Nauja eilutė", + "focus-composer": "Pereiti į rašymo lauką", + "shortcuts": "Spartieji klavišai", + "add-files": "Pridėti failus", + "add-files-text": "PDF failai, skaičiuoklės, vaizdai arba tekstas.", + "add-files-hint": "Iki {{count}}, kiekvienas iki {{size}}. Arba nuvilkite juos čia.", + "remove-file": "Pašalinti {{name}}", + "attachment-failed": "Įkelti nepavyko", + "attachment-load-failed": "Nepavyko įkelti failo", + "attachment-uploading": "Įkeliama · {{progress}} %", + "attachment-unsupported": "Nepalaikoma: tik PDF, skaičiuoklė, paveikslėlis arba tekstas", + "attachment-larger-than": "Didesnis nei {{size}}", + "attachment-svg-failed": "Šio SVG nepavyksta konvertuoti į paveikslėlį", + "attachment-over-limit": "Failų daugiau nei {{count}}", + "file-kind": { + "image": "Paveikslėlis", + "pdf": "PDF", + "table": "Lentelė", + "document": "Dokumentas", + "slides": "Skaidrės", + "json": "JSON", + "text": "Tekstas", + "file": "Failas" + }, "rename-chat-title": "Pervadinti šį pokalbį", - "main-title": "Sveiki! Aš esu jūsų AI asistentas" + "export-chat": "Eksportuoti pokalbį", + "main-title": "Sveiki! Aš esu jūsų DI asistentas" }, "alarm-rule": { - "ai-assistant-example-suggest-rules-label": "Siūlyti aliarmų taisykles", - "ai-assistant-example-suggest-rules-message": "Peržiūrėk mano įrenginius ir pasiūlyk aliarmų taisykles, kurias verta nustatyti.", - "ai-assistant-example-inactivity-label": "Įrenginio neaktyvumo aliarmas", - "ai-assistant-example-inactivity-message": "Sukurk aliarmo taisyklę, kuri suaktyvina įspėjimą, kai įrenginys nustoja siųsti telemetriją ilgiau nei 10 minučių.", + "ai-assistant-example-suggest-rules-label": "Siūlyti įspėjimų taisykles", + "ai-assistant-example-suggest-rules-message": "Peržiūrėk mano įrenginius ir pasiūlyk įspėjimų taisykles, kurias verta nustatyti.", + "ai-assistant-example-inactivity-label": "Įrenginio neaktyvumo įspėjimas", + "ai-assistant-example-inactivity-message": "Sukurk įspėjimo taisyklę, kuri suaktyvina perspėjimą, kai įrenginys nustoja siųsti telemetriją ilgiau nei 10 minučių.", + "alarm-rules-tab": "Įspėjimų taisyklės", + "alarm-rule": "Įspėjimo taisyklė", + "alarm-rules": "Įspėjimų taisyklės", + "alarm-rules-old": "Senosios", + "alarm-rules-actual": "Esamos", + "severities": "Svarbos lygiai", + "cleared": "Išvalymo sąlyga", + "delete-title": "Ar tikrai norite ištrinti įspėjimo taisyklę „{{title}}“?", + "delete-text": "Būkite atsargūs, po patvirtinimo įspėjimo taisyklė ir visi susiję duomenys bus negrįžtamai prarasti.", + "delete-multiple-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 įspėjimo taisyklę} one {# įspėjimo taisyklę} few {# įspėjimo taisykles} other {# įspėjimo taisyklių} }?", + "delete-multiple-text": "Būkite atsargūs, po patvirtinimo visos pasirinktos įspėjimų taisyklės bus pašalintos, o visi susiję duomenys bus negrįžtamai prarasti.", + "create": "Sukurti naują įspėjimo taisyklę", + "add": "Pridėti įspėjimo taisyklę", + "copy": "Kopijuoti įspėjimo taisyklės konfigūraciją", + "details": "Įspėjimo taisyklės informacija", + "no-found": "Įspėjimų taisyklių nerasta", + "list": "{ count, plural, =1 {Viena įspėjimo taisyklė} one {# įspėjimo taisyklės sąrašas} few {# įspėjimo taisyklių sąrašas} other {# įspėjimo taisyklių sąrašas} }", + "selected-fields": "{ count, plural, =1 {Pasirinkta 1 įspėjimo taisyklė} one {Pasirinkta # įspėjimo taisyklė} few {Pasirinktos # įspėjimo taisyklės} other {Pasirinkta # įspėjimo taisyklių} }", + "import": "Importuoti įspėjimo taisyklę", + "file": "Įspėjimo taisyklės failas", + "export": "Eksportuoti įspėjimo taisyklę", + "export-failed-error": "Nepavyko eksportuoti įspėjimo taisyklės: {{error}}", + "entity-type": "Subjekto tipas", + "entity-type-required": "Subjekto tipas yra privalomas.", + "alarm-type": "Įspėjimo tipas", + "alarm-type-hint": "Unikalus identifikatorius (pvz., HighTempAlarm) įspėjimo siuntėjo (įrenginio, turto ir kt.) taikymo srityje, kad būtų išvengta konfliktų.", + "alarm-type-required": "Įspėjimo tipas yra privalomas.", + "alarm-type-pattern": "Įspėjimo tipas neteisingas.", + "alarm-type-max-length": "Įspėjimo tipas turi būti trumpesnis nei 256 simboliai.", + "clear-alarm": "Išvalyti įspėjimą", + "value-argument": "Argumentas", + "value-argument-required": "Argumentas yra privalomas.", + "static-settings": "Statiniai nustatymai", + "configuration": "Konfigūracija", + "static-schedule": "Statinis", + "dynamic-schedule": "Dinaminis", + "operation-and": "IR", + "operation-or": "ARBA", + "condition-during": "Per {{during}}", + "condition-during-dynamic": "Per „{{ attribute }}“", + "condition-repeat-times": "Kartojasi { count, plural, =1 {1 kartą} one {# kartą} few {# kartus} other {# kartų} }", + "condition-repeat-times-dynamic": "Kartojasi „{{ attribute }}“ kartų", + "filter-preview": "Filtro peržiūra", + "condition-settings": "Sąlygos nustatymai", + "static": "Statinis", + "dynamic": "Dinaminis", + "argument-filters": "Argumentų filtrai", + "argument-name": "Argumento pavadinimas", + "value-type": "Reikšmės tipas", + "general": "Bendra", + "filters": "Filtrai", + "date-time-hint": "Argumentas turi būti nurodytas epochos milisekundėmis. Pavyzdys: 1698839340000 atitinka 2023-11-01 12:49:00 UTC.", + "operation": "Operacija", + "value-source": "Reikšmės šaltinis", + "value": "Reikšmė", + "ignore-case": "Ignoruoti raidžių dydį", + "condition": "Sąlyga", + "script": "Skriptas", + "add-filter": "Pridėti argumento filtrą", + "edit-filter": "Argumento filtras", + "remove-filter": "Pašalinti argumento filtrą", + "no-filter": "Bent vienas filtras yra privalomas.", + "conditions": { + "simple": "Paprasta", + "duration": "Trukmė", + "repeating": "Pasikartojanti" + }, + "schedule-title": "Tvarkaraštis", + "edit-schedule": "Redaguoti įspėjimo tvarkaraštį", + "schedule-type": "Tvarkaraščio tipas", + "schedule-type-required": "Tvarkaraščio tipas yra privalomas.", + "schedule": { + "any-time": "Aktyvi visą laiką", + "specific-time": "Aktyvi tam tikru laiku", + "custom": "Pasirinktinis" + }, + "schedule-day": { + "monday": "Pirmadienis", + "tuesday": "Antradienis", + "wednesday": "Trečiadienis", + "thursday": "Ketvirtadienis", + "friday": "Penktadienis", + "saturday": "Šeštadienis", + "sunday": "Sekmadienis" + }, + "schedule-days": "Dienos", + "schedule-time": "Laikas", + "schedule-time-from": "Nuo", + "schedule-time-to": "Iki", + "schedule-days-of-week-required": "Turi būti pasirinkta bent viena savaitės diena.", + "tbel": "TBEL", + "expression-type": { + "simple": "Paprastas", + "script": "Skriptas" + }, + "operation-type": { + "and": "Ir", + "or": "Arba" + }, + "filter-predicate-type": { + "string": "Eilutė", + "numeric": "Skaitinis", + "boolean": "Loginis", + "complex": "Sudėtinis" + }, + "alarm-rule-additional-info": "Papildoma informacija", + "edit-alarm-rule-additional-info": "Redaguoti papildomą informaciją", + "alarm-rule-additional-info-placeholder": "Čia pateikite savo komentarus ir pataisymus, kad jie būtų rodomi įspėjimo informacijoje, skiltyje „Papildoma informacija“", + "alarm-rule-additional-info-hint": "Patarimas: naudokite ${Argumento pavadinimas}, kad įstatytumėte argumentų, naudojamų įspėjimo taisyklės sąlygoje, reikšmes.", + "alarm-rule-additional-info-icon-hint": "Naudokite argumento pavadinimą, kad įstatytumėte argumentų, naudojamų įspėjimo taisyklės sąlygoje, reikšmes.", + "alarm-rule-mobile-dashboard": "Mobilusis skydelis", + "alarm-rule-mobile-dashboard-hint": "Naudojamas mobiliojoje programėlėje kaip įspėjimo informacijos skydelis.", + "alarm-rule-no-mobile-dashboard": "Skydelis nepasirinktas", + "alarm-rule-condition": "Įspėjimo taisyklės sąlyga", + "enter-alarm-rule-condition-prompt": "Pridėti sąlygą", + "enter-alarm-rule-clear-condition-prompt": "Pridėti išvalymo sąlygą", + "edit-alarm-rule-condition": "Įspėjimo sąlyga", + "condition-type": "Sąlygos tipas", + "condition-type-hint": "Parinktys „Trukmė“ ir „Pasikartojanti“ nepasiekiamos, kai filtre naudojama operacija „trūksta“.", + "select-alarm-severity": "Pasirinkite įspėjimo svarbą", + "add-create-alarm-rule-prompt": "Bent viena suveikimo sąlyga yra privaloma.", + "add-create-alarm-rule": "Pridėti suveikimo sąlygą", + "add-clear-alarm-rule": "Pridėti išvalymo sąlygą", + "condition-duration": "Sąlygos trukmė", + "condition-duration-value": "Trukmės reikšmė", + "condition-duration-time-unit": "Laiko vienetas", + "condition-duration-value-range": "Trukmės reikšmė turi būti nuo 1 iki 2147483647.", + "condition-duration-value-pattern": "Trukmės reikšmė turi būti sveikasis skaičius.", + "condition-duration-value-required": "Trukmės reikšmė yra privaloma.", + "condition-duration-time-unit-required": "Laiko vienetas yra privalomas.", + "condition-repeating-value": "Įvykių skaičius", + "condition-repeating-value-hint": "Bet kurio įspėjimo taisyklės argumento atnaujinimas bus skaičiuojamas kaip įvykis", + "condition-repeating-value-range": "Įvykių skaičius turi būti nuo 1 iki 2147483647.", + "condition-repeating-value-pattern": "Įvykių skaičius turi būti sveikasis skaičius.", + "condition-repeating-value-required": "Įvykių skaičius yra privalomas.", + "create-conditions": "Suveikimo sąlygos", + "clear-condition": "Išvalymo sąlyga", + "no-clear-alarm-rule": "Išvalymo sąlyga nesukonfigūruota.", + "advanced-settings": "Išplėstiniai nustatymai", + "propagate-alarm": "Perduoti įspėjimą susijusiems subjektams", + "alarm-rule-relation-types-list": "Ryšių tipai", + "alarm-rule-relation-types-list-hint": "Nurodo ryšių tipus susijusiems subjektams filtruoti. Jei nenustatyta, įspėjimas bus perduotas visiems susijusiems subjektams.", + "propagate-alarm-to-owner": "Perduoti įspėjimą subjekto savininkui (klientui arba nuomininkui)", + "propagate-alarm-to-owner-hierarchy": "Perduoti įspėjimą subjekto savininkų hierarchijai", + "propagate-alarm-to-tenant": "Perduoti įspėjimą nuomininkui", + "alarm-rule-filter-title": "Įspėjimo taisyklės filtras", + "filter-title": "Filtras", + "debugging": "Įspėjimo taisyklės derinimas", + "any-type": "Bet koks tipas", + "enter-alarm-rule-type": "Įveskite įspėjimo tipą", + "no-alarm-rule-types-matching": "Įspėjimo tipų, atitinkančių „{{entitySubtype}}“, nerasta.", + "alarm-rule-type-list-empty": "Nepasirinkta jokių įspėjimo tipų.", + "alarm-rule-type-list": "Įspėjimo tipų sąrašas", + "alarm-rule-entity-list": "Subjektų sąrašas", + "missing-for": "trūksta", + "time-unit": "Vienetas", + "mode": "Režimas", + "type": "Tipas", + "value-required": "Reikšmė yra privaloma.", + "min-value": "Reikšmė turi būti 1 arba didesnė.", + "argument-in-use": "Argumentas naudojamas kaip bendrasis argumentas.", + "import-invalid-alarm-rule-type": "Nepavyko importuoti įspėjimo taisyklės: netinkama įspėjimo taisyklės struktūra.", + "no-filter-preview": "Filtras nenurodytas", + "filter-operation": { + "and": "Ir", + "or": "Arba" + }, "ai-assistant-initial-prompt-placeholder": "Apibūdinkite, ką norite nustatyti..." }, "alarm": { "alarm": "Įspėjimas", + "alarm-list": "Įspėjimų sąrašas", "alarms": "Įspėjimai", "all-alarms": "Visi įspėjimai", "select-alarm": "Pasirinkite įspėjimą", - "no-alarms-matching": "Su '{{entity}}' susijusių įspėjimų nerasta.", + "no-alarms-matching": "Įspėjimų, atitinkančių „{{entity}}“, nerasta.", "alarm-required": "Įspėjimas yra privalomas", "alarm-filter": "Įspėjimų filtras", "filter": "Filtras", @@ -639,92 +939,101 @@ "UNACK": "Nepatvirtinti" }, "display-status": { - "ACTIVE_UNACK": "Aktyvūs nepatvirtinti", - "ACTIVE_ACK": "Aktyvūs pripažinti", - "CLEARED_UNACK": "Atmesti nepatvirtinti", - "CLEARED_ACK": "Atmesti pripažinti" + "ACTIVE_UNACK": "Aktyvus, nepatvirtintas", + "ACTIVE_ACK": "Aktyvus, patvirtintas", + "CLEARED_UNACK": "Išvalytas, nepatvirtintas", + "CLEARED_ACK": "Išvalytas, patvirtintas" }, "no-alarms-prompt": "Įspėjimų nėra", "created-time": "Sukūrimo laikas", "type": "Tipas", - "severity": "Lygis", - "originator": "Iniciatorius", - "originator-type": "Iniciatoriaus tipas", - "details": "Pastabos", - "originator-label": "Iniciatoriaus pavadinimas", + "severity": "Svarba", + "originator": "Siuntėjas", + "originator-type": "Siuntėjo tipas", + "details": "Informacija", + "originator-label": "Siuntėjo etiketė", "assign": "Priskirti", "assignments": "Priskyrimai", "assignee": "Atsakingas", "assignee-id": "Atsakingo asmens ID", "assignee-first-name": "Atsakingo asmens vardas", "assignee-last-name": "Atsakingo asmens pavardė", - "assignee-email": "Atsakingo asmens e-paštas", - "unassigned": "Panaikinti priskyrimą", - "user-deleted": "Vartotojas ištrintas", + "assignee-email": "Atsakingo asmens el. paštas", + "unassigned": "Nepriskirta", + "user-deleted": "Naudotojas ištrintas", "assignee-not-set": "Visi", - "status": "Statusas", - "alarm-details": "Įspėjimo pastabos", + "status": "Būsena", + "alarm-details": "Įspėjimo informacija", "start-time": "Pradžia", "assign-time": "Priskyrimo laikas", "end-time": "Pabaiga", - "ack-time": "Pripažinimo laikas", - "clear-time": "Atmetimo laikas", + "ack-time": "Patvirtinimo laikas", + "clear-time": "Išvalymo laikas", "duration": "Trukmė", - "alarm-severity": "Alarm severity", - "alarm-severity-list": "Įspėjimų lygiai", - "any-severity": "Visi lygiai", - "severity-critical": "Kritinis", - "severity-major": "Svarbus", - "severity-minor": "Antraeilis", - "severity-warning": "Įspėjimas", - "severity-indeterminate": "Nenustatytas", + "alarm-severity": "Įspėjimo svarba", + "alarm-severity-list": "Įspėjimo svarbos sąrašas", + "any-severity": "Bet kokia svarba", + "severity-critical": "Kritinė", + "severity-major": "Didelė", + "severity-minor": "Nedidelė", + "severity-warning": "Perspėjimas", + "severity-indeterminate": "Nenustatyta", "acknowledge": "Patvirtinti", - "clear": "Atmesti", - "delete": "Panaikinti", - "search": "Įspėjimo paieška", - "selected-alarms": "Pasirinkta { count, plural, =1 {1 įspėjimas} other {# įspėjimai} }", - "no-data": "Nėra duomenų", + "clear": "Išvalyti", + "delete": "Ištrinti", + "search": "Įspėjimų paieška", + "selected-alarms": "{ count, plural, =1 {Pasirinktas 1 įspėjimas} one {Pasirinktas # įspėjimas} few {Pasirinkti # įspėjimai} other {Pasirinkta # įspėjimų} }", + "no-data": "Nėra rodomų duomenų", "polling-interval": "Įspėjimų tikrinimo intervalas (sek)", - "polling-interval-required": "Reikalingas įspėjimų tikrinimo intervalas", + "polling-interval-required": "Įspėjimų tikrinimo intervalas yra privalomas.", "min-polling-interval-message": "Mažiausias įspėjimų tikrinimo intervalas yra 1 sekundė.", - "aknowledge-alarms-title": "Pripažinti { count, plural, =1 {1 įspėjimą} other {# įspėjimus} }", - "aknowledge-alarms-text": "Pripažinti { count, plural, =1 {1 įspėjimą} other {# įspėjimus} }?", - "aknowledge-alarm-title": "Pripažinti įspėjimą", - "aknowledge-alarm-text": "Pripažinti įspėjimą?", - "selected-alarms-are-acknowledged": "Pasirinkti įspėjimai pripažinti", - "clear-alarms-title": "Atmesti { count, plural, =1 {1 įspėjimą} other {# įspėjimus} }", - "clear-alarms-text": "Atmesti { count, plural, =1 {1 įspėjimą} other {# įspėjimus} }?", - "clear-alarm-title": "Atmesti įspėjimą", - "clear-alarm-text": "Atmesti įspėjimą?", - "delete-alarms-title": "Panaikinti { count, plural, =1 {1 įspėjimą} other {# įspėjimus} }", - "delete-alarms-text": "Panaikinti { count, plural, =1 {1 įspėjimą} other {# įspėjimus} }?", - "selected-alarms-are-cleared": "Pasirinkti įspėjimai atmesti", - "alarm-status-filter": "Įspėjimų statusai", + "aknowledge-alarms-title": "Patvirtinti { count, plural, =1 {1 įspėjimą} one {# įspėjimą} few {# įspėjimus} other {# įspėjimų} }", + "aknowledge-alarms-text": "Patvirtinti { count, plural, =1 {1 įspėjimą} one {# įspėjimą} few {# įspėjimus} other {# įspėjimų} }?", + "aknowledge-alarm-title": "Patvirtinti įspėjimą", + "aknowledge-alarm-text": "Patvirtinti įspėjimą?", + "selected-alarms-are-acknowledged": "Pasirinkti įspėjimai jau patvirtinti", + "clear-alarms-title": "Išvalyti { count, plural, =1 {1 įspėjimą} one {# įspėjimą} few {# įspėjimus} other {# įspėjimų} }", + "clear-alarms-text": "Išvalyti { count, plural, =1 {1 įspėjimą} one {# įspėjimą} few {# įspėjimus} other {# įspėjimų} }?", + "clear-alarm-title": "Išvalyti įspėjimą", + "clear-alarm-text": "Išvalyti įspėjimą?", + "delete-alarms-title": "Ištrinti { count, plural, =1 {1 įspėjimą} one {# įspėjimą} few {# įspėjimus} other {# įspėjimų} }", + "delete-alarms-text": "Ištrinti { count, plural, =1 {1 įspėjimą} one {# įspėjimą} few {# įspėjimus} other {# įspėjimų} }?", + "selected-alarms-are-cleared": "Pasirinkti įspėjimai jau išvalyti", + "alarm-status-filter": "Įspėjimų būsenos filtras", "alarm-filter-title": "Įspėjimų filtras", "assigned": "Priskirta", "filter-title": "Filtras", - "max-count-load": "Didžiausias rodomų įspėjimų skaičius (0 – neribotas)", - "max-count-load-required": "Reikalingas didžiausias rodomų įspėjimų skaičius (0 – neribotas).", + "max-count-load": "Didžiausias įkeliamų įspėjimų skaičius (0 – neribotas)", + "max-count-load-required": "Didžiausias įkeliamų įspėjimų skaičius yra privalomas.", "max-count-load-error-min": "Mažiausia reikšmė yra 0.", - "fetch-size": "Fetch size", - "fetch-size-required": "Fetch size is required.", - "fetch-size-error-min": "Mažiausia rekšmė yra 10.", + "fetch-size": "Gavimo dydis", + "fetch-size-required": "Gavimo dydis yra privalomas.", + "fetch-size-error-min": "Mažiausia reikšmė yra 10.", "alarm-types": "Įspėjimų tipai", "alarm-type-list": "Įspėjimų tipų sąrašas", - "any-type": "Visi tipai", - "assigned-to-current-user": "Priskirta prisijungusiam vartotojui", + "any-type": "Bet koks tipas", + "assigned-to-current-user": "Priskirta prisijungusiam naudotojui", "assigned-to-me": "Priskirta man", - "search-propagated-alarms": "Ieškoti išplatintų įspėjimų", - "comments": "Įspėjimo pastabos", + "search-propagated-alarms": "Ieškoti perduotų įspėjimų", + "comments": "Įspėjimo komentarai", "show-more": "Rodyti daugiau", "additional-info": "Papildoma informacija", "alarm-type": "Įspėjimo tipas", "enter-alarm-type": "Įveskite įspėjimo tipą", - "no-alarm-types-matching": "Nėra įspėjimų tipų, kurie atitiktų '{{entitySubtype}}'.", - "alarm-type-list-empty": "Nepasirinktas įspėjimų tipas" + "no-alarm-types-matching": "Nėra įspėjimų tipų, kurie atitiktų „{{entitySubtype}}“.", + "alarm-type-list-empty": "Nepasirinktas joks įspėjimo tipas.", + "system-comments": { + "acked-by-user": "Įspėjimą patvirtino naudotojas {{userName}}", + "cleared-by-user": "Įspėjimą išvalė naudotojas {{userName}}", + "assigned-to-user": "Įspėjimą naudotojas {{userName}} priskyrė naudotojui {{assigneeName}}", + "unassigned-to-user": "Įspėjimo priskyrimą atšaukė naudotojas {{userName}}", + "unassigned-from-deleted-user": "Įspėjimo priskyrimas atšauktas, nes naudotojas {{userName}} buvo ištrintas", + "comment-deleted": "Komentarą ištrynė naudotojas {{userName}}", + "severity-changed": "Įspėjimo svarba pakeista: {{oldSeverity}} → {{newSeverity}}" + } }, "alarm-activity": { - "add": "Pridėti komentarą...", + "add": "Parašykite komentarą...", "alarm-comment": "Įspėjimo komentaras", "comments": "Komentarai", "delete-alarm-comment": "Ištrinti komentarą?", @@ -734,7 +1043,7 @@ "activity": "Veikla", "export": "Eksportuoti į CSV", "author": "Sukūrė", - "created-date": "Sukūrimo dara", + "created-date": "Sukūrimo data", "edited-date": "Redagavimo data", "text": "Tekstas", "system": "Sistema" @@ -742,8 +1051,8 @@ "alias": { "add": "Pridėti pseudonimą", "edit": "Redaguoti pseudonimą", - "name": "Pseudonimas", - "name-required": "Pseudonimas yra privalomas", + "name": "Pseudonimo pavadinimas", + "name-required": "Pseudonimo pavadinimas yra privalomas", "duplicate-alias": "Toks pseudonimas sistemoje jau egzistuoja.", "filter-type-single-entity": "Vienas subjektas", "filter-type-entity-group": "Subjektų grupė", @@ -754,43 +1063,43 @@ "filter-type-entity-group-name": "Subjektų grupės pavadinimas", "filter-type-entities-by-group-name": "Subjektai pagal grupės pavadinimą", "filter-type-state-entity": "Subjektas iš skydelio būsenos", - "filter-type-state-entity-originator": "Iniciuojantis subjektas", + "filter-type-state-entity-originator": "Siuntėjo subjektas", "filter-type-state-entity-master-report": "Subjektas iš pagrindinės ataskaitos", "filter-type-state-entity-description": "Subjektas iš skydelio būsenos parametrų", - "filter-type-state-entity-originator-description": "Iniciuojantis subjektas", - "filter-type-state-entity-master-report-description": "Subjektas nustatytas pagal pagrindinę ataskaitą", + "filter-type-state-entity-originator-description": "Siuntėjo subjektas", + "filter-type-state-entity-master-report-description": "Subjektas, nustatytas pagal pagrindinę ataskaitą", "filter-type-state-entity-owner": "Skydelio būsenos subjekto savininkas", - "filter-type-state-entity-owner-originator": "Iniciuojančio subjekto savininkas", - "filter-type-state-entity-owner-master-report": "Subjekto, iš pagrindinės ataskaitos, savininkas", + "filter-type-state-entity-owner-originator": "Siuntėjo subjekto savininkas", + "filter-type-state-entity-owner-master-report": "Pagrindinės ataskaitos subjekto savininkas", "filter-type-state-entity-owner-description": "Subjekto savininkas iš skydelio būsenos parametrų", - "filter-type-state-entity-owner-originator-description": "Iniciuojančio subjekto savininkas", + "filter-type-state-entity-owner-originator-description": "Siuntėjo subjekto savininkas", "filter-type-state-entity-owner-master-report-description": "Subjekto savininkas pagal pagrindinę ataskaitą", "filter-type-asset-type": "Turto tipas", - "filter-type-asset-type-description": "Turtas, kurio tipas '{{assetTypes}}'", - "filter-type-asset-type-and-name-description": "Turtas, kurio tipas '{{assetTypes}}' ir pavadinimas prasideda '{{prefix}}'", + "filter-type-asset-type-description": "Turtas, kurio tipas „{{assetTypes}}“", + "filter-type-asset-type-and-name-description": "Turtas, kurio tipas „{{assetTypes}}“ ir pavadinimas prasideda „{{prefix}}“", "filter-type-device-type": "Įrenginio tipas", - "filter-type-device-type-description": "Įrenginiai, kurių tipas '{{deviceTypes}}'", - "filter-type-device-type-and-name-description": "Įrenginiai, kurių tipas '{{deviceTypes}}' ir kurių pavadinimas prasideda '{{prefix}}'", - "filter-type-entity-view-type": "Subjekto rodinio tipas", - "filter-type-entity-view-type-description": "Subjektų rodiniai, kurių tipas '{{entityViewTypes}}'", - "filter-type-entity-view-type-and-name-description": "Subjektų rodiniai, kurių tipas '{{entityViewTypes}}' ir kurių pavadinimas prasideda '{{prefix}}'", - "filter-type-edge-type": "Krašto (Edge) tipas", - "filter-type-edge-type-description": "Kraštai (Edges), kurių tipas '{{edgeTypes}}'", - "filter-type-edge-type-and-name-description": "Kraštai, kurių tipas '{{edgeTypes}}' ir pavadinimas prasideda '{{prefix}}'", + "filter-type-device-type-description": "Įrenginiai, kurių tipas „{{deviceTypes}}“", + "filter-type-device-type-and-name-description": "Įrenginiai, kurių tipas „{{deviceTypes}}“ ir kurių pavadinimas prasideda „{{prefix}}“", + "filter-type-entity-view-type": "Subjektų rodinio tipas", + "filter-type-entity-view-type-description": "Subjektų rodiniai, kurių tipas „{{entityViewTypes}}“", + "filter-type-entity-view-type-and-name-description": "Subjektų rodiniai, kurių tipas „{{entityViewTypes}}“ ir kurių pavadinimas prasideda „{{prefix}}“", + "filter-type-edge-type": "Edge tipas", + "filter-type-edge-type-description": "Edge egzemplioriai, kurių tipas „{{edgeTypes}}“", + "filter-type-edge-type-and-name-description": "Edge egzemplioriai, kurių tipas „{{edgeTypes}}“ ir pavadinimas prasideda „{{prefix}}“", "filter-type-relations-query": "Ryšių užklausa", - "filter-type-relations-query-description": "{{entities}} turintys {{relationType}} ryšį {{direction}} {{rootEntity}}", - "filter-type-edge-search-query": "Kraštų (Edge) paieškos užklausa", - "filter-type-edge-search-query-description": "Kraštai, kurių tipai {{edgeTypes}}, turintys {{relationType}} ryšį {{direction}} {{rootEntity}}", - "filter-type-scheduler-event": "Tvarkaraščio įvykiai", - "filter-type-scheduler-event-type-description": "Tvarkaraščio įvykiai, kurių tipas '{{eventType}}'", - "filter-type-scheduler-event-originator-description": "Tam tikro iniciatoriaus tvarkaraščio įvykiai", - "filter-type-scheduler-event-type-originator-description": "Tam tikro iniciatoriaus tvarkaraščio įvykiai su '{{eventType}}'", + "filter-type-relations-query-description": "{{entities}}, turintys {{relationType}} tipo ryšį {{direction}} {{rootEntity}}", + "filter-type-edge-search-query": "Edge egzempliorių paieškos užklausa", + "filter-type-edge-search-query-description": "Edge egzemplioriai, kurių tipai {{edgeTypes}}, turintys {{relationType}} tipo ryšį {{direction}} {{rootEntity}}", + "filter-type-scheduler-event": "Planuoklės įvykiai", + "filter-type-scheduler-event-type-description": "Planuoklės įvykiai, kurių tipas „{{eventType}}“", + "filter-type-scheduler-event-originator-description": "Tam tikro siuntėjo planuoklės įvykiai", + "filter-type-scheduler-event-type-originator-description": "Tam tikro siuntėjo planuoklės įvykiai su „{{eventType}}“", "filter-type-asset-search-query": "Turto paieškos užklausa", "filter-type-asset-search-query-description": "{{assetTypes}} tipo turtas, turintis {{relationType}} tipo ryšį {{direction}} {{rootEntity}}", "filter-type-device-search-query": "Įrenginio paieškos užklausa", "filter-type-device-search-query-description": "{{deviceTypes}} tipo įrenginiai, turintys {{relationType}} tipo ryšį {{direction}} {{rootEntity}}", "filter-type-entity-view-search-query": "Subjektų rodinio paieškos užklausa", - "filter-type-entity-view-search-query-description": "{{entityViewTypes}} tipo subjektai, turintys {{relationType}} tipo ryšį {{direction}} {{rootEntity}}", + "filter-type-entity-view-search-query-description": "{{entityViewTypes}} tipo subjektų rodiniai, turintys {{relationType}} tipo ryšį {{direction}} {{rootEntity}}", "filter-type-apiUsageState": "API naudojimo būsena", "entity-filter": "Subjektų filtras", "resolve-multiple": "Apdoroti kelis subjektus vienu metu", @@ -800,40 +1109,40 @@ "entity-filter-no-entity-matched": "Subjektų, atitinkančių filtro kriterijus, nerasta.", "no-entity-filter-specified": "Subjektų filtras nenustatytas", "root-state-entity": "Naudoti subjektą iš skydelio būsenos kaip pagrindinį", - "root-originator-entity": "Naudoti iniciuojantį subjektą kaip pagrindinį", + "root-originator-entity": "Naudoti siuntėjo subjektą kaip pagrindinį", "root-master-report-entity": "Naudoti subjektą iš pagrindinės ataskaitos kaip pagrindinį", "group-state-entity": "Naudoti skydelio būsenos subjektą kaip subjektų grupę", - "group-originator-entity": "Naudoti iniciuojantį subjektą kaip subjektų grupę", + "group-originator-entity": "Naudoti siuntėjo subjektą kaip subjektų grupę", "group-master-report-entity": "Naudoti subjektą iš pagrindinės ataskaitos kaip subjektų grupę", "group-state-entity-owner": "Naudoti skydelio būsenos subjektą kaip subjektų grupės savininką", - "group-originator-entity-owner": "Naudoti iniciuojantį subjektą kaip subjektų grupės savininką", + "group-originator-entity-owner": "Naudoti siuntėjo subjektą kaip subjektų grupės savininką", "group-master-report-entity-owner": "Naudoti subjektą iš pagrindinės ataskaitos kaip subjektų grupės savininką", "last-level-relation": "Gauti tik paskutinio lygio ryšį", "root-entity": "Pagrindinis subjektas", "state-entity-parameter-name": "Būsenos subjekto parametro pavadinimas", "default-state-entity": "Numatytasis būsenos subjektas", - "default-originator-entity": "Numatytasis iniciuojantis subjektas", + "default-originator-entity": "Numatytasis siuntėjo subjektas", "default-master-report-entity": "Numatytasis subjektas iš pagrindinės ataskaitos", "default-state-entity-group": "Numatytoji būsenos subjektų grupė", - "default-originator-entity-group": "Numatytoji iniciuojančio subjekto grupė", + "default-originator-entity-group": "Numatytoji siuntėjo subjektų grupė", "default-master-report-entity-group": "Numatytoji pagrindinės ataskaitos subjektų grupė", "default-entity-parameter-name": "Numatytasis parametro pavadinimas", "query-options": "Užklausos parinktys", "max-relation-level": "Maksimalus ryšių lygis", "unlimited-level": "Neribotas lygis", "state-entity": "Skydelio būsenos subjektas", - "originator-entity": "Iniciuojantis subjektas", + "originator-entity": "Siuntėjo subjektas", "master-report-entity": "Subjektas iš pagrindinės ataskaitos", "entities-of-group-state-entity": "Subjektai iš skydelio būsenos subjektų grupės", - "entities-of-group-originator-entity": "Subjektai iš iniciuojančio subjekto grupės", + "entities-of-group-originator-entity": "Subjektai iš siuntėjo subjektų grupės", "entities-of-group-master-report-entity": "Subjektai iš pagrindinės ataskaitos subjektų grupės", "all-entities": "Visi subjektai", - "any-relation": "Visi ryšiai", - "originator": "Iniciatorius", - "originator-state-entity": "Naudoti skydelio būsenos subjektą kaip iniciatorių", - "originator-from-originator-entity": "Naudoti iniciuojantį subjektą kaip įvykio iniciatorių", - "originator-master-report-entity": "Naudoti subjektą iš pagrindinės ataskaitos kaip iniciatorių", - "scheduler-event-type": "Tvarkaraščio įvykio tipas" + "any-relation": "bet kokio", + "originator": "Siuntėjas", + "originator-state-entity": "Naudoti skydelio būsenos subjektą kaip siuntėją", + "originator-from-originator-entity": "Naudoti siuntėjo subjektą kaip įvykio siuntėją", + "originator-master-report-entity": "Naudoti subjektą iš pagrindinės ataskaitos kaip siuntėją", + "scheduler-event-type": "Planuoklės įvykio tipas" }, "asset": { "all": "Visi", @@ -856,102 +1165,103 @@ "make-public": "Neriboti turto matomumo", "make-private": "Riboti turto matomumą", "unassign-from-customer": "Atsieti nuo kliento", - "delete": "Pašalinti turtą", + "delete": "Ištrinti turtą", "asset-public": "Turtas yra viešas", "asset-type": "Turto tipas", "asset-type-required": "Turto tipas yra privalomas.", "select-asset-type": "Pasirinkite turto tipą", "enter-asset-type": "Įveskite turto tipą", "any-asset": "Bet koks turtas", - "no-asset-types-matching": "Turto tipas, atitinkantis '{{entitySubtype}}', nerastas.", - "asset-type-list-empty": "Nepasirinkti turto tipai.", + "no-asset-types-matching": "Turto tipas, atitinkantis „{{entitySubtype}}“, nerastas.", + "asset-type-list-empty": "Nepasirinktas joks turto tipas.", "asset-types": "Turto tipai", "name": "Pavadinimas", "name-required": "Pavadinimas yra privalomas.", "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "label-max-length": "Etiketė turi būti trumpesnė nei 256 simboliai", "description": "Aprašymas", + "description-required": "Aprašymas yra privalomas.", "type": "Tipas", "type-required": "Tipas yra privalomas.", - "details": "Pastabos", + "details": "Informacija", "events": "Įvykiai", "add-asset-text": "Pridėti turtą", "asset-details": "Turto informacija", "assign-assets": "Priskirti turtą", - "assign-assets-text": "Priskirti { count, plural, =1 {1 turtą} other {# turtus} } klientui", - "assign-asset-to-edge-title": "Priskirti turtą (-us) Edge įrenginiui", - "assign-asset-to-edge-text": "Pasirinkite turtą (-us), kuriuos norite priskirti Edge įrenginiui", - "delete-assets": "Pašalinti turtą", + "assign-assets-text": "Priskirti { count, plural, =1 {1 turtą} one {# turtą} few {# turtus} other {# turtų} } klientui", + "assign-asset-to-edge-title": "Priskirti turtą (-us) Edge egzemplioriui", + "assign-asset-to-edge-text": "Pasirinkite turtą, kurį norite priskirti Edge egzemplioriui", + "delete-assets": "Ištrinti turtą", "unassign-assets": "Atsieti turtą", - "unassign-assets-action-title": "Atsieti { count, plural, =1 {1 turtą} other {# turtus} } nuo kliento?", + "unassign-assets-action-title": "Atsieti { count, plural, =1 {1 turtą} one {# turtą} few {# turtus} other {# turtų} } nuo kliento", "assign-new-asset": "Priskirti naują turtą", - "delete-asset-title": "Pašalinti turtą '{{assetName}}'?", - "delete-asset-text": "Būkite atsargūs, po patvirtinimo turtas ir visa su juo susijusi informacija bus pašalinta.", - "delete-assets-title": "Pašalinti { count, plural, =1 {1 turtą} other {# turtus} }?", - "delete-assets-action-title": "Pašalinti { count, plural, =1 {1 turtą} other {# turtus} }", - "delete-assets-text": "Būkite atsargūs, po patvirtinimo visas turtas ir su juo susijusi informacija bus pašalinta.", - "make-public-asset-title": "Ar tikrai norite neriboti turto '{{assetName}}' matomumo?", - "make-public-asset-text": "Po patvirtinimo turtas ir visa su juo susijusi informacija bus prieinama visiems.", - "make-private-asset-title": "Ar tikrai norite apriboti turto '{{assetName}}' matomumą?", - "make-private-asset-text": "Po patvirtinimo turtas ir visa su juo susijusi informacija nebebus prieinama kitiems.", - "unassign-asset-title": "Ar tikrai norite atsieti turtą '{{assetName}}'?", + "delete-asset-title": "Ištrinti turtą „{{assetName}}“?", + "delete-asset-text": "Būkite atsargūs, po patvirtinimo turtas bus pašalintas, o visa su juo susijusi informacija bus negrįžtamai prarasta.", + "delete-assets-title": "Ištrinti { count, plural, =1 {1 turtą} one {# turtą} few {# turtus} other {# turtų} }?", + "delete-assets-action-title": "Ištrinti { count, plural, =1 {1 turtą} one {# turtą} few {# turtus} other {# turtų} }", + "delete-assets-text": "Būkite atsargūs, po patvirtinimo visas pasirinktas turtas bus pašalintas, o visa su juo susijusi informacija bus negrįžtamai prarasta.", + "make-public-asset-title": "Ar tikrai norite neriboti turto „{{assetName}}“ matomumo?", + "make-public-asset-text": "Po patvirtinimo turtas ir visi jo duomenys bus vieši ir prieinami kitiems naudotojams.", + "make-private-asset-title": "Ar tikrai norite apriboti turto „{{assetName}}“ matomumą?", + "make-private-asset-text": "Po patvirtinimo turtas ir visi jo duomenys taps privatūs ir nebus prieinami kitiems naudotojams.", + "unassign-asset-title": "Ar tikrai norite atsieti turtą „{{assetName}}“?", "unassign-asset-text": "Po patvirtinimo turtas bus atsietas, o klientas neteks prieigos prie jo.", "unassign-asset": "Atsieti turtą", - "unassign-assets-title": "Ar tikrai norite atsieti { count, plural, =1 {1 turtą} other {# turtus} }?", + "unassign-assets-title": "Ar tikrai norite atsieti { count, plural, =1 {1 turtą} one {# turtą} few {# turtus} other {# turtų} }?", "unassign-assets-text": "Po patvirtinimo visas pasirinktas turtas bus atsietas, o klientas neteks prieigos prie jo.", "copyId": "Kopijuoti turto ID", "idCopiedMessage": "Turto ID nukopijuotas į iškarpinę", "select-asset": "Pasirinkite turtą", - "no-assets-matching": "Turtas, atitinkantis '{{entity}}', nerastas.", - "asset-required": "Turtas yra privalomas", - "name-starts-with": "Turto pavadinimas prasideda nuo", + "no-assets-matching": "Turtas, atitinkantis „{{entity}}“, nerastas.", + "asset-required": "Turtas yra privalomas.", + "name-starts-with": "Turto pavadinimo išraiška", "help-text": "Naudokite simbolį '%' pagal paieškos poreikį: '%turto_fragmentas%', '%turto_pabaiga', 'turto_pradžia%'.", "search": "Turto paieška", "select-group-to-add": "Pasirinkite grupę, į kurią pridėti turtą", "select-group-to-move": "Pasirinkite grupę, į kurią perkelti turtą", - "remove-assets-from-group": "Ar tikrai norite pašalinti { count, plural, =1 {1 turtą} other {# turtus} } iš grupės '{{entityGroup}}'?", + "remove-assets-from-group": "Ar tikrai norite pašalinti { count, plural, =1 {1 turtą} one {# turtą} few {# turtus} other {# turtų} } iš grupės '{{entityGroup}}'?", "group": "Turto grupė", - "list-of-groups": "{ count, plural, =1 {Viena turto grupė} other {# turto grupių} }", - "group-name-starts-with": "Turto grupės, kurių pavadinimas prasideda '{{prefix}}'", + "list-of-groups": "{ count, plural, =1 {Viena turto grupė} one {# turto grupės sąrašas} few {# turto grupių sąrašas} other {# turto grupių sąrašas} }", + "group-name-starts-with": "Turto grupės, kurių pavadinimas prasideda „{{prefix}}“", "import": "Importuoti turtą", "asset-file": "Turto failas", "label": "Etiketė", - "assign-asset-to-edge": "Priskirti turtą (-us) Edge įrenginiui", - "unassign-asset-from-edge": "Atsieti turtą nuo Edge", - "unassign-asset-from-edge-title": "Ar tikrai norite atsieti turtą '{{assetName}}' nuo Edge?", - "unassign-asset-from-edge-text": "Po patvirtinimo turtas bus atsietas ir nebebus pasiekiamas Edge įrenginyje.", - "unassign-assets-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 turtą} other {# turtus} } nuo Edge?", - "unassign-assets-from-edge-text": "Po patvirtinimo visi pasirinkti turtai bus atsieti ir nebebus prieinami Edge įrenginiuose.", - "selected-assets": "Pasirinkta { count, plural, =1 {1 turtas} other {# turtai} }" + "assign-asset-to-edge": "Priskirti turtą (-us) Edge egzemplioriui", + "unassign-asset-from-edge": "Atsieti turtą nuo Edge egzemplioriaus", + "unassign-asset-from-edge-title": "Ar tikrai norite atsieti turtą „{{assetName}}“ nuo Edge egzemplioriaus?", + "unassign-asset-from-edge-text": "Po patvirtinimo turtas bus atsietas ir nebebus pasiekiamas Edge egzemplioriui.", + "unassign-assets-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 turtą} one {# turtą} few {# turtus} other {# turtų} } nuo Edge egzemplioriaus?", + "unassign-assets-from-edge-text": "Po patvirtinimo visi pasirinkti turtai bus atsieti ir nebebus pasiekiami Edge egzemplioriui.", + "selected-assets": "{ count, plural, =1 {Pasirinktas 1 turtas} one {Pasirinktas # turtas} few {Pasirinkti # turtai} other {Pasirinkta # turtų} }" }, "attribute": { "attributes": "Atributai", "latest-telemetry": "Naujausia telemetrija", "no-latest-telemetry": "Telemetrijos duomenų nėra", - "attributes-scope": "Subjekto atributų sritis", + "attributes-scope": "Atributų taikymo sritis", "scope-telemetry": "Telemetrija", "scope-latest-telemetry": "Naujausia telemetrija", "scope-client": "Kliento atributai", "scope-server": "Serverio atributai", "scope-shared": "Bendrinami atributai", - "scope-client-short": "Client", - "scope-server-short": "Server", - "scope-shared-short": "Shared", - "scope-latest-short": "Latest", + "scope-client-short": "Kliento", + "scope-server-short": "Serverio", + "scope-shared-short": "Bendrinamų", + "scope-latest-short": "Naujausia", "scope-any": "Bet kurie", "add": "Pridėti atributą", "add-attribute-prompt": "Pridėkite naują atributą", "key": "Raktas", - "key-max-length": "Raktas negali viršyti 256 simbolių", - "last-update-time": "Paskutinio atnaujinimo laikas", + "key-max-length": "Raktas turi būti trumpesnis nei 256 simboliai", + "last-update-time": "Atnaujinta", "key-required": "Atributo raktas yra privalomas.", "value": "Reikšmė", "value-required": "Atributo reikšmė yra privaloma.", - "telemetry-key-required": "Telemetrijos raktas yra privalomas.", - "telemetry-value-required": "Telemetrijos reikšmė yra privaloma.", - "delete-attributes-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 atributą} other {# atributus} }?", + "telemetry-key-required": "Telemetrijos raktas yra privalomas", + "telemetry-value-required": "Telemetrijos reikšmė yra privaloma", + "delete-attributes-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 atributą} one {# atributą} few {# atributus} other {# atributų} }?", "delete-attributes-text": "Būkite atsargūs — po patvirtinimo pasirinkti atributai bus pašalinti.", - "delete-attributes": "Pašalinti atributus", + "delete-attributes": "Ištrinti atributus", "enter-attribute-value": "Įveskite atributo reikšmę", "show-on-widget": "Rodyti valdiklyje", "widget-mode": "Valdiklio režimas", @@ -959,8 +1269,9 @@ "prev-widget": "Ankstesnis valdiklis", "add-to-dashboard": "Pridėti į skydelį", "add-widget-to-dashboard": "Pridėti valdiklį į skydelį", - "selected-attributes": "Pasirinkta { count, plural, =1 {1 atributas} other {# atributai} }", - "selected-telemetry": "Pasirinkta { count, plural, =1 {1 telemetrijos įrašas} other {# telemetrijos įrašai} }", + "no-widget-grid-in-dashboard": "Visos šio skydelio būsenos yra HTML puslapiai, todėl valdiklio į jį pridėti negalima.", + "selected-attributes": "{ count, plural, =1 {Pasirinktas 1 atributas} one {Pasirinktas # atributas} few {Pasirinkti # atributai} other {Pasirinkta # atributų} }", + "selected-telemetry": "{ count, plural, =1 {Pasirinktas 1 telemetrijos įrašas} one {Pasirinktas # telemetrijos įrašas} few {Pasirinkti # telemetrijos įrašai} other {Pasirinkta # telemetrijos įrašų} }", "no-attributes-text": "Atributų nėra", "no-telemetry-text": "Telemetrijos duomenų nėra", "copy-key": "Kopijuoti raktą", @@ -971,10 +1282,10 @@ "ends-on": "Pabaigos laikas", "strategy": "Strategija", "delete-strategy": "Šalinimo strategija", - "all-data": "Pašalinti visus duomenis", - "all-data-except-latest-value": "Pašalinti visus duomenis, išskyrus naujausią reikšmę", - "latest-value": "Pašalinti naujausią reikšmę", - "all-data-for-time-period": "Pašalinti visus duomenis laikotarpiui", + "all-data": "Ištrinti visus duomenis", + "all-data-except-latest-value": "Ištrinti visus duomenis, išskyrus naujausią reikšmę", + "latest-value": "Ištrinti naujausią reikšmę", + "all-data-for-time-period": "Ištrinti visus duomenis už laikotarpį", "rewrite-latest-value": "Perrašyti naujausią reikšmę" } }, @@ -984,134 +1295,204 @@ "alarm": "Įspėjimas", "alarm-and-report": "Įspėjimas ir ataskaita", "alarms-and-reports-created": "Sukurti įspėjimai ir ataskaitos", - "alarms-and-reports-hourly-activity": "Įspėjimų ir ataskaitų valandinė veikla", + "alarms-and-reports-hourly-activity": "Sukurtų įspėjimų ir ataskaitų aktyvumas per valandą", "alarms-created": "Sukurti įspėjimai", "queue-stats": "Eilės statistika", - "processing-failures-and-timeouts": "Apdorojimo klaidos ir laiko limitai", + "processing-failures-and-timeouts": "Apdorojimo klaidos ir laiko limito viršijimai", "exceptions": "Išimtys", - "alarms-created-daily-activity": "Įspėjimų dienos veikla", - "alarms-created-hourly-activity": "Įspėjimų valandinė veikla", - "alarms-created-monthly-activity": "Įspėjimų mėnesinė veikla", + "alarms-created-daily-activity": "Sukurtų įspėjimų aktyvumas per dieną", + "alarms-created-hourly-activity": "Sukurtų įspėjimų aktyvumas per valandą", + "alarms-created-monthly-activity": "Sukurtų įspėjimų aktyvumas per mėnesį", "data-points": "Duomenų taškai", "data-points-storage-days": "Duomenų taškų saugojimo dienos", + "data-points-storage-days-hourly-activity": "Saugojimo dienų aktyvumas per valandą", + "data-points-storage-days-daily-activity": "Duomenų taškų saugojimo dienų aktyvumas per dieną", + "data-points-storage-days-monthly-activity": "Duomenų taškų saugojimo dienų aktyvumas per mėnesį", "device-api": "Įrenginio API", "email": "El. paštas", "email-messages": "El. laiškai", - "email-messages-daily-activity": "El. laiškų dienos veikla", - "email-messages-monthly-activity": "El. laiškų mėnesinė veikla", + "email-messages-daily-activity": "El. laiškų aktyvumas per dieną", + "email-messages-monthly-activity": "El. laiškų aktyvumas per mėnesį", "executions": "Vykdymai", "scripts": "Skriptai", - "scripts-hourly-activity": "Skriptų valandinė veikla", - "scripts-daily-activity": "Skriptų dienos veikla", - "scripts-monthly-activity": "Skriptų mėnesinė veikla", + "scripts-hourly-activity": "Skriptų aktyvumas per valandą", + "scripts-daily-activity": "Skriptų aktyvumas per dieną", + "scripts-monthly-activity": "Skriptų aktyvumas per mėnesį", "javascript": "JavaScript", "javascript-executions": "JavaScript vykdymai", "tbel": "TBEL", "tbel-executions": "TBEL vykdymai", "latest-error": "Naujausia klaida", - "messages": "Pranešimai", + "messages": "Žinutės", "notifications": "Pranešimai", "notifications-email-sms": "Pranešimai (El. paštas / SMS)", - "notifications-hourly-activity": "Pranešimų valandinė veikla", + "notifications-hourly-activity": "Pranešimų aktyvumas per valandą", "permanent-failures": "${entityName} nuolatinės klaidos", - "permanent-timeouts": "${entityName} nuolatiniai laiko limitai", + "permanent-timeouts": "${entityName} nuolatiniai laiko limito viršijimai", "processing-failures": "${entityName} apdorojimo klaidos", - "processing-timeouts": "${entityName} apdorojimo laiko limitai", - "rule-chain": "Taisyklių grandinė (Rule Chain)", - "rule-engine": "Taisyklių variklis (Rule Engine)", - "rule-engine-daily-activity": "Taisyklių variklio dienos veikla", + "processing-timeouts": "${entityName} apdorojimo laiko limito viršijimai", + "rule-chain": "Taisyklių grandinė", + "rule-engine": "Taisyklių variklis", + "rule-engine-daily-activity": "Taisyklių variklio aktyvumas per dieną", "rule-engine-executions": "Taisyklių variklio vykdymai", - "rule-engine-hourly-activity": "Taisyklių variklio valandinė veikla", - "rule-engine-monthly-activity": "Taisyklių variklio mėnesinė veikla", + "rule-engine-hourly-activity": "Taisyklių variklio aktyvumas per valandą", + "rule-engine-monthly-activity": "Taisyklių variklio aktyvumas per mėnesį", "rule-engine-statistics": "Taisyklių variklio statistika", - "rule-node": "Taisyklių mazgas (Rule Node)", + "rule-node": "Taisyklių mazgas", "sms": "SMS", "sms-messages": "SMS žinutės", - "sms-messages-daily-activity": "SMS žinučių dienos veikla", - "sms-messages-monthly-activity": "SMS žinučių mėnesinė veikla", + "sms-messages-hourly-activity": "SMS žinučių aktyvumas per valandą", + "sms-messages-daily-activity": "SMS žinučių aktyvumas per dieną", + "sms-messages-monthly-activity": "SMS žinučių aktyvumas per mėnesį", "successful": "${entityName} sėkmingi vykdymai", "telemetry": "Telemetrija", "telemetry-persistence": "Telemetrijos įrašymas", - "telemetry-persistence-daily-activity": "Telemetrijos įrašymo dienos veikla", - "telemetry-persistence-hourly-activity": "Telemetrijos įrašymo valandinė veikla", - "telemetry-persistence-monthly-activity": "Telemetrijos įrašymo mėnesinė veikla", + "telemetry-persistence-daily-activity": "Telemetrijos įrašymo aktyvumas per dieną", + "telemetry-persistence-hourly-activity": "Telemetrijos įrašymo aktyvumas per valandą", + "telemetry-persistence-monthly-activity": "Telemetrijos įrašymo aktyvumas per mėnesį", "transport": "Transportas", - "transport-daily-activity": "Transporto dienos veikla", + "transport-msg-hourly-activity": "Transporto žinučių aktyvumas per valandą", + "transport-msg-daily-activity": "Transporto žinučių aktyvumas per dieną", + "transport-msg-monthly-activity": "Transporto žinučių aktyvumas per mėnesį", + "transport-daily-activity": "Transporto aktyvumas per dieną", "transport-data-points": "Transporto duomenų taškai", - "transport-hourly-activity": "Transporto valandinė veikla", - "transport-messages": "Transporto pranešimai", - "transport-monthly-activity": "Transporto mėnesinė veikla", - "view-details": "Peržiūrėti detales", + "transport-data-points-hourly-activity": "Transporto duomenų taškų aktyvumas per valandą", + "transport-data-points-daily-activity": "Transporto duomenų taškų aktyvumas per dieną", + "transport-data-points-monthly-activity": "Transporto duomenų taškų aktyvumas per mėnesį", + "transport-messages": "Transporto žinutės", + "transport-messages-hourly-activity": "Transporto žinučių aktyvumas per valandą", + "transport-data-point-hourly-activity": "Transporto duomenų taškų aktyvumas per valandą", + "javascript-function-executions": "JavaScript funkcijų vykdymai", + "javascript-function-executions-hourly-activity": "JavaScript funkcijų vykdymų aktyvumas per valandą", + "javascript-function-executions-daily-activity": "JavaScript funkcijų vykdymų aktyvumas per dieną", + "javascript-function-executions-monthly-activity": "JavaScript funkcijų vykdymų aktyvumas per mėnesį", + "tbel-function-executions": "TBEL funkcijų vykdymai", + "tbel-function-executions-hourly-activity": "TBEL funkcijų vykdymų aktyvumas per valandą", + "tbel-function-executions-daily-activity": "TBEL funkcijų vykdymų aktyvumas per dieną", + "tbel-function-executions-monthly-activity": "TBEL funkcijų vykdymų aktyvumas per mėnesį", + "created-reports": "Sukurtos ataskaitos", + "created-reports-hourly-activity": "Sukurtų ataskaitų aktyvumas per valandą", + "created-reports-daily-activity": "Sukurtų ataskaitų aktyvumas per dieną", + "created-reports-monthly-activity": "Sukurtų ataskaitų aktyvumas per mėnesį", + "emails": "El. laiškai", + "emails-hourly-activity": "El. laiškų aktyvumas per valandą", + "emails-daily-activity": "El. laiškų aktyvumas per dieną", + "emails-monthly-activity": "El. laiškų aktyvumas per mėnesį", + "status": { + "enabled": "Įjungta", + "disabled": "Išjungta", + "warning": "Perspėjimas" + }, + "view-details": "Peržiūrėti informaciją", "view-statistics": "Peržiūrėti statistiką", "reports-created": "Sukurtos ataskaitos", - "reports-created-daily-activity": "Ataskaitų dienos veikla", - "reports-created-monthly-activity": "Ataskaitų mėnesinė veikla" + "reports-created-hourly-activity": "Sukurtų ataskaitų aktyvumas per valandą", + "reports-created-daily-activity": "Sukurtų ataskaitų aktyvumas per dieną", + "reports-created-monthly-activity": "Sukurtų ataskaitų aktyvumas per mėnesį", + "ai-credits": "DI kreditai", + "ai-credits-hourly-activity": "DI kreditų aktyvumas per valandą", + "ai-credits-daily-activity": "DI kreditų aktyvumas per dieną", + "ai-credits-monthly-activity": "DI kreditų aktyvumas per mėnesį" }, "api-limit": { "cassandra-write-queries-core": "REST API Cassandra rašymo užklausos", "cassandra-read-queries-core": "REST API ir WS telemetrijos Cassandra skaitymo užklausos", - "cassandra-write-queries-rule-engine": "Taisyklių variklio (Rule Engine) telemetrijos Cassandra rašymo užklausos", - "cassandra-read-queries-rule-engine": "Taisyklių variklio (Rule Engine) telemetrijos Cassandra skaitymo užklausos", + "cassandra-write-queries-rule-engine": "Taisyklių variklio telemetrijos Cassandra rašymo užklausos", + "cassandra-read-queries-rule-engine": "Taisyklių variklio telemetrijos Cassandra skaitymo užklausos", "cassandra-write-queries-monolith": "Monolitinės telemetrijos Cassandra rašymo užklausos", "cassandra-read-queries-monolith": "Monolitinės telemetrijos Cassandra skaitymo užklausos", "entity-version-creation": "Subjekto versijos kūrimas", "entity-version-load": "Subjekto versijos įkėlimas", - "integration-messages": "Integracijos pranešimai", - "integration-messages-per-device": "Integracijos pranešimai pagal įrenginį", + "integration-messages": "Integracijos žinutės", + "integration-messages-per-device": "Integracijos žinutės pagal įrenginį", "notification-requests": "Pranešimų užklausos", "notification-requests-per-rule": "Pranešimų užklausos pagal taisyklę", "reports-generation": "Ataskaitų generavimas", "rest-api-requests": "REST API užklausos", "rest-api-requests-per-customer": "REST API užklausos pagal klientą", - "transport-messages": "Transporto pranešimai", - "transport-messages-per-device": "Transporto pranešimai pagal įrenginį", - "transport-messages-per-gateway": "Transporto pranešimai pagal šliuzą (gateway)", - "transport-messages-per-gateway-device": "Transporto pranešimai pagal šliuzo įrenginį", + "transport-messages": "Transporto žinutės", + "transport-messages-per-device": "Transporto žinutės pagal įrenginį", + "transport-messages-per-gateway": "Transporto žinutės pagal Gateway įrenginį", + "transport-messages-per-gateway-device": "Transporto žinutės pagal prie Gateway įrenginio prijungtą įrenginį", "ws-updates-per-session": "WS atnaujinimai per sesiją", "edge-events": "Edge įvykiai", - "edge-events-per-edge": "Edge įvykiai pagal Edge", - "edge-uplink-messages": "Edge uplink pranešimai", - "edge-uplink-messages-per-edge": "Edge uplink pranešimai pagal Edge" + "edge-events-per-edge": "Edge įvykiai vienam Edge egzemplioriui", + "edge-uplink-messages": "Edge Uplink žinutės", + "edge-uplink-messages-per-edge": "Edge Uplink žinutės vienam Edge egzemplioriui" + }, + "api-key": { + "api-key": "API raktas", + "api-keys": "API raktai", + "delete-api-key-title": "Ar tikrai norite ištrinti API raktą „{{name}}“?", + "delete-api-key-text": "Būkite atsargūs, po patvirtinimo raktas taps neatkuriamas.", + "delete-api-keys-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 API raktą} one {# API raktą} few {# API raktus} other {# API raktų} }?", + "delete-api-keys-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti raktai taps neatkuriami.", + "expiration-date": "Galiojimo pabaigos data", + "date": "data", + "description": "Aprašymas", + "disable": "Išjungti", + "edit-description": "Redaguoti aprašymą", + "enable": "Įjungti API raktą ", + "expiration-time": "Galiojimo pabaigos laikas", + "expiration-time-never": "Niekada", + "expiration-time-custom": "Pasirinktinis", + "generate": "Generuoti", + "generate-title": "Generuoti API raktą", + "generate-text": "Pastaba: API raktas paveldi naudotojo, kuriam jis sukurtas, teises.", + "generated-api-key-title": "API raktas sugeneruotas. Patikrinkime ryšį!", + "generated-api-key-copy": "Būtinai nukopijuokite ir išsaugokite savo API raktą dabar, nes vėliau jo nebegalėsite pamatyti.", + "generated-api-key-command": "Ryšiui patikrinti vadovaukitės toliau pateiktomis instrukcijomis. Turėtumėte gauti esamo naudotojo informaciją:", + "generated-api-key-insecure-url": "Vykdant komandas per nesaugų HTTP ryšį, jūsų API raktas bus siunčiamas nešifruotas, todėl jis gali būti perimtas.", + "list": "{ count, plural, =1 {Vienas API raktas} one {# API rakto sąrašas} few {# API raktų sąrašas} other {# API raktų sąrašas} }", + "manage": "Tvarkyti", + "manage-api-keys": "Tvarkyti API raktus", + "no-found": "API raktų nerasta", + "selected-api-keys": "{ count, plural, one {# API raktas pasirinktas} few {# API raktai pasirinkti} other {# API raktų pasirinkta} }", + "search": "Ieškokite API raktų", + "status": "Būsena", + "status-active": "Aktyvus", + "status-inactive": "Neaktyvus", + "status-expired": "Nebegalioja" }, "audit-log": { "audit": "Auditas", "audit-logs": "Audito žurnalas", "timestamp": "Laiko žyma", - "entity-type": "Subjektas", + "entity-type": "Subjekto tipas", "entity-name": "Pavadinimas", - "user": "Vartotojas", + "user": "Naudotojas", "type": "Veiksmas", - "status": "Statusas", + "status": "Būsena", "details": "Informacija", "type-added": "Pridėta", - "type-deleted": "Pašalinta", + "type-deleted": "Ištrinta", "type-updated": "Atnaujinta", "type-attributes-updated": "Atributai atnaujinti", - "type-attributes-deleted": "Atributai pašalinti", + "type-attributes-deleted": "Atributai ištrinti", "type-rpc-call": "RPC iškvietimas", - "type-credentials-updated": "Įgaliojimai atnaujinti", + "type-credentials-updated": "Prisijungimo duomenys atnaujinti", "type-assigned-to-customer": "Priskirta klientui", "type-unassigned-from-customer": "Atsieta nuo kliento", - "type-assigned-to-edge": "Priskirta Edge įrenginiui", - "type-unassigned-from-edge": "Atsieta nuo Edge įrenginio", + "type-assigned-to-edge": "Priskirta Edge egzemplioriui", + "type-unassigned-from-edge": "Atsieta nuo Edge egzemplioriaus", "type-activated": "Aktyvuota", "type-suspended": "Sustabdyta", - "type-credentials-read": "Įgaliojimų skaitymas", + "type-credentials-read": "Prisijungimo duomenų skaitymas", "type-attributes-read": "Atributų skaitymas", "type-added-to-entity-group": "Įtraukta į grupę", "type-removed-from-entity-group": "Pašalinta iš grupės", "type-relation-add-or-update": "Ryšys pridėtas arba atnaujintas", - "type-relation-delete": "Ryšys panaikintas", - "type-relations-delete": "Visi ryšiai panaikinti", + "type-relation-delete": "Ryšys ištrintas", + "type-relations-delete": "Visi ryšiai ištrinti", "type-alarm-ack": "Įspėjimas patvirtintas", "type-alarm-clear": "Įspėjimas išvalytas", - "type-alarm-delete": "Įspėjimas pašalintas", + "type-alarm-delete": "Įspėjimas ištrintas", "type-alarm-assign": "Įspėjimas priskirtas", "type-alarm-unassign": "Įspėjimas atsietas", "type-added-comment": "Pridėtas komentaras", "type-updated-comment": "Atnaujintas komentaras", - "type-deleted-comment": "Pašalintas komentaras", - "type-rest-api-rule-engine-call": "Rule Engine REST API iškvietimas", + "type-deleted-comment": "Ištrintas komentaras", + "type-rest-api-rule-engine-call": "Taisyklių variklio REST API iškvietimas", "type-made-public": "Padaryta viešu", "type-made-private": "Padaryta privačiu", "type-login": "Prisijungimas", @@ -1125,88 +1506,110 @@ "failure-details": "Nesėkmės informacija", "search": "Žurnalo įrašų paieška", "clear-search": "Išvalyti paiešką", - "type-assigned-from-tenant": "Priskirta iš nuomotojo", - "type-assigned-to-tenant": "Priskirta nuomotojui", - "type-provision-success": "Įrenginys sėkmingai įtrauktas (provisioned)", - "type-provision-failure": "Įrenginio įtraukimas nepavyko", + "type-assigned-from-tenant": "Priskirta iš nuomininko", + "type-assigned-to-tenant": "Priskirta nuomininkui", + "type-provision-success": "Įrenginys paruoštas", + "type-provision-failure": "Įrenginio paruošimas nepavyko", "type-timeseries-updated": "Telemetrija atnaujinta", - "type-timeseries-deleted": "Telemetrija pašalinta", + "type-timeseries-deleted": "Telemetrija ištrinta", "type-owner-changed": "Savininkas pakeistas", - "type-sms-sent": "SMS išsiųsta" + "type-sms-sent": "SMS išsiųsta", + "type-non-production-confirmed": "Patvirtintas naudojimas ne gamybos tikslais", + "any-type": "Bet koks tipas", + "audit-log-filter-title": "Audito žurnalo filtras", + "filter-title": "Filtras", + "filter-types": "Audito žurnalo tipai", + "action": "Veiksmas" }, "debug-settings": { "label": "Derinimo konfigūracija", "on-failure": "Tik klaidos (24/7)", "all-messages": "Visos žinutės ({{time}})", "failures": "Klaidos", - "entity": "objektas", + "entity": "subjektas", "hint": { - "main-limited": "Per {{time}} bus įrašyta ne daugiau kaip {{msg}} derinimo žinučių iš {{entity}}.", + "main-limited": "Didžiausias per {{time}} įrašomų derinimo žinučių ({{entity}}) skaičius: {{msg}}.", "on-failure": "Registruoti tik klaidų žinutes.", "all-messages": "Registruoti visas derinimo žinutes." } }, "calculated-fields": { - "ai-assistant-example-suggest-fields-label": "Siūlyti apskaičiuojamus laukus", - "ai-assistant-example-suggest-fields-message": "Peržiūrėk mano įrenginius ir pasiūlyk apskaičiuojamus laukus, kuriuos verta nustatyti.", + "ai-assistant-example-suggest-fields-label": "Siūlyti apskaičiuotus laukus", + "ai-assistant-example-suggest-fields-message": "Peržiūrėk mano įrenginius ir pasiūlyk apskaičiuotus laukus, kuriuos verta nustatyti.", "ai-assistant-example-aggregate-label": "Agreguoti telemetriją", - "ai-assistant-example-aggregate-message": "Pasirink vieną iš mano įrenginių ir nustatyk apskaičiuojamą lauką, kuris agreguoja kelis jo telemetrijos raktus. Apibūdink, ką sukursi, ir pirmiausia paprašyk mano patvirtinimo.", + "ai-assistant-example-aggregate-message": "Pasirink vieną iš mano įrenginių ir nustatyk apskaičiuotą lauką, kuris agreguoja kelis jo telemetrijos raktus. Apibūdink, ką sukursi, ir pirmiausia paprašyk mano patvirtinimo.", "expression": "Išraiška", "no-found": "Apskaičiuotų laukų nerasta", - "list": "{ count, plural, =1 {Vienas apskaičiuotas laukas} other {# apskaičiuotų laukų sąrašas} }", - "selected-fields": "{ count, plural, =1 {1 apskaičiuotas laukas} other {# apskaičiuoti laukai} } pasirinkta", + "list": "{ count, plural, =1 {Vienas apskaičiuotas laukas} one {# apskaičiuoto lauko sąrašas} few {# apskaičiuotų laukų sąrašas} other {# apskaičiuotų laukų sąrašas} }", + "add": "Pridėti apskaičiuotą lauką", + "selected-fields": "{ count, plural, =1 {Pasirinktas 1 apskaičiuotas laukas} one {Pasirinktas # apskaičiuotas laukas} few {Pasirinkti # apskaičiuoti laukai} other {Pasirinkta # apskaičiuotų laukų} }", "type": { "simple": "Paprastas", - "script": "Skriptas" + "simple-hint": "Paprastas aritmetinis skaičiavimas pagal įvesties argumentus.", + "script": "Skriptas", + "script-hint": "Skaičiavimas pagal apibrėžtus argumentus naudojant TBEL skriptą.", + "geofencing": "Geozonos", + "geofencing-hint": "Subjekto GPS padėties ir perėjimų vertinimas pagal sukonfigūruotas geozonų grupes.", + "propagation": "Perdavimas", + "propagation-hint": "Duomenų perdavimas pirminiams arba antriniams subjektams pagal ryšio kryptį ir tipą.", + "related-entities-aggregation": "Susijusių subjektų agregavimas", + "related-entities-aggregation-hint": "Naujausių duomenų iš susijusių subjektų agregavimas.", + "time-series-data-aggregation": "Laiko eilučių duomenų agregavimas", + "time-series-data-aggregation-hint": "Esamo subjekto istorinių duomenų agregavimas." }, + "preview": "Peržiūra", "arguments": "Argumentai", - "decimals-by-default": "Numatytasis dešimtainių skaičius", + "decimals-by-default": "Numatytasis skaitmenų po kablelio skaičius", "debugging": "Apskaičiuoto lauko derinimas", + "calculated-field-details": "Apskaičiuoto lauko informacija", "argument-name": "Argumento pavadinimas", + "name": "Pavadinimas", "datasource": "Duomenų šaltinis", "add-argument": "Pridėti argumentą", - "test-script-function": "Išbandyti skripto funkciją", - "no-arguments": "Argumentai nesukonfigūruoti", + "test-script-function": "Testuoti skripto funkciją", + "no-arguments": "Reikia bent vieno argumento.", "argument-settings": "Argumento nustatymai", "argument-current": "Dabartinis subjektas", - "argument-current-tenant": "Dabartinis valdytojas", + "argument-current-tenant": "Dabartinis nuomininkas", "argument-device": "Įrenginys", "argument-asset": "Turtas", "argument-customer": "Klientas", - "argument-tenant": "Dabartinis valdytojas", + "argument-tenant": "Dabartinis nuomininkas", "argument-owner": "Dabartinis savininkas", + "argument-relation-query": "Susiję subjektai", "argument-type": "Argumento tipas", - "see-debug-events": "Peržiūrėti derinimo įvykius", "attribute": "Atributas", "copy-argument-name": "Kopijuoti argumento pavadinimą", - "timeseries-key": "Laiko sekos raktas", + "timeseries-key": "Laiko eilučių raktas", "device-name": "Įrenginio pavadinimas", "latest-telemetry": "Naujausia telemetrija", - "rolling": "Laiko sekos kaupimas", - "attribute-scope": "Atributo sritis", + "rolling": "Slenkantis laiko eilučių langas", + "attribute-scope": "Atributo taikymo sritis", "server-attributes": "Serverio atributai", "client-attributes": "Kliento atributai", "shared-attributes": "Bendrinami atributai", "attribute-key": "Atributo raktas", "default-value": "Numatytoji reikšmė", - "limit": "Maksimalių reikšmių skaičius", - "time-window": "Laiko intervalas", + "default-value-required": "Numatytoji reikšmė yra privaloma.", + "limit": "Didžiausias reikšmių skaičius", + "time-window": "Laiko langas", "customer-name": "Kliento pavadinimas", "asset-name": "Turto pavadinimas", - "timeseries": "Laiko seka", + "timeseries": "Laiko eilutės", "output": "Rezultatas", + "output-hint": "Nustato, kaip apdorojamas rezultatas.", "create": "Sukurti naują apskaičiuotą lauką", "file": "Apskaičiuoto lauko failas", - "invalid-file-error": "Netinkamas failo formatas. Įsitikinkite, kad failas yra tinkamas JSON formatas.", + "invalid-file-error": "Netinkamas failo formatas. Įsitikinkite, kad tai tinkamas JSON failas.", "import": "Importuoti apskaičiuotą lauką", "export": "Eksportuoti apskaičiuotą lauką", "export-failed-error": "Nepavyko eksportuoti apskaičiuoto lauko: {{error}}", "output-type": "Rezultato tipas", - "delete-title": "Ar tikrai norite pašalinti apskaičiuotą lauką '{{title}}'?", + "delete-title": "Ar tikrai norite ištrinti apskaičiuotą lauką „{{title}}“?", "delete-text": "Būkite atsargūs — po patvirtinimo apskaičiuotas laukas ir visa susijusi informacija bus negrįžtamai pašalinta.", - "delete-multiple-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 apskaičiuotą lauką} other {# apskaičiuotus laukus} }?", - "delete-multiple-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti apskaičiuoti laukai bus pašalinti kartu su visa susijusia informacija.", - "test-with-this-message": "Išbandyti su šia žinute", + "delete-multiple-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 apskaičiuotą lauką} one {# apskaičiuotą lauką} few {# apskaičiuotus laukus} other {# apskaičiuotų laukų} }?", + "delete-multiple-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti apskaičiuoti laukai ir visa susijusi informacija bus negrįžtamai pašalinti.", + "test-with-this-message": "Testuoti su šia žinute", "use-latest-timestamp": "Naudoti naujausią laiko žymą", "calculated-field-reprocessing": "Apskaičiuoto lauko perskaičiavimas", "cancel-reprocessing": "Atšaukti perskaičiavimą", @@ -1220,25 +1623,229 @@ "reprocessing-in-progress": "Vyksta perskaičiavimas...", "submitting-tasks": "Siunčiamos užduotys...", "task-failed-reprocess": "Užduoties perskaičiuoti nepavyko", - "tasks-failed-reprocess": "{{ error }} iš {{ total }} subjektų nepavyko perskaičiuoti", + "tasks-failed-reprocess": "Nepavyko perskaičiuoti subjektų: {{ error }} iš {{ total }}", + "entity-coordinates": "Subjekto koordinatės", + "latitude-time-series-key": "Platumos laiko eilučių raktas", + "latitude-time-series-key-required": "Platumos laiko eilučių raktas yra privalomas.", + "longitude-time-series-key": "Ilgumos laiko eilučių raktas", + "longitude-time-series-key-required": "Ilgumos laiko eilučių raktas yra privalomas.", + "geofencing-zone-groups": "Geozonų grupės", + "geofencing-zone-groups-settings": "Geozonų grupės nustatymai", + "target-zone": "Tikslinė zona", + "perimeter-key": "Perimetro raktas", + "report-strategy": "Pateikimo strategija", + "no-zone-configured": "Reikia bent vienos zonos.", + "no-zone-configured-required": "Turi būti sukonfigūruota bent viena zonų grupė.", + "add-zone-group": "Pridėti zonų grupę", + "report-transition-event-only": "Tik perėjimo įvykiai", + "report-presence-status-only": "Tik buvimo būsena", + "report-transition-event-and-presence": "Buvimo būsena ir perėjimo įvykiai", + "perimeter-attribute-key": "Perimetro atributo raktas", + "perimeter-attribute-key-required": "Perimetro atributo raktas yra privalomas.", + "perimeter-attribute-key-pattern": "Perimetro atributo raktas netinkamas.", + "entity-zone-relationship": "Kelias nuo subjekto iki zonų", + "direction": "Ryšio kryptis", + "direction-from": "Nuo subjekto iki zonos", + "direction-to": "Nuo zonos iki subjekto", + "relation-type": "Ryšio tipas", + "create-relation-with-matched-zones": "Sukurti šaltinio subjekto ryšius su atitinkančiomis zonomis", + "relation-level": "Ryšio lygis", + "fetch-last-available-level": "Gauti tik paskutinį pasiekiamą lygį", + "zone-group-refresh-interval": "Zonų grupių atnaujinimo intervalas", + "copy-zone-group-name": "Kopijuoti zonų grupės pavadinimą", + "open-details-page": "Atidaryti subjekto informacijos puslapį", + "level": "Lygis", + "direction-level": "Kryptis", + "direction-up": "Aukštyn", + "direction-up-parent": "Aukštyn į pirminį subjektą", + "direction-down": "Žemyn", + "direction-down-child": "Žemyn į antrinį subjektą", + "add-level": "Pridėti lygį", + "delete-level": "Ištrinti lygį", + "no-level": "Lygių nesukonfigūruota", + "levels-required": "Turi būti sukonfigūruotas bent vienas lygis.", + "max-allowed-levels-error": "Ryšio lygis viršija didžiausią leistiną.", + "propagation-path-related-entities": "Perdavimo kelias į susijusius subjektus", + "propagate-type": { + "arguments-only": "Tik argumentai", + "expression-result": "Skaičiavimo rezultatas" + }, + "script": "Skriptas", + "data-propagate": "Perduodami duomenys", + "output-key": "Išvesties raktas", + "copy-output-key": "Kopijuoti išvesties raktą", + "aggregation-path-related-entities": "Agregavimo kelias į susijusius subjektus", + "deduplication-interval": "Dublikatų šalinimo intervalas", + "deduplication-interval-min": "Dublikatų šalinimo intervalas turi būti ne trumpesnis nei {{ sec }} s.", + "deduplication-interval-hint": "Minimalus laikas tarp telemetrijos agregavimų.", + "deduplication-interval-required": "Dublikatų šalinimo intervalas yra privalomas.", + "calculated-field-filter-title": "Apskaičiuotų laukų filtras", + "filter-title": "Filtras", + "calculated-field-types": "Apskaičiuotų laukų tipai", + "events": "Įvykiai", + "any-type": "Bet koks tipas", + "metrics": { + "metrics": "Metrikos", + "metrics-empty": "Turi būti sukonfigūruota bent viena metrika.", + "metric-name": "Metrikos pavadinimas", + "metric-name-required": "Metrikos pavadinimas yra privalomas.", + "metric-name-pattern": "Metrikos pavadinimas netinkamas.", + "metric-name-duplicate": "Metrika tokiu pavadinimu jau yra.", + "metric-name-max-length": "Metrikos pavadinimas turi būti trumpesnis nei 256 simboliai.", + "metric-name-forbidden": "Metrikos pavadinimas yra rezervuotas ir negali būti naudojamas.", + "copy-metric-name": "Kopijuoti metrikos pavadinimą", + "argument-name": "Argumento pavadinimas", + "aggregation": "Agregavimas", + "aggregation-type": { + "avg": "Vidurkis", + "min": "Minimumas", + "max": "Maksimumas", + "sum": "Suma", + "count": "Kiekis", + "count-unique": "Unikalių reikšmių kiekis" + }, + "filtered": "Filtruota", + "value-source": "Reikšmės šaltinis", + "value-source-hint": "Nurodo, kaip gaunama agregavimo reikšmė.", + "value-source-type": { + "key": "Raktas", + "function": "Funkcija" + }, + "no-metrics-configured": "Bent viena metrika yra privaloma.", + "add-metric": "Pridėti metriką", + "max-metrics": "Pasiektas didžiausias metrikų skaičius.", + "metric-settings": "Metrikos nustatymai", + "filter": "Filtras", + "filter-hint": "Leidžia filtruoti subjektus agregavimo metu. Filtro funkcija turi grąžinti loginę reikšmę ir gali naudoti visus sukonfigūruotus argumentus." + }, + "output-strategy": { + "strategy": "Strategija", + "process-right-away": "Apdoroti iš karto", + "process-rule-chains": "Apdoroti taisyklių grandinėmis", + "save-time-series": "Išsaugoti laiko eilutėse", + "save-database": "Išsaugoti duomenų bazėje", + "save-latest-values": "Išsaugoti naujausiose reikšmėse", + "send-web-sockets": "Siųsti į WebSockets", + "save-calculated-fields": "Siųsti į apskaičiuotus laukus", + "update-attribute-only-on-value-change": "Atnaujinti atributą tik pasikeitus reikšmei", + "send-attributes-updated-notification": "Siųsti pranešimą apie atnaujintus atributus", + "ttl": "Pasirinktinis TTL", + "ttl-required": "TTL yra privalomas", + "ttl-min": "Mažiausias leidžiamas TTL yra 0", + "processing-parameters": "Apdorojimo parametrai", + "hint": { + "strategy": "Nustato, ar rezultatas apdorojamas iš karto, ar siunčiamas į taisyklių grandinę papildomam apdorojimui.", + "processing-options": "Apdorojimo parinktys", + "update-attribute-only-on-value-change": "Atnaujina atributą gavus kiekvieną įeinančią žinutę, nepriklausomai nuo to, ar reikšmė pasikeitė. Tai padidina API naudojimą ir sumažina našumą.", + "update-attribute-only-on-value-change-enabled": "Atnaujina atributą tik pasikeitus reikšmei. Jei reikšmė nepasikeitė, laiko žymos neatnaujinamos ir pranešimai nesiunčiami.", + "send-attributes-updated-notification": "Siunčia atributų atnaujinimo įvykį į numatytąją taisyklių grandinę.", + "save-time-series": "Išsaugo laiko eilučių duomenis duomenų bazės lentelėje ts_kv.", + "save-database": "Išsaugo atributų duomenis duomenų bazėje.", + "save-latest-values": "Atnaujina laiko eilučių duomenis duomenų bazės lentelėje ts_kv_latest, jei nauja reikšmė yra naujesnė.", + "send-web-sockets-attribute": "Praneša WebSocket prenumeratoms apie atributų duomenų atnaujinimus.", + "send-web-sockets-time-series": "Praneša WebSocket prenumeratoms apie laiko eilučių duomenų atnaujinimus.", + "save-calculated-fields-attribute": "Praneša apskaičiuotiems laukams apie atributų duomenų atnaujinimus.", + "save-calculated-fields-time-series": "Praneša apskaičiuotiems laukams apie laiko eilučių duomenų atnaujinimus.", + "ttl": "Nustato laiko eilučių duomenų saugojimo laikotarpį. Jei išjungta, naudojamas nuomininko profilio TTL." + } + }, + "aggregate-interval-type": "Agregavimo intervalo tipas", + "aggregate-interval-value": "Agregavimo intervalo reikšmė", + "aggregate-interval-value-required": "Agregavimo intervalo reikšmė yra privaloma.", + "aggregate-interval-value-min": "Agregavimo intervalo reikšmė turi būti ne mažesnė nei { sec, plural, =0 {0 sekundžių} =1 {1 sekundė} one {# sekundė} few {# sekundės} other {# sekundžių} }.", + "aggregate-interval-value-step-multiple-of": "Agregavimo intervalo reikšmė turi būti 1 dienos daliklis arba kartotinis.", + "aggregate-period": { + "hour": "Valanda", + "day": "Diena", + "week": "Savaitė (Pr – Sk)", + "week-sun-sat": "Savaitė (Sk – Št)", + "month": "Mėnuo", + "quarter": "Ketvirtis", + "year": "Metai", + "custom": "Pasirinktinis" + }, + "aggregate-period-hint-offset": "Jūsų agregavimo intervalas bus: {{ interval }}", + "aggregate-period-hint-offset-and-so-on": "Jūsų agregavimo intervalas bus: {{ interval }} ir t. t.", + "entity-aggregation": { + "argument-hint": "Duomenys bus gaunami iš esamo subjekto.", + "argument-title-hint": "Nurodo įvesties argumentus, naudojamus agregavimui.", + "argument-setting-hint": "Naujausia telemetrija yra vienintelis galimas šio apskaičiuoto lauko argumento tipas.", + "aggregation-interval": "Agregavimo intervalas", + "aggregation-interval-hint": "Nurodo, kaip dažnai atliekamas agregavimas. Pavyzdys: kas 1 valandą duomenys agreguojami 00:00, 01:00, 02:00 ir t. t. Agregavimo rezultatai saugomi su laiko žyma, atitinkančia agregavimo intervalo pradžią.", + "apply-offset": "Taikyti poslinkį agregavimo intervalui", + "apply-offset-hint": "Nurodo, kiek paslinkti kiekvieno agregavimo laikotarpio pradžią (pvz., +10 minučių – 00:10, 01:10).", + "offset-value": "Poslinkio reikšmė", + "offset-value-required": "Poslinkio reikšmė yra privaloma.", + "offset-value-min": "Poslinkio reikšmė turi būti teigiamas sveikasis skaičius.", + "offset-value-max": "Poslinkio reikšmė turi būti mažesnė už agregavimo intervalo reikšmę.", + "wait-delay": "Taikyti laukimo laiką vėluojančiai telemetrijai", + "wait-delay-hint": "Nurodo, kiek laiko laukti vėluojančios telemetrijos pasibaigus intervalui. Jei tokia telemetrija gaunama, to intervalo rezultatas bus perskaičiuotas.", + "duration": "Trukmė", + "duration-required": "Trukmė yra privaloma.", + "duration-min": "Trukmė turi būti bent 1 minutė.", + "duration-hint": "Kiek laiko laukti vėluojančių duomenų pasibaigus intervalui.", + "produce-intermediate-result": "Pateikti tarpinį rezultatą", + "produce-intermediate-result-hint": "Apskaičiuoja metrikas einamojo intervalo metu, kad pateiktų tarpinį rezultatą. Atnaujinama ne dažniau kaip kartą per {{ time }}." + }, "hint": { - "arguments-simple-with-rolling": "Paprasto tipo apskaičiuotas laukas neturėtų turėti laiko sekos kaupimo tipo raktų.", + "arguments-simple-with-rolling": "Paprasto tipo apskaičiuotas laukas neturėtų turėti „Slenkantis laiko eilučių langas“ tipo raktų.", + "arguments-propagate-arguments-with-rolling": "Tipas „Slenkantis laiko eilučių langas“ nesuderinamas su perdavimu „Tik argumentai“.", + "arguments-propagate-argument-entity-type": "Subjekto tipas nesuderinamas su perdavimu „Tik argumentai“.", + "arguments-propagate-argument-must-current-entity": "Bent vienas argumentas turi būti sukonfigūruotas su šaltinio subjekto tipu „Dabartinis subjektas“.", "arguments-empty": "Argumentai negali būti tušti.", - "expression-required": "Reikalinga išraiška.", - "expression-invalid": "Išraiška netinkama.", + "expression-required": "Išraiška yra privaloma.", + "expression-invalid": "Išraiška netinkama", "expression-max-length": "Išraiškos ilgis turi būti trumpesnis nei 255 simboliai.", - "argument-name-required": "Argumento pavadinimas yra būtinas.", + "argument-name-required": "Argumento pavadinimas yra privalomas.", "argument-name-pattern": "Argumento pavadinimas netinkamas.", "argument-name-duplicate": "Toks argumento pavadinimas jau egzistuoja.", "argument-name-max-length": "Argumento pavadinimas turi būti trumpesnis nei 256 simboliai.", "argument-name-forbidden": "Argumento pavadinimas yra rezervuotas ir negali būti naudojamas.", - "argument-type-required": "Reikalingas argumento tipas.", + "output-key-required": "Išvesties raktas yra privalomas.", + "output-key-pattern": "Išvesties raktas netinkamas.", + "output-key-duplicate": "Raktas tokiu pavadinimu jau yra.", + "output-key-max-length": "Išvesties raktas turi būti trumpesnis nei 256 simboliai.", + "output-key-forbidden": "Išvesties raktas yra rezervuotas ir negali būti naudojamas.", + "entity-type-required": "Subjekto tipas yra privalomas", + "name-required": "Pavadinimas yra privalomas.", + "name-pattern": "Pavadinimas netinkamas.", + "name-duplicate": "Toks pavadinimas jau yra.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai.", + "name-forbidden": "Pavadinimas yra rezervuotas ir negali būti naudojamas.", + "argument-type-required": "Argumento tipas yra privalomas.", "max-args": "Pasiektas didžiausias leidžiamų argumentų skaičius.", - "decimals-range": "Numatytasis dešimtainių skaičius turi būti tarp 0 ir 15.", - "expression": "Numatytoji išraiška parodo, kaip paversti temperatūrą iš Farenheito į Celsijų.", + "decimals-range": "Numatytasis skaitmenų po kablelio skaičius turi būti nuo 0 iki 15.", + "expression": "Numatytoji išraiška parodo, kaip Farenheito laipsnius konvertuoti į Celsijaus laipsnius.", "arguments-entity-not-found": "Argumento paskirties subjektas nerastas.", "use-latest-timestamp": "Jei įjungta, apskaičiuota reikšmė bus išsaugota naudojant naujausią argumentų telemetrijos laiko žymą, o ne serverio laiką.", - "reprocessing": "Jei nėra iš anksto apibrėžtos laiko žymos, perskaičiavimo rezultatai bus įrašomi naudojant atitinkamos istorijos telemetrijos laiko žymą, kuri inicijavo skaičiavimą." + "reprocessing": "Jei nėra iš anksto apibrėžtos laiko žymos, perskaičiavimo rezultatai bus įrašomi naudojant atitinkamos istorinės telemetrijos laiko žymą, kuri inicijavo skaičiavimą.", + "entity-coordinates": "Nurodykite laiko eilučių raktus, kuriuose pateikiamos subjekto GPS koordinatės (platuma ir ilguma).", + "geofencing-zone-groups": "Apibrėžkite vieną ar daugiau tikrinamų geozonų grupių (pvz., „allowedZones“, „restrictedZones“). Kiekviena grupė turi turėti unikalų pavadinimą, kuris naudojamas kaip apskaičiuoto lauko išvesties telemetrijos raktų priešdėlis.", + "perimeter-attribute-key": "Nustatykite atributo raktą, kuriame yra geozonos perimetro apibrėžtis. Perimetras visada imamas iš zonos subjekto serverio pusės atributų.", + "report-strategy": "Buvimo būsena rodo, ar subjektas šiuo metu yra zonų grupės viduje, ar už jos ribų: INSIDE arba OUTSIDE. Perėjimo įvykiai rodo, kada subjektas įėjo į zonų grupę ar ją paliko: ENTERED arba LEFT.", + "create-relation-with-matched-zones": "Automatiškai kuria ir palaiko ryšius tarp subjekto ir zonų, kuriose jis šiuo metu yra. Ryšiai pašalinami, kai subjektas palieka zoną, ir sukuriami, kai jis patenka į naują.", + "relation-type-required": "Ryšio tipas yra privalomas.", + "relation-level-required": "Ryšio lygis yra privalomas.", + "relation-level-min": "Mažiausia ryšio lygio reikšmė yra 1.", + "relation-level-max": "Didžiausia ryšio lygio reikšmė yra {{max}}.", + "geofencing-empty": "Turi būti sukonfigūruota bent viena zonų grupė.", + "geofencing-entity-not-found": "Geozonų tikslinio subjekto nerasta.", + "max-geofencing-zone": "Pasiektas didžiausias geozonų skaičius.", + "zone-group-refresh-interval": "Nustato, kaip dažnai atnaujinamos per susijusius subjektus sukonfigūruotos zonų grupės.", + "zone-group-refresh-interval-required": "Zonų grupių atnaujinimo intervalas yra privalomas.", + "zone-group-refresh-interval-min": "Zonų grupės atnaujinimo intervalas turi būti ne mažesnis kaip {{ min }} s.", + "propagation-path-related-entities": "Nustato tiesioginį vieno lygio kelią į susijusį subjektą pagal pasirinktą kryptį ir ryšio tipą. Palaikomi tik ryšiai tarp įrenginio, turto, kliento ir nuomininko subjektų. Didžiausias ryšio keliu randamų subjektų skaičius: {{ max }}.", + "data-propagate": "Nustato duomenis, kurie bus perduodami iš toliau sukonfigūruotų argumentų. „Tik argumentai“ naudoja gautus duomenis tiesiogiai, o „Skaičiavimo rezultatas“ iš tų duomenų apskaičiuoja naują reikšmę.", + "aggregation-path-related-entities": "Nustato vieno lygio agregavimo kelią per tiesioginius ryšius su pirminiais arba antriniais subjektais pagal kryptį ir ryšio tipą. Palaikomi tik ryšiai tarp įrenginio, turto, kliento ir nuomininko subjektų. Didžiausias ryšio keliu randamų subjektų skaičius: {{ max }}.", + "arguments-aggregation": "Nustato įvesties argumentus, naudojamus filtravimui ir agregavimui.", + "setting-arguments-aggregation": "Duomenys bus gaunami iš agregavimo kelyje sukonfigūruotų susijusių subjektų.", + "metrics": "Nustato metrikas, agreguojamas pagal sukonfigūruotus argumentus.", + "entity-aggregation-metrics": "Nustato metrikas, agreguojamas pagal sukonfigūruotus argumentus nurodytais laiko intervalais.", + "import-invalid-calculated-field-type": "Nepavyko importuoti apskaičiuoto lauko: netinkama apskaičiuoto lauko struktūra.", + "simple-expression-title": "Aritmetinė išraiška, nustatanti, kaip apskaičiuojama reikšmė.", + "script-title": "TBEL skriptas, nustatantis skaičiavimo logiką ir išvesties reikšmes.", + "simple-arguments": "Aritmetinė išraiška, nustatanti, kaip apskaičiuojama reikšmė.", + "script-arguments": "Nustato skriptui prieinamus įvesties argumentus." }, "ai-assistant-initial-prompt-placeholder": "Apibūdinkite, ką norite nustatyti..." }, @@ -1246,9 +1853,9 @@ "secrets-storage": "Paslapčių saugykla", "no-found": "Paslapčių nerasta", "add": "Pridėti paslaptį", - "search": "Ieškoti paslapčių", - "list": "{ count, plural, =1 {Viena paslaptis} other {# paslapčių sąrašas} }", - "selected-fields": "{ count, plural, =1 {1 paslaptis} other {# paslaptys} } pasirinkta", + "search": "Ieškokite paslapčių", + "list": "{ count, plural, =1 {Viena paslaptis} one {# paslapties sąrašas} few {# paslapčių sąrašas} other {# paslapčių sąrašas} }", + "selected-fields": "{ count, plural, =1 {Pasirinkta 1 paslaptis} one {Pasirinkta # paslaptis} few {Pasirinktos # paslaptys} other {Pasirinkta # paslapčių} }", "type": "Tipas", "name": "Pavadinimas", "name-required": "Pavadinimas yra privalomas.", @@ -1263,17 +1870,17 @@ }, "value": "Reikšmė", "value-required": "Reikšmė yra privaloma.", - "delete": "Pašalinti paslaptį", - "delete-secrets": "Pašalinti paslaptis", - "delete-secret-title": "Ar tikrai norite pašalinti paslaptį '{{secretName}}'?", + "delete": "Ištrinti paslaptį", + "delete-secrets": "Ištrinti paslaptis", + "delete-secret-title": "Ar tikrai norite ištrinti paslaptį „{{secretName}}“?", "delete-secret-text": "Būkite atsargūs — po patvirtinimo paslaptis ir visa su ja susijusi informacija bus negrįžtamai pašalinta.", - "delete-secrets-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 paslaptį} other {# paslaptis} }?", - "delete-secrets-action-title": "Pašalinti { count, plural, =1 {1 paslaptį} other {# paslaptis} }", + "delete-secrets-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 paslaptį} one {# paslaptį} few {# paslaptis} other {# paslapčių} }?", + "delete-secrets-action-title": "Ištrinti { count, plural, =1 {1 paslaptį} one {# paslaptį} few {# paslaptis} other {# paslapčių} }", "delete-secrets-text": "Būkite atsargūs — po patvirtinimo visos pasirinktos paslaptys bus pašalintos ir visa susijusi informacija bus negrįžtamai prarasta.", - "delete-secrets-in-use-text": "Norėdami pašalinti šią paslaptį, pirmiausia pašalinkite jos naudojimą iš aukščiau pateiktų subjektų.", - "secrets-is-in-use-text": "Ši paslaptis šiuo metu naudojama kitų subjektų sistemoje ir negali būti pašalinta, kol nėra nebenaudojama:", - "secrets-are-in-use-text": "Ne visos paslaptys buvo pašalintos, nes jos naudojamos kituose subjektuose.
Galite peržiūrėti susijusius subjektus paspausdami mygtuką Nuorodos atitinkamos paslapties eilutėje.
Norėdami pašalinti šias paslaptis, pirmiausia pašalinkite jų naudojimą iš subjektų, kuriuose jos minimos.", - "selected-secrets": "{ count, plural, =1 {1 paslaptis} other {# paslaptys} } pasirinkta", + "delete-secrets-in-use-text": "Norėdami ištrinti šią paslaptį, pirmiausia pašalinkite jos naudojimą iš aukščiau pateiktų subjektų.", + "secrets-is-in-use-text": "Ši paslaptis šiuo metu naudojama kitų platformos subjektų ir negali būti ištrinta, kol ji naudojama:", + "secrets-are-in-use-text": "Ne visos paslaptys buvo ištrintos, nes jos naudojamos kituose subjektuose.
Galite peržiūrėti susijusius subjektus paspausdami mygtuką Nuorodos atitinkamos paslapties eilutėje.
Norėdami ištrinti šias paslaptis, pirmiausia pašalinkite jų naudojimą iš subjektų, kuriuose jos minimos.", + "selected-secrets": "{ count, plural, =1 {Pasirinkta 1 paslaptis} one {Pasirinkta # paslaptis} few {Pasirinktos # paslaptys} other {Pasirinkta # paslapčių} }", "use-secret-storage": "Naudoti paslapčių saugyklą", "dialog-title": "Pridėti paslaptį", "use-storage": "Naudoti saugyklą", @@ -1288,29 +1895,29 @@ "file-required": "Failo paslaptis yra privaloma." }, "used-secret-title": "Paslaptis naudojama kituose subjektuose", - "no-secrets-matching": "Paslapčių, atitinkančių '{{entity}}', nerasta.", + "no-secrets-matching": "Paslapčių, atitinkančių „{{entity}}“, nerasta.", "no-secrets-found": "Paslapčių nerasta.", "use-secret": "Naudoti paslaptį", "change-value": "Pakeisti reikšmę", "action-use": "Naudoti" }, "ai-models": { - "ai-models": "AI modeliai", - "ai-model": "AI modelis", - "ai-model-view": "Peržiūrėti AI modelį", + "ai-models": "DI modeliai", + "ai-model": "DI modelis", + "ai-model-view": "Peržiūrėti DI modelį", "model": "Modelis", "name": "Pavadinimas", - "ai-provider": "AI tiekėjas", + "ai-provider": "DI tiekėjas", "customer-access": "Klientų prieiga", "customer-access-hint": "Leidžia klientų naudotojams siųsti pokalbių užklausas šiam modeliui, pvz., iš Trendz Analytics. Modelio konfigūracija ir prisijungimo duomenys niekada neatskleidžiami.", - "no-found": "AI modelių nerasta", - "list": "{ count, plural, =1 {Vienas modelis} other {# modelių sąrašas} }", - "selected-fields": "{ count, plural, =1 {1 modelis} other {# modeliai} } pasirinkta", + "no-found": "DI modelių nerasta", + "list": "{ count, plural, =1 {Vienas modelis} one {# modelio sąrašas} few {# modelių sąrašas} other {# modelių sąrašas} }", + "selected-fields": "{ count, plural, =1 {Pasirinktas 1 modelis} one {Pasirinktas # modelis} few {Pasirinkti # modeliai} other {Pasirinkta # modelių} }", "add": "Pridėti modelį", - "delete-model-title": "Ar tikrai norite pašalinti modelį '{{modelName}}'?", + "delete-model-title": "Ar tikrai norite ištrinti modelį „{{modelName}}“?", "delete-model-text": "Būkite atsargūs — po patvirtinimo modelis ir visa su juo susijusi informacija bus negrįžtamai pašalinta.", - "delete-models-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 modelį} other {# modelius} }?", - "delete-models-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti modeliai bus pašalinti kartu su visa susijusia informacija.", + "delete-models-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 modelį} one {# modelį} few {# modelius} other {# modelių} }?", + "delete-models-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti modeliai ir visa susijusi informacija bus negrįžtamai pašalinti.", "ai-providers": { "openai": "OpenAI", "azure-openai": "Azure OpenAI", @@ -1319,59 +1926,79 @@ "mistral-ai": "Mistral AI", "anthropic": "Anthropic", "amazon-bedrock": "Amazon Bedrock", - "github-models": "GitHub Modeliai" + "github-models": "GitHub Models", + "ollama": "Ollama" }, "name-required": "Pavadinimas yra privalomas.", "name-max-length": "Pavadinimas turi būti ne ilgesnis nei 255 simboliai.", "provider": "Tiekėjas", "api-key": "API raktas", "api-key-required": "API raktas yra privalomas.", + "api-key-open-ai-required": "API raktas yra privalomas, kai naudojama oficiali OpenAI API.", "project-id": "Projekto ID", - "project-id-required": "Projekto ID yra privalomas.", + "project-id-required": "Projekto ID yra privalomas", "location": "Vieta", "location-required": "Vieta yra privaloma.", "service-account-key-file": "Paslaugos paskyros rakto failas", "service-account-key-file-required": "Paslaugos paskyros rakto failas yra privalomas.", "no-file": "Failas nepasirinktas.", - "drop-file": "Vilkite failą arba spustelėkite, kad pasirinktumėte įkelti failą.", - "personal-access-token": "Asmeninis prieigos raktas", - "personal-access-token-required": "Asmeninis prieigos raktas yra privalomas.", + "drop-file": "Nuvilkite failą arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", + "personal-access-token": "Asmeninis prieigos žetonas", + "personal-access-token-required": "Asmeninis prieigos žetonas yra privalomas.", "configuration": "Konfigūracija", "model-id": "Modelio ID", "model-id-required": "Modelio ID yra privalomas.", "deployment-name": "Diegimo pavadinimas", - "deployment-name-required": "Diegimo pavadinimas yra privalomas.", + "deployment-name-required": "Diegimo pavadinimas yra privalomas", "set": "Nustatyti", "region": "Regionas", "region-required": "Regionas yra privalomas.", "access-key-id": "Prieigos rakto ID", "access-key-id-required": "Prieigos rakto ID yra privalomas.", - "secret-access-key": "Slaptas prieigos raktas", - "secret-access-key-required": "Slaptas prieigos raktas yra privalomas.", + "secret-access-key": "Slaptasis prieigos raktas", + "secret-access-key-required": "Slaptasis prieigos raktas yra privalomas.", "temperature": "Temperatūra", "temperature-hint": "Nustato modelio atsakymo atsitiktinumo lygį. Didesnės reikšmės didina atsitiktinumą, mažesnės – mažina.", "temperature-min": "Turi būti 0 arba daugiau.", "top-p": "Top P", - "top-p-hint": "Sukuria baseiną tikėtiniausių žetonų, iš kurių modelis gali rinktis. Didesnės reikšmės sukuria didesnį ir įvairesnį baseiną, mažesnės – siauresnį.", + "top-p-hint": "Sudaro tikėtiniausių žetonų rinkinį, iš kurio modelis renkasi. Didesnės reikšmės sudaro didesnį ir įvairesnį rinkinį, mažesnės – mažesnį.", "top-p-min-max": "Turi būti didesnis nei 0 ir neviršyti 1.", "top-k": "Top K", "top-k-hint": "Apriboja modelio pasirinkimus iki fiksuoto „K“ tikėtiniausių žetonų rinkinio.", "top-k-min": "Turi būti 0 arba daugiau.", - "presence-penalty": "Buvo pasirodymo bauda", - "presence-penalty-hint": "Taikoma fiksuota bauda žetonui, jei jis jau buvo panaudotas tekste.", + "presence-penalty": "Pasirodymo bauda", + "presence-penalty-hint": "Taiko fiksuotą baudą žetono tikimybei, jei jis jau pasirodė tekste.", "frequency-penalty": "Dažnio bauda", "frequency-penalty-hint": "Taikoma bauda žetono tikimybei, kuri didėja priklausomai nuo jo pasikartojimo dažnio tekste.", "max-output-tokens": "Maksimalus išvesties žetonų skaičius", "max-output-tokens-hint": "Nustato didžiausią žetonų skaičių, kurį modelis gali sugeneruoti viename atsakyme.", - "endpoint": "Pabaigos taškas (Endpoint)", - "endpoint-required": "Pabaigos taškas yra privalomas.", + "context-length": "Konteksto ilgis", + "context-length-hint": "Nustato konteksto lango dydį žetonais. Ši reikšmė nustato bendrą modelio atminties limitą, įskaitant ir naudotojo įvestį, ir sugeneruotą atsakymą.", + "endpoint": "Galinis taškas", + "endpoint-required": "Galinis taškas yra privalomas.", + "baseurl": "Bazinis URL", + "baseurl-required": "Bazinis URL yra privalomas.", "service-version": "Paslaugos versija", "check-connectivity": "Tikrinti ryšį", - "check-connectivity-success": "Bandomasis užklausimas sėkmingas", - "check-connectivity-failed": "Bandomasis užklausimas nepavyko", - "no-model-matching": "Modelių, atitinkančių '{{entity}}', nerasta.", + "check-connectivity-success": "Bandomoji užklausa sėkminga", + "check-connectivity-failed": "Bandomoji užklausa nepavyko", + "no-model-matching": "Modelių, atitinkančių „{{entity}}“, nerasta.", "model-required": "Modelis yra privalomas.", - "no-model-text": "Modelių nerasta." + "no-model-text": "Modelių nerasta.", + "authentication": "Autentifikavimas", + "authentication-basic-hint": "Naudojamas standartinis HTTP Basic autentifikavimas. Naudotojo vardas ir slaptažodis bus sujungti, užkoduoti Base64 formatu ir išsiųsti antraštėje „Authorization“ su kiekviena užklausa Ollama serveriui.", + "authentication-token-hint": "Naudojamas Bearer žetono autentifikavimas. Pateiktas žetonas bus siunčiamas tiesiogiai antraštėje „Authorization“ su kiekviena užklausa Ollama serveriui.", + "authentication-type": { + "none": "Nėra", + "basic": "Paprastas", + "token": "Žetonas" + }, + "username": "Naudotojo vardas", + "username-required": "Naudotojo vardas yra privalomas.", + "password": "Slaptažodis", + "password-required": "Slaptažodis yra privalomas.", + "token": "Žetonas", + "token-required": "Žetonas yra privalomas." }, "confirm-on-exit": { "message": "Turite neišsaugotų pakeitimų. Ar tikrai norite palikti šį puslapį?", @@ -1380,7 +2007,8 @@ }, "contact": { "country": "Šalis", - "country-required": "Country is required.", + "country-required": "Šalis yra privaloma.", + "country-object-required": "Pasirinkite tinkamą šalį iš sąrašo.", "city": "Miestas", "state": "Rajonas", "postal-code": "Pašto kodas", @@ -1390,24 +2018,25 @@ "phone": "Telefonas", "email": "El. paštas", "no-address": "Adresas nenurodytas", - "no-country-found": "No countries found.", - "no-country-matching": "No country matching '{{country}}' were found.", - "state-max-length": "Rajono pavadinimas negali viršyti 256 simbolių", - "phone-max-length": "Telefono numeris negali viršyti 256 simbolių", - "city-max-length": "Miesto pavadinimas negali viršyti 256 simbolių" + "no-country-found": "Šalių nerasta.", + "no-country-matching": "Šalių, atitinkančių „{{country}}“, nerasta.", + "state-max-length": "Rajono pavadinimas turi būti trumpesnis nei 256 simboliai", + "phone-max-length": "Telefono numeris turi būti trumpesnis nei 256 simboliai", + "city-max-length": "Miesto pavadinimas turi būti trumpesnis nei 256 simboliai" }, "common": { "name": "Pavadinimas", "type": "Tipas", - "general": "Bendra informacija", - "username": "Vartotojo vardas", + "general": "Bendra", + "username": "Naudotojo vardas", "password": "Slaptažodis", "repeat-password": "Pakartokite slaptažodį", "data": "Duomenys", "timestamp": "Laiko žyma", - "enter-username": "Įveskite vartotojo vardą", + "enter-username": "Įveskite naudotojo vardą", "enter-password": "Įveskite slaptažodį", "enter-search": "Įveskite paieškos kriterijus", + "all": "Visi", "created-time": "Sukūrimo laikas", "disabled": "Išjungta", "loading": "Įkeliama...", @@ -1419,6 +2048,8 @@ "time-left": "Likęs laikas: {{time}}", "loading-please-wait": "Įkeliama... Prašome palaukti", "output": "Išvestis", + "sort-asc": "Didėjančia tvarka", + "sort-desc": "Mažėjančia tvarka", "suffix": { "s": "s", "ms": "ms" @@ -1427,7 +2058,7 @@ "name-required": "Pavadinimas yra privalomas.", "name-pattern": "Pavadinimas netinkamas.", "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai.", - "title-required": "Antraštė yra privaloma.", + "title-required": "Pavadinimas yra privalomas.", "title-pattern": "Antraštė netinkama.", "title-max-length": "Antraštė turi būti trumpesnė nei 256 simboliai.", "key-required": "Raktas yra privalomas.", @@ -1440,22 +2071,23 @@ "converter": "Duomenų keitiklis", "converters": "Duomenų keitikliai", "select-converter": "Pasirinkite duomenų keitiklį", - "no-converters-matching": "Duomenų keitiklių, atitinkančių '{{entity}}', nerasta.", + "no-converters-matching": "Duomenų keitiklių, atitinkančių „{{entity}}“, nerasta.", "no-converters-found": "Duomenų keitiklių nerasta.", - "converter-required": "Duomenų keitiklis yra privalomas.", - "delete": "Pašalinti keitiklį", + "converter-required": "Duomenų keitiklis yra privalomas", + "delete": "Ištrinti keitiklį", "management": "Duomenų keitiklių valdymas", "add-converter-text": "Pridėti naują duomenų keitiklį", "no-converters-text": "Nerasta duomenų keitiklių", - "selected-converters": "{ count, plural, =1 {1 duomenų keitiklis} other {# duomenų keitikliai} } pasirinkta", - "delete-converter-title": "Ar tikrai norite pašalinti duomenų keitiklį '{{converterName}}'?", + "selected-converters": "{ count, plural, =1 {Pasirinktas 1 duomenų keitiklis} one {Pasirinktas # duomenų keitiklis} few {Pasirinkti # duomenų keitikliai} other {Pasirinkta # duomenų keitiklių} }", + "delete-converter-title": "Ar tikrai norite ištrinti duomenų keitiklį „{{converterName}}“?", "delete-converter-text": "Būkite atsargūs — po patvirtinimo keitiklis ir visa susijusi informacija bus negrįžtamai pašalinta.", - "delete-converters-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 duomenų keitiklį} other {# duomenų keitiklius} }?", - "delete-converters-action-title": "Pašalinti { count, plural, =1 {1 duomenų keitiklį} other {# duomenų keitiklius} }", - "delete-converters-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti duomenų keitikliai bus pašalinti ir visa susijusi informacija bus prarasta.", + "delete-converters-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 duomenų keitiklį} one {# duomenų keitiklį} few {# duomenų keitiklius} other {# duomenų keitiklių} }?", + "delete-converters-action-title": "Ištrinti { count, plural, =1 {1 duomenų keitiklį} one {# duomenų keitiklį} few {# duomenų keitiklius} other {# duomenų keitiklių} }", + "delete-converters-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti duomenų keitikliai bus pašalinti ir visa susijusi informacija bus negrįžtamai prarasta.", "events": "Įvykiai", "add": "Pridėti duomenų keitiklį", - "search": "Ieškoti duomenų keitiklių", + "edit": "Redaguoti duomenų keitiklį", + "search": "Ieškokite duomenų keitiklių", "converter-details": "Duomenų keitiklio informacija", "details": "Išsami informacija", "copyId": "Kopijuoti keitiklio ID", @@ -1464,13 +2096,13 @@ "created-time": "Sukūrimo laikas", "name": "Pavadinimas", "name-required": "Pavadinimas yra privalomas.", - "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", "decoder": "Dekoderis", "encoder": "Enkoderis", - "test-decoder-fuction": "Išbandyti dekoderio funkciją", - "test-encoder-fuction": "Išbandyti enkoderio funkciją", - "test-payload-decoder": "Išbandyti duomenų paketo dekoderį", + "test-decoder-fuction": "Testuoti dekoderio funkciją", + "test-encoder-fuction": "Testuoti enkoderio funkciją", + "test-payload-decoder": "Testuoti duomenų paketo dekoderį", "test-with-this-message": "{{test}} su šia žinute", "decoder-input-params": "Dekoderio įvesties parametrai", "encoder-input-params": "Enkoderio įvesties parametrai", @@ -1479,8 +2111,8 @@ "payload-content": "Duomenų paketo turinys", "message": "Žinutė", "message-type": "Žinutės tipas", - "message-type-required": "Žinutės tipas yra privalomas.", - "test": "Testas", + "message-type-required": "Žinutės tipas yra privalomas", + "test": "Testuoti", "metadata": "Metaduomenys", "metadata-required": "Metaduomenų įrašai negali būti tušti.", "integration-metadata": "Integracijos metaduomenys", @@ -1494,13 +2126,13 @@ "invalid-converter-file-error": "Nepavyko importuoti keitiklio: netinkama duomenų struktūra.", "type": "Tipas", "type-required": "Tipas yra privalomas.", - "type-uplink": "Įkeliamas (Uplink)", - "type-downlink": "Atsakomasis (Downlink)", + "type-uplink": "Uplink", + "type-downlink": "Downlink", "update-only-keys-list": "Atnaujinti tik raktų sąrašą", "update-only-keys-list-hint": "Reikšmės, susietos su pateiktais raktais, bus įrašytos į duomenų bazę tik tuo atveju, jei jos skiriasi nuo ankstesnės konvertuotos žinutės reikšmių. Ši funkcija taikoma tiek atributams, tiek telemetrijai keitiklio išvestyje.", "all": "Visi", "main-decoding-configuration": "Pagrindinė dekodavimo konfigūracija", - "main-encoding-configuration": "Pagrindinė enkodavimo konfigūracija", + "main-encoding-configuration": "Pagrindinė kodavimo konfigūracija", "device-name": "Įrenginio pavadinimas", "device-name-required": "Įrenginio pavadinimas yra privalomas.", "asset-name": "Turto pavadinimas", @@ -1520,20 +2152,21 @@ "decoder-output": "Dekoderio išvestis", "converter-output": "Keitiklio išvestis", "converter-type": "Keitiklio tipas", - "update-raw-payload": "Atnaujintas RAW duomenų paketas", - "see-debug-events": "Peržiūrėti derinimo įvykius" + "update-raw-payload": "Atnaujintas RAW duomenų paketas" }, "content-type": { - "json": "Json", + "json": "JSON", "text": "Tekstas", - "binary": "Binarinis (Base64)" + "binary": "Binarinis (Base64)", + "hex": "Binarinis (Hex)" }, "color": { "color": "Spalva", "color-picker": "Spalvų parinkiklis", "primary-colors": "Pagrindinės spalvos", "accent-colors": "Akcentinės spalvos", - "no-color-selected": "Spalva nepasirinkta" + "no-color-selected": "Spalva nepasirinkta", + "default": "Numatytoji" }, "customer": { "all": "Visi", @@ -1543,6 +2176,7 @@ "hierarchy": "Hierarchija", "customer": "Klientas", "customers": "Klientai", + "customers-and-users": "Klientai ir naudotojai", "management": "Klientų valdymas", "dashboard": "Kliento skydelis", "dashboards": "Klientų skydeliai", @@ -1554,103 +2188,106 @@ "public-assets": "Viešas turtas", "public-entity-views": "Vieši subjektų rodiniai", "add": "Pridėti klientą", - "delete": "Pašalinti klientą", - "manage-customer-user-groups": "Kliento vartotojų grupės", - "manage-customer-groups": "Klientų grupės", - "manage-customer-device-groups": "Kliento įrenginių grupės", - "manage-customer-asset-groups": "Kliento turto grupės", - "manage-customer-entity-view-groups": "Kliento subjektų rodinių grupės", - "manage-customer-edge-groups": "Kliento Edge grupės", - "manage-customer-dashboard-groups": "Kliento skydelių grupės", - "manage-customer-users": "Kliento vartotojai", - "manage-customers": "Klientai", - "manage-customer-devices": "Kliento įrenginiai", - "manage-customer-entity-views": "Kliento subjektų rodiniai", - "manage-customer-dashboards": "Kliento skydeliai", - "manage-public-devices": "Vieši įrenginiai", - "manage-public-dashboards": "Vieši skydeliai", - "manage-customer-assets": "Kliento turtas", - "manage-customer-edges": "Kliento Edge įrenginiai", - "manage-public-assets": "Viešas turtas", + "delete": "Ištrinti klientą", + "manage-customer-user-groups": "Valdyti kliento naudotojų grupes", + "manage-customer-groups": "Valdyti klientų grupes", + "manage-customer-device-groups": "Valdyti kliento įrenginių grupes", + "manage-customer-asset-groups": "Valdyti kliento turto grupes", + "manage-customer-entity-view-groups": "Valdyti kliento subjektų rodinių grupes", + "manage-customer-edge-groups": "Valdyti kliento Edge grupes", + "manage-customer-dashboard-groups": "Valdyti kliento skydelių grupes", + "manage-customer-users": "Valdyti kliento naudotojus", + "manage-customers": "Valdyti klientus", + "manage-customer-devices": "Valdyti kliento įrenginius", + "manage-customer-entity-views": "Valdyti kliento subjektų rodinius", + "manage-customer-dashboards": "Valdyti kliento skydelius", + "manage-public-devices": "Valdyti viešus įrenginius", + "manage-public-dashboards": "Valdyti viešus skydelius", + "manage-customer-assets": "Valdyti kliento turtą", + "manage-customer-edges": "Valdyti kliento Edge egzempliorius", + "manage-public-assets": "Valdyti viešą turtą", "add-customer-text": "Pridėti naują klientą", "no-customers-text": "Klientų nėra", "customer-details": "Informacija apie klientą", - "delete-customer-title": "Ar tikrai norite pašalinti klientą '{{customerTitle}}'?", - "delete-customer-text": "Būkite dėmesingi – po patvirtinimo kliento ir su juo susijusios informacijos atkurti nebegalėsite.", - "delete-customers-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 klientą} other {# klientus} }?", - "delete-customers-action-title": "Pašalinti { count, plural, =1 {1 klientą} other {# klientus} }", - "delete-customers-text": "Būkite dėmesingi – po patvirtinimo klientų ir su jais susijusios informacijos atkurti nebegalėsite.", - "manage-user-groups": "Vartotojų grupės", - "manage-asset-groups": "Turto grupės", - "manage-device-groups": "Įrenginių grupės", - "manage-dashboard-groups": "Skydelių grupės", - "manage-entity-view-groups": "Subjektų rodinių grupės", - "manage-edge-groups": "Edge grupės", - "manage-users": "Vartotojai", - "manage-assets": "Turtas", - "manage-devices": "Įrenginiai", - "manage-dashboards": "Skydeliai", - "manage-entity-views": "Subjektų rodiniai", + "delete-customer-title": "Ar tikrai norite ištrinti klientą „{{customerTitle}}“?", + "delete-customer-text": "Būkite atsargūs – po patvirtinimo kliento ir su juo susijusios informacijos atkurti nebegalėsite.", + "delete-customers-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 klientą} one {# klientą} few {# klientus} other {# klientų} }?", + "delete-customers-action-title": "Ištrinti { count, plural, =1 {1 klientą} one {# klientą} few {# klientus} other {# klientų} }", + "delete-customers-text": "Būkite atsargūs – po patvirtinimo klientų ir su jais susijusios informacijos atkurti nebegalėsite.", + "manage-user-groups": "Valdyti naudotojų grupes", + "manage-asset-groups": "Valdyti turto grupes", + "manage-device-groups": "Valdyti įrenginių grupes", + "manage-dashboard-groups": "Valdyti skydelių grupes", + "manage-entity-view-groups": "Valdyti subjektų rodinių grupes", + "manage-edge-groups": "Valdyti Edge grupes", + "manage-users": "Valdyti naudotojus", + "manage-assets": "Valdyti turtą", + "manage-devices": "Valdyti įrenginius", + "manage-dashboards": "Valdyti skydelius", + "manage-entity-views": "Valdyti subjektų rodinius", "title": "Pavadinimas", "title-required": "Pavadinimas yra privalomas.", - "title-max-length": "Pavadinimas negali viršyti 256 simbolių.", + "title-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", "details": "Informacija", "events": "Įvykiai", "copyId": "Kopijuoti kliento ID", "idCopiedMessage": "Kliento ID nukopijuotas į iškarpinę", "select-customer": "Pasirinkti klientą", - "no-customers-matching": "Klientų, atitinkančių '{{entity}}', nerasta.", - "customer-required": "Klientas yra privalomas", + "no-customers-matching": "Klientų, atitinkančių „{{entity}}“, nerasta.", + "customer-required": "Klientas yra privalomas.", "select-group-to-add": "Pasirinkite grupę, į kurią pridėti pažymėtus klientus", "select-group-to-move": "Pasirinkite grupę, į kurią perkelti pažymėtus klientus", - "remove-customers-from-group": "Ar tikrai norite pašalinti { count, plural, =1 {1 klientą} other {# klientus} } iš grupės '{{entityGroup}}'?", + "remove-customers-from-group": "Ar tikrai norite pašalinti { count, plural, =1 {1 klientą} one {# klientą} few {# klientus} other {# klientų} } iš grupės '{{entityGroup}}'?", "group": "Klientų grupė", - "list-of-groups": "{ count, plural, =1 {Viena kliento grupė} other {# kliento grupės} }", - "group-name-starts-with": "Klientų grupės, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-groups": "{ count, plural, =1 {Viena klientų grupė} one {# klientų grupės sąrašas} few {# klientų grupių sąrašas} other {# klientų grupių sąrašas} }", + "group-name-starts-with": "Klientų grupės, kurių pavadinimai prasideda „{{prefix}}“", "select-default-customer": "Pasirinkite numatytąjį klientą", "default-customer": "Numatytasis klientas", - "default-customer-required": "Numatytasis klientas būtinas, norint suderinti prietaisų skydelį valdytojo lygiu", - "allow-white-labeling": "Leisti tinkinti aplikaciją", + "default-customer-required": "Numatytasis klientas yra privalomas, norint derinti skydelį nuomininko lygiu", + "allow-white-labeling": "Leisti prekės ženklo tinkinimą", "search": "Klientų paieška", - "selected-customers": "Pasirinkta { count, plural, =1 {1 klientas} other {# klientai} }", - "edges": "Kliento Edge įrenginiai", - "manage-edges": "Valdyti Edge įrenginius" + "selected-customers": "{ count, plural, =1 {Pasirinktas 1 klientas} one {Pasirinktas # klientas} few {Pasirinkti # klientai} other {Pasirinkta # klientų} }", + "edges": "Kliento Edge egzemplioriai", + "manage-edges": "Valdyti Edge egzempliorius", + "manage-agents": "Valdyti Agent egzempliorius" }, "customers-hierarchy": { "customers-hierarchy": "Klientų hierarchija", - "open-nav-tree": "Atverti navigacijos medį", + "open-nav-tree": "Atidaryti navigacijos medį", "return-to-top-level": "Grįžti į aukščiausią lygį" }, "custom-menu": { - "custom-menu": "Vartotojo meniu", + "custom-menu": "Pasirinktinis meniu", "custom-menu-config": "Pasirinktinio meniu konfigūracija", "no-custom-menus-prompt": "Pasirinktinių meniu nerasta", - "no-custom-menus-matching": "Pasirinktinių meniu, atitinkančių '{{entity}}', nerasta.", - "search": "Ieškoti pasirinktinio meniu", + "no-custom-menus-matching": "Pasirinktinių meniu, atitinkančių „{{entity}}“, nerasta.", + "search": "Ieškokite pasirinktinio meniu", "add": "Pridėti pasirinktinį meniu", - "delete-custom-menu-title": "Ar tikrai norite pašalinti pasirinktinį meniu '{{customMenuName}}'?", - "delete-custom-menu-text": "Būkite dėmesingi – po patvirtinimo pasirinktinio meniu ir visų su juo susijusių duomenų atkurti nebegalėsite.", + "delete-custom-menu-title": "Ar tikrai norite ištrinti pasirinktinį meniu „{{customMenuName}}“?", + "delete-custom-menu-text": "Būkite atsargūs – po patvirtinimo pasirinktinio meniu ir visų su juo susijusių duomenų atkurti nebegalėsite.", "name": "Pavadinimas", "name-required": "Pavadinimas yra privalomas", "edit-name": "Redaguoti pavadinimą", - "scope": "Apimtis", + "scope": "Taikymo sritis", "scope-system": "Sistema", "scope-tenant": "Nuomininkas", "scope-customer": "Klientas", "assignee-type": "Priskyrimo tipas", "assignee-no-assign": "Nepriskirta", - "assignee-customer-all": "Visi kliento vartotojai", + "assignee-customer-all": "Visi kliento naudotojai", "assignee-customers": "Klientų sąrašas", - "assignee-tenant-all": "Visi nuomininko vartotojai", - "assignee-users": "Vartotojų sąrašas", + "assignee-tenant-all": "Visi nuomininko naudotojai", + "assignee-users": "Naudotojų sąrašas", + "assignee-user-group-names": "Naudotojų grupių pavadinimai", + "user-group-name": "Naudotojų grupės pavadinimas", "assign-to": "Priskirti", "manage-assignees": "Tvarkyti meniu priskyrimus", "manage-config": "Tvarkyti meniu konfigūraciją", "show-hidden-items": "Rodyti paslėptus elementus", - "delete-custom-menu": "Pašalinti pasirinktinį meniu", - "delete-custom-menu-user-list-text": "Šis meniu priskirtas „Vartotojų sąrašui“. Jei jį pašalinsite, šiems vartotojams bus taikomas numatytasis meniu.", - "delete-custom-menu-customer-list-text": "Šis meniu priskirtas „Klientų sąrašui“. Jei jį pašalinsite, šiems klientams bus taikomas numatytasis meniu.", + "delete-custom-menu": "Ištrinti pasirinktinį meniu", + "delete-custom-menu-user-list-text": "Šio meniu priskyrimo tipas – „Naudotojų sąrašas“. Jei jį pašalinsite, šiems naudotojams bus taikomas numatytasis meniu.", + "delete-custom-menu-customer-list-text": "Šio meniu priskyrimo tipas – „Klientų sąrašas“. Jei jį pašalinsite, šiems klientams bus taikomas numatytasis meniu.", "add-custom-menu-item": "Pridėti meniu elementą", "add-custom-menu-subitem": "Pridėti meniu poelementį", "edit-custom-menu-item": "Redaguoti meniu elementą", @@ -1659,7 +2296,7 @@ "menu-item-name": "Meniu elemento pavadinimas", "menu-item-name-is-required": "Meniu elemento pavadinimas yra privalomas", "reset-to-menu-item-defaults": "Atkurti meniu elemento numatytąsias reikšmes", - "delete-menu-item": "Pašalinti meniu elementą", + "delete-menu-item": "Ištrinti meniu elementą", "add-subitem": "Pridėti poelementį", "hide-all-menu-items": "Slėpti visus meniu elementus", "reset-to-default-menu": "Atkurti numatytąjį meniu", @@ -1669,19 +2306,19 @@ "hidden": "Paslėptas", "home-page-type": "Pradžios puslapio tipas", "home-menu-item-type-default": "Numatytasis", - "home-menu-item-type-dashboard": "Prietaisų skydelis", + "home-menu-item-type-dashboard": "Skydelis", "hide-toolbar": "Slėpti įrankių juostą", "item-type": "Elemento tipas", "item-type-link": "Nuoroda", "item-type-section": "Skyrius", "link": "Nuoroda", "link-type-url": "URL", - "link-type-dashboard": "Prietaisų skydelis", + "link-type-dashboard": "Skydelis", "url": "URL", "set-url": "Nustatyti URL", - "set-access-token": "Nustatyti prieigos raktą", + "set-access-token": "Nustatyti prieigos žetoną", "menu-conflict": "Meniu konfliktas", - "menu-conflict-message": "Yra kitas numatytasis pasirinktinis meniu su apimtimi {{scope}}. Ar tikrai norite jį pakeisti savo meniu?", + "menu-conflict-message": "Yra kitas numatytasis pasirinktinis meniu su taikymo sritimi {{scope}}. Ar tikrai norite jį pakeisti savo pasirinktiniu meniu?", "replace": "Pakeisti" }, "custom-translation": { @@ -1691,19 +2328,19 @@ "copy-original-text": "Kopijuoti originalų tekstą", "copy-term-key": "Kopijuoti termino raktą", "country": "Šalis", - "custom-translation": "Vartotojo vertimai", + "custom-translation": "Pasirinktinis vertimas", "customized": "Tinkintas", - "delete-language-text": "Būkite dėmesingi – po patvirtinimo vertimas į kalbą '{{language}}' ir su juo susiję duomenys bus negrįžtamai pašalinti.", - "delete-language-title": "Ar tikrai norite pašalinti vertimą į kalbą '{{language}}'?", - "delete-translation": "Pašalinti vertimą", + "delete-language-text": "Būkite atsargūs – po patvirtinimo vertimas į kalbą „{{language}}“ ir su juo susiję duomenys bus negrįžtamai pašalinti.", + "delete-language-title": "Ar tikrai norite ištrinti vertimą į kalbą „{{language}}“?", + "delete-translation": "Ištrinti vertimą", "download-translation": "Atsisiųsti vertimą", - "drop-json-file": "Įtempkite JSON failą arba", + "drop-json-file": "Nuvilkite JSON failą arba", "language": "Kalba", "language-required": "Kalba yra privaloma", "localization-code": "Lokalizacijos kodas", - "no-translation-matching": "Vertimų, atitinkančių '{{search}}', nerasta.", + "no-translation-matching": "Vertimų, atitinkančių „{{search}}“, nerasta.", "return-default-translation": "Grįžti prie numatytojo vertimo", - "search": "Ieškoti vertimo", + "search": "Ieškokite vertimo", "set": "Nustatyti", "term-key": "Termino raktas", "translated": "Išverstas", @@ -1711,7 +2348,7 @@ "translation-map": "Vertimų žemėlapis", "translation-name": "{{ name }} vertimas – {{ country }}", "translation-progress": "Vertimo eiga", - "untranslated": "Neišversta", + "untranslated": "Neišverstas", "upload-translation-file": "Įkelti vertimo failą" }, "css-size": { @@ -1720,8 +2357,8 @@ }, "date": { "last-update-n-ago": "Paskutinis atnaujinimas prieš N", - "last-update-n-ago-text": "Paskutinis atnaujinimas prieš {{ agoText }}", - "custom-date": "Pasirinkta data", + "last-update-n-ago-text": "Paskutinis atnaujinimas: {{ agoText }}", + "custom-date": "Pasirinktinė data", "format": "Formatas", "preview": "Peržiūra", "auto": "Automatinis", @@ -1745,9 +2382,9 @@ "dashboard": { "ai-assistant-initial-prompt-placeholder": "Apibūdinkite, ką norite nustatyti...", "ai-assistant-example-monitor-device-label": "Stebėti įrenginį", - "ai-assistant-example-monitor-device-message": "Įrenginys yra ... Noriu nustatyti šį skydelį kaip vieno būsenos rodinį šiam įrenginiui, kuris viršuje rodo naujausią jo telemetriją kaip verčių korteles, po jomis tos telemetrijos laiko eilučių diagramą, o apačioje – aktyvių jo aliarmų lentelę.", + "ai-assistant-example-monitor-device-message": "Įrenginys yra ... Noriu nustatyti šį skydelį kaip vienos būsenos rodinį šiam įrenginiui, kuris viršuje rodo naujausią jo telemetriją kaip verčių korteles, po jomis tos telemetrijos laiko eilučių diagramą, o apačioje – aktyvių jo įspėjimų lentelę.", "ai-assistant-example-monitor-fleet-label": "Stebėti įrenginių parką", - "ai-assistant-example-monitor-fleet-message": "Įrenginio tipas yra ... Noriu nustatyti šį skydelį su dviem būsenomis šiam tipui. Apžvalgos būsena turėtų išvardyti visus šio tipo įrenginius esybių lentelėje, o po ja – aktyvių tų įrenginių aliarmų lentelę. Pasirinkus įrenginį atsidaro detalių būsena, kuri viršuje rodo naujausią to įrenginio telemetriją kaip verčių korteles, po jomis tos telemetrijos laiko eilučių diagramą, o apačioje – aktyvių jo aliarmų lentelę.", + "ai-assistant-example-monitor-fleet-message": "Įrenginio tipas yra ... Noriu nustatyti šį skydelį su dviem būsenomis šiam tipui. Apžvalgos būsena turėtų išvardyti visus šio tipo įrenginius subjektų lentelėje, o po ja – aktyvių tų įrenginių įspėjimų lentelę. Pasirinkus įrenginį atsidaro išsamios informacijos būsena, kuri viršuje rodo naujausią to įrenginio telemetriją kaip verčių korteles, po jomis tos telemetrijos laiko eilučių diagramą, o apačioje – aktyvių jo įspėjimų lentelę.", "all": "Visi", "all-dashboards": "Visi skydeliai", "groups": "Grupės", @@ -1757,7 +2394,7 @@ "management": "Skydelių valdymas", "view-dashboards": "Peržiūrėti skydelius", "add": "Pridėti skydelį", - "assign-dashboard-to-customer": "Skydelį (-ius) priskirti klientui", + "assign-dashboard-to-customer": "Priskirti skydelį (-ius) klientui", "assign-dashboard-to-customer-text": "Pasirinkite skydelius, kuriuos norite priskirti klientui", "assign-to-customer-text": "Pasirinkite klientą, kuriam priskirti skydelį (-ius)", "assign-to-customer": "Priskirti klientui", @@ -1766,62 +2403,67 @@ "make-private": "Skydelį padaryti privatų", "manage-assigned-customers": "Valdyti priskirtus klientus", "assigned-customers": "Priskirti klientai", - "assign-to-customers": "Skydelį (-ius) priskirti klientams", + "assign-to-customers": "Priskirti skydelį (-ius) klientams", "assign-to-customers-text": "Pasirinkite klientus, kuriems priskirti skydelį (-ius)", - "unassign-from-customers": "Skydelį (-ius) atsieti nuo klientų", - "unassign-from-customers-text": "Pasirinkite klientus, kuriems atsieti skydelį (-ius)", + "unassign-from-customers": "Atsieti skydelį (-ius) nuo klientų", + "unassign-from-customers-text": "Pasirinkite klientus, nuo kurių norite atsieti skydelį (-ius)", "no-dashboards-text": "Skydelių nėra", "no-widgets": "Valdikliai nesukonfigūruoti", "add-widget": "Pridėti naują valdiklį", "add-widget-button-text": "Pridėti valdiklį", + "edit-html-page": "Redaguoti HTML puslapį", + "html-page": "HTML puslapis", "title": "Pavadinimas", "image": "Skydelio paveikslėlis", "mobile-app-settings": "Mobiliosios programėlės nustatymai", "mobile-order": "Skydelio eiliškumas mobiliojoje programėlėje", "mobile-hide": "Skydelį slėpti mobiliojoje programėlėje", "update-image": "Atnaujinti skydelio paveikslėlį", + "update-new-version": "Įkelti naują versiją", + "upload-file-to-update": "Įkelkite failą, kad atnaujintumėte", "take-screenshot": "Padaryti ekrano nuotrauką", + "take-screenshot-failed": "Nepavyko padaryti skydelio ekrano nuotraukos. Bandykite dar kartą.", "select-widget-title": "Pasirinkite valdiklį", "select-widget-value": "{{title}}: pasirinkite valdiklį", "select-widget-subtitle": "Galimų valdiklių sąrašas", - "delete": "Pašalinti skydelį", - "title-required": "Pavadinimas būtinas.", - "title-max-length": "Pavadinimas negali viršyti 256 simbolių", + "delete": "Ištrinti skydelį", + "title-required": "Pavadinimas yra privalomas.", + "title-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", "details": "Informacija", "dashboard-details": "Skydelio informacija", "add-dashboard-text": "Pridėti naują skydelį", "assign-dashboards": "Priskirti skydelius", "assign-new-dashboard": "Priskirti naują skydelį", - "assign-dashboards-text": "Priskirti { count, plural, =1 {1 skydelį} other {# skydelius} } klientams", - "unassign-dashboards-action-text": "Atsieti { count, plural, =1 {1 skydelį} other {# skydelius} } nuo klientų", - "delete-dashboards": "Panaikinti skydelius", + "assign-dashboards-text": "Priskirti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} } klientams", + "unassign-dashboards-action-text": "Atsieti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} } nuo klientų", + "delete-dashboards": "Ištrinti skydelius", "unassign-dashboards": "Atsieti skydelius", - "unassign-dashboards-action-title": "Atsieti { count, plural, =1 {1 skydelį} other {# skydelius} } nuo kliento", - "delete-dashboard-title": "Ar tikrai norite pašalinti skydelį '{{dashboardTitle}}'?", - "delete-dashboard-text": "Būkite dėmesingi, po patvirtinimo skydelio ir su juo susijusios informacijos atkurti nebegalėsite.", - "delete-dashboards-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 skydelį} other {# skydelius} }?", - "delete-dashboards-action-title": "Pašalinti { count, plural, =1 {1 skydelį} other {# skydelius} }", - "delete-dashboards-text": "Būkite dėmesingi, po patvirtinimo pasirinkti skydeliai ir su jais susijusi informacija bus pašalinti ir jų atkurti nebegalėsite.", - "unassign-dashboard-title": "Ar tikrai norite atsieti skydelį '{{dashboardTitle}}'?", + "unassign-dashboards-action-title": "Atsieti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} } nuo kliento", + "delete-dashboard-title": "Ar tikrai norite ištrinti skydelį „{{dashboardTitle}}“?", + "delete-dashboard-text": "Būkite atsargūs, po patvirtinimo skydelio ir su juo susijusios informacijos atkurti nebegalėsite.", + "delete-dashboards-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} }?", + "delete-dashboards-action-title": "Ištrinti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} }", + "delete-dashboards-text": "Būkite atsargūs, po patvirtinimo pasirinkti skydeliai ir su jais susijusi informacija bus pašalinti ir jų atkurti nebegalėsite.", + "unassign-dashboard-title": "Ar tikrai norite atsieti skydelį „{{dashboardTitle}}“?", "unassign-dashboard-text": "Po patvirtinimo skydelis bus atsietas ir klientas jo nebematys.", "unassign-dashboard": "Atsieti skydelį", - "unassign-dashboards-title": "Ar tikrai norite atsieti { count, plural, =1 {1 skydelį} other {# skydelius} }?", - "unassign-dashboards-text": "Po patvirtinimo visi skydeliai bus atsieti ir klientas jų nebematys.", + "unassign-dashboards-title": "Ar tikrai norite atsieti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} }?", + "unassign-dashboards-text": "Po patvirtinimo visi pasirinkti skydeliai bus atsieti ir klientas jų nebematys.", "public-dashboard-title": "Skydelis dabar yra viešas", "public-dashboard-text": "Skydelis {{dashboardTitle}} dabar yra viešas ir pasiekiamas per šią nuorodą:", - "public-dashboard-notice": "Pastaba: Įrenginiai turi būti vieši, jei norite matyti jų duomenis.", + "public-dashboard-notice": "Pastaba: nepamirškite susijusių įrenginių padaryti viešų, kad būtų galima pasiekti jų duomenis.", "public-dashboard-link": "Vieša skydelio nuoroda", "public-dashboard-link-text": "Viešą skydelį {{dashboardTitle}} galima atidaryti per šią nuorodą:", - "public-dashboard-link-notice": "Pastaba: Įrenginiai, turtas ir subjektai turi būti vieši, jei norite matyti jų duomenis.", - "make-private-dashboard-title": "Ar tikrai norite skydelį '{{dashboardTitle}}' padaryti privačiu?", - "make-private-dashboard-text": "Po patvirtinimo skydelis taps privačiu ir jo nematys kiti vartotojai.", + "public-dashboard-link-notice": "Pastaba: Susiję įrenginiai, turtas ir subjektų rodiniai turi būti vieši, jei norite matyti jų duomenis.", + "make-private-dashboard-title": "Ar tikrai norite skydelį „{{dashboardTitle}}“ padaryti privačiu?", + "make-private-dashboard-text": "Po patvirtinimo skydelis taps privačiu ir jo nematys kiti naudotojai.", "make-private-dashboard": "Skydelį padaryti privačiu", - "socialshare-text": "'{{dashboardTitle}}' sukurta naudojant ThingsBoard", - "socialshare-title": "'{{dashboardTitle}}' sukurta naudojant ThingsBoard", + "socialshare-text": "„{{dashboardTitle}}“ sukurta naudojant ThingsBoard", + "socialshare-title": "„{{dashboardTitle}}“ sukurta naudojant ThingsBoard", "select-dashboard": "Pasirinkti skydelį", - "no-dashboards-matching": "Skydelio, atitinkančio '{{entity}}', nėra.", - "dashboard-required": "Skydelis būtinas.", + "no-dashboards-matching": "Skydelio, atitinkančio „{{entity}}“, nėra.", + "dashboard-required": "Skydelis yra privalomas.", "select-existing": "Pasirinkti esamą skydelį", "create-new": "Sukurti naują skydelį", "new-dashboard-title": "Naujo skydelio pavadinimas", @@ -1832,42 +2474,43 @@ "background-size-mode": "Fono dydis", "no-image": "Paveikslėlis nepasirinktas", "empty-image": "Nėra paveikslėlio", - "drop-image": "Užvilkite paveikslėlį arba spustelėkite ir pasirinkite failą.", + "drop-image": "Nuvilkite paveikslėlį arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", "maximum-upload-file-size": "Maksimalus įkeliamo failo dydis: {{ size }}", "cannot-upload-file": "Failo įkelti nepavyko", "settings": "Nustatymai", "move-all-widgets": "Perkelti visus valdiklius", "move-by": "Perkelti per", - "cols": "Stulpeliai", - "rows": "Eilutės", + "cols": "stulpeliai", + "rows": "eilutės", "layout": "Išdėstymas", "layout-type-default": "Numatytasis", "layout-type-scada": "SCADA", "layout-type-divider": "Skyriklis", + "layout-type-html": "HTML puslapis", "layout-settings-type": "Išdėstymo nustatymai: {{ type }} lūžio taškas", "columns-count": "Stulpelių skaičius", - "columns-count-required": "Stulpelių skaičius būtinas.", + "columns-count-required": "Stulpelių skaičius yra privalomas.", "min-columns-count-message": "Minimalus stulpelių skaičius - 10.", "max-columns-count-message": "Maksimalus stulpelių skaičius - 1000.", "min-layout-width": "Minimalus išdėstymo plotis", "columns-suffix": "stulpeliai", "widgets-margins": "Paraštės tarp valdiklių dydis", - "margin-required": "Paraštės dydžio reikšmė būtina.", + "margin-required": "Paraštės dydžio reikšmė yra privaloma.", "min-margin-message": "Minimali paraštės dydžio reikšmė - 0.", "max-margin-message": "Maksimali paraštės dydžio reikšmė - 50.", "horizontal-margin": "Horizontalios paraštės dydis", - "horizontal-margin-required": "Horizontalios paraštės dydžio reikšmė būtina.", - "min-horizontal-margin-message": "Minimali horizontalios paraštės dydžio reikšmė - 0", + "horizontal-margin-required": "Horizontalios paraštės dydžio reikšmė yra privaloma.", + "min-horizontal-margin-message": "Mažiausia horizontaliosios paraštės reikšmė gali būti tik 0.", "max-horizontal-margin-message": "Maksimali horizontalios paraštės dydžio reikšmė - 50.", "vertical-margin": "Vertikalios paraštės dydis", - "vertical-margin-required": "Vertikalios paraštės dydžio reikšmė būtina.", + "vertical-margin-required": "Vertikalios paraštės dydžio reikšmė yra privaloma.", "min-vertical-margin-message": "Minimali vertikalios paraštės dydžio reikšmė - 0.", "max-vertical-margin-message": "Maksimali vertikalios paraštės dydžio reikšmė - 50.", - "apply-outer-margin": "Taikyti paraštes maketo šonuose", + "apply-outer-margin": "Taikyti paraštes išdėstymo šonuose", "autofill-height": "Automatiškai pritaikyti aukštį", "mobile-layout": "Mobiliojo režimo išdėstymo nustatymai", "mobile-row-height": "Mobiliojo režimo eilutės aukštis pikseliais", - "mobile-row-height-required": "Mobiliojo režimo eilutės aukštis būtinas.", + "mobile-row-height-required": "Mobiliojo režimo eilutės aukštis yra privalomas.", "min-mobile-row-height-message": "Minimalus mobiliojo režimo eilutės aukštis yra 5 pikseliai.", "max-mobile-row-height-message": "Maksimalus mobiliojo režimo eilutės aukštis yra 200 pikselių.", "row-height": "Eilutės aukštis", @@ -1887,6 +2530,7 @@ "display-dashboard-timewindow": "Rodyti laiko langą", "display-dashboard-export": "Rodyti eksportą", "display-update-dashboard-image": "Rodyti skydelio paveikslėlio atnaujinimą", + "display-configure-with-ai": "Rodyti mygtuką „Konfigūruoti naudojant DI“", "dashboard-logo-settings": "Skydelio logotipo nustatymai", "display-dashboard-logo": "Rodyti logotipą skydelio viso ekrano režime", "dashboard-logo-image": "Skydelio logotipo paveikslėlis", @@ -1900,7 +2544,7 @@ "export-png": "Eksportuoti kaip PNG", "export-jpg": "Eksportuoti kaip JPEG", "export-json-config": "Eksportuoti JSON konfigūraciją", - "download-dashboard-progress": "Generuojamas skydelis {{reportType}} ...", + "download-dashboard-progress": "Generuojamas skydelio {{reportType}} ...", "create-new-dashboard": "Sukurti naują skydelį", "dashboard-file": "Skydelio failas", "invalid-dashboard-file-error": "Skydelio importuoti nepavyko: neteisinga duomenų struktūra.", @@ -1908,19 +2552,19 @@ "create-new-widget": "Sukurti naują valdiklį", "import-widget": "Importuoti valdiklį", "widget-file": "Valdiklio failas", - "invalid-widget-file-error": "Valdiklio importuoti nepavyko: neteisinga duomenų struktūra.", + "invalid-widget-file-error": "Nepavyko importuoti valdiklio: neteisinga valdiklio duomenų struktūra.", "widget-import-missing-aliases-title": "Konfigūruoti importuoto valdiklio naudojamus pseudonimus", "open-toolbar": "Atidaryti skydelio įrankių juostą", "close-toolbar": "Uždaryti įrankių juostą", "configuration-error": "Konfigūracijos klaida", "alias-resolution-error-title": "Skydelio pseudonimų konfigūracijos klaida", - "invalid-aliases-config": "Įrenginių, atitinkančių pseudonimų filtrus, nėra.
Susisiekite su sistemos administratoriumi.", + "invalid-aliases-config": "Nepavyko rasti įrenginių, atitinkančių kai kuriuos pseudonimų filtrus.
Kreipkitės į savo administratorių, kad ši problema būtų išspręsta.", "select-devices": "Pasirinkite įrenginius", "assignedToCustomer": "Priskirta klientui", "assignedToCustomers": "Priskirta klientams", "public": "Viešas", - "copyId": "Kopijuoti skydelio Id", - "idCopiedMessage": "Skydelio Id nukopijuotas į iškarpinę", + "copyId": "Kopijuoti skydelio ID", + "idCopiedMessage": "Skydelio ID nukopijuotas į iškarpinę", "public-link": "Vieša nuoroda", "copy-public-link": "Kopijuoti viešą nuorodą", "public-link-copied-message": "Skydelio vieša nuoroda nukopijuota į iškarpinę", @@ -1928,41 +2572,41 @@ "states": "Skydelio būsenos", "states-short": "Būsenos", "search-states": "Skydelio būsenų paieška", - "selected-states": "Pasirinkta skydelio { count, plural, =1 {1 būsena} other {# būsenos} }", + "selected-states": "{ count, plural, =1 {Pasirinkta 1 skydelio būsena} one {Pasirinkta # skydelio būsena} few {Pasirinktos # skydelio būsenos} other {Pasirinkta # skydelio būsenų} }", "edit-state": "Redaguoti skydelio būseną", - "delete-state": "Panaikinti skydelio būseną", + "delete-state": "Ištrinti skydelio būseną", "add-state": "Pridėti skydelio būseną", "no-states-text": "Būsenų nėra", "state": "Skydelio būsena", "state-name": "Pavadinimas", - "state-name-required": "Skydelio pavadinimas būtinas.", - "state-id": "Būsenos Id", - "state-id-required": "Būsenos Id būtinas.", - "state-id-exists": "Skydelio būsena su tokiu pačiu Id jau yra.", + "state-name-required": "Skydelio būsenos pavadinimas yra privalomas.", + "state-id": "Būsenos ID", + "state-id-required": "Būsenos ID yra privalomas.", + "state-id-exists": "Skydelio būsena su tokiu pačiu ID jau yra.", "is-root-state": "Pagrindinė būsena", - "delete-state-title": "Panaikinti skydelio būseną", - "delete-state-text": "Ar tikrai norite panaikinti skydelio būseną '{{stateName}}'?", - "show-details": "Rodyti detales", - "hide-details": "Slėpti detales", + "delete-state-title": "Ištrinti skydelio būseną", + "delete-state-text": "Ar tikrai norite ištrinti skydelio būseną „{{stateName}}“?", + "show-details": "Rodyti informaciją", + "hide-details": "Slėpti informaciją", "select-state": "Pasirinkite būseną", "state-controller": "Būsenų valdiklis", "state-controller-default": "static (pasenęs)", "search": "Skydelių paieška", - "selected-dashboards": "Pasirinkta { count, plural, =1 {1 skydelis} other {# skydeliai} }", + "selected-dashboards": "{ count, plural, =1 {Pasirinktas 1 skydelis} one {Pasirinktas # skydelis} few {Pasirinkti # skydeliai} other {Pasirinkta # skydelių} }", "home-dashboard": "Pagrindinis skydelis", "home-dashboard-hide-toolbar": "Slėpti pagrindinio skydelio įrankių juostą", "select-group-to-add": "Pasirinkite grupę, prie kurios pridėti pažymėtus skydelius", "select-group-to-move": "Pasirinkite grupę, į kurią perkelti pasirinktus skydelius", - "remove-dashboards-from-group": "Ar tikrai pašalinti { count, plural, =1 {1 skydelį} other {# skydelius} } iš grupės '{{entityGroup}}'?", + "remove-dashboards-from-group": "Ar tikrai norite pašalinti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} } iš grupės '{{entityGroup}}'?", "group": "Skydelių grupė", - "list-of-groups": "{ count, plural, =1 {Viena skydelių grupė} other {Sąrašas # skydelių grupių} }", - "group-name-starts-with": "Skydelių grupės, kurių pavadinimai prasideda '{{prefix}}'", - "unassign-dashboard-from-edge-text": "Po patvirtinimo skydelis bus atsietas ir nebus pasiekiamas Edge įrenginio.", - "unassign-dashboards-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 skydelį} other {# skydelius} }?", - "unassign-dashboards-from-edge-text": "Po patvirtinimo visi pasirinkti skydeliai bus atsieti ir nebus pasiekiami Edge įrenginio.", - "assign-dashboard-to-edge": "Priskirti skydelį (-ius) Edge įrenginiui", - "assign-dashboard-to-edge-text": "Pasirinkite skydelius, kuriuos priskirti Edge įrenginiui", - "non-existent-dashboard-state-error": "Skydelio būsena su id „{{ stateId }}“ nerasta", + "list-of-groups": "{ count, plural, =1 {Viena skydelių grupė} one {# skydelių grupės sąrašas} few {# skydelių grupių sąrašas} other {# skydelių grupių sąrašas} }", + "group-name-starts-with": "Skydelių grupės, kurių pavadinimai prasideda „{{prefix}}“", + "unassign-dashboard-from-edge-text": "Po patvirtinimo skydelis bus atsietas ir nebebus pasiekiamas Edge egzemplioriui.", + "unassign-dashboards-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 skydelį} one {# skydelį} few {# skydelius} other {# skydelių} }?", + "unassign-dashboards-from-edge-text": "Po patvirtinimo visi pasirinkti skydeliai bus atsieti ir nebebus pasiekiami Edge egzemplioriui.", + "assign-dashboard-to-edge": "Priskirti skydelį (-ius) Edge egzemplioriui", + "assign-dashboard-to-edge-text": "Pasirinkite skydelius, kuriuos norite priskirti Edge egzemplioriui", + "non-existent-dashboard-state-error": "Skydelio būsena su ID „{{ stateId }}“ nerasta", "edit-mode": "Redagavimo režimas", "duplicate-state-action": "Dubliuoti būseną", "breakpoint-value": "Lūžio taškas ({{ value }})", @@ -1981,32 +2625,32 @@ "datakey": { "settings": "Nustatymai", "general": "Bendra", - "advanced": "Pažangūs nustatymai", + "advanced": "Išplėstiniai nustatymai", "key": "Raktas", "keys": "Raktai", "label": "Etiketė", "color": "Spalva", - "units": "Vienetai (simboliai, rodomi šalia reikšmės)", - "decimals": "Skaitmenų po kablelio kiekis", + "units": "Specialus simbolis, rodomas šalia reikšmės", + "decimals": "Skaitmenų po kablelio skaičius", "data-generation-func": "Duomenų generavimo funkcija", "use-data-post-processing-func": "Naudoti papildomo duomenų apdorojimo funkciją", - "configuration": "Duomenų raktų konfigūracija", - "timeseries": "Telemetrija", + "configuration": "Duomenų rakto konfigūracija", + "timeseries": "Laiko eilutės", "attributes": "Atributai", "entity-field": "Subjekto laukas", "alarm": "Įspėjimo laukai", - "timeseries-required": "Subjekto telemetrija būtina.", - "timeseries-or-attributes-required": "Subjekto telemetrija arba atributai būtini.", - "alarm-fields-timeseries-or-attributes-required": "Įspėjimo laukai arba subjekto telemetrija/atributai būtini.", - "maximum-timeseries-or-attributes": "Leidžiama daugiausiai { count, plural, =1 {1 telemetrija/atributas} other {# telemetrijų/atributų} }.", - "alarm-fields-required": "Įspėjimo laukai būtini.", + "timeseries-required": "Subjekto laiko eilutės yra privalomos.", + "timeseries-or-attributes-required": "Subjekto laiko eilutės arba atributai yra privalomi.", + "alarm-fields-timeseries-or-attributes-required": "Įspėjimo laukai arba subjekto laiko eilutės/atributai yra privalomi.", + "maximum-timeseries-or-attributes": "Daugiausia leidžiama { count, plural, =1 {1 laiko eilutė/atributas.} one {# laiko eilutė/atributas.} few {# laiko eilutės/atributai} other {# laiko eilučių/atributų} }", + "alarm-fields-required": "Įspėjimo laukai yra privalomi.", "function-types": "Funkcijų tipai", "function-type": "Funkcijos tipas", - "function-types-required": "Funkcijos tipas būtinas.", + "function-types-required": "Funkcijų tipai yra privalomi.", "data-keys": "Duomenų raktai", "data-key": "Duomenų raktas", - "data-keys-required": "Duomenų raktai būtini.", - "data-key-required": "Duomenų raktas būtinas.", + "data-keys-required": "Duomenų raktai yra privalomi.", + "data-key-required": "Duomenų raktas yra privalomas.", "alarm-keys": "Įspėjimo duomenų raktai", "alarm-key": "Įspėjimo duomenų raktas", "alarm-key-functions": "Įspėjimo rakto funkcijos", @@ -2015,18 +2659,18 @@ "latest-key": "Naujausias duomenų raktas", "latest-key-functions": "Naujausio rakto funkcijos", "latest-key-function": "Naujausio rakto funkcija", - "timeseries-keys": "Telemetrijos duomenų raktai", - "timeseries-key": "Telemetrijos duomenų raktas", - "timeseries-key-functions": "Telemetrijos rakto funkcijos", - "timeseries-key-function": "Telemetrijos rakto funkcija", - "maximum-function-types": "Daugiausia leidžiama { count, plural, =1 {1 funkcijos tipas} other {# funkcijos tipai} }.", - "time-description": "Dabartinės vertės laiko žyma;", - "value-description": "Dabartinė vertė;", - "prev-value-description": "Ankstesnio funkcijos kvietimo rezultatas;", - "time-prev-description": "Ankstesnės vertės laiko žyma;", - "prev-orig-value-description": "Pradinė ankstesnė vertė;", + "timeseries-keys": "Laiko eilučių duomenų raktai", + "timeseries-key": "Laiko eilučių duomenų raktas", + "timeseries-key-functions": "Laiko eilučių rakto funkcijos", + "timeseries-key-function": "Laiko eilučių rakto funkcija", + "maximum-function-types": "{ count, plural, =1 {Daugiausia leidžiamas 1 funkcijos tipas} one {Daugiausia leidžiamas # funkcijos tipas} few {Daugiausia leidžiami # funkcijų tipai} other {Daugiausia leidžiama # funkcijų tipų} }", + "time-description": "dabartinės reikšmės laiko žyma;", + "value-description": "dabartinė reikšmė;", + "prev-value-description": "ankstesnio funkcijos iškvietimo rezultatas;", + "time-prev-description": "ankstesnės reikšmės laiko žyma;", + "prev-orig-value-description": "pradinė ankstesnė reikšmė;", "aggregation": "Agregavimas", - "aggregation-type-hint-common": "Dėl našumo priežasčių agreguotų reikšmių skaičiavimas galimas tik fiksuotiems laiko intervalams, pvz., 'dabartinė diena', 'dabartinis mėnuo' ir pan. Tai netaikoma slankiesiems intervalams, kaip 'paskutinės 30 min' ar 'paskutinės 24 val'.", + "aggregation-type-hint-common": "Dėl našumo priežasčių agreguotų reikšmių skaičiavimas galimas tik fiksuotiems laiko intervalams, pvz., „dabartinė diena“, „dabartinis mėnuo“ ir pan. Tai netaikoma slankiesiems intervalams, kaip „paskutinės 30 min“ ar „paskutinės 24 val“.", "aggregation-type-none-hint": "Naudoti naujausią reikšmę.", "aggregation-type-min-hint": "Rasti mažiausią reikšmę tarp duomenų taškų pasirinktoje laiko atkarpoje.", "aggregation-type-max-hint": "Rasti didžiausią reikšmę tarp duomenų taškų pasirinktoje laiko atkarpoje.", @@ -2035,7 +2679,7 @@ "aggregation-type-count-hint": "Duomenų taškų skaičius pasirinktoje laiko atkarpoje.", "delta-calculation": "Delta skaičiavimas", "enable-delta-calculation": "Įjungti delta skaičiavimą", - "enable-delta-calculation-hint": "Kai įjungta, rakto reikšmė skaičiuojama pagal agreguotas reikšmes pasirinktam laikotarpiui ir lyginimo periodui. Dėl našumo delta skaičiavimas galimas tik istoriniams laikotarpiams, o ne realaus laiko reikšmėms. Pvz., galima apskaičiuoti skirtumą tarp vakarykščio ir užvakar dienos energijos suvartojimo.", + "enable-delta-calculation-hint": "Kai įjungta, rakto reikšmė skaičiuojama pagal agreguotas reikšmes pasirinktam laikotarpiui ir lyginimo periodui. Dėl našumo delta skaičiavimas galimas tik istoriniams laikotarpiams, o ne realaus laiko reikšmėms. Pvz., galima apskaičiuoti vakarykščio ir užvakarykščio energijos suvartojimo skirtumą.", "delta-calculation-result": "Delta skaičiavimo rezultatas", "delta-calculation-result-previous-value": "Ankstesnė reikšmė", "delta-calculation-result-delta-absolute": "Delta (absoliuti)", @@ -2043,7 +2687,7 @@ "source": "Šaltinis", "latest": "Naujausia", "latest-value": "Naujausia reikšmė", - "delta": "delta", + "delta": "pokytis", "percent": "procentai", "absolute": "absoliuti" }, @@ -2068,36 +2712,36 @@ "groups": "Grupės", "shared": "Bendrinami", "device": "Įrenginys", - "device-required": "Įrenginys būtinas.", + "device-required": "Įrenginys yra privalomas.", "devices": "Įrenginiai", "management": "Įrenginių valdymas", "view-devices": "Peržiūrėti įrenginius", "device-alias": "Įrenginio pseudonimas", - "device-type-max-length": "Įrenginio tipas negali viršyti 256 simbolių", - "aliases": "Įrenginių pseudonimai aliases", - "no-alias-matching": "'{{alias}}' nerasta.", + "device-type-max-length": "Įrenginio tipas turi būti trumpesnis nei 256 simboliai", + "aliases": "Įrenginių pseudonimai", + "no-alias-matching": "„{{alias}}“ nerasta.", "no-aliases-found": "Pseudonimų nėra.", - "no-key-matching": "'{{key}}' nerasta.", + "no-key-matching": "„{{key}}“ nerasta.", "no-keys-found": "Raktų nėra.", "create-new-alias": "Sukurti naują!", "create-new-key": "Sukurti naują!", - "duplicate-alias-error": "'{{alias}}' dubliuojasi.
Įrenginio pseudonimai skydelyje turi būti unikalūs.", - "configure-alias": "Sukonfigūruoti '{{alias}}' pseudonimą", - "no-devices-matching": "Įrenginių, attinkančių '{{entity}}' nėra.", + "duplicate-alias-error": "„{{alias}}“ dubliuojasi.
Įrenginio pseudonimai skydelyje turi būti unikalūs.", + "configure-alias": "Sukonfigūruoti „{{alias}}“ pseudonimą", + "no-devices-matching": "Įrenginių, atitinkančių „{{entity}}“, nėra.", "alias": "Pseudonimas", - "alias-required": "Įrenginio pseudonimas būtinas.", - "remove-alias": "Panaikinti įrenginio pseudonimą", + "alias-required": "Įrenginio pseudonimas yra privalomas.", + "remove-alias": "Pašalinti įrenginio pseudonimą", "add-alias": "Pridėti įrenginio pseudonimą", - "name-starts-with": "Įrenginio pavadinimas prasideda", + "name-starts-with": "Įrenginio pavadinimo išraiška", "help-text": "Naudokite '%' simbolį pagal tai, kaip norite ieškoti: '%įrenginio_pavadinimo_fragmentas%', '%įrenginio_pavadinimo_pabaiga', 'įrenginio_pavadinimo_pradžia%'.", "device-list": "Įrenginių sąrašas", "use-device-name-filter": "Naudoti filtrą", "device-list-empty": "Įrenginiai nepasirinkti.", - "device-name-filter-required": "Įrenginio pavadinimo filtras turi būti nustatytas.", - "device-name-filter-no-device-matched": "Įrenginių, kurių pavadinimas prasideda '{{device}}' nėra.", + "device-name-filter-required": "Įrenginio pavadinimo filtras yra privalomas.", + "device-name-filter-no-device-matched": "Įrenginių, kurių pavadinimas prasideda „{{device}}“, nėra.", "add": "Pridėti įrenginį", - "assign-to-customer": "Priskirti kientui", - "assign-device-to-customer": "Įrenginį (-ius) priskirti klientui", + "assign-to-customer": "Priskirti klientui", + "assign-device-to-customer": "Priskirti įrenginį (-ius) klientui", "assign-device-to-customer-text": "Pasirinkite įrenginius, kuriuos norite priskirti klientui", "make-public": "Įrenginį padaryti viešu", "make-private": "Įrenginį padaryti privačiu", @@ -2105,63 +2749,63 @@ "assign-to-customer-text": "Pasirinkite klientą, kuriam norite priskirti įrenginį (-ius)", "device-details": "Įrenginio informacija", "add-device-text": "Pridėti naują įrenginį", - "credentials": "Įgaliojimai", - "manage-credentials": "Valdyti įgaliojimus", - "delete": "Panaikinti įrenginį", - "assign-devices": "priskirti įrenginius", - "assign-devices-text": "Priskirti { count, plural, =1 {1 įrenginį} other {# įrenginius} } klientui", - "delete-devices": "Panaikinti įrenginius", - "unassign-from-customer": "Atseti nuo kliento", + "credentials": "Prisijungimo duomenys", + "manage-credentials": "Valdyti prisijungimo duomenis", + "delete": "Ištrinti įrenginį", + "assign-devices": "Priskirti įrenginius", + "assign-devices-text": "Priskirti { count, plural, =1 {1 įrenginį} one {# įrenginį} few {# įrenginius} other {# įrenginių} } klientui", + "delete-devices": "Ištrinti įrenginius", + "unassign-from-customer": "Atsieti nuo kliento", "unassign-devices": "Atsieti įrenginius", - "unassign-devices-action-title": "Atsieti { count, plural, =1 {1 įrenginį} other {# įrenginius} } nuo kliento", - "unassign-device-from-edge-title": "Are you sure you want to unassign the device '{{deviceName}}'?", - "unassign-device-from-edge-text": "After the confirmation the device will be unassigned and won't be accessible by the edge.", - "unassign-devices-from-edge": "Unassign devices from edge", + "unassign-devices-action-title": "Atsieti { count, plural, =1 {1 įrenginį} one {# įrenginį} few {# įrenginius} other {# įrenginių} } nuo kliento", + "unassign-device-from-edge-title": "Ar tikrai norite atsieti įrenginį „{{deviceName}}“?", + "unassign-device-from-edge-text": "Po patvirtinimo įrenginys bus atsietas ir nebebus pasiekiamas Edge egzemplioriui.", + "unassign-devices-from-edge": "Atsieti įrenginius nuo Edge egzemplioriaus", "assign-new-device": "Priskirti naują įrenginį", - "make-public-device-title": "Ar tikrai norite įrenginį '{{deviceName}}' padaryti viešu?", - "make-public-device-text": "Po patvirtinimo įrenginys ir visi jo duomenys bus vieši ir prieinami kitiems vartotojams.", - "make-private-device-title": "Ar tikrai norite įrenginį '{{deviceName}}' padaryti privačiu?", - "make-private-device-text": "Po patvirtinimo įrenginys ir visi jo duomenys taps privatūs ir nebus prieinami kitiems vartotojams.", - "view-credentials": "Peržiūrėti įgaliojimus", - "delete-device-title": "Ar tikrai norite panaikinti įrenginį '{{deviceName}}'?", - "delete-device-text": "Būkite dėmesingi, po patvirtinimo įrenginys ir visa su juo susijusi informacija bus panaikinta ir jų atkurti nebegalėsite", - "delete-devices-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 įrenginį} other {# įrenginius} }?", - "delete-devices-action-title": "Panaikinti { count, plural, =1 {1 įrenginį} other {# įrenginius} }", - "delete-devices-text": "Būkite dėmesingi, po patvirtinimo, visi pasirinkti įrenginiai ir su jais susijusi informacija bus panaikinta ir jų atkurti nebegalėsite.", - "unassign-device-title": "Ar tikrai norite atsieti įrenginį '{{deviceName}}'?", + "make-public-device-title": "Ar tikrai norite įrenginį „{{deviceName}}“ padaryti viešu?", + "make-public-device-text": "Po patvirtinimo įrenginys ir visi jo duomenys bus vieši ir prieinami kitiems naudotojams.", + "make-private-device-title": "Ar tikrai norite įrenginį „{{deviceName}}“ padaryti privačiu?", + "make-private-device-text": "Po patvirtinimo įrenginys ir visi jo duomenys taps privatūs ir nebus prieinami kitiems naudotojams.", + "view-credentials": "Peržiūrėti prisijungimo duomenis", + "delete-device-title": "Ar tikrai norite ištrinti įrenginį „{{deviceName}}“?", + "delete-device-text": "Būkite atsargūs, po patvirtinimo įrenginys ir visa su juo susijusi informacija bus negrįžtamai pašalinta.", + "delete-devices-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 įrenginį} one {# įrenginį} few {# įrenginius} other {# įrenginių} }?", + "delete-devices-action-title": "Ištrinti { count, plural, =1 {1 įrenginį} one {# įrenginį} few {# įrenginius} other {# įrenginių} }", + "delete-devices-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti įrenginiai bus pašalinti, o visa su jais susijusi informacija bus negrįžtamai prarasta.", + "unassign-device-title": "Ar tikrai norite atsieti įrenginį „{{deviceName}}“?", "unassign-device-text": "Po patvirtinimo įrenginys bus atsietas ir klientas jo nebematys.", "unassign-device": "Atsieti įrenginį", - "unassign-devices-title": "Ar tikrai norite atsieti { count, plural, =1 {1 įrenginį} other {# įrenginius} }?", - "unassign-devices-text": "Po patvirtinimo visi pasirinkti įrenginiai bus atsieti nuo kliento.", - "device-credentials": "įrenginio įgaliojimai", - "loading-device-credentials": "Įkeliami įrenginio įgaliojimai...", - "credentials-type": "Įgaliojimų tipas", - "access-token": "Prieigos raktas", - "access-token-required": "Prieigos raktas būtinas.", - "access-token-invalid": "Prieigos rakto ilgis turi būti nuo 1 iki 32 simbolių.", + "unassign-devices-title": "Ar tikrai norite atsieti { count, plural, =1 {1 įrenginį} one {# įrenginį} few {# įrenginius} other {# įrenginių} }?", + "unassign-devices-text": "Po patvirtinimo visi pasirinkti įrenginiai bus atsieti ir klientas jų nebematys.", + "device-credentials": "Įrenginio prisijungimo duomenys", + "loading-device-credentials": "Įkeliami įrenginio prisijungimo duomenys...", + "credentials-type": "Prisijungimo duomenų tipas", + "access-token": "Prieigos žetonas", + "access-token-required": "Prieigos žetonas yra privalomas.", + "access-token-invalid": "Prieigos žetono ilgis turi būti nuo 1 iki 32 simbolių.", "certificate-pem-format": "Sertifikatas PEM formate", - "certificate-pem-format-required": "Certificate is required.", - "copy-access-token": "Kopijuoti prieigos raktą", + "certificate-pem-format-required": "Sertifikatas yra privalomas.", + "copy-access-token": "Kopijuoti prieigos žetoną", "copy-certificate": "Kopijuoti sertifikatą", "copy-client-id": "Kopijuoti kliento ID", - "copy-user-name": "Kopijuoti vartotojo vardą", + "copy-user-name": "Kopijuoti naudotojo vardą", "copy-password": "Kopijuoti slaptažodį", "generate-client-id": "Generuoti kliento ID", - "generate-user-name": "Generuoti vartotojo vardą", + "generate-user-name": "Generuoti naudotojo vardą", "generate-password": "Generuoti slaptažodį", - "generate-access-token": "Generuoti prieigos raktą", + "generate-access-token": "Generuoti prieigos žetoną", "lwm2m-security-config": { "identity": "Kliento identifikatorius", - "identity-required": "Kliento identifikatorius būtinas.", + "identity-required": "Kliento identifikatorius yra privalomas.", "identity-tooltip": "PSK identifikatorius yra savavališkai parinktas iki 128 baitų identifikatorius, kaip aprašyta standarte [RFC7925].\nPSK identifikatorius pirmiausia turi būti konvertuotas į simbolių eilutę ir tada užkoduotas į baitus naudojant UTF-8.", "client-key": "Kliento raktas", - "client-key-required": "Kliento raktas būtinas.", + "client-key-required": "Kliento raktas yra privalomas.", "client-key-tooltip-prk": "RPK viešasis raktas arba ID turi atitikti standartą [RFC7250] ir būti užkoduotas Base64 formatu!", "client-key-tooltip-psk": "PSK raktas turi atitikti standartą [RFC4279] ir būti HexDec formatu: 32, 64 arba 128 simboliai!", - "endpoint": "Kliento galinio taško pavadinimas (Endpoint)", - "endpoint-required": "Kliento galinio taško pavadinimas būtinas.", + "endpoint": "Kliento galinio taško pavadinimas", + "endpoint-required": "Kliento galinio taško pavadinimas yra privalomas.", "client-public-key": "Kliento viešasis raktas", - "client-public-key-hint": "Jei viešasis raktas nenurodytas, bus naudojamas patikimas sertifikatas.", + "client-public-key-hint": "Jei viešasis raktas nenurodytas, bus naudojamas patikimas sertifikatas", "client-public-key-tooltip": "X509 viešasis raktas turi būti DER koduotas X509v3 formatu, naudoti tik EC algoritmą ir būti užkoduotas Base64 formatu!", "mode": "Saugumo konfigūracijos režimas", "client-tab": "Kliento saugumo konfigūracija", @@ -2169,54 +2813,55 @@ "bootstrap-tab": "Bootstrap klientas", "bootstrap-server": "Bootstrap serveris", "lwm2m-server": "LwM2M serveris", + "client-reboot": "Registracijos atnaujinimo paleidiklis", + "bootstrap-reboot": "Bootstrap užklausos paleidiklis", "client-publicKey-or-id": "Kliento viešasis raktas arba ID", - "client-publicKey-or-id-required": "Kliento viešasis raktas arba ID būtinas.", + "client-publicKey-or-id-required": "Kliento viešasis raktas arba ID yra privalomas.", "client-publicKey-or-id-tooltip-psk": "PSK identifikatorius yra savavališkai parinktas iki 128 baitų identifikatorius, kaip aprašyta standarte [RFC7925].\nPSK identifikatorius pirmiausia turi būti konvertuotas į simbolių eilutę ir tada užkoduotas į baitus naudojant UTF-8.", "client-publicKey-or-id-tooltip-rpk": "RPK viešasis raktas arba ID turi atitikti standartą [RFC7250] ir būti užkoduotas Base64 formatu!", - "client-publicKey-or-id-tooltip-x509": "X509 viešasis raktas turi būti DER koduotas X509v3 formatu, naudoti tik EC algoritmą ir būti užkoduotas Base64 formatu!", + "client-publicKey-or-id-tooltip-x509": "X509 viešasis raktas turi būti DER koduotas X509v3 formatu, naudoti tik EC algoritmą ir būti užkoduotas Base64 formatu", "client-secret-key": "Kliento slaptasis raktas", - "client-secret-key-required": "Kliento slaptasis raktas būtinas.", + "client-secret-key-required": "Kliento slaptasis raktas yra privalomas.", "client-secret-key-tooltip-psk": "PSK raktas turi atitikti standartą [RFC4279] ir būti HexDec formatu: 32, 64 arba 128 simboliai!", "client-secret-key-tooltip-prk": "RPK slaptasis raktas turi būti PKCS_8 formatu (DER kodavimas, standartas [RFC5958]) ir būti užkoduotas Base64 formatu!", "client-secret-key-tooltip-x509": "X509 slaptasis raktas turi būti PKCS_8 formatu (DER kodavimas, standartas [RFC5958]) ir būti užkoduotas Base64 formatu!" }, "client-id": "Kliento ID", "client-id-pattern": "Yra netinkamas simbolis.", - "user-name": "Vartotojo vardas", - "user-name-required": "Vartotojo vardas būtinas.", - "client-id-or-user-name-necessary": "Kliento ID ir/arba vartotojo vardas būtini.", + "user-name": "Naudotojo vardas", + "user-name-required": "Naudotojo vardas yra privalomas.", + "client-id-or-user-name-necessary": "Kliento ID ir/arba naudotojo vardas būtini", "password": "Slaptažodis", - "secret": "Slaptas raktas", - "secret-required": "Slaptas raktas būtinas.", - "device-type": "Įrenginio tipas", - "device-type-required": "Įrenginio tipas būtinas.", + "secret": "Slaptasis raktas", + "secret-required": "Slaptasis raktas yra privalomas.", + "device-type": "Įrenginio profilis", + "device-type-required": "Įrenginio tipas yra privalomas.", "select-device-type": "Pasirinkite įrenginio tipą", - "enter-device-type": "Įveskite įrenginio tipą", + "enter-device-type": "Įveskite įrenginio profilį", "any-device": "Bet kuris įrenginys", - "no-device-types-matching": "Įrenginio tipų, atitinkančių '{{entitySubtype}}', nėra.", - "device-type-list-empty": "Nepasirinktas įrenginio tipas!", + "no-device-types-matching": "Įrenginio profilių, atitinkančių „{{entitySubtype}}“, nėra.", + "device-type-list-empty": "Nepasirinktas joks įrenginio profilis!", "device-profile-type-list-empty": "Turi būti pasirinktas bent vienas įrenginio profilis.", "device-types": "Įrenginių tipai", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas.", - "name-max-length": "Pavadinimas negali viršyti 256 simbolių.", - "label-max-length": "Etiketė negali viršyti 256 simbolių.", + "name-required": "Pavadinimas yra privalomas.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", + "label-max-length": "Etiketė turi būti trumpesnė nei 256 simboliai", "description": "Aprašymas", "label": "Etiketė", "events": "Įvykiai", "details": "Informacija", "copyId": "Kopijuoti įrenginio ID", - "copyAccessToken": "Kopijuoti prieigos raktą", - "copy-mqtt-authentication": "Kopijuoti MQTT autentifikacijos duomenis", - "idCopiedMessage": "Įrenginio ID nukopijuotas į iškarpinę.", - "accessTokenCopiedMessage": "Įrenginio prieigos raktas nukopijuotas į iškarpinę.", - "mqtt-authentication-copied-message": "Įrenginio MQTT autentifikacijos duomenys nukopijuoti į iškarpinę.", + "copyAccessToken": "Kopijuoti prieigos žetoną", + "copy-mqtt-authentication": "Kopijuoti MQTT prisijungimo duomenis", + "idCopiedMessage": "Įrenginio ID nukopijuotas į iškarpinę", + "accessTokenCopiedMessage": "Įrenginio prieigos žetonas nukopijuotas į iškarpinę", + "mqtt-authentication-copied-message": "Įrenginio MQTT autentifikavimo duomenys nukopijuoti į iškarpinę", "assignedToCustomer": "Priskirtas klientui", - "unable-delete-device-alias-title": "Nepavyko panaikinti įrenginio pseudonimo", - "unable-delete-device-alias-text": "Įrenginio pseudonimo '{{deviceAlias}}' panaikinti nepavyko, nes jis naudojamas šiuose valdikliuose:
{{widgetsList}}", - "is-gateway": "Yra šliuzas (Gateway)", + "unable-delete-device-alias-title": "Nepavyko ištrinti įrenginio pseudonimo", + "unable-delete-device-alias-text": "Įrenginio pseudonimo „{{deviceAlias}}“ ištrinti nepavyko, nes jis naudojamas šiuose valdikliuose:
{{widgetsList}}", + "is-gateway": "Gateway", "overwrite-activity-time": "Perrašyti aktyvumo laiką prijungtam įrenginiui", - "device-filter": "Įrenginių filtras", "device-filter-title": "Įrenginių filtras", "filter-title": "Filtras", "device-state": "Įrenginio būsena", @@ -2229,35 +2874,37 @@ "select-device": "Pasirinkite įrenginį", "select-group-to-add": "Pasirinkite grupę, į kurią norite pridėti pažymėtus įrenginius", "select-group-to-move": "Pasirinkite grupę, į kurią norite perkelti pažymėtus įrenginius", - "remove-devices-from-group": "Ar tikrai norite pašalinti iš grupės '{{entityGroup}}' { count, plural, =1 {1 įrenginį} other {# įrenginius} }?", + "remove-devices-from-group": "Ar tikrai norite pašalinti iš grupės '{{entityGroup}}' { count, plural, =1 {1 įrenginį} one {# įrenginį} few {# įrenginius} other {# įrenginių} }?", "group": "Įrenginių grupė", - "list-of-groups": "{ count, plural, =1 {Viena įrenginio grupė} other {# įrenginių grupių sąrašas} }", - "group-name-starts-with": "Įrenginių grupės, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-groups": "{ count, plural, =1 {Viena įrenginių grupė} one {# įrenginių grupės sąrašas} few {# įrenginių grupių sąrašas} other {# įrenginių grupių sąrašas} }", + "group-name-starts-with": "Įrenginių grupės, kurių pavadinimai prasideda „{{prefix}}“", "import": "Importuoti įrenginį", "device-file": "Įrenginio failas", "search": "Įrenginių paieška", - "selected-devices": "Pasirinkta { count, plural, =1 {1 įrenginys} other {# įrenginiai} }", + "selected-devices": "{ count, plural, =1 {Pasirinktas 1 įrenginys} one {Pasirinktas # įrenginys} few {Pasirinkti # įrenginiai} other {Pasirinkta # įrenginių} }", "device-configuration": "Įrenginio konfigūracija", "transport-configuration": "Transporto konfigūracija", "wizard": { - "device-details": "Informacija apie įrenginį" + "device-details": "Įrenginio informacija" }, - "unassign-devices-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 įrenginį} other {# įrenginius} } nuo Edge?", - "unassign-devices-from-edge-text": "Po patvirtinimo visi pasirinkti įrenginiai bus atsieti ir nebebus pasiekiami per Edge.", + "unassign-devices-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 įrenginį} one {# įrenginį} few {# įrenginius} other {# įrenginių} } nuo Edge egzemplioriaus?", + "unassign-devices-from-edge-text": "Po patvirtinimo visi pasirinkti įrenginiai bus atsieti ir nebebus pasiekiami Edge egzemplioriui.", "time": "Laikas", "connectivity": { "check-connectivity": "Patikrinti ryšį", "device-created-check-connectivity": "Įrenginys sukurtas. Patikrinkime ryšį!", "loading-check-connectivity-command": "Įkeliamos ryšio tikrinimo komandos...", - "use-following-instructions": "Naudokite šias instrukcijas, kad išsiųstumėte telemetriją įrenginio vardu naudodami komandų eilutę (shell).", + "use-following-instructions": "Naudokite šias instrukcijas, kad išsiųstumėte telemetriją įrenginio vardu naudodami komandų eilutę", "execute-following-command": "Vykdykite šią komandą", - "install-curl-windows": "Nuo Windows 10 versijos 17063, cURL įrankis prieinamas pagal numatymą.", - "install-curl-macos": "Nuo Mac OS X 10.2 (Jaguar) versijos, cURL įrankis prieinamas pagal numatymą.", - "install-mqtt-windows": "Naudokite instrukcijas, kad atsisiųstumėte, įdiegtumėte, sukonfigūruotumėte ir paleistumėte „mosquitto_pub“ įrankį.", - "install-coap-client": "Naudokite instrukcijas, kad atsisiųstumėte, įdiegtumėte, sukonfigūruotumėte ir paleistumėte „coap-client“ įrankį.", + "step-execute-following-command": "2 veiksmas. Vykdykite šią komandą", + "step-install-necessary-client-tools": "1 veiksmas. Įdiekite reikiamus kliento įrankius", + "install-curl-windows": "Nuo Windows 10 versijos 17063 cURL įrankis pasiekiamas pagal numatytąją nuostatą", + "install-curl-macos": "Nuo Mac OS X 10.2 6C115 (Jaguar) versijos cURL įrankis pasiekiamas pagal numatytąją nuostatą", + "install-mqtt-windows": "Naudokite instrukcijas, kad atsisiųstumėte, įdiegtumėte, sukonfigūruotumėte ir paleistumėte „mosquitto_pub“ įrankį", + "install-coap-client": "Naudokite instrukcijas, kad atsisiųstumėte, įdiegtumėte, sukonfigūruotumėte ir paleistumėte „coap-client“ įrankį", "install-necessary-client-tools": "Įdiekite būtinus kliento įrankius", - "mqtts-x509-command": "Naudokite šią dokumentaciją, kad prijungtumėte įrenginį per MQTT su X.509 autorizacija.", - "coaps-x509-command": "Naudokite šią dokumentaciją, kad prijungtumėte įrenginį per CoAP (DTLS) su X.509 autorizacija.", + "mqtts-x509-command": "Naudokite šią dokumentaciją, kad prijungtumėte įrenginį per MQTT su X.509 autorizacija", + "coaps-x509-command": "Naudokite šią dokumentaciją, kad prijungtumėte įrenginį per CoAP su DTLS ir X.509 autorizacija", "snmp-command": "Naudokite šią dokumentaciją, kad prijungtumėte įrenginį per SNMP protokolą.", "sparkplug-command": "Naudokite šią dokumentaciją, kad prijungtumėte įrenginį per MQTT Sparkplug protokolą.", "lwm2m-command": "Naudokite šią dokumentaciją, kad prijungtumėte įrenginį per LwM2M protokolą." @@ -2267,7 +2914,7 @@ "property": { "properties": "Savybės", "property": "Savybė", - "id": "Id", + "id": "ID", "name": "Pavadinimas", "type": "Tipas", "type-text": "Tekstas", @@ -2277,7 +2924,7 @@ "type-switch": "Perjungiklis", "type-select": "Pasirinkimas", "type-radios": "Žymimieji mygtukai", - "type-datetime": "Data / Laikas", + "type-datetime": "Data ir laikas", "type-image": "Paveikslėlis", "type-javascript": "JavaScript", "type-json": "JSON", @@ -2290,7 +2937,7 @@ "type-units": "Vienetai", "type-icon": "Piktograma", "type-css-size": "CSS dydis", - "type-fieldset": "Lauko rinkinys (fieldset)", + "type-fieldset": "Laukų rinkinys", "type-array": "Masyvas", "type-html-section": "HTML sekcija", "group-title": "Grupės pavadinimas", @@ -2299,10 +2946,10 @@ "property-settings": "Savybės nustatymai", "remove-property": "Pašalinti savybę", "default-value": "Numatytoji reikšmė", - "value-required": "Reikšmė būtina", + "value-required": "Reikšmė yra privaloma", "number-settings": "Skaičiaus nustatymai", - "min": "Min", - "max": "Maks", + "min": "Min.", + "max": "Maks.", "step": "Žingsnis", "selected-options-limit": "Pasirinktų parinkčių limitas", "advanced-ui-settings": "Išplėstiniai UI nustatymai", @@ -2360,33 +3007,33 @@ "edit": "Redaguoti turto profilį", "asset-profile-details": "Turto profilio informacija", "no-asset-profiles-text": "Turto profilių nerasta", - "search": "Ieškoti turto profilių", - "selected-asset-profiles": "{ count, plural, =1 {1 turto profilis} other {# turto profiliai} } pasirinkta", - "no-asset-profiles-matching": "Turto profilio, atitinkančio '{{entity}}', nerasta.", - "asset-profile-required": "Turto profilis būtinas.", + "search": "Ieškokite turto profilių", + "selected-asset-profiles": "{ count, plural, =1 {Pasirinktas 1 turto profilis} one {Pasirinktas # turto profilis} few {Pasirinkti # turto profiliai} other {Pasirinkta # turto profilių} }", + "no-asset-profiles-matching": "Turto profilio, atitinkančio „{{entity}}“, nerasta.", + "asset-profile-required": "Turto profilis yra privalomas.", "idCopiedMessage": "Turto profilio ID nukopijuotas į iškarpinę", "set-default": "Nustatyti kaip numatytąjį turto profilį", - "delete": "Pašalinti turto profilį", + "delete": "Ištrinti turto profilį", "copyId": "Kopijuoti turto profilio ID", - "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "new-device-profile-name": "Turto profilio pavadinimas", - "new-device-profile-name-required": "Turto profilio pavadinimas būtinas.", + "new-device-profile-name-required": "Turto profilio pavadinimas yra privalomas.", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas.", + "name-required": "Pavadinimas yra privalomas.", "image": "Turto profilio paveikslėlis", "description": "Aprašymas", "default": "Numatytasis", "default-rule-chain": "Numatytoji taisyklių grandinė", "default-edge-rule-chain": "Numatytoji Edge taisyklių grandinė", - "default-edge-rule-chain-hint": "Naudojama Edge aplinkoje apdoroti gaunamus duomenis turtui, kuris priklauso šiam profiliui.", + "default-edge-rule-chain-hint": "Naudojama Edge aplinkoje apdoroti gaunamus duomenis turtui, kuris priklauso šiam profiliui", "mobile-dashboard": "Mobilusis skydelis", - "mobile-dashboard-hint": "Naudojamas mobiliojoje programėlėje kaip turto informacijos skydelis.", + "mobile-dashboard-hint": "Naudojamas mobiliojoje programėlėje kaip turto informacijos skydelis", "select-queue-hint": "Pasirinkite iš išskleidžiamojo sąrašo.", - "delete-asset-profile-title": "Ar tikrai norite pašalinti turto profilį '{{assetProfileName}}'?", + "delete-asset-profile-title": "Ar tikrai norite ištrinti turto profilį „{{assetProfileName}}“?", "delete-asset-profile-text": "Būkite atsargūs, po patvirtinimo turto profilis ir visi su juo susiję duomenys bus negrįžtamai pašalinti.", - "delete-asset-profiles-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 turto profilį} other {# turto profilius} }?", + "delete-asset-profiles-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 turto profilį} one {# turto profilį} few {# turto profilius} other {# turto profilių} }?", "delete-asset-profiles-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti turto profiliai ir susiję duomenys bus negrįžtamai pašalinti.", - "set-default-asset-profile-title": "Ar tikrai norite nustatyti turto profilį '{{assetProfileName}}' kaip numatytąjį?", + "set-default-asset-profile-title": "Ar tikrai norite nustatyti turto profilį „{{assetProfileName}}“ kaip numatytąjį?", "set-default-asset-profile-text": "Po patvirtinimo šis turto profilis bus pažymėtas kaip numatytasis ir bus naudojamas naujiems turtams, kuriems nenurodytas profilis.", "no-asset-profiles-found": "Turto profilių nerasta.", "create-new-asset-profile": "Sukurti naują!", @@ -2405,49 +3052,49 @@ "edit": "Redaguoti įrenginio profilį", "device-profile-details": "Įrenginio profilio informacija", "no-device-profiles-text": "Įrenginių profilių nerasta", - "search": "Ieškoti įrenginių profilių", - "selected-device-profiles": "{ count, plural, =1 {1 įrenginio profilis} other {# įrenginių profiliai} } pasirinkta", - "no-device-profiles-matching": "Įrenginio profilio, atitinkančio '{{entity}}', nerasta.", - "device-profile-required": "Įrenginio profilis būtinas.", + "search": "Ieškokite įrenginių profilių", + "selected-device-profiles": "{ count, plural, =1 {Pasirinktas 1 įrenginio profilis} one {Pasirinktas # įrenginio profilis} few {Pasirinkti # įrenginių profiliai} other {Pasirinkta # įrenginių profilių} }", + "no-device-profiles-matching": "Įrenginio profilio, atitinkančio „{{entity}}“, nerasta.", + "device-profile-required": "Įrenginio profilis yra privalomas.", "idCopiedMessage": "Įrenginio profilio ID nukopijuotas į iškarpinę", "set-default": "Nustatyti kaip numatytąjį įrenginio profilį", - "delete": "Pašalinti įrenginio profilį", + "delete": "Ištrinti įrenginio profilį", "copyId": "Kopijuoti įrenginio profilio ID", - "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas.", + "name-required": "Pavadinimas yra privalomas.", "type": "Profilio tipas", - "type-required": "Profilio tipas būtinas.", + "type-required": "Profilio tipas yra privalomas.", "type-default": "Numatytasis", "image": "Įrenginio profilio paveikslėlis", - "transport-type": "Perdavimo tipas", - "transport-type-required": "Perdavimo tipas būtinas.", + "transport-type": "Transporto tipas", + "transport-type-required": "Transporto tipas yra privalomas.", "transport-type-default": "Numatytasis", - "transport-type-default-hint": "Palaiko pagrindinius MQTT, HTTP ir CoAP perdavimo tipus.", + "transport-type-default-hint": "Palaiko pagrindinį MQTT, HTTP ir CoAP transportą", "transport-type-mqtt": "MQTT", - "transport-type-mqtt-hint": "Įjungia išplėstinius MQTT perdavimo nustatymus.", + "transport-type-mqtt-hint": "Įjungia išplėstinius MQTT transporto nustatymus", "transport-type-coap": "CoAP", - "transport-type-coap-hint": "Įjungia išplėstinius CoAP perdavimo nustatymus.", + "transport-type-coap-hint": "Įjungia išplėstinius CoAP transporto nustatymus", "transport-type-lwm2m": "LWM2M", - "transport-type-lwm2m-hint": "LWM2M perdavimo tipas.", + "transport-type-lwm2m-hint": "LWM2M transporto tipas", "transport-type-snmp": "SNMP", - "transport-type-snmp-hint": "Nustatykite SNMP perdavimo konfigūraciją.", + "transport-type-snmp-hint": "Nustatykite SNMP transporto konfigūraciją", "transport-type-http": "HTTP", "description": "Aprašymas", "default": "Numatytasis", "profile-configuration": "Profilio konfigūracija", - "transport-configuration": "Perdavimo konfigūracija", + "transport-configuration": "Transporto konfigūracija", "default-rule-chain": "Numatytoji taisyklių grandinė", "default-edge-rule-chain": "Numatytoji Edge taisyklių grandinė", - "default-edge-rule-chain-hint": "Naudojama Edge aplinkoje apdoroti duomenis, gaunamus iš įrenginių, naudojančių šį profilį.", + "default-edge-rule-chain-hint": "Naudojama Edge aplinkoje apdoroti duomenis, gaunamus iš įrenginių, naudojančių šį profilį", "mobile-dashboard": "Mobilusis skydelis", - "mobile-dashboard-hint": "Naudojamas mobiliojoje programėlėje kaip įrenginio informacijos skydelis.", + "mobile-dashboard-hint": "Naudojamas mobiliojoje programėlėje kaip įrenginio informacijos skydelis", "select-queue-hint": "Pasirinkite iš išskleidžiamojo sąrašo.", - "delete-device-profile-title": "Ar tikrai norite pašalinti įrenginio profilį '{{deviceProfileName}}'?", + "delete-device-profile-title": "Ar tikrai norite ištrinti įrenginio profilį „{{deviceProfileName}}“?", "delete-device-profile-text": "Būkite atsargūs, po patvirtinimo įrenginio profilis ir visi susiję duomenys, įskaitant OTA atnaujinimus, bus negrįžtamai pašalinti.", - "delete-device-profiles-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 įrenginio profilį} other {# įrenginių profilius} }?", + "delete-device-profiles-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 įrenginio profilį} one {# įrenginio profilį} few {# įrenginių profilius} other {# įrenginių profilių} }?", "delete-device-profiles-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti įrenginių profiliai ir susiję duomenys, įskaitant OTA atnaujinimus, bus negrįžtamai pašalinti.", - "set-default-device-profile-title": "Ar tikrai norite nustatyti įrenginio profilį '{{deviceProfileName}}' kaip numatytąjį?", + "set-default-device-profile-title": "Ar tikrai norite nustatyti įrenginio profilį „{{deviceProfileName}}“ kaip numatytąjį?", "set-default-device-profile-text": "Po patvirtinimo šis įrenginio profilis bus pažymėtas kaip numatytasis ir bus naudojamas naujiems įrenginiams, kuriems profilis nenurodytas.", "no-device-profiles-found": "Įrenginių profilių nerasta.", "create-new-device-profile": "Sukurti naują!", @@ -2461,117 +3108,117 @@ "mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-proto": "Protobuf", "mqtt-enable-compatibility-with-json-payload-format": "Įjungti suderinamumą su kitais duomenų formatais.", - "mqtt-enable-compatibility-with-json-payload-format-hint": "Įjungus šią parinktį, platforma pagal nutylėjimą naudos Protobuf formatą. Jei analizė nepavyks, bus naudojamas JSON. Naudinga pereinant nuo JSON prie Protobuf atnaujinant programinę įrangą. Rekomenduojama išjungti, kai visi įrenginiai bus atnaujinti.", - "mqtt-use-json-format-for-default-downlink-topics": "Naudoti JSON formatą numatytosioms atsiuntimo temoms", - "mqtt-use-json-format-for-default-downlink-topics-hint": "Kai įjungta, platforma naudos JSON formatą siųsdama atributus ir RPC per temas v1/devices/me/.... Tai neturi įtakos naujoms (v2) temoms.", - "mqtt-send-ack-on-validation-exception": "Siųsti PUBACK, kai PUBLISH žinutės validacija nesėkminga", - "mqtt-send-ack-on-validation-exception-hint": "Pagal numatymą platforma nutraukia MQTT sesiją, kai žinutės validacija nesėkminga. Įjungus šią parinktį, vietoj to bus siunčiamas patvirtinimas.", + "mqtt-enable-compatibility-with-json-payload-format-hint": "Įjungus šią parinktį, platforma kaip numatytąjį naudos Protobuf duomenų formatą. Jei analizė nepavyks, platforma bandys naudoti JSON duomenų formatą. Naudinga atgaliniam suderinamumui užtikrinti atnaujinant programinę aparatinę įrangą. Pavyzdžiui, pradinė programinės aparatinės įrangos versija naudoja JSON, o naujoji – Protobuf. Atnaujinant viso įrenginių parko programinę aparatinę įrangą, būtina vienu metu palaikyti ir Protobuf, ir JSON. Suderinamumo režimas šiek tiek sumažina našumą, todėl rekomenduojama jį išjungti, kai visi įrenginiai bus atnaujinti.", + "mqtt-use-json-format-for-default-downlink-topics": "Naudoti JSON formatą numatytosioms Downlink temoms", + "mqtt-use-json-format-for-default-downlink-topics-hint": "Kai įjungta, platforma naudos JSON duomenų formatą siųsdama atributus ir RPC šiomis temomis: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. Šis nustatymas neturi įtakos atributų ir RPC prenumeratoms, siunčiamoms naujomis (v2) temomis: v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Čia $request_id yra sveikasis užklausos identifikatorius.", + "mqtt-send-ack-on-validation-exception": "Siųsti PUBACK, kai PUBLISH žinutės patikra nepavyksta", + "mqtt-send-ack-on-validation-exception-hint": "Pagal numatytąją nuostatą, nepavykus žinutės patikrai, platforma uždaro MQTT sesiją. Įjungus šią parinktį, platforma vietoj sesijos uždarymo išsiųs publikavimo patvirtinimą.", "mqtt-protocol-version": "Protokolo versija", "snmp-add-mapping": "Pridėti SNMP atvaizdavimą", - "snmp-mapping-not-configured": "OID atvaizdavimas į telemetriją/atributus nesukonfigūruotas", - "snmp-timseries-or-attribute-name": "Telemetrijos/atributo pavadinimas atvaizdavimui", - "snmp-timseries-or-attribute-type": "Telemetrijos/atributo tipas atvaizdavimui", + "snmp-mapping-not-configured": "OID atvaizdavimas į laiko eilutes/telemetriją nesukonfigūruotas", + "snmp-timseries-or-attribute-name": "Laiko eilutės/atributo pavadinimas atvaizdavimui", + "snmp-timseries-or-attribute-type": "Laiko eilutės/atributo tipas atvaizdavimui", "snmp-method-pdu-type-get-request": "GetRequest", "snmp-method-pdu-type-get-next-request": "GetNextRequest", "snmp-oid": "OID", "transport-device-payload-type-json": "JSON", "transport-device-payload-type-proto": "Protobuf", - "mqtt-payload-type-required": "Duomenų formatas būtinas.", + "mqtt-payload-type-required": "Duomenų formatas yra privalomas.", "coap-device-type": "CoAP įrenginio tipas", "coap-device-payload-type": "CoAP įrenginio duomenų formatas", - "coap-device-type-required": "CoAP įrenginio tipas būtinas.", + "coap-device-type-required": "CoAP įrenginio tipas yra privalomas.", "coap-device-type-default": "Numatytasis", "coap-device-type-efento": "Efento NB-IoT", - "support-level-wildcards": "Palaikomi vieno lygmens [+] ir kelių lygių [#] pakaitos simboliai.", + "support-level-wildcards": "Palaikomi vieno lygio [+] ir kelių lygių [#] pakaitos simboliai.", "telemetry-topic-filter": "Telemetrijos temų filtras", - "telemetry-topic-filter-required": "Telemetrijos temų filtras būtinas.", + "telemetry-topic-filter-required": "Telemetrijos temų filtras yra privalomas.", "attributes-topic-filter": "Atributų publikavimo temų filtras", "attributes-subscribe-topic-filter": "Atributų prenumeratos temų filtras", - "attributes-topic-filter-required": "Atributų publikavimo temų filtras būtinas.", - "attributes-subscribe-topic-filter-required": "Atributų prenumeratos tema būtina.", + "attributes-topic-filter-required": "Atributų publikavimo temų filtras yra privalomas.", + "attributes-subscribe-topic-filter-required": "Atributų prenumeratos tema yra privaloma", "telemetry-proto-schema": "Telemetrijos Protobuf schema", - "telemetry-proto-schema-required": "Telemetrijos Protobuf schema būtina.", + "telemetry-proto-schema-required": "Telemetrijos Protobuf schema yra privaloma.", "attributes-proto-schema": "Atributų Protobuf schema", - "attributes-proto-schema-required": "Atributų Protobuf schema būtina.", + "attributes-proto-schema-required": "Atributų Protobuf schema yra privaloma.", "rpc-response-proto-schema": "RPC atsakymo Protobuf schema", - "rpc-response-proto-schema-required": "RPC atsakymo Protobuf schema būtina.", + "rpc-response-proto-schema-required": "RPC atsakymo Protobuf schema yra privaloma.", "rpc-response-topic-filter": "RPC atsakymo temų filtras", - "rpc-response-topic-filter-required": "RPC atsakymo temų filtras būtinas.", + "rpc-response-topic-filter-required": "RPC atsakymo temų filtras yra privalomas.", "rpc-request-proto-schema": "RPC užklausos Protobuf schema", - "rpc-request-proto-schema-required": "RPC užklausos Protobuf schema būtina.", + "rpc-request-proto-schema-required": "RPC užklausos Protobuf schema yra privaloma.", "rpc-request-proto-schema-hint": "RPC užklausos žinutėje visada turi būti laukeliai: string method = 1; int32 requestId = 2; ir params = 3 (bet kokio tipo).", - "not-valid-pattern-topic-filter": "Netinkamas temų filtro šablonas.", - "not-valid-single-character": "Netinkamas vieno lygmens pakaitos simbolio naudojimas.", - "not-valid-multi-character": "Netinkamas kelių lygių pakaitos simbolio naudojimas.", - "single-level-wildcards-hint": "[+] galima naudoti bet kuriame temų filtro lygyje, pvz. v1/devices/+/telemetry.", - "multi-level-wildcards-hint": "[#] turi būti paskutinis simbolis, pvz. # arba v1/devices/me/#.", + "not-valid-pattern-topic-filter": "Netinkamas temų filtro šablonas", + "not-valid-single-character": "Netinkamas vieno lygio pakaitos simbolio naudojimas", + "not-valid-multi-character": "Netinkamas kelių lygių pakaitos simbolio naudojimas", + "single-level-wildcards-hint": "[+] galima naudoti bet kuriame temų filtro lygyje, pvz.: v1/devices/+/telemetry arba +/devices/+/attributes.", + "multi-level-wildcards-hint": "[#] gali pakeisti visą temų filtrą ir turi būti paskutinis temos simbolis, pvz.: # arba v1/devices/me/#.", "alarm-rules": "Įspėjimų taisyklės", "alarm-rules-with-count": "Įspėjimų taisyklės ({{count}})", - "no-alarm-rules": "Įspėjimų taisyklių nesukonfigūruota.", + "no-alarm-rules": "Įspėjimų taisyklių nesukonfigūruota", "add-alarm-rule": "Pridėti įspėjimo taisyklę", "edit-alarm-rule": "Redaguoti įspėjimo taisyklę", "alarm-type": "Įspėjimo tipas", - "alarm-type-required": "Įspėjimo tipas būtinas.", + "alarm-type-required": "Įspėjimo tipas yra privalomas.", "alarm-type-unique": "Įspėjimo tipas turi būti unikalus šiame profilyje.", - "alarm-type-max-length": "Įspėjimo tipo pavadinimas turi būti trumpesnis nei 256 simboliai.", + "alarm-type-max-length": "Įspėjimo tipas turi būti trumpesnis nei 256 simboliai", "create-alarm-pattern": "Sukurti {{alarmType}} įspėjimą", "create-alarm-rules": "Sukurti įspėjimo taisykles", - "no-create-alarm-rules": "Sukūrimo sąlygų nėra.", + "no-create-alarm-rules": "Sukūrimo sąlygų nėra", "add-create-alarm-rule-prompt": "Pridėkite įspėjimo sukūrimo sąlygą", "clear-alarm-rule": "Išvalyti įspėjimo taisyklę", "no-clear-alarm-rule": "Nėra išvalymo sąlygų", "add-create-alarm-rule": "Pridėti sukūrimo sąlygą", "add-clear-alarm-rule": "Pridėti išvalymo sąlygą", - "select-alarm-severity": "Pasirinkite įspėjimo rimtumą", - "alarm-severity-required": "Įspėjimo rimtumas būtinas.", + "select-alarm-severity": "Pasirinkite įspėjimo svarbą", + "alarm-severity-required": "Įspėjimo svarba yra privaloma.", "condition-duration": "Sąlygos trukmė", "condition-duration-value": "Trukmės reikšmė", "condition-duration-time-unit": "Laiko vienetas", "condition-duration-value-range": "Trukmės reikšmė turi būti nuo 1 iki 2147483647.", "condition-duration-value-pattern": "Trukmės reikšmė turi būti sveikasis skaičius.", - "condition-duration-value-required": "Trukmės reikšmė būtina.", - "condition-duration-time-unit-required": "Laiko vienetas būtinas.", + "condition-duration-value-required": "Trukmės reikšmė yra privaloma.", + "condition-duration-time-unit-required": "Laiko vienetas yra privalomas.", "advanced-settings": "Išplėstiniai nustatymai", "alarm-rule-additional-info": "Papildoma informacija", "edit-alarm-rule-additional-info": "Redaguoti papildomą informaciją", - "alarm-rule-additional-info-placeholder": "Pateikite komentarus ar pastabas, kurios bus rodomos įspėjimo informacijos skiltyje „Papildoma informacija“.", - "alarm-rule-additional-info-hint": "Patarimas: naudokite ${keyName} norėdami įtraukti atributų ar telemetrijos reikšmes.", - "alarm-rule-mobile-dashboard": "Mobilusis įspėjimų skydelis", - "alarm-rule-mobile-dashboard-hint": "Naudojamas mobiliojoje programėlėje kaip įspėjimo detalių skydelis.", - "alarm-rule-no-mobile-dashboard": "Skydelis nepasirinktas.", - "propagate-alarm": "Platinti įspėjimą susijusiems subjektams", - "alarm-rule-relation-types-list": "Ryšių tipai, kuriems platinti įspėjimą", - "alarm-rule-relation-types-list-hint": "Jei nenurodyta, įspėjimai bus platinami be filtravimo pagal ryšių tipą.", - "propagate-alarm-to-owner": "Platinti įspėjimą subjekto savininkui (klientui ar nuomininkui)", - "propagate-alarm-to-owner-hierarchy": "Platinti įspėjimą savininkų hierarchijai", - "propagate-alarm-to-tenant": "Platinti įspėjimą nuomininkui", + "alarm-rule-additional-info-placeholder": "Čia pateikite savo komentarus ir pataisymus, kad jie būtų rodomi įspėjimo informacijoje, skiltyje „Papildoma informacija“", + "alarm-rule-additional-info-hint": "Patarimas: naudokite ${keyName}, kad įterptumėte atributų arba telemetrijos raktų, naudojamų įspėjimo taisyklės sąlygoje, reikšmes.", + "alarm-rule-mobile-dashboard": "Mobilusis skydelis", + "alarm-rule-mobile-dashboard-hint": "Naudojamas mobiliojoje programėlėje kaip įspėjimo informacijos skydelis", + "alarm-rule-no-mobile-dashboard": "Skydelis nepasirinktas", + "propagate-alarm": "Perduoti įspėjimą susijusiems subjektams", + "alarm-rule-relation-types-list": "Ryšių tipai", + "alarm-rule-relation-types-list-hint": "Nurodo ryšių tipus susijusiems subjektams filtruoti. Jei nenustatyta, įspėjimas bus perduotas visiems susijusiems subjektams.", + "propagate-alarm-to-owner": "Perduoti įspėjimą subjekto savininkui (klientui arba nuomininkui)", + "propagate-alarm-to-owner-hierarchy": "Perduoti įspėjimą subjekto savininkų hierarchijai", + "propagate-alarm-to-tenant": "Perduoti įspėjimą nuomininkui", "alarm-rule-condition": "Įspėjimo sąlyga", "enter-alarm-rule-condition-prompt": "Pridėkite įspėjimo sąlygą", "edit-alarm-rule-condition": "Redaguoti įspėjimo sąlygą", - "device-provisioning": "Įrenginių paruošimas (provisioning)", + "device-provisioning": "Įrenginių paruošimas", "provision-strategy": "Paruošimo strategija", - "provision-strategy-required": "Paruošimo strategija būtina.", + "provision-strategy-required": "Paruošimo strategija yra privaloma.", "provision-strategy-disabled": "Išjungta", "provision-strategy-created-new": "Leisti kurti naujus įrenginius", "provision-strategy-check-pre-provisioned": "Tikrinti iš anksto paruoštus įrenginius", "provision-device-key": "Įrenginio paruošimo raktas", - "provision-device-key-required": "Įrenginio paruošimo raktas būtinas.", + "provision-device-key-required": "Įrenginio paruošimo raktas yra privalomas.", "copy-provision-key": "Kopijuoti paruošimo raktą", - "provision-key-copied-message": "Paruošimo raktas nukopijuotas į iškarpinę.", - "provision-device-secret": "Įrenginio paruošimo slaptas kodas", - "provision-device-secret-required": "Įrenginio paruošimo slaptas kodas būtinas.", - "copy-provision-secret": "Kopijuoti slaptą kodą", - "provision-secret-copied-message": "Slaptas kodas nukopijuotas į iškarpinę.", + "provision-key-copied-message": "Paruošimo raktas nukopijuotas į iškarpinę", + "provision-device-secret": "Įrenginio paruošimo slaptasis raktas", + "provision-device-secret-required": "Įrenginio paruošimo slaptasis raktas yra privalomas.", + "copy-provision-secret": "Kopijuoti paruošimo slaptąjį raktą", + "provision-secret-copied-message": "Paruošimo slaptasis raktas nukopijuotas į iškarpinę", "provision-strategy-x509": { "certificate-chain": "X509 sertifikatų grandinė", "certificate-chain-hint": "X.509 strategija naudojama įrenginiams paruošti naudojant dvipusį TLS ryšį ir kliento sertifikatus.", "allow-create-new-devices": "Leisti kurti naujus įrenginius", - "allow-create-new-devices-hint": "Jei pažymėta, nauji įrenginiai bus kuriami, o kliento sertifikatas naudojamas kaip įrenginio įgaliojimai.", + "allow-create-new-devices-hint": "Jei pažymėta, nauji įrenginiai bus kuriami, o kliento sertifikatas naudojamas kaip įrenginio prisijungimo duomenys.", "certificate-value": "Sertifikatas PEM formatu", - "certificate-value-required": "Sertifikatas PEM formatu būtinas.", + "certificate-value-required": "Sertifikatas PEM formatu yra privalomas", "cn-regex-variable": "CN reguliariosios išraiškos kintamasis", - "cn-regex-variable-required": "CN reguliariosios išraiškos kintamasis būtinas.", - "cn-regex-variable-hint": "Naudojamas įrenginio pavadinimui gauti iš X509 sertifikato 'Common Name' lauko." + "cn-regex-variable-required": "CN reguliariosios išraiškos kintamasis yra privalomas", + "cn-regex-variable-hint": "Naudojamas įrenginio pavadinimui gauti iš X509 sertifikato „Common Name“ lauko." }, "condition": "Sąlyga", "condition-type": "Sąlygos tipas", @@ -2580,15 +3227,15 @@ "condition-during": "Per {{during}}", "condition-during-dynamic": "Per „{{attribute}}“ ({{during}})", "condition-type-repeating": "Pasikartojanti", - "condition-type-required": "Sąlygos tipas būtinas.", + "condition-type-required": "Sąlygos tipas yra privalomas.", "condition-repeating-value": "Įvykių skaičius", "condition-repeating-value-range": "Įvykių skaičius turi būti nuo 1 iki 2147483647.", "condition-repeating-value-pattern": "Įvykių skaičius turi būti sveikasis skaičius.", - "condition-repeating-value-required": "Įvykių skaičius būtinas.", - "condition-repeat-times": "Kartojasi { count, plural, =1 {1 kartą} other {# kartus} }", - "condition-repeat-times-dynamic": "Kartojasi „{attribute}“ ({ count, plural, =1 {1 kartą} other {# kartus} })", + "condition-repeating-value-required": "Įvykių skaičius yra privalomas.", + "condition-repeat-times": "Kartojasi { count, plural, =1 {1 kartą} one {# kartą} few {# kartus} other {# kartų} }", + "condition-repeat-times-dynamic": "Kartojasi „{attribute}“ ({ count, plural, =1 {1 kartą} one {# kartą} few {# kartus} other {# kartų} })", "schedule-type": "Tvarkaraščio tipas", - "schedule-type-required": "Tvarkaraščio tipas būtinas.", + "schedule-type-required": "Tvarkaraščio tipas yra privalomas.", "schedule": "Tvarkaraštis", "edit-schedule": "Redaguoti įspėjimo tvarkaraštį", "schedule-any-time": "Aktyvus visą laiką", @@ -2607,7 +3254,7 @@ "schedule-time": "Laikas", "schedule-time-from": "Nuo", "schedule-time-to": "Iki", - "schedule-days-of-week-required": "Reikia pasirinkti bent vieną savaitės dieną.", + "schedule-days-of-week-required": "Turi būti pasirinkta bent viena savaitės diena.", "create-device-profile": "Sukurti naują įrenginio profilį", "import": "Importuoti įrenginio profilį", "export": "Eksportuoti įrenginio profilį", @@ -2617,47 +3264,50 @@ "power-saving-mode": "Energijos taupymo režimas", "power-saving-mode-type": { "default": "Naudoti įrenginio profilio energijos taupymo režimą", - "psm": "Power Saving Mode (PSM)", - "drx": "Discontinuous Reception (DRX)", - "edrx": "Extended Discontinuous Reception (eDRX)" + "psm": "Energijos taupymo režimas (PSM)", + "drx": "Pertraukiamas priėmimas (DRX)", + "edrx": "Išplėstinis pertraukiamas priėmimas (eDRX)" }, "edrx-cycle": "eDRX ciklas", - "edrx-cycle-required": "eDRX ciklas būtinas.", + "edrx-cycle-required": "eDRX ciklas yra privalomas.", "edrx-cycle-pattern": "eDRX ciklas turi būti teigiamas sveikasis skaičius.", - "edrx-cycle-min": "Minimalus eDRX ciklo skaičius – {{ min }} sekundžių.", + "edrx-cycle-min": "Minimalus eDRX ciklas – {{ min }} s.", "paging-transmission-window": "Puslapiavimo perdavimo langas", - "paging-transmission-window-required": "Puslapiavimo perdavimo langas būtinas.", + "paging-transmission-window-required": "Puslapiavimo perdavimo langas yra privalomas.", "paging-transmission-window-pattern": "Puslapiavimo perdavimo langas turi būti teigiamas sveikasis skaičius.", - "paging-transmission-window-min": "Minimalus puslapiavimo perdavimo langas – {{ min }} sekundžių.", + "paging-transmission-window-min": "Minimalus puslapiavimo perdavimo langas – {{ min }} s.", "psm-activity-timer": "PSM aktyvumo laikmatis", - "psm-activity-timer-required": "PSM aktyvumo laikmatis būtinas.", + "psm-activity-timer-required": "PSM aktyvumo laikmatis yra privalomas.", "psm-activity-timer-pattern": "PSM aktyvumo laikmatis turi būti teigiamas sveikasis skaičius.", - "psm-activity-timer-min": "Minimalus PSM aktyvumo laikmatis – {{ min }} sekundžių.", + "psm-activity-timer-min": "Minimalus PSM aktyvumo laikmatis – {{ min }} s.", "lwm2m": { "object-list": "Objektų sąrašas", "object-list-empty": "Objektai nepasirinkti.", "no-objects-found": "Objektų nerasta.", - "no-objects-matching": "Objektų, atitinkančių '{{object}}', nerasta.", + "no-objects-matching": "Objektų, atitinkančių „{{object}}“, nerasta.", "model-tab": "LWM2M modelis", "add-new-instances": "Pridėti naujus egzempliorius", "instances-list": "Egzempliorių sąrašas", - "instances-list-required": "Egzempliorių sąrašas būtinas.", + "instances-list-required": "Egzempliorių sąrašas yra privalomas.", "instance-id-pattern": "Egzemplioriaus ID turi būti teigiamas sveikasis skaičius.", "instance-id-max": "Didžiausia egzemplioriaus ID reikšmė – {{max}}.", "instance": "Egzempliorius", - "resource-label": "#ID Išteklius (Resource name)", + "resource-label": "#ID Ištekliaus pavadinimas", "observe-label": "Stebėjimas", "attribute-label": "Atributas", "telemetry-label": "Telemetrija", + "select-all-attribute": "Pasirinkti visus atributus", + "select-all-telemetry": "Pasirinkti visą telemetriją", + "select-all-observe": "Pasirinkti visus stebimus", "edit-observe-select": "Norėdami redaguoti stebėjimą, pasirinkite telemetriją arba atributą", "edit-attributes-select": "Norėdami redaguoti atributus, pasirinkite telemetriją arba atributą", "no-attributes-set": "Atributai nenustatyti", "key-name": "Rakto pavadinimas", - "key-name-required": "Rakto pavadinimas būtinas.", + "key-name-required": "Rakto pavadinimas yra privalomas", "attribute-name": "Atributo pavadinimas", - "attribute-name-required": "Atributo pavadinimas būtinas.", + "attribute-name-required": "Atributo pavadinimas yra privalomas.", "attribute-value": "Atributo reikšmė", - "attribute-value-required": "Atributo reikšmė būtina.", + "attribute-value-required": "Atributo reikšmė yra privaloma.", "attribute-value-pattern": "Atributo reikšmė turi būti teigiamas sveikasis skaičius.", "edit-attributes": "Redaguoti atributus: {{ name }}", "view-attributes": "Peržiūrėti atributus: {{ name }}", @@ -2666,62 +3316,63 @@ "view-attribute": "Peržiūrėti atributą", "remove-attribute": "Pašalinti atributą", "delete-server-text": "Būkite atsargūs – po patvirtinimo serverio konfigūracija bus negrįžtamai prarasta.", - "delete-server-title": "Ar tikrai norite pašalinti serverį?", + "delete-server-title": "Ar tikrai norite ištrinti serverį?", "mode": "Saugumo konfigūracijos režimas", "bootstrap-tab": "Bootstrap", - "bootstrap-server-legend": "Bootstrap Server (Trumpasis ID...)", - "lwm2m-server-legend": "LwM2M Server (Trumpasis ID...)", + "bootstrap-server-legend": "Bootstrap serveris (Trumpasis ID...)", + "lwm2m-server-legend": "LwM2M serveris (Trumpasis ID...)", "server": "Serveris", "short-id": "Trumpasis serverio ID", - "short-id-tooltip": "Trumpasis serverio ID naudojamas LwM2M serverio egzemplioriaus susiejimui.\nŠis identifikatorius unikalus kiekvienam LwM2M klientui.\nReikšmė privaloma, kai Bootstrap-Server parametras yra 'false'.\nVertės ID:0 ir ID:65535 negali būti naudojamos LwM2M serverio identifikavimui.", - "short-id-tooltip-bootstrap": "Trumpasis serverio ID naudojamas LwM2M serverio egzemplioriaus susiejimui.\nPrivaloma reikšmė, kai Bootstrap-Server parametras yra 'false'.", - "short-id-required": "Trumpasis serverio ID būtinas.", + "short-id-tooltip": "Trumpasis serverio ID naudojamas LwM2M serverio egzemplioriaus susiejimui.\nŠis identifikatorius vienareikšmiškai identifikuoja kiekvieną LwM2M klientui sukonfigūruotą LwM2M serverį.\nReikšmė privaloma, kai Bootstrap-Server parametras yra 'false'.\nReikšmės ID:0 ir ID:65535 negali būti naudojamos LwM2M serverio identifikavimui.", + "short-id-tooltip-bootstrap": "Trumpasis serverio ID naudojamas LwM2M serverio egzemplioriaus susiejimui.\nŠis identifikatorius vienareikšmiškai identifikuoja kiekvieną LwM2M klientui sukonfigūruotą LwM2M serverį.\nPrivaloma reikšmė, kai Bootstrap-Server parametras yra 'false'.", + "short-id-required": "Trumpasis serverio ID yra privalomas.", "short-id-range": "Trumpasis serverio ID turi būti tarp {{ min }} ir {{ max }}.", "short-id-pattern": "Trumpasis serverio ID turi būti teigiamas sveikasis skaičius.", + "short-id-pattern-bs": "Trumpasis serverio ID gali būti tik null", "lifetime": "Kliento registracijos trukmė", - "lifetime-required": "Kliento registracijos trukmė būtina.", + "lifetime-required": "Kliento registracijos trukmė yra privaloma.", "lifetime-pattern": "Kliento registracijos trukmė turi būti teigiamas sveikasis skaičius.", "default-min-period": "Minimalus laikotarpis tarp dviejų pranešimų (s)", - "default-min-period-tooltip": "Numatytoji vertė, kurią LwM2M klientas turėtų naudoti minimaliam stebėjimo laikotarpiui, jei parametras nenurodytas.", - "default-min-period-required": "Minimalus laikotarpis būtinas.", + "default-min-period-tooltip": "Numatytoji reikšmė, kurią LwM2M klientas turėtų naudoti kaip minimalų stebėjimo laikotarpį, jei stebėjimo užklausoje šis parametras nenurodytas.", + "default-min-period-required": "Minimalus laikotarpis yra privalomas.", "default-min-period-pattern": "Minimalus laikotarpis turi būti teigiamas sveikasis skaičius.", "notification-storing": "Pranešimų saugojimas, kai įrenginys išjungtas arba neprisijungęs", - "binding": "Susiejimas (Binding)", + "binding": "Susiejimas", "binding-type": { "u": "U: Klientas pasiekiamas per UDP ryšį bet kuriuo metu.", "m": "M: Klientas pasiekiamas per MQTT ryšį bet kuriuo metu.", "h": "H: Klientas pasiekiamas per HTTP ryšį bet kuriuo metu.", "t": "T: Klientas pasiekiamas per TCP ryšį bet kuriuo metu.", "s": "S: Klientas pasiekiamas per SMS ryšį bet kuriuo metu.", - "n": "N: Klientas turi siųsti atsakymą naudodamas Non-IP ryšį (palaikoma nuo LWM2M 1.1).", - "uq": "UQ: UDP ryšys eilės režimu (nepalaikoma nuo LWM2M 1.1).", - "uqs": "UQS: aktyvus tiek UDP, tiek SMS ryšys; UDP eilės režimu, SMS standartiniu režimu (nepalaikoma nuo LWM2M 1.1).", - "tq": "TQ: TCP ryšys eilės režimu (nepalaikoma nuo LWM2M 1.1).", - "tqs": "TQS: aktyvus tiek TCP, tiek SMS ryšys; TCP eilės režimu, SMS standartiniu režimu (nepalaikoma nuo LWM2M 1.1).", - "sq": "SQ: SMS ryšys eilės režimu (nepalaikoma nuo LWM2M 1.1)." + "n": "N: Klientas turi siųsti atsakymą į tokią užklausą per Non-IP ryšį (palaikoma nuo LWM2M 1.1).", + "uq": "UQ: UDP ryšys eilės režimu (nepalaikoma nuo LWM2M 1.1)", + "uqs": "UQS: aktyvus tiek UDP, tiek SMS ryšys; UDP eilės režimu, SMS standartiniu režimu (nepalaikoma nuo LWM2M 1.1)", + "tq": "TQ: TCP ryšys eilės režimu (nepalaikoma nuo LWM2M 1.1)", + "tqs": "TQS: aktyvus tiek TCP, tiek SMS ryšys; TCP eilės režimu, SMS standartiniu režimu (nepalaikoma nuo LWM2M 1.1)", + "sq": "SQ: SMS ryšys eilės režimu (nepalaikoma nuo LWM2M 1.1)" }, - "binding-tooltip": "Tai yra sąrašas iš LwM2M serverio objekto „binding“ ištekliaus - /1/x/7.\nNurodo palaikomus ryšio (binding) režimus LwM2M kliente.\nŠi reikšmė TURĖTŲ sutapti su „Supported Binding and Modes“ ištekliaus reikšme įrenginio objekte (/3/0/16).\nNors palaikomi keli transportavimo protokolai, visos sesijos metu galima naudoti tik vieną ryšio būdą.\nPavyzdžiui, kai palaikomi UDP ir SMS, LwM2M klientas ir serveris gali naudoti tik vieną — arba UDP, arba SMS — visos sesijos metu.", + "binding-tooltip": "Tai yra sąrašas iš LwM2M serverio objekto „binding“ ištekliaus - /1/x/7.\nNurodo palaikomus ryšio režimus LwM2M kliente.\nŠi reikšmė TURĖTŲ sutapti su „Supported Binding and Modes“ ištekliaus reikšme įrenginio objekte (/3/0/16).\nNors palaikomi keli transportavimo protokolai, visos sesijos metu galima naudoti tik vieną ryšio būdą.\nPavyzdžiui, kai palaikomi UDP ir SMS, LwM2M klientas ir serveris gali naudoti tik vieną — arba UDP, arba SMS — visos sesijos metu.", "bootstrap-server": "Bootstrap serveris", "lwm2m-server": "LwM2M serveris", "include-bootstrap-server": "Įtraukti Bootstrap serverio atnaujinimus", "bootstrap-update-title": "Bootstrap serveris jau sukonfigūruotas. Ar tikrai norite pašalinti atnaujinimus?", "bootstrap-update-text": "Būkite atsargūs — po patvirtinimo Bootstrap serverio konfigūracija bus negrįžtamai prarasta.", - "server-host": "Serverio adresas (Host)", - "server-host-required": "Serverio adresas būtinas.", - "server-port": "Prievadas (Port)", - "server-port-required": "Prievadas būtinas.", + "server-host": "Serverio adresas", + "server-host-required": "Serverio adresas yra privalomas.", + "server-port": "Prievadas", + "server-port-required": "Prievadas yra privalomas.", "server-port-pattern": "Prievadas turi būti teigiamas sveikasis skaičius.", - "server-port-range": "Prievadas turi būti tarp 1 ir 65535.", + "server-port-range": "Prievadas turi būti nuo 1 iki 65535.", "server-public-key": "Serverio viešasis raktas", - "server-public-key-required": "Serverio viešasis raktas būtinas.", - "client-hold-off-time": "Kliento atidėjimo laikas (Hold Off Time)", - "client-hold-off-time-required": "Kliento atidėjimo laikas būtinas.", + "server-public-key-required": "Serverio viešasis raktas yra privalomas.", + "client-hold-off-time": "Kliento atidėjimo laikas", + "client-hold-off-time-required": "Kliento atidėjimo laikas yra privalomas.", "client-hold-off-time-pattern": "Kliento atidėjimo laikas turi būti teigiamas sveikasis skaičius.", - "client-hold-off-time-tooltip": "Naudojamas tik su Bootstrap serveriu – nurodo laukimo laiką prieš registraciją.", - "account-after-timeout": "Sąskaita po pasibaigusio laiko (Account after timeout)", - "account-after-timeout-required": "„Account after timeout“ reikšmė būtina.", - "account-after-timeout-pattern": "„Account after timeout“ turi būti teigiamas sveikasis skaičius.", - "account-after-timeout-tooltip": "Bootstrap serverio „Account after timeout“ reikšmė, apibrėžianti veiksmą po nurodyto laiko.", + "client-hold-off-time-tooltip": "Naudojamas tik su Bootstrap serveriu – nurodo laukimo laiką prieš registraciją", + "account-after-timeout": "Paskyros galiojimo laikas", + "account-after-timeout-required": "Paskyros galiojimo laikas yra privalomas.", + "account-after-timeout-pattern": "Paskyros galiojimo laikas turi būti teigiamas sveikasis skaičius.", + "account-after-timeout-tooltip": "Laikas, kuriam praėjus Bootstrap serverio paskyra pašalinama; nurodomas šiame ištekliuje.", "server-type": "Serverio tipas", "add-new-server-title": "Pridėti naują serverio konfigūraciją", "add-server-config": "Pridėti serverio konfigūraciją", @@ -2730,24 +3381,24 @@ "others-tab": "Kiti nustatymai", "ota-update": "OTA atnaujinimas", "use-object-19-for-ota-update": "Naudoti objektą 19 OTA failo metaduomenims (kontrolinė suma, dydis, versija, pavadinimas)", - "use-object-19-for-ota-update-hint": "Naudokite išteklių ObjectId = 19 OTA atnaujinimams: Firmware → InstanceId = 65534, Software → InstanceId = 65535. Duomenų formatas – JSON, užkoduotas Base64 formatu. JSON faile pateikiama OTA metainformacija: „Checksum“ (SHA256). Papildomi laukai: „Title“ (pavadinimas), „Version“ (versija), „File Name“ (failo pavadinimas), „File Size“ (dydis baitais).", + "use-object-19-for-ota-update-hint": "Naudokite išteklių ObjectId = 19 OTA atnaujinimams: programinė aparatinė įranga → InstanceId = 65534, programinė įranga → InstanceId = 65535. Duomenų formatas – JSON, užkoduotas Base64 formatu. Šiame JSON pateikiama OTA failo metainformacija: „Checksum“ (SHA256). Papildomi laukai: „Title“ (OTA pavadinimas), „Version“ (OTA versija), „File Name“ (failo pavadinimas, kuriuo OTA saugomas kliente), „File Size“ (OTA dydis baitais).", "client-strategy": "Kliento strategija jungiantis", "client-strategy-label": "Strategija", "client-strategy-only-observe": "Tik „Observe“ užklausos klientui po pradinio prisijungimo", "client-strategy-read-all": "Perskaityti visus išteklius ir siųsti „Observe“ užklausas po registracijos", - "fw-update": "Programinės aparatinės įrangos (Firmware) atnaujinimas", - "fw-update-strategy": "Firmware atnaujinimo strategija", - "fw-update-strategy-data": "Įkelti firmware kaip dvejetainį failą naudojant objektą 19 ir išteklių 0 (Data)", - "fw-update-strategy-package": "Įkelti firmware kaip dvejetainį failą naudojant objektą 5 ir išteklių 0 (Package)", - "fw-update-strategy-package-uri": "Automatiškai sugeneruoti unikalų CoAP URL firmware parsisiuntimui ir naudoti objektą 5 bei išteklių 1 (Package URI)", - "sw-update": "Programinės įrangos (Software) atnaujinimas", - "sw-update-strategy": "Software atnaujinimo strategija", + "fw-update": "Programinės aparatinės įrangos atnaujinimas", + "fw-update-strategy": "Programinės aparatinės įrangos atnaujinimo strategija", + "fw-update-strategy-data": "Įkelti programinės aparatinės įrangos atnaujinimą kaip dvejetainį failą naudojant objektą 19 ir išteklių 0 (Data)", + "fw-update-strategy-package": "Įkelti programinės aparatinės įrangos atnaujinimą kaip dvejetainį failą naudojant objektą 5 ir išteklių 0 (Package)", + "fw-update-strategy-package-uri": "Automatiškai sugeneruoti unikalų CoAP URL paketui atsisiųsti ir įkelti programinės aparatinės įrangos atnaujinimą kaip objektą 5 ir išteklių 1 (Package URI)", + "sw-update": "Programinės įrangos atnaujinimas", + "sw-update-strategy": "Programinės įrangos atnaujinimo strategija", "sw-update-strategy-package": "Įkelti dvejetainį failą naudojant objektą 9 ir išteklių 2 (Package)", - "sw-update-strategy-package-uri": "Automatiškai sugeneruoti unikalų CoAP URL programos parsisiuntimui ir naudoti objektą 9 bei išteklių 3 (Package URI)", - "fw-update-resource": "Firmware atnaujinimo CoAP išteklius", - "fw-update-resource-required": "Firmware atnaujinimo CoAP išteklius būtinas.", - "sw-update-resource": "Software atnaujinimo CoAP išteklius", - "sw-update-resource-required": "Software atnaujinimo CoAP išteklius būtinas.", + "sw-update-strategy-package-uri": "Automatiškai sugeneruoti unikalų CoAP URL paketui atsisiųsti ir įkelti programinės įrangos atnaujinimą naudojant objektą 9 ir išteklių 3 (Package URI)", + "fw-update-resource": "Programinės aparatinės įrangos atnaujinimo CoAP išteklius", + "fw-update-resource-required": "Programinės aparatinės įrangos atnaujinimo CoAP išteklius yra privalomas.", + "sw-update-resource": "Programinės įrangos atnaujinimo CoAP išteklius", + "sw-update-resource-required": "Programinės įrangos atnaujinimo CoAP išteklius yra privalomas.", "config-json-tab": "JSON konfigūracijos profilis", "attributes-name": { "min-period": "Minimalus periodas", @@ -2758,7 +3409,7 @@ "min-evaluation-period": "Minimalus vertinimo periodas", "max-evaluation-period": "Maksimalus vertinimo periodas" }, - "default-object-id": "Numatytoji Objekto Versija (Atributas)", + "default-object-id": "Numatytoji objekto versija (atributas)", "default-object-id-ver": { "v1-0": "1.0", "v1-1": "1.1", @@ -2767,60 +3418,62 @@ "observe-strategy": { "observe-strategy": "Stebėjimo strategija", "single": "Atskiras", - "single-description": "Vienas stebėjimo užklausimas vienam ištekliui (didesnis tikslumas, daugiau tinklo srauto)", + "single-description": "Viena stebėjimo užklausa kiekvienam ištekliui (didesnis tikslumas, daugiau tinklo srauto)", "composite-all": "Bendras (visi ištekliai)", "composite-all-description": "Visi ištekliai stebimi naudojant vieną bendrą stebėjimo užklausą (efektyviau, bet mažiau lankstu)", "composite-by-object": "Pagal objektus", "composite-by-object-description": "Ištekliai grupuojami pagal objektų tipus ir stebimi naudojant atskiras bendras stebėjimo užklausas (subalansuotas metodas)" - } + }, + "init-attr-tel-as-obs-strategy": "Inicijuoti atributus ir telemetriją naudojant stebėjimo strategiją", + "init-attr-tel-as-obs-strategy-hint": "Jei netiesa - atributai ir telemetrija inicijuojami nuskaitant jų reikšmes po vieną.\\nJei tiesa - atributai ir telemetrija inicijuojami prenumeruojant jų reikšmes naudojant stebėjimo strategiją." }, "snmp": { "add-communication-config": "Pridėti ryšio konfigūraciją", "add-mapping": "Pridėti susiejimą", - "authentication-passphrase": "Autentifikacijos slaptažodis", - "authentication-passphrase-required": "Autentifikacijos slaptažodis būtinas.", - "authentication-protocol": "Autentifikacijos protokolas", - "authentication-protocol-required": "Autentifikacijos protokolas būtinas.", + "authentication-passphrase": "Autentifikavimo slaptažodis", + "authentication-passphrase-required": "Autentifikavimo slaptažodis yra privalomas.", + "authentication-protocol": "Autentifikavimo protokolas", + "authentication-protocol-required": "Autentifikavimo protokolas yra privalomas.", "communication-configs": "Ryšio konfigūracijos", - "community": "Bendruomenės eilutė (Community string)", - "community-required": "Bendruomenės eilutė būtina.", + "community": "Bendruomenės eilutė", + "community-required": "Bendruomenės eilutė yra privaloma.", "context-name": "Konteksto pavadinimas", "data-key": "Duomenų raktas", - "data-key-required": "Duomenų raktas būtinas.", + "data-key-required": "Duomenų raktas yra privalomas.", "data-type": "Duomenų tipas", - "data-type-required": "Duomenų tipas būtinas.", - "engine-id": "Variklio ID (Engine ID)", - "host": "Serveris / įrenginys (Host)", - "host-required": "Serverio / įrenginio pavadinimas būtinas.", - "oid": "OID (Objekto identifikatorius)", + "data-type-required": "Duomenų tipas yra privalomas.", + "engine-id": "Variklio ID", + "host": "Serveris / įrenginys", + "host-required": "Serveris / įrenginys yra privalomas.", + "oid": "OID", "oid-pattern": "Neteisingas OID formatas.", - "oid-required": "OID būtinas.", - "please-add-communication-config": "Pridėkite ryšio konfigūraciją.", - "please-add-mapping-config": "Pridėkite susiejimo konfigūraciją.", - "port": "Prievadas (Port)", + "oid-required": "OID yra privalomas.", + "please-add-communication-config": "Pridėkite ryšio konfigūraciją", + "please-add-mapping-config": "Pridėkite atvaizdavimo konfigūraciją", + "port": "Prievadas", "port-format": "Neteisingas prievado formatas.", - "port-required": "Prievadas būtinas.", + "port-required": "Prievadas yra privalomas.", "privacy-passphrase": "Privatumo slaptažodis", - "privacy-passphrase-required": "Privatumo slaptažodis būtinas.", + "privacy-passphrase-required": "Privatumo slaptažodis yra privalomas.", "privacy-protocol": "Privatumo protokolas", - "privacy-protocol-required": "Privatumo protokolas būtinas.", + "privacy-protocol-required": "Privatumo protokolas yra privalomas.", "protocol-version": "Protokolo versija", - "protocol-version-required": "Protokolo versija būtina.", + "protocol-version-required": "Protokolo versija yra privaloma.", "querying-frequency": "Užklausų dažnis, ms", "querying-frequency-invalid-format": "Užklausų dažnis turi būti teigiamas sveikasis skaičius.", - "querying-frequency-required": "Užklausų dažnis būtinas.", - "retries": "Bandymų skaičius (Retries)", + "querying-frequency-required": "Užklausų dažnis yra privalomas.", + "retries": "Bandymų skaičius", "retries-invalid-format": "Bandymų skaičius turi būti teigiamas sveikasis skaičius.", - "retries-required": "Bandymų skaičius būtinas.", - "scope": "Apimtis (Scope)", - "scope-required": "Apimtis būtina.", + "retries-required": "Bandymų skaičius yra privalomas.", + "scope": "Taikymo sritis", + "scope-required": "Taikymo sritis yra privaloma.", "security-name": "Saugos pavadinimas", - "security-name-required": "Saugos pavadinimas būtinas.", + "security-name-required": "Saugos pavadinimas yra privalomas.", "timeout-ms": "Laiko limitas, ms", "timeout-ms-invalid-format": "Laiko limitas turi būti teigiamas sveikasis skaičius.", - "timeout-ms-required": "Laiko limitas būtinas.", - "user-name": "Vartotojo vardas", - "user-name-required": "Vartotojo vardas būtinas." + "timeout-ms-required": "Laiko limitas yra privalomas.", + "user-name": "Naudotojo vardas", + "user-name-required": "Naudotojo vardas yra privalomas." } }, "dialog": { @@ -2834,222 +3487,868 @@ }, "edge": { "all": "Visi", - "all-edges": "Visi Edge įrenginiai", + "all-edges": "Visi Edge egzemplioriai", "groups": "Grupės", "shared": "Bendrinami", - "edge": "Edge įrenginys", - "edge-instances": "Edge instancijos", - "instances": "Instancijos", + "edge": "Edge", + "edge-instances": "Edge egzemplioriai", + "instances": "Egzemplioriai", + "edges": "Edge egzemplioriai", + "profiles": "Profiliai", + "templates": "Šablonai", + "rule-chain": "Taisyklių grandinė", + "integration": "Integracija", + "converter": "Keitiklis", "edge-file": "Edge failas", - "name-max-length": "Pavadinimas negali viršyti 256 simbolių.", - "label-max-length": "Etiketė negali viršyti 256 simbolių.", - "type-max-length": "Tipas negali viršyti 256 simbolių.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", + "label-max-length": "Etiketė turi būti trumpesnė nei 256 simboliai", + "type-max-length": "Tipas turi būti trumpesnis nei 256 simboliai", "management": "Edge valdymas", - "no-edges-matching": "Edge įrenginių, atitinkančių '{{entity}}', nerasta.", - "add": "Pridėti Edge įrenginį", - "no-edges-text": "Edge įrenginių nerasta.", - "edge-details": "Edge įrenginio informacija", - "add-edge-text": "Pridėti naują Edge įrenginį", - "delete": "Panaikinti Edge įrenginį", - "delete-edge-title": "Ar tikrai norite panaikinti Edge įrenginį '{{edgeName}}'?", - "delete-edge-text": "Po patvirtinimo Edge įrenginys ir visa su juo susijusi informacija bus negrįžtamai panaikinta.", - "delete-edges-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 Edge įrenginį} other {# Edge įrenginius} }?", - "delete-edges-text": "Po patvirtinimo visi pasirinkti Edge įrenginiai ir jų duomenys bus negrįžtamai panaikinti.", + "no-edges-matching": "Edge egzempliorių, atitinkančių „{{entity}}“, nerasta.", + "add": "Pridėti Edge egzempliorių", + "no-edges-text": "Edge egzempliorių nerasta", + "edge-details": "Edge egzemplioriaus informacija", + "add-edge-text": "Pridėti naują Edge egzempliorių", + "delete": "Ištrinti Edge egzempliorių", + "delete-edge-title": "Ar tikrai norite ištrinti Edge egzempliorių „{{edgeName}}“?", + "delete-edge-text": "Būkite atsargūs, po patvirtinimo Edge egzempliorius ir visi susiję duomenys bus negrįžtamai pašalinti.", + "delete-edges-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 Edge egzempliorių} one {# Edge egzempliorių} few {# Edge egzempliorius} other {# Edge egzempliorių} }?", + "delete-edges-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti Edge egzemplioriai ir jų duomenys bus negrįžtamai pašalinti.", "name": "Pavadinimas", - "name-starts-with": "Edge įrenginio pavadinimas prasideda", - "name-required": "Pavadinimas būtinas.", + "name-starts-with": "Edge egzemplioriaus pavadinimas prasideda", + "name-required": "Pavadinimas yra privalomas.", "edge-license-key": "Edge licencijos raktas", - "edge-license-key-required": "Edge licencijos raktas būtinas.", - "edge-license-key-max-length": "Licencijos raktas negali viršyti 31 simbolio.", - "edge-license-key-hint": "SVARBU: numatytasis Edge licencijos raktas skirtas tik vertinimui.
Šis raktas galioja 30 dienų po aktyvacijos.
Norėdami gauti savo licenciją, susisikeite kontaktų puslapyje ir pasirinkite tinkamiausią variantą.", + "edge-license-key-required": "Edge licencijos raktas yra privalomas.", + "edge-license-key-max-length": "Edge licencijos raktas turi būti trumpesnis nei 31 simbolis", + "edge-license-key-hint": "SVARBU: numatytasis Edge licencijos raktas skirtas tik vertinimui.
Šis raktas galioja tik 30 dienų po aktyvavimo. Prekės ženklo tinkinimo funkcija išjungta.
Norėdami gauti licencijos raktą, eikite į kainų puslapį ir pasirinkite jums tinkamiausią licencijos variantą.", "cloud-endpoint": "Cloud galinis taškas", - "cloud-endpoint-required": "Cloud galinis taškas būtinas.", - "cloud-endpoint-max-length": "Cloud galinis taškas negali viršyti 256 simbolių.", - "cloud-endpoint-hint": "Edge turi turėti HTTP(s) prieigą prie Cloud (ThingsBoard) licencijos patikrai. Nurodykite Cloud URL, su kuriuo Edge gali prisijungti.", + "cloud-endpoint-required": "Cloud galinis taškas yra privalomas.", + "cloud-endpoint-max-length": "Cloud galinis taškas turi būti trumpesnis nei 256 simboliai", + "cloud-endpoint-hint": "Edge turi turėti HTTP(s) prieigą prie Cloud (ThingsBoard) licencijos patikrai. Nurodykite Cloud URL, prie kurio Edge gali prisijungti.", "description": "Aprašymas", "details": "Išsami informacija", "events": "Įvykiai", "copy-id": "Kopijuoti Edge ID", "id-copied-message": "Edge ID nukopijuotas į iškarpinę", - "sync": "Sinchronizuoti Edge", - "edge-required": "Edge būtinas.", + "sync": "Sinchronizuoti Edge egzempliorių", + "edge-required": "Edge egzempliorius yra privalomas", "edge-type": "Edge tipas", - "edge-type-required": "Edge tipas būtinas.", + "edge-type-required": "Edge tipas yra privalomas.", "event-action": "Įvykio veiksmas", "entity-id": "Subjekto ID", "select-edge-type": "Pasirinkite Edge tipą", "assign-to-customer": "Priskirti klientui", - "assign-to-customer-text": "Pasirinkite klientą, kuriam norite priskirti Edge įrenginį (-ius)", - "assign-edge-to-customer": "Priskirti Edge įrenginį (-ius) klientui", - "assign-edge-to-customer-text": "Pasirinkite Edge įrenginius, kuriuos norite priskirti klientui", + "assign-to-customer-text": "Pasirinkite klientą, kuriam norite priskirti Edge egzempliorių (-ius)", + "assign-edge-to-customer": "Priskirti Edge egzempliorių (-ius) klientui", + "assign-edge-to-customer-text": "Pasirinkite Edge egzempliorius, kuriuos norite priskirti klientui", "assignedToCustomer": "Priskirta klientui", - "edge-public": "Edge yra viešas", + "edge-public": "Edge egzempliorius yra viešas", "assigned-to-customer": "Priskirta: {{customerTitle}}", "unassign-from-customer": "Atsieti nuo kliento", - "unassign-edge-title": "Ar tikrai norite atsieti Edge '{{edgeName}}'?", - "unassign-edge-text": "Po patvirtinimo Edge įrenginys bus atsietas ir nepasiekiamas klientui.", - "unassign-edges-title": "Ar tikrai norite atsieti { count, plural, =1 {1 Edge įrenginį} other {# Edge įrenginius} }?", - "unassign-edges-text": "Po patvirtinimo visi pasirinkti Edge įrenginiai bus atsieti nuo kliento.", - "make-public": "Padaryti Edge viešu", - "make-public-edge-title": "Ar tikrai norite Edge '{{edgeName}}' padaryti viešu?", - "make-public-edge-text": "Po patvirtinimo Edge ir visi jo duomenys bus prieinami kitiems vartotojams.", - "make-private": "Padaryti Edge privačiu", + "unassign-edge-title": "Ar tikrai norite atsieti Edge egzempliorių „{{edgeName}}“?", + "unassign-edge-text": "Po patvirtinimo Edge egzempliorius bus atsietas ir nebebus pasiekiamas klientui.", + "unassign-edges-title": "Ar tikrai norite atsieti { count, plural, =1 {1 Edge egzempliorių} one {# Edge egzempliorių} few {# Edge egzempliorius} other {# Edge egzempliorių} }?", + "unassign-edges-text": "Po patvirtinimo visi pasirinkti Edge egzemplioriai bus atsieti ir nebebus pasiekiami klientui.", + "make-public": "Padaryti Edge egzempliorių viešu", + "make-public-edge-title": "Ar tikrai norite Edge egzempliorių „{{edgeName}}“ padaryti viešu?", + "make-public-edge-text": "Po patvirtinimo Edge egzempliorius ir visi jo duomenys bus prieinami kitiems naudotojams.", + "make-private": "Padaryti Edge egzempliorių privačiu", "public": "Viešas", - "make-private-edge-title": "Ar tikrai norite Edge '{{edgeName}}' padaryti privačiu?", - "make-private-edge-text": "Po patvirtinimo Edge ir jo duomenys taps privatūs ir nepasiekiami kitiems vartotojams.", - "import": "Importuoti Edge", + "make-private-edge-title": "Ar tikrai norite Edge egzempliorių „{{edgeName}}“ padaryti privačiu?", + "make-private-edge-text": "Po patvirtinimo Edge egzempliorius ir jo duomenys taps privatūs ir nepasiekiami kitiems naudotojams.", + "import": "Importuoti Edge egzempliorių", "install-connect-instructions": "Diegimo ir prijungimo instrukcijos", - "install-connect-instructions-edge-created": "Edge sukurtas! Peržiūrėkite diegimo ir prijungimo instrukcijas.", + "install-connect-instructions-edge-created": "Edge egzempliorius sukurtas! Peržiūrėkite diegimo ir prijungimo instrukcijas", "loading-edge-instructions": "Įkeliamos Edge instrukcijos...", "label": "Etiketė", - "load-entity-error": "Nepavyko įkelti duomenų. Subjektas buvo panaikintas.", - "assign-new-edge": "Priskirti naują Edge", - "unassign-from-edge": "Atsieti nuo Edge", + "load-entity-error": "Nepavyko įkelti duomenų. Subjektas buvo ištrintas.", + "assign-new-edge": "Priskirti naują Edge egzempliorių", + "unassign-from-edge": "Atsieti nuo Edge egzemplioriaus", "edge-key": "Edge raktas", "copy-edge-key": "Kopijuoti Edge raktą", "edge-key-copied-message": "Edge raktas nukopijuotas į iškarpinę", "edge-secret": "Edge slaptas raktas", "copy-edge-secret": "Kopijuoti Edge slaptą raktą", "edge-secret-copied-message": "Edge slaptas raktas nukopijuotas į iškarpinę", - "manage-assets": "Valdyti turtą (assets)", + "manage-assets": "Valdyti turtą", "manage-devices": "Valdyti įrenginius", - "manage-entity-views": "Valdyti subjekto rodinius", + "manage-entity-views": "Valdyti subjektų rodinius", "manage-dashboards": "Valdyti skydelius", - "manage-rulechains": "Valdyti taisyklių grandines (rule chains)", + "manage-rulechains": "Valdyti taisyklių grandines", "assets": "Edge turtas", "devices": "Edge įrenginiai", - "entity-views": "Edge subjekto rodiniai", + "entity-views": "Edge subjektų rodiniai", "dashboard": "Edge skydelis", "dashboards": "Edge skydeliai", "rulechain-templates": "Taisyklių grandinių šablonai", "edge-rulechain-templates": "Edge taisyklių grandinių šablonai", - "converter-templates": "Konverterių šablonai", - "edge-converter-templates": "Edge konverterių šablonai", + "converter-templates": "Keitiklių šablonai", + "edge-converter-templates": "Edge keitiklių šablonai", "integration-templates": "Integracijų šablonai", "edge-integration-templates": "Edge integracijų šablonai", "rulechains": "Edge taisyklių grandinės", "integrations": "Integracijos", - "search": "Ieškoti Edge įrenginių", - "selected-edges": "Pasirinkta { count, plural, =1 {1 Edge įrenginys} other {# Edge įrenginiai} }", - "any-edge": "Bet kuris Edge įrenginys", - "no-edge-types-matching": "Edge tipų, atitinkančių '{{entitySubtype}}', nerasta.", + "search": "Ieškokite Edge egzempliorių", + "selected-edges": "{ count, plural, =1 {Pasirinktas 1 Edge egzempliorius} one {Pasirinktas # Edge egzempliorius} few {Pasirinkti # Edge egzemplioriai} other {Pasirinkta # Edge egzempliorių} }", + "any-edge": "Bet kuris Edge egzempliorius", + "no-edge-types-matching": "Edge tipų, atitinkančių „{{entitySubtype}}“, nerasta.", "edge-type-list-empty": "Edge tipai nepasirinkti.", "edge-types": "Edge tipai", "enter-edge-type": "Įveskite Edge tipą", "deployed": "Įdiegtas", "pending": "Laukia", - "downlinks": "Downlink ryšiai", - "no-downlinks-prompt": "Downlink ryšių nerasta.", + "downlinks": "Downlink žinutės", + "no-downlinks-prompt": "Downlink žinučių nerasta", "sync-process-started-successfully": "Sinchronizacija sėkmingai pradėta!", - "missing-related-rule-chains-title": "Edge trūksta susijusių taisyklių grandinių", - "missing-related-rule-chains-text": "Edge priskirtos taisyklių grandinės naudoja mazgus, nukreipiančius į kitų grandinių žinutes, kurios nėra priskirtos šiam Edge.

Trūkstamų grandinių sąrašas:
{{missingRuleChains}}", + "missing-related-rule-chains-title": "Edge egzemplioriui trūksta susijusių taisyklių grandinių", + "missing-related-rule-chains-text": "Edge egzemplioriui priskirtos taisyklių grandinės naudoja taisyklių mazgus, kurie persiunčia žinutes į šiam Edge egzemplioriui nepriskirtas taisyklių grandines.

Trūkstamų taisyklių grandinių sąrašas:
{{missingRuleChains}}", "widget-datasource-error": "Šis valdiklis palaiko tik EDGE subjekto duomenų šaltinius", - "assign-to-edge": "Priskirti Edge įrenginiui", - "assign-to-edge-title": "Priskirti subjekto grupes Edge įrenginiui", - "manage-edge-user-groups": "Valdyti Edge vartotojų grupes", + "assign-to-edge": "Priskirti Edge egzemplioriui", + "assign-to-edge-title": "Priskirti subjektų grupes Edge egzemplioriui", + "manage-edge-user-groups": "Valdyti Edge naudotojų grupes", "manage-edge-asset-groups": "Valdyti Edge turto grupes", "manage-edge-device-groups": "Valdyti Edge įrenginių grupes", - "manage-edge-entity-view-groups": "Valdyti Edge subjekto rodinių grupes", + "manage-edge-entity-view-groups": "Valdyti Edge subjektų rodinių grupes", "manage-edge-dashboard-groups": "Valdyti Edge skydelių grupes", "manage-edge-rule-chains": "Valdyti Edge taisyklių grandines", "manage-edge-integrations": "Valdyti Edge integracijas", - "manage-edge-scheduler-events": "Valdyti Edge planavimo įvykius", - "select-group-to-add": "Pasirinkite grupę, į kurią pridėti pasirinktus Edge įrenginius", - "select-group-to-move": "Pasirinkite grupę, į kurią perkelti pasirinktus Edge įrenginius", - "remove-edges-from-group": "Ar tikrai norite iš grupės '{{entityGroup}}' pašalinti { count, plural, =1 {1 Edge įrenginį} other {# Edge įrenginius} }?", + "manage-edge-scheduler-events": "Valdyti Edge planuoklės įvykius", + "select-group-to-add": "Pasirinkite tikslinę grupę, į kurią pridėti pasirinktus Edge egzempliorius", + "select-group-to-move": "Pasirinkite tikslinę grupę, į kurią perkelti pasirinktus Edge egzempliorius", + "remove-edges-from-group": "Ar tikrai norite iš grupės '{{entityGroup}}' pašalinti { count, plural, =1 {1 Edge egzempliorių} one {# Edge egzempliorių} few {# Edge egzempliorius} other {# Edge egzempliorių} }?", "group": "Edge grupė", - "list-of-groups": "{ count, plural, =1 {Viena Edge grupė} other {# Edge grupių sąrašas} }", - "group-name-starts-with": "Edge grupės, kurių pavadinimai prasideda '{{prefix}}'", - "unassign-entity-group-from-edge-title": "Are you sure you want to unassign the entity group '{{ entityGroupName }}'?", - "unassign-entity-group-from-edge-text": "After the confirmation the entity group will be unassigned and won't be accessible by the edge.", - "unassign-entity-group-from-edge": "Unassign entity group from edge", - "unassign-entity-groups-from-edge-title": "Are you sure you want to unassign {{count}} entity groups?", - "unassign-entity-groups-from-edge-text": "After the confirmation entity groups will be unassigned and won't be accessible by the edge.", - "unassign-entity-groups-from-edge": "Unassign entity groups from edge", - "unassign-scheduler-events-from-edge": "Unassign scheduler events from edge", - "unassign-scheduler-event-from-edge-title": "Are you sure you want to unassign scheduler event '{{schedulerEventName}}'?", - "unassign-scheduler-event-from-edge-text": "After the confirmation the scheduler event will be unassigned and won't be accessible by the edge.", - "unassign-scheduler-events-from-edge-title": "Are you sure you want to unassign { count, plural, =1 {1 scheduler event} other {# scheduler events} }?", - "unassign-scheduler-events-from-edge-text": "After the confirmation all selected scheduler events will be unassigned and won't be accessible by the edge.", - "manage-user-groups": "Administruoti vartotojų grupes", - "manage-asset-groups": "Administruoti turto grupes", + "list-of-groups": "{ count, plural, =1 {Viena Edge grupė} one {# Edge grupės sąrašas} few {# Edge grupių sąrašas} other {# Edge grupių sąrašas} }", + "group-name-starts-with": "Edge grupės, kurių pavadinimai prasideda „{{prefix}}“", + "unassign-entity-group-from-edge-title": "Ar tikrai norite atsieti subjektų grupę „{{ entityGroupName }}“?", + "unassign-entity-group-from-edge-text": "Po patvirtinimo subjektų grupė bus atsieta ir nebebus pasiekiama Edge egzemplioriui.", + "unassign-entity-group-from-edge": "Atsieti subjektų grupę nuo Edge egzemplioriaus", + "unassign-entity-groups-from-edge-title": "Ar tikrai norite atsieti pasirinktas subjektų grupes ({{count}})?", + "unassign-entity-groups-from-edge-text": "Po patvirtinimo subjektų grupės bus atsietos ir nebebus pasiekiamos Edge egzemplioriui.", + "unassign-entity-groups-from-edge": "Atsieti subjektų grupes nuo Edge egzemplioriaus", + "unassign-scheduler-events-from-edge": "Atsieti planuoklės įvykius nuo Edge egzemplioriaus", + "unassign-scheduler-event-from-edge-title": "Ar tikrai norite atsieti planuoklės įvykį „{{schedulerEventName}}“?", + "unassign-scheduler-event-from-edge-text": "Po patvirtinimo planuoklės įvykis bus atsietas ir nebebus pasiekiamas Edge egzemplioriui.", + "unassign-scheduler-events-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 planuoklės įvykį} one {# planuoklės įvykį} few {# planuoklės įvykius} other {# planuoklės įvykių} }?", + "unassign-scheduler-events-from-edge-text": "Po patvirtinimo visi pasirinkti planuoklės įvykiai bus atsieti ir nebebus pasiekiami Edge egzemplioriui.", + "manage-user-groups": "Valdyti naudotojų grupes", + "manage-asset-groups": "Valdyti turto grupes", "manage-device-groups": "Valdyti įrenginių grupes", - "manage-dashboard-groups": "Tvarkyti skydelių grupes", - "manage-entity-view-groups": "Tvarkyti subjektų rodinių grupes", - "manage-scheduler-events": "Tvarkyti planuoklės įvykius", - "manage-integrations": "Tvarkyti integracijas", - "assign-scheduler-event-to-edge-title": "Assign Scheduler Events To Edge", - "assign-scheduler-event-to-edge-text": "Please select the scheduler events to assign to the edge", - "assign-entity-groups-to-edge-text": "Please select the entity groups to assign to the edge", - "assign-integration-to-edge-title": "Assign Integrations To Edge", - "assign-integration-to-edge-text": "Please select the integrations to assign to the edge", - "missing-attributes-title": "Edge has missing attribute(s)", - "missing-attributes-text": "Integration(s), assigned to edge, have attribute placeholders that are not available on this edge.

List of missing edge attributes(s):
{{missingEdgeAttributes}}", - "missing-all-related-attributes-title": "Edge(s) have missing attribute(s)", - "missing-all-related-attributes-text": "Edge(s), related to integration, don't have attributes that are present inside integration configuration as attribute placeholders.

List of missing edge attributes(s):
{{missingEdgeAttributes}}", - "quick-overview-widget-header": "{{edgeName}} Quick Overview", - "upgrade-instructions": "Atnaujinimo instrukcijos.", + "manage-dashboard-groups": "Valdyti skydelių grupes", + "manage-entity-view-groups": "Valdyti subjektų rodinių grupes", + "manage-scheduler-events": "Valdyti planuoklės įvykius", + "manage-integrations": "Valdyti integracijas", + "assign-scheduler-event-to-edge-title": "Priskirti planuoklės įvykius Edge egzemplioriui", + "assign-scheduler-event-to-edge-text": "Pasirinkite planuoklės įvykius, kuriuos norite priskirti Edge egzemplioriui", + "assign-entity-groups-to-edge-text": "Pasirinkite subjektų grupes, kurias norite priskirti Edge egzemplioriui", + "assign-integration-to-edge-title": "Priskirti integracijas Edge egzemplioriui", + "assign-integration-to-edge-text": "Pasirinkite integracijas, kurias norite priskirti Edge egzemplioriui", + "missing-attributes-title": "Edge egzemplioriui trūksta atributų", + "missing-attributes-text": "Edge egzemplioriui priskirtose integracijose yra atributų žymų, kurių šiame Edge egzemplioriuje nėra.

Trūkstamų Edge atributų sąrašas:
{{missingEdgeAttributes}}", + "missing-all-related-attributes-title": "Edge egzemplioriams trūksta atributų", + "missing-all-related-attributes-text": "Su integracija susiję Edge egzemplioriai neturi atributų, kurie integracijos konfigūracijoje naudojami kaip atributų žymos.

Trūkstamų Edge atributų sąrašas:
{{missingEdgeAttributes}}", + "quick-overview-widget-header": "{{edgeName}} – greita apžvalga", + "upgrade-instructions": "Naujinimo instrukcijos", + "managed-application": "Valdoma programa", + "app-upgrade-available": "Galimas naujinimas", "connected": "Prisijungęs", - "disconnected": "Atsijungęs" + "disconnected": "Atsijungęs", + "auto-provision": "Automatinis paruošimas", + "auto-provision-title": "Automatiškai paruošti Edge egzempliorių", + "auto-provision-subtitle": "Sugeneruokite Docker paleidimo komandą — Edge egzempliorius ir jo Agent egzempliorius sukuriami automatiškai, kai komanda vykdoma tiksliniame kompiuteryje.", + "auto-provision-step-select": "Agent profilis", + "auto-provision-step-script": "Paruošimo skriptas", + "auto-provision-agent-profile-label": "Agent profilis", + "auto-provision-agent-profile-placeholder": "Pasirinkite arba sukurkite Agent profilį", + "auto-provision-no-eligible-profiles": "Tinkamų profilių nerasta. Naudokite mygtuką dešinėje, kad sukurtumėte profilį.", + "auto-provision-create-profile": "Sukurti profilį", + "auto-provision-validating": "Tikrinamas Agent profilis…", + "auto-provision-valid": "Galima paruošti — profiliui „{{profile}}“ priskirtas Edge programos profilis.", + "auto-provision-invalid-strategy": "Šio profilio paruošimo strategija automatiškai neįdiegia programų. Pasirinkite profilį su automatinio diegimo strategija.", + "auto-provision-invalid-no-edge-app-profile": "Šiam profiliui nepriskirtas Edge programos profilis. Naudokite mygtuką, kad jį priskirtumėte.", + "auto-provision-info-title": "Kaip tai veikia", + "auto-provision-info-body": "Sukūrus Agent profilį, sugeneruojama Docker paleidimo komanda. Ją įvykdžius tiksliniame kompiuteryje, ThingsBoard platforma automatiškai sukuria Agent egzempliorių ir su juo susietą Edge subjektą, naudodama į komandą įterptus prisijungimo duomenis. Edge egzempliorius sukonfigūruojamas automatiškai pagal Agent profiliui priskirtą programos profilį. Rankiniu būdu kurti Edge egzemplioriaus nereikia.", + "auto-provision-success-message": "Agent profilis paruoštas. Paleiskite komandą bet kuriame tiksliniame kompiuteryje, kad paruoštumėte naują Edge egzempliorių.", + "auto-provision-script-hint": "Paleiskite šią komandą kiekviename kompiuteryje, kuris turi tapti Edge egzemplioriumi. Kiekvienas paleidimas paruošia vieną Agent ir Edge egzempliorių porą.", + "auto-provision-open-profile": "Atidaryti profilį", + "auto-provision-no-script": "Šiame profilyje trūksta paruošimo prisijungimo duomenų. Atidarykite profilį, kad juos sugeneruotumėte iš naujo." + }, + "agent": { + "agents": "Agent egzemplioriai", + "agent-profiles": "Agent profiliai", + "app-profiles": "Programų profiliai", + "templates": "Šablonai", + "agent-templates": "Agent šablonai", + "add": "Pridėti Agent egzempliorių", + "add-agent-text": "Pridėti naują Agent egzempliorių", + "auto-provision": "Automatinis paruošimas", + "auto-provision-title": "Automatiškai paruošti Agent egzempliorių", + "auto-provision-step-select": "Agent profilis", + "auto-provision-step-script": "Paruošimo skriptas", + "auto-provision-valid": "Galima paruošti — profilyje „{{profile}}“ paruošimas įjungtas.", + "auto-provision-info-title": "Kaip tai veikia", + "auto-provision-info-body": "Sukūrus Agent profilį, sugeneruojama Docker paleidimo komanda. Ją įvykdžius tiksliniame kompiuteryje, ThingsBoard platforma automatiškai sukuria Agent egzempliorių, naudodama į komandą įterptus prisijungimo duomenis. Agent egzempliorius sukonfigūruojamas automatiškai pagal Agent profilį. Rankiniu būdu kurti Agent egzemplioriaus nereikia.", + "auto-provision-success-message": "Agent profilis paruoštas. Paleiskite komandą bet kuriame tiksliniame kompiuteryje, kad paruoštumėte naują Agent egzempliorių.", + "auto-provision-script-hint": "Paleiskite šią komandą kiekviename kompiuteryje, kuriame turi veikti Agent egzempliorius. Kiekvienas paleidimas paruošia vieną Agent egzempliorių.", + "add-profile": "Pridėti Agent profilį", + "add-app-profile": "Pridėti programos profilį", + "add-application": "Pridėti programą", + "agent-details": "Agent egzemplioriaus informacija", + "profile-details": "Agent profilio informacija", + "app-profile-details": "Programos profilio informacija", + "template-details": "Agent šablono informacija", + "application-details": "Programos informacija", + "no-agents-text": "Agent egzempliorių nerasta", + "no-agent-profiles-text": "Agent profilių nerasta", + "no-app-profiles-text": "Programų profilių nerasta", + "no-templates-text": "Agent šablonų nerasta", + "no-applications-text": "Programų nerasta", + "no-events-text": "Įvykių nerasta", + "search": "Ieškokite Agent egzempliorių", + "search-profiles": "Ieškokite Agent profilių", + "search-app-profiles": "Ieškokite programų profilių", + "search-templates": "Ieškokite šablonų", + "search-applications": "Ieškokite programų", + "search-events": "Ieškokite įvykių", + "selected-agents": "{ count, plural, =1 {Pasirinktas 1 Agent egzempliorius} one {Pasirinktas # Agent egzempliorius} few {Pasirinkti # Agent egzemplioriai} other {Pasirinkta # Agent egzempliorių} }", + "selected-agent-profiles": "{ count, plural, =1 {Pasirinktas 1 Agent profilis} one {Pasirinktas # Agent profilis} few {Pasirinkti # Agent profiliai} other {Pasirinkta # Agent profilių} }", + "selected-app-profiles": "{ count, plural, =1 {Pasirinktas 1 programos profilis} one {Pasirinktas # programos profilis} few {Pasirinkti # programų profiliai} other {Pasirinkta # programų profilių} }", + "selected-applications": "{ count, plural, =1 {Pasirinkta 1 programa} one {Pasirinkta # programa} few {Pasirinktos # programos} other {Pasirinkta # programų} }", + "name": "Pavadinimas", + "name-required": "Pavadinimas yra privalomas.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", + "routing-key": "Maršrutizavimo raktas", + "secret": "Slaptasis raktas", + "description": "Aprašymas", + "profile-name": "Profilio pavadinimas", + "profile-name-placeholder": "Gamybos Agent egzemplioriai", + "profile-name-required": "Profilio pavadinimas yra privalomas.", + "provision-type": "Paruošimo tipas", + "provision-key": "Paruošimo raktas", + "provision-secret": "Paruošimo slaptasis raktas", + "app-type": "Programos tipas", + "current-version": "Esama versija", + "next-version": "Kita versija", + "assigned-to-customer": "Priskirtas klientui", + "assign-to-customer": "Priskirti klientui", + "unassign-from-customer": "Atsieti nuo kliento", + "assign-agents-to-customer": "Priskirti Agent egzempliorių (-ius) klientui", + "assign-to-customer-text": "Pasirinkite klientą, kuriam norite priskirti Agent egzempliorių (-ius)", + "unassign-agents-from-customer": "Atsieti Agent egzempliorių (-ius) nuo kliento", + "delete": "Ištrinti Agent egzempliorių", + "delete-profile": "Ištrinti profilį", + "set-default-profile": "Nustatyti kaip numatytąjį Agent profilį", + "set-default-profile-title": "Ar tikrai norite nustatyti Agent profilį „{{profileName}}“ kaip numatytąjį?", + "set-default-profile-text": "Patvirtinus Agent profilis bus pažymėtas kaip numatytasis ir bus naudojamas naujiems Agent egzemplioriams, kuriems nenurodytas profilis.", + "default-profile": "Numatytasis", + "agent-profile-required": "Agent profilis yra privalomas.", + "edit-profile": "Redaguoti Agent profilį", + "no-agent-profiles-found": "Agent profilių nerasta", + "no-agent-profiles-matching": "Agent profilių, atitinkančių „{{entity}}“, nerasta", + "create-new-agent-profile": "Sukurti naują Agent profilį", + "add-profile-step-details": "Profilio informacija", + "add-profile-step-app-profiles": "Programų profiliai", + "add-profile-app-profiles-hint-title": "Kodėl reikia priskirti programų profilius?", + "add-profile-app-profiles-hint": "Priskirti programų profiliai valdo masines operacijas (atnaujinimą, naujinimą, ištrynimą), atliekamas su juos naudojančiomis programomis — programomis, kurias valdo Agent egzemplioriai su profiliu „{{profileName}}“. Pasirinkite esamus programų profilius arba sukurkite naujus čia pat.", + "application-profiles": "Programų profiliai", + "create-new-application-profile": "Sukurti naują programos profilį", + "create-new": "Sukurti naują", + "delete-app-profile": "Ištrinti programos profilį", + "copy-profile-id": "Kopijuoti profilio ID", + "profile-id-copied-message": "Profilio ID nukopijuotas į iškarpinę", + "app-profile-wizard-title": "Sukurti programos profilį", + "app-profile-wizard-edit-title": "Atnaujinti programos profilį", + "app-update-current-config": "Esama programos konfigūracija", + "app-update-future-config": "Būsima programos konfigūracija", + "app-update-edit-profile": "Atnaujinti profilį", + "app-update-compare-hint": "Tik skaitymui skirtas šios programos esamos konfigūracijos (kairėje) ir konfigūracijos, kurią ji gaus iš priskirto profilio su sujungtais prisijungimo duomenimis (dešinėje), palyginimas.", + "app-install-custom-config": "Išplėstinė", + "app-install-from-profile": "Numatytoji", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "ThingsBoard Agent egzempliorius nuotoliniu būdu iš debesies įdiegia, naujina ir stebi šį diegimą — jokių rankinių Docker komandų ar priežiūros tiksliniame kompiuteryje.", + "deploy-select-agent-step": "Pasirinkti Agent egzempliorių", + "deploy-intro": "Įdiekite nuotoliniame kompiuteryje naudodami ThingsBoard Agent egzempliorių. Pasirinkite esamą Agent egzempliorių, veikiantį tiksliniame kompiuteryje, arba sukurkite naują.", + "deploy-agent": "Agent egzempliorius", + "deploy-create-new": "Sukurti naują", + "deploy-no-agents": "Agent egzempliorių nerasta", + "deploy-no-agents-matching": "Nėra Agent egzempliorių, atitinkančių „{{entity}}“", + "deploy-already-managed": "Šį subjektą jau valdo Agent programa „{{name}}“.", + "deploy-open-agent": "Eiti į Agent egzempliorių", + "deploy-open-app": "Eiti į Agent programą", + "deploy-install-step": "Įdiegti", + "deploy-status-hero": "ThingsBoard Agent egzempliorius nuotoliniu būdu iš debesies diegia, naujina ir stebi šį diegimą — jokių rankinių Docker komandų ar priežiūros tiksliniame kompiuteryje.", + "deploy-status-online-title": "Jūsų Agent egzempliorius prisijungęs", + "deploy-status-offline-title": "Jūsų Agent egzempliorius atsijungęs", + "deploy-status-managing": "valdo šį diegimą. Čia jums daugiau nieko daryti nereikia.", + "deploy-status-managing-for": "valdo šį diegimą jau {{duration}}. Čia jums daugiau nieko daryti nereikia.", + "deploy-status-offline-desc": "šiuo metu nepasiekiamas. Ryšys atsinaujins automatiškai, kai Agent egzempliorius vėl prisijungs.", + "deploy-status-duration-days": "{{count}} d.", + "deploy-status-duration-hours": "{{count}} val.", + "deploy-status-duration-minutes": "{{count}} min.", + "deploy-status-healthy": "Veikia", + "deploy-status-unhealthy": "Atsijungęs", + "deploy-status-need-reinstall": "Reikia įdiegti iš naujo?", + "deploy-status-show-install": "Rodyti diegimo komandą", + "deploy-status-hide-install": "Slėpti", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "Šį diegimą valdantis Agent įrenginys — telemetrija ir gyvavimo ciklas.", + "deploy-status-card-app-title": "Agent programa", + "deploy-status-card-app-desc": "Šio Agent egzemplioriaus vykdoma programa — paslaugos, būsena ir žurnalai.", + "deploy-status-card-events-title": "Agent įvykiai", + "deploy-status-card-events-desc": "Tiesioginis diegimų, naujinimų, paleidimų iš naujo ir klaidų srautas.", + "deploy-status-edge-ui-title": "Atidaryti ThingsBoard Edge naudotojo sąsają", + "deploy-status-edge-ui-desc": "Kai Edge paslauga bus paleista, atidarykite Edge žiniatinklio sąsają adresu http://localhost:8080 arba http://localhost:18080, jei ankstesniame žingsnyje pakeitėte HTTP susiejimo prievado konfigūraciją. Prisijunkite naudodami savo nuomininko prisijungimo duomenis iš vietinio ThingsBoard serverio arba ThingsBoard Cloud.", + "app-install-select-profile": "Programos profilis", + "app-install-no-profiles": "Programos profilių nerasta", + "app-install-virtual-profile-badge": "Iš anksto apibrėžtas", + "app-install-virtual-profile-hint": "Šio profilio dar nėra. Jis bus sukurtas automatiškai pagal šabloną, kai jį pasirinksite.", + "app-install-profile-materialize-failed": "Nepavyko sukurti iš anksto apibrėžto programos profilio.", + "quick-start-title": "Greita pradžia — iš anksto apibrėžti profiliai", + "quick-start-subtitle": "Sukurkite paruoštą Edge arba Gateway profilį vienu spustelėjimu. Konfigūruoti nereikia.", + "quick-start-filter-all": "Visi", + "quick-start-all-created": "Visi iš anksto apibrėžti profiliai jau sukurti.", + "quick-start-no-match": "Šį filtrą atitinkančių iš anksto apibrėžtų profilių nėra.", + "quick-start-profile-created": "Programos profilis „{{profileName}}“ sukurtas", + "add-profile-assignments-load-failed": "Nepavyko įkelti šiuo metu priskirtų programos profilių. Išsaugojus esami priskyrimai liks nepakeisti.", + "app-profile-wizard-cta": "Sukurti profilį", + "app-profile-wizard-confirm-info": "Programos profilis bus sukurtas su pasirinktu šablonu ir compose konfigūracija. Vėliau jį galėsite pakeisti profilio informacijos puslapyje.", + "app-profile-name": "Profilio pavadinimas", + "app-profile-name-placeholder-edge": "Silo Edge programos profilis", + "app-profile-name-placeholder-gateway": "Silo Gateway programos profilis", + "app-profile-name-placeholder-generic": "Silo programos profilis", + "app-profile-step-save": "Išsaugoti profilį", + "app-profile-description": "Aprašymas", + "copy-id": "Kopijuoti Agent ID", + "copy-routing-key": "Kopijuoti maršrutizavimo raktą", + "copy-secret": "Kopijuoti slaptąjį raktą", + "copy-provision-key": "Kopijuoti paruošimo raktą", + "copy-provision-secret": "Kopijuoti paruošimo slaptąjį raktą", + "id-copied-message": "Agent ID nukopijuotas į iškarpinę", + "routing-key-copied-message": "Maršrutizavimo raktas nukopijuotas į iškarpinę", + "secret-copied-message": "Slaptasis raktas nukopijuotas į iškarpinę", + "provision-key-copied-message": "Paruošimo raktas nukopijuotas į iškarpinę", + "provision-secret-copied-message": "Paruošimo slaptasis raktas nukopijuotas į iškarpinę", + "delete-agent-title": "Ar tikrai norite ištrinti Agent egzempliorių „{{agentName}}“?", + "delete-agent-text": "Būkite atsargūs, po patvirtinimo Agent egzemplioriaus ir visų susijusių duomenų nebus galima atkurti.", + "delete-agents-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 Agent egzempliorių} one {# Agent egzempliorių} few {# Agent egzempliorius} other {# Agent egzempliorių} }?", + "delete-agents-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti Agent egzemplioriai bus pašalinti, o visų susijusių duomenų nebus galima atkurti.", + "unassign-agent-title": "Ar tikrai norite atsieti Agent egzempliorių „{{agentName}}“ nuo kliento?", + "unassign-agent-text": "Po patvirtinimo Agent egzempliorius bus atsietas ir klientas nebeturės prie jo prieigos.", + "unassign-agents-title": "Ar tikrai norite atsieti { count, plural, =1 {1 Agent egzempliorių} one {# Agent egzempliorių} few {# Agent egzempliorius} other {# Agent egzempliorių} } nuo kliento?", + "unassign-agents-text": "Po patvirtinimo visi pasirinkti Agent egzemplioriai bus atsieti ir klientas nebeturės prie jų prieigos.", + "delete-profile-title": "Ar tikrai norite ištrinti profilį „{{profileName}}“?", + "delete-profile-text": "Būkite atsargūs, po patvirtinimo profilio ir visų susijusių duomenų nebus galima atkurti.", + "delete-profiles-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 profilį} one {# profilį} few {# profilius} other {# profilių} }?", + "delete-profiles-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti profiliai bus pašalinti, o visi susiję duomenys taps neatkuriami.", + "delete-app-profile-title": "Ar tikrai norite ištrinti programos profilį „{{profileName}}“?", + "delete-app-profile-text": "Būkite atsargūs, po patvirtinimo programos profilis ir visi susiję duomenys taps neatkuriami.", + "delete-app-profiles-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 programos profilį} one {# programos profilį} few {# programos profilius} other {# programos profilių} }?", + "delete-app-profiles-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti programų profiliai bus pašalinti, o visi susiję duomenys taps neatkuriami.", + "status": "Būsena", + "online": "Prisijungęs", + "offline": "Atsijungęs", + "app-errors": "Klaidos", + "app-errors-recent": "Paskutiniai klaidų įvykiai ({{count}}):", + "app-errors-open-events": "Spustelėkite, kad atidarytumėte įvykių skirtuką", + "online-hint": "Agent egzempliorius šiuo metu prijungtas prie platformos", + "offline-hint": "Agent egzempliorius neprijungtas prie platformos", + "agent-profile": "Agent profilis", + "no-profile": "Be profilio", + "applications": "Programos", + "manage-applications": "Tvarkyti programas", + "app-name": "Pavadinimas", + "app-template": "Šablonas", + "app-units": "Vienetai", + "app-origin": "Kilmė", + "app-profile-in-sync": "Sinchronizuota su programos profiliu", + "app-profile-in-sync-yes": "Sinchronizuota su programos profiliu", + "app-profile-in-sync-no": "Nesinchronizuota su programos profiliu", + "app-profile-in-sync-na": "Programos profilis nepriskirtas", + "app-upgrade-to": "Naujinti į {{version}}", + "app-restart": "Paleisti iš naujo", + "app-upgrade": "Naujinti", + "app-delete": "Ištrinti", + "app-update": "Atnaujinti", + "app-update-title": "Atnaujinti „{{name}}“?", + "app-update-text": "Nusiųskite išsaugotą konfigūraciją Agent egzemplioriui. Agent egzempliorius iš naujo įdiegs programą pagal naujausią išsaugotą Compose konfigūraciją.", + "app-version-upgrade-available-title": "Galimas naujinimas", + "app-version-mismatch-title": "Šablono versijos neatitikimas", + "app-assign-upgrade-available-text": "Profilis „{{profileName}}“ naudoja šablono versiją {{profileVersion}}, o ši programa – versiją {{appVersion}}. Šiai programai galimas naujinimas į {{profileVersion}}. Priskyrus profilį tiesiogiai, programa bus perjungta į {{profileVersion}} neatlikus naujinimo veiksmų (pvz., duomenų bazės naujinimo scenarijų). Norėdami saugiai pakeisti versiją, naudokite veiksmą „Naujinti“.", + "app-assign-version-mismatch-text": "Profilis „{{profileName}}“ naudoja šablono versiją {{profileVersion}}, tačiau ši programa naudoja versiją {{appVersion}}. Jį priskyrus, programa bus perjungta į {{profileVersion}} neatlikus jokių naujinimo ar grąžinimo į ankstesnę versiją veiksmų, todėl ji gali likti nenuoseklios būsenos. Norėdami saugiai pakeisti versiją, naudokite veiksmą „Naujinti“.", + "app-assign-anyway": "Vis tiek priskirti", + "app-assign-upgrade-first": "Pirmiausia naujinti", + "app-update-drift-title": "Priskirto profilio versija skiriasi", + "app-update-drift-text": "Priskirtas profilis „{{profileName}}“ naudoja šablono versiją {{profileVersion}}, o ši programa – versiją {{appVersion}}. Veiksmas „Atnaujinti“ iš naujo įdiegs programą su esama jos konfigūracija — profilio konfigūracija nebus pritaikyta. Norėdami pereiti į {{profileVersion}}, naudokite veiksmą „Naujinti“.", + "app-update-anyway": "Vis tiek atnaujinti", + "app-profile-drifted-hint": "Profilis naudoja šablono versiją {{version}}. „Atnaujinti“ jos nepritaikys — naudokite „Naujinti“.", + "app-arguments-profile-managed-hint": "Pasirinktinius argumentus valdo priskirtas programos profilis. Redaguokite juos profilio puslapyje.", + "app-current-version": "Esama versija", + "app-profile-version": "Profilio versija", + "app-name-required": "Programos pavadinimas yra privalomas.", + "app-compose": "Docker Compose konfigūracija", + "arguments": "Pasirinktiniai argumentai", + "arguments-hint-prefix": "Vietos rezervavimo ženklai pakeičiami diegimo metu. Compose faile nurodykite juos kaip", + "arguments-empty": "Pasirinktinių argumentų neapibrėžta.", + "arguments-empty-read-title": "Pasirinktinių argumentų neapibrėžta", + "arguments-empty-read-hint": "Compose failas diegiamas su nepakeistomis jo reikšmėmis.", + "arguments-empty-write-title": "Pasirinktinių argumentų dar nėra", + "arguments-empty-write-hint": "Pridėkite vietos rezervavimo ženklą, kad diegimo metu į Compose failą būtų įterpta subjekto atributo arba telemetrijos reikšmė.", + "argument-settings": "Argumento nustatymai", + "argument-add": "Pridėti argumentą", + "argument-remove": "Pašalinti argumentą", + "argument-name": "Pavadinimas", + "argument-name-required": "Argumento pavadinimas yra privalomas.", + "argument-name-pattern": "Leidžiamos tik raidės, skaitmenys ir pabraukimo brūkšniai.", + "argument-name-duplicate": "Argumento pavadinimas jau naudojamas.", + "argument-referenced-as": "Docker Compose konfigūracijoje nurodykite jį kaip", + "argument-source": "Šaltinio tipas", + "argument-target-entity": "Tikslinis subjektas", + "argument-source-agent": "Agent egzempliorius", + "argument-source-owner": "Savininkas", + "argument-source-related-entity": "Susijęs subjektas", + "argument-source-tenant": "Esamas nuomininkas", + "argument-source-device": "Įrenginys", + "argument-source-asset": "Turtas", + "argument-source-customer": "Klientas", + "argument-source-edge": "Edge egzempliorius", + "argument-source-entity-device": "Įrenginys", + "argument-source-entity-asset": "Turtas", + "argument-source-entity-customer": "Klientas", + "argument-source-entity-edge": "Edge egzempliorius", + "argument-value-type": "Reikšmės tipas", + "argument-value-type-attribute": "Atributas", + "argument-value-type-latest-telemetry": "Naujausia telemetrija", + "argument-scope": "Atributo taikymo sritis", + "argument-type-server-attribute": "Serverio atributas", + "argument-type-shared-attribute": "Bendrinamas atributas", + "argument-type-client-attribute": "Kliento atributas", + "argument-key": "Raktas", + "argument-attribute-key": "Atributo raktas", + "argument-telemetry-key": "Naujausios telemetrijos raktas", + "argument-key-required": "Raktas yra privalomas.", + "argument-default-value": "Numatytoji reikšmė", + "argument-format": "Reikšmės formatas", + "argument-format-string": "Tekstas", + "argument-format-json": "JSON", + "argument-format-hint-json": "„JSON“ įterpia masyvus, objektus ir skaičius tokius, kokie jie yra, bet tik tada, kai vietos rezervavimo ženklas sudaro visą reikšmę.", + "argument-format-hint-embedded": "Jei vietos rezervavimo ženklas yra tekstinės eilutės viduje, šis pasirinkimas ignoruojamas ir reikšmė visada įterpiama kaip tekstas kabutėse.", + "argument-format-hint-text": "„Tekstas“ visada įterpia tekstinę eilutę kabutėse.", + "app-compose-creds-overridden-hint": "Prisijungimo duomenų laukus compose faile valdo susietas subjektas, todėl išsaugant jie bus perrašyti. Norėdami juos pakeisti, iš naujo priskirkite subjektą.", + "app-profile-compose-creds-hint": "Prisijungimo duomenų laukus compose faile valdo susietas subjektas, todėl išsaugant jie bus perrašyti. Norėdami juos pakeisti, priskirkite subjektą kurdami arba redaguodami programą.", + "app-related-entity": "Susijęs subjektas", + "app-related-entity-none": "Atitinkančių subjektų nerasta", + "app-related-entity-none-create": "Atitinkančių subjektų nerasta. Naudokite mygtuką „Sukurti naują“, kad sukurtumėte subjektą.", + "app-related-entity-required": "Susijęs subjektas yra privalomas Edge ir Gateway programoms.", + "app-step-applied-stage-hint": "Čia atlikti pakeitimai taikomi Agent egzemplioriuje per „{{stage}}“ etapą.", + "app-restart-title": "Paleisti „{{name}}“ iš naujo?", + "app-restart-text": "Agent egzempliorius iš naujo atliks programos paleidimo veiksmus. Esami duomenys ir konfigūracija išsaugomi.", + "app-assign-compare-title": "Priskirti programos profilį", + "app-assign-compare-hint": "Priskyrus profilį „{{profileName}}“, bus pakeista programos „{{appName}}“ Compose konfigūracija. Peržiūrėkite aukščiau pateiktus pakeitimus ir patvirtinkite.", + "app-assign-compare-cta": "Priskirti profilį", + "app-upgrade-title": "Naujinti programą", + "app-upgrade-step1": "Peržiūrėti pakeitimus", + "app-upgrade-step2": "Konfigūruoti ir patvirtinti", + "app-upgrade-heading": "Naujinama {{name}}: {{from}} → {{to}}", + "app-upgrade-template-new": "Šablonas ({{version}}) — naujas", + "app-upgrade-current": "Jūsų Compose (esamas, su automatiškai sulietu nauju atvaizdu)", + "app-upgrade-diff-hint": "Palyginimas greta: kairėje rodomas neapdorotas naujas šablonas, dešinėje — jūsų esamas Compose su automatiškai sulietu nauju atvaizdu. Prieš tęsdami peržiūrėkite skirtumus.", + "app-upgrade-steps-list": "Bus atlikti šie naujinimo veiksmai:", + "app-upgrade-backup-volumes-hint": "Pasirinkite, kuriems tomams prieš naujinant sukurti atsargines kopijas. Atsarginės kopijos leidžia automatiškai grįžti į ankstesnę versiją, jei naujinimas nepavyktų.", + "app-upgrade-no-volumes": "Compose konfigūracijoje tomų neaptikta.", + "app-upgrade-summary-versions": "Naujinimas", + "app-upgrade-summary-volumes-label": "Tomai atsarginei kopijai", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 pasirinktas} one {# pasirinktas} few {# pasirinkti} other {# pasirinkta} }", + "app-upgrade-rollback-info": "Jei kuris nors veiksmas nepavyktų, Agent egzempliorius automatiškai grįš į ankstesnę versiją, naudodamas atsargines tomų kopijas.", + "app-upgrade-cta": "Naujinti", + "app-upgrade-loading": "Įkeliamas šablonas…", + "app-upgrade-no-template": "Programai nenustatytas šablonas; naujinti negalima.", + "app-upgrade-no-next-version": "Naujesnės šablono versijos nėra.", + "app-upgrade-load-failed": "Nepavyko įkelti naujinimo šablono.", + "app-upgrade-merge-failed": "Nepavyko apskaičiuoti naujinimo peržiūros.", + "app-compose-invalid-yaml": "Docker Compose konfigūracija nėra tinkamas YAML. Ištaisykite ją prieš išsaugodami.", + "app-profile-saved-title": "Programos profilis išsaugotas", + "app-profile-saved-propagation-text": "Programos, jau priskirtos šiam profiliui, nebuvo atnaujintos automatiškai. Kad pritaikytumėte pakeitimus, paleiskite masinį atnaujinimą / naujinimą Agent profilio puslapyje arba atnaujinkite kiekvieną programą atskirai jos puslapyje.", + "app-upgrade-profile-step": "Naujinti profilį", + "app-upgrade-profile-loading": "Įkeliamas profilis…", + "app-upgrade-profile-name": "Profilis", + "app-upgrade-profile-current": "Profilio Compose konfigūracija (esama, su automatiškai sulietu nauju atvaizdu)", + "app-upgrade-profile-hint": "Ši programa susieta su profiliu, kuris vis dar nurodo ankstesnę šablono versiją. Pirmiausia naujinkite profilį, kad programa galėtų pritaikyti naują konfigūraciją.", + "app-upgrade-profile-cta": "Naujinti profilį", + "app-profile-load-failed": "Nepavyko įkelti programos profilio.", + "app-install-title": "Įdiegti programą", + "app-install-on-agent": "Agent egzemplioriuje „{{name}}“", + "app-install-pick-type": "Pasirinkite, ką norite įdiegti šiame Agent egzemplioriuje.", + "app-install-step1": "Pasirinkti tipą", + "app-install-step3": "Peržiūrėti ir tinkinti", + "app-install-step4": "Išsaugoti programą", + "app-install-type-generic": "Bendroji", + "app-install-type-generic-desc": "Įdiegti bet kurią Docker Compose programą", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "Įdiegti ThingsBoard Edge programą", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "Įdiegti ThingsBoard Gateway programą", + "app-install-name": "Programos pavadinimas", + "app-install-yaml": "Docker Compose konfigūracija", + "app-compose-template-select": "Compose šablonas", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Hibridinis", + "compose-type-in-memory": "Atmintyje", + "app-install-diff-template": "Šablonas — tik skaitymui", + "app-install-diff-editable": "Jūsų Compose failas — redaguojamas, bus išsaugotas", + "app-install-diff-hint": "Kairiojoje srityje rodomas neapdorotas Compose šablonas. Redaguokite dešiniąją sritį, kad jį pritaikytumėte; išsaugoma tik dešinioji pusė.", + "app-diff-sync-scroll": "Sinchronizuoti slinkimą tarp sričių", + "app-diff-read-only": "Tik skaitymui", + "app-install-cred-title": "Prisijungimo duomenys", + "app-install-cred-hint": "Naudojant profilį galima redaguoti tik šiuos laukus. Jie įrašomi atgal į toliau pateiktą Compose peržiūrą.", + "app-install-cred-routing-key": "Maršrutizavimo raktas", + "app-install-cred-routing-secret": "Maršrutizavimo slaptasis raktas", + "app-install-cred-security-type": "Saugos tipas", + "app-install-cred-security-access-token": "Prieigos žetonas", + "app-install-cred-security-username-password": "Naudotojo vardas / slaptažodis", + "app-install-cred-access-token": "Prieigos žetonas", + "app-install-cred-client-id": "Kliento ID", + "app-install-cred-username": "Naudotojo vardas", + "app-install-cred-password": "Slaptažodis", + "app-install-pull-images": "Atsisiųsti atvaizdus prieš paleidžiant", + "app-image-pull-policy-if-not-present": "Jei nėra", + "app-image-pull-policy-always": "Visada", + "app-install-cta": "Išsaugoti", + "app-update-wizard-title": "Atnaujinti programą", + "app-update-cta": "Atnaujinti", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Siūloma (sujungta su šablonu) — tik skaitymui", + "app-update-diff-current": "Esamas compose failas — galima redaguoti, bus išsaugotas", + "app-update-diff-hint": "Peržiūrėkite siūlomus pakeitimus kairėje. Naudokite rodykles tarp sričių, kad sujungtumėte pasirinktus fragmentus su esamu compose failu dešinėje. Išsaugoma tik dešinioji pusė.", + "app-update-cred-hint": "Profiliu valdomose programose čia rodomi tik prisijungimo duomenų laukai. Kiti compose pakeitimai atliekami per profilį.", + "app-profile-outdated-hint": "Profilio konfigūracija pasenusi. Spustelėkite „Atnaujinti“, kad ją gautumėte iš naujo.", + "app-project-name": "Projekto pavadinimas", + "app-update-skip-profile-refetch": "Negauti profilio konfigūracijos iš naujo", + "app-update-skip-profile-refetch-hint": "Pažymėjus, Agent programa išlaiko esamą compose failą, o taikomos tik aukščiau nurodytos prisijungimo duomenų reikšmės. Naudokite tai prisijungimo duomenims pakeisti arba — kai aukščiau nustatyta atsisiuntimo politika „Visada“ — naujausiems atvaizdams atsisiųsti iš naujo, neperimant naujesnės profilio konfigūracijos.", + "app-update-skip-profile-refetch-drift-hint": "Priskirtas profilis naudoja šablono versiją {{version}} — „Atnaujinti“ jo konfigūracijos netaikys. Programa išlaiko esamą compose failą; taikomos tik aukščiau nurodytos prisijungimo duomenų reikšmės. Norėdami pakeisti versiją, naudokite „Naujinti“.", + "app-install-confirm-info": "Agent egzempliorius atsisiųs ir paleis konteinerius. Eigą galite stebėti skirtuke „Įvykiai“.", + "app-install-loading-template": "Įkeliamas šablonas…", + "app-install-template-failed": "Nepavyko įkelti programos šablono.", + "app-install-merge-failed": "Nepavyko apskaičiuoti sujungtos peržiūros.", + "app-delete-title-header": "Ištrinti programą", + "app-delete-warning": "Ar tikrai norite ištrinti „{{name}}“? Bus sustabdyti ir pašalinti visi konteineriai nuotoliniame kompiuteryje.", + "app-delete-remove-volumes": "Taip pat pašalinti tomus", + "app-delete-remove-volumes-hint": "Perspėjimas: tai visam laikui ištrins visus programos tomuose saugomus duomenis.", + "app-delete-no-volumes": "Compose konfigūracijoje tomų neaptikta.", + "app-delete-cta": "Ištrinti", + "agents-count": "Agent egzemplioriai", + "profiles-count": "Profiliai", + "template": "Šablonas", + "previous-version": "Ankstesnė versija", + "config-type": "Konfigūracijos tipas", + "install-instructions": "Diegimo instrukcijos", + "install-instructions-hint": "Vykdykite šią komandą tiksliniame kompiuteryje, kad paleistumėte Agent egzempliorių. Agent egzempliorius prisijungs prie ThingsBoard serverio ir bus rodomas kaip prisijungęs.", + "install-instructions-replace-hint": "Kai Agent egzempliorius prisijungs, Agent egzempliorių sąraše jis bus rodomas kaip prisijungęs.", + "install-step-docker": "Įsitikinkite, kad tiksliniame kompiuteryje įdiegtas Docker", + "install-step-run": "Paleiskite Agent konteinerį", + "install-command-copied-message": "Diegimo komanda nukopijuota į iškarpinę", + "agent-credentials": "Agent prisijungimo duomenys", + "agent-created-successfully": "Agent egzempliorius sėkmingai sukurtas", + "go-to-agent": "Eiti į Agent egzempliorių", + "app-type-generic": "Bendrasis", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Sąranka", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "Naujausias Edge programos profilis", + "preset-gateway-description": "Naujausias Gateway programos profilis", + "preset-edge-gateway-description": "Abu naujausi programų profiliai", + "preset-name-edge": "Edge Agent profilis", + "preset-name-gateway": "Gateway Agent profilis", + "preset-name-edge-gateway": "Edge + Gateway Agent profilis", + "preset-advanced": "Išplėstiniai nustatymai", + "preset-advanced-description": "Nustatykite paruošimo strategiją ir pasirinkite arba sukurkite programų profilius", + "preset-advanced-configure": "Konfigūruoti", + "preset-summary-title": "Išankstinis nustatymas: {{label}}", + "preset-summary-body": "Sukuria Agent profilį, priskiria {{apps}} ir nustato paruošimo strategiją „Viena programa kiekvienam tipui“.", + "preset-summary-apps-two": "{{first}} ir {{second}}", + "preset-templates-load-failed": "Nepavyko įkelti naujausių programų šablonų šiems tipams: {{types}}. Išankstiniai nustatymai, kuriems jų reikia, išjungti.", + "app-type-required": "Programos tipas yra privalomas.", + "provision-type-disabled": "Išjungta", + "provision-type-no-auto-install": "Tik paruošti Agent egzempliorius", + "provision-type-per-app-type": "Viena programa kiekvienam tipui", + "provision-type-per-app-profile": "Viena programa kiekvienam priskirtam profiliui", + "provisioning-strategy": "Paruošimo strategija", + "provisioning-strategy-label": "Strategija: {{strategy}}", + "provision-type-disabled-description": "Agent egzempliorių paruošimas išjungtas. Pasirinkite paruošimo strategiją, kad įjungtumėte automatinę Agent egzempliorių registraciją. Kai ji įjungta, Agent egzemplioriai gali užsiregistruoti patys naudodami bendrą paruošimo raktą ir slaptąjį raktą — nereikia kiekvieno Agent egzemplioriaus kurti rankiniu būdu.", + "provision-type-no-auto-install-description": "Kai naujas Agent egzempliorius paruošiamas naudojant šį profilį, serveris jį užregistruoja, bet automatiškai neįdiegia jokių programų. Priskirti programų profiliai paruošimo metu ignoruojami — programas Agent egzemplioriuje galima įdiegti rankiniu būdu.", + "provision-type-per-app-type-description": "Kai naujas Agent egzempliorius paruošiamas naudojant šį profilį, serveris automatiškai sukuria programas pagal priskirtus programų profilius. Edge/Gateway programos įdiegiamos tik tuo atveju, jei Agent egzemplioriuje dar nėra to tipo programos (ne daugiau kaip viena kiekvieno tipo programa vienam Agent egzemplioriui); bendrosios programos siejamos pagal profilį (viena programa kiekvienam profiliui vienam Agent egzemplioriui). Pavyzdžiui, priskyrus du Edge profilius ir du bendruosius profilius, Agent egzempliorius gauna vieną Edge programą ir dvi bendrąsias programas. Jei programos tipui reikia susijusio subjekto (pvz., Edge egzemplioriaus ar Gateway įrenginio), serveris bandys jį sukurti ir priskirti.", + "provision-type-per-app-profile-description": "Kai naujas Agent egzempliorius paruošiamas naudojant šį profilį, serveris automatiškai sukuria programas pagal priskirtus programų profilius. Kiekviena programa įdiegiama tik tuo atveju, jei Agent egzemplioriuje dar nėra atitinkančios programos — Edge/Gateway programos siejamos pagal šabloną arba pagal jų šaltinio profilį (viena kiekvienam šablonui vienam Agent egzemplioriui); bendrosios programos siejamos pagal profilį (viena programa kiekvienam profiliui vienam Agent egzemplioriui). Pavyzdžiui, priskyrus du Edge profilius, Agent egzempliorius gauna dvi Edge programas, jei profiliai sukurti pagal skirtingus šablonus, bet tik vieną, jei jie naudoja tą patį šabloną. Jei programos tipui reikia susijusio subjekto (pvz., Edge egzemplioriaus ar Gateway įrenginio), serveris bandys jį sukurti ir priskirti.", + "agent-profile-created": "Agent profilis sukurtas", + "agent-profile-created-hint": "Paleiskite šią komandą kiekviename kompiuteryje, kuriame norite įdiegti Agent egzempliorių. Kiekvienas Agent egzempliorius:", + "agent-profile-created-step-1": "Automatiškai užsiregistruos serveryje naudodamas paruošimo prisijungimo duomenis", + "agent-profile-created-step-2": "Gaus unikalų maršrutizavimo raktą ir slaptąjį raktą nuolatiniam ryšiui palaikyti", + "agent-profile-created-step-3": "Automatiškai įdiegs programas, apibrėžtas priskirtuose programų profiliuose", + "provisioning-credentials": "Paruošimo prisijungimo duomenys", + "provisioning": "Agent paruošimas", + "docker-run-command": "Docker paleidimo komanda", + "assigned-profiles": "Programų profiliai", + "assign-profile": "Priskirti profilį", + "unassign-profile": "Atsieti profilį", + "no-profiles-assigned": "Šiam profiliui dar nepriskirta jokių programų profilių.", + "go-to-profile": "Eiti į profilį", + "profiles-bulk-hint": "Šis masinis veiksmas taikomas visoms programoms, atitinkančioms profilį „{{appProfile}}“, kurių Agent egzempliorius naudoja profilį „{{agentProfile}}“", + "auto-install-template-dedup-note": "Šio Agent profilio paruošimo strategija įjungia automatinį diegimą. Kai Agent egzempliorius automatiškai paruošiamas, kiekvienas toliau nurodytas profilis įdiegiamas tik tuo atveju, jei Agent egzempliorius dar neturi atitinkančios programos. Edge/Gateway profiliai sutapdinami pagal šabloną arba pagal jų šaltinio profilį (po vieną kiekvienam šablonui kiekviename Agent egzemplioriuje); bendrieji profiliai sutapdinami pagal profilį (po vieną programą kiekvienam profiliui kiekviename Agent egzemplioriuje).", + "auto-install-per-type-note": "Šio Agent profilio paruošimo strategija įjungia automatinį diegimą. Kai Agent egzempliorius automatiškai paruošiamas, toliau nurodyti Edge/Gateway profiliai įdiegiami tik tuo atveju, jei Agent egzempliorius dar neturi to tipo programos (daugiausia po vieną kiekvieno tipo programą kiekviename Agent egzemplioriuje); bendrieji profiliai sutapdinami pagal profilį (po vieną programą kiekvienam profiliui kiekviename Agent egzemplioriuje).", + "app-profile": "Programos profilis", + "no-profiles-available": "Daugiau nėra profilių, kuriuos būtų galima priskirti.", + "unassign-profile-confirm": "Ar tikrai norite atsieti programos profilį „{{profile}}“ nuo šio Agent profilio?", + "relate-on-auto-discovery": "Susieti automatiškai aptikus", + "relate-on-auto-discovery-tooltip": "Priskirti šį programos profilį visoms naujoms automatiškai aptiktoms programoms su atitinkančiais Edge/Gateway atvaizdais.", + "relate-on-auto-discovery-confirm-title": "Ar tikrai norite tęsti?", + "relate-on-auto-discovery-enable-confirm": "Naujoms automatiškai aptiktoms programoms, kurių Edge/Gateway atvaizdas atitinka profilio „{{profile}}“ šabloną, šis programos profilis bus priskirtas automatiškai. Konfigūracijų neatitikimo atveju profilio konfigūracija (compose) perrašys automatiškai aptiktą programos konfigūraciją (compose).", + "relate-on-auto-discovery-disable-confirm": "Naujoms automatiškai aptiktoms programoms, atitinkančioms profilio „{{profile}}“ šabloną, šis programos profilis nebebus priskiriamas automatiškai. Esamiems priskyrimams tai neturi įtakos.", + "provisioning-saved": "Paruošimo nustatymai išsaugoti", + "bulk-actions": "Masiniai veiksmai", + "assigned-applications": "Priskirtos programos", + "application-profiles-and-bulk-actions": "Programų profiliai ir masiniai veiksmai", + "recent-bulk-actions": "Naujausi masiniai veiksmai", + "no-recent-bulk-actions": "Šiam programos profiliui masinių veiksmų dar nėra.", + "executions": "Vykdymai", + "view-bulk-action-details": "Atidaryti visą informaciją", + "agents-reporting-success": "Apie sėkmę pranešančių Agent egzempliorių: {{ok}}/{{total}}", + "bulk-action-type": "Veiksmas", + "bulk-action-status": "Būsena", + "bulk-action-counts": "Pateikta", + "bulk-action-error": "Klaida", + "bulk-action-details": "Masinio veiksmo informacija", + "bulk-restart": "Masinis paleidimas iš naujo", + "bulk-update": "Masinis atnaujinimas", + "bulk-upgrade": "Masinis naujinimas", + "bulk-delete": "Masinis ištrynimas", + "bulk-restart-title": "Masinis paleidimas iš naujo — {{profile}}", + "bulk-update-title": "Masinis atnaujinimas — {{profile}}", + "bulk-upgrade-title": "Masinis naujinimas — {{profile}}", + "bulk-delete-title": "Masinis ištrynimas — {{profile}}", + "bulk-action-title": "Masinis veiksmas", + "bulk-restart-cta": "Paleisti visas iš naujo", + "bulk-update-cta": "Atnaujinti visas", + "bulk-upgrade-cta": "Naujinti visas", + "bulk-delete-cta": "Ištrinti visas", + "bulk-preview": "Peržiūra", + "bulk-preview-total": "Iš viso programų", + "bulk-preview-eligible": "Tinkamos", + "bulk-preview-skipped": "Praleistos", + "bulk-skipped-version-mismatch": "Praleista — nesutampa šablono versija", + "bulk-skipped-active-event": "Praleista — jau vykdoma kita operacija", + "bulk-skipped-rate-limit": "Praleista — viršytas įvykių dažnio limitas", + "bulk-skipped-error": "Praleista — klaida vertinant programą", + "bulk-skipped-more": "…ir dar {{count}} — žr. vykdymo informaciją", + "bulk-no-eligible": "Šiai operacijai netinka nė viena programa.", + "bulk-backup-volumes-hint": "Pasirinkite tomus, kurių atsarginę kopiją reikia sukurti prieš naujinant. Įvesties duomenys taikomi kiekvienai tinkamai programai.", + "bulk-no-volumes-in-profile": "Profilio compose konfigūracijoje nėra tomų.", + "bulk-submitted": "Pateikta", + "bulk-skipped": "Praleista", + "bulk-processing-started": "Apdorojimas pradėtas", + "bulk-events": "Įvykiai", + "bulk-event-current-step": "Dabartinis žingsnis", + "bulk-event-updated": "Atnaujinta", + "bulk-event-filter-status": "Būsena", + "bulk-event-filter-all": "Visos", + "bulk-no-events": "Šiam masiniam veiksmui įvykių nerasta.", + "no-bulk-actions": "Masinių veiksmų dar nėra.", + "origin-installed": "Įdiegtas", + "origin-discovered": "Aptiktas", + "origin-auto-provisioned": "Automatiškai paruoštas", + "event-action-install": "Įdiegti", + "event-action-update": "Atnaujinti", + "event-action-delete": "Ištrinti", + "event-action-restart": "Paleisti iš naujo", + "event-action-rollback": "Grąžinti ankstesnę versiją", + "event-action-upgrade": "Naujinti", + "event-action-agent-upgrade": "Agent naujinimas", + "event-status-pending": "Laukiama", + "event-status-queued": "Eilėje", + "event-status-processing": "Apdorojama", + "event-status-finished": "Baigta", + "event-status-error": "Klaida", + "event-status-start-failed": "Nepavyko paleisti", + "bulk-status-queued": "Eilėje", + "bulk-status-in-progress": "Vykdoma", + "bulk-status-started": "Paleista", + "bulk-status-start-failed": "Nepavyko paleisti", + "unit-type-container": "Konteineris", + "unit-type-volume": "Tomas", + "unit-type-network": "Tinklas", + "app-events": "Įvykiai", + "app-metrics": "Metrikos", + "app-copy-id": "Kopijuoti programos ID", + "app-id-copied-message": "Programos ID nukopijuotas į iškarpinę", + "app-upgrade-available": "Galimas naujinimas: {{version}}", + "app-unit-identifier": "Identifikatorius", + "app-unit-image": "Atvaizdas", + "app-unit-state": "Būsena", + "app-unit-filter": "Vienetų filtras", + "app-unit-filter-with-values": "Filtras: {{values}}", + "app-unit-logs": "Konteinerio žurnalai", + "app-unit-view-logs": "Peržiūrėti konteinerio žurnalus", + "filter-all-count": "Visi ({{count}})", + "filter-errors-count": "Klaidos ({{count}})", + "filter-running-count": "Veikiantys ({{count}})", + "log-agent-offline-paused": "Agent egzempliorius neprisijungęs · srautas pristabdytas", + "log-agent-online": "Agent egzempliorius prisijungęs", + "log-back-to-application": "Grįžti į programą", + "log-buffered": "+ {{count}} buferyje", + "log-chip-app": "Programa", + "log-clear": "Išvalyti žurnalą", + "log-clear-highlight": "Išvalyti paryškinimą", + "log-copy-all": "Kopijuoti viską", + "log-copy-all-lines": "Kopijuoti visas žurnalo eilutes", + "log-download": "Atsisiųsti žurnalą", + "log-dropped": "Atmesta: {{count}}", + "log-dropped-hint": "Žurnalo eilutės, kurias Agent egzempliorius atmetė, joms dar nepasiekus šios peržiūros", + "log-dropped-total": "Iš viso atmesta eilučių", + "log-follow-latest": "Sekti naujausius įrašus", + "log-gap": "{ count, plural, one {# žurnalo dalis atmesta} few {# žurnalo dalys atmestos} other {# žurnalo dalių atmesta} } (pasiektas buferio limitas)", + "log-highlight": "Paryškinti…", + "log-highlight-lines": "Paryškinti žurnalo eilutes", + "log-jump-to-latest": "Pereiti prie naujausių įrašų", + "log-lines-unit": "{ count, plural, one {eilutė} few {eilutės} other {eilučių} }", + "log-live": "Tiesiogiai", + "log-pause-resume-stream": "Pristabdyti arba tęsti srautą", + "log-pause-stream": "Pristabdyti srautą", + "log-paused": "Pristabdyta", + "log-resume-stream": "Tęsti srautą", + "log-stream-paused": "Srautas pristabdytas", + "log-waiting": "Laukiama žurnalo eilučių…", + "metrics-all-containers": "Visi konteineriai", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}% (branduolių: {{cores}}; limitas {{cap}}%)", + "metrics-disk": "Diskas", + "metrics-memory": "Atmintis", + "metrics-show-charts": "Rodyti diagramas", + "metrics-updated-at": "Atnaujinta {{time}}", + "metrics-used-of-total": "{{used}} iš {{total}} ({{percent}}%)", + "metrics-volumes": "Tomai", + "stats-done": "Atlikta: {{count}}", + "stats-error": "Klaidų: {{count}}", + "stats-pending": "Laukiama: {{count}}", + "stats-running": "Vykdoma: {{count}}", + "app-no-units": "Vienetų nerasta.", + "app-no-events": "Įvykių nerasta.", + "app-event-app-name": "Programa", + "app-event-agent-name": "Agent", + "app-event-action": "Veiksmas", + "app-event-status": "Vykdymo būsena", + "app-event-execution": "Vykdymas", + "app-event-execution-not-started": "Nepradėta", + "app-event-execution-started": "Pradėta", + "app-event-execution-delivery-failed": "Pristatyti nepavyko", + "app-event-filter": "Įvykių filtras", + "app-event-filter-with-values": "Filtras: {{values}}", + "app-event-current-activity": "Dabartinė veikla", + "app-event-show-error": "Rodyti klaidą", + "app-event-error-title": "Įvykio klaida", + "upgrade-agent-action": "Naujinti Agent egzempliorių", + "image": "Atvaizdas", + "version-unknown": "nepranešta", + "up-to-date": "Naujausia versija", + "upgrade-to": "Naujinti į {{version}}", + "upgrade-agent-title": "Naujinti Agent egzempliorių", + "upgrade-agent-text": "Agent egzempliorius {{agentName}} pakeis savo konteinerį toliau nurodytu atvaizdu. Jis visą laiką išliks pasiekiamas, o programos komandos bus pristabdytos, kol naujinimas baigsis.", + "upgrade-agent-hint": "Paskelbtas naujesnis Agent atvaizdas", + "upgrade-agent-hint-unavailable": "Naujesnis Agent atvaizdas nežinomas — Agent egzempliorius galbūt jau turi naujausią versiją arba nepavyko nustatyti jo versijos", + "upgrade-current-image": "Esamas atvaizdas", + "upgrade-target-image": "Tikslinis atvaizdas", + "upgrade-target-image-hint": "Žyma arba nuoroda su fiksuota santrauka, pvz., thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "Tikslinis atvaizdas yra privalomas.", + "agent-upgrade-subject": "Agent naujinimas", + "agent-upgrade-subject-label": "Veiksmas", + "agent-upgrade-step-prepare": "Paruošti pakaitinį konteinerį", + "agent-upgrade-step-finalize": "Perduoti valdymą ir pašalinti ankstesnį konteinerį", + "app-event-progress-title": "Įvykio eiga", + "app-event-progress-loading": "Įkeliamas šablonas...", + "app-event-progress-load-failed": "Nepavyko įkelti įvykio eigos.", + "app-event-progress-no-template": "Su šia programa nesusietas joks šablonas.", + "app-event-step-completed": "Užbaigta", + "app-event-step-processing": "Apdorojama", + "app-event-step-error": "Nepavyko", + "app-event-step-waiting": "Laukiama", + "app-event-current-step": "Dabartinis žingsnis", + "app-event-created": "Sukurta", + "app-event-updated": "Atnaujinta", + "app-event-cancel": "Atšaukti", + "app-event-cancel-title": "Atšaukti įvykį?", + "app-event-cancel-text": "Vykdomas įvykis bus atšauktas Agent egzemplioriuje.", + "app-event-view-in-events": "Peržiūrėti įvykiuose", + "app-save-update-hint-title": "Pakeitimai išsaugoti", + "app-save-update-hint": "Pakeitimai išsaugoti ThingsBoard platformoje, tačiau Agent egzempliorius vis dar vykdo ankstesnę konfigūraciją. Spustelėkite šios programos veiksmo mygtuką „Atnaujinti“, kad pritaikytumėte pakeitimus Agent egzemplioriuje.", + "app-save-update-hint-action": "Atnaujinti dabar", + "app-deleted": "Programa ištrinta", + "group": "Agent egzempliorių grupė", + "list-of-groups": "{ count, plural, =1 {Viena Agent egzempliorių grupė} one {# Agent egzempliorių grupės sąrašas} few {# Agent egzempliorių grupių sąrašas} other {# Agent egzempliorių grupių sąrašas} }", + "group-name-starts-with": "Agent egzempliorių grupės, kurių pavadinimai prasideda „{{prefix}}“", + "application-group": "Programų grupė", + "list-of-application-groups": "{ count, plural, =1 {Viena programų grupė} one {# programų grupės sąrašas} few {# programų grupių sąrašas} other {# programų grupių sąrašas} }", + "application-group-name-starts-with": "Programų grupės, kurių pavadinimai prasideda „{{prefix}}“", + "all": "Visi", + "all-agents": "Visi Agent egzemplioriai", + "groups": "Grupės", + "shared": "Bendrinami" }, "edge-event": { "type-dashboard": "Skydelis", - "type-asset": "Turtas (Asset)", + "type-asset": "Turtas", "type-device": "Įrenginys", "type-device-profile": "Įrenginio profilis", "type-asset-profile": "Turto profilis", - "type-entity-view": "Subjekto rodinys", - "type-alarm": "Signalizacija (Alarm)", - "type-entity-group": "Subjekto grupė", - "type-rule-chain": "Taisyklių grandinė (Rule Chain)", + "type-entity-view": "Subjektų rodinys", + "type-alarm": "Įspėjimas", + "type-entity-group": "Subjektų grupė", + "type-rule-chain": "Taisyklių grandinė", "type-rule-chain-metadata": "Taisyklių grandinės metaduomenys", - "type-edge": "Edge įrenginys", - "type-user": "Vartotojas", - "type-tenant": "Nuomininkas (Tenant)", + "type-edge": "Edge", + "type-user": "Naudotojas", + "type-tenant": "Nuomininkas", "type-tenant-profile": "Nuomininko profilis", "type-customer": "Klientas", - "type-relation": "Ryšys (Relation)", - "type-widgets-bundle": "Valdiklių paketas (Widgets Bundle)", - "type-widgets-type": "Valdiklio tipas (Widget Type)", + "type-relation": "Ryšys", + "type-widgets-bundle": "Valdiklių rinkinys", + "type-widgets-type": "Valdiklio tipas", "type-admin-settings": "Administratoriaus nustatymai", - "type-ota-package": "OTA paketas (Over-The-Air)", - "type-queue": "Eilė (Queue)", - "type-scheduler-event": "Planavimo įvykis", - "type-white-labeling": "White-label nustatymai", - "type-login-white-labeling": "Prisijungimo lango White-label nustatymai", - "type-custom-translation": "Tinkintas vertimas", - "type-role": "Vaidmuo (Role)", + "type-ota-package": "OTA paketas", + "type-queue": "Eilė", + "type-scheduler-event": "Planuoklės įvykis", + "type-white-labeling": "Prekės ženklo tinkinimas", + "type-login-white-labeling": "Prisijungimo puslapio tinkinimas", + "type-custom-translation": "Pasirinktinis vertimas", + "type-role": "Rolė", "type-group-permission": "Grupės leidimai", "type-integration": "Integracija", - "type-converter": "Konverteris", + "type-converter": "Keitiklis", "action-type-added": "Pridėta", - "action-type-deleted": "Panaikinta", + "action-type-deleted": "Ištrinta", "action-type-updated": "Atnaujinta", "action-type-post-attributes": "Atributai įkelti", "action-type-attributes-updated": "Atributai atnaujinti", "action-type-attributes-deleted": "Atributai ištrinti", - "action-type-timeseries-updated": "Telemetrija atnaujinta", - "action-type-credentials-updated": "Įgaliojimai atnaujinti", + "action-type-timeseries-updated": "Laiko eilutės atnaujintos", + "action-type-credentials-updated": "Prisijungimo duomenys atnaujinti", "action-type-assigned-to-customer": "Priskirta klientui", "action-type-unassigned-from-customer": "Atsieta nuo kliento", "action-type-relation-add-or-update": "Ryšys pridėtas arba atnaujintas", - "action-type-relation-deleted": "Ryšys panaikintas", + "action-type-relation-deleted": "Ryšys ištrintas", "action-type-rpc-call": "RPC iškvietimas", - "action-type-alarm-ack": "Signalizacija patvirtinta", - "action-type-alarm-clear": "Signalizacija išvalyta", - "action-type-alarm-assigned": "Signalizacija priskirta", - "action-type-alarm-unassigned": "Signalizacija atsieta", - "action-type-assigned-to-edge": "Priskirta Edge įrenginiui", - "action-type-unassigned-from-edge": "Atsieta nuo Edge įrenginio", - "action-type-credentials-request": "Įgaliojimų užklausa", + "action-type-alarm-ack": "Įspėjimas patvirtintas", + "action-type-alarm-clear": "Įspėjimas išvalytas", + "action-type-alarm-assigned": "Įspėjimas priskirtas", + "action-type-alarm-unassigned": "Įspėjimas atsietas", + "action-type-assigned-to-edge": "Priskirta Edge egzemplioriui", + "action-type-unassigned-from-edge": "Atsieta nuo Edge egzemplioriaus", + "action-type-credentials-request": "Prisijungimo duomenų užklausa", "action-type-entity-merge-request": "Subjektų sujungimo užklausa", - "action-type-added-to-entity-group": "Pridėta prie subjekto grupės", - "action-type-removed-from-entity-group": "Pašalinta iš subjekto grupės", - "action-type-change-owner": "Savininko keitimas", + "action-type-added-to-entity-group": "Pridėta prie subjektų grupės", + "action-type-removed-from-entity-group": "Pašalinta iš subjektų grupės", + "action-type-change-owner": "Savininkas pakeistas", "connected": "Prisijungęs", "disconnected": "Atsijungęs" }, "error": { + "data-export-failed": "Nepavyko eksportuoti duomenų: nepavyko nustatyti diegimo režimo. Bandykite dar kartą.", "unable-to-connect": "Nepavyksta prisijungti prie serverio! Patikrinkite interneto ryšį.", "unhandled-error-code": "Neapdorotos klaidos kodas: {{errorCode}}", "unknown-error": "Nežinoma klaida" @@ -3057,18 +4356,21 @@ "entity": { "entity": "Subjektas", "entities": "Subjektai", + "devices-and-assets": "Įrenginiai ir turtas", + "data-processing": "Duomenų apdorojimas", "entities-count": "Subjektų kiekis", "alarms-count": "Įspėjimų kiekis", "aliases": "Subjektų pseudonimai", "aliases-short": "Pseudonimai", "entity-alias": "Subjekto pseudonimas", - "unable-delete-entity-alias-title": "Subjekto pseudonimo panaikinti nepavyko", - "unable-delete-entity-alias-text": "Subjekto pseudonimas '{{entityAlias}}' negali būti panaikintas, nes jis naudojamas šiuose valdikliuose:
{{widgetsList}}", - "duplicate-alias-error": "Pseudonimas '{{alias}}' dubliuojasi.
Subjektų pseudonimai skydelyje negali kartotis.", - "missing-entity-filter-error": "Trūksta pseudonimo '{{alias}}' filtro.", - "configure-alias": "Konfigūruoti pseudonimą '{{alias}}'", + "unable-delete-entity-alias-title": "Subjekto pseudonimo ištrinti nepavyko", + "unable-delete-entity-alias-text": "Subjekto pseudonimas „{{entityAlias}}“ negali būti ištrintas, nes jis naudojamas šiuose valdikliuose:
{{widgetsList}}", + "unable-delete-entity-alias-text-components": "Subjekto pseudonimo „{{entityAlias}}“ negalima ištrinti, nes jį naudoja šie komponentai:
{{widgetsList}}", + "duplicate-alias-error": "Pseudonimas „{{alias}}“ dubliuojasi.
Subjektų pseudonimai skydelyje negali kartotis.", + "missing-entity-filter-error": "Trūksta pseudonimo „{{alias}}“ filtro.", + "configure-alias": "Konfigūruoti pseudonimą „{{alias}}“", "alias": "Pseudonimas", - "alias-required": "Subjekto pseudonimas būtinas.", + "alias-required": "Subjekto pseudonimas yra privalomas.", "remove-alias": "Pašalinti subjekto pseudonimą", "add-alias": "Pridėti subjekto pseudonimą", "edit-alias": "Redaguoti subjekto pseudonimą", @@ -3079,110 +4381,112 @@ "any-entity": "Bet kuris subjektas", "add-entity-type": "Pridėti subjekto tipą", "enter-entity-type": "Įveskite subjekto tipą", - "no-entities-matching": "Subjektų, atitinkančių '{{entity}}', nėra.", + "no-entities-matching": "Subjektų, atitinkančių „{{entity}}“, nėra.", "no-entities-text": "Subjektų nerasta", - "no-entity-types-matching": "Subjektų tipų, atitinkančių '{{entityType}}', nėra.", - "name-starts-with": "Pavadinimas prasideda", + "no-entity-types-matching": "Subjektų tipų, atitinkančių „{{entityType}}“, nėra.", + "name-starts-with": "Pavadinimo išraiška", "help-text": "Naudokite simbolį '%' pagal paieškos poreikį: '%subjekto_pavadinimo_fragmentas%', '%subjekto_pavadinimo_pabaiga', 'subjekto_pavadinimo_pradžia%'.", "use-entity-name-filter": "Naudoti filtrą", "entity-list-empty": "Subjektai nepasirinkti.", "entity-type-list-required": "Bent vienas subjekto tipas turi būti pasirinktas.", - "entity-name-filter-required": "Subjekto pavadinimo filtras būtinas.", - "entity-name-filter-no-entity-matched": "Subjektų, kurių pavadinimas prasideda '{{entity}}', nėra.", + "entity-name-filter-required": "Subjekto pavadinimo filtras yra privalomas.", + "entity-name-filter-no-entity-matched": "Subjektų, kurių pavadinimas prasideda „{{entity}}“, nėra.", "all-subtypes": "Visi", "select-entities": "Pasirinkite subjektus", "no-aliases-found": "Pseudonimų nėra.", - "no-alias-matching": "Pseudonimo '{{alias}}' nėra.", + "no-alias-matching": "Pseudonimo „{{alias}}“ nėra.", "create-new-alias": "Sukurti naują!", "create-new": "Sukurti naują", "key": "Raktas", "key-name": "Rakto pavadinimas", "no-keys-found": "Raktų nėra.", - "no-key-matching": "Rakto '{{key}}' nėra.", + "no-key-matching": "Rakto „{{key}}“ nėra.", "create-new-key": "Sukurti naują!", "type": "Tipas", - "type-required": "Subjekto tipas būtinas.", + "type-required": "Subjekto tipas yra privalomas.", "type-device": "Įrenginys", "type-devices": "Įrenginiai", - "list-of-devices": "{ count, plural, =1 {Vienas įrenginys} other {# įrenginių sąrašas} }", - "device-name-starts-with": "Įrenginiai, kurių pavadinimas prasideda '{{prefix}}'", + "list-of-devices": "{ count, plural, =1 {Vienas įrenginys} one {# įrenginio sąrašas} few {# įrenginių sąrašas} other {# įrenginių sąrašas} }", + "device-name-starts-with": "Įrenginiai, kurių pavadinimas prasideda „{{prefix}}“", "type-device-profile": "Įrenginio profilis", "type-device-profiles": "Įrenginių profiliai", "clear-selected-profiles": "Išvalyti pasirinktus profilius", - "list-of-device-profiles": "{ count, plural, =1 {Vienas įrenginio profilis} other {# įrenginių profilių sąrašas} }", - "device-profile-name-starts-with": "Įrenginių profiliai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-device-profiles": "{ count, plural, =1 {Vienas įrenginio profilis} one {# įrenginio profilio sąrašas} few {# įrenginių profilių sąrašas} other {# įrenginių profilių sąrašas} }", + "device-profile-name-starts-with": "Įrenginių profiliai, kurių pavadinimai prasideda „{{prefix}}“", "type-asset-profile": "Turto profilis", "type-asset-profiles": "Turto profiliai", - "list-of-asset-profiles": "{ count, plural, =1 {Vienas turto profilis} other {# turto profilių sąrašas} }", - "asset-profile-name-starts-with": "Turto profiliai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-asset-profiles": "{ count, plural, =1 {Vienas turto profilis} one {# turto profilio sąrašas} few {# turto profilių sąrašas} other {# turto profilių sąrašas} }", + "asset-profile-name-starts-with": "Turto profiliai, kurių pavadinimai prasideda „{{prefix}}“", "type-asset": "Turtas", "type-assets": "Turtai", - "list-of-assets": "{ count, plural, =1 {Vienas turtas} other {# turto sąrašas} }", - "asset-name-starts-with": "Turtas, kurio pavadinimas prasideda '{{prefix}}'", - "type-entity-view": "Subjekto rodinys", + "list-of-assets": "{ count, plural, =1 {Vienas turtas} one {# turto sąrašas} few {# turtų sąrašas} other {# turtų sąrašas} }", + "asset-name-starts-with": "Turtas, kurio pavadinimas prasideda „{{prefix}}“", + "type-entity-view": "Subjektų rodinys", "type-entity-views": "Subjektų rodiniai", - "list-of-entity-views": "{ count, plural, =1 {Vienas subjekto rodinys} other {# subjektų rodinių sąrašas} }", - "entity-view-name-starts-with": "Subjektų rodiniai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-entity-views": "{ count, plural, =1 {Vienas subjektų rodinys} one {# subjektų rodinio sąrašas} few {# subjektų rodinių sąrašas} other {# subjektų rodinių sąrašas} }", + "entity-view-name-starts-with": "Subjektų rodiniai, kurių pavadinimai prasideda „{{prefix}}“", "type-rule": "Taisyklė", "type-rules": "Taisyklės", - "list-of-rules": "{ count, plural, =1 {Viena taisyklė} other {# taisyklių sąrašas} }", - "rule-name-starts-with": "Taisyklės, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-rules": "{ count, plural, =1 {Viena taisyklė} one {# taisyklės sąrašas} few {# taisyklių sąrašas} other {# taisyklių sąrašas} }", + "rule-name-starts-with": "Taisyklės, kurių pavadinimai prasideda „{{prefix}}“", "type-plugin": "Papildinys", "type-plugins": "Papildiniai", - "list-of-plugins": "{ count, plural, =1 {Vienas papildinys} other {# papildinių sąrašas} }", - "plugin-name-starts-with": "Papildiniai, kurių pavadinimai prasideda '{{prefix}}'", - "type-tenant": "Valdytojas", - "type-tenants": "Valdytojai", - "list-of-tenants": "{ count, plural, =1 {Vienas valdytojas} other {# valdytojų sąrašas} }", - "tenant-name-starts-with": "Valdytojai, kurių pavadinimai prasideda '{{prefix}}'", - "type-tenant-profile": "Valdytojo profilis", - "type-tenant-profiles": "Valdytojo profiliai", - "list-of-tenant-profiles": "{ count, plural, =1 {Vienas valdytojo profilis} other {# valdytojo profilių sąrašas} }", - "tenant-profile-name-starts-with": "Valdytojo profiliai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-plugins": "{ count, plural, =1 {Vienas papildinys} one {# papildinio sąrašas} few {# papildinių sąrašas} other {# papildinių sąrašas} }", + "plugin-name-starts-with": "Papildiniai, kurių pavadinimai prasideda „{{prefix}}“", + "type-tenant": "Nuomininkas", + "type-tenants": "Nuomininkai", + "list-of-tenants": "{ count, plural, =1 {Vienas nuomininkas} one {# nuomininko sąrašas} few {# nuomininkų sąrašas} other {# nuomininkų sąrašas} }", + "tenant-name-starts-with": "Nuomininkai, kurių pavadinimai prasideda „{{prefix}}“", + "type-tenant-profile": "Nuomininko profilis", + "type-tenant-profiles": "Nuomininkų profiliai", + "list-of-tenant-profiles": "{ count, plural, =1 {Vienas nuomininko profilis} one {# nuomininko profilio sąrašas} few {# nuomininkų profilių sąrašas} other {# nuomininkų profilių sąrašas} }", + "tenant-profile-name-starts-with": "Nuomininkų profiliai, kurių pavadinimai prasideda „{{prefix}}“", "type-customer": "Klientas", "type-customers": "Klientai", - "list-of-customers": "{ count, plural, =1 {Vienas klientas} other {# klientų sąrašas} }", - "customer-name-starts-with": "Klientai, kurių pavadinimai prasideda '{{prefix}}'", - "type-user": "Vartotojas", - "type-users": "Vartotojai", - "list-of-users": "{ count, plural, =1 {Vienas vartotojas} other {# vartotojų sąrašas} }", - "user-name-starts-with": "Vartotojai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-customers": "{ count, plural, =1 {Vienas klientas} one {# kliento sąrašas} few {# klientų sąrašas} other {# klientų sąrašas} }", + "customer-name-starts-with": "Klientai, kurių pavadinimai prasideda „{{prefix}}“", + "type-user": "Naudotojas", + "type-users": "Naudotojai", + "list-of-users": "{ count, plural, =1 {Vienas naudotojas} one {# naudotojo sąrašas} few {# naudotojų sąrašas} other {# naudotojų sąrašas} }", + "user-name-starts-with": "Naudotojai, kurių pavadinimai prasideda „{{prefix}}“", "type-dashboard": "Skydelis", "type-dashboards": "Skydeliai", - "list-of-dashboards": "{ count, plural, =1 {Vienas skydelis} other {# skydelių sąrašas} }", - "dashboard-name-starts-with": "Skydeliai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-dashboards": "{ count, plural, =1 {Vienas skydelis} one {# skydelio sąrašas} few {# skydelių sąrašas} other {# skydelių sąrašas} }", + "dashboard-name-starts-with": "Skydeliai, kurių pavadinimai prasideda „{{prefix}}“", "type-alarm": "Įspėjimas", "type-alarms": "Įspėjimai", - "list-of-alarms": "{ count, plural, =1 {Vienas įspėjimas} other {# įspėjimų sąrašas} }", - "alarm-name-starts-with": "Įspėjimai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-alarms": "{ count, plural, =1 {Vienas įspėjimas} one {# įspėjimo sąrašas} few {# įspėjimų sąrašas} other {# įspėjimų sąrašas} }", + "alarm-name-starts-with": "Įspėjimai, kurių pavadinimai prasideda „{{prefix}}“", "type-rulechain": "Taisyklių grandinė", "type-rulechains": "Taisyklių grandinės", - "list-of-rulechains": "{ count, plural, =1 {Viena taisyklių grandinė} other {# taisyklių grandinių sąrašas} }", - "rulechain-name-starts-with": "Taisyklių grandinės, kurių pavadinimai prasideda '{{prefix}}'", - "type-scheduler-event": "Tvarkaraščio įvykis", - "type-scheduler-events": "Tvarkaraščio įvykiai", - "list-of-scheduler-events": "{ count, plural, =1 {Vienas tvarkaraščio įvykis} other {# tvarkaraščio įvykių sąrašas} }", - "scheduler-event-name-starts-with": "Tvarkaraščio įvykiai, kurių pavadinimai prasideda '{{prefix}}'", - "type-blob-entity": "Dvejetainis objektas (BLOB)", - "type-blob-entities": "Dvejetainiai objektai (BLOB)", - "list-of-blob-entities": "{ count, plural, =1 {Vienas dvejetainis objektas} other {# dvejetainių objektų sąrašas} }", - "blob-entity-name-starts-with": "Dvejetainiai objektai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-rulechains": "{ count, plural, =1 {Viena taisyklių grandinė} one {# taisyklių grandinės sąrašas} few {# taisyklių grandinių sąrašas} other {# taisyklių grandinių sąrašas} }", + "rulechain-name-starts-with": "Taisyklių grandinės, kurių pavadinimai prasideda „{{prefix}}“", + "type-scheduler-event": "Planuoklės įvykis", + "type-scheduler-events": "Planuoklės įvykiai", + "list-of-scheduler-events": "{ count, plural, =1 {Vienas planuoklės įvykis} one {# planuoklės įvykio sąrašas} few {# planuoklės įvykių sąrašas} other {# planuoklės įvykių sąrašas} }", + "scheduler-event-name-starts-with": "Planuoklės įvykiai, kurių pavadinimai prasideda „{{prefix}}“", + "type-blob-entity": "Blob subjektas", + "type-blob-entities": "Blob subjektai", + "list-of-blob-entities": "{ count, plural, =1 {Vienas Blob subjektas} one {# Blob subjekto sąrašas} few {# Blob subjektų sąrašas} other {# Blob subjektų sąrašas} }", + "blob-entity-name-starts-with": "Blob subjektai, kurių pavadinimai prasideda „{{prefix}}“", "type-report-template": "Ataskaitos šablonas", "type-report-templates": "Ataskaitų šablonai", - "list-of-report-templates": "{ count, plural, =1 {Vienas ataskaitos šablonas} other {# ataskaitų šablonų sąrašas} }", - "report-template-name-starts-with": "Ataskaitų šablonai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-report-templates": "{ count, plural, =1 {Vienas ataskaitos šablonas} one {# ataskaitos šablono sąrašas} few {# ataskaitų šablonų sąrašas} other {# ataskaitų šablonų sąrašas} }", + "report-template-name-starts-with": "Ataskaitų šablonai, kurių pavadinimai prasideda „{{prefix}}“", "type-report": "Ataskaita", "type-reports": "Ataskaitos", - "list-of-reports": "{ count, plural, =1 {Viena ataskaita} other {# ataskaitų sąrašas} }", - "report-name-starts-with": "Ataskaitos, kurių pavadinimai prasideda '{{prefix}}'", - "type-rulenode": "Taisyklės mazgas", + "list-of-reports": "{ count, plural, =1 {Viena ataskaita} one {# ataskaitos sąrašas} few {# ataskaitų sąrašas} other {# ataskaitų sąrašas} }", + "report-name-starts-with": "Ataskaitos, kurių pavadinimai prasideda „{{prefix}}“", + "type-rulenode": "Taisyklių mazgas", "type-rulenodes": "Taisyklių mazgai", - "list-of-rulenodes": "{ count, plural, =1 {Vienas taisyklės mazgas} other {# taisyklių mazgų sąrašas} }", - "rulenode-name-starts-with": "Taisyklių mazgai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-rulenodes": "{ count, plural, =1 {Vienas taisyklių mazgas} one {# taisyklių mazgo sąrašas} few {# taisyklių mazgų sąrašas} other {# taisyklių mazgų sąrašas} }", + "rulenode-name-starts-with": "Taisyklių mazgai, kurių pavadinimai prasideda „{{prefix}}“", + "type-api-key": "API raktas", + "type-api-keys": "API raktai", "type-current-customer": "Dabartinis klientas", - "type-current-tenant": "Dabartinis valdytojas", - "type-current-user": "Dabartinis vartotojas", - "type-current-user-owner": "Dabartinio vartotojo savininkas", + "type-current-tenant": "Dabartinis nuomininkas", + "type-current-user": "Dabartinis naudotojas", + "type-current-user-owner": "Dabartinio naudotojo savininkas", "type-calculated-field": "Apskaičiuotas laukas", "type-calculated-fields": "Apskaičiuoti laukai", "type-admin-settings": "Administratoriaus nustatymai", @@ -3190,52 +4494,76 @@ "type-ai-models": "DI modeliai", "type-widgets-bundle": "Valdiklių rinkinys", "type-widgets-bundles": "Valdiklių rinkiniai", - "list-of-widgets-bundles": "{ count, plural, =1 {Vienas valdiklių rinkinys} other {# valdiklių rinkinių sąrašas} }", + "list-of-widgets-bundles": "{ count, plural, =1 {Vienas valdiklių rinkinys} one {# valdiklių rinkinio sąrašas} few {# valdiklių rinkinių sąrašas} other {# valdiklių rinkinių sąrašas} }", "type-widget": "Valdiklis", "type-widgets": "Valdikliai", - "list-of-widgets": "{ count, plural, =1 {Vienas valdiklis} other {# valdiklių sąrašas} }", + "list-of-widgets": "{ count, plural, =1 {Vienas valdiklis} one {# valdiklio sąrašas} few {# valdiklių sąrašas} other {# valdiklių sąrašas} }", "search": "Subjektų paieška", - "selected-entities": "Pasirinkta { count, plural, =1 {1 subjektas} other {# subjektai} }", + "selected-entities": "{ count, plural, =1 {Pasirinktas 1 subjektas} one {Pasirinktas # subjektas} few {Pasirinkti # subjektai} other {Pasirinkta # subjektų} }", "entity-name": "Subjekto pavadinimas", "entity-label": "Subjekto etiketė", "details": "Informacija apie subjektą", - "no-entities-prompt": "Subjektų nėra", - "no-data": "Nėra duomenų atvaizdavimui", + "no-entities-prompt": "Subjektų nerasta", + "no-data": "Nėra rodomų duomenų", + "show-all-columns": "Rodyti viską", "columns-to-display": "Rodomi stulpeliai", "type-api-usage-state": "API naudojimo būsena", "type-entity-group": "Subjektų grupė", + "type-entity-groups": "Subjektų grupės", "type-converter": "Duomenų keitiklis", "type-converters": "Duomenų keitikliai", - "list-of-converters": "{ count, plural, =1 {Vienas duomenų keitiklis} other {# duomenų keitiklių sąrašas} }", - "converter-name-starts-with": "Duomenų keitikliai, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-converters": "{ count, plural, =1 {Vienas duomenų keitiklis} one {# duomenų keitiklio sąrašas} few {# duomenų keitiklių sąrašas} other {# duomenų keitiklių sąrašas} }", + "converter-name-starts-with": "Duomenų keitikliai, kurių pavadinimai prasideda „{{prefix}}“", "type-integration": "Integracija", "type-integrations": "Integracijos", - "list-of-integrations": "{ count, plural, =1 {Viena integracija} other {# integracijų sąrašas} }", - "integration-name-starts-with": "Integracijos, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-integrations": "{ count, plural, =1 {Viena integracija} one {# integracijos sąrašas} few {# integracijų sąrašas} other {# integracijų sąrašas} }", + "integration-name-starts-with": "Integracijos, kurių pavadinimai prasideda „{{prefix}}“", "type-role": "Rolė", "type-roles": "Rolės", - "list-of-roles": "{ count, plural, =1 {Viena rolė} other {# rolių sąrašas} }", - "role-name-starts-with": "Rolės, kurių pavadinimai prasideda '{{prefix}}'", + "list-of-roles": "{ count, plural, =1 {Viena rolė} one {# rolės sąrašas} few {# rolių sąrašas} other {# rolių sąrašas} }", + "role-name-starts-with": "Rolės, kurių pavadinimai prasideda „{{prefix}}“", "type-group-permission": "Grupės leidimai", "type-edge": "Edge", - "type-edges": "Edge įrenginiai", - "list-of-edges": "{ count, plural, =1 {Vienas Edge} other {# Edge sąrašas} }", - "edge-name-starts-with": "Edge, kurių pavadinimai prasideda '{{prefix}}'", + "type-edges": "Edge egzemplioriai", + "list-of-edges": "{ count, plural, =1 {Vienas Edge egzempliorius} one {# Edge egzemplioriaus sąrašas} few {# Edge egzempliorių sąrašas} other {# Edge egzempliorių sąrašas} }", + "edge-name-starts-with": "Edge egzemplioriai, kurių pavadinimai prasideda „{{prefix}}“", + "type-agent": "Agent egzempliorius", + "type-agents": "Agent egzemplioriai", + "list-of-agents": "{ count, plural, =1 {Vienas Agent egzempliorius} one {# Agent egzemplioriaus sąrašas} few {# Agent egzempliorių sąrašas} other {# Agent egzempliorių sąrašas} }", + "agent-name-starts-with": "Agent egzemplioriai, kurių pavadinimai prasideda „{{prefix}}“", + "type-agent-profile": "Agent profilis", + "type-agent-profiles": "Agent profiliai", + "list-of-agent-profiles": "{ count, plural, =1 {Vienas Agent profilis} one {# Agent profilio sąrašas} few {# Agent profilių sąrašas} other {# Agent profilių sąrašas} }", + "agent-profile-name-starts-with": "Agent profiliai, kurių pavadinimai prasideda „{{prefix}}“", + "type-agent-application": "Programa", + "type-agent-applications": "Programos", + "list-of-agent-applications": "{ count, plural, =1 {Viena programa} one {# programos sąrašas} few {# programų sąrašas} other {# programų sąrašas} }", + "agent-application-name-starts-with": "Programos, kurių pavadinimai prasideda „{{prefix}}“", + "type-agent-app-profile": "Programos profilis", + "type-agent-app-profiles": "Programų profiliai", + "list-of-agent-app-profiles": "{ count, plural, =1 {Vienas programos profilis} one {# programos profilio sąrašas} few {# programų profilių sąrašas} other {# programų profilių sąrašas} }", + "agent-app-profile-name-starts-with": "Programų profiliai, kurių pavadinimai prasideda „{{prefix}}“", + "type-agent-app-event": "Agent programos įvykis", + "type-agent-app-events": "Agent programos įvykiai", + "type-agent-app-unit": "Agent programos vienetas", + "type-agent-app-units": "Agent programos vienetai", + "type-agent-bulk-action": "Masinis veiksmas", + "type-agent-bulk-actions": "Masiniai veiksmai", "version-conflict": { - "message": "Ar norite perrašyti esamą versiją, ar atmesti pakeitimus ir įkelti naujausią versiją?", - "link": "Savo {{entityType}} versiją galite atsisiųsti naudojantis šia", + "message": "Ar norite perrašyti esamą versiją, ar atsisakyti pakeitimų ir įkelti naujausią versiją?", + "link": "Savo subjekto ({{entityType}}) versiją galite atsisiųsti naudodamiesi šia", "overwrite": "Perrašyti versiją", - "discard": "Atmesti pakeitimus" + "discard": "Atsisakyti pakeitimų" }, "type-tb-resource": "Išteklius", "type-tb-resources": "Ištekliai", - "list-of-tb-resources": "{ count, plural, =1 {Vienas išteklius} other {# išteklių sąrašas} }", + "list-of-tb-resources": "{ count, plural, =1 {Vienas išteklius} one {# ištekliaus sąrašas} few {# išteklių sąrašas} other {# išteklių sąrašas} }", "type-ota-package": "OTA paketas", "type-ota-packages": "OTA paketai", - "list-of-ota-packages": "{ count, plural, =1 {Vienas OTA paketas} other {# OTA paketų sąrašas} }", + "list-of-ota-packages": "{ count, plural, =1 {Vienas OTA paketas} one {# OTA paketo sąrašas} few {# OTA paketų sąrašas} other {# OTA paketų sąrašas} }", "type-task": "Užduotis", "type-tasks": "Užduotys", - "list-of-tasks": "{ count, plural, =1 {Viena užduotis} other {# užduočių sąrašas} }", + "list-of-tasks": "{ count, plural, =1 {Viena užduotis} one {# užduoties sąrašas} few {# užduočių sąrašas} other {# užduočių sąrašas} }", "type-rpc": "RPC", "type-queue": "Eilė", "type-queue-stats": "Eilės statistika", @@ -3243,35 +4571,43 @@ "type-notification": "Pranešimas", "type-notification-rule": "Pranešimo taisyklė", "type-notification-rules": "Pranešimų taisyklės", - "list-of-notification-rules": "{ count, plural, =1 {Viena pranešimo taisyklė} other {# pranešimų taisyklių sąrašas} }", + "list-of-notification-rules": "{ count, plural, =1 {Viena pranešimo taisyklė} one {# pranešimų taisyklės sąrašas} few {# pranešimų taisyklių sąrašas} other {# pranešimų taisyklių sąrašas} }", "type-notification-target": "Pranešimo gavėjas", "type-notification-targets": "Pranešimų gavėjai", - "list-of-notification-targets": "{ count, plural, =1 {Vienas pranešimo gavėjas} other {# pranešimų gavėjų sąrašas} }", + "list-of-notification-targets": "{ count, plural, =1 {Vienas pranešimo gavėjas} one {# pranešimų gavėjo sąrašas} few {# pranešimų gavėjų sąrašas} other {# pranešimų gavėjų sąrašas} }", "type-notification-request": "Pranešimo užklausa", "type-notification-template": "Pranešimo šablonas", "type-notification-templates": "Pranešimų šablonai", - "list-of-notification-templates": "{ count, plural, =1 {Vienas pranešimo šablonas} other {# pranešimų šablonų sąrašas} }", + "list-of-notification-templates": "{ count, plural, =1 {Vienas pranešimo šablonas} one {# pranešimo šablono sąrašas} few {# pranešimų šablonų sąrašas} other {# pranešimų šablonų sąrašas} }", "link": "nuoroda", - "customer-name": "Klientas", - "sub-customer-name": "Susijęs klientas", - "parent-customer-name": "Pirminis klientas", - "parent-sub-customer-name": "Pirminis klientas", - "include-customer-entities": "Rodyti pirminiam klientui priklausančius klientus", - "include-sub-customer-entities": "Rodyti susijusių klientų subjektus", + "customer-name": "Kliento pavadinimas", + "sub-customer-name": "Subkliento pavadinimas", + "parent-customer-name": "Pirminio kliento pavadinimas", + "parent-sub-customer-name": "Pirminio subkliento pavadinimas", + "include-customer-entities": "Rodyti klientų subjektus", + "include-sub-customer-entities": "Rodyti subklientų subjektus", "groups": "Grupės", "type-oauth2-client": "OAuth 2.0 klientas", "type-oauth2-clients": "OAuth 2.0 klientai", - "list-of-oauth2-clients": "{ count, plural, =1 {Vienas OAuth 2.0 klientas} other {# OAuth 2.0 klientų sąrašas} }", + "list-of-oauth2-clients": "{ count, plural, =1 {Vienas OAuth 2.0 klientas} one {# OAuth 2.0 kliento sąrašas} few {# OAuth 2.0 klientų sąrašas} other {# OAuth 2.0 klientų sąrašas} }", "type-domain": "Domenas", "type-domains": "Domenai", - "list-of-domains": "{ count, plural, =1 {Vienas domenas} other {# domenų sąrašas} }", - "type-mobile-app": "Mobilioji programa", - "type-mobile-apps": "Mobiliosios programos", - "list-of-mobile-apps": "{ count, plural, =1 {Viena mobilioji programa} other {# mobiliųjų programų sąrašas} }", - "type-mobile-app-bundle": "Mobiliųjų programų rinkinys", - "type-mobile-app-bundles": "Mobiliųjų programų rinkiniai", - "list-of-mobile-app-bundles": "{ count, plural, =1 {Vienas mobiliųjų programų rinkinys} other {# mobiliųjų programų rinkinių sąrašas} }", - "type-secret-storage": "Slaptų duomenų saugykla" + "list-of-domains": "{ count, plural, =1 {Vienas domenas} one {# domeno sąrašas} few {# domenų sąrašas} other {# domenų sąrašas} }", + "type-mobile-app": "Mobilioji programėlė", + "type-mobile-apps": "Mobiliosios programėlės", + "list-of-mobile-apps": "{ count, plural, =1 {Viena mobilioji programėlė} one {# mobiliosios programėlės sąrašas} few {# mobiliųjų programėlių sąrašas} other {# mobiliųjų programėlių sąrašas} }", + "type-mobile-app-bundle": "Mobilusis paketas", + "type-mobile-app-bundles": "Mobilieji paketai", + "list-of-mobile-app-bundles": "{ count, plural, =1 {Vienas mobilusis paketas} one {# mobiliojo paketo sąrašas} few {# mobiliųjų paketų sąrašas} other {# mobiliųjų paketų sąrašas} }", + "type-secret-storage": "Slaptų duomenų saugykla", + "limit-reached": "Pasiektas limitas", + "limit-reached-text": "Pasiekėte limitą: {{ entities }}. Norėdami pridėti daugiau, paprašykite savo sistemos administratoriaus padidinti jūsų limitą ({{ entity }}).", + "request-limit-increase": "Prašyti padidinti limitą", + "request-sysadmin-text": "Ar esate sistemos administratorius?", + "login-here": "Prisijunkite čia", + "to-increase-limit": "ir padidinkite limitą.", + "increase-limit-request-sent-title": "Išsiuntėme jūsų sistemos administratoriui automatinę užklausą padidinti limitą", + "increase-limit-request-sent-text": "Skirkite šiek tiek laiko, kol administratorius peržiūrės užklausą ir atnaujins nustatymus. Kad pamatytumėte pakeitimus, gali tekti atnaujinti šį puslapį." }, "entity-group": { "entity-group": "Subjektų grupė", @@ -3279,36 +4615,36 @@ "columns": "Stulpeliai", "add-column": "Pridėti stulpelį", "column-value": "Reikšmė", - "column-value-required": "Stulpelio reikšmė būtina.", + "column-value-required": "Stulpelio reikšmė yra privaloma.", "column-title": "Pavadinimas", "default-sort-order": "Numatytoji rūšiavimo tvarka", - "default-sort-order-required": "Numatytoji rūšiavimo tvarka būtina.", - "disable-sorting": "Disable sorting", - "hide-in-mobile-view": "Nerodyti mobiliąjame režime", - "use-cell-style-function": "Taikyti langelio stiliaus funkciją", - "use-cell-content-function": "Taikyti langelio turinio funkciją", + "default-sort-order-required": "Numatytoji rūšiavimo tvarka yra privaloma.", + "disable-sorting": "Išjungti rūšiavimą", + "hide-in-mobile-view": "Nerodyti mobiliajame režime", + "use-cell-style-function": "Naudoti langelio stiliaus funkciją", + "use-cell-content-function": "Naudoti langelio turinio funkciją", "edit-column": "Redaguoti stulpelį", "column-details": "Stulpelio informacija", "actions": "Veiksmai", "settings": "Nustatymai", "search": "Subjektų grupių paieška", - "delete": "Panaikinti subjektų grupę", + "delete": "Ištrinti subjektų grupę", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas.", + "name-required": "Pavadinimas yra privalomas.", "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", "add": "Pridėti subjektų grupę", - "open-entity-group": "Atverti subjektų grupę", + "open-entity-group": "Atidaryti subjektų grupę", "add-entity-group-text": "Pridėti naują subjektų grupę", "no-entity-groups-text": "Subjektų grupių nėra", "entity-group-details": "Informacija apie subjektų grupę", - "selected-entity-groups": "Pasirinkta { count, plural, =1 {1 subjektų grupė} other {# subjektų grupės} }", - "delete-entity-groups": "Panaikinti subjektų grupes", - "delete-entity-group-title": "Ar tikrai norite panaikinti subjektų grupę '{{entityGroupName}}'?", - "delete-entity-group-text": "Būkite dėmesingi, po patvirtinimo, subjektų grupė ir visa su ja susijusi informacija bus pašalinta ir jų atkurti nebegalėsite.", - "delete-entity-groups-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 subjektų grupę} other {# subjektų grupes} }?", - "delete-entity-groups-action-title": "Panaikinti { count, plural, =1 {1 subjektų grupę} other {# subjektų grupes} }", - "delete-entity-groups-text": "Būkite dėmesingi, po patvirtinimo visos subjektų grupės ir su jomis susijusi informacija bus panaikintos ir jų atkurti nebegalėsite.", + "selected-entity-groups": "{ count, plural, =1 {Pasirinkta 1 subjektų grupė} one {Pasirinkta # subjektų grupė} few {Pasirinktos # subjektų grupės} other {Pasirinkta # subjektų grupių} }", + "delete-entity-groups": "Ištrinti subjektų grupes", + "delete-entity-group-title": "Ar tikrai norite ištrinti subjektų grupę „{{entityGroupName}}“?", + "delete-entity-group-text": "Būkite atsargūs, po patvirtinimo subjektų grupė ir visa su ja susijusi informacija bus negrįžtamai pašalinta.", + "delete-entity-groups-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 subjektų grupę} one {# subjektų grupę} few {# subjektų grupes} other {# subjektų grupių} }?", + "delete-entity-groups-action-title": "Ištrinti { count, plural, =1 {1 subjektų grupę} one {# subjektų grupę} few {# subjektų grupes} other {# subjektų grupių} }", + "delete-entity-groups-text": "Būkite atsargūs, po patvirtinimo visos pasirinktos subjektų grupės ir su jomis susijusi informacija bus pašalintos ir jų atkurti nebegalėsite.", "device-groups": "Įrenginių grupės", "shared-device-groups": "Bendrinamos įrenginių grupės", "asset-groups": "Turto grupės", @@ -3317,80 +4653,83 @@ "shared-customer-groups": "Bendrinamos klientų grupės", "device-group": "Įrenginių grupė", "asset-group": "Turto grupė", - "user-group": "Vartotojų grupė", - "user-groups": "Vartotojų grupės", + "user-group": "Naudotojų grupė", + "user-groups": "Naudotojų grupės", "customer-group": "Klientų grupė", - "entity-view-groups": "Subjektų rodinių grupė", + "entity-view-groups": "Subjektų rodinių grupės", "shared-entity-view-groups": "Bendrinamos subjektų rodinių grupės", "entity-view-group": "Subjektų rodinių grupė", - "edge-groups": "Edge groups", - "shared-edge-groups": "Shared edge groups", - "edge-group": "Edge group", + "edge-groups": "Edge grupės", + "shared-edge-groups": "Bendrinamos Edge grupės", + "edge-group": "Edge grupė", "dashboard-groups": "Skydelių grupės", "shared-dashboard-groups": "Bendrinamos skydelių grupės", "dashboard-group": "Skydelių grupė", + "agent-groups": "Agent grupės", + "shared-agent-groups": "Bendrinamos Agent grupės", + "agent-group": "Agent grupė", "fetch-more": "Gauti daugiau", "column-type": { "column-type": "Stulpelio tipas", "client-attribute": "Kliento atributas", "shared-attribute": "Bendrinamas atributas", "server-attribute": "Serverio atributas", - "timeseries": "Telemetrija", + "timeseries": "Laiko eilutės", "entity-field": "Subjekto laukas" }, - "column-type-required": "Stulpelio tipas būtinas.", + "column-type-required": "Stulpelio tipas yra privalomas.", "entity-field": { "created-time": "Sukūrimo laikas", "name": "Pavadinimas", "type": "Tipas", - "device_profile": "Device profile", - "asset_profile": "Asset profile", + "device_profile": "Įrenginio profilis", + "asset_profile": "Turto profilis", "assigned_customer": "Priskirtas klientas", - "authority": "Tarnyba", + "authority": "Teisių lygis", "first_name": "Vardas", "last_name": "Pavardė", "email": "El. paštas", "title": "Pavadinimas", "country": "Šalis", - "state": "Apskritis/rajonas", + "state": "Rajonas", "city": "Miestas", "address": "Adresas", "address2": "Adresas 2", "zip": "Pašto kodas", - "phone": "Tel, numeris", + "phone": "Telefonas", "label": "Etiketė" }, "sort-order": { - "asc": "Didėjanti", - "desc": "Mažėjanti", + "asc": "Didėjančia tvarka", + "desc": "Mažėjančia tvarka", "none": "Nėra" }, "details-mode": { - "on-row-click": "Spustelėjus eilutėje", + "on-row-click": "Spustelėjus eilutę", "on-action-button-click": "Paspaudus informacijos mygtuką", "disabled": "Išjungta" }, "change-owner": "Pakeisti savininką", "select-target-owner": "Pasirinkite savininką", - "no-owners-matching": "Savininkų atitinkančių '{{owner}}' nėra.", + "no-owners-matching": "Savininkų, atitinkančių „{{owner}}“, nėra.", "no-owners-text": "Savininkų nerasta", - "target-owner-required": "Savininkas būtinas.", - "confirm-change-owner-title": "Ar tikrai norite pakeisti savininką { count, plural, =1 {1 pasirinktam subjektui} other {# pasirinktiems subjektams} }?", - "confirm-change-owner-text": "Būkite dėmesingi, po patvirtinimo, visi pasirinkti subjektai iš esamo savininko bus perkelti į naujo savininko grupę 'Visi'.", + "target-owner-required": "Savininkas yra privalomas.", + "confirm-change-owner-title": "Ar tikrai norite pakeisti savininką { count, plural, =1 {1 pasirinktam subjektui} one {# pasirinktam subjektui} few {# pasirinktiems subjektams} other {# pasirinktų subjektų} }?", + "confirm-change-owner-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti subjektai iš esamo savininko bus perkelti į naujo savininko grupę „Visi“.", "add-to-group": "Pridėti į grupę", "move-to-group": "Perkelti į grupę", "select-entity-group": "Pasirinkite subjektų grupę", - "no-entity-groups-matching": "Subjektų grupių, atitinkančių '{{entityGroup}}' nėra.", + "no-entity-groups-matching": "Subjektų grupių, atitinkančių „{{entityGroup}}“, nėra.", "create-new-entity-group": "Sukurti naują!", - "target-entity-group-required": "Subjektų grupė būtina.", - "select-user-group": "Pasirinkite vartotojų grupę", - "no-user-groups-matching": "Vartotojų grupių, atitinkančių '{{entityGroup}}' nėra.", - "target-user-group-required": "Vartotojų grupė būtina.", + "target-entity-group-required": "Subjektų grupė yra privaloma.", + "select-user-group": "Pasirinkite naudotojų grupę", + "no-user-groups-matching": "Naudotojų grupių, atitinkančių „{{entityGroup}}“, nėra.", + "target-user-group-required": "Tikslinė naudotojų grupė yra privaloma.", "remove-from-group": "Pašalinti iš grupės", "group-table-title": "Grupių lentelės pavadinimas", "enable-search": "Leisti subjektų paiešką", "enable-add": "Leisti pridėti subjektus", - "enable-delete": "Leisti panaikinti subjektus", + "enable-delete": "Leisti ištrinti subjektus", "enable-selection": "Leisti subjektų pasirinkimą", "enable-group-transfer": "Leisti perkėlimus tarp grupių", "display-pagination": "Rodyti dalinimą puslapiais", @@ -3400,42 +4739,42 @@ "page-step-count-format-message": "Turi būti sveikasis skaičius nuo 1 iki 100.", "page-step-increment-format-message": "Turi būti sveikasis skaičius, didesnis arba lygus 1.", "enable-assignment-actions": "Leisti priskirti", - "enable-credentials-management": "Leisti valdyti įgaliojimus", - "enable-login-as-user": "Leisti prisijungti kaip vartotojui", - "enable-users-management": "Leisti valdyti vartotojus", + "enable-credentials-management": "Leisti valdyti prisijungimo duomenis", + "enable-login-as-user": "Leisti prisijungti kaip naudotojas", + "enable-users-management": "Leisti valdyti naudotojus", "enable-customers-management": "Leisti valdyti klientus", "enable-assets-management": "Leisti valdyti turtą", "enable-devices-management": "Leisti valdyti įrenginius", "enable-entity-views-management": "Leisti subjektų rodinių valdymą", - "enable-edges-management": "Įgalina edge valdymą", + "enable-edges-management": "Leisti valdyti Edge egzempliorius", "enable-dashboards-management": "Leisti skydelių valdymą", - "enable-scheduler-events-management": "Leisti tvarkaraščio įvykių valdymą", - "open-details-on": "Atverti subjekto informaciją", + "enable-scheduler-events-management": "Leisti planuoklės įvykių valdymą", + "open-details-on": "Atidaryti subjekto informaciją", "select-existing": "Pasirinkti egzistuojančią subjektų grupę", "create-new": "Sukurti naują subjektų grupę", "new-entity-group-name": "Naujos subjektų grupės pavadinimas", "entity-group-list": "Subjektų grupių sąrašas", "entity-group-list-empty": "Nepasirinktos subjektų grupės.", "name-starts-with": "Subjektų grupės pavadinimas prasideda", - "entity-group-name-filter-required": "Subjektų grupės filtras būtinas.", + "entity-group-name-filter-required": "Subjektų grupės filtras yra privalomas.", "roles": "Rolės", "permissions": "Leidimai", "public": "Vieša", "entity-group-public": "Subjektų grupė yra vieša", "make-public": "Subjektų grupę padaryti vieša", "make-private": "Subjektų grupę padaryti privačia", - "make-public-entity-group-title": "Ar tikrai norite subjektų grupę '{{entityGroupName}}' padaryti vieša?", - "make-public-entity-group-text": "Po patvirtinimo subjektų grupė ir visi jai priklausantys subjektai taps vieši ir matomi kitiems vartotojams.", - "make-private-entity-group-title": "Ar tikrai norite subjektų grupę '{{entityGroupName}}' padaryti privačia?", - "make-private-entity-group-text": "Po patvirtinimo, subjektų grupė ir visi jai priklausantys subjektai taps privatūs ir nematomi kitiems vartotojams.", - "share": "Pasidalinti grupe", - "copyId": "Kopijuoti subjektų grupės Id", - "idCopiedMessage": "Subjektų grupės Id nukopijuotas į škarpinę", + "make-public-entity-group-title": "Ar tikrai norite subjektų grupę „{{entityGroupName}}“ padaryti vieša?", + "make-public-entity-group-text": "Po patvirtinimo subjektų grupė ir visi jai priklausantys subjektai taps vieši ir matomi kitiems naudotojams.", + "make-private-entity-group-title": "Ar tikrai norite subjektų grupę „{{entityGroupName}}“ padaryti privačia?", + "make-private-entity-group-text": "Po patvirtinimo subjektų grupė ir visi jai priklausantys subjektai taps privatūs ir nematomi kitiems naudotojams.", + "share": "Bendrinti subjektų grupę", + "copyId": "Kopijuoti subjektų grupės ID", + "idCopiedMessage": "Subjektų grupės ID nukopijuotas į iškarpinę", "entity-group-name": "Subjektų grupės pavadinimas", - "all-users": "Visi vartotojai", + "all-users": "Visi naudotojai", "owner": "Savininkas", - "owner-required": "Savininkas būtinas.", - "manage-owner-and-groups": "Savininkas ir grupės", + "owner-required": "Savininkas yra privalomas.", + "manage-owner-and-groups": "Valdyti savininką ir grupes", "owner-and-groups": "Savininkas ir grupės" }, "entity-field": { @@ -3456,134 +4795,135 @@ "phone": "Telefonas", "label": "Etiketė", "configuration": "Konfigūracija", - "schedule": "Grafikas", - "originatorId": "Iniciatoriaus ID", - "originatorType": "Iniciatoriaus tipas", + "schedule": "Tvarkaraštis", + "originatorId": "Siuntėjo ID", + "originatorType": "Siuntėjo tipas", "queue-name": "Eilės pavadinimas", "service-id": "Paslaugos ID", - "owner-name": "Savininko vardas", - "owner-type": "Savininko tipas" + "owner-name": "Savininko pavadinimas", + "owner-type": "Savininko tipas", + "format": "Formatas" }, "entity-view": { "all": "Visi", "all-entity-views": "Visi subjektų rodiniai", "groups": "Grupės", - "shared": "bendrinami", - "entity-view": "Subjektų rodiniai", - "entity-view-required": "Subjeto rodinys būtinas.", + "shared": "Bendrinami", + "entity-view": "Subjektų rodinys", + "entity-view-required": "Subjektų rodinys yra privalomas.", "entity-views": "Subjektų rodiniai", "management": "Subjektų rodinių valdymas", "view-entity-views": "Peržiūrėti subjektų rodinius", "entity-view-alias": "Subjektų rodinio pseudonimas", "aliases": "Subjektų rodinio pseudonimai", - "no-alias-matching": "'{{alias}}' nerastas.", + "no-alias-matching": "„{{alias}}“ nerastas.", "no-aliases-found": "Pseudonimų nėra.", - "no-key-matching": "'{{key}}' nerastas.", + "no-key-matching": "„{{key}}“ nerastas.", "no-keys-found": "Raktų nėra.", "create-new-alias": "Sukurti naują!", "create-new-key": "Sukurti naują!", - "duplicate-alias-error": "'{{alias}}' dubliuojasi.
Įrenginio pseudonimai skydelyje turi būti unikalūs.", - "configure-alias": "Konfigūruoti '{{alias}}' pseudonimą", - "no-entity-views-matching": "Subjektų rodinių, atitinkančių '{{entity}}' nėra.", + "duplicate-alias-error": "Pseudonimas „{{alias}}“ dubliuojasi.
Subjektų rodinių pseudonimai skydelyje turi būti unikalūs.", + "configure-alias": "Konfigūruoti „{{alias}}“ pseudonimą", + "no-entity-views-matching": "Subjektų rodinių, atitinkančių „{{entity}}“, nėra.", "public": "Viešas", "alias": "Pseudonimas", - "alias-required": "Subjekto rodinio pseudonimas būtinas.", - "remove-alias": "Panaikinti subjekto rodinio pseudonimą", - "add-alias": "Pridėti subjekto rodinio pseudonimą", - "name-starts-with": "Subjekto rodinio pavadinimas prasideda", + "alias-required": "Subjektų rodinio pseudonimas yra privalomas.", + "remove-alias": "Pašalinti subjektų rodinio pseudonimą", + "add-alias": "Pridėti subjektų rodinio pseudonimą", + "name-starts-with": "Subjektų rodinio pavadinimo išraiška", "help-text": "Naudokite '%' simbolį pagal tai, kaip norite ieškoti: '%subjekto_rodinio_pavadinimo_fragmentas%', '%subjekto_rodinio_pavadinimo_pabaiga', 'subjekto_rodinio_pavadinimo_pradžia%'.", "entity-view-list": "Subjektų rodinių sąrašas", "use-entity-view-name-filter": "Naudoti filtrą", - "entity-view-list-empty": "Subjektai nepasirinkti.", - "entity-view-name-filter-required": "Subjekto rodinio pavadinimo filtras būtinas.", - "entity-view-name-filter-no-entity-view-matched": "Subjektų rodinių, kurių pavadinimai prasideda '{{entityView}}' nėra.", + "entity-view-list-empty": "Subjektų rodiniai nepasirinkti.", + "entity-view-name-filter-required": "Subjektų rodinio pavadinimo filtras yra privalomas.", + "entity-view-name-filter-no-entity-view-matched": "Subjektų rodinių, kurių pavadinimai prasideda „{{entityView}}“, nėra.", "add": "Pridėti subjektų rodinį", - "entity-view-public": "Subjektų rodnys yra viešas", + "entity-view-public": "Subjektų rodinys yra viešas", "assign-to-customer": "Priskirti klientui", - "assign-entity-view-to-customer": "Subjektų rodinį (-ius) priskirti klientui", + "assign-entity-view-to-customer": "Priskirti subjektų rodinį (-ius) klientui", "assign-entity-view-to-customer-text": "Pasirinkite subjektų rodinius, kuriuos norite priskirti klientui", "no-entity-views-text": "Subjektų rodinių nėra", "assign-to-customer-text": "Pasirinkite klientą, kuriam priskirti subjektų rodinį (-ius)", "entity-view-details": "Informacija apie subjektų rodinį", "add-entity-view-text": "Pridėti naują subjektų rodinį", - "delete": "Panikinti subjektų rodinį", + "delete": "Ištrinti subjektų rodinį", "assign-entity-views": "Priskirti subjektų rodinius", - "assign-entity-views-text": "Priskirti { count, plural, =1 {1 subjektų rodinį} other {# subjektų rodinius} } klientui", - "delete-entity-views": "Panaikinti subjektų rodinius", + "assign-entity-views-text": "Priskirti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} } klientui", + "delete-entity-views": "Ištrinti subjektų rodinius", "make-public": "Subjektų rodinį padaryti viešu", "make-private": "Subjektų rodinį padaryti privačiu", "unassign-from-customer": "Atsieti nuo kliento", "unassign-entity-views": "Atsieti subjektų rodinius", - "unassign-entity-views-action-title": "Atsieti { count, plural, =1 {1 subjektų rodinį} other {# subjektų rodinius} } nuo kliento", + "unassign-entity-views-action-title": "Atsieti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} } nuo kliento", "assign-new-entity-view": "Priskirti naują subjektų rodinį", - "delete-entity-view-title": "Ar tikrai norite panaikinti subjektų rodinį '{{entityViewName}}'?", - "delete-entity-view-text": "Būkite dėmesingi, po patvirtinimo, subjektų rodinys ir visa su juo susijusi informacija bus panaikinta ir jų atkurti nebegalėsite.", - "delete-entity-views-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 subketų rodinį} other {# subjektų rodinius} }?", - "delete-entity-views-action-title": "Panaikinti { count, plural, =1 {1 subjektų rodinį} other {# subjektų rodinius} }", - "delete-entity-views-text": "Būkite dėmesingi, po patvirtinimo, visi pasirinkti subjektų rodiniai ir visa su jais susijusi informacija bus panaikinta ir jų atkurti nebegalėsite.", - "make-public-entity-view-title": "Ar tikrai norite subjektų rodinį '{{entityViewName}}' padaryti viešu?", - "make-public-entity-view-text": "Po patvirtinimo subjektų rodinys ir visa su juo susijusi informacija taps vieša ir matoma kitiems vartotojams.", - "make-private-entity-view-title": "Ar tikrai norite subjektų rodinį '{{entityViewName}}' padaryti privačiu?", - "make-private-entity-view-text": "Po patvirtinimo subjektų rodinys ir visa su juo susijusi informacija taps privati ir kiti vartotojai jų nebematys.", - "unassign-entity-view-title": "Ar tikrai norite atsieti subjektų rodinį '{{entityViewName}}'?", + "delete-entity-view-title": "Ar tikrai norite ištrinti subjektų rodinį „{{entityViewName}}“?", + "delete-entity-view-text": "Būkite atsargūs, po patvirtinimo subjektų rodinys ir visa su juo susijusi informacija bus negrįžtamai pašalinti.", + "delete-entity-views-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} }?", + "delete-entity-views-action-title": "Ištrinti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} }", + "delete-entity-views-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti subjektų rodiniai bus pašalinti, o visa su jais susijusi informacija bus negrįžtamai prarasta.", + "make-public-entity-view-title": "Ar tikrai norite subjektų rodinį „{{entityViewName}}“ padaryti viešu?", + "make-public-entity-view-text": "Po patvirtinimo subjektų rodinys ir visa su juo susijusi informacija taps vieša ir matoma kitiems naudotojams.", + "make-private-entity-view-title": "Ar tikrai norite subjektų rodinį „{{entityViewName}}“ padaryti privačiu?", + "make-private-entity-view-text": "Po patvirtinimo subjektų rodinys ir visa su juo susijusi informacija taps privati ir kiti naudotojai jų nebematys.", + "unassign-entity-view-title": "Ar tikrai norite atsieti subjektų rodinį „{{entityViewName}}“?", "unassign-entity-view-text": "Po patvirtinimo subjektų rodinys bus atsietas ir klientas jo nebematys.", "unassign-entity-view": "Atsieti subjektų rodinį", - "unassign-entity-views-title": "Ar tikrai norite atsieti { count, plural, =1 {1 subjektų rodinį} other {# subjektų rodinius} }?", + "unassign-entity-views-title": "Ar tikrai norite atsieti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} }?", "unassign-entity-views-text": "Po patvirtinimo visi pasirinkti subjektų rodiniai bus atsieti ir klientas jų nebematys.", "entity-view-type": "Subjektų rodinio tipas", - "entity-view-type-required": "Subjektų rodinio tipas būtinas.", + "entity-view-type-required": "Subjektų rodinio tipas yra privalomas.", "select-entity-view-type": "Pasirinkite subjektų rodinio tipą", "enter-entity-view-type": "Įveskite subjektų rodinio tipą", - "any-entity-view": "Bet kuris subjektų tipas", - "no-entity-view-types-matching": "Subjektų rodinių, atitinkančių '{{entitySubtype}}' nėra.", - "entity-view-type-list-empty": "Subjektų tipai nepasirinkti.", + "any-entity-view": "Bet kuris subjektų rodinys", + "no-entity-view-types-matching": "Subjektų rodinių tipų, atitinkančių „{{entitySubtype}}“, nėra.", + "entity-view-type-list-empty": "Subjektų rodinių tipai nepasirinkti.", "entity-view-types": "Subjektų rodinio tipai", "created-time": "Sukūrimo laikas", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas.", - "name-max-length": "Pavadinimas negali viršyti 256 simbolių", - "type-max-length": "Rodinio tipas negali viršyti 256 simbolių", + "name-required": "Pavadinimas yra privalomas.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", + "type-max-length": "Subjektų rodinio tipas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", "events": "Įvykiai", "details": "Informacija", - "copyId": "Kopijuoti subjekto rodinio Id", - "idCopiedMessage": "Subjektų rodinio Id nukopjuotas į iškarpinę", + "copyId": "Kopijuoti subjektų rodinio ID", + "idCopiedMessage": "Subjektų rodinio ID nukopijuotas į iškarpinę", "assignedToCustomer": "Priskirtas klientui", "unable-entity-view-device-alias-title": "Subjektų rodinio pseudonimo ištrinti nepavyko", - "unable-entity-view-device-alias-text": "Įrenginio pseudonimas '{{entityViewAlias}}' Negali būti ištrintas, nes jis naudojamas valdikliuose:
{{widgetsList}}", + "unable-entity-view-device-alias-text": "Įrenginio pseudonimas „{{entityViewAlias}}“ negali būti ištrintas, nes jis naudojamas šiuose valdikliuose:
{{widgetsList}}", "select-entity-view": "Pasirinkti subjektų rodinį", "start-ts": "Pradžios laikas", "end-ts": "Pabaigos laikas", - "date-limits": "Datos limitas", + "date-limits": "Datos ribos", "client-attributes": "Kliento atributai", "shared-attributes": "Bendrinami atributai", "server-attributes": "Serverio atributai", - "timeseries": "Telemetrija", + "timeseries": "Laiko eilutės", "client-attributes-placeholder": "Kliento atributai", "shared-attributes-placeholder": "Bendrinami atributai", "server-attributes-placeholder": "Serverio atributai", - "timeseries-placeholder": "Telemetrija", + "timeseries-placeholder": "Laiko eilutės", "target-entity": "Tikslinis subjektas", - "attributes-propagation": "Atributų paplitimas", - "attributes-propagation-hint": "Subjektų rodinys automatikškai kopijuos nurodytus atributus iš tikslinio subjekto kiekvieną kartą, kai išsaugosite ar atnaujinsite šį rodinį. Norint išsaugoti sistemos spartą, tikslinio subjekto atributai neperkeliami į subjektų rodinį kiekvieną kartą kai jie pasikeičia. Tačiau jūs galite įjungti automatinį atributų reikšmių perdavimą, taisyklių grandinėje sukonfigūravę \"kopijuoti į vaizdą\" taisyklę ir \"Pateikti atributus\" bei \"Atributai atnaujinti\" žinutes nukreipę į naują taisyklę.", - "timeseries-data": "Temetrijos duomenys", - "timeseries-data-hint": "Sukonfigūruokite tikslinio objekto telemetrijos duomenų raktus, kurie bus pasiekiami objekto rodinyje. Šios telemetrijos duomenys yra tik skaitomi.", - "select-group-to-add": "Pasirinkite grupę į kurią pridėti pažymėtus subjektų rodinius", - "select-group-to-move": "Pasirinkite grupę į kurią perkelti pažymėtus subjektų rodinius", - "remove-entity-views-from-group": "Ar tikrai norite iš '{{entityGroup}}' grupės pašalinti { count, plural, =1 {1 subjektų rodinį} other {# subjektų rodinius} }?", + "attributes-propagation": "Atributų perdavimas", + "attributes-propagation-hint": "Subjektų rodinys automatiškai kopijuos nurodytus atributus iš tikslinio subjekto kiekvieną kartą, kai išsaugosite ar atnaujinsite šį subjektų rodinį. Dėl našumo tikslinio subjekto atributai nėra perduodami į subjektų rodinį po kiekvieno atributo pakeitimo. Automatinį perdavimą galite įjungti taisyklių grandinėje sukonfigūravę taisyklių mazgą „copy to view“ ir susieję su juo žinutes „Post attributes“ ir „Attributes Updated“.", + "timeseries-data": "Laiko eilučių duomenys", + "timeseries-data-hint": "Sukonfigūruokite tikslinio subjekto laiko eilučių duomenų raktus, kurie bus pasiekiami subjektų rodinyje. Šie laiko eilučių duomenys yra tik skaitomi.", + "select-group-to-add": "Pasirinkite grupę, į kurią pridėti pažymėtus subjektų rodinius", + "select-group-to-move": "Pasirinkite grupę, į kurią perkelti pažymėtus subjektų rodinius", + "remove-entity-views-from-group": "Ar tikrai norite iš '{{entityGroup}}' grupės pašalinti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} }?", "group": "Subjektų rodinių grupė", - "list-of-groups": "{ count, plural, =1 {Viena subjektų rodinių grupė} other {# subjektų rodinių grupių sąrašas} }", - "group-name-starts-with": "Subjektų rodinių grupės pavadinimas prasideda '{{prefix}}'", + "list-of-groups": "{ count, plural, =1 {Viena subjektų rodinių grupė} one {# subjektų rodinių grupės sąrašas} few {# subjektų rodinių grupių sąrašas} other {# subjektų rodinių grupių sąrašas} }", + "group-name-starts-with": "Subjektų rodinių grupės, kurių pavadinimai prasideda „{{prefix}}“", "search": "Subjektų rodinių paieška", - "selected-entity-views": "Pasirinkta { count, plural, =1 {1 subjektų rodinys} other {# subjektų rodiniai} }", - "assign-entity-view-to-edge": "Priskirti subjekto rodinį (-ius) „Edge“ sistemai", - "assign-entity-view-to-edge-text": "Pasirinkite subjekto rodinius, kuriuos norite priskirti „Edge“ sistemai", - "unassign-entity-view-from-edge-title": "Ar tikrai norite atsieti subjekto rodinį '{{entityViewName}}' nuo „Edge“?", - "unassign-entity-view-from-edge-text": "Po patvirtinimo subjekto rodinys bus atsietas ir nebebus pasiekiamas per „Edge“.", - "unassign-entity-views-from-edge-action-title": "Atsieti { count, plural, =1 {1 subjekto rodinį} other {# subjekto rodinius} } nuo „Edge“", - "unassign-entity-view-from-edge": "Atsieti subjekto rodinį", - "unassign-entity-views-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 subjekto rodinį} other {# subjekto rodinius} }?", - "unassign-entity-views-from-edge-text": "Po patvirtinimo visi pasirinkti subjekto rodiniai bus atsieti ir nebebus pasiekiami per „Edge“." + "selected-entity-views": "{ count, plural, =1 {Pasirinktas 1 subjektų rodinys} one {Pasirinktas # subjektų rodinys} few {Pasirinkti # subjektų rodiniai} other {Pasirinkta # subjektų rodinių} }", + "assign-entity-view-to-edge": "Priskirti subjektų rodinį (-ius) Edge egzemplioriui", + "assign-entity-view-to-edge-text": "Pasirinkite subjektų rodinius, kuriuos norite priskirti Edge egzemplioriui", + "unassign-entity-view-from-edge-title": "Ar tikrai norite atsieti subjektų rodinį „{{entityViewName}}“ nuo Edge egzemplioriaus?", + "unassign-entity-view-from-edge-text": "Po patvirtinimo subjektų rodinys bus atsietas ir Edge egzemplioriui nebebus pasiekiamas.", + "unassign-entity-views-from-edge-action-title": "Atsieti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} } nuo Edge egzemplioriaus", + "unassign-entity-view-from-edge": "Atsieti subjektų rodinį", + "unassign-entity-views-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 subjektų rodinį} one {# subjektų rodinį} few {# subjektų rodinius} other {# subjektų rodinių} }?", + "unassign-entity-views-from-edge-text": "Po patvirtinimo visi pasirinkti subjektų rodiniai bus atsieti ir Edge egzemplioriui nebebus pasiekiami." }, "event": { "events": "Įvykiai", @@ -3593,43 +4933,46 @@ "type-error": "Klaida", "type-lc-event": "Gyvavimo ciklo įvykis", "type-stats": "Statistika", - "type-debug-converter": "Derinimas (Converter)", - "type-debug-integration": "Derinimas (Integration)", - "type-debug-rule-node": "Derinimas (Rule Node)", - "type-debug-rule-chain": "Derinimas (Rule Chain)", - "type-debug-calculated-field": "Derinimas (Calculated Field)", + "type-debug-converter": "Derinimas", + "type-debug-integration": "Derinimas", + "type-debug-rule-node": "Derinimas", + "type-debug-rule-chain": "Derinimas", + "type-debug-calculated-field": "Derinimas", "arguments": "Argumentai", "result": "Rezultatas", "no-events-prompt": "Įvykių nėra", "error": "Klaida", + "errors": "Klaidos", "alarm": "Įspėjimas", "event-time": "Įvykio laikas", "server": "Serveris", "body": "Turinys", "method": "Metodas", "type": "Tipas", - "in": "Į", - "out": "Iš", + "in": "Įvestis", + "out": "Išvestis", "metadata": "Metaduomenys", - "message": "Pranešimas", + "message": "Žinutė", "entity": "Subjektas", - "message-id": "Pranešimo ID", - "copy-message-id": "Kopijuoti pranešimo ID", - "message-type": "Pranešimo tipas", + "message-id": "Žinutės ID", + "copy-message-id": "Kopijuoti žinutės ID", + "message-type": "Žinutės tipas", "data-type": "Duomenų tipas", "relation-type": "Ryšio tipas", "data": "Duomenys", "event": "Įvykis", "status": "Būsena", "success": "Sėkmingas", + "warning": "Perspėjimas", + "warnings": "Perspėjimai", "failed": "Nepavyko", - "messages-processed": "Apdoroti pranešimai", - "max-messages-processed": "Maks. apdorotų pranešimų", - "min-messages-processed": "Min. apdorotų pranešimų", + "messages-processed": "Apdorotos žinutės", + "max-messages-processed": "Maks. apdorotų žinučių", + "min-messages-processed": "Min. apdorotų žinučių", "errors-occurred": "Įvyko klaidų", "max-errors-occurred": "Maks. klaidų", "min-errors-occurred": "Min. klaidų", - "min-value": "Mažiausia leistina reikšmė yra 0.", + "min-value": "Mažiausia reikšmė yra 0.", "all-events": "Visi", "has-error": "Turi klaidą", "entity-id": "Subjekto ID", @@ -3644,62 +4987,62 @@ }, "extension": { "extensions": "Plėtiniai", - "selected-extensions": "Pasirinkta { count, plural, =1 {1 plėtinys} other {# plėtiniai} }", + "selected-extensions": "{ count, plural, =1 {Pasirinktas 1 plėtinys} one {Pasirinktas # plėtinys} few {Pasirinkti # plėtiniai} other {Pasirinkta # plėtinių} }", "type": "Tipas", "key": "Raktas", "value": "Reikšmė", - "id": "Id", + "id": "ID", "extension-id": "Plėtinio ID", "extension-type": "Plėtinio tipas", "transformer-json": "JSON *", "unique-id-required": "Dabartinis plėtinio ID jau egzistuoja.", - "delete": "Pašalinti plėtinį", + "delete": "Ištrinti plėtinį", "add": "Pridėti plėtinį", "edit": "Redaguoti plėtinį", "view": "Peržiūrėti plėtinį", - "delete-extension-title": "Ar tikrai norite pašalinti plėtinį '{{extensionId}}'?", + "delete-extension-title": "Ar tikrai norite ištrinti plėtinį „{{extensionId}}“?", "delete-extension-text": "Būkite atsargūs — po patvirtinimo šis plėtinys ir visi susiję duomenys bus negrįžtamai pašalinti.", - "delete-extensions-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 plėtinį} other {# plėtinius} }?", + "delete-extensions-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 plėtinį} one {# plėtinį} few {# plėtinius} other {# plėtinių} }?", "delete-extensions-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti plėtiniai bus pašalinti.", "converters": "Keitikliai", "converter-id": "Keitiklio ID", "configuration": "Konfigūracija", "converter-configurations": "Keitiklio konfigūracijos", - "token": "Saugos raktas", + "token": "Saugos žetonas", "add-converter": "Pridėti keitiklį", "add-config": "Pridėti keitiklio konfigūraciją", "device-name-expression": "Įrenginio pavadinimo išraiška", "device-type-expression": "Įrenginio tipo išraiška", - "custom": "Tinkintas", + "custom": "Pasirinktinis", "to-double": "Konvertuoti į Double", "transformer": "Transformatorius", - "json-required": "Reikalingas transformatoriaus JSON.", + "json-required": "Transformatoriaus JSON yra privalomas.", "json-parse": "Nepavyko apdoroti transformatoriaus JSON.", "attributes": "Atributai", "add-attribute": "Pridėti atributą", "add-map": "Pridėti susiejimo elementą", - "timeseries": "Telemetrija", - "add-timeseries": "Pridėti telemetriją", - "field-required": "Laukas būtinas.", + "timeseries": "Laiko eilutės", + "add-timeseries": "Pridėti laiko eilutes", + "field-required": "Laukas yra privalomas", "brokers": "Tarpiniai serveriai", "add-broker": "Pridėti tarpinį serverį", "host": "Serveris", "port": "Prievadas", - "port-range": "Prievadas turi būti tarp 1 ir 65535.", + "port-range": "Prievadas turi būti nuo 1 iki 65535.", "ssl": "SSL", - "credentials": "Įgaliojimai", - "username": "Vartotojo vardas", + "credentials": "Prisijungimo duomenys", + "username": "Naudotojo vardas", "password": "Slaptažodis", "retry-interval": "Kartojimo intervalas (ms)", - "sas": "Bendras prieigos parašas (SAS)", + "sas": "Shared Access Signature", "anonymous": "Anoniminis", - "basic": "Paprastas (Basic)", + "basic": "Paprastas", "pem": "PEM", "ca-cert": "CA sertifikato failas *", "private-key": "Privataus rakto failas *", "cert": "Sertifikato failas *", "no-file": "Failas nepasirinktas.", - "drop-file": "Įmeskite failą arba spustelėkite, kad pasirinktumėte įkėlimui.", + "drop-file": "Nuvilkite failą arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", "mapping": "Susiejimas", "topic-filter": "Temos filtras", "converter-type": "Keitiklio tipas", @@ -3717,8 +5060,8 @@ "response-topic-expression": "Atsakymo temos išraiška", "value-expression": "Reikšmės išraiška", "topic": "Tema", - "timeout": "Laiko limitas (ms)", - "converter-json-required": "Keitiklio JSON yra būtinas.", + "timeout": "Laiko limitas milisekundėmis", + "converter-json-required": "Keitiklio JSON yra privalomas.", "converter-json-parse": "Nepavyko apdoroti keitiklio JSON.", "filter-expression": "Filtro išraiška", "connect-requests": "Prisijungimo užklausos", @@ -3737,22 +5080,22 @@ "request-topic-expression": "Užklausos temos išraiška", "response-timeout": "Atsakymo laukimo limitas (ms)", "topic-expression": "Temos išraiška", - "client-scope": "Kliento sritis", + "client-scope": "Kliento taikymo sritis", "add-device": "Pridėti įrenginį", "opc-server": "Serveriai", "opc-add-server": "Pridėti serverį", "opc-add-server-prompt": "Prašome pridėti serverį", "opc-application-name": "Programos pavadinimas", "opc-application-uri": "Programos URI", - "opc-scan-period-in-seconds": "Skenavimo periodas (s)", + "opc-scan-period-in-seconds": "Skenavimo periodas sekundėmis", "opc-security": "Saugumas", "opc-identity": "Tapatybė", - "opc-keystore": "Raktinė (Keystore)", + "opc-keystore": "Raktų saugykla", "opc-type": "Tipas", - "opc-keystore-type": "Raktinės tipas", + "opc-keystore-type": "Raktų saugyklos tipas", "opc-keystore-location": "Vieta *", "opc-keystore-password": "Slaptažodis", - "opc-keystore-alias": "Aliasas", + "opc-keystore-alias": "Pseudonimas", "opc-keystore-key-password": "Rakto slaptažodis", "opc-device-node-pattern": "Įrenginio mazgo šablonas", "opc-device-name-pattern": "Įrenginio pavadinimo šablonas", @@ -3765,7 +5108,7 @@ "modbus-port-name": "Serijinio prievado pavadinimas", "modbus-encoding": "Kodavimas", "modbus-parity": "Paritetas", - "modbus-baudrate": "Perdavimo greitis (baud)", + "modbus-baudrate": "Perdavimo greitis bodais", "modbus-databits": "Duomenų bitai", "modbus-stopbits": "Stop bitai", "modbus-databits-range": "Duomenų bitai turi būti nuo 7 iki 8.", @@ -3775,7 +5118,7 @@ "modbus-device-name": "Įrenginio pavadinimas", "modbus-poll-period": "Užklausos periodas (ms)", "modbus-attributes-poll-period": "Atributų užklausos periodas (ms)", - "modbus-timeseries-poll-period": "Telemetrijos užklausos periodas (ms)", + "modbus-timeseries-poll-period": "Laiko eilučių užklausos periodas (ms)", "modbus-poll-period-range": "Užklausos periodas turi būti teigiama reikšmė.", "modbus-tag": "Žyma", "modbus-function": "Funkcija", @@ -3812,31 +5155,32 @@ "add": "Pridėti filtrą", "edit": "Redaguoti filtrą", "name": "Filtro pavadinimas", - "name-required": "Filtro pavadinimas būtinas.", + "name-required": "Filtro pavadinimas yra privalomas.", "duplicate-filter": "Toks filtro pavadinimas jau egzistuoja.", "filters": "Filtrai", "unable-delete-filter-title": "Nepavyko ištrinti filtro", - "unable-delete-filter-text": "Filtras '{{filter}}' negali būti ištrintas, nes jis naudojamas šiuose valdikliuose:
{{widgetsList}}", - "duplicate-filter-error": "Rastas pasikartojantis filtras '{{filter}}'.
Filtrų pavadinimai skydelyje turi būti unikalūs.", - "missing-key-filters-error": "Trūksta pagrindinio filtro '{{filter}}'.", + "unable-delete-filter-text": "Filtras „{{filter}}“ negali būti ištrintas, nes jis naudojamas šiuose valdikliuose:
{{widgetsList}}", + "unable-delete-filter-text-components": "Filtro „{{filter}}“ negalima ištrinti, nes jis naudojamas šiuose komponentuose:
{{widgetsList}}", + "duplicate-filter-error": "Rastas pasikartojantis filtras „{{filter}}“.
Filtrų pavadinimai skydelyje turi būti unikalūs.", + "missing-key-filters-error": "Filtrui „{{filter}}“ trūksta rakto filtrų.", "filter": "Filtras", "editable": "Redaguojamas", - "editable-hint": "Leisti vartotojui pakeisti filtro reikšmę skydelyje.", + "editable-hint": "Leisti naudotojui pakeisti filtro reikšmę skydelyje.", "no-filters-found": "Filtrų nerasta.", "no-filter-text": "Filtras nenurodytas", "add-filter-prompt": "Pridėkite filtrą", - "no-filter-matching": "Filtras '{{filter}}' nerastas.", + "no-filter-matching": "Filtras „{{filter}}“ nerastas.", "create-new-filter": "Sukurti naują!", "create-new": "Sukurti naują", - "filter-required": "Filtras būtinas.", + "filter-required": "Filtras yra privalomas.", "operation": { "operation": "Operacija", "equal": "lygu", "not-equal": "nelygu", "starts-with": "prasideda nuo", "ends-with": "baigiasi", - "contains": "turi reikšmę", - "not-contains": "neturi reikšmės", + "contains": "apima", + "not-contains": "neapima", "greater": "didesnis nei", "less": "mažesnis nei", "greater-or-equal": "didesnis arba lygus", @@ -3863,15 +5207,16 @@ "display-label": "Rodoma etiketė", "custom-label": "Pasirinktinė etiketė", "custom-label-hint": "Įjunkite, jei norite nustatyti savo etiketę filtrui. Išjungus, etiketė bus sugeneruota automatiškai.", - "order-priority": "Lauko tvarkos prioritetas", - "key-filter": "Raktinis filtras", - "key-filters": "Raktiniai filtrai", + "order-priority": "Rodymo tvarka", + "key-filter": "Rakto filtras", + "key-filters": "Rakto filtrai", + "or-conditions-disabled": "Sistemos administratorius išjungė ARBA sąlygas tarp raktų filtrų.", "key-name": "Rakto pavadinimas", - "key-name-required": "Rakto pavadinimas būtinas.", + "key-name-required": "Rakto pavadinimas yra privalomas.", "key-type": { "key-type": "Rakto tipas", "attribute": "Atributas", - "timeseries": "Telemetrija", + "timeseries": "Laiko eilutės", "entity-field": "Subjekto laukas", "constant": "Konstanta", "client-attribute": "Kliento atributas", @@ -3885,7 +5230,7 @@ "boolean": "Loginė (taip/ne)", "date-time": "Data/laikas" }, - "value-type-required": "Rakto reikšmės tipas būtinas.", + "value-type-required": "Rakto reikšmės tipas yra privalomas.", "key-value-type-change-title": "Ar tikrai norite pakeisti rakto reikšmės tipą?", "key-value-type-change-message": "Patvirtinus naują reikšmės tipą, visi įvesti rakto filtrai bus pašalinti.", "no-key-filters": "Rakto filtrai nesukonfigūruoti", @@ -3894,9 +5239,9 @@ "edit-key-filter": "Redaguoti rakto filtrą", "date": "Data", "time": "Laikas", - "current-tenant": "Dabartinis valdytojas", + "current-tenant": "Dabartinis nuomininkas", "current-customer": "Dabartinis klientas", - "current-user": "Dabartinis vartotojas", + "current-user": "Dabartinis naudotojas", "current-device": "Dabartinis įrenginys", "default-value": "Numatytoji reikšmė", "default-comma-separated-values": "Numatytosios reikšmės, atskirtos kableliais", @@ -3920,26 +5265,55 @@ "function": "Funkcija" }, "gateway": { - "gateway-name": "Šliuzo pavadinimas", - "gateway-name-required": "Šliuzo pavadinimas būtinas.", - "gateways": "Šliuzai", - "create-new-gateway": "Sukurti naują šliuzą", - "create-new-gateway-text": "Ar tikrai norite sukurti naują šliuzą pavadinimu: '{{gatewayName}}'?", + "gateway-name": "Gateway įrenginio pavadinimas", + "gateway-name-required": "Gateway įrenginio pavadinimas yra privalomas.", + "gateways": "Gateway įrenginiai", + "create-new-gateway": "Sukurti naują Gateway įrenginį", + "create-new-gateway-text": "Ar tikrai norite sukurti naują Gateway įrenginį pavadinimu: „{{gatewayName}}“?", "launch-command": "Paleidimo komanda", - "no-gateway-found": "Šliuzų nerasta.", - "no-gateway-matching": "'{{item}}' nerasta." + "launch-choose-subtitle": "Pasirinkite, kaip paleisti IoT Gateway įrenginiui „{{name}}“ su pasirinkto įrenginio prisijungimo duomenimis.", + "launch-recommended": "Rekomenduojama", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Įdiekite, naujinkite, paleiskite iš naujo ir stebėkite nuotoliniu būdu iš debesies – be SSH ar rankinių komandų.", + "launch-agent-point-install": "Nuotolinis įdiegimas vienu spustelėjimu", + "launch-agent-point-upgrade": "Naujinimų diegimas iš debesies", + "launch-agent-point-restart": "Automatinis paleidimas iš naujo ir atkūrimas", + "launch-agent-point-monitor": "Būsenos stebėjimas realiuoju laiku", + "launch-agent-point-bulk": "Masiniai veiksmai Agent profilio puslapyje", + "launch-agent-action": "Įdiegti naudojant Agent programą", + "launch-docker-title": "Docker Compose rankiniu būdu", + "launch-docker-desc": "Atsisiųskite compose failą ir patys paleiskite jį tiksliniame kompiuteryje.", + "launch-docker-point-up": "Paleiskite docker compose up", + "launch-docker-point-control": "Visiškas rankinis valdymas", + "launch-docker-point-updates": "Naujinimus valdote patys", + "launch-docker-point-access": "Tiesioginė prieiga prie įrenginio", + "launch-docker-action": "Rodyti instrukcijas", + "launch-back": "Atgal", + "no-gateway-found": "Gateway įrenginių nerasta.", + "no-gateway-matching": "„{{item}}“ nerasta.", + "auto-provision": "Automatinis paruošimas", + "add-gateway": "Pridėti Gateway įrenginį", + "auto-provision-title": "Automatinis Gateway įrenginio paruošimas", + "auto-provision-info-title": "Kaip tai veikia", + "auto-provision-info-body": "Sukūrus Agent profilį, sugeneruojama Docker paleidimo komanda. Ją įvykdžius tiksliniame kompiuteryje, ThingsBoard platforma automatiškai sukuria Agent egzempliorių — ir su juo susietą Gateway įrenginį — naudodama komandoje įterptus prisijungimo duomenis. Gateway įrenginys automatiškai sukonfigūruojamas pagal Agent profiliui priskirtą programos profilį. Kurti Gateway įrenginio rankiniu būdu nereikia.", + "auto-provision-step-select": "Agent profilis", + "auto-provision-step-script": "Paruošimo skriptas", + "auto-provision-valid": "Galima paruošti — profiliui „{{profile}}“ priskirtas GATEWAY programos profilis.", + "auto-provision-invalid-no-edge-app-profile": "Šiam profiliui nepriskirtas GATEWAY programos profilis. Naudokite mygtuką, kad jį priskirtumėte.", + "auto-provision-success-message": "Agent profilis paruoštas. Paleiskite komandą bet kuriame tiksliniame kompiuteryje, kad paruoštumėte naują Gateway įrenginį.", + "auto-provision-script-hint": "Paleiskite šią komandą kiekviename kompiuteryje, kuris turi tapti Gateway įrenginiu. Kiekvienas paleidimas paruošia vieną porą: Agent egzempliorių ir Gateway įrenginį." }, "grid": { - "delete-item-title": "Ar tikrai norite pašalinti šį elementą?", - "delete-item-text": "Būkite dėmesingi, po patvirtinimo šio elemento ir visos su juo susijusios informacijos atkurti nebegalėsite.", - "delete-items-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 elementą} other {# elementus} }?", - "delete-items-action-title": "Panaikinti { count, plural, =1 {1 elementą} other {# elementus} }", - "delete-items-text": "Būkite dėmesingi, po patvirtinimo visi pasirinkti elementai ir su jais susijusi informacija bus pašalinti ir jų atkurti nebegalėsite.", + "delete-item-title": "Ar tikrai norite ištrinti šį elementą?", + "delete-item-text": "Būkite atsargūs, po patvirtinimo šio elemento ir visos su juo susijusios informacijos atkurti nebegalėsite.", + "delete-items-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 elementą} one {# elementą} few {# elementus} other {# elementų} }?", + "delete-items-action-title": "Ištrinti { count, plural, =1 {1 elementą} one {# elementą} few {# elementus} other {# elementų} }", + "delete-items-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti elementai ir su jais susijusi informacija bus pašalinti ir jų atkurti nebegalėsite.", "add-item-text": "Pridėti naują elementą", "no-items-text": "Elementų nėra", "item-details": "Informacija apie elementą", - "delete-item": "Panaikinti elementą", - "delete-items": "Panaikinti elmentus", + "delete-item": "Ištrinti elementą", + "delete-items": "Ištrinti elementus", "scroll-to-top": "Slinkti į viršų" }, "help": { @@ -3951,20 +5325,24 @@ "profile": "Profilis", "logout": "Atsijungti", "menu": "Meniu", - "avatar": "Paveiksliukas", - "open-user-menu": "Atverti vartoto meniu" + "avatar": "Profilio paveikslėlis", + "open-user-menu": "Atidaryti naudotojo meniu", + "go-to": "Eiti į...", + "crumbs-more": "Dar +{{more}} atitinkančiuose skyriuose", + "no-matches": "Atitikmenų nerasta" }, "file-input": { "browse-file": "Pasirinkti failą", "browse-files": "Pasirinkti failus" }, "image": { + "images": "Paveikslėliai", "gallery": "Paveikslėlių galerija", - "search": "Ieškoti paveikslėlio", - "selected-images": "{ count, plural, =1 {1 paveikslėlis} other {# paveikslėliai} } pasirinkta", + "search": "Ieškokite paveikslėlio", + "selected-images": "{ count, plural, =1 {Pasirinktas 1 paveikslėlis} one {Pasirinktas # paveikslėlis} few {Pasirinkti # paveikslėliai} other {Pasirinkta # paveikslėlių} }", "created-time": "Sukūrimo laikas", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas.", + "name-required": "Pavadinimas yra privalomas.", "resolution": "Raiška", "size": "Dydis", "system": "Sistema", @@ -3975,11 +5353,11 @@ "edit-image": "Redaguoti paveikslėlį", "image-details": "Paveikslėlio informacija", "no-images": "Paveikslėlių nerasta", - "delete-image": "Pašalinti paveikslėlį", - "delete-image-title": "Ar tikrai norite pašalinti paveikslėlį '{{imageTitle}}'?", - "delete-image-text": "Būkite dėmesingi — po patvirtinimo paveikslėlio atkurti nebus įmanoma.", - "delete-images-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 paveikslėlį} other {# paveikslėlius} }?", - "delete-images-text": "Būkite dėmesingi — po patvirtinimo visi pasirinkti paveikslėliai bus pašalinti, o susiję duomenys taps negrąžinami.", + "delete-image": "Ištrinti paveikslėlį", + "delete-image-title": "Ar tikrai norite ištrinti paveikslėlį „{{imageTitle}}“?", + "delete-image-text": "Būkite atsargūs — po patvirtinimo paveikslėlio atkurti nebus įmanoma.", + "delete-images-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 paveikslėlį} one {# paveikslėlį} few {# paveikslėlius} other {# paveikslėlių} }?", + "delete-images-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti paveikslėliai bus pašalinti, o visi susiję duomenys bus negrįžtamai prarasti.", "list-mode": "Sąrašo rodinys", "grid-mode": "Tinklelio rodinys", "image-preview": "Paveikslėlio peržiūra", @@ -3989,9 +5367,9 @@ "invalid-image-json-file-error": "Nepavyko importuoti paveikslėlio iš JSON: neteisinga JSON duomenų struktūra.", "image-is-in-use": "Paveikslėlis naudojamas kituose subjektuose", "images-are-in-use": "Paveikslėliai naudojami kituose subjektuose", - "image-is-in-use-text": "Paveikslėlis '{{title}}' nebuvo ištrintas, nes jis naudojamas šiuose subjektuose:", + "image-is-in-use-text": "Paveikslėlis „{{title}}“ nebuvo ištrintas, nes jis naudojamas šiuose subjektuose:", "images-are-in-use-text": "Ne visi paveikslėliai buvo ištrinti, nes jie naudojami kituose subjektuose.
Galite peržiūrėti susijusius subjektus spustelėję Nuorodos mygtuką atitinkamoje eilutėje.
Jei vis tiek norite ištrinti šiuos paveikslėlius, pasirinkite juos ir spustelėkite Ištrinti pasirinktus.", - "delete-image-in-use-text": "Jei vis tiek norite ištrinti paveikslėlį, spustelėkite Ištrinti vis tiek.", + "delete-image-in-use-text": "Jei vis tiek norite ištrinti paveikslėlį, spustelėkite Vis tiek ištrinti.", "system-entities": "Sistemos subjektai:", "entities": "Subjektai:", "references": "Nuorodos", @@ -4009,14 +5387,14 @@ "embed-to-html-hint": "Ši funkcija leis nuorodą pasiekti neautorizuotiems naudotojams.", "embed-to-html-text": "Naudodami šį kodo fragmentą galite įterpti paveikslėlį į HTML pagrįstus komponentus.
Tokie komponentai apima HTML kortelių valdiklius, langelių turinio funkcijas ir pan.", "embed-to-angular-template": "Įterpti į Angular HTML šabloną", - "embed-to-angular-template-text": "Naudodami šį kodo fragmentą galite įterpti paveikslėlį į Angular HTML šabloną, naudojamą komponentams.
Tokie komponentai apima Markdown valdiklį, HTML sekciją valdiklio redaktoriuje, pasirinktus veiksmus ir pan." + "embed-to-angular-template-text": "Naudodami šį kodo fragmentą galite įterpti paveikslėlį į Angular HTML šabloną, naudojamą komponentams.
Tokie komponentai apima Markdown valdiklį, HTML sekciją valdiklio redaktoriuje, pasirinktinius veiksmus ir pan." }, "image-input": { - "drop-images-or": "Užvilkite paveikslėlį arba", - "drag-and-drop": "Užvilkite", + "drop-images-or": "Nuvilkite paveikslėlius arba", + "drag-and-drop": "Nuvilkite", "or": "arba", "browse": "Pasirinkite", - "no-images": "Paveikslėlis nepasirinktas", + "no-images": "Paveikslėliai nepasirinkti", "images": "paveikslėliai" }, "import": { @@ -4030,13 +5408,13 @@ "column-title": "Pavadinimas", "column-example": "Duomenų pavyzdys", "column-key": "Atributo/telemetrijos raktas", - "credentials": "Įgaliojimai", + "credentials": "Prisijungimo duomenys", "csv-delimiter": "CSV skyriklis", "csv-first-line-header": "Pirmoje eilutėje stulpelių pavadinimai", - "csv-update-data": "Atnaujinti artibutą/telemetriją", + "csv-update-data": "Atnaujinti atributus/telemetriją", "details": "Informacija", "import-csv-number-columns-error": "Faile turi būti bent du stulpeliai", - "import-csv-invalid-format-error": "Neteisingas failo formatas. Elutė: '{{line}}'", + "import-csv-invalid-format-error": "Neteisingas failo formatas. Eilutė: „{{line}}“", "column-type": { "name": "Pavadinimas", "type": "Tipas", @@ -4045,13 +5423,13 @@ "client-attribute": "Kliento atributas", "shared-attribute": "Bendrinamas atributas", "server-attribute": "Serverio atributas", - "timeseries": "Telemetrija", + "timeseries": "Laiko eilutės", "entity-field": "Subjekto laukas", - "access-token": "Prieigos raktas", + "access-token": "Prieigos žetonas", "x509": "X.509", "mqtt": { "client-id": "MQTT kliento ID", - "user-name": "MQTT vartotojo vardas", + "user-name": "MQTT naudotojo vardas", "password": "MQTT slaptažodis" }, "lwm2m": { @@ -4060,37 +5438,37 @@ "client-identity": "LwM2M kliento identifikatorius", "client-key": "LwM2M kliento raktas", "client-cert": "LwM2M kliento viešasis raktas", - "bootstrap-server-security-mode": "LwM2M pradinio serverio (bootstrap) saugumo režimas", - "bootstrap-server-secret-key": "LwM2M pradinio serverio slaptasis raktas", - "bootstrap-server-public-key-id": "LwM2M pradinio serverio viešasis raktas arba ID", + "bootstrap-server-security-mode": "LwM2M Bootstrap serverio saugumo režimas", + "bootstrap-server-secret-key": "LwM2M Bootstrap serverio slaptasis raktas", + "bootstrap-server-public-key-id": "LwM2M Bootstrap serverio viešasis raktas arba ID", "lwm2m-server-security-mode": "LwM2M serverio saugumo režimas", "lwm2m-server-secret-key": "LwM2M serverio slaptasis raktas", "lwm2m-server-public-key-id": "LwM2M serverio viešasis raktas arba ID" }, "snmp": { - "host": "SNMP serveris (hostas)", - "port": "SNMP prievadas (portas)", + "host": "SNMP serveris", + "port": "SNMP prievadas", "version": "SNMP versija (v1, v2c arba v3)", "community-string": "SNMP bendruomenės eilutė" }, - "isgateway": "Yra šliuzas", - "activity-time-from-gateway-device": "Aktyvumo laikas iš šliuzo įrenginio", + "isgateway": "Yra Gateway įrenginys", + "activity-time-from-gateway-device": "Aktyvumo laikas iš Gateway įrenginio", "description": "Aprašymas", "edge-license-key": "Licencijos raktas", "cloud-endpoint": "Debesies galinis taškas", - "routing-key": "Šliuzo raktas", - "secret": "Šliuzo slaptas raktas" + "routing-key": "Edge raktas", + "secret": "Edge slaptas raktas" }, "stepper-text": { "select-file": "Pasirinkite failą", "configuration": "Importo konfigūracija", "column-type": "Pasirinkite stulpelių tipus", - "creat-entities": "Sukurti naujus subjektus" + "creat-entities": "Naujų subjektų kūrimas" }, "message": { - "create-entities": "Sukurti {{count}} nauji subjektai.", - "update-entities": "Atnaujinti {{count}} subjektai.", - "error-entities": "Kuriant {{count}} subjektų įvyko klaidų." + "create-entities": "Sėkmingai sukurta naujų subjektų: {{count}}.", + "update-entities": "Sėkmingai atnaujinta subjektų: {{count}}.", + "error-entities": "Nepavyko sukurti subjektų: {{count}}." } }, "integration": { @@ -4098,26 +5476,26 @@ "integrations": "Integracijos", "integrations-center": "Integracijų centras", "select-integration": "Pasirinkti integraciją", - "no-integrations-matching": "Nerasta integracijų, atitinkančių '{{entity}}'.", - "integration-required": "Integracija būtina", - "delete": "Panaikinti integraciją", + "no-integrations-matching": "Nerasta integracijų, atitinkančių „{{entity}}“.", + "integration-required": "Integracija yra privaloma", + "delete": "Ištrinti integraciją", "management": "Integracijų valdymas", "add-integration-text": "Pridėti naują integraciją", "no-integrations-text": "Integracijų nerasta", "data-convertor-name": "{{convertorType}} duomenų keitiklis integracijai {{integrationName}}", "integration-name": "{{integrationType}} integracija", - "selected-integrations": "{ count, plural, =1 {1 integracija} other {# integracijos} } pasirinkta", - "delete-integration-title": "Ar tikrai norite panaikinti integraciją '{{integrationName}}'?", - "delete-integration-text": "Būkite atsargūs, po patvirtinimo integracija ir visi susiję duomenys bus negrįžtamai panaikinti.", - "delete-integrations-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 integraciją} other {# integracijas} }?", - "delete-integrations-action-title": "Panaikinti { count, plural, =1 {1 integraciją} other {# integracijas} }", - "delete-integrations-text": "Būkite atsargūs, po patvirtinimo visos pasirinktos integracijos ir susiję duomenys bus negrįžtamai panaikinti.", + "selected-integrations": "{ count, plural, =1 {Pasirinkta 1 integracija} one {Pasirinkta # integracija} few {Pasirinktos # integracijos} other {Pasirinkta # integracijų} }", + "delete-integration-title": "Ar tikrai norite ištrinti integraciją „{{integrationName}}“?", + "delete-integration-text": "Būkite atsargūs, po patvirtinimo integracija ir visi susiję duomenys bus negrįžtamai pašalinti.", + "delete-integrations-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 integraciją} one {# integraciją} few {# integracijas} other {# integracijų} }?", + "delete-integrations-action-title": "Ištrinti { count, plural, =1 {1 integraciją} one {# integraciją} few {# integracijas} other {# integracijų} }", + "delete-integrations-text": "Būkite atsargūs, po patvirtinimo visos pasirinktos integracijos ir susiję duomenys bus negrįžtamai pašalinti.", "events": "Įvykiai", "enabled": "Įjungti integraciją", "allow-create-devices-or-assets": "Leisti kurti įrenginius ar turtą", "all-types": "Visi integracijų tipai", "add": "Pridėti integraciją", - "search": "Ieškoti integracijų", + "search": "Ieškokite integracijų", "integration-details": "Integracijos informacija", "details": "Informacija", "copyId": "Kopijuoti integracijos ID", @@ -4128,38 +5506,38 @@ "headers-filter": "Antraščių filtras", "header": "Antraštė", "no-headers-filter": "Antraščių filtrų nėra", - "downlink-url": "Atsiuntimo URL", - "downlink-url-required": "Atsiuntimo URL būtinas", + "downlink-url": "Downlink URL", + "downlink-url-required": "Downlink URL yra privalomas", "create-loriot-output": "Sukurti „Loriot“ programos išvestį", - "send-downlink": "Siųsti atsiuntimą", - "allow-downlink": "Leisti atsiuntimą", + "send-downlink": "Siųsti Downlink žinutę", + "allow-downlink": "Leisti Downlink žinutes", "server": "Serveris", - "server-required": "Serveris būtinas", + "server-required": "Serveris yra privalomas", "domain": "Domenas", "app-id": "Programos ID", - "app-id-required": "Programos ID būtinas", - "app-token": "Programos prieigos raktas", - "app-token-required": "Programos prieigos raktas būtinas", + "app-id-required": "Programos ID yra privalomas", + "app-token": "Programos prieigos žetonas", + "app-token-required": "Programos prieigos žetonas yra privalomas", "email": "El. paštas", - "email-required": "El. paštas būtinas", + "email-required": "El. paštas yra privalomas", "application-uri": "Programos URI", "as-id": "AS ID", - "as-id-required": "AS ID būtinas.", + "as-id-required": "AS ID yra privalomas.", "as-key": "AS raktas", - "as-key-required": "AS raktas būtinas.", + "as-key-required": "AS raktas yra privalomas.", "client-id-new": "Kliento ID", - "client-id-new-required": "Kliento ID (prisijungimo vardas) būtinas.", + "client-id-new-required": "Kliento ID (prisijungimo vardas) yra privalomas.", "client-secret": "Kliento paslaptis", - "client-secret-required": "Kliento paslaptis (slaptažodis) būtina.", + "client-secret-required": "Kliento paslaptis (slaptažodis) yra privaloma.", "max-time-diff-in-seconds": "Didžiausias laiko skirtumas (sekundėmis)", - "max-time-diff-in-seconds-required": "Didžiausias laiko skirtumas būtinas.", + "max-time-diff-in-seconds-required": "Didžiausias laiko skirtumas yra privalomas.", "created-time": "Sukūrimo laikas", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas.", - "name-max-length": "Pavadinimas turi būti trumpesnis nei 256", + "name-required": "Pavadinimas yra privalomas.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", "base-url": "Bazinis URL", - "base-url-required": "Bazinis URL būtinas", + "base-url-required": "Bazinis URL yra privalomas", "security-key": "Saugos raktas", "skip": "Praleisti", "http-endpoint": "HTTP galinio taško URL", @@ -4167,82 +5545,92 @@ "copy-http-endpoint-url": "Kopijuoti HTTP galinio taško URL", "http-endpoint-url-copied-message": "HTTP galinio taško URL nukopijuotas į iškarpinę", "host": "Serveris", - "host-required": "Serveris būtinas.", + "host-required": "Serveris yra privalomas.", "host-private": "Serveris turi būti viešajame tinkle.", "url-private": "URL turi būti viešajame tinkle.", "host-type": "Serverio tipas", - "host-type-required": "Serverio tipas būtinas.", + "host-type-required": "Serverio tipas yra privalomas.", "api-version": "Naudoti API v3", - "custom-host": "Individualus serveris", - "custom-host-required": "Individualus serveris būtinas.", + "custom-host": "Pasirinktinis serveris", + "custom-host-required": "Pasirinktinis serveris yra privalomas.", "port": "Prievadas", - "port-required": "Prievadas būtinas.", + "port-required": "Prievadas yra privalomas.", + "endpoint": "Galinis taškas", "port-range": "Prievadas turi būti nuo 1 iki 65535.", "connect-timeout": "Prisijungimo laiko limitas (sek.)", - "connect-timeout-required": "Prisijungimo laiko limitas būtinas.", + "connect-timeout-required": "Prisijungimo laiko limitas yra privalomas.", "connect-timeout-range": "Prisijungimo laiko limitas turi būti nuo 1 iki 200.", "client-id": "Kliento ID", - "client-id-required": "Kliento ID būtinas.", - "client-id-hint": "Patarimas: nebūtina. Palikite tuščią automatiškai generuojamam ID. Dauguma MQTT brokerių neleis kelių jungčių su tuo pačiu kliento ID, todėl jis turi būti unikalus.", - "max-bytes-in-message": "Maks. baitų pranešime", - "max-bytes-in-message-range": "Reikšmė turi būti nuo 1 iki 256000000.", + "client-id-required": "Kliento ID yra privalomas.", + "client-id-hint": "Patarimas: nebūtina. Palikite tuščią, kad kliento ID būtų sugeneruotas automatiškai. Būkite atsargūs nurodydami kliento ID. Dauguma MQTT brokerių neleidžia kelių prisijungimų su tuo pačiu kliento ID. Norint prisijungti prie tokių brokerių, jūsų MQTT kliento ID turi būti unikalus.", + "max-bytes-in-message": "Maks. baitų žinutėje", + "max-bytes-in-message-range": "Maks. baitų skaičius žinutėje turi būti nuo 1 iki 256000000.", "device-id": "Įrenginio ID", - "device-id-required": "Įrenginio ID būtinas.", + "device-id-required": "Įrenginio ID yra privalomas.", "device-id-range": "Įrenginio ID ilgis turi būti nuo 1 iki 65535 simbolių.", "device-id-pattern": "Įrenginio ID turi būti sudarytas iš skaičių, didžiųjų ir mažųjų raidžių. [MQTT-3.1.3-5]", "group-id": "Grupės ID", - "group-id-required": "Grupės ID būtinas.", + "group-id-required": "Grupės ID yra privalomas.", "topics": "Temos", - "topics-required": "Tema būtina.", + "topics-required": "Tema yra privaloma.", "routing-keys": "Maršruto raktai", - "routing-keys-required": "Maršruto raktas būtinas.", + "routing-keys-required": "Maršruto raktas yra privalomas.", "queue": "Eilė", - "queue-required": "Eilės pavadinimas būtinas.", + "queue-required": "Eilės pavadinimas yra privalomas.", "durable": "Patvari", "exclusive": "Išskirtinė", "autoDelete": "Automatiškai ištrinti", "exchange-name": "Mainų pavadinimas", - "exchange-name-required": "Mainų pavadinimas būtinas.", - "downlink-topic": "Atsiuntimo tema", + "exchange-name-required": "Mainų pavadinimas yra privalomas.", + "downlink-topic": "Downlink tema", "connection-timeout": "Prisijungimo laiko limitas, ms", "connection-timeout-min": "Neteisinga prisijungimo laiko limito reikšmė.", - "handshake-timeout": "Pradinio susijungimo (handshake) limitas, ms", + "handshake-timeout": "Pradinio susijungimo limitas, ms", "handshake-timeout-min": "Neteisinga pradinio susijungimo limito reikšmė.", "virtual-host": "Virtualus serveris", - "rabbit-mq-poll-interval": "Užklausų intervalas, ms", - "rabbit-mq-poll-interval-min": "Neteisinga užklausų intervalo reikšmė.", + "rabbit-mq-poll-interval": "Apklausos intervalas, ms", + "rabbit-mq-poll-interval-min": "Neteisinga apklausos intervalo reikšmė.", "application-server-url": "Programos serverio URL", - "application-server-url-required": "Programos serverio URL būtinas.", + "application-server-url-required": "Programos serverio URL yra privalomas.", "application-server-api-token": "Programos serverio API žetonas", - "application-server-api-token-required": "Programos serverio API žetonas būtinas.", + "application-server-api-token-required": "Programos serverio API žetonas yra privalomas.", "use-api-four-plus": "Naudoti ChirpStack 4+ API", - "bootstrap-servers": "Paleidimo serveriai", - "bootstrap-servers-required": "Paleidimo serveriai būtini.", - "poll-interval": "Užklausų intervalas", - "poll-interval-required": "Užklausų intervalas būtinas.", - "poll-interval-min-value": "Vertė turi būti ne mažesnė nei 1", + "bootstrap-servers": "Bootstrap serveriai", + "bootstrap-servers-required": "Bootstrap serveriai yra privalomi.", + "poll-interval": "Apklausos intervalas", + "poll-interval-required": "Apklausos intervalas yra privalomas.", + "poll-interval-min-value": "Apklausos intervalo reikšmė negali būti mažesnė nei 1", "auto-create-topics": "Automatiškai kurti temas", "clean-session": "Švari sesija", "enable-ssl": "Įjungti SSL", - "credentials": "Įgaliojimai", - "credentials-type": "Įgaliojimų tipas", - "credentials-type-required": "Įgaliojimų tipas būtinas.", - "username": "Vartotojo vardas", - "username-required": "Vartotojo vardas būtinas.", + "credentials": "Prisijungimo duomenys", + "credentials-type": "Prisijungimo duomenų tipas", + "credentials-type-required": "Prisijungimo duomenų tipas yra privalomas.", + "downlink-credentials": "Downlink prisijungimo duomenys", + "username": "Naudotojo vardas", + "username-required": "Naudotojo vardas yra privalomas.", "password": "Slaptažodis", - "password-required": "Slaptažodis būtinas.", + "password-required": "Slaptažodis yra privalomas.", "destination-shared-secret": "Paskirties bendrasis slaptas raktas", - "destination-shared-secret-required": "Paskirties bendrasis slaptas raktas būtinas", + "destination-shared-secret-required": "Paskirties bendrasis slaptas raktas yra privalomas", + "kpn-security-header": "Saugos antraštė (X-Things-Secret)", + "kpn-security-header-hint": "Reikšmė, sugeneruota KPN Things ThingsBoard paskirties vietoje", + "kpn-security-header-duplicate": "Nustatykite X-Things-Secret lauke „Saugos antraštė“, o ne kaip papildomą antraščių filtrą", + "kpn-https-destination-settings": "HTTPS paskirties vietos nustatymai", + "kpn-destination-shared-secret-hint": "Tik KPN Things HTTPS paskirties vietai. ThingsBoard paskirties vietai palikite tuščią", + "kpn-additional-headers-filter": "Papildomų antraščių filtras", + "kpn-additional-headers-filter-hint": "Užklausose turi būti kiekviena antraštė su atitinkančia reikšme", + "kpn-no-security-warning": "Užklausos į šį galinį tašką nėra autentifikuojamos. Pridėkite KPN Things sugeneruotą saugos antraštę.", "customer-id": "Kliento ID", "api-id": "API ID", "azure-ca-cert": "CA sertifikato failas", "ca-cert": "CA sertifikato failas", - "private-key": "Asmeninio rakto failas", - "private-key-password": "Asmeninio rakto slaptažodis", + "private-key": "Privataus rakto failas", + "private-key-password": "Privataus rakto slaptažodis", "cert": "Sertifikato failas", "no-file": "Failas nepasirinktas.", - "drop-file": "Numeskite failą arba spustelėkite, kad pasirinktumėte įkėlimui.", - "drop-file-or": "Vilkite ir numeskite failą arba", + "drop-file": "Nuvilkite failą arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", + "drop-file-or": "Nuvilkite failą arba", "check-connection": "Tikrinti ryšį", "check-success": "Ryšys užmegztas.", "topic-filters": "Temų filtrai", @@ -4251,74 +5639,74 @@ "add-topic-filter-prompt": "Pridėkite temos filtrą", "topic": "Tema", "mqtt-qos": "QoS", - "mqtt-qos-required": "QoS būtinas", + "mqtt-qos-required": "QoS yra privalomas", "mqtt-qos-range": "QoS reikšmių diapazonas nuo 0 iki 2", "mqtt-qos-at-most-once": "Ne dažniau kaip kartą", "mqtt-qos-at-least-once": "Bent kartą", "mqtt-qos-exactly-once": "Tiksliai kartą", - "downlink-topic-pattern": "Atsiuntimo temos šablonas", - "downlink-topic-pattern-required": "Atsiuntimo temos šablonas būtinas.", - "retained-message": "Išsaugotas (retained)", + "downlink-topic-pattern": "Downlink temos šablonas", + "downlink-topic-pattern-required": "Downlink temos šablonas yra privalomas.", + "retained-message": "Išsaugotas", "aws-access-key-id": "AWS prieigos rakto ID", "aws-secret-access-key": "AWS slaptasis prieigos raktas", "aws-region": "Regionas", "aws-iot-endpoint": "AWS IoT galinis taškas", - "aws-iot-endpoint-required": "AWS IoT galinis taškas būtinas.", - "aws-iot-credentials": "AWS IoT įgaliojimai", - "aws-sqs-polling-period-in-seconds": "Užklausų periodas sekundėmis", + "aws-iot-endpoint-required": "AWS IoT galinis taškas yra privalomas.", + "aws-iot-credentials": "AWS IoT prisijungimo duomenys", + "aws-sqs-polling-period-in-seconds": "Apklausos periodas sekundėmis", "aws-sqs-queue-url": "SQS eilės URL", - "aws-sqs-queue-url-required": "SQS eilės URL būtinas", - "aws-sqs-access-key-id-required": "Prieigos rakto ID būtinas", - "aws-sqs-secret-access-key-required": "Slaptasis prieigos raktas būtinas", - "application-credentials": "Programos įgaliojimai", + "aws-sqs-queue-url-required": "SQS eilės URL yra privalomas", + "aws-sqs-access-key-id-required": "Prieigos rakto ID yra privalomas", + "aws-sqs-secret-access-key-required": "Slaptasis prieigos raktas yra privalomas", + "application-credentials": "Programos prisijungimo duomenys", "api-key": "API raktas", - "api-key-required": "API raktas būtinas.", + "api-key-required": "API raktas yra privalomas.", "api-key-format": "Neteisingas API rakto formatas.", "auth-token": "Autentifikavimo žetonas", - "auth-token-required": "Autentifikavimo žetonas būtinas.", + "auth-token-required": "Autentifikavimo žetonas yra privalomas.", "region": "Regionas", - "region-required": "Regionas būtinas.", + "region-required": "Regionas yra privalomas.", "application-id": "Programos ID", - "application-id-required": "Programos ID būtinas.", + "application-id-required": "Programos ID yra privalomas.", "access-id": "Prieigos ID", - "access-id-required": "Prieigos ID būtinas.", + "access-id-required": "Prieigos ID yra privalomas.", "access-key": "Prieigos raktas", - "access-key-required": "Prieigos raktas būtinas.", + "access-key-required": "Prieigos raktas yra privalomas.", "access-key-min-length": "Prieigos raktas per trumpas.", "access-key-max-length": "Prieigos raktas per ilgas.", "connection-parameters": "Ryšio parametrai", "service-bus-namespace-name": "Service Bus vardų srities pavadinimas", - "service-bus-namespace-name-required": "Service Bus vardų srities pavadinimas būtinas.", + "service-bus-namespace-name-required": "Service Bus vardų srities pavadinimas yra privalomas.", "connection-string": "Jungties eilutė", "consumer-group": "Vartotojų grupė", - "connection-string-required": "Jungties eilutė būtina!", + "connection-string-required": "Jungties eilutė yra privaloma!", "event-hub-name": "Event Hub pavadinimas", - "event-hub-name-required": "Event Hub pavadinimas būtinas.", - "event-iot-hub-name-required": "IoT Hub pavadinimas būtinas atsiuntimui", - "enable-persistent-checkpoints": "Įjungti išliekamuosius atžymėjimus (checkpoints)", - "enable-persistent-checkpoints-hint": "Įjunkite Azure Blob Storage, kad po perkrovimo būtų tęsiama nuo paskutinio atžymėjimo. Išjunkite, kad visada pradėtumėte nuo naujausių įvykių.", + "event-hub-name-required": "Event Hub pavadinimas yra privalomas.", + "event-iot-hub-name-required": "IoT Hub pavadinimas yra privalomas Downlink žinutėms", + "enable-persistent-checkpoints": "Įjungti nuolatinius kontrolinius taškus", + "enable-persistent-checkpoints-hint": "Įjunkite Azure Blob Storage, kad po paleidimo iš naujo apdorojimas būtų tęsiamas nuo paskutinio kontrolinio taško. Išjunkite, kad visada būtų pradedama nuo naujausio įvykio.", "storage-connection-string": "Saugyklos jungties eilutė", - "storage-connection-string-required": "Saugyklos jungties eilutė būtina!", + "storage-connection-string-required": "Saugyklos jungties eilutė yra privaloma!", "container-name": "Konteinerio pavadinimas", - "container-name-required": "Konteinerio pavadinimas būtinas", + "container-name-required": "Konteinerio pavadinimas yra privalomas", "sas-key-name": "SAS rakto pavadinimas", - "sas-key-name-required": "SAS rakto pavadinimas būtinas.", + "sas-key-name-required": "SAS rakto pavadinimas yra privalomas.", "sas-key": "SAS raktas", - "sas-key-required": "SAS raktas būtinas.", + "sas-key-required": "SAS raktas yra privalomas.", "iot-hub-name": "IoT Hub pavadinimas", "hostname": "Serverio vardas", - "hostname-required": "Serverio vardas būtinas", + "hostname-required": "Serverio vardas yra privalomas", "integration-clazz": "Integracijos klasė", - "integration-clazz-required": "Integracijos klasė būtina", + "integration-clazz-required": "Integracijos klasė yra privaloma", "integration-configuration": "Integracijos JSON konfigūracija", "metadata": "Metaduomenys", "type": "Integracijos tipas", "select-integration-type": "Pasirinkti integracijos tipą", - "type-required": "Integracijos tipas būtinas.", + "type-required": "Integracijos tipas yra privalomas.", "type-not-found": "Integracijos tipas nerastas", - "uplink-converter": "Įkeltų duomenų (uplink) keitiklis", - "uplink-converter-required": "Įkeltų duomenų keitiklis būtinas.", - "downlink-converter": "Atsiuntimo (downlink) duomenų keitiklis", + "uplink-converter": "Uplink duomenų keitiklis", + "uplink-converter-required": "Uplink duomenų keitiklis yra privalomas.", + "downlink-converter": "Downlink duomenų keitiklis", "type-http": "HTTP", "type-http-description": "Protokolas tekstiniams ar daugialypės terpės failams perduoti.", "type-ocean-connect": "OceanConnect", @@ -4330,7 +5718,7 @@ "type-loriot": "Loriot", "type-loriot-description": "Paskirstyta LoRaWAN infrastruktūra.", "type-thingpark-enterprise": "ThingParkEnterprise", - "type-thingpark-enterprise-description": "LPWA tinklo pranešimų platforma.", + "type-thingpark-enterprise-description": "LPWA tinklo žinučių platforma.", "type-tmobile-iot-cdp": "iotcreators.com (T-Mobile – IoT CDP)", "type-tmobile-iot-cdp-description": "Mobiliojo IoT jungiamumo paslauga.", "type-mqtt": "MQTT", @@ -4338,93 +5726,94 @@ "type-aws-iot": "AWS IoT", "type-aws-iot-description": "Valdymo, saugojimo ir analitikos paslauga.", "type-aws-sqs": "AWS SQS", - "type-aws-sqs-description": "Pilnai valdoma eilių paslauga.", + "type-aws-sqs-description": "Visiškai valdoma žinučių eilių paslauga.", "type-aws-kinesis": "AWS Kinesis", - "type-aws-kinesis-description": "Realaus laiko vaizdo ir duomenų srautai.", + "type-aws-kinesis-description": "Realaus laiko vaizdo ir duomenų srautų paslauga.", "type-ttn": "The Things Stack Community", "type-ttn-description": "Atviras ir decentralizuotas LoRaWAN tinklas.", "type-tti": "The Things Stack Industries", - "type-tti-description": "Programinė įranga privačioms LoRaWAN tinklams masteliuoti.", + "type-tti-description": "Programinė įranga privatiems LoRaWAN tinklams valdyti dideliu mastu.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "LoRaWAN tinklo konfigūravimo serveris.", "type-particle": "Particle", "type-particle-description": "IoT PaaS platforma.", "type-kpn": "KPN Things", - "type-kpn-description": "KPN IoT platforma su patikimu jungiamumu ir duomenų valdymu.", + "type-kpn-description": "KPN siūloma IoT platforma, užtikrinanti patikimą IoT įrenginių jungiamumą ir duomenų valdymo sprendimus.", "type-azure-event-hub": "Azure Event Hub", "type-azure-event-hub-description": "Didžiųjų duomenų srautų ir įvykių surinkimo paslauga.", "type-azure-iot-hub": "Azure IoT Hub", "type-azure-iot-hub-description": "Debesijos žinučių perdavimo paslauga.", "type-opc-ua": "OPC-UA", - "type-opc-ua-description": "Daugiaplatformis protokolas duomenims iš jutiklių į debesį.", - "type-custom": "Tinkintas", + "type-opc-ua-description": "Daugiaplatformis protokolas duomenims iš jutiklių į debesies programas perduoti.", + "type-custom": "Pasirinktinė", "type-coap": "CoAP", "type-coap-description": "Mašina-mašinai protokolas ribotiems įrenginiams.", "type-udp": "UDP", - "type-udp-description": "Pranešimų orientuotas transporto lygmens protokolas.", + "type-udp-description": "Į žinutes orientuotas transporto lygmens protokolas.", "type-tcp": "TCP", - "type-tcp-description": "Sesiškai (ryšiui) orientuotas protokolas.", + "type-tcp-description": "Į ryšį orientuotas protokolas.", "type-kafka": "Kafka", "type-kafka-description": "Srautų analizės ir duomenų integracijos platforma.", "type-rabbitmq": "RabbitMQ", "type-rabbitmq-description": "Žinučių tarpininkas, palaikantis kelis protokolus.", "type-pubsub": "Pub/Sub", - "type-pubsub-description": "Asinchroninių pranešimų paslauga tarp programų.", + "type-pubsub-description": "Asinchroninio žinučių perdavimo tarp programų paslauga.", "type-apache-pulsar": "Apache Pulsar", "type-apache-pulsar-description": "Paskirstyta pub-sub žinučių ir srautų platforma.", "type-tuya": "Tuya", - "type-tuya-description": "Debesu pagrįsta žinučių ir įrenginių platforma.", + "type-tuya-description": "Debesyje veikianti žinučių ir įrenginių platforma.", "type-azure-service-bus": "Azure Service Bus", - "type-azure-service-bus-description": "Pilnai valdoma įmonių žinučių paslauga su eilėmis ir temomis.", + "type-azure-service-bus-description": "Visiškai valdoma įmonių žinučių paslauga su eilėmis ir temomis.", "opc-ua-application-name": "Programos pavadinimas", "opc-ua-application-uri": "Programos URI", "opc-ua-scan-period-in-seconds": "Skenavimo periodas sekundėmis", - "opc-ua-scan-period-in-seconds-required": "Skenavimo periodas būtinas", + "opc-ua-scan-period-in-seconds-required": "Skenavimo periodas yra privalomas", "opc-ua-timeout": "Laiko limitas milisekundėmis", - "opc-ua-timeout-required": "Laiko limitas būtinas", + "opc-ua-timeout-required": "Laiko limitas yra privalomas", "opc-ua-security": "Sauga", - "opc-ua-security-required": "Sauga būtina", + "opc-ua-security-required": "Sauga yra privaloma", "opc-ua-identity": "Tapatybė", - "opc-ua-identity-required": "Tapatybė būtina", + "opc-ua-identity-required": "Tapatybė yra privaloma", "opc-ua-keystore": "Raktų saugykla", "add-opc-ua-keystore-prompt": "Pridėkite raktų saugyklos failą", - "opc-ua-keystore-required": "Raktų saugykla būtina", + "opc-ua-keystore-required": "Raktų saugykla yra privaloma", "opc-ua-type": "Tipas", "opc-ua-keystore-type": "Tipas", - "opc-ua-keystore-type-required": "Tipas būtinas", + "opc-ua-keystore-type-required": "Tipas yra privalomas", "opc-ua-keystore-location": "Vieta *", "opc-ua-keystore-password": "Slaptažodis", - "opc-ua-keystore-password-required": "Slaptažodis būtinas", + "opc-ua-keystore-password-required": "Slaptažodis yra privalomas", "opc-ua-keystore-alias": "Pseudonimas", - "opc-ua-keystore-alias-required": "Pseudonimas būtinas", + "opc-ua-keystore-alias-required": "Pseudonimas yra privalomas", "opc-ua-keystore-key-password": "Rakto slaptažodis", - "opc-ua-keystore-key-password-required": "Rakto slaptažodis būtinas", + "opc-ua-keystore-key-password-required": "Rakto slaptažodis yra privalomas", "opc-ua-mapping": "Susiejimas", "add-opc-ua-mapping-prompt": "Pridėkite susiejimą", "opc-ua-mapping-type": "Susiejimo tipas", - "opc-ua-mapping-type-required": "Susiejimo tipas būtinas", + "opc-ua-mapping-type-required": "Susiejimo tipas yra privalomas", "opc-ua-device-node-pattern": "Įrenginio mazgo šablonas", - "opc-ua-device-node-pattern-required": "Įrenginio mazgo šablonas būtinas", + "opc-ua-device-node-pattern-required": "Įrenginio mazgo šablonas yra privalomas", "opc-ua-namespace": "Vardų sritis", "opc-ua-add-map": "Pridėti susiejimo elementą", "kinesis-stream-name": "Srauto pavadinimas", - "kinesis-stream-name-required": "Srauto pavadinimas būtinas", + "kinesis-stream-name-required": "Srauto pavadinimas yra privalomas", "kinesis-region": "Regionas", - "kinesis-region-required": "Regionas būtinas", + "kinesis-region-required": "Regionas yra privalomas", "kinesis-access-key-id": "Prieigos rakto ID", - "kinesis-access-key-id-required": "Prieigos rakto ID būtinas", + "kinesis-access-key-id-required": "Prieigos rakto ID yra privalomas", "kinesis-secret-access-key": "Slaptasis prieigos raktas", - "kinesis-secret-access-key-required": "Slaptasis prieigos raktas būtinas", + "kinesis-secret-access-key-required": "Slaptasis prieigos raktas yra privalomas", "kinesis-use-consumers-with-enhanced-fan-out": "Naudoti vartotojus su Enhanced Fan-Out", - "kinesis-use-credentials-from-instance-metadata": "Naudoti įgaliojimus iš Amazon EC2 Instance Metadata Service", - "kinesis-application-name": "Programos pavadinimas (pagal nutylėjimą lygus srauto pavadinimui)", + "kinesis-use-credentials-from-instance-metadata": "Naudoti prisijungimo duomenis iš Amazon EC2 Instance Metadata Service", + "kinesis-application-name": "Programos pavadinimas (numatytoji reikšmė lygi srauto pavadinimui)", "kinesis-initial-position-in-stream": "Pradinė pozicija sraute", - "kinesis-initial-position-in-stream-required": "Pradinė pozicija sraute būtina", - "kinesis-max-records": "Maks. įrašų", - "kinesis-max-records-required": "Maks. įrašų būtina", - "kinesis-max-records-length-range": "Reikšmė turi būti nuo 1 iki 10000", + "kinesis-initial-position-in-stream-required": "Pradinė pozicija sraute yra privaloma", + "kinesis-max-records": "Maks. įrašų skaičius", + "kinesis-max-records-required": "Maks. įrašų skaičius yra privalomas", + "kinesis-max-records-length-range": "Maks. įrašų skaičius turi būti nuo 1 iki 10000", "kinesis-request-timeout": "Užklausos laiko limitas sekundėmis", - "kinesis-request-timeout-required": "Užklausos laiko limitas būtinas", + "kinesis-request-timeout-required": "Užklausos laiko limitas yra privalomas", "other-properties": "Kitos savybės", "subscription-tags": "Prenumeratos žymos", "remove-subscription-tag": "Pašalinti prenumeratos žymą", @@ -4432,7 +5821,10 @@ "add-subscription-tag-prompt": "Pridėkite prenumeratos žymą", "key": "Raktas", "path": "Kelias", - "required": "Būtina", + "opc-ua-path-hint": "Kelias turi atitikti mazgą, esantį po įrenginio mazgu: jo BrowseName be vardų srities prefikso (pvz., MySwitch, o ne 2:MySwitch) arba, jei mazgo eilutinis NodeId apima įrenginio pavadinimą, NodeId dalį po įrenginio pavadinimo ir skyriklio (pvz., kai NodeId yra ns=2;s=Device1.MySwitch, Kelias yra MySwitch).", + "opc-ua-path-whitespace-warning": "Kelias prasideda arba baigiasi tarpu. Jis atitiks tik tada, jei mazgo pavadinime bus tokie patys tarpai.", + "opc-ua-path-trailing-dot-warning": "Kelias baigiasi tašku. Jis atitiks tik tada, jei mazgo pavadinimas baigsis tašku.", + "required": "Privaloma", "integration-key": "Integracijos raktas", "copy-integration-key": "Kopijuoti integracijos raktą", "integration-key-copied-message": "Integracijos raktas nukopijuotas į iškarpinę", @@ -4443,84 +5835,86 @@ "remote": "Nuotolinis", "handler-configuration": "Apdorojimo konfigūracija", "handler-configuration-type": "Apdorojimo tipas", - "so-broadcast": "Įjungti transliaciją – integracija priims paketų transliacijos adresus", - "so-keepalive-option": "Įjungti „keep-alive“ siuntimą sujungimo būsenos (connection-oriented) lizdams", + "so-broadcast": "Įjungti transliaciją – integracija priims paketus, siunčiamus transliacijos adresu", + "so-keepalive-option": "Įjungti „keep-alive“ žinučių siuntimą į ryšį orientuotiems lizdams", "so-reuse-addr": "Pririšti procesą prie prievado", - "tcp-no-delay": "Siųsti duomenis be buferiavimo (išjungti Nagle algoritmą)", + "tcp-no-delay": "Priverčia lizdą siųsti duomenis be buferiavimo (išjungiamas Nagle buferiavimo algoritmas)", "fail-fast": "Mesti išimtį, kai dekoderis nustato, kad kadro ilgis viršys maks. dydį", "strip-delimiter": "Pašalinti skyriklį", "length-field-offset": "Ilgio lauko poslinkis", - "length-field-offset-required": "Ilgio lauko poslinkis būtinas.", + "length-field-offset-required": "Ilgio lauko poslinkis yra privalomas.", "length-field-offset-range": "Ilgio lauko poslinkis turi būti nuo 0 iki 8.", "length-field-length": "Ilgio lauko ilgis", - "length-field-length-required": "Ilgio lauko ilgis būtinas.", + "length-field-length-required": "Ilgio lauko ilgis yra privalomas.", "length-field-length-range": "Ilgio lauko ilgis turi būti nuo 0 iki 8.", - "length-adjustment": "Ilgio korekcija (pridedama prie ilgio lauko reikšmės)", - "length-adjustment-required": "Ilgio korekcija būtina.", + "length-adjustment": "Ilgio korekcija (kompensacinė reikšmė, pridedama prie ilgio lauko reikšmės)", + "length-adjustment-required": "Ilgio korekcija yra privaloma.", "length-adjustment-range": "Ilgio korekcija turi būti nuo 0 iki 8.", "byte-order": "Ilgio lauko baitų eilės tvarka", - "initial-bytes-to-strip": "Pirminių baitų skaičius, kuriuos pašalinti iš dekoduoto kadro", - "initial-bytes-to-strip-required": "Pirminių pašalinamų baitų skaičius būtinas.", - "initial-bytes-to-strip-range": "Reikšmė turi būti nuo 0 iki 8.", + "initial-bytes-to-strip": "Iš dekoduoto kadro šalinamų pradinių baitų skaičius", + "initial-bytes-to-strip-required": "Šalinamų pradinių baitų skaičius yra privalomas.", + "initial-bytes-to-strip-range": "Šalinamų pradinių baitų skaičius turi būti nuo 0 iki 8.", "so-backlog-option": "Maks. laukiančių prisijungimų skaičius lizde", - "so-backlog-option-required": "Maks. laukiančių prisijungimų skaičius būtinas.", - "so-backlog-option-range": "Reikšmė turi būti nuo 1 iki 65535.", + "so-backlog-option-required": "Maks. laukiančių prisijungimų skaičius yra privalomas.", + "so-backlog-option-range": "Maks. laukiančių prisijungimų skaičius turi būti nuo 1 iki 65535.", "so-rcv-buf": "Įeinančio lizdo buferio dydis (KB)", - "so-rcv-buf-required": "Įeinančio lizdo buferio dydis (KB) būtinas.", - "so-rcv-buf-range": "Reikšmė turi būti nuo 1 iki 65535.", + "so-rcv-buf-required": "Įeinančio lizdo buferio dydis (KB) yra privalomas.", + "so-rcv-buf-range": "Įeinančio lizdo buferio dydis (KB) turi būti nuo 1 iki 65535.", "so-snd-buf": "Išeinančio lizdo buferio dydis (KB)", - "so-snd-buf-required": "Išeinančio lizdo buferio dydis (KB) būtinas.", - "so-snd-buf-range": "Reikšmė turi būti nuo 1 iki 65535.", + "so-snd-buf-required": "Išeinančio lizdo buferio dydis (KB) yra privalomas.", + "so-snd-buf-range": "Išeinančio lizdo buferio dydis (KB) turi būti nuo 1 iki 65535.", "charset-name": "Koduotės pavadinimas", - "charset-name-required": "Koduotės pavadinimas būtinas.", - "message-separator": "Pranešimų skyriklis", - "message-separator-required": "Pranešimų skyriklis būtinas.", + "charset-name-required": "Koduotės pavadinimas yra privalomas.", + "message-separator": "Žinučių skyriklis", + "message-separator-required": "Žinučių skyriklis yra privalomas.", "message-separator-type": "Skyriklio tipas", "separator": "Skyriklis", - "separator-required": "Skyriklis būtinas.", + "separator-required": "Skyriklis yra privalomas.", "character-sequence": "Simbolių seka", - "character-sequence-required": "Simbolių seka būtina.", + "character-sequence-required": "Simbolių seka yra privaloma.", "max-frame-length": "Maks. kadro ilgis (baitais)", - "max-frame-length-required": "Maks. kadro ilgis (baitais) būtinas.", - "max-frame-length-range": "Reikšmė turi būti nuo 1 iki 65535.", + "max-frame-length-required": "Maks. kadro ilgis (baitais) yra privalomas.", + "max-frame-length-range": "Maks. kadro ilgis (baitais) turi būti nuo 1 iki 65535.", "handler-type": "Apdorojimo tipas", - "message-size": "Pranešimo dydis", - "message-size-required": "Pranešimo dydis būtinas.", + "message-size": "Žinutės dydis", + "message-size-required": "Žinutės dydis yra privalomas.", "service-url": "Paslaugos URL", - "service-url-required": "Paslaugos URL būtinas.", + "service-url-required": "Paslaugos URL yra privalomas.", "subscription-name": "Prenumeratos pavadinimas", - "subscription-name-required": "Prenumeratos pavadinimas būtinas.", - "max-num-messages": "Maks. pranešimų skaičius", - "max-num-messages-required": "Maks. pranešimų skaičius būtinas.", + "subscription-name-required": "Prenumeratos pavadinimas yra privalomas.", + "max-num-messages": "Maks. žinučių skaičius", + "max-num-messages-required": "Maks. žinučių skaičius yra privalomas.", "max-num-bytes": "Maks. baitų skaičius", - "max-num-bytes-required": "Maks. baitų skaičius būtinas.", + "max-num-bytes-required": "Maks. baitų skaičius yra privalomas.", "model": "Modelis", "select-model": "Pasirinkti modelį", "model-not-found": "Modelis nerastas", - "model-required": "Modelis būtinas", + "model-required": "Modelis yra privalomas", + "model-not-valid": "Privalomas pasirinkimas: pasirinkite modelį iš išskleidžiamojo sąrašo.", "vendor": "Tiekėjas", "select-vendor": "Pasirinkti tiekėją", "vendor-not-found": "Tiekėjas nerastas", - "vendor-required": "Tiekėjas būtinas", + "vendor-required": "Tiekėjas yra privalomas", + "vendor-not-valid": "Privalomas pasirinkimas: pasirinkite tiekėją iš išskleidžiamojo sąrašo.", "library": "Biblioteka", "timeout-in-ms": "Laiko limitas milisekundėmis", - "timeout-in-ms-required": "Laiko limitas milisekundėmis būtinas.", - "user-id": "Vartotojo ID", - "user-id-required": "Vartotojo ID būtinas.", + "timeout-in-ms-required": "Laiko limitas milisekundėmis yra privalomas.", + "user-id": "Naudotojo ID", + "user-id-required": "Naudotojo ID yra privalomas.", "token": "Žetonas", - "token-required": "Žetonas būtinas.", + "token-required": "Žetonas yra privalomas.", "project-id": "Projekto ID", - "project-id-required": "Projekto ID būtinas.", + "project-id-required": "Projekto ID yra privalomas.", "subscription-id": "Prenumeratos ID", - "subscription-id-required": "Prenumeratos ID būtinas.", + "subscription-id-required": "Prenumeratos ID yra privalomas.", "service-account-key": "Paslaugos paskyros rakto failas", - "service-account-key-required": "Paslaugos paskyros rakto failas būtinas.", + "service-account-key-required": "Paslaugos paskyros rakto failas yra privalomas.", "tcp": { "system-line-separator": "Sistemos eilučių skyriklis", "nul-delimiter": "Nul skyriklis", - "custom-separator": "Tinkintas skyriklis", - "byte-order-little-endian": "Mažasis baitų eiliškumas (Little Endian)", - "byte-order-big-endian": "Didysis baitų eiliškumas (Big Endian)" + "custom-separator": "Pasirinktinis skyriklis", + "byte-order-little-endian": "Little Endian", + "byte-order-big-endian": "Big Endian" }, "cache-size": "Talpyklos dydis", "cache-time-to-live": "Talpyklos galiojimo laikas minutėmis", @@ -4528,7 +5922,7 @@ "min-cache-time-to-live": "Talpyklos galiojimo laikas negali būti mažesnis nei 0", "max-cache-time-to-live": "Neteisingas talpyklos galiojimo laikas, pasirinkite tarp 0 ir 525600", "coap-security-mode": "Saugumo režimas", - "coap-security-mode-required": "Reikalingas CoAP saugumo režimas", + "coap-security-mode-required": "CoAP saugumo režimas yra privalomas", "coap-security-mode-no-secure": "BE SAUGUMO", "coap-security-mode-dtls": "DTLS", "coap-security-mode-mixed": "MIŠRUS", @@ -4537,23 +5931,23 @@ "copy-coap-endpoint-url": "Kopijuoti CoAP galinio taško URL", "copy-coap-dtls-endpoint-url": "Kopijuoti CoAP DTLS galinio taško URL", "coap-dtls-base-url": "DTLS bazinis URL", - "coap-dtls-base-url-required": "DTLS bazinis URL būtinas", + "coap-dtls-base-url-required": "DTLS bazinis URL yra privalomas", "coap-dtls-endpoint": "CoAP DTLS galinio taško URL", "coap-dtls-endpoint-url-copied-message": "CoAP DTLS galinio taško URL nukopijuotas į iškarpinę", - "unassign-integration-title": "Ar tikrai norite atšaukti integracijos '{{integrationName}}' priskyrimą?", - "unassign-integration-from-edge-text": "Po patvirtinimo integracija bus atšaukta ir nebebus pasiekiama per Edge.", - "unassign-integrations-from-edge-title": "Ar tikrai norite atšaukti { count, plural, =1 {1 integracijos} other {# integracijų} } priskyrimą?", - "unassign-integrations-from-edge-text": "Po patvirtinimo visos pasirinktos integracijos bus atšauktos ir nebebus pasiekiamos per Edge.", - "unassign-integrations": "Atšaukti integracijų priskyrimą", - "edge-placeholder-hint": "Galite naudoti žymą ${{ATTRIBUTE_KEY}}, kad pakeistumėte integracijos lauką konkretaus Edge subjekto atributo reikšme. Pavyzdžiui, „Edge A“ turi atributą „baseUrl“, kurio reikšmė yra „http://localhost:9999“. Galite nustatyti ${{baseUrl}} kaip vieną iš integracijos laukų, ir jis bus pakeistas į „http://localhost:9999“ integracijos priskyrimo metu „Edge A“. Be to, jei „Edge A“ atributo „baseUrl“ reikšmė bus atnaujinta, integracija su nauja reikšme bus automatiškai atnaujinta ir pritaikyta „Edge A“. ", + "unassign-integration-title": "Ar tikrai norite atsieti integraciją „{{integrationName}}“?", + "unassign-integration-from-edge-text": "Po patvirtinimo integracija bus atsieta ir nebebus pasiekiama Edge egzemplioriui.", + "unassign-integrations-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 integraciją} one {# integraciją} few {# integracijas} other {# integracijų} }?", + "unassign-integrations-from-edge-text": "Po patvirtinimo visos pasirinktos integracijos bus atsietos ir nebebus pasiekiamos Edge egzemplioriui.", + "unassign-integrations": "Atsieti integracijas", + "edge-placeholder-hint": "Galite naudoti žymą ${{ATTRIBUTE_KEY}}, kad pakeistumėte integracijos lauką konkretaus Edge egzemplioriaus atributo reikšme. Pavyzdžiui, „Edge A“ turi atributą „baseUrl“, kurio reikšmė yra „http://localhost:9999“. Galite nustatyti ${{baseUrl}} kaip vieną iš integracijos laukų, ir priskiriant šią integraciją „Edge A“ jis bus pakeistas į „http://localhost:9999“. Be to, jei „Edge A“ atributo „baseUrl“ reikšmė bus atnaujinta, integracija su nauja reikšme bus automatiškai atnaujinta ir pritaikyta „Edge A“.", "status": { "status": "Būsena", - "active": "Aktyvus", - "disabled": "Išjungtas", + "active": "Aktyvi", + "disabled": "Išjungta", "failed": "Nepavyko", "pending": "Laukiama" }, - "daily-activity": "Kasdienė veikla", + "daily-activity": "Aktyvumas per dieną", "enable-debug-mode": "Įjungti derinimo režimą", "disable-debug-mode": "Išjungti derinimo režimą", "advanced-settings": "Išplėstiniai nustatymai", @@ -4564,25 +5958,24 @@ "connected": "Prisijungta", "not-connected": "Neprisijungta", "environment": "Aplinka", - "environment-required": "Aplinka būtina.", + "environment-required": "Aplinka yra privaloma.", "region-cn": "Kinija", "region-us": "Jungtinės Valstijos", "region-eu": "Europa", "region-in": "Indija", "topic-name": "Temos pavadinimas", - "topic-name-required": "Temos pavadinimas būtinas", + "topic-name-required": "Temos pavadinimas yra privalomas", "sub-name": "Prenumeratos pavadinimas", - "sub-name-required": "Prenumeratos pavadinimas būtinas", - "downlink-connection-string": "Atsiuntimo jungties eilutė", - "downlink-connection-string-required": "Atsiuntimo jungties eilutė būtina", - "downlink-topic-name": "Atsiuntimo temos pavadinimas", - "downlink-topic-name-required": "Atsiuntimo temos pavadinimas būtinas", - "see-debug-events": "Peržiūrėti derinimo įvykius" + "sub-name-required": "Prenumeratos pavadinimas yra privalomas", + "downlink-connection-string": "Downlink jungties eilutė", + "downlink-connection-string-required": "Downlink jungties eilutė yra privaloma", + "downlink-topic-name": "Downlink temos pavadinimas", + "downlink-topic-name-required": "Downlink temos pavadinimas yra privalomas" }, "scada": { "symbols": "SCADA simboliai", - "search": "Ieškoti simbolio", - "selected-symbols": "{ count, plural, =1 {1 simbolis} other {# simboliai} } pasirinkta", + "search": "Ieškokite simbolio", + "selected-symbols": "{ count, plural, =1 {Pasirinktas 1 simbolis} one {Pasirinktas # simbolis} few {Pasirinkti # simboliai} other {Pasirinkta # simbolių} }", "download-symbol": "Atsisiųsti SCADA simbolį", "export-symbol": "Eksportuoti SCADA simbolį į JSON", "import-symbol": "Importuoti SCADA simbolį iš JSON", @@ -4596,24 +5989,24 @@ "show-hidden-elements": "Rodyti paslėptus elementus", "hide-hidden-elements": "Slėpti paslėptus elementus", "delete-symbol": "Ištrinti SCADA simbolį", - "delete-symbol-title": "Ar tikrai norite ištrinti SCADA simbolį '{{imageTitle}}'?", + "delete-symbol-title": "Ar tikrai norite ištrinti SCADA simbolį „{{imageTitle}}“?", "delete-symbol-text": "Būkite atsargūs — po patvirtinimo SCADA simbolis bus negrįžtamai pašalintas.", - "delete-symbols-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 SCADA simbolį} other {# SCADA simbolius} }?", + "delete-symbols-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 SCADA simbolį} one {# SCADA simbolį} few {# SCADA simbolius} other {# SCADA simbolių} }?", "delete-symbols-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti SCADA simboliai ir susiję duomenys bus negrįžtamai pašalinti.", "include-system-symbols": "Įtraukti sistemos simbolius", "symbol-preview": "Simbolio peržiūra", - "general": "Bendra informacija", + "general": "Bendra", "tags": "Žymos", "properties": "Savybės", "title": "Pavadinimas", "description": "Aprašymas", - "search-tags": "Ieškoti žymų", + "search-tags": "Paieškos žymos", "widget-size": "Valdiklio dydis", "cols": "stulpeliai", "rows": "eilutės", "state-render-function": "Būsenos atvaizdavimo funkcija", "preview": "Peržiūra", - "preview-widget-action-text": "Valdiklio veiksmas '{{type}}' sėkmingai įvykdytas!", + "preview-widget-action-text": "Valdiklio veiksmas „{{type}}“ sėkmingai įvykdytas!", "no-symbol": "Nėra SCADA simbolio", "no-symbol-selected": "Nepasirinktas SCADA simbolis", "clear-symbol": "Išvalyti SCADA simbolį", @@ -4627,7 +6020,7 @@ "tag": "Žyma", "on-click-action": "Veiksmas paspaudus", "no-tags": "Žymos nesukonfigūruotos", - "delete-tag-text": "Ar tikrai norite pašalinti žymą
{{tag}} iš {{elementType}} elemento?", + "delete-tag-text": "Ar tikrai norite ištrinti žymą
{{tag}} iš {{elementType}} elemento?", "update-tag": "Atnaujinti žymą", "enter-tag": "Įveskite žymą", "tag-settings": "Žymos nustatymai", @@ -4650,8 +6043,8 @@ "group-title": "Grupės pavadinimas", "value-type": "Reikšmės tipas", "default-value": "Numatytoji reikšmė", - "true-label": "Tiesa etiketė", - "false-label": "Netiesa etiketė", + "true-label": "Etiketė reikšmei „Tiesa“", + "false-label": "Etiketė reikšmei „Netiesa“", "state-label": "Būsenos etiketė", "default-payload": "Numatytasis krovinys", "not-unique-behavior-ids-error": "Elgsenos ID turi būti unikalūs!", @@ -4672,7 +6065,7 @@ "forward": "Pirmyn", "reverse": "Atgal", "flow-animation-speed": "Srauto animacijos greitis", - "flow-animation-speed-hint": "Reikšmė, nurodanti animacijos greitį. 1 – normalus greitis, 0 – be animacijos, < 1 – lėtesnė, > 1 – greitesnė animacija.", + "flow-animation-speed-hint": "Slankiojo kablelio reikšmė, nurodanti srauto animacijos greitį. 1 – normalus greitis, 0 – be animacijos, < 1 – lėtesnė, > 1 – greitesnė animacija.", "leak": "Nuotėkis", "leak-hint": "Nurodo, ar yra nuotėkis vamzdyje.", "leak-present": "Nuotėkis yra", @@ -4695,22 +6088,22 @@ "value": "Reikšmė", "decimals": "Skaitmenys po kablelio", "units": "Vienetai", - "flow-meter-value-hint": "Reikšmė rodoma srauto matuoklyje", - "value-hint": "Reikšmė, nurodanti dabartinį dydį", + "flow-meter-value-hint": "Slankiojo kablelio reikšmė, rodoma srauto matuoklio ekrane", + "value-hint": "Slankiojo kablelio reikšmė, nurodanti dabartinę reikšmę", "running": "Veikia", "running-hint": "Nurodo, ar komponentas veikia.", - "warning-state": "Įspėjimo būsena", - "warning": "Įspėjimas", - "warning-click": "Įspėjimo paspaudimas", - "warning-state-hint": "Nurodo, ar komponentas yra įspėjimo būsenoje.", + "warning-state": "Perspėjimo būsena", + "warning": "Perspėjimas", + "warning-click": "Perspėjimo paspaudimas", + "warning-state-hint": "Nurodo, ar komponentas yra perspėjimo būsenoje.", "critical-state": "Kritinė būsena", - "critical": "Kritinis", - "critical-click": "Kritinio paspaudimas", + "critical": "Kritinė", + "critical-click": "Kritinės būsenos paspaudimas", "critical-state-hint": "Nurodo, ar komponentas yra kritinėje būsenoje.", "critical-state-animation": "Kritinės būsenos animacija", "critical-state-animation-hint": "Įjungia mirksėjimo animaciją, kai komponentas yra kritinėje būsenoje.", - "warning-critical-state-animation": "Įspėjimo/kritinės būsenos animacija", - "warning-critical-state-animation-hint": "Įjungia mirksėjimo animaciją, kai komponentas yra įspėjimo ar kritinėje būsenoje.", + "warning-critical-state-animation": "Perspėjimo/kritinės būsenos animacija", + "warning-critical-state-animation-hint": "Įjungia mirksėjimo animaciją, kai komponentas yra perspėjimo ar kritinėje būsenoje.", "animation": "Animacija", "broken": "Sugedęs", "broken-hint": "Nurodo, ar komponentas sugedęs.", @@ -4719,141 +6112,141 @@ "pipe": "Vamzdis", "default-border-color": "Numatytoji rėmelio spalva", "active-border-color": "Aktyvaus rėmelio spalva", - "warning-border-color": "Įspėjimo rėmelio spalva", + "warning-border-color": "Perspėjimo rėmelio spalva", "critical-border-color": "Kritinio rėmelio spalva", "background-color": "Fono spalva", "rotation-animation-speed": "Sukimosi animacijos greitis", - "rotation-animation-speed-hint": "Reikšmė, nurodanti sukimosi animacijos greitį. 1 – normalus, 0 – be animacijos, < 1 – lėtesnė, > 1 – greitesnė animacija.", + "rotation-animation-speed-hint": "Slankiojo kablelio reikšmė, nurodanti sukimosi animacijos greitį. 1 – normalus greitis, 0 – be animacijos, < 1 – lėtesnė, > 1 – greitesnė animacija.", "on-click": "Paspaudus", "on-click-hint": "Veiksmas, atliekamas paspaudus komponentą.", "connectors-positions": "Jungčių pozicijos", "right-connector": "Dešinė jungtis", - "right-top-connector": "Dešinysis viršutinis jungtuvas.", - "right-bottom-connector": "Dešinysis apatinis jungtuvas.", + "right-top-connector": "Dešinės pusės viršutinė jungtis", + "right-bottom-connector": "Dešinės pusės apatinė jungtis", "left-connector": "Kairė jungtis", - "left-top-connector": "Kairysis viršutinis jungtuvas.", - "left-bottom-connector": "Kairysis apatinis jungtuvas.", - "top-left-connector": "Kairysis viršutinis jungtuvas.", - "top-right-connector": "Dešinysis viršutinis jungtuvas.", + "left-top-connector": "Kairės pusės viršutinė jungtis", + "left-bottom-connector": "Kairės pusės apatinė jungtis", + "top-left-connector": "Viršutinės pusės kairioji jungtis", + "top-right-connector": "Viršutinės pusės dešinioji jungtis", "top-connector": "Viršutinė jungtis", "bottom-connector": "Apatinė jungtis", "running-color": "Veikimo spalva", "stopped-color": "Sustojimo spalva", "stopped": "Sustojęs", - "warning-color": "Įspėjimo spalva", - "critical-color": "Kritinė spalva", + "warning-color": "Perspėjimo spalva", + "critical-color": "Kritinės būsenos spalva", "opened": "Atidaryta", "opened-hint": "Nurodo, ar komponentas atidarytas.", "open": "Atidaryti", - "open-hint": "Veiksmas, atliekamas vartotojui spustelėjus, kad atidarytų komponentą.", + "open-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad atidarytų komponentą.", "close": "Uždaryti", - "close-hint": "Veiksmas, atliekamas vartotojui spustelėjus komponento uždarymą.", - "close-state-animation": "Uždarytos būsenos animacija.", + "close-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad uždarytų komponentą.", + "close-state-animation": "Uždarytos būsenos animacija", "close-state-animation-hint": "Ar įjungti mirksinčią animaciją, kai komponentas yra uždarytos būsenos.", - "opened-color": "Atidarytos būsenos spalva.", - "closed-color": "Uždarytos būsenos spalva.", - "opened-rotation-angle": "Atidarytos būsenos pasukimo kampas.", - "closed-rotation-angle": "Uždarytos būsenos pasukimo kampas.", + "opened-color": "Atidarytos būsenos spalva", + "closed-color": "Uždarytos būsenos spalva", + "opened-rotation-angle": "Atidarytos būsenos pasukimo kampas", + "closed-rotation-angle": "Uždarytos būsenos pasukimo kampas", "tank-capacity": "Talpyklos talpa", - "tank-capacity-hint": "Slankiojo kablelio reikšmė, nurodanti bendrą bako talpą.", + "tank-capacity-hint": "Slankiojo kablelio reikšmė, nurodanti bendrą talpyklos talpą.", "current-volume": "Dabartinis tūris", "current-volume-hint": "Slankiojo kablelio reikšmė, nurodanti šiuo metu užimtą tūrį.", "tank-color": "Talpyklos spalva", - "value-box": "Reikšmės langelis.", - "value-text": "Reikšmės tekstas.", + "value-box": "Reikšmės langelis", + "value-text": "Reikšmės tekstas", "scale": "Skalė", - "transparent-mode": "Permatomas režimas.", - "major-ticks": "Pagrindiniai žymekliai.", - "intervals": "Intervalai.", - "major-ticks-color": "Pagrindinių žymeklių spalva.", + "transparent-mode": "Permatomas režimas", + "major-ticks": "Pagrindinės padalos", + "intervals": "Intervalai", + "major-ticks-color": "Pagrindinių padalų spalva", "normal": "Normalu", - "minor-ticks": "Smulkieji žymekliai.", - "minor-ticks-color": "Smulkiųjų žymeklių spalva.", + "minor-ticks": "Smulkiosios padalos", + "minor-ticks-color": "Smulkiųjų padalų spalva", "temperature": "Temperatūra", "temperature-hint": "Slankiojo kablelio reikšmė, nurodanti dabartinę temperatūrą.", - "update-temperature": "Atnaujinti temperatūrą.", - "update-temperature-hint": "Veiksmas, atliekamas vartotojui spustelėjus, kad pakeistų dabartinę temperatūrą.", + "update-temperature": "Atnaujinti temperatūrą", + "update-temperature-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad pakeistų dabartinę temperatūrą.", "run": "Paleisti", - "run-hint": "Veiksmas, atliekamas vartotojui spustelėjus, kad paleistų komponentą.", + "run-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad paleistų komponentą.", "stop": "Sustabdyti", - "stop-hint": "Veiksmas, atliekamas vartotojui spustelėjus, kad sustabdytų komponentą.", - "temperature-step": "Temperatūros žingsnio padidinimas.", - "heat-pump-color": "Šilumos siurblio spalva.", - "power-button-background": "Maitinimo mygtuko fonas.", - "value-box-background": "Value box background", - "value-units": "Reikšmės vienetai.", - "enable-units-scale": "Įjungti vienetus skalėje.", - "filtration-mode": "Filtravimo režimas.", + "stop-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad sustabdytų komponentą.", + "temperature-step": "Temperatūros keitimo žingsnis", + "heat-pump-color": "Šilumos siurblio spalva", + "power-button-background": "Maitinimo mygtuko fonas", + "value-box-background": "Reikšmės langelio fonas", + "value-units": "Reikšmės vienetai", + "enable-units-scale": "Įjungti vienetus skalėje", + "filtration-mode": "Filtravimo režimas", "filtration-mode-hint": "Sveikasis skaičius, nurodantis dabartinį filtravimo režimą.", - "filtration-mode-update": "Filtravimo režimo atnaujinimo būsena.", - "filtration-mode-update-hint": "Veiksmas, atliekamas vartotojui spustelėjus, kad pakeistų dabartinį filtravimo režimą.", - "filter-mode": "Filtras.", - "waste-mode": "Atliekos.", - "backwash-mode": "Atbulinis plovimas.", - "recirculate-mode": "Recirkuliacija.", - "rinse-mode": "Skalavimas.", - "closed-mode": "Uždaryta.", - "sand-filter-color": "Smėlio filtro spalva.", - "mode-box-background": "Režimo langelio fonas.", - "border-color": "Kraštinės spalva.", + "filtration-mode-update": "Filtravimo režimo atnaujinimo būsena", + "filtration-mode-update-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad pakeistų dabartinį filtravimo režimą.", + "filter-mode": "Filtras", + "waste-mode": "Išleidimas", + "backwash-mode": "Atbulinis plovimas", + "recirculate-mode": "Recirkuliacija", + "rinse-mode": "Skalavimas", + "closed-mode": "Uždaryta", + "sand-filter-color": "Smėlio filtro spalva", + "mode-box-background": "Režimo langelio fonas", + "border-color": "Rėmelio spalva", "label-color": "Etiketės spalva", - "water-leak-hint": "Nurodo, ar yra nutekėjimas.", - "default-color": "Numatytoji spalva.", - "leak-color": "Nutekėjimo spalva.", - "full-value": "Pilna reikšmė.", + "water-leak-hint": "Nurodo, ar yra nuotėkis.", + "default-color": "Numatytoji spalva", + "leak-color": "Nuotėkio spalva", + "full-value": "Pilna reikšmė", "full-value-hint": "Slankiojo kablelio reikšmė, nurodanti pilną reikšmę.", "label": "Etiketė", - "icon": "Ikona", - "button-color": "Mygtuko spalva.", - "on-label": "„Įjungta“ žymės tekstas.", - "off-label": "„Išjungta“ žymės tekstas.", - "arrow-presence": "Rodyklės buvimas.", + "icon": "Piktograma", + "button-color": "Mygtuko spalva", + "on-label": "Etiketės „Įjungta“ tekstas", + "off-label": "Etiketės „Išjungta“ tekstas", + "arrow-presence": "Rodyklės buvimas", "arrow-presence-hint": "Nurodo, ar jungtyje yra rodyklė.", - "arrow-present": "Rodyklė yra.", - "arrow-direction": "Srauto kryptis.", + "arrow-present": "Rodyklė yra", + "arrow-direction": "Srauto kryptis", "arrow-direction-hint": "Nurodo srauto kryptį.", - "flow-animation": "Srauto buvimas.", + "flow-animation": "Srauto buvimas", "flow-animation-hint": "Nurodo, ar jungtyje teka skystis.", - "flow": "Srautas.", - "flow-line": "Linija.", - "flow-line-style": "Linijos stilius.", + "flow": "Srautas", + "flow-line": "Linija", + "flow-line-style": "Linijos stilius", "flow-style-hint": "Nustatykite brūkšnio ir tarpo reikšmes taip, kad jų suma būtų daloma iš 100 be liekanos, kad animacija būtų idealiai sinchronizuota.", - "flow-dash-cap": "Brūkšnio galas.", - "dash-cap-butt": "Galinė briauna.", - "dash-cap-round": "Apvalus.", - "dash-cap-square": "Kvadratinis.", - "dash": "Brūkšnys.", - "gap": "Tarpas.", - "main-line": "Pagrindinė linija.", + "flow-dash-cap": "Brūkšnio galas", + "dash-cap-butt": "Plokščias", + "dash-cap-round": "Apvalus", + "dash-cap-square": "Kvadratinis", + "dash": "Brūkšnys", + "gap": "Tarpas", + "main-line": "Pagrindinė linija", "line": "Linija", "line-color": "Linijos spalva", - "arrow-color": "Rodyklės spalva.", - "target-value": "Tikslo reikšmė.", + "arrow-color": "Rodyklės spalva", + "target-value": "Tikslo reikšmė", "target-value-hint": "Nurodo tikslo tašką skalėje.", - "min-max-value": "Minimali ir maksimali reikšmė.", + "min-max-value": "Minimali ir maksimali reikšmė", "min-value": "Min.", "max-value": "Maks.", - "progress-bar": "Eigos juosta.", - "progress-arrow": "Eigos rodyklė.", - "warning-scale-color": "Įspėjimo skalės spalva.", - "critical-scale-color": "Kritinės skalės spalva.", - "scale-color": "Skalės spalva.", - "target": "Tikslas.", - "high-warning-state": "Aukšto įspėjimo būsena.", - "show-high-warning-scale": "Rodyti aukšto įspėjimo skalės reikšmę.", - "high-warning-scale": "Aukšto įspėjimo skalė.", - "high-warning-state-hint": "Slankiojo kablelio reikšmė, nurodanti aukšto įspėjimo diapazoną iki aukštos kritinės arba didžiausios reikšmės.", - "low-warning-state": "Žemo įspėjimo būsena.", - "show-low-warning-scale": "Rodyti žemo įspėjimo skalės reikšmę.", - "low-warning-scale": "Žemo įspėjimo skalė.", - "low-warning-state-hint": "Slankiojo kablelio reikšmė, nurodanti žemo įspėjimo diapazoną iki žemos kritinės arba minimalios reikšmės.", - "high-critical-state": "Aukšta kritinė būsena.", - "show-high-critical-scale": "Rodyti aukštos kritinės skalės reikšmę.", - "high-critical-scale": "Aukšta kritinė skalė.", + "progress-bar": "Eigos juosta", + "progress-arrow": "Eigos rodyklė", + "warning-scale-color": "Perspėjimo skalės spalva", + "critical-scale-color": "Kritinės skalės spalva", + "scale-color": "Skalės spalva", + "target": "Tikslas", + "high-warning-state": "Aukšto perspėjimo būsena", + "show-high-warning-scale": "Rodyti aukšto perspėjimo skalės reikšmę", + "high-warning-scale": "Aukšto perspėjimo skalė", + "high-warning-state-hint": "Slankiojo kablelio reikšmė, nurodanti aukšto perspėjimo diapazoną iki aukštos kritinės arba didžiausios reikšmės.", + "low-warning-state": "Žemo perspėjimo būsena", + "show-low-warning-scale": "Rodyti žemo perspėjimo skalės reikšmę", + "low-warning-scale": "Žemo perspėjimo skalė", + "low-warning-state-hint": "Slankiojo kablelio reikšmė, nurodanti žemo perspėjimo diapazoną iki žemos kritinės arba minimalios reikšmės.", + "high-critical-state": "Aukšta kritinė būsena", + "show-high-critical-scale": "Rodyti aukštos kritinės skalės reikšmę", + "high-critical-scale": "Aukšta kritinė skalė", "high-critical-state-hint": "Slankiojo kablelio reikšmė, nurodanti aukštą kritinį diapazoną iki didžiausios skalės reikšmės.", - "low-critical-state": "Žemos kritinės būsenos reikšmė.", - "show-low-critical-scale": "Rodyti žemos kritinės būsenos reikšmę.", - "low-critical-scale": "Žema kritinė būsena.", + "low-critical-state": "Žemos kritinės būsenos reikšmė", + "show-low-critical-scale": "Rodyti žemos kritinės būsenos reikšmę", + "low-critical-scale": "Žema kritinė būsena", "low-critical-state-hint": "Slankiojo kablelio reikšmė, nurodanti žemos kritinės reikšmės diapazoną iki minimalios skalės reikšmės.", "filter-color": "Filtro spalva", "colors": "Spalvos", @@ -4862,76 +6255,351 @@ "disabled": "Išjungta", "on": "Įjungta", "off": "Išjungta", - "on-off-state": "Įjungimo/Išjungimo būsena.", + "on-off-state": "Įjungimo / išjungimo būsena", "on-off-state-hint": "Nurodo, ar komponentas yra įjungtos, ar išjungtos būsenos.", - "on-update-state": "Įjungimo atnaujinimo būsena.", - "on-update-state-hint": "Veiksmas, atliekamas vartotojui spustelėjus, kad atnaujintų būseną į „Įjungta“.", - "off-update-state": "Išjungimo atnaujinimo būsena.", - "off-update-state-hint": "Veiksmas, atliekamas vartotojui spustelėjus, kad atnaujintų būseną į „Išjungta“.", + "on-update-state": "Įjungimo atnaujinimo būsena", + "on-update-state-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad atnaujintų būseną į „Įjungta“.", + "off-update-state": "Išjungimo atnaujinimo būsena", + "off-update-state-hint": "Veiksmas, atliekamas naudotojui spustelėjus, kad atnaujintų būseną į „Išjungta“.", "voltage": "Įtampa", - "input-voltage": "Įėjimo įtampa.", + "input-voltage": "Įėjimo įtampa", "input-voltage-hint": "Slankiojo kablelio reikšmė, nurodanti įėjimo įtampos dydį.", - "output-voltage": "Išėjimo įtampa.", + "output-voltage": "Išėjimo įtampa", "output-voltage-hint": "Slankiojo kablelio reikšmė, nurodanti išėjimo įtampos dydį.", - "first-phase-voltage": "Pirmosios fazės įtampa.", - "second-phase-voltage": "Antrosios fazės įtampa.", - "third-phase-voltage": "Trečiosios fazės įtampa.", - "phase-voltage-hint": "Slankiojo kablelio reikšmė, nurodanti dabartinės fazės įtampos dydį.", - "voltage-hint": "Slankiojo kablelio reikšmė, nurodanti dabartinę įtampą.", - "phase-indicator-color": "Fazės indikatoriaus spalva.", - "measured": "Išmatuota.", - "measured-hint": "Slankiojo kablelio reikšmė, nurodanti energijos suvartojimą kilovatvalandėmis.", - "day-rate": "Dienos tarifas.", - "night-rate": "Naktinis tarifas.", - "off-peak-rate": "Ne piko tarifas.", - "peak-rate": "Piko tarifas.", - "export-rate": "Eksporto tarifas.", - "operating-mode": "Veikimo režimas.", - "bypass-mode": "Apeiti.", - "operating-mode-hint": "Sveikasis skaičius, nurodantis dabartinį veikimo režimą (0 – IŠJUNGTA, 1 – ĮJUNGTA, 2 – APEINIMAS).", + "first-phase-voltage": "Pirmosios fazės įtampa", + "second-phase-voltage": "Antrosios fazės įtampa", + "third-phase-voltage": "Trečiosios fazės įtampa", + "phase-voltage-hint": "Slankiojo kablelio reikšmė, nurodanti dabartinės fazės įtampos dydį", + "voltage-hint": "Slankiojo kablelio reikšmė, nurodanti dabartinę įtampą", + "current-voltage": "Esama įtampa", + "phase-indicator-color": "Fazės indikatoriaus spalva", + "measured": "Išmatuota", + "measured-hint": "Slankiojo kablelio reikšmė, nurodanti energijos suvartojimą kilovatvalandėmis", + "day-rate": "Dienos tarifas", + "night-rate": "Naktinis tarifas", + "off-peak-rate": "Ne piko tarifas", + "peak-rate": "Piko tarifas", + "export-rate": "Eksporto tarifas", + "operating-mode": "Veikimo režimas", + "bypass-mode": "Apėjimas", + "operating-mode-hint": "Sveikasis skaičius, nurodantis dabartinį veikimo režimą (0 – IŠJUNGTA, 1 – ĮJUNGTA, 2 – APĖJIMAS)", "connected": "Prijungta", "connected-hint": "Nurodo, ar komponentas yra prijungtos būsenos.", "disconnected": "Atjungta", "indicator": "Indikatorius", "operation-mode": "Veikimo režimas", - "operation-mode-hint": "Nurodo, ar keitiklis veikia tinklo (Mains), ar inverterio (Inverter) režimu.", - "operation-mode-indicators-color": "Veikimo režimo indikatorių spalva.", - "mains-on-mode": "Tinklas įjungtas.", - "inverter-on-mode": "Keitiklis įjungtas.", + "operation-mode-hint": "Nurodo, ar inverteris veikia tinklo, ar inverterio režimu.", + "operation-mode-indicators-color": "Veikimo režimo indikatorių spalva", + "mains-on-mode": "Tinklas įjungtas", + "inverter-on-mode": "Inverteris įjungtas", "charging-mode": "Įkrovimo režimas", - "charging-mode-hint": "Sveikasis skaičius, nurodantis dabartinį įkrovimo režimą (1 – Greitas įkrovimas, 2 – Sugėrimas, 3 – Palaikomasis įkrovimas).", - "charging-mode-indicators-color": "Įkrovimo režimo indikatorių spalva.", - "inverter-faults": "Gedimai.", - "inverter-fault-indicators-color": "Gedimo indikatorių spalva.", + "charging-mode-hint": "Sveikasis skaičius, nurodantis dabartinį įkrovimo režimą (1 – Greitas įkrovimas, 2 – Sugėrimas, 3 – Palaikomasis įkrovimas)", + "charging-mode-indicators-color": "Įkrovimo režimo indikatorių spalva", + "inverter-faults": "Gedimai", + "inverter-fault-indicators-color": "Gedimo indikatorių spalva", "overload-fault": "Perkrova", - "overload-fault-hint": "Nurodo, ar keitiklis yra perkrovos būsenoje.", + "overload-fault-hint": "Nurodo, ar inverteris yra perkrovos būsenoje.", "low-battery-fault": "Silpna baterija", "low-battery-fault-hint": "Nurodo, ar akumuliatorius yra per daug išsikrovęs.", "temperature-fault": "Temperatūra", - "temperature-fault-hint": "Nurodo, ar keitiklyje yra aukšta temperatūra.", - "triangle": "Trikampis.", - "socket": "Lizdas.", - "left-button": "Kairysis mygtukas.", - "right-button": "Dešinysis mygtukas.", - "alarm-colors": "Aliarmo spalvos", + "temperature-fault-hint": "Nurodo, ar inverteryje yra aukšta temperatūra.", + "triangle": "Trikampis", + "socket": "Lizdas", + "left-button": "Kairysis mygtukas", + "right-button": "Dešinysis mygtukas", + "alarm-colors": "Įspėjimo spalvos", "hook-color": "Kabliuko spalva" } }, "item": { - "selected": "Pasirinkta" + "type-widget": "Valdiklis", + "type-widget-plural": "Valdikliai", + "type-solution-template": "Sprendimo šablonas", + "type-solution-template-plural": "Sprendimų šablonai", + "type-calculated-field": "Apskaičiuotas laukas", + "type-calculated-field-plural": "Apskaičiuotieji laukai", + "type-alarm-rule": "Įspėjimo taisyklė", + "type-alarm-rule-plural": "Įspėjimų taisyklės", + "type-rule-chain": "Taisyklių grandinė", + "type-rule-chain-plural": "Taisyklių grandinės", + "type-device": "Įrenginys", + "type-device-plural": "Įrenginiai" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Generuoti atsitiktinę reikšmę", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Atraskite paruoštus naudoti elementus:", + "and-devices": "ir įrenginius", + "search-placeholder": "Ieškokite IoT Hub prekyvietėje...", + "search": "Ieškokite...", + "search-published-items": "Ieškokite paskelbtų elementų...", + "see-all-results": "Žiūrėti visus rezultatus", + "see-all-results-for": "Žiūrėti visus užklausos „{{ search }}“ rezultatus ({{ count }})", + "see-results-for": "Žiūrėti užklausos „{{ search }}“ rezultatus", + "no-search-results": "Užklausai „{{ search }}“ rezultatų nerasta", + "no-items-available": "Elementų nėra", + "search-results": "Paieškos rezultatai", + "search-results-for": "Paieškos rezultatai pagal užklausą ", + "try-adjusting-search": "Pabandykite pakeisti paieškos užklausą", + "add-widget-from-iot-hub": "Pridėti valdiklį iš IoT Hub", + "all-widgets": "Visi valdikliai", + "all-iot-hub-widgets": "Visi IoT Hub valdikliai", + "installed-from-iot-hub": "Įdiegta iš IoT Hub", + "item-link-unavailable": "Elementas nepasiekiamas", + "include-deprecated": "Įtraukti pasenusius", + "widget-category-value": "{{ category }} valdikliai", + "search-categories": "Ieškokite kategorijų...", + "search-in-category": "Ieškokite valdiklių...", + "search-bundles": "Ieškokite rinkinių...", + "search-widgets": "Ieškokite valdiklių...", + "add-item-from-iot-hub": "Pridėti iš IoT Hub: {{ type }}", + "add-from-iot-hub": "Pridėti iš IoT Hub", + "filters": "Filtrai", + "type": "Tipas", + "items-per-page": "Elementų puslapyje", + "filter": "Filtras", + "clear-filters": "Išvalyti filtrus", + "available": "Pasiekiama", + "items-page-desc-widgets": "Paspartinkite savo IoT kelionę naudodami iš anksto sukonfigūruotus valdiklius, sukurtus jūsų pramonės šakai. Akimirksniu įdiekite patikrintas architektūras ir sutelkite energiją į tai, kas svarbiausia: jūsų unikalią verslo logiką.", + "items-page-desc-solution-templates": "Išbaigti IoT sprendimų paketai su skydeliais, taisyklių grandinėmis ir įrenginių konfigūracijomis. Pradėkite naudodami patikrintas architektūras.", + "items-page-desc-calculated-fields": "Naudokite iš anksto sukonfigūruotus apskaičiuotus laukus, kad automatizuotumėte sudėtingas metrikas, pvz., degalų efektyvumą ar galios koeficientą. Nebekurkite logikos rankiniu būdu ir išlaikykite savo skydelius aiškius bei praktiškus.", + "items-page-desc-alarm-rules": "Naudokite iš anksto paruoštus įspėjimų taisyklių šablonus, kad aptiktumėte kritines būsenas, pvz., žemą baterijos įkrovą, ribinių verčių viršijimą ar įrenginių atsijungimą. Nerašykite taisyklių logikos patys ir reaguokite į incidentus vos jiems įvykus.", + "items-page-desc-rule-chains": "Nuo sudėtingo duomenų apdorojimo iki sklandžių API integracijų – taisyklių grandinių šablonai suteikia architektūrinį pagrindą, kurio reikia plėstis nekuriant visko nuo nulio.", + "items-page-desc-devices": "Naršykite įrenginių biblioteką ir raskite iš anksto sukonfigūruotus ryšio šablonus, kuriuos galite įdiegti per kelias minutes ir akimirksniu prijungti savo aparatinę įrangą.", + "device-library": "Įrenginių biblioteka", + "most-popular-in-iot-hub": "Populiariausi IoT Hub prekyvietėje", + "upgrade-required-title": "Būtinas ThingsBoard platformos naujinimas", + "upgrade-required-message": "Šiam elementui reikalinga ThingsBoard {{minVersion}} arba naujesnė versija. Šiuo metu naudojate {{currentVersion}}. Naujinkite savo egzempliorių, kad galėtumėte jį įdiegti.", + "upgrade-instance": "Naujinti egzempliorių", + "become-creator-text": "Pateikite savo šablonus ThingsBoard IoT Hub prekyvietei, kad jie būtų rodomi tarp rekomenduojamų, ir pristatykite savo sprendimus mūsų pasaulinei bendruomenei.", + "contribute": "Prisidėti", + "creator-profile": "Kūrėjo profilis", + "title-widgets": "Valdikliai", + "title-calculated-fields": "Apskaičiuotieji laukai", + "title-alarm-rules": "Įspėjimų taisyklės", + "title-rule-chains": "Taisyklių grandinės", + "title-devices": "Įrenginiai", + "title-solution-templates": "Sprendimų šablonai", + "subtitle-widgets": "Naršykite bendruomenės valdiklius savo skydeliams", + "subtitle-solution-templates": "Naršykite išbaigtus IoT sprendimų paketus", + "subtitle-calculated-fields": "Naršykite apskaičiuotų laukų šablonus", + "subtitle-alarm-rules": "Naršykite įspėjimų taisyklių šablonus", + "subtitle-rule-chains": "Naršykite taisyklių grandinių šablonus", + "subtitle-devices": "Naršykite įrenginių konfigūracijas", + "search-solution-templates": "Ieškokite sprendimų šablonų...", + "search-calculated-fields": "Ieškokite apskaičiuotų laukų...", + "search-alarm-rules": "Ieškokite įspėjimų taisyklių...", + "search-rule-chains": "Ieškokite taisyklių grandinių...", + "search-devices": "Ieškokite įrenginių...", + "sort-most-relevant": "Aktualiausi", + "sort-most-installed": "Dažniausiai įdiegiami", + "sort-newest": "Naujausi", + "sort-name": "Pavadinimas (A–Ž)", + "type-filter-label": "Tipas", + "verified-creators-only": "Tik patvirtinti kūrėjai", + "category": "Kategorija", + "use-case": "Naudojimo atvejis", + "vendor": "Tiekėjas", + "view-setup-guide": "Peržiūrėti sąrankos vadovą", + "hardware-type": "Aparatinės įrangos tipas", + "connectivity": "Jungiamumas", + "clear-all-filters": "Išvalyti visus filtrus", + "clear-all": "Išvalyti viską", + "results-count": "Rezultatų: {{count}}", + "unable-to-load": "Nepavyko įkelti", + "unable-to-load-text": "Įkeliant elementus įvyko klaida. Bandykite dar kartą.", + "network-server-unavailable": "Tinklas arba serveris nepasiekiamas", + "network-server-unavailable-text": "Nepavyko pasiekti katalogo. Po akimirkos bandykite dar kartą.", + "try-again": "Bandyti dar kartą", + "retry": "Kartoti", + "no-items-found": "Elementų nerasta", + "no-items-found-text": "Pabandykite pakeisti paieškos užklausą arba filtrus.", + "no-widgets-found": "Valdiklių nerasta", + "browse-tip-prefix": "Nerandate to, ko jums reikia?", + "browse-tip-link": "Naršykite IoT Hub", + "browse-tip-suffix": "ir raskite daugiau valdiklių.", + "creator": "Kūrėjas", + "manage": "Tvarkyti", + "details": "Informacija", + "become-a-creator": "Tapti kūrėju", + "back-to-iot-hub": "Grįžti į IoT Hub", + "verified-creator": "Patvirtintas kūrėjas", + "published-items": "Paskelbti elementai", + "by-creator": "autorius: {{name}}", + "installs": "įdiegimų", + "more": "daugiau", + "categories": "Kategorijos", + "use-cases": "Naudojimo atvejai", + "changelog": "Pakeitimų žurnalas", + "created-by": "Sukūrė {{name}}", + "install-confirm": "Įdiegti {{name}} v{{version}}?", + "install-confirm-title": "Įdiegti „{{name}}“?", + "install-desc": "Tai įdiegus, jūsų nuomininko aplinkoje bus automatiškai sukurti ir sukonfigūruoti reikalingi ištekliai", + "install-success-desc": "Elementas „{{name}}“ sėkmingai įdiegtas", + "remove": "Pašalinti", + "remove-confirm-title": "Pašalinti „{{name}}“?", + "remove-desc": "Pašalinus šį elementą, taip pat bus pašalintas įdiegtas subjektas ir susiję jo ištekliai jūsų nuomininko aplinkoje", + "remove-desc-solution-template": "Pašalinus šį sprendimo šabloną, taip pat bus pašalinti visi sukurti subjektai, įskaitant skydelius, taisyklių grandines, įrenginius ir kitus susijusius išteklius jūsų nuomininko aplinkoje", + "remove-anyway": "Vis tiek pašalinti", + "select-entity-for-cf": "Pasirinkti subjektą apskaičiuotam laukui „{{name}}“", + "select-entity-for-alarm-rule": "Pasirinkti subjektą įspėjimo taisyklei „{{name}}“", + "rule-chain-install-subtitle": "Įdiegus taisyklių grandinė automatiškai sukuriama jūsų nuomininko aplinkoje. Pasirinktinai galite nustatyti ją kaip numatytąją profilio taisyklių grandinę, kad to profilio subjektai būtų nukreipiami per ją.", + "rule-chain-set-as-profile-default-toggle": "Nustatyti kaip numatytąją profilio taisyklių grandinę", + "rule-chain-set-as-profile-default-tooltip": "Jei įjungta, visi pasirinkto profilio subjektai nukreips žinutes per šią taisyklių grandinę.", + "rule-chain-overwrite-title": "Pakeisti esamą numatytąją taisyklių grandinę?", + "rule-chain-overwrite-body": "Profilis {{profile}} šiuo metu naudoja {{existing}} kaip numatytąją taisyklių grandinę. Įdiegus ji bus pakeista šia taisyklių grandine.", + "rule-chain-overwrite-replace": "Pakeisti", + "install": "Įdiegti", + "open": "Atidaryti", + "built-in": "Integruotas", + "built-in-lookup-failed-title": "Nepavyko patikrinti šio komponento", + "built-in-lookup-failed-text": "Nepavyko patikrinti, ar „{{name}}“ jau yra šiame egzemplioriuje. Niekas nebuvo įdiegta – bandykite dar kartą.", + "built-in-missing-title": "Nėra šiame egzemplioriuje", + "built-in-missing-text": "„{{name}}“ paprastai pateikiamas su ThingsBoard platforma, tačiau šiame egzemplioriuje jo nėra – galbūt jį ištrynė sistemos administratorius. Vietoj to galite jį įdiegti iš IoT Hub.", + "connect": "Prijungti", + "connect-device": "Prijungti įrenginį", + "installing": "Diegiama...", + "installing-title": "Diegiama „{{name}}“", + "installed": "Įdiegta", + "install-success": "{{name}} sėkmingai įdiegtas", + "install-success-title": "Įdiegimas sėkmingas", + "install-success-message": "„{{name}}“ v{{version}} sėkmingai įdiegtas.", + "install-error": "Nepavyko įdiegti {{name}}", + "solution-install-title": "Sprendimo šablonas sėkmingai įdiegtas", + "solution-instructions": "Sprendimo instrukcijos", + "goto-main-dashboard": "Eiti į pagrindinį skydelį", + "install-error-title": "Įdiegti nepavyko", + "install-error-message": "Nepavyko įdiegti „{{name}}“.", + "install-dependency-error": "Nepavyko įdiegti priklausomybės „{{name}}“: {{error}}", + "install-plan-title": "Įdiegti „{{name}}“ ir jo priklausomybes", + "install-plan-will-install": "Bus įdiegta elementų: {{count}}.", + "install-plan-will-update": "Jau įdiegta elementų: {{count}}; jie bus praleisti.", + "install-plan-missing-warning": "Prekyvietėje nepavyko rasti privalomų elementų: {{count}}. Be jų „{{ name }}“ gali veikti ne visiškai.", + "install-plan-status-will": "Įdiegti", + "install-plan-status-installed": "Jau įdiegta", + "install-plan-status-missing": "Trūksta", + "install-plan-confirm": "Įdiegti", + "install-partial-title": "Įdiegta su perspėjimais", + "install-partial-desc": "„{{name}}“ įdiegtas, tačiau trūko kai kurių privalomų elementų.", + "install-rollback-partial": "Kai kurių prieš klaidą įdiegtų elementų nepavyko pašalinti automatiškai, todėl gali tekti juos ištrinti rankiniu būdu.", + "check-for-updates": "Tikrinti naujinimus", + "updates": "Naujinimai", + "up-to-date": "Naujausia versija", + "update": "Atnaujinti", + "update-to-version": "Atnaujinti iki v {{ version }}", + "update-item-title": "Atnaujinti elementą", + "update-confirm": "Atnaujinti „{{name}}“ iki {{version}} versijos?", + "update-confirm-title": "Atnaujinti „{{name}}“?", + "update-desc": "Atnaujinus dabartinė versija bus pakeista naujausia, o susiję ištekliai jūsų nuomininko aplinkoje bus iš naujo sukonfigūruoti", + "update-desc-solution-template": "Atnaujinus šį sprendimo šabloną, bus ištrinti ir iš naujo sukurti visi jo sukurti subjektai, įskaitant skydelius, taisyklių grandines, įrenginius ir kitus susijusius išteklius jūsų nuomininko aplinkoje. Visi jūsų juose atlikti pakeitimai bus prarasti", + "update-success-desc": "„{{name}}“ sėkmingai atnaujintas", + "updating": "Atnaujinama...", + "update-success-title": "Atnaujinta sėkmingai", + "update-success-message": "„{{name}}“ atnaujintas iki {{version}} versijos.", + "entity-modified-title": "Subjektas pakeistas", + "entity-modified-text": "{{type}}: subjektas buvo pakeistas lokaliai. Ar vis tiek norite jį atnaujinti?", + "update-error-title": "Atnaujinti nepavyko", + "update-error-message": "Nepavyko atnaujinti „{{name}}“.", + "update-error": "Nepavyko atnaujinti {{name}}", + "most-popular": "Populiariausi", + "all": "Visi", + "installed-items": "Įdiegti elementai", + "installed-items-for": "„{{name}}“ įdiegti elementai", + "search-installed-items": "Ieškokite įdiegtų elementų...", + "item-name": "Pavadinimas", + "item-type": "Tipas", + "item-version": "Versija", + "installed-date": "Įdiegta", + "no-installed-items": "Įdiegtų elementų nerasta", + "no-installed-items-text": "Pabandykite pakeisti paieškos užklausą arba filtrus.", + "remove-installed-item-title": "Pašalinti įdiegtą elementą", + "remove-installed-item-text": "Ar tikrai norite pašalinti „{{name}}“? Įdiegtas subjektas taip pat bus pašalintas.", + "installed-item-removed": "Elementas „{{name}}“ pašalintas", + "installed-item-remove-error": "Nepavyko pašalinti „{{name}}“", + "open-installed-entity": "Atidaryti įdiegtą subjektą", + "view-item-details": "Peržiūrėti elemento informaciją", + "review-device-instructions": "Peržiūrėti įrenginio instrukcijas", + "open-item-type": "Atidaryti: {{type}}", + "back-to-marketplace": "Grįžti į prekyvietę", + "device-install-select-connectivity": "Pasirinkite įrenginio prijungimo būdą", + "connection-method": "Prijungimo būdas", + "step-prerequisites": "Būtinosios sąlygos", + "step-configuration": "Konfigūracija", + "step-provisioning": "Paruošimas", + "device-install-step-error": "Nepavyko", + "device-install-step-pending": "Laukiama", + "device-install-step-running": "Kuriama...", + "device-install-step-success": "Sukurta", + "device-install-step-type-DASHBOARD": "Skydelis", + "device-install-step-type-DEVICE": "Įrenginys", + "device-install-step-type-DEVICE_PROFILE": "Įrenginio profilis", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Gateway jungtis", + "device-install-step-type-RULE_CHAIN": "Taisyklių grandinė", + "device-install-step-type-UPLINK_CONVERTER": "Uplink keitiklis", + "device-install-step-type-DOWNLINK_CONVERTER": "Downlink keitiklis", + "device-install-step-type-INTEGRATION": "Integracija", + "use-secret": "Naudoti paslaptį", + "use-plain-text": "Naudoti paprastąjį tekstą", + "device-install-conflict-exists": "{{type}} tokiu pavadinimu jau yra", + "device-install-use-existing": "Naudoti esamą", + "device-install-overwrite": "Perrašyti", + "device-install-create-copy": "Sukurti kopiją", + "device-install-resolution-created": "Sukurta", + "device-install-resolution-use-existing": "Naudota esama", + "device-install-resolution-overwrite": "Perrašyta", + "device-install-resolution-create-copy": "Sukurta kopija", + "device-install-title": "Prijungti „{{name}}“", + "device-installing-title": "Diegiama „{{name}}“", + "done": "Atlikta", + "in-progress": "Vykdoma", + "item-detail": "IoT Hub elementas", + "unpublished-warning-title": "Nepaskelbtas turinys", + "unpublished-warning-text": "Tai nepaskelbto turinio peržiūra. IoT Hub jo nepatikrino. Įdiegus nepatikrintą turinį gali kilti saugumo ir stabilumo rizikų – tęskite tik tuo atveju, jei pasitikite kūrėju.", + "unpublished-warning-confirm": "Suprantu riziką, tęsti", + "unpublished-preview": "Nepaskelbto elemento peržiūra", + "deep-link-invalid-id": "Netinkama IoT Hub elemento nuoroda.", + "deep-link-not-found": "Šio IoT Hub elemento nėra arba jis buvo pašalintas.", + "deep-link-fetch-failed": "Nepavyko įkelti IoT Hub elemento. Bandykite dar kartą.", + "export-to-iot-hub": "Eksportuoti į IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "Laiko eilutės", + "widget-type-latest": "Naujausios reikšmės", + "widget-type-rpc": "Valdymas", + "widget-type-alarm": "Įspėjimas", + "widget-type-static": "Statinis", + "cf-type-simple": "Paprastas", + "cf-type-script": "Skriptas", + "cf-type-geofencing": "Geozonos", + "cf-type-alarm": "Įspėjimas", + "cf-type-propagation": "Perdavimas", + "cf-type-related-entities-aggregation": "Susijusių subjektų agregavimas", + "cf-type-entity-aggregation": "Subjektų agregavimas", + "rule-chain-type-core": "Pagrindinė", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Praturtinimas", + "node-type-filter": "Filtras", + "node-type-transformation": "Transformavimas", + "node-type-action": "Veiksmas", + "node-type-analytics": "Analitika", + "node-type-external": "Išorinis", + "node-type-flow": "Srautas", + "node-type-unknown": "Nežinomas" }, "js-func": { "no-return-error": "Funkcija privalo grąžinti reikšmę!", - "return-type-mismatch": "Funkcijos grąžinama reikšmė privalo būti '{{type}}' tipo!", + "return-type-mismatch": "Funkcijos grąžinama reikšmė privalo būti „{{type}}“ tipo!", "tidy": "Sutvarkyti", - "mini": "Sumažinti", + "mini": "Suglaudinti", "modules": "Moduliai", "remove-module": "Pašalinti modulį", "no-modules": "Modulių nesukonfigūruota", "add-module": "Pridėti modulį", "module-alias": "Pseudonimas", "invalid-module-alias-name": "Neteisingas pseudonimo pavadinimas", - "module-resource": "JS modulio šaltinis", + "module-resource": "JS modulio išteklius", "not-unique-module-aliases-error": "Modulių pseudonimai turi būti unikalūs!", "show-module-info": "Rodyti modulio informaciją", "show-module-source-code": "Rodyti modulio pirminį kodą", @@ -4941,24 +6609,26 @@ "source-code": "Pirminis kodas", "source-code-load-error": "Pirminio kodo įkėlimo klaida", "no-js-module-text": "JS modulių nerasta", - "no-js-module-matching": "Nerasta JS modulių, atitinkančių '{{module}}'." + "no-js-module-matching": "Nerasta JS modulių, atitinkančių „{{module}}“." }, "key-val": { "key": "Raktas", "value": "Reikšmė", - "remove-entry": "Panaiknti įrašą", + "remove-entry": "Pašalinti įrašą", "add-entry": "Pridėti įrašą", "no-data": "Įrašų nėra" }, "layout": { - "layout": "Maketas", + "switch-to-html-page-title": "Perjungti į HTML puslapį?", + "switch-to-html-page-text": "HTML puslapis pakeičia šios būsenos valdiklių tinklelį. { count, plural, one {# valdiklis, esantis jos maketuose, bus pašalintas iš šios būsenos.} few {# valdikliai, esantys jos maketuose, bus pašalinti iš šios būsenos.} other {# valdiklių, esančių jos maketuose, bus pašalinta iš šios būsenos.} }", + "layout": "Išdėstymas", "layouts": "Maketai", "manage": "Valdyti maketus", "settings": "Maketų nustatymai", "color": "Spalva", "main": "Pagrindinis", - "right": "Į dešinę", - "left": "Į kairę", + "right": "Dešinysis", + "left": "Kairysis", "select": "Pasirinkti maketą", "percentage-width": "Procentinis plotis (%)", "fixed-width": "Fiksuotas plotis (px)", @@ -4966,11 +6636,11 @@ "right-width": "Dešinysis stulpelis (%)", "pick-fixed-side": "Fiksuota pusė: ", "layout-fixed-width": "Fiksuotas plotis (px)", - "value-min-error": "Reikšmė turi būti dedesnė nei {{min}}{{unit}}", + "value-min-error": "Reikšmė turi būti didesnė nei {{min}}{{unit}}", "value-max-error": "Reikšmė turi būti mažesnė nei {{max}}{{unit}}", - "layout-fixed-width-required": "Fiksuotas plotis būtinas", - "right-width-percentage-required": "Dešinės pusės procentas būtinas", - "left-width-percentage-required": "kairės pusės procentas būtinas", + "layout-fixed-width-required": "Fiksuotas plotis yra privalomas", + "right-width-percentage-required": "Dešinės pusės procentas yra privalomas", + "left-width-percentage-required": "Kairės pusės procentas yra privalomas", "divider": "Daliklis", "right-side": "Dešinės pusės maketas", "left-side": "Kairės pusės maketas", @@ -4979,35 +6649,35 @@ "breakpoints": "Pertraukos taškai", "copy-from": "Kopijuoti iš", "size": "Dydis", - "delete-breakpoint-title": "Ar tikrai norite ištrinti pertraukos tašką '{{name}}'?", + "delete-breakpoint-title": "Ar tikrai norite ištrinti pertraukos tašką „{{name}}“?", "delete-breakpoint-text": "Atkreipkite dėmesį, kad po patvirtinimo pertraukos taškas bus negrįžtamai pašalintas, o nustatymai bus atkurti pagal numatytąjį pertraukos tašką." }, "legend": { "direction": "Elementų išdėstymo kryptis", - "position": "Legendos pozicija", + "position": "Legendos padėtis", "show-values": "Rodyti reikšmes", - "min-option": "Min", - "max-option": "Max", + "min-option": "Min.", + "max-option": "Maks.", "average-option": "Vidurkis", - "total-option": "Viso", - "latest-option": "Naujausi", - "sort-legend": "Legendoje rodyti duomenų raktus", - "show-max": "Rodyti didžiausią reišmę", + "total-option": "Iš viso", + "latest-option": "Naujausia", + "sort-legend": "Rūšiuoti duomenų raktus legendoje", + "show-max": "Rodyti didžiausią reikšmę", "show-min": "Rodyti mažiausią reikšmę", "show-avg": "Rodyti vidutinę reikšmę", - "show-total": "Rodyti suminę rekšmę", + "show-total": "Rodyti suminę reikšmę", "show-latest": "Rodyti naujausią reikšmę", "settings": "Legendos nustatymai", - "min": "Min", - "max": "Max", + "min": "Min.", + "max": "Maks.", "avg": "Vidurkis", - "total": "Viso", + "total": "Iš viso", "latest": "Naujausia", - "Min": "Min", - "Max": "Max", + "Min": "Min.", + "Max": "Maks.", "Avg": "Vid.", - "Total": "Viso", - "Latest": "Vėliausia", + "Total": "Iš viso", + "Latest": "Naujausia", "comparison-time-ago": { "previousInterval": "(ankstesnis intervalas)", "customInterval": "(pasirinktinis intervalas)", @@ -5028,10 +6698,11 @@ "two-factor-authentication": "Dviejų veiksnių autentifikavimas", "passwords-mismatch-error": "Įvesti slaptažodžiai turi sutapti!", "password-again": "Pakartokite slaptažodį", - "username": "Vartotojo vardas (el. paštas)", + "sign-in": "Prisijungti", + "username": "Naudotojo vardas (el. paštas)", "remember-me": "Prisiminti mane", "forgot-password": "Pamiršote slaptažodį?", - "password-reset": "Slaptažodis atstatytas", + "password-reset": "Slaptažodžio atstatymas", "expired-password-reset-message": "Jūsų slaptažodžio galiojimas baigėsi! Nustatykite naują slaptažodį.", "new-password": "Naujas slaptažodis", "new-password-again": "Pakartokite naują slaptažodį", @@ -5040,17 +6711,18 @@ "invalid-email-format": "Neteisingas el. pašto formatas.", "no-account": "Neturite paskyros?", "create-account": "Sukurti paskyrą", - "login-with": "Prisijungti kaip {{name}}", + "sign-in-with": "Prisijungti naudojant {{name}}", + "sign-in-to-your-account": "Prisijunkite prie savo paskyros", "or": "arba", "error": "Prisijungimo klaida", "verify-your-identity": "Patvirtinkite savo tapatybę", "select-way-to-verify": "Pasirinkite tapatybės patvirtinimo būdą", "resend-code": "Siųsti kodą iš naujo", - "resend-code-wait": "Galima siųsti iš naujo po { time, plural, =1 {1 sekundės} other {# sekundžių} }", + "resend-code-wait": "Galima siųsti iš naujo po { time, plural, =1 {1 sekundės} one {# sekundės} few {# sekundžių} other {# sekundžių} }", "try-another-way": "Bandykite kitu būdu", "totp-auth-description": "Įveskite saugos kodą iš autentifikavimo programėlės.", "totp-auth-placeholder": "Kodas", - "sms-auth-description": "Saugos kodas išsiųstas į jūsų telefoną adresu {{contact}}.", + "sms-auth-description": "Saugos kodas išsiųstas į jūsų telefoną numeriu {{contact}}.", "sms-auth-placeholder": "SMS kodas", "email-auth-description": "Saugos kodas išsiųstas į jūsų el. paštą adresu {{contact}}.", "email-auth-placeholder": "El. pašto kodas", @@ -5060,7 +6732,51 @@ "activation-link-expired": "Aktyvavimo nuorodos galiojimas baigėsi", "activation-link-expired-message": "Profilio aktyvavimo nuoroda nebegalioja. Galite grįžti į prisijungimo puslapį ir gauti naują el. laišką.", "reset-password-link-expired": "Slaptažodžio atstatymo nuoroda nebegalioja", - "reset-password-link-expired-message": "Slaptažodžio atstatymo nuoroda nebegalioja. Galite grįžti į prisijungimo puslapį ir gauti naują el. laišką." + "reset-password-link-expired-message": "Slaptažodžio atstatymo nuoroda nebegalioja. Galite grįžti į prisijungimo puslapį ir gauti naują el. laišką.", + "two-fa": "Dviejų veiksnių autentifikavimas", + "two-fa-required": "Dviejų veiksnių autentifikavimas yra privalomas", + "set-up-verification-method": "Norėdami tęsti, nustatykite patvirtinimo būdą", + "set-up-verification-method-login": "Nustatykite patvirtinimo būdą arba prisijunkite", + "enable-authenticator-app": "Įjungti autentifikavimo programėlę", + "enable-authenticator-app-description": "Įveskite saugos kodą iš savo autentifikavimo programėlės", + "enable-authenticator-sms": "Įjungti SMS autentifikatorių", + "enable-authenticator-sms-description": "Įveskite 6 skaitmenų kodą, kurį ką tik išsiuntėme numeriu ", + "enable-authenticator-email": "Įjungti el. pašto autentifikatorių", + "enable-authenticator-email-description": "Saugos kodas išsiųstas jūsų el. pašto adresu ", + "enter-key-manually": "arba įveskite šį 32 simbolių raktą rankiniu būdu:", + "continue": "Tęsti", + "confirm": "Patvirtinti", + "authenticator-app-success": "Autentifikavimo programėlė sėkmingai įjungta", + "authenticator-app-success-description": "Kitą kartą prisijungdami turėsite pateikti dviejų veiksnių autentifikavimo kodą", + "authenticator-sms-success": "SMS autentifikatorius sėkmingai įjungtas", + "authenticator-sms-success-description": "Kai kitą kartą prisijungsite, būsite paprašyti įvesti saugos kodą, kuris bus išsiųstas į telefono numerį", + "authenticator-email-success": "El. pašto autentifikatorius sėkmingai įjungtas", + "authenticator-email-success-description": "Kai kitą kartą prisijungsite, būsite paprašyti įvesti saugos kodą, kuris bus išsiųstas į jūsų el. pašto adresą", + "authenticator-backup-code-success": "Atsarginis kodas sėkmingai įjungtas", + "authenticator-backup-code-success-description": "Kai kitą kartą prisijungsite, būsite paprašyti įvesti saugos kodą arba panaudoti vieną iš atsarginių kodų.", + "add-verification-method": "Pridėti patvirtinimo būdą", + "get-backup-code": "Gauti atsarginį kodą", + "copy-key": "Kopijuoti raktą", + "send-code": "Siųsti kodą", + "email-label": "El. paštas", + "email-description": "Įveskite el. pašto adresą, kurį naudosite kaip autentifikatorių.", + "sms-description": "Įveskite telefono numerį, kurį naudosite kaip autentifikatorių.", + "backup-code-description": "Atsispausdinkite kodus, kad jie būtų po ranka, kai prireiks jais prisijungti prie savo paskyros. Kiekvieną atsarginį kodą galite naudoti vieną kartą.", + "backup-code-warn": "Kai išeisite iš šio puslapio, šių kodų nebebus galima parodyti dar kartą. Išsaugokite juos saugioje vietoje naudodami toliau pateiktas parinktis.", + "download-txt": "Atsisiųsti (txt)", + "print": "Spausdinti", + "verification-code": "6 skaitmenų kodas", + "verification-code-invalid": "Neteisingas patvirtinimo kodo formatas", + "verification-code-incorrect": "Neteisingas patvirtinimo kodas", + "verification-code-many-request": "Per daug patvirtinimo kodo tikrinimo užklausų", + "scan-qr-code": "Nuskaitykite šį QR kodą naudodami autentifikavimo programėlę", + "phone-input": { + "phone-input-label": "Telefono numeris", + "phone-input-required": "Telefono numeris yra privalomas", + "phone-input-validation": "Telefono numeris neteisingas arba negalimas", + "phone-input-pattern": "Neteisingas telefono numeris. Turi būti E.164 formato, pvz., {{phoneNumber}}", + "phone-input-hint": "Telefono numeris E.164 formatu, pvz., {{phoneNumber}}" + } }, "signup": { "firstname": "Vardas", @@ -5074,34 +6790,40 @@ "no-captcha-message": "Turite patvirtinti, jog nesate robotas", "password-length-message": "Slaptažodis turi būti ne trumpesnis nei 6 simboliai", "email-verification": "El. pašto adreso patvirtinimas", - "email-verification-message": "El. laiškas su patvirtinimo informacija išsiųstas nurodytu el. pašto adresu.
Sekite laiške pateiktas instrukcijas ir atlikite prisijungimui reikalingus veiksmus.
Pastaba: Jei nematote el. laiško, patikrinkite 'Šlamšto' katalogą arba paspauskite 'Siųsti dar kartą', kad išsiųstumėte laišką iš naujo.", + "email-verification-message": "El. laiškas su patvirtinimo informacija išsiųstas nurodytu el. pašto adresu.
Vykdykite laiške pateiktas instrukcijas, kad užbaigtumėte registraciją.
Pastaba: jei el. laiško vis dar negavote, patikrinkite šlamšto aplanką arba spustelėkite „Siųsti dar kartą“, kad laiškas būtų išsiųstas iš naujo.", "account-activation-title": "Paskyros aktyvavimas", "account-activated": "Paskyra aktyvuota!", "account-activated-text": "Sveikiname!
Jūsų paskyra sėkmingai aktyvuota.", "resend": "Siųsti dar kartą", - "inactive-user-exists-title": "Neaktyvuotas vartotojas jau egzistuoja", - "inactive-user-exists-text": "Vartotojas su šiuo el. pašto adresu jau yra užregistruotas, tačiau adresas dar nepatvirtintas.
Paspauskite 'Siųsti dar kartą', jei norite išsiųsti patvirtinimo laišką iš naujo.", + "inactive-user-exists-title": "Neaktyvuotas naudotojas jau egzistuoja", + "inactive-user-exists-text": "Naudotojas su šiuo el. pašto adresu jau yra užregistruotas, tačiau adresas dar nepatvirtintas.
Spustelėkite „Siųsti dar kartą“, jei norite išsiųsti patvirtinimo laišką iš naujo.", "activating-account": "Paskyros aktyvavimas...", "activating-account-text": "Jūsų paskyra aktyvuojama. Prašome palaukti...", "accept-privacy-policy": "Sutikti su privatumo politika", "accept": "Sutikti", + "and": "ir", "privacy-policy": "Privatumo politika", "terms-of-use": "Naudojimo sąlygos", "recaptcha-title": "reCAPTCHA", - "accept-privacy-policy-message": "Turite sutikti su mūsų Privatumo politika", - "accept-terms-of-use-message": "Turite sutikti su mūsų Naudojimo sąlygomis" + "accept-privacy-policy-message": "Turite sutikti su mūsų privatumo politika", + "accept-terms-of-use-message": "Turite sutikti su mūsų naudojimo sąlygomis", + "accept-privacy-policy-and-terms-of-use-message": "Turite sutikti su mūsų privatumo politika ir naudojimo sąlygomis", + "firstname-max-length": "Vardas turi būti trumpesnis nei 256 simboliai", + "lastname-max-length": "Pavardė turi būti trumpesnė nei 256 simboliai", + "firstname-required": "Vardas yra privalomas", + "lastname-required": "Pavardė yra privaloma" }, "mobile": { "add-application": "Pridėti programėlę", "app-id": "Programėlės svetainės asociacijos ID", - "app-id-required": "Programėlės svetainės asociacijos ID yra būtinas", + "app-id-required": "Programėlės svetainės asociacijos ID yra privalomas", "app-id-pattern": "Neteisingas programėlės svetainės asociacijos ID formatas", "app-store-link": "App Store nuoroda", - "app-store-link-required": "App Store nuoroda yra būtina", + "app-store-link-required": "App Store nuoroda yra privaloma", "application-details": "Programėlės informacija", "application-package": "Programėlės paketas", "application-secret": "Programėlės slaptas raktas", - "application-secret-required": "Programėlės slaptas raktas yra būtinas", + "application-secret-required": "Programėlės slaptas raktas yra privalomas", "application": "Programėlė", "applications": "Programėlės", "copy-app-id": "Kopijuoti programėlės ID", @@ -5112,33 +6834,34 @@ "copy-sha256-certificate-fingerprints": "Kopijuoti SHA256 sertifikato atspaudus", "delete-application": "Ištrinti programėlę", "delete-application-button-text": "Suprantu pasekmes, ištrinti programėlę", - "delete-application-text": "Šio veiksmo atšaukti nebus galima. Tai visam laikui ištrins jūsų programėlę.
Jei nenorite jos ištrinti visam laikui, galite laikinai ją sustabdyti.
Norėdami vis tiek ištrinti programėlę, įveskite patvirtinimo frazę \"{{phrase}}\".", - "delete-application-title-short": "Ar tikrai norite ištrinti programėlę '{{name}}'?", + "delete-application-text": "Šio veiksmo atšaukti nebus galima. Tai visam laikui ištrins jūsų programėlę.
Jei nenorite jos ištrinti visam laikui, galite laikinai ją sustabdyti.
Norėdami vis tiek ištrinti programėlę, įveskite patvirtinimo frazę „{{phrase}}“.", + "delete-application-title-short": "Ar tikrai norite ištrinti programėlę „{{name}}“?", "delete-application-text-short": "Būkite atsargūs – po patvirtinimo programėlė ir visi susiję duomenys bus negrįžtamai pašalinti.", "delete-application-phrase": "ištrinti programėlę", "delete-applications-bundle-text": "Būkite atsargūs – po patvirtinimo mobilusis paketas ir visi susiję duomenys bus negrįžtamai pašalinti.", - "delete-applications-bundle-title": "Ar tikrai norite ištrinti mobilųjį paketą '{{bundleName}}'?", + "delete-applications-bundle-title": "Ar tikrai norite ištrinti mobilųjį paketą „{{bundleName}}“?", "generate-application-secret": "Generuoti programėlės slaptą raktą", "google-play-link": "Google Play nuoroda", - "google-play-link-required": "Google Play nuoroda yra būtina", + "google-play-link-required": "Google Play nuoroda yra privaloma", "latest-version": "Naujausia versija", "min-version": "Minimali versija", "invalid-version-pattern": "Neteisingas versijos formatas. Naudokite formatą: major.minor.patch (pvz., 1.0.0).", "mobile-center": "Mobilusis centras", + "mobile-apps": "Mobiliosios programėlės", "mobile-package": "Programėlės paketas", - "mobile-package-max-length": "Programėlės pavadinimas turi būti trumpesnis nei 256 simboliai", - "mobile-package-required": "Programėlės paketas yra būtinas", + "mobile-package-max-length": "Programėlės paketas turi būti trumpesnis nei 256 simboliai", + "mobile-package-required": "Programėlės paketas yra privalomas.", "mobile-package-pattern": "Neteisingas programėlės paketo formatas", "mobile-package-title": "Programėlės pavadinimas", "mobile-package-title-max-length": "Programėlės pavadinimas turi būti trumpesnis nei 256 simboliai", "no-application": "Programėlių nerasta", "no-bundles": "Paketų nerasta", "platform-type": "Platformos tipas", - "search-application": "Ieškoti programėlių", - "search-bundles": "Ieškoti paketų", + "search-application": "Ieškokite programėlių", + "search-bundles": "Ieškokite paketų", "set": "Nustatyti", "sha256-certificate-fingerprints": "SHA256 sertifikato atspaudai", - "sha256-certificate-fingerprints-required": "SHA256 sertifikato atspaudai yra būtini", + "sha256-certificate-fingerprints-required": "SHA256 sertifikato atspaudai yra privalomi", "sha256-certificate-fingerprints-pattern": "Neteisingas SHA256 sertifikato atspaudo formatas", "show-hidden-pages": "Rodyti paslėptus puslapius", "status": "Būsena", @@ -5156,25 +6879,25 @@ "bundles": "Paketai", "add-bundle": "Pridėti paketą", "title": "Pavadinimas", - "title-required": "Pavadinimas būtinas", + "title-required": "Pavadinimas yra privalomas", "title-cannot-contain-only-spaces": "Pavadinimas negali būti tik iš tarpų", "title-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "oauth-clients": "OAuth 2.0 klientai", - "android-app": "Android programa", - "android-application": "Android aplikacija", - "ios-app": "iOS programa", - "ios-application": "iOS aplikacija", + "android-app": "Android programėlė", + "android-application": "Android programėlė", + "ios-app": "iOS programėlė", + "ios-application": "iOS programėlė", "invalid-store-link": "Neteisinga parduotuvės nuoroda", "enable-oauth": "Įjungti OAuth 2.0", - "enable-self-registration": "Įjungti savarankišką registraciją", + "enable-self-registration": "Įjungti saviregistraciją", "edit-bundle": "Redaguoti paketą", "description": "Aprašymas", "basic-settings": "Pagrindiniai nustatymai", - "no-application-matching": "Nerasta programų, atitinkančių '{{entity}}'.", - "no-bundle-matching": "Nerasta paketų, atitinkančių '{{entity}}'.", - "application-required": "Programa būtina.", - "bundle-required": "Paketas būtinas.", - "no-application-text": "Programų nerasta", + "no-application-matching": "Nerasta programėlių, atitinkančių „{{entity}}“.", + "no-bundle-matching": "Nerasta paketų, atitinkančių „{{entity}}“.", + "application-required": "Programėlė yra privaloma.", + "bundle-required": "Paketas yra privalomas.", + "no-application-text": "Programėlių nerasta", "no-bundle-text": "Paketų nerasta", "layout": "Išdėstymas", "pages": "Puslapiai", @@ -5188,12 +6911,12 @@ "tablet-959": "Planšetė (maks. 959px)", "max-element-number": "Maksimalus elementų skaičius", "page-name": "Puslapio pavadinimas", - "page-name-required": "Puslapio pavadinimas būtinas.", + "page-name-required": "Puslapio pavadinimas yra privalomas.", "page-name-cannot-contain-only-spaces": "Puslapio pavadinimas negali būti tik iš tarpų.", "page-name-max-length": "Puslapio pavadinimas turi būti trumpesnis nei 256 simboliai", "page-type": "Puslapio tipas", "pages-types": { - "dashboard": "Valdymo skydas", + "dashboard": "Skydelis", "web-view": "Žiniatinklio peržiūra", "custom": "Pasirinktinis" }, @@ -5203,22 +6926,22 @@ "invalid-path-format": "Neteisingas kelio formatas", "custom-page": "Pasirinktinis puslapis", "edit-page": "Redaguoti puslapį", - "edit-custom-page": "Redaguoti pasirinktą puslapį", + "edit-custom-page": "Redaguoti pasirinktinį puslapį", "delete-page": "Ištrinti puslapį", "qr-code-widget": "QR kodo valdiklis", "type-here": "Įveskite čia", "configuration-dialog": "Konfigūracijos dialogas", - "configuration-app": "Konfigūracijos programa", + "configuration-app": "Programėlės konfigūravimas", "configuration-step": { "prepare-environment-title": "Paruošti kūrimo aplinką", - "prepare-environment-text": "Flutter ThingsBoard mobiliajai programai reikalingas Flutter SDK. Vadovaukitės instrukcijomis, kad nustatytumėte Flutter SDK.", - "get-source-code-title": "Gauti programos išeities kodą", - "get-source-code-text": "Galite gauti Flutter ThingsBoard mobiliosios programos išeities kodą, klonuodami jį iš GitHub saugyklos:", - "configure-app-settings-title": "Sukonfigūruoti programos nustatymus", + "prepare-environment-text": "Flutter ThingsBoard mobiliajai programėlei reikalingas Flutter SDK. Vadovaukitės instrukcijomis, kad nustatytumėte Flutter SDK.", + "get-source-code-title": "Gauti programėlės išeities kodą", + "get-source-code-text": "Galite gauti Flutter ThingsBoard mobiliosios programėlės išeities kodą, klonuodami jį iš GitHub saugyklos:", + "configure-app-settings-title": "Sukonfigūruoti programėlės nustatymus", "configure-app-settings-text": "Atsisiųskite konfigūracijos failą ir įdėkite jį į projekto, kurį klonavote ankstesniame žingsnyje, šakninį katalogą.", "download-file": "Atsisiųsti failą", - "run-app-title": "Paleisti programą", - "run-app-text": "Paleiskite programą kaip aprašyta jūsų IDE.\nJei naudojate terminalą, paleiskite programą naudodami šią komandą:", + "run-app-title": "Paleisti programėlę", + "run-app-text": "Paleiskite programėlę, kaip aprašyta jūsų IDE.\nJei naudojate terminalą, paleiskite programėlę šia komanda:", "more-information": "Išsami informacija pateikta mūsų „Pradžios vadove“.", "getting-started": "Pradžios vadovas" }, @@ -5230,11 +6953,11 @@ "customer-title-prefix": "Kliento pavadinimo priešdėlis", "field-type": "Lauko tipas", "label": "Etiketė", - "no-customer-groups-matching": "Nerasta klientų grupių, atitinkančių '{{entityGroup}}'.", + "no-customer-groups-matching": "Nerasta klientų grupių, atitinkančių „{{entityGroup}}“.", "page-title": "Puslapio pavadinimas", "page-title-required": "Puslapio pavadinimas yra privalomas.", - "page-title-cannot-contain-only-spaces": "Puslapio pavadinimas negali būti sudarytas tik iš tarpų.", - "page-title-max-length": "Puslapio pavadinimas turi būti trumpesnis nei 256 simboliai.", + "page-title-cannot-contain-only-spaces": "Puslapio pavadinimas negali būti sudarytas tik iš tarpų", + "page-title-max-length": "Puslapio pavadinimas turi būti trumpesnis nei 256 simboliai", "redirect-settings": "Peradresavimo nustatymai", "registration-form-field": "Registracijos formos laukai", "remove-registration-field": "Pašalinti registracijos lauką", @@ -5244,10 +6967,13 @@ "reset-self-registration-text": "Būkite atsargūs – po patvirtinimo visi nustatymai bus prarasti ir jų nebus galima atkurti." } }, + "monitor": { + "monitor": "Stebėsena" + }, "notification": { "ai-assistant-initial-prompt-placeholder": "Apibūdinkite, ką norite nustatyti...", "ai-assistant-example-explain-label": "Kaip veikia pranešimai", - "ai-assistant-example-explain-message": "Paaiškink, kaip pranešimai veikia ThingsBoard.", + "ai-assistant-example-explain-message": "Paaiškink, kaip ThingsBoard platformoje veikia pranešimai.", "ai-assistant-example-inactivity-label": "El. laiškas apie neprisijungusį įrenginį", "ai-assistant-example-inactivity-message": "Sukurk pranešimų taisyklę, kuri atsiunčia man el. laišką, kai vienas iš mano įrenginių tampa neaktyvus.", "action-button": "Veiksmo mygtukas", @@ -5261,21 +6987,21 @@ "add-stage": "Pridėti etapą", "add-template": "Pridėti šabloną", "after": "Po", - "alarm-assignment-trigger-settings": "Aliarmo priskyrimo trigerio nustatymai", - "alarm-comment-trigger-settings": "Aliarmo komentaro trigerio nustatymai", - "alarm-trigger-settings": "Aliarmo trigerio nustatymai", + "alarm-assignment-trigger-settings": "Įspėjimo priskyrimo trigerio nustatymai", + "alarm-comment-trigger-settings": "Įspėjimo komentaro trigerio nustatymai", + "alarm-trigger-settings": "Įspėjimo trigerio nustatymai", "all": "Visi", "api-feature-hint": "Jei laukas tuščias, trigeris bus taikomas visoms API funkcijoms", "api-usage-trigger-settings": "API naudojimo trigerio nustatymai", "new-platform-version-trigger-settings": "Naujos platformos versijos trigerio nustatymai", - "rate-limits-trigger-settings": "Viršytų užklausų ribų trigerio nustatymai", + "rate-limits-trigger-settings": "Viršytų dažnio limitų trigerio nustatymai", "task-processing-failure-trigger-settings": "Užduočių apdorojimo klaidų trigerio nustatymai", "resources-shortage-trigger-settings": "Išteklių trūkumo trigerio nustatymai", "at-least-one-should-be-selected": "Reikia pasirinkti bent vieną", "basic-settings": "Pagrindiniai nustatymai", "button-text": "Mygtuko tekstas", "button-text-required": "Mygtuko tekstas yra privalomas", - "button-text-max-length": "Mygtuko tekstas turi būti trumpesnis nei {{ length }} simbolių", + "button-text-max-length": "Mygtuko teksto ilgis neturi viršyti {{ length }} simb.", "compose": "Sukurti", "conversation": "Pokalbis", "conversation-required": "Pokalbis yra privalomas", @@ -5289,23 +7015,23 @@ "delete-notification-text": "Būkite atsargūs – po patvirtinimo pranešimas taps neatstatomas.", "delete-notification-title": "Ar tikrai norite ištrinti pranešimą?", "delete-notifications-text": "Būkite atsargūs – po patvirtinimo pranešimai taps neatstatomi.", - "delete-notifications-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 pranešimą} other {# pranešimus} }?", + "delete-notifications-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 pranešimą} one {# pranešimą} few {# pranešimus} other {# pranešimų} }?", "delete-recipient-text": "Būkite atsargūs – po patvirtinimo gavėjas taps neatstatomas.", - "delete-recipient-title": "Ar tikrai norite ištrinti gavėją '{{recipientName}}'?", + "delete-recipient-title": "Ar tikrai norite ištrinti gavėją „{{recipientName}}“?", "delete-recipients-text": "Būkite atsargūs – po patvirtinimo gavėjai taps neatstatomi.", - "delete-recipients-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 gavėją} other {# gavėjus} }?", + "delete-recipients-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 gavėją} one {# gavėją} few {# gavėjus} other {# gavėjų} }?", "delete-request-text": "Būkite atsargūs – po patvirtinimo užklausa taps neatstatoma.", "delete-request-title": "Ar tikrai norite ištrinti užklausą?", "delete-requests-text": "Būkite atsargūs – po patvirtinimo užklausos taps neatstatomos.", - "delete-requests-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 užklausą} other {# užklausas} }?", + "delete-requests-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 užklausą} one {# užklausą} few {# užklausas} other {# užklausų} }?", "delete-rule-text": "Būkite atsargūs – po patvirtinimo taisyklė taps neatstatoma.", - "delete-rule-title": "Ar tikrai norite ištrinti taisyklę '{{ruleName}}'?", + "delete-rule-title": "Ar tikrai norite ištrinti taisyklę „{{ruleName}}“?", "delete-rules-text": "Būkite atsargūs – po patvirtinimo taisyklės taps neatstatomos.", - "delete-rules-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 taisyklę} other {# taisykles} }?", + "delete-rules-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 taisyklę} one {# taisyklę} few {# taisykles} other {# taisyklių} }?", "delete-template-text": "Būkite atsargūs – po patvirtinimo šablonas taps neatstatomas.", - "delete-template-title": "Ar tikrai norite ištrinti šabloną '{{templateName}}'?", + "delete-template-title": "Ar tikrai norite ištrinti šabloną „{{templateName}}“?", "delete-templates-text": "Būkite atsargūs – po patvirtinimo šablonai taps neatstatomi.", - "delete-templates-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 šabloną} other {# šablonus} }?", + "delete-templates-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 šabloną} one {# šabloną} few {# šablonus} other {# šablonų} }?", "deleted": "Ištrinta", "delivery-method": { "delivery-method": "Pristatymo būdas", @@ -5326,25 +7052,25 @@ "delivery-method-not-configure-contact": "Pristatymo būdas nesukonfigūruotas. Susisiekite su sistemos administratoriumi.", "delivery-methods": "Pristatymo būdai", "attach-report": "Pridėti ataskaitą", - "attach-report-hint": "Sukurti ir pridėti ataskaitos failą prie el. laiško arba Slack žinutės. Šiuo metu palaikoma tik 'El. paštas' ir 'Slack' pristatymo būdams.", + "attach-report-hint": "Sukuriamas ataskaitos failas ir pridedamas prie el. laiško arba Slack žinutės. Šiuo metu tai veikia tik su pristatymo būdais „El. paštas“ ir „Slack“.", "description": "Aprašymas", "device-activity-trigger-settings": "Įrenginio aktyvumo trigerio nustatymai", "device-list-rule-hint": "Jei laukas tuščias, trigeris bus taikomas visiems įrenginiams", "device-profiles-list-rule-hint": "Jei laukas tuščias, trigeris bus taikomas visiems įrenginių profiliams", "disabled": "Išjungta", "edge-trigger-settings": "Edge trigerio nustatymai", - "edge-list-rule-hint": "Jei laukas tuščias, trigeris bus taikomas visoms Edge instancijoms", + "edge-list-rule-hint": "Jei laukas tuščias, trigeris bus taikomas visiems Edge egzemplioriams", "edit-notification-recipients-group": "Redaguoti pranešimų gavėjų grupę", "edit-notification-template": "Redaguoti pranešimo šabloną", "edit-rule": "Redaguoti taisyklę", "edit-template": "Redaguoti šabloną", "enabled": "Įjungta", - "entities-limit-trigger-settings": "Objektų limito trigerio nustatymai", - "entity-action-trigger-settings": "Objekto veiksmo trigerio nustatymai", - "entity-type": "Objekto tipas", + "entities-limit-trigger-settings": "Subjektų limito trigerio nustatymai", + "entity-action-trigger-settings": "Subjekto veiksmo trigerio nustatymai", + "entity-type": "Subjekto tipas", "escalation-chain": "Eskalacijos grandinė", "failed-send": "Siuntimo klaidos", - "fails": "{ count, plural, =1 {1 klaida} other {# klaidos} }", + "fails": "{ count, plural, =1 {1 klaida} one {# klaida} few {# klaidos} other {# klaidų} }", "filter": "Filtras", "first-recipient": "Pirmasis gavėjas", "inactive": "Neaktyvus", @@ -5356,9 +7082,9 @@ "integration-list-rule-hint": "Jei laukas tuščias, trigeris bus taikomas visoms integracijoms", "link": "Nuoroda", "link-required": "Nuoroda yra privaloma", - "link-max-length": "Nuoroda turi būti ne ilgesnė kaip {{ length }} simbolių", + "link-max-length": "Nuoroda turi būti ne ilgesnė kaip {{ length }} simb.", "link-type": { - "dashboard": "Atidaryti valdymo skydą", + "dashboard": "Atidaryti skydelį", "link": "Atidaryti URL nuorodą" }, "loading-notifications": "Įkeliami pranešimai...", @@ -5367,7 +7093,7 @@ "mark-as-read": "Pažymėti kaip skaitytą", "message": "Žinutė", "message-required": "Žinutė yra privaloma", - "message-max-length": "Žinutė turi būti ne ilgesnė kaip {{ length }} simbolių", + "message-max-length": "Žinutė turi būti ne ilgesnė kaip {{ length }} simb.", "name": "Pavadinimas", "name-required": "Pavadinimas yra privalomas", "new-notification": "Naujas pranešimas", @@ -5376,61 +7102,62 @@ "no-notification-templates": "Pranešimų šablonų nerasta", "no-notifications-yet": "Kol kas pranešimų nėra", "no-recipients-notification": "Nėra pranešimo gavėjų", - "no-recipients-matching": "Gavėjų atitinkančių '{{entity}}' nerasta.", + "no-recipients-matching": "Gavėjų, atitinkančių „{{entity}}“, nerasta.", "no-recipients-text": "Gavėjų nerasta", "no-rule": "Nėra sukonfigūruotos taisyklės", "no-rules-notification": "Nėra pranešimų taisyklių", - "no-severity-found": "Prioritetų nerasta", - "no-severity-matching": "Prioritetas '{{severity}}' nerastas.", - "no-template-matching": "Resurso, atitinkančio '{{template}}', nerasta.", + "no-severity-found": "Svarbos lygių nerasta", + "no-severity-matching": "Svarba „{{severity}}“ nerasta.", + "no-template-matching": "Šablonų, atitinkančių „{{template}}“, nerasta.", "create-new-template": "Sukurti naują!", "not-found-slack-recipient": "Slack gavėjas nerastas", "notification": "Pranešimas", + "notifications": "Pranešimai", "notification-center": "Pranešimų centras", "notification-tap-action": "Veiksmas paspaudus pranešimą", - "notification-tap-action-hint": "Jei neįjungta, bus naudojamas numatytasis aliarmo prietaisų skydas", + "notification-tap-action-hint": "Jei neįjungta, bus naudojamas numatytasis įspėjimų skydelis", "notify": "Pranešti", "notify-again": "Pranešti dar kartą", "notify-alarm-action": { - "acknowledged": "Aliarmas patvirtintas", - "assigned": "Aliarmas priskirtas", - "cleared": "Aliarmas išvalytas", - "created": "Aliarmas sukurtas", - "severity-changed": "Aliarmo prioritetas pakeistas", - "unassigned": "Aliarmas nepriskirtas" + "acknowledged": "Įspėjimas patvirtintas", + "assigned": "Įspėjimas priskirtas", + "cleared": "Įspėjimas išvalytas", + "created": "Įspėjimas sukurtas", + "severity-changed": "Įspėjimo svarba pakeista", + "unassigned": "Įspėjimas atsietas" }, "notify-on": "Pranešti apie", "notify-on-comment-update": "Pranešti apie komentaro atnaujinimą", "notify-on-required": "„Pranešti apie“ yra privalomas", - "notify-on-unassign": "Pranešti apie nepriskyrimą", + "notify-on-unassign": "Pranešti apie atsiejimą", "notify-only-integrations-errors": "Pranešti tik apie integracijos klaidas", - "notify-only-user-comments": "Pranešti tik apie vartotojų komentarus", - "only-rule-chain-lifecycle-failures": "Tik taisyklių grandinės ciklo klaidos", - "only-rule-node-lifecycle-failures": "Tik taisyklių mazgų ciklo klaidos", - "platform-users": "Platformos vartotojai", + "notify-only-user-comments": "Pranešti tik apie naudotojų komentarus", + "only-rule-chain-lifecycle-failures": "Tik taisyklių grandinės gyvavimo ciklo klaidos", + "only-rule-node-lifecycle-failures": "Tik taisyklių mazgų gyvavimo ciklo klaidos", + "platform-users": "Platformos naudotojai", "ram-threshold": "RAM riba", - "rate-limits": "Naudojimo apribojimai", - "rate-limits-hint": "Jei laukas tuščias, trigeris bus taikomas visiems naudojimo apribojimams", + "rate-limits": "Dažnio limitai", + "rate-limits-hint": "Jei laukas tuščias, trigeris bus taikomas visiems dažnio limitams", "recipient": "Gavėjas", "recipient-group": "Gavėjų grupė", "recipient-type": { "affected-tenant-administrators": "Paveikti nuomininko administratoriai", - "affected-user": "Paveiktas vartotojas", - "all-users": "Visi vartotojai", - "customer-users": "Klientų vartotojai", + "affected-user": "Paveiktas naudotojas", + "all-users": "Visi naudotojai", + "customer-users": "Klientų naudotojai", "system-administrators": "Sistemos administratoriai", "tenant-administrators": "Nuomininko administratoriai", - "user-filters": "Vartotojų filtras", - "user-group-list": "Vartotojų grupių sąrašas", - "user-list": "Vartotojų sąrašas", - "user-role": "Vartotojo rolė", - "users-entity-owner": "Subjekto savininko vartotojai" + "user-filters": "Naudotojų filtras", + "user-group-list": "Naudotojų grupių sąrašas", + "user-list": "Naudotojų sąrašas", + "user-role": "Naudotojo rolė", + "users-entity-owner": "Subjekto savininko naudotojai" }, "recipients": "Gavėjai", "notification-recipient": "Pranešimo gavėjas", "notification-recipient-required": "Pranešimo gavėjas yra privalomas.", "notification-recipients": "Pranešimai / Gavėjai", - "recipients-count": "{ count, plural, =1 {1 gavėjas} other {# gavėjai} }", + "recipients-count": "{ count, plural, =1 {1 gavėjas} one {# gavėjas} few {# gavėjai} other {# gavėjų} }", "recipients-required": "Gavėjai yra privalomi", "refresh-allow-delivery-method": "Atnaujinti leidžiamą pristatymo metodą", "request-search": "Užklausos paieška", @@ -5452,21 +7179,21 @@ "rules": "Taisyklės", "notification-rules": "Pranešimai / Taisyklės", "scheduler-later": "Suplanuoti vėlesniam laikui", - "search-notification": "Ieškoti pranešimų", - "search-recipients": "Ieškoti gavėjų", - "search-rules": "Ieškoti taisyklių", - "search-templates": "Ieškoti šablonų", + "search-notification": "Ieškokite pranešimų", + "search-recipients": "Ieškokite gavėjų", + "search-rules": "Ieškokite taisyklių", + "search-templates": "Ieškokite šablonų", "see-documentation": "Peržiūrėti dokumentaciją", - "selected-notifications": "{ count, plural, =1 {1 pranešimas} other {# pranešimai} } pasirinkta", - "selected-recipients": "{ count, plural, =1 {1 gavėjas} other {# gavėjai} } pasirinkta", - "selected-requests": "{ count, plural, =1 {1 užklausa} other {# užklausos} } pasirinkta", - "selected-rules": "{ count, plural, =1 {1 taisyklė} other {# taisyklės} } pasirinkta", - "selected-template": "{ count, plural, =1 {1 šablonas} other {# šablonai} } pasirinkta", + "selected-notifications": "{ count, plural, =1 {Pasirinktas 1 pranešimas} one {Pasirinktas # pranešimas} few {Pasirinkti # pranešimai} other {Pasirinkta # pranešimų} }", + "selected-recipients": "{ count, plural, =1 {Pasirinktas 1 gavėjas} one {Pasirinktas # gavėjas} few {Pasirinkti # gavėjai} other {Pasirinkta # gavėjų} }", + "selected-requests": "{ count, plural, =1 {Pasirinkta 1 užklausa} one {Pasirinkta # užklausa} few {Pasirinktos # užklausos} other {Pasirinkta # užklausų} }", + "selected-rules": "{ count, plural, =1 {Pasirinkta 1 taisyklė} one {Pasirinkta # taisyklė} few {Pasirinktos # taisyklės} other {Pasirinkta # taisyklių} }", + "selected-template": "{ count, plural, =1 {Pasirinktas 1 šablonas} one {Pasirinktas # šablonas} few {Pasirinkti # šablonai} other {Pasirinkta # šablonų} }", "send-notification": "Siųsti pranešimą", "sent": "Išsiųsta", "setup": "Nustatymai", - "notification-sent": "Pranešimai / Išsiųsti", - "set-entity-from-notification": "Nustatyti objektą iš pranešimo į valdymo suvestinę", + "notification-sent": "Pranešimai / Išsiųsta", + "set-entity-from-notification": "Nustatyti subjektą iš pranešimo į skydelio būseną", "slack-chanel-type": "Slack kanalo tipas", "slack-chanel-types": { "direct": "Tiesioginė žinutė", @@ -5475,35 +7202,39 @@ }, "start-from-scratch": "Pradėti nuo pradžių", "status": "Būsena", - "stop-escalation-alarm-status-become": "Sustabdyti eskalaciją, kai aliarmo būsena tampa:", + "stop-escalation-alarm-status-become": "Sustabdyti eskalaciją, kai įspėjimo būsena tampa:", "storage-threshold": "Saugyklos riba", "subject": "Tema", "subject-required": "Tema yra privaloma", - "subject-max-length": "Temos ilgis turi būti ne didesnis nei {{ length }} simbolių", + "subject-max-length": "Temos ilgis neturi viršyti {{ length }} simb.", "template": "Šablonas", "template-name": "Šablono pavadinimas", "template-required": "Šablonas yra privalomas", "template-type": { - "alarm": "Aliarmas", - "alarm-assignment": "Aliarmo priskyrimas", - "alarm-comment": "Aliarmo komentaras", + "alarm": "Įspėjimas", + "alarm-assignment": "Įspėjimo priskyrimas", + "alarm-comment": "Įspėjimo komentaras", "api-usage-limit": "API naudojimo limitas", "device-activity": "Įrenginio aktyvumas", - "entities-limit": "Objektų limitas", - "entity-action": "Objekto veiksmas", + "entities-limit": "Subjektų limitas", + "entities-limit-increase-request": "Prašymas padidinti subjektų limitą", + "addon-access-error": "Priedo / funkcijos prieigos klaida", + "addon-access-request": "Priedo / funkcijos prieigos prašymas", + "plan-upgrade-request": "Prašymas pereiti į aukštesnį planą", + "entity-action": "Subjekto veiksmas", "general": "Bendras", "integration-lifecycle-event": "Integracijos gyvavimo ciklo įvykis", "rule-engine-lifecycle-event": "Taisyklių variklio gyvavimo ciklo įvykis", "rule-node": "Taisyklių mazgas", "new-platform-version": "Nauja platformos versija", - "rate-limits": "Viršytos normos ribos", + "rate-limits": "Viršyti dažnio limitai", "edge-communication-failure": "Edge ryšio klaida", "edge-connection": "Edge prisijungimas", "task-processing-failure": "Užduoties apdorojimo klaida", "resources-shortage": "Išteklių trūkumas", "report-generated": "Ataskaita sugeneruota", - "user-activated": "Vartotojas aktyvuotas", - "user-registered": "Vartotojas užregistruotas" + "user-activated": "Naudotojas aktyvuotas", + "user-registered": "Naudotojas užregistruotas" }, "templates": "Šablonai", "notification-templates": "Pranešimai / Šablonai", @@ -5514,17 +7245,17 @@ "time": "Laikas", "track-rule-node-events": "Stebėti taisyklių mazgų įvykius", "trigger": { - "alarm": "Aliarmas", - "alarm-assignment": "Aliarmo priskyrimas", - "alarm-comment": "Aliarmo komentaras", + "alarm": "Įspėjimas", + "alarm-assignment": "Įspėjimo priskyrimas", + "alarm-comment": "Įspėjimo komentaras", "api-usage-limit": "API naudojimo limitas", "device-activity": "Įrenginio aktyvumas", - "entities-limit": "Objektų limitas", - "entity-action": "Objekto veiksmas", + "entities-limit": "Subjektų limitas", + "entity-action": "Subjekto veiksmas", "integration-lifecycle-event": "Integracijos gyvavimo ciklo įvykis", "rule-engine-lifecycle-event": "Taisyklių variklio gyvavimo ciklo įvykis", "new-platform-version": "Nauja platformos versija", - "rate-limits": "Viršytos normos ribos", + "rate-limits": "Viršyti dažnio limitai", "edge-connection": "Edge prisijungimas", "edge-communication-failure": "Edge ryšio klaida", "task-processing-failure": "Užduoties apdorojimo klaida", @@ -5535,20 +7266,20 @@ "type": "Tipas", "unread": "Neskaitytas", "updated": "Atnaujintas", - "use-deprecated-webhook-connectors": "Naudoti pasenusius Webhook jungiklius", + "use-deprecated-webhook-connectors": "Naudoti pasenusias Webhook jungtis", "use-old-api": "Naudoti seną API", "use-template": "Naudoti šabloną", "view-all": "Peržiūrėti visus", "view-notification-recipients-group": "Peržiūrėti pranešimų gavėjų grupę", "view-notification-template": "Peržiūrėti pranešimo šabloną", "view-rule": "Peržiūrėti taisyklę", - "warning": "Įspėjimas", + "warning": "Perspėjimas", "webhook-url": "Webhook URL", "webhook-url-required": "Webhook URL yra privalomas", "workflow-url": "Darbo eigos URL", "workflow-url-required": "Darbo eigos URL yra privalomas", - "channel-name": "Kanalas", - "channel-name-required": "Kanalas yra privalomas", + "channel-name": "Kanalo pavadinimas", + "channel-name-required": "Kanalo pavadinimas yra privalomas", "settings": { "notification-settings": "Pranešimų nustatymai", "reset-all": "Atstatyti visus nustatymus", @@ -5567,13 +7298,13 @@ "assign-software": "Priskirta programinė įranga", "assign-software-required": "Priskirta programinė įranga yra privaloma", "auto-generate-checksum": "Automatiškai generuoti kontrolinę sumą", - "cant-applied-group-all": "Negalima taikyti visai grupei", + "cant-applied-group-all": "Negalima taikyti grupei „All“", "checksum": "Kontrolinė suma", "checksum-hint": "Jei kontrolinė suma tuščia, ji bus sugeneruota automatiškai", "checksum-algorithm": "Kontrolinės sumos algoritmas", "checksum-copied-message": "Paketo kontrolinė suma nukopijuota į iškarpinę", - "change-firmware": "Programinės aparatinės įrangos pakeitimas gali sukelti { count, plural, =1 {1 įrenginio} other {# įrenginių} } atnaujinimą.", - "change-software": "Programinės įrangos pakeitimas gali sukelti { count, plural, =1 {1 įrenginio} other {# įrenginių} } atnaujinimą.", + "change-firmware": "Programinės aparatinės įrangos pakeitimas gali sukelti { count, plural, =1 {1 įrenginio} one {# įrenginio} few {# įrenginių} other {# įrenginių} } atnaujinimą.", + "change-software": "Programinės įrangos pakeitimas gali sukelti { count, plural, =1 {1 įrenginio} one {# įrenginio} few {# įrenginių} other {# įrenginių} } atnaujinimą.", "change-ota-setting-title": "Ar tikrai norite pakeisti OTA nustatymus?", "chose-compatible-device-profile": "Įkeltas paketas bus pasiekiamas tik įrenginiams su pasirinktu profiliu.", "chose-firmware-distributed-device": "Pasirinkite programinę aparatinę įrangą, kuri bus paskirstyta įrenginiams", @@ -5585,24 +7316,24 @@ "copied": "Nukopijuota!", "delete": "Ištrinti paketą", "delete-ota-update-text": "Būkite atsargūs – po patvirtinimo OTA atnaujinimas bus negrįžtamai pašalintas.", - "delete-ota-update-title": "Ar tikrai norite ištrinti OTA atnaujinimą '{{title}}'?", + "delete-ota-update-title": "Ar tikrai norite ištrinti OTA atnaujinimą „{{title}}“?", "delete-ota-updates-text": "Būkite atsargūs – po patvirtinimo visi pasirinkti OTA atnaujinimai bus pašalinti.", - "delete-ota-updates-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 OTA atnaujinimą} other {# OTA atnaujinimus} }?", + "delete-ota-updates-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 OTA atnaujinimą} one {# OTA atnaujinimą} few {# OTA atnaujinimus} other {# OTA atnaujinimų} }?", "description": "Aprašymas", "direct-url": "Tiesioginis URL", "direct-url-copied-message": "Paketo tiesioginis URL nukopijuotas į iškarpinę", "direct-url-required": "Tiesioginis URL yra privalomas", "download": "Atsisiųsti paketą", - "drop-file": "Įmeskite paketo failą arba spustelėkite norėdami įkelti.", - "drop-package-file-or": "Nutempkite paketo failą arba", + "drop-file": "Nuvilkite paketo failą arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", + "drop-package-file-or": "Nuvilkite paketo failą arba", "file-name": "Failo pavadinimas", "file-size": "Failo dydis", "file-size-bytes": "Failo dydis baitais", "idCopiedMessage": "Paketo ID nukopijuotas į iškarpinę", - "no-firmware-matching": "Nerasta jokių suderinamų programinės aparatinės įrangos OTA atnaujinimo paketų, atitinkančių '{{entity}}'.", + "no-firmware-matching": "Nerasta jokių suderinamų programinės aparatinės įrangos OTA atnaujinimo paketų, atitinkančių „{{entity}}“.", "no-firmware-text": "Nėra suderinamų programinės aparatinės įrangos OTA atnaujinimo paketų.", "no-packages-text": "Paketų nerasta", - "no-software-matching": "Nerasta jokių suderinamų programinės įrangos OTA atnaujinimo paketų, atitinkančių '{{entity}}'.", + "no-software-matching": "Nerasta jokių suderinamų programinės įrangos OTA atnaujinimo paketų, atitinkančių „{{entity}}“.", "no-software-text": "Nėra suderinamų programinės įrangos OTA atnaujinimo paketų.", "ota-update": "OTA atnaujinimas", "ota-update-details": "OTA atnaujinimo informacija", @@ -5610,8 +7341,8 @@ "package-file": "Paketo failas", "package-type": "Paketo tipas", "packages-repository": "Paketų saugykla", - "search": "Ieškoti paketų", - "selected-package": "{ count, plural, =1 {1 paketas} other {# paketai} } pasirinkta", + "search": "Ieškokite paketų", + "selected-package": "{ count, plural, =1 {Pasirinktas 1 paketas} one {Pasirinktas # paketas} few {Pasirinkti # paketai} other {Pasirinkta # paketų} }", "title": "Pavadinimas", "title-required": "Pavadinimas yra privalomas.", "title-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", @@ -5639,11 +7370,11 @@ "last-login-time": "Paskutinio prisijungimo laikas", "change-password": "Pakeisti slaptažodį", "current-password": "Dabartinis slaptažodis", - "copy-jwt-token": "Kopijuoti JWT raktą", - "jwt-token": "JWT raktas", - "token-valid-till": "Raktas galioja iki", - "tokenCopiedSuccessMessage": "JWT raktas nukopijuotas į iškarpinę", - "tokenCopiedWarnMessage": "JWT raktas nebegalioja! Atnaujinkite puslapį." + "copy-jwt-token": "Kopijuoti JWT žetoną", + "jwt-token": "JWT žetonas", + "token-valid-till": "Žetonas galioja iki", + "tokenCopiedSuccessMessage": "JWT žetonas nukopijuotas į iškarpinę", + "tokenCopiedWarnMessage": "JWT žetono galiojimas baigėsi! Atnaujinkite puslapį." }, "profiles": { "profiles": "Profiliai" @@ -5651,19 +7382,19 @@ "security": { "security": "Saugumas", "general-settings": "Bendrieji saugumo nustatymai", - "access-token": "Prieigos raktas", - "access-token-required": "Prieigos raktas yra privalomas", + "access-token": "Prieigos žetonas", + "access-token-required": "Prieigos žetonas yra privalomas", "clientId": "Kliento ID", "clientId-required": "Kliento ID yra privalomas", - "username": "Vartotojo vardas", - "username-required": "Vartotojo vardas yra privalomas", + "username": "Naudotojo vardas", + "username-required": "Naudotojo vardas yra privalomas", "ca-cert": "CA sertifikatas", "2fa": { "2fa": "Dviejų veiksnių autentifikavimas", "2fa-description": "Dviejų veiksnių autentifikavimas apsaugo jūsų paskyrą nuo neteisėtos prieigos. Prisijungdami turėsite įvesti saugos kodą.", "authenticate-with": "Galite autentifikuotis naudodami:", - "disable-2fa-provider-text": "Išjungus {{name}}, jūsų paskyra taps mažiau saugi.", - "disable-2fa-provider-title": "Ar tikrai norite išjungti {{name}}?", + "disable-2fa-provider-text": "Išjungus autentifikavimo būdą „{{name}}“, jūsų paskyra taps mažiau saugi", + "disable-2fa-provider-title": "Ar tikrai norite išjungti autentifikavimo būdą „{{name}}“?", "get-new-code": "Gauti naują kodą", "main-2fa-method": "Naudoti kaip pagrindinį dviejų veiksnių autentifikavimo būdą", "dialog": { @@ -5671,10 +7402,10 @@ "activation-step-description-sms": "Kitą kartą prisijungiant bus prašoma įvesti saugos kodą, kuris bus išsiųstas jūsų telefono numeriu.", "activation-step-description-totp": "Kitą kartą prisijungiant turėsite pateikti dviejų veiksnių autentifikavimo kodą.", "activation-step-label": "Aktyvacija", - "backup-code-description": "Atsispausdinkite atsarginius kodus, kad turėtumėte juos po ranka, kai reikės prisijungti prie paskyros. Kiekvienas atsarginis kodas gali būti naudojamas tik vieną kartą.", - "backup-code-warn": "Palikus šį puslapį, šie kodai nebebus rodomi. Išsaugokite juos saugiai.", + "backup-code-description": "Atsispausdinkite kodus, kad jie būtų po ranka, kai prireiks jais prisijungti prie savo paskyros. Kiekvieną atsarginį kodą galite naudoti vieną kartą.", + "backup-code-warn": "Kai išeisite iš šio puslapio, šių kodų nebebus galima parodyti dar kartą. Išsaugokite juos saugioje vietoje naudodami toliau pateiktas parinktis.", "download-txt": "Atsisiųsti (txt)", - "email-step-description": "Įveskite el. pašto adresą, kuris bus naudojamas kaip autentifikatorius.", + "email-step-description": "Įveskite el. pašto adresą, kurį naudosite kaip autentifikatorių.", "email-step-label": "El. paštas", "enable-email-title": "Įjungti el. pašto autentifikatorių", "enable-sms-title": "Įjungti SMS autentifikatorių", @@ -5684,16 +7415,16 @@ "next": "Toliau", "scan-qr-code": "Nuskaitykite šį QR kodą naudodami autentifikavimo programėlę", "send-code": "Siųsti kodą", - "sms-step-description": "Įveskite telefono numerį, kuris bus naudojamas kaip autentifikatorius.", + "sms-step-description": "Įveskite telefono numerį, kurį naudosite kaip autentifikatorių.", "sms-step-label": "Telefono numeris", "success": "Sėkmingai!", "totp-step-description-install": "Galite įdiegti tokias programėles kaip Google Authenticator, Authy arba Duo.", "totp-step-description-open": "Atidarykite autentifikavimo programėlę savo telefone.", "totp-step-label": "Gauti programėlę", "verification-code": "6 skaitmenų kodas", - "verification-code-invalid": "Neteisingas kodo formatas", + "verification-code-invalid": "Neteisingas patvirtinimo kodo formatas", "verification-code-incorrect": "Neteisingas patvirtinimo kodas", - "verification-code-many-request": "Per daug bandymų patikrinti kodą", + "verification-code-many-request": "Per daug patvirtinimo kodo tikrinimo užklausų", "verification-step-description": "Įveskite 6 skaitmenų kodą, kurį ką tik išsiuntėme adresu {{address}}", "verification-step-label": "Patvirtinimas" }, @@ -5702,80 +7433,87 @@ "email-description": "Naudokite saugos kodą, išsiųstą į jūsų el. pašto adresą, kad autentifikuotumėtės.", "email-hint": "Autentifikavimo kodai siunčiami el. paštu adresu {{ info }}", "sms": "SMS", - "sms-description": "Naudokite savo telefoną autentifikacijai. Prisijungiant išsiųsime jums saugos kodą SMS žinute.", + "sms-description": "Naudokite savo telefoną autentifikavimui. Prisijungiant išsiųsime jums saugos kodą SMS žinute.", "sms-hint": "Autentifikavimo kodai siunčiami SMS žinute numeriu {{ info }}", "totp": "Autentifikavimo programėlė", - "totp-description": "Naudokite programėles, tokias kaip Google Authenticator, Authy ar Duo, savo telefone autentifikacijai. Jos generuos prisijungimo kodą.", + "totp-description": "Autentifikavimui naudokite telefone įdiegtas programėles, tokias kaip Google Authenticator, Authy ar Duo. Jos sugeneruos prisijungimo saugos kodą.", "totp-hint": "Autentifikavimo programėlė sukonfigūruota jūsų paskyrai", "backup_code": "Atsarginis kodas", "backup-code-description": "Šie vienkartiniai spausdinami kodai leidžia prisijungti, kai neturite prieigos prie telefono, pavyzdžiui, keliaujant.", - "backup-code-hint": "Šiuo metu aktyvūs {{ info }} vienkartinio naudojimo kodai" + "backup-code-hint": "Šiuo metu aktyvių vienkartinio naudojimo kodų: {{ info }}" } }, "password-requirement": { "at-least": "Bent:", - "character": "{ count, plural, =1 {1 simbolis} other {# simboliai(-ų)} }", - "digit": "{ count, plural, =1 {1 skaitmuo} other {# skaitmenys(-ų)} }", + "character": "{ count, plural, =1 {1 simbolis} one {# simbolis} few {# simboliai} other {# simbolių} }", + "digit": "{ count, plural, =1 {1 skaitmuo} one {# skaitmuo} few {# skaitmenys} other {# skaitmenų} }", + "password-tooltip-min-length": "Mažiausias ilgis: {{minimumLength}} simb.", + "password-tooltip-max-length": "Didžiausias ilgis: {{maximumLength}} simb.", + "password-tooltip-uppercase": "Didžiųjų raidžių: {{minimumUppercaseLetters}}", + "password-tooltip-lowercase": "Mažųjų raidžių: {{minimumLowercaseLetters}}", + "password-tooltip-digit": "Skaitmenų: {{minimumDigits}}", + "password-tooltip-special-characters": "Specialiųjų simbolių: {{minimumSpecialCharacters}}", "incorrect-password-try-again": "Neteisingas slaptažodis. Bandykite dar kartą", - "lowercase-letter": "{ count, plural, =1 {1 mažoji raidė} other {# mažosios raidės(-ių)} }", + "lowercase-letter": "{ count, plural, =1 {1 mažoji raidė} one {# mažoji raidė} few {# mažosios raidės} other {# mažųjų raidžių} }", "new-passwords-not-match": "Nauji slaptažodžiai nesutampa", "password-should-not-contain-spaces": "Slaptažodyje negali būti tarpų", "password-not-meet-requirements": "Slaptažodis neatitinka reikalavimų", "password-requirements": "Slaptažodžio reikalavimai", "password-should-difference": "Naujas slaptažodis turi skirtis nuo dabartinio", - "special-character": "{ count, plural, =1 {1 specialus simbolis} other {# specialūs simboliai(-ių)} }", - "uppercase-letter": "{ count, plural, =1 {1 didžioji raidė} other {# didžiosios raidės(-ių)} }", + "special-character": "{ count, plural, =1 {1 specialus simbolis} one {# specialus simbolis} few {# specialūs simboliai} other {# specialiųjų simbolių} }", + "uppercase-letter": "{ count, plural, =1 {1 didžioji raidė} one {# didžioji raidė} few {# didžiosios raidės} other {# didžiųjų raidžių} }", "at-most": "Daugiausia:" } }, "relation": { "relations": "Ryšiai", "direction": "Kryptis", - "clear-relation-type": "Aiškus ryšio tipas", + "clear-relation-type": "Išvalyti ryšio tipą", "search-direction": { "FROM": "Iš", - "TO": "Į" + "TO": "Link" }, "direction-type": { "FROM": "iš", "TO": "į" }, "from-relations": "Išeinantys ryšiai", - "to-relations": "įeinantys ryšiai", - "selected-relations": "Pasirinkta { count, plural, =1 {1 ryšys} other {# ryšiai} } selected", + "to-relations": "Įeinantys ryšiai", + "selected-relations": "{ count, plural, =1 {Pasirinktas 1 ryšys} one {Pasirinktas # ryšys} few {Pasirinkti # ryšiai} other {Pasirinkta # ryšių} }", "type": "Tipas", - "to-entity-type": "Į subjekto tipą", - "to-entity-name": "Į subjektą", - "from-entity-type": "iš subjektų tipo", - "from-entity-name": "Iš subjekto", - "to-entity": "į subjektą", - "from-entity": "Iš subjekto", - "delete": "panaikinti ryšį", + "to-entity-type": "Tikslinio subjekto tipas", + "to-entity-name": "Tikslinio subjekto pavadinimas", + "from-entity-type": "Šaltinio subjekto tipas", + "from-entity-name": "Šaltinio subjekto pavadinimas", + "to-entity": "Tikslinis subjektas", + "from-entity": "Šaltinio subjektas", + "delete": "Ištrinti ryšį", "relation-type": "Ryšio tipas", - "relation-type-required": "Ryšio tipas būtinas.", - "relation-type-max-length": "Ryšio tipas negali viršyti 256 simbolių", - "any-relation-type": "Bet kuris tipas", - "add": "pridėti ryšį", + "relation-type-required": "Ryšio tipas yra privalomas.", + "relation-type-max-length": "Ryšio tipas turi būti trumpesnis nei 256 simboliai", + "any-relation-type": "Bet koks tipas", + "add": "Pridėti ryšį", "edit": "Redaguoti ryšį", - "view": "peržiūrėti ryšį", - "delete-to-relation-title": "Ar tikrai norite panaikinti ryšį su '{{entityName}}' subjektu?", - "delete-to-relation-text": "Būkite dėmesingi, po patvirtinimo '{{entityName}}' subjektas neteks ryšio su dabartiniu subjektu.", - "delete-to-relations-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 ryšį} other {# ryšius} }?", - "delete-to-relations-text": "Būkite dėmesingi, po patvirtinimo visi pasirinkti ryšiai bus panaikinti ir atitinkami subjektai neteks ryšių su dabartiniu subjektu.", - "delete-from-relation-title": "Ar tikrai norite panaikinti ryšį iš '{{entityName}}' subjekto?", - "delete-from-relation-text": "Būkite dėmesingi, po patvirtinimo, dabartinis subjektas neteks ryšio su '{{entityName}}' subjektu.", - "delete-from-relations-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 ryšį} other {# ryšius} }?", - "delete-from-relations-text": "Būkite dėmesingi, po patvirtinimo, visi pasirinkti ryšiai bus panaikinti ir dabartinis subjektas neteks ryšių su atitinkamais subjektais.", - "remove-relation-filter": "Panaikinti ryšių filtrą", - "remove-filter": "Panakinti filtrą", + "view": "Peržiūrėti ryšį", + "delete-to-relation-title": "Ar tikrai norite ištrinti ryšį su „{{entityName}}“ subjektu?", + "delete-to-relation-text": "Būkite atsargūs, po patvirtinimo „{{entityName}}“ subjektas neteks ryšio su dabartiniu subjektu.", + "delete-to-relations-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ryšį} one {# ryšį} few {# ryšius} other {# ryšių} }?", + "delete-to-relations-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti ryšiai bus pašalinti ir atitinkami subjektai neteks ryšių su dabartiniu subjektu.", + "delete-from-relation-title": "Ar tikrai norite ištrinti ryšį iš „{{entityName}}“ subjekto?", + "delete-from-relation-text": "Būkite atsargūs, po patvirtinimo dabartinis subjektas neteks ryšio su „{{entityName}}“ subjektu.", + "delete-from-relations-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ryšį} one {# ryšį} few {# ryšius} other {# ryšių} }?", + "delete-from-relations-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti ryšiai bus pašalinti ir dabartinis subjektas neteks ryšių su atitinkamais subjektais.", + "remove-relation-filter": "Pašalinti ryšių filtrą", + "remove-filter": "Pašalinti filtrą", "add-relation-filter": "Pridėti ryšių filtrą", "any-relation": "Bet kuris ryšys", "relation-filters": "Ryšių filtrai", - "relation-filter": "Relation filter", + "relation-filter": "Ryšių filtras", "additional-info": "Papildoma informacija (JSON)", "invalid-additional-info": "Papildomos JSON informacijos išanalizuoti nepavyko.", "no-relations-text": "Ryšių nėra", - "not": "Ne" + "not": "Ne", + "copy-type": "Kopijuoti tipą" }, "resource": { "add": "Pridėti išteklių", @@ -5783,27 +7521,28 @@ "copyId": "Kopijuoti ištekliaus ID", "delete": "Ištrinti išteklių", "delete-resource-text": "Būkite atsargūs, po patvirtinimo šis išteklius bus negrįžtamai pašalintas.", - "delete-resource-title": "Ar tikrai norite ištrinti išteklių '{{resourceTitle}}'?", - "delete-resources-action-title": "Ištrinti { count, plural, =1 {1 išteklių} other {# išteklius(-ių)} }", + "delete-resource-title": "Ar tikrai norite ištrinti išteklių „{{resourceTitle}}“?", + "delete-resources-action-title": "Ištrinti { count, plural, =1 {1 išteklių} one {# išteklių} few {# išteklius} other {# išteklių} }", "delete-resources-text": "Atkreipkite dėmesį, kad pasirinkti ištekliai bus ištrinti, net jei jie naudojami įrenginių profiliuose.", - "delete-resources-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 išteklių} other {# išteklius(-ių)} }?", + "delete-resources-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 išteklių} one {# išteklių} few {# išteklius} other {# išteklių} }?", "download": "Atsisiųsti išteklių", - "drop-file": "Įkelkite išteklių failą arba spustelėkite norėdami pasirinkti failą.", - "drop-resource-file-or": "Vilkdami įkelkite išteklių failą arba", + "drop-file": "Nuvilkite išteklių failą arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", + "drop-resource-file-or": "Nuvilkite ištekliaus failą arba", "empty": "Išteklius tuščias", "file-name": "Failo pavadinimas", - "idCopiedMessage": "Išteklius ID nukopijuotas į iškarpinę", - "no-resource-matching": "Nerasta ištekliaus, atitinkančio '{{widgetsBundle}}'.", + "idCopiedMessage": "Ištekliaus ID nukopijuotas į iškarpinę", + "no-resource-matching": "Nerasta ištekliaus, atitinkančio „{{widgetsBundle}}“.", "no-resource-text": "Išteklių nerasta", - "open-widgets-bundle": "Atidaryti valdiklių paketą", + "open-widgets-bundle": "Atidaryti valdiklių rinkinį", "resource": "Išteklius", "resource-file": "Išteklių failas", "resource-files": "Išteklių failai", "resource-library-details": "Išteklių informacija", "resource-type": "Išteklių tipas", "resources-library": "Išteklių biblioteka", - "search": "Ieškoti išteklių", - "selected-resources": "{ count, plural, =1 {1 išteklius} other {# ištekliai(-ių)} } pasirinkta", + "files": "Failai", + "search": "Ieškokite išteklių", + "selected-resources": "{ count, plural, =1 {Pasirinktas 1 išteklius} one {Pasirinktas # išteklius} few {Pasirinkti # ištekliai} other {Pasirinkta # išteklių} }", "system": "Sistema", "title": "Pavadinimas", "title-required": "Pavadinimas yra privalomas.", @@ -5812,48 +7551,56 @@ "jks": "JKS", "js-module": "JS modulis", "lwm2m-model": "LWM2M modelis", - "pkcs-12": "PKCS #12" + "pkcs-12": "PKCS #12", + "general": "Bendras" }, - "resource-sub-type": "Potipio", + "resource-sub-type": "Potipis", "sub-type": { "image": "Paveikslėlis", "scada-symbol": "SCADA simbolis", "extension": "Plėtinys", "module": "Modulis" - } + }, + "resource-is-in-use": "Išteklius naudojamas kitų subjektų", + "resources-are-in-use": "Ištekliai naudojami kitų subjektų", + "resource-is-in-use-text": "Išteklius „{{title}}“ nebuvo ištrintas, nes jį naudoja šie subjektai:", + "resources-are-in-use-text": "Ne visi ištekliai buvo ištrinti, nes juos naudoja kiti subjektai.
Susijusius subjektus galite peržiūrėti spustelėję mygtuką Nuorodos atitinkamoje ištekliaus eilutėje.
Jei vis tiek norite ištrinti šiuos išteklius, pasirinkite juos toliau esančioje lentelėje ir spustelėkite mygtuką Ištrinti pasirinktus.", + "delete-resource-in-use-text": "Jei vis tiek norite ištrinti išteklių, spustelėkite mygtuką Vis tiek ištrinti." }, "javascript": { "add": "Pridėti JavaScript išteklių", "delete": "Ištrinti JavaScript išteklių", "delete-javascript-resource-text": "Būkite atsargūs – po patvirtinimo šis JavaScript išteklius bus nebeatkuriamas.", - "delete-javascript-resource-title": "Ar tikrai norite ištrinti JavaScript išteklių '{{resourceTitle}}'?", - "delete-javascript-resources-action-title": "Ištrinti JavaScript { count, plural, =1 {1 išteklių} other {# išteklius} }", + "delete-javascript-resource-title": "Ar tikrai norite ištrinti JavaScript išteklių „{{resourceTitle}}“?", + "delete-javascript-resources-action-title": "Ištrinti JavaScript { count, plural, =1 {1 išteklių} one {# išteklių} few {# išteklius} other {# išteklių} }", "delete-javascript-resources-text": "Atkreipkite dėmesį, kad pasirinkti JavaScript ištekliai, net jei jie naudojami JavaScript funkcijose, bus ištrinti.", - "delete-javascript-resources-title": "Ar tikrai norite ištrinti JavaScript { count, plural, =1 {1 išteklių} other {# išteklius} }?", - "delete-javascript-resource-in-use-text": "Jei vis tiek norite ištrinti šį JavaScript išteklių, spustelėkite mygtuką Ištrinti vis tiek.", + "delete-javascript-resources-title": "Ar tikrai norite ištrinti JavaScript { count, plural, =1 {1 išteklių} one {# išteklių} few {# išteklius} other {# išteklių} }?", + "delete-javascript-resource-in-use-text": "Jei vis tiek norite ištrinti šį JavaScript išteklių, spustelėkite mygtuką Vis tiek ištrinti.", "download": "Atsisiųsti JavaScript išteklių", "upload-from-file": "Įkelti JavaScript iš failo", "resource-file": "JavaScript ištekliaus failas", - "drop-file": "Įmeskite JavaScript failą arba spustelėkite, kad pasirinktumėte failą įkėlimui.", - "drop-resource-file-or": "Vilkite ir numeskite JavaScript failą arba", + "drop-file": "Nuvilkite JavaScript failą arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", + "drop-resource-file-or": "Nuvilkite JavaScript failą arba", "javascript-library": "JavaScript biblioteka", "javascript-type": "JavaScript tipas", - "javascript-resource-details": "JavaScript ištekliaus detalės", - "javascript-resource-is-in-use": "JavaScript išteklius naudojamas kituose objektuose", - "javascript-resources-are-in-use": "JavaScript ištekliai naudojami kituose objektuose", - "javascript-resource-is-in-use-text": "JavaScript išteklius '{{title}}' nebuvo ištrintas, nes jį naudoja šie objektai:", - "javascript-resources-are-in-use-text": "Ne visi JavaScript ištekliai buvo ištrinti, nes jie naudojami kituose objektuose.
Galite peržiūrėti susijusius objektus spustelėdami mygtuką Nuorodos atitinkamoje eilutėje.
Jei vis tiek norite ištrinti šiuos JavaScript išteklius, pasirinkite juos lentelėje ir spustelėkite mygtuką Ištrinti pasirinktus.", - "search": "Ieškoti JavaScript išteklių", - "selected-javascript-resources": "{ count, plural, =1 {1 JavaScript išteklius} other {# JavaScript ištekliai} } pasirinkta", + "scripts": "Skriptai", + "script-type": "Skripto tipas", + "javascript-resource-details": "JavaScript ištekliaus informacija", + "javascript-resource-is-in-use": "JavaScript išteklius naudojamas kituose subjektuose", + "javascript-resources-are-in-use": "JavaScript ištekliai naudojami kituose subjektuose", + "javascript-resource-is-in-use-text": "JavaScript išteklius „{{title}}“ nebuvo ištrintas, nes jį naudoja šie subjektai:", + "javascript-resources-are-in-use-text": "Ne visi JavaScript ištekliai buvo ištrinti, nes jie naudojami kituose subjektuose.
Galite peržiūrėti susijusius subjektus spustelėdami mygtuką Nuorodos atitinkamoje eilutėje.
Jei vis tiek norite ištrinti šiuos JavaScript išteklius, pasirinkite juos lentelėje ir spustelėkite mygtuką Ištrinti pasirinktus.", + "search": "Ieškokite JavaScript išteklių", + "selected-javascript-resources": "{ count, plural, =1 {Pasirinktas 1 JavaScript išteklius} one {Pasirinktas # JavaScript išteklius} few {Pasirinkti # JavaScript ištekliai} other {Pasirinkta # JavaScript išteklių} }", "no-javascript-resource-text": "JavaScript išteklių nerasta", "all-types": "Visi", - "module-script": "Modulio scenarijus" + "module-script": "Modulio skriptas" }, "rpc": { "error": { "target-device-is-not-set": "Tikslinis įrenginys nenustatytas!", - "invalid-target-entity": "RPC komandos nepalaikomos {{entityType}} objektui.", - "failed-to-resolve-target-device": "Nepavyko nustatyti tikslo įrenginio!", + "invalid-target-entity": "RPC komandos nepalaikomos šio tipo subjektams: {{entityType}}.", + "failed-to-resolve-target-device": "Nepavyko nustatyti tikslinio įrenginio!", "request-timeout": "Užklausos laikas baigėsi", "rpc-http-error": "Klaida: {{status}} - {{statusText}}" } @@ -5870,17 +7617,17 @@ "description": "Aprašymas", "add": "Pridėti taisyklių grandinę", "set-root": "Padaryti pagrindine", - "set-root-rulechain-title": "Ar tikrai norite taisyklių grandinę '{{ruleChainName}}' padaryti pagrindine?", - "set-root-rulechain-text": "Patvirtinus ši taisyklių grandinė taps pagrindine ir tvarkys visus įeinančius transporto pranešimus.", - "delete-rulechain-title": "Ar tikrai norite ištrinti taisyklių grandinę '{{ruleChainName}}'?", + "set-root-rulechain-title": "Ar tikrai norite taisyklių grandinę „{{ruleChainName}}“ padaryti pagrindine?", + "set-root-rulechain-text": "Patvirtinus ši taisyklių grandinė taps pagrindine ir tvarkys visas įeinančias transporto žinutes.", + "delete-rulechain-title": "Ar tikrai norite ištrinti taisyklių grandinę „{{ruleChainName}}“?", "delete-rulechain-text": "Atsargiai, po patvirtinimo ši taisyklių grandinė ir visi susiję duomenys bus negrįžtamai pašalinti.", - "delete-rulechains-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 taisyklių grandinę} other {# taisyklių grandines} }?", - "delete-rulechains-action-title": "Ištrinti { count, plural, =1 {1 taisyklių grandinę} other {# taisyklių grandines} }", - "delete-rulechains-text": "Atsargiai, po patvirtinimo visos pažymėtos taisyklių grandinės bus pašalintos ir visi susiję duomenys bus prarasti.", + "delete-rulechains-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 taisyklių grandinę} one {# taisyklių grandinę} few {# taisyklių grandines} other {# taisyklių grandinių} }?", + "delete-rulechains-action-title": "Ištrinti { count, plural, =1 {1 taisyklių grandinę} one {# taisyklių grandinę} few {# taisyklių grandines} other {# taisyklių grandinių} }", + "delete-rulechains-text": "Būkite atsargūs, po patvirtinimo visos pasirinktos taisyklių grandinės bus pašalintos, o visi susiję duomenys bus negrįžtamai prarasti.", "add-rulechain-text": "Pridėti naują taisyklių grandinę", "no-rulechains-text": "Taisyklių grandinių nerasta", - "rulechain-details": "Taisyklių grandinės detalės", - "details": "Detalės", + "rulechain-details": "Taisyklių grandinės informacija", + "details": "Informacija", "events": "Įvykiai", "system": "Sistema", "import": "Importuoti taisyklių grandinę", @@ -5889,52 +7636,63 @@ "create-new-rulechain": "Sukurti naują taisyklių grandinę", "rulechain-file": "Taisyklių grandinės failas", "invalid-rulechain-file-error": "Nepavyko importuoti taisyklių grandinės: netinkama duomenų struktūra.", + "rulechain-not-found-warning": "Numatytoji taisyklių grandinė nerasta. Profilis išsaugotas be jos – ją galite priskirti profilio nustatymuose.", "copyId": "Kopijuoti taisyklių grandinės ID", "idCopiedMessage": "Taisyklių grandinės ID nukopijuotas į iškarpinę", "select-rulechain": "Pasirinkti taisyklių grandinę", - "no-rulechains-matching": "Taisyklių grandinių, atitinkančių '{{entity}}', nerasta.", + "no-rulechains-matching": "Taisyklių grandinių, atitinkančių „{{entity}}“, nerasta.", "rulechain-required": "Taisyklių grandinė yra privaloma", "management": "Taisyklių valdymas", "debug-mode": "Derinimo režimas", - "search": "Ieškoti taisyklių grandinių", - "selected-rulechains": "{ count, plural, =1 {1 taisyklių grandinė} other {# taisyklių grandinės} } pasirinkta", + "search": "Ieškokite taisyklių grandinių", + "selected-rulechains": "{ count, plural, =1 {Pasirinkta 1 taisyklių grandinė} one {Pasirinkta # taisyklių grandinė} few {Pasirinktos # taisyklių grandinės} other {Pasirinkta # taisyklių grandinių} }", "open-rulechain": "Atidaryti taisyklių grandinę", "edge-template-root": "Edge šablono pagrindas", - "assign-to-edge": "Priskirti Edge", + "assign-to-edge": "Priskirti Edge egzemplioriui", "edge-rulechain": "Edge taisyklių grandinė", - "unassign-rulechain-from-edge-text": "Patvirtinus, taisyklių grandinė bus atšaukta ir nebebus pasiekiama Edge įrenginiui.", - "unassign-rulechains-from-edge-title": "Ar tikrai norite atšaukti { count, plural, =1 {1 taisyklių grandinę} other {# taisyklių grandines} }?", - "unassign-rulechains-from-edge-text": "Patvirtinus visos pažymėtos taisyklių grandinės bus atšauktos ir nebebus prieinamos Edge įrenginiui.", - "assign-rulechain-to-edge-title": "Priskirti taisyklių grandinę (-es) Edge įrenginiui", - "assign-rulechain-to-edge-text": "Pasirinkite taisyklių grandines, kurias norite priskirti Edge įrenginiui", + "unassign-rulechain-from-edge-text": "Po patvirtinimo taisyklių grandinė bus atsieta ir nebebus pasiekiama Edge egzemplioriui.", + "unassign-rulechains-from-edge-title": "Ar tikrai norite atsieti { count, plural, =1 {1 taisyklių grandinę} one {# taisyklių grandinę} few {# taisyklių grandines} other {# taisyklių grandinių} }?", + "unassign-rulechains-from-edge-text": "Po patvirtinimo visos pasirinktos taisyklių grandinės bus atsietos ir nebebus pasiekiamos Edge egzemplioriui.", + "assign-rulechain-to-edge-title": "Priskirti taisyklių grandinę (-es) Edge egzemplioriui", + "assign-rulechain-to-edge-text": "Pasirinkite taisyklių grandines, kurias norite priskirti Edge egzemplioriui", "set-edge-template-root-rulechain": "Padaryti taisyklių grandinę Edge šablono pagrindine", "set-edge-tscheduler-eventemplate-root-rulechain": "Padaryti taisyklių grandinę Edge šablono pagrindine", - "set-edge-template-root-rulechain-title": "Ar tikrai norite taisyklių grandinę '{{ruleChainName}}' padaryti Edge šablono pagrindine?", - "set-edge-template-root-rulechain-text": "Patvirtinus ši taisyklių grandinė taps pagrindine naujai kuriamiems Edge įrenginiams.", + "set-edge-template-root-rulechain-title": "Ar tikrai norite taisyklių grandinę „{{ruleChainName}}“ padaryti Edge šablono pagrindine?", + "set-edge-template-root-rulechain-text": "Po patvirtinimo taisyklių grandinė taps Edge šablono pagrindine ir bus pagrindinė taisyklių grandinė naujai sukurtiems Edge egzemplioriams.", "invalid-rulechain-type-error": "Nepavyko importuoti taisyklių grandinės: netinkamas tipas. Tikimasi tipo {{expectedRuleChainType}}.", - "set-auto-assign-to-edge": "Automatiškai priskirti taisyklių grandinę Edge įrenginiams kūrimo metu", - "set-auto-assign-to-edge-title": "Ar tikrai norite automatiškai priskirti Edge taisyklių grandinę '{{ruleChainName}}' naujai kuriamiems Edge įrenginiams?", - "set-auto-assign-to-edge-text": "Patvirtinus ši taisyklių grandinė bus automatiškai priskiriama Edge įrenginiams jų kūrimo metu.", - "unset-auto-assign-to-edge": "Nepriskirti taisyklių grandinės Edge įrenginiams kūrimo metu", - "unset-auto-assign-to-edge-title": "Ar tikrai nenorite automatiškai priskirti Edge taisyklių grandinės '{{ruleChainName}}' naujai kuriamiems Edge įrenginiams?", - "unset-auto-assign-to-edge-text": "Patvirtinus ši taisyklių grandinė nebus automatiškai priskiriama Edge įrenginiams.", - "unassign-rulechain-title": "Ar tikrai norite atšaukti taisyklių grandinę '{{ruleChainName}}'?", - "unassign-rulechains": "Atšaukti taisyklių grandines" + "set-auto-assign-to-edge": "Priskirti taisyklių grandinę Edge egzemplioriams juos kuriant", + "set-auto-assign-to-edge-title": "Ar tikrai norite Edge taisyklių grandinę „{{ruleChainName}}“ priskirti Edge egzemplioriams juos kuriant?", + "set-auto-assign-to-edge-text": "Po patvirtinimo Edge taisyklių grandinė bus automatiškai priskiriama Edge egzemplioriams juos kuriant.", + "unset-auto-assign-to-edge": "Nepriskirti taisyklių grandinės Edge egzemplioriams juos kuriant", + "unset-auto-assign-to-edge-title": "Ar tikrai nenorite Edge taisyklių grandinės „{{ruleChainName}}“ priskirti Edge egzemplioriams juos kuriant?", + "unset-auto-assign-to-edge-text": "Po patvirtinimo Edge taisyklių grandinė nebebus automatiškai priskiriama Edge egzemplioriams juos kuriant.", + "unassign-rulechain-title": "Ar tikrai norite atsieti taisyklių grandinę „{{ruleChainName}}“?", + "unassign-rulechains": "Atsieti taisyklių grandines", + "add-note": "Pridėti pastabą", + "paste-note": "Įklijuoti pastabą", + "note": "Pastaba", + "edit-note": "Redaguoti pastabą", + "note-content": "Markdown/HTML turinys", + "note-details": "Pastabos informacija", + "note-background-color": "Fono spalva", + "note-border": "Rėmelis", + "note-apply-default-markdown-style": "Taikyti numatytąjį Markdown stilių", + "note-custom-css": "Pastabos turinio CSS" }, "rulenode": { "rule-node-events": "Taisyklių mazgų įvykiai", - "details": "Detalės", + "details": "Informacija", "events": "Įvykiai", - "search": "Ieškoti mazgų", + "search": "Ieškokite mazgų", "open-node-library": "Atidaryti mazgų biblioteką", "close-node-library": "Uždaryti mazgų biblioteką", - "add": "Pridėti taisyklės mazgą", + "add": "Pridėti taisyklių mazgą", "name": "Pavadinimas", "name-required": "Pavadinimas yra privalomas.", "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "type": "Tipas", "rule-node-description": "Taisyklių mazgo aprašymas", - "delete": "Ištrinti taisyklės mazgą", + "delete": "Ištrinti taisyklių mazgą", "select-all-objects": "Pažymėti visus mazgus ir jungtis", "deselect-all-objects": "Atžymėti visus mazgus ir jungtis", "delete-selected-objects": "Ištrinti pažymėtus mazgus ir jungtis", @@ -5943,28 +7701,28 @@ "select-all": "Pažymėti visus", "copy-selected": "Kopijuoti pažymėtus", "deselect-all": "Atžymėti visus", - "rulenode-details": "Taisyklių mazgo detalės", + "rulenode-details": "Taisyklių mazgo informacija", "debug-mode": "Derinimo režimas", - "singleton": "Vienetinis (Singleton)", + "singleton": "Vienetinis", "configuration": "Konfigūracija", "link": "Jungtis", - "link-details": "Taisyklių mazgo jungties detalės", + "link-details": "Taisyklių mazgo jungties informacija", "add-link": "Pridėti jungtį", "link-label": "Jungties pavadinimas", "link-label-required": "Jungties pavadinimas yra privalomas.", - "custom-link-label": "Tinkintas jungties pavadinimas", - "custom-link-label-required": "Tinkintas jungties pavadinimas yra privalomas.", + "custom-link-label": "Pasirinktinis jungties pavadinimas", + "custom-link-label-required": "Pasirinktinis jungties pavadinimas yra privalomas.", "link-labels": "Jungčių pavadinimai", "link-labels-required": "Jungčių pavadinimai yra privalomi.", "no-link-labels-found": "Jungčių pavadinimų nerasta", - "no-link-label-matching": "Jungtis '{{label}}' nerasta.", + "no-link-label-matching": "Jungties pavadinimas „{{label}}“ nerastas.", "create-new-link-label": "Sukurti naują!", "type-filter": "Filtras", "type-filter-details": "Filtruoti įeinančias žinutes pagal konfigūruotas sąlygas", "type-enrichment": "Praturtinimas", "type-enrichment-details": "Papildyti žinutės metaduomenis papildoma informacija", "type-transformation": "Transformacija", - "type-transformation-details": "Keisti žinutės turinį arba metaduomenis", + "type-transformation-details": "Keisti žinutės turinį ir metaduomenis", "type-action": "Veiksmas", "type-action-details": "Atlikti specialų veiksmą", "type-analytics": "Analitika", @@ -5978,8 +7736,8 @@ "type-input": "Įvestis", "type-input-details": "Taisyklių grandinės loginė įvestis, perduodanti žinutes tolesniam susijusiam mazgui", "type-unknown": "Nežinomas", - "type-unknown-details": "Nesprendžiamas taisyklių mazgas", - "directive-is-not-loaded": "Nurodyta konfigūracijos direktyva '{{directiveName}}' nėra prieinama.", + "type-unknown-details": "Neatpažintas taisyklių mazgas", + "directive-is-not-loaded": "Nurodyta konfigūracijos direktyva „{{directiveName}}“ nėra prieinama.", "ui-resources-load-error": "Nepavyko įkelti konfigūracijos UI išteklių.", "invalid-target-rulechain": "Nepavyko nustatyti paskirties taisyklių grandinės!", "test-script-function": "Testuoti skripto funkciją", @@ -5997,45 +7755,45 @@ "help": "Pagalba", "reset-debug-settings": "Atstatyti derinimo nustatymus visuose mazguose", "test-with-this-message": "{{test}} su šia žinute", - "queue-hint": "Pasirinkite eilę, į kurią bus persiunčiamos žinutės. Numatytoji eilė – 'Main'.", - "queue-singleton-hint": "Pasirinkite eilę žinučių perdavimui kelių egzempliorių aplinkoje. Numatytoji eilė – 'Pagrindinis'." + "queue-hint": "Pasirinkite eilę, į kurią bus persiunčiamos žinutės. Numatytoji eilė – „Main“.", + "queue-singleton-hint": "Pasirinkite eilę žinučių perdavimui kelių egzempliorių aplinkoje. Numatytoji eilė – „Main“." }, "rule-node-config": { - "id": "Id", + "id": "ID", "additional-info": "Papildoma informacija", "advanced-settings": "Išplėstiniai nustatymai", - "create-entity-if-not-exists": "Sukurti naują objektą, jei jis neegzistuoja", - "create-entity-if-not-exists-hint": "Jei įjungta, naujas objektas su nurodytais parametrais bus sukurtas, nebent toks jau egzistuoja. Esami objektai bus naudojami tokie, kokie yra, ryšio užmezgimui.", + "create-entity-if-not-exists": "Sukurti naują subjektą, jei jis neegzistuoja", + "create-entity-if-not-exists-hint": "Jei įjungta, naujas subjektas su nurodytais parametrais bus sukurtas, nebent toks jau egzistuoja. Esami subjektai bus naudojami tokie, kokie yra, ryšio užmezgimui.", "select-device-connectivity-event": "Pasirinkite įrenginio ryšio įvykį", "entity-name-pattern": "Pavadinimo šablonas", "device-name-pattern": "Įrenginio pavadinimas", "asset-name-pattern": "Turto pavadinimas", - "entity-view-name-pattern": "Objekto peržiūros pavadinimas", + "entity-view-name-pattern": "Subjektų rodinio pavadinimas", "customer-title-pattern": "Kliento pavadinimas", - "dashboard-name-pattern": "Valdymo skydelio pavadinimas", + "dashboard-name-pattern": "Skydelio pavadinimas", "user-name-pattern": "Naudotojo el. paštas", "edge-name-pattern": "Edge pavadinimas", "entity-name-pattern-required": "Pavadinimo šablonas yra privalomas", - "entity-name-pattern-hint": "Pavadinimo šablono laukas palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", - "copy-message-type": "Kopijuoti pranešimo tipą", + "entity-name-pattern-hint": "Pavadinimo šablono laukas palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "copy-message-type": "Kopijuoti žinutės tipą", "entity-type-pattern": "Tipo šablonas", "entity-type-pattern-required": "Tipo šablonas yra privalomas", - "message-type-value": "Pranešimo tipo reikšmė", - "message-type-value-required": "Pranešimo tipo reikšmė yra privaloma", - "message-type-value-max-length": "Pranešimo tipo reikšmė turi būti trumpesnė nei 256 simboliai", - "output-message-type": "Išvesties pranešimo tipas", - "entity-cache-expiration": "Objektų talpyklos galiojimo laikas (sek.)", - "entity-cache-expiration-hint": "Nurodo maksimalų laiką, kiek galima saugoti rastų objektų įrašus. Reikšmė 0 reiškia, kad įrašai niekada nesibaigs.", - "entity-cache-expiration-required": "Objektų talpyklos galiojimo laikas yra privalomas.", - "entity-cache-expiration-range": "Objektų talpyklos galiojimo laikas turi būti didesnis arba lygus 0.", + "message-type-value": "Žinutės tipo reikšmė", + "message-type-value-required": "Žinutės tipo reikšmė yra privaloma", + "message-type-value-max-length": "Žinutės tipo reikšmė turi būti trumpesnė nei 256 simboliai", + "output-message-type": "Išvesties žinutės tipas", + "entity-cache-expiration": "Subjektų talpyklos galiojimo laikas (sek.)", + "entity-cache-expiration-hint": "Nurodo maksimalų laiką, kiek galima saugoti rastų subjektų įrašus. Reikšmė 0 reiškia, kad įrašų galiojimas niekada nesibaigs.", + "entity-cache-expiration-required": "Subjektų talpyklos galiojimo laikas yra privalomas.", + "entity-cache-expiration-range": "Subjektų talpyklos galiojimo laikas turi būti didesnis arba lygus 0.", "customer-name-pattern": "Kliento pavadinimas", "customer-name-pattern-required": "Kliento pavadinimas yra privalomas", - "customer-name-pattern-hint": "Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "customer-name-pattern-hint": "Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", "create-customer-if-not-exists": "Sukurti naują klientą, jei jis neegzistuoja", - "unassign-from-customer": "Atšaukti priskyrimą klientui, jei siuntėjas yra valdymo skydelis", - "unassign-from-customer-tooltip": "Tik valdymo skydeliai gali būti priskirti keliems klientams vienu metu.\nJei pranešimo siuntėjas yra valdymo skydelis, turite aiškiai nurodyti kliento pavadinimą, kad jį atšauktumėte.", + "unassign-from-customer": "Atsieti nuo nurodyto kliento, jei siuntėjas yra skydelis", + "unassign-from-customer-tooltip": "Tik skydeliai gali būti priskirti keliems klientams vienu metu.\nJei žinutės siuntėjas yra skydelis, turite aiškiai nurodyti kliento, nuo kurio jį atsiejate, pavadinimą.", "customer-cache-expiration": "Klientų talpyklos galiojimo laikas (sek.)", - "customer-cache-expiration-hint": "Nurodo maksimalų laiką, kiek galima saugoti rastų klientų įrašus. Reikšmė 0 reiškia, kad įrašai niekada nesibaigs.", + "customer-cache-expiration-hint": "Nurodo maksimalų laiką, kiek galima saugoti rastų klientų įrašus. Reikšmė 0 reiškia, kad įrašų galiojimas niekada nesibaigs.", "customer-cache-expiration-required": "Klientų talpyklos galiojimo laikas yra privalomas.", "customer-cache-expiration-range": "Klientų talpyklos galiojimo laikas turi būti didesnis arba lygus 0.", "interval-start": "Intervalo pradžia", @@ -6044,7 +7802,7 @@ "fetch-mode": "Gavimo režimas", "order-by-timestamp": "Rikiuoti pagal laiko žymą", "limit": "Riba", - "limit-hint": "Mažiausia riba – 2, didžiausia – 1000. Jei norite gauti vieną įrašą, pasirinkite gavimo režimą 'Pirmas' arba 'Paskutinis'.", + "limit-hint": "Mažiausia riba – 2, didžiausia – 1000. Jei norite gauti vieną įrašą, pasirinkite gavimo režimą „Pirmas“ arba „Paskutinis“.", "limit-required": "Riba yra privaloma.", "limit-range": "Riba turi būti nuo 2 iki 1000.", "time-unit-milliseconds": "Milisekundės", @@ -6057,76 +7815,76 @@ "end-interval-value-required": "Intervalo pabaiga yra privaloma.", "filter": "Filtras", "switch": "Perjungiklis", - "math-templatization-tooltip": "Šis laukas palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", - "add-message-type": "Pridėti pranešimo tipą", - "select-message-types-required": "Turi būti pasirinktas bent vienas pranešimo tipas.", - "select-message-types": "Pasirinkti pranešimo tipus", - "no-message-types-found": "Pranešimo tipų nerasta", - "no-message-type-matching": "'{{messageType}}' nerasta.", + "math-templatization-tooltip": "Šis laukas palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "add-message-type": "Pridėti žinutės tipą", + "select-message-types-required": "Turi būti pasirinktas bent vienas žinutės tipas.", + "select-message-types": "Pasirinkti žinučių tipus", + "no-message-types-found": "Žinučių tipų nerasta", + "no-message-type-matching": "„{{messageType}}“ nerasta.", "create-new-message-type": "Sukurti naują.", - "message-types-required": "Pranešimo tipai yra privalomi.", + "message-types-required": "Žinučių tipai yra privalomi.", "client-attributes": "Kliento atributai", - "shared-attributes": "Bendri atributai", + "shared-attributes": "Bendrinami atributai", "server-attributes": "Serverio atributai", "attributes-keys": "Atributų raktai", "attributes-keys-required": "Atributų raktai yra privalomi", - "attributes-scope": "Atributų sritis", - "attributes-scope-value": "Atributų srities reikšmė", - "attributes-scope-value-copy": "Kopijuoti atributų srities reikšmę", - "attributes-scope-hint": "Naudokite metaduomenų raktą 'scope', kad dinamiškai nustatytumėte atributų sritį kiekvienam pranešimui. Jei pateikta, tai perrašo konfigūracijoje nustatytą sritį.", + "attributes-scope": "Atributų taikymo sritis", + "attributes-scope-value": "Atributų taikymo srities reikšmė", + "attributes-scope-value-copy": "Kopijuoti atributų taikymo srities reikšmę", + "attributes-scope-hint": "Naudokite metaduomenų raktą 'scope', kad dinamiškai nustatytumėte atributų taikymo sritį kiekvienai žinutei. Jei pateikta, tai perrašo konfigūracijoje nustatytą taikymo sritį.", "notify-device": "Priverstinai pranešti įrenginiui", - "send-attributes-updated-notification": "Siųsti atnaujintų atributų pranešimą", + "send-attributes-updated-notification": "Siųsti pranešimą apie atnaujintus atributus", "send-attributes-updated-notification-hint": "Siųsti pranešimą apie atnaujintus atributus kaip atskirą žinutę į taisyklių variklio eilę.", "send-attributes-deleted-notification": "Siųsti ištrintų atributų pranešimą", "send-attributes-deleted-notification-hint": "Siųsti pranešimą apie ištrintus atributus kaip atskirą žinutę į taisyklių variklio eilę.", "update-attributes-only-on-value-change": "Išsaugoti atributus tik jei pasikeitė reikšmė", - "update-attributes-only-on-value-change-hint": "Atnaujina atributus su kiekvienu gaunamu pranešimu, neatsižvelgiant į tai, ar reikšmė pasikeitė. Tai padidina API apkrovą ir sumažina našumą.", + "update-attributes-only-on-value-change-hint": "Atnaujina atributus su kiekviena gaunama žinute, neatsižvelgiant į tai, ar reikšmė pasikeitė. Tai padidina API apkrovą ir sumažina našumą.", "update-attributes-only-on-value-change-hint-enabled": "Atnaujina atributus tik jei jų reikšmė pasikeitė. Jei reikšmė nepasikeitė, atributų laiko žyma ir pranešimas apie pakeitimą nebus siunčiami.", "fetch-credentials-to-metadata": "Įtraukti prisijungimo duomenis į metaduomenis", - "notify-device-on-update-hint": "Jei įjungta, priverstinai praneša įrenginiui apie bendrų atributų atnaujinimą. Jei išjungta, pranešimo elgesį valdo 'notifyDevice' parametras iš gaunamo pranešimo metaduomenų. Norėdami išjungti pranešimą, pranešimo metaduomenyse turi būti parametras 'notifyDevice' nustatytas į 'false'. Kitais atvejais pranešimas bus siunčiamas įrenginiui.", - "notify-device-on-delete-hint": "Jei įjungta, priverstinai praneša įrenginiui apie bendrų atributų pašalinimą. Jei išjungta, pranešimo elgesį valdo 'notifyDevice' parametras iš gaunamo pranešimo metaduomenų. Norėdami įjungti pranešimą, pranešimo metaduomenyse turi būti parametras 'notifyDevice' nustatytas į 'true'. Kitais atvejais pranešimas įrenginiui nebus siunčiamas.", + "notify-device-on-update-hint": "Jei įjungta, įrenginiui priverstinai pranešama apie bendrinamų atributų atnaujinimą. Jei išjungta, pranešimo elgseną valdo parametras 'notifyDevice' iš gaunamos žinutės metaduomenų. Norint išjungti pranešimą, žinutės metaduomenyse turi būti parametras 'notifyDevice', nustatytas į 'false'. Bet kuriuo kitu atveju įrenginiui bus siunčiamas pranešimas.", + "notify-device-on-delete-hint": "Jei įjungta, įrenginiui priverstinai pranešama apie bendrinamų atributų pašalinimą. Jei išjungta, pranešimo elgseną valdo parametras 'notifyDevice' iš gaunamos žinutės metaduomenų. Norint įjungti pranešimą, žinutės metaduomenyse turi būti parametras 'notifyDevice', nustatytas į 'true'. Bet kuriuo kitu atveju pranešimas įrenginiui nebus siunčiamas.", "latest-timeseries": "Naujausių laiko eilučių duomenų raktai", "timeseries-keys": "Laiko eilučių raktai", "timeseries-keys-required": "Turi būti pasirinktas bent vienas laiko eilučių raktas.", "add-timeseries-key": "Pridėti laiko eilučių raktą", - "add-message-field": "Pridėti pranešimo lauką", + "add-message-field": "Pridėti žinutės lauką", "relation-search-parameters": "Ryšių paieškos parametrai", "relation-parameters": "Ryšių parametrai", "add-metadata-field": "Pridėti metaduomenų lauką", - "data-keys": "Pranešimo laukų pavadinimai", + "data-keys": "Žinutės laukų pavadinimai", "copy-from": "Kopijuoti iš", "data-to-metadata": "Duomenis į metaduomenis", "metadata-to-data": "Metaduomenis į duomenis", - "use-regular-expression-hint": "Naudokite reguliariąją išraišką raktų kopijavimui pagal šabloną.\n\nPatarimai:\nPaspauskite 'Enter', kad užbaigtumėte lauko pavadinimo įvedimą.\nPaspauskite 'Backspace', kad ištrintumėte lauko pavadinimą. Palaikomi keli pavadinimai.", + "use-regular-expression-hint": "Naudokite reguliariąją išraišką raktų kopijavimui pagal šabloną.\n\nPatarimai:\nPaspauskite „Enter“, kad užbaigtumėte lauko pavadinimo įvedimą.\nPaspauskite „Backspace“, kad ištrintumėte lauko pavadinimą. Palaikomi keli pavadinimai.", "interval": "Intervalas", "interval-required": "Intervalas yra privalomas", - "interval-hint": "Dublikavimo intervalas sekundėmis.", + "interval-hint": "Dublikatų šalinimo intervalas sekundėmis.", "interval-min-error": "Mažiausia leidžiama reikšmė yra 1", - "max-pending-msgs": "Maks. laukiančių pranešimų", - "max-pending-msgs-hint": "Maksimalus pranešimų skaičius, saugomas atmintyje kiekvienam unikaliam dublikavimo ID.", - "max-pending-msgs-required": "Maks. laukiančių pranešimų reikšmė yra privaloma", + "max-pending-msgs": "Maks. laukiančių žinučių", + "max-pending-msgs-hint": "Maksimalus žinučių skaičius, saugomas atmintyje kiekvienam unikaliam dublikatų šalinimo ID.", + "max-pending-msgs-required": "Maks. laukiančių žinučių reikšmė yra privaloma", "max-pending-msgs-max-error": "Didžiausia leidžiama reikšmė yra 1000", "max-pending-msgs-min-error": "Mažiausia leidžiama reikšmė yra 1", "max-retries": "Maksimalus bandymų skaičius", "max-retries-required": "Maksimalus bandymų skaičius yra privalomas", - "max-retries-hint": "Didžiausias bandymų skaičius išsiųsti dublikuotus pranešimus į eilę. Tarp bandymų taikomas 10 sekundžių delsimas.", + "max-retries-hint": "Didžiausias bandymų įkelti žinutes po dublikatų šalinimo į eilę skaičius. Tarp bandymų taikomas 10 sekundžių delsimas", "max-retries-max-error": "Didžiausia leidžiama reikšmė yra 100", "max-retries-min-error": "Mažiausia leidžiama reikšmė yra 0", "strategy": "Strategija", "strategy-required": "Strategija yra privaloma", - "strategy-all-hint": "Grąžina visus pranešimus, gautus dublikavimo laikotarpiu, kaip vieną JSON masyvą, kur kiekvienas elementas turi objektą su 'msg' ir 'metadata' savybėmis.", - "strategy-first-hint": "Grąžina pirmą pranešimą, gautą dublikavimo laikotarpiu.", - "strategy-last-hint": "Grąžina paskutinį pranešimą, gautą dublikavimo laikotarpiu.", + "strategy-all-hint": "Grąžina visas žinutes, gautas dublikatų šalinimo laikotarpiu, kaip vieną JSON masyvo žinutę, kurioje kiekvienas elementas yra objektas su vidinėmis savybėmis 'msg' ir 'metadata'.", + "strategy-first-hint": "Grąžina pirmą žinutę, gautą dublikatų šalinimo laikotarpiu.", + "strategy-last-hint": "Grąžina paskutinę žinutę, gautą dublikatų šalinimo laikotarpiu.", "first": "Pirmas", "last": "Paskutinis", "all": "Visi", - "output-msg-type-hint": "Dublikavimo rezultato pranešimo tipas.", - "queue-name-hint": "Eilės pavadinimas, į kurią bus publikuojamas dublikavimo rezultatas.", + "output-msg-type-hint": "Dublikatų šalinimo rezultato žinutės tipas.", + "queue-name-hint": "Eilės, į kurią bus publikuojamas dublikatų šalinimo rezultatas, pavadinimas.", "keys": "Raktai", "keys-required": "Raktai yra privalomi", "rename-keys-in": "Pervadinti raktus", "data": "Duomenys", - "message": "Pranešimas", + "message": "Žinutė", "metadata": "Metaduomenys", "current-key-name": "Dabartinis rakto pavadinimas", "key-name-required": "Rakto pavadinimas yra privalomas", @@ -6145,118 +7903,118 @@ "relation-type-pattern": "Ryšio tipo šablonas", "relation-type-pattern-required": "Ryšio tipo šablonas yra privalomas", "relation-types-list": "Ryšių tipai, kuriuos reikia perduoti", - "relation-types-list-hint": "Jei nepasirinkti ryšių tipai, signalai (alarmai) bus perduodami be filtravimo pagal ryšio tipą.", + "relation-types-list-hint": "Jei nepasirinkti perdavimo ryšių tipai, įspėjimai bus perduodami be filtravimo pagal ryšio tipą.", "unlimited-level": "Neribotas lygis", "latest-telemetry": "Naujausia telemetrija", "add-telemetry-key": "Pridėti telemetrijos raktą", "delete-from": "Ištrinti iš", - "use-regular-expression-delete-hint": "Naudokite reguliariąją išraišką raktų ištrynimui pagal šabloną.\n\nPatarimai:\nPaspauskite 'Enter', kad užbaigtumėte lauko pavadinimo įvedimą.\nPaspauskite 'Backspace', kad ištrintumėte lauko pavadinimą.\nPalaikomi keli pavadinimai.", + "use-regular-expression-delete-hint": "Naudokite reguliariąją išraišką raktų ištrynimui pagal šabloną.\n\nPatarimai:\nPaspauskite „Enter“, kad užbaigtumėte lauko pavadinimo įvedimą.\nPaspauskite „Backspace“, kad ištrintumėte lauko pavadinimą.\nPalaikomi keli pavadinimai.", "fetch-into": "Užkrauti į", "attr-mapping": "Atributų susiejimas:", - "source-attribute": "Pirminio atributo raktas", - "source-attribute-required": "Pirminio atributo raktas yra privalomas.", - "source-telemetry": "Pirminės telemetrijos raktas", - "source-telemetry-required": "Pirminės telemetrijos raktas yra privalomas.", + "source-attribute": "Šaltinio atributo raktas", + "source-attribute-required": "Šaltinio atributo raktas yra privalomas.", + "source-telemetry": "Šaltinio telemetrijos raktas", + "source-telemetry-required": "Šaltinio telemetrijos raktas yra privalomas.", "target-key": "Tikslinis raktas", "target-key-required": "Tikslinis raktas yra privalomas.", "attr-mapping-required": "Turi būti nurodyta bent viena susiejimo eilutė.", "fields-mapping": "Laukų susiejimas", - "fields-mapping-hint": "Jei pranešimo laukas nustatytas į $entityId, pranešimo kilmės (originatoriaus) ID bus įrašytas į nurodytą lentelės stulpelį.", - "relations-query-config-direction-suffix": "kilmės objektas", + "fields-mapping-hint": "Jei žinutės laukas nustatytas į $entityId, žinutės siuntėjo ID bus įrašytas į nurodytą lentelės stulpelį.", + "relations-query-config-direction-suffix": "siuntėjo", "profile-name": "Profilio pavadinimas", - "fetch-circle-parameter-info-from-metadata-hint": "Metaduomenų laukas '{{perimeterKeyName}}' turi būti pateiktas šiuo formatu: {\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", - "fetch-poligon-parameter-info-from-metadata-hint": "Metaduomenų laukas '{{perimeterKeyName}}' turi būti pateiktas šiuo formatu: [[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", - "short-templatization-tooltip": "Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "fetch-circle-parameter-info-from-metadata-hint": "Metaduomenų laukas „{{perimeterKeyName}}“ turi būti pateiktas šiuo formatu: {\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", + "fetch-poligon-parameter-info-from-metadata-hint": "Metaduomenų laukas „{{perimeterKeyName}}“ turi būti pateiktas šiuo formatu: [[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", + "short-templatization-tooltip": "Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", "fields-mapping-required": "Turi būti nurodytas bent vienas laukų susiejimas.", "at-least-one-field-required": "Bent vienas įvesties laukas turi turėti reikšmę (-es).", - "originator-fields-sv-map-hint": "Tikslinių raktų laukai palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", - "sv-map-hint": "Tik tikslinių raktų laukai palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", - "source-field": "Pirminis laukas", - "source-field-required": "Pirminis laukas yra privalomas.", - "originator-source": "Kilmės šaltinis", - "new-originator": "Naujas kilmės objektas", + "originator-fields-sv-map-hint": "Tikslinių raktų laukai palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "sv-map-hint": "Tik tikslinių raktų laukai palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "source-field": "Šaltinio laukas", + "source-field-required": "Šaltinio laukas yra privalomas.", + "originator-source": "Siuntėjo šaltinis", + "new-originator": "Naujas siuntėjas", "originator-customer": "Klientas", "originator-tenant": "Nuomininkas", - "originator-related": "Susijęs objektas", - "originator-alarm-originator": "Signalo kilmės objektas", - "originator-entity": "Objektas pagal pavadinimo šabloną", - "clone-message": "Klonuoti pranešimą", - "no-owners-matching": "Savininkų, atitinkančių '{{entity}}', nerasta.", + "originator-related": "Susijęs subjektas", + "originator-alarm-originator": "Įspėjimo siuntėjas", + "originator-entity": "Subjektas pagal pavadinimo šabloną", + "clone-message": "Klonuoti žinutę", + "no-owners-matching": "Savininkų, atitinkančių „{{entity}}“, nerasta.", "owner-required": "Savininkas yra privalomas.", "owner": "Savininkas", - "owner-of-entity-group": "Objektų grupės savininkas", - "entity-group": "Objektų grupė", + "owner-of-entity-group": "Subjektų grupės savininkas", + "entity-group": "Subjektų grupė", "transform": "Transformuoti", "default-ttl": "Numatytasis TTL", "default-ttl-required": "Numatytasis TTL yra privalomas.", - "default-ttl-hint": "Taisyklės mazgas (Rule Node) paims Time-to-Live (TTL) reikšmę iš pranešimo metaduomenų. Jei reikšmės nėra, bus naudojamas konfigūracijoje nurodytas TTL. Jei reikšmė lygi 0, bus taikomas TTL iš nuomininko (Tenant) profilio konfigūracijos.", + "default-ttl-hint": "Taisyklių mazgas paims Time-to-Live (TTL) reikšmę iš žinutės metaduomenų. Jei reikšmės nėra, bus naudojamas konfigūracijoje nurodytas TTL. Jei reikšmė lygi 0, bus taikomas TTL iš nuomininko profilio konfigūracijos.", "default-ttl-zero-hint": "TTL nebus taikomas, jei jo reikšmė nustatyta į 0.", "min-default-ttl-message": "Leidžiama tik minimali 0 TTL reikšmė.", "generation-parameters": "Generavimo parametrai", - "message-count": "Generuojamų pranešimų limitas (0 - neribota)", - "message-count-required": "Generuojamų pranešimų limitas yra privalomas.", - "min-message-count-message": "Leidžiama tik minimali 0 pranešimų reikšmė.", + "message-count": "Generuojamų žinučių limitas (0 – neribotas)", + "message-count-required": "Generuojamų žinučių limitas yra privalomas.", + "min-message-count-message": "Leidžiamas mažiausias žinučių skaičius – 0.", "period-seconds": "Periodas sekundėmis", "period-seconds-required": "Periodas yra privalomas.", "generation-frequency-seconds": "Generavimo dažnis sekundėmis", "generation-frequency-required": "Generavimo dažnis yra privalomas.", - "min-generation-frequency-message": "Leidžiamas mažiausias 60 sekundžių intervalas.", + "min-generation-frequency-message": "Leidžiamas mažiausias 1 sekundės intervalas.", "script-lang-tbel": "TBEL", "script-lang-js": "JS", "use-metadata-period-in-seconds-patterns": "Naudoti periodo sekundėmis šabloną", - "use-metadata-period-in-seconds-patterns-hint": "Jei pasirinkta, taisyklės mazgas naudos periodo sekundėmis šabloną iš pranešimo metaduomenų arba duomenų, laikydamas, kad intervalai pateikti sekundėmis.", + "use-metadata-period-in-seconds-patterns-hint": "Jei pasirinkta, taisyklių mazgas naudos periodo sekundėmis šabloną iš žinutės metaduomenų arba duomenų, laikydamas, kad intervalai pateikti sekundėmis.", "period-in-seconds-pattern": "Periodo sekundėmis šablonas", "period-in-seconds-pattern-required": "Periodo sekundėmis šablonas yra privalomas", - "min-period-seconds-message": "Leidžiamas mažiausias 60 sekundžių periodas.", - "originator": "Kilmės objektas", - "message-body": "Pranešimo turinys", - "message-metadata": "Pranešimo metaduomenys", + "min-period-seconds-message": "Leidžiamas mažiausias 1 sekundės periodas.", + "originator": "Siuntėjas", + "message-body": "Žinutės turinys", + "message-metadata": "Žinutės metaduomenys", "generate": "Generuoti", - "current-rule-node": "Dabartinis taisyklės mazgas", + "current-rule-node": "Dabartinis taisyklių mazgas", "current-tenant": "Dabartinis nuomininkas", "generator-function": "Generatoriaus funkcija", "test-generator-function": "Testuoti generatoriaus funkciją", "generator": "Generatorius", "test-filter-function": "Testuoti filtravimo funkciją", "test-switch-function": "Testuoti perjungimo funkciją", - "parent-entity": "Tėviniai objektai", - "include-root-entity-to-parent-entities": "Įtraukti šakninį objektą į tėvinių objektų sąrašą", + "parent-entity": "Tėviniai subjektai", + "include-root-entity-to-parent-entities": "Įtraukti šakninį subjektą į tėvinių subjektų sąrašą", "test-transformer-function": "Testuoti transformavimo funkciją", "transformer": "Transformatorius", - "alarm-create-condition": "Signalo (aliarmo) sukūrimo sąlyga", + "alarm-create-condition": "Įspėjimo sukūrimo sąlyga", "test-condition-function": "Testuoti sąlygos funkciją", - "alarm-clear-condition": "Signalo (aliarmo) išvalymo sąlyga", - "alarm-details-builder": "Signalo (aliarmo) informacijos kūrėjas", + "alarm-clear-condition": "Įspėjimo išvalymo sąlyga", + "alarm-details-builder": "Įspėjimo informacijos kūrėjas", "test-details-function": "Testuoti informacijos kūrimo funkciją", - "alarm-type": "Signalo tipas", - "select-entity-types": "Pasirinkti objektų tipus", - "alarm-type-required": "Signalo tipas yra privalomas.", - "alarm-severity": "Signalo svarba", - "alarm-severity-required": "Signalo svarba yra privaloma", - "alarm-severity-pattern": "Signalo svarbos šablonas", - "alarm-status-filter": "Signalo būsenos filtras", - "alarm-status-list-empty": "Signalo būsenų sąrašas tuščias", - "no-alarm-status-matching": "Nerasta atitinkančių signalo būsenų.", - "no-alarm-severity-matching": "Nerasta atitinkančių signalo svarbų.", - "propagate": "Perduoti signalą susijusiems objektams", - "propagate-to-owner": "Perduoti signalą objekto savininkui (klientui arba nuomininkui)", - "propagate-to-owner-hierarchy": "Perduoti signalą savininkų hierarchijai", - "propagate-to-tenant": "Perduoti signalą nuomininkui", + "alarm-type": "Įspėjimo tipas", + "select-entity-types": "Pasirinkti subjektų tipus", + "alarm-type-required": "Įspėjimo tipas yra privalomas.", + "alarm-severity": "Įspėjimo svarba", + "alarm-severity-required": "Įspėjimo svarba yra privaloma", + "alarm-severity-pattern": "Įspėjimo svarbos šablonas", + "alarm-status-filter": "Įspėjimo būsenos filtras", + "alarm-status-list-empty": "Įspėjimo būsenų sąrašas tuščias", + "no-alarm-status-matching": "Nerasta atitinkančių įspėjimo būsenų.", + "no-alarm-severity-matching": "Nerasta atitinkančių įspėjimo svarbos lygių.", + "propagate": "Perduoti įspėjimą susijusiems subjektams", + "propagate-to-owner": "Perduoti įspėjimą subjekto savininkui (klientui arba nuomininkui)", + "propagate-to-owner-hierarchy": "Perduoti įspėjimą subjekto savininkų hierarchijai", + "propagate-to-tenant": "Perduoti įspėjimą nuomininkui", "condition": "Sąlyga", "details": "Išsami informacija", - "to-string": "Į eilutę (string)", + "to-string": "Į eilutę", "test-to-string-function": "Testuoti konvertavimo į eilutę funkciją", - "from-template": "Iš", - "from-template-required": "Laukas „Iš“ yra privalomas", - "message-to-metadata": "Pranešimą į metaduomenis", - "metadata-to-message": "Metaduomenis į pranešimą", - "from-message": "Iš pranešimo", + "from-template": "Nuo", + "from-template-required": "Laukas „Nuo“ yra privalomas", + "message-to-metadata": "Žinutę į metaduomenis", + "metadata-to-message": "Metaduomenis į žinutę", + "from-message": "Iš žinutės", "from-metadata": "Iš metaduomenų", - "to-template": "Į", - "to-template-required": "Laukas „Į šabloną“ yra privalomas", - "mail-address-list-template-hint": "Adreso sąrašas atskiriamas kableliais. Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš pranešimo turinio gauti.", - "cc-template": "Kopija (Cc)", - "bcc-template": "Slapta kopija (Bcc)", + "to-template": "Kam", + "to-template-required": "Laukas „Kam“ yra privalomas", + "mail-address-list-template-hint": "Adresų sąrašas, atskirtas kableliais. Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš žinutės turinio", + "cc-template": "Kopija", + "bcc-template": "Nematoma kopija", "subject-template": "Tema", "subject-template-required": "Temos šablonas yra privalomas", "body-template": "Turinys", @@ -6273,37 +8031,39 @@ "timeout-sec": "Laiko limitas (sekundėmis)", "timeout-required": "Laiko limitas yra privalomas", "min-timeout-message": "Leidžiama tik minimali 0 laiko limito reikšmė.", - "endpoint-url-pattern": "Galutinio taško (endpoint) URL šablonas", - "endpoint-url-pattern-required": "Galutinio taško (endpoint) URL šablonas yra privalomas", + "endpoint-url-pattern": "Galinio taško URL šablonas", + "endpoint-url-pattern-required": "Galinio taško URL šablonas yra privalomas", "request-method": "Užklausos metodas", - "use-simple-client-http-factory": "Naudoti paprastą HTTP kliento kūrimo būdą", "ignore-request-body": "Be užklausos turinio", + "request-body-template": "Užklausos turinio šablonas", + "request-body-template-hint": "Naudokite ${metadataKey} metaduomenims, $[messageKey] žinutės reikšmėms. Jei laukas tuščias, kaip užklausos turinys naudojama žinutės naudingoji apkrova. Ne JSON naudingosioms apkrovoms įjunkite „Konvertuoti į gryną tekstą“.

Paslaptį galite įterpti naudodami vietos rezervavimo ženklą ${secret:name;type:TYPE}, kur „name“ yra paslapties identifikatorius, o „type“ – TEXT arba TEXT_FILE. Tai naudinga taisyklių mazgų konfigūracijos laukuose, kurie tiesiogiai nepalaiko parinkties „Naudoti paslaptį“. Pavyzdys: ${secret:tenant password;type:TEXT}.", "parse-to-plain-text": "Konvertuoti į gryną tekstą", - "parse-to-plain-text-hint": "Jei pasirinkta, užklausos turinys bus konvertuotas iš JSON eilutės į paprastą tekstą, pvz., msg = \"Hello,\\t\"world\"\" bus konvertuota į Hello, \"world\"", + "parse-to-plain-text-hint": "Jei pasirinkta, užklausos turinys (žinutės turinys arba turinio šablono rezultatas) bus siunčiamas kaip paprasto teksto eilutė, o ne analizuojamas kaip JSON, pvz., msg = \"Hello,\\t\"world\"\" bus konvertuota į Hello, \"world\"", "read-timeout": "Skaitymo laiko limitas (milisekundėmis)", "read-timeout-hint": "Reikšmė 0 reiškia neribotą laiko limitą", "max-parallel-requests-count": "Maksimalus lygiagrečių užklausų skaičius", "max-parallel-requests-count-hint": "Reikšmė 0 nurodo, kad lygiagretus apdorojimas nėra ribojamas", "max-response-size": "Maksimalus atsako dydis (KB)", - "max-response-size-hint": "Didžiausias atminties kiekis, skirtas duomenų buferiavimui dekoduojant ar koduojant HTTP pranešimus, pvz., JSON ar XML turinius", - "headers": "Antraštės (Headers)", - "headers-hint": "Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš pranešimo turinio antraščių/vertės laukuose", + "max-response-size-hint": "Didžiausias atminties kiekis, skirtas duomenų buferiavimui dekoduojant ar koduojant HTTP žinutes, pavyzdžiui, JSON ar XML turinį", + "headers": "Antraštės", + "headers-hint": "Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš žinutės turinio antraštės / reikšmės laukuose.

Paslaptį galite įterpti naudodami vietos rezervavimo ženklą ${secret:name;type:TYPE}, kur 'name' yra paslapties identifikatorius, o 'type' – TEXT arba TEXT_FILE. Tai naudinga taisyklių mazgų konfigūracijos laukuose, kurie tiesiogiai nepalaiko parinkties „Naudoti paslaptį“. Pavyzdys: ${secret:Header;type:TEXT}.", "header": "Antraštė", "header-required": "Antraštė yra privaloma", "value": "Reikšmė", "value-required": "Reikšmė yra privaloma", "topic-pattern": "Temos šablonas", "key-pattern": "Rakto šablonas", - "key-pattern-hint": "Nebūtina. Jei nurodytas galiojantis skaidinio (partition) numeris, jis bus naudojamas siunčiant įrašą. Jei skaidinys nenurodytas, bus naudojamas raktas. Jei abu nėra nurodyti – bus priskiriama apvaliuoju būdu (round-robin).", + "key-pattern-hint": "Nebūtina. Jei nurodytas galiojantis skaidinio numeris, jis bus naudojamas siunčiant įrašą. Jei skaidinys nenurodytas, bus naudojamas raktas. Jei nenurodytas nė vienas, skaidinys bus priskirtas ciklinio paskirstymo būdu.", "topic-pattern-required": "Temos šablonas yra privalomas", "topic": "Tema", "topic-required": "Tema yra privaloma", "bootstrap-servers": "Bootstrap serveriai", "bootstrap-servers-required": "Bootstrap serverių reikšmė yra privaloma", "other-properties": "Kitos savybės", + "other-properties-empty": "Nesukonfigūruota jokių kitų savybių", "key": "Raktas", "key-required": "Raktas yra privalomas", - "retries": "Automatinio bandymo kartai, jei nepavyksta", + "retries": "Automatinių pakartotinių bandymų skaičius nepavykus", "min-retries-message": "Leidžiama tik minimali 0 pakartojimų reikšmė.", "batch-size-bytes": "Siunčiamo paketo dydis baitais", "min-batch-size-bytes-message": "Leidžiama tik minimali 0 paketo dydžio reikšmė.", @@ -6312,33 +8072,34 @@ "buffer-memory-bytes": "Maksimalus kliento buferio dydis baitais", "min-buffer-memory-message": "Leidžiama tik minimali 0 buferio dydžio reikšmė.", "memory-buffer-size-range": "Atminties buferio dydis turi būti nuo 0 iki {{max}} KB", - "acks": "Patvirtinimų skaičius (ACKs)", + "acks": "Patvirtinimų skaičius", "topic-arn-pattern": "Temos ARN šablonas", "topic-arn-pattern-required": "Temos ARN šablonas yra privalomas", - "aws-access-key-id": "AWS prieigos rakto ID (Access Key ID)", + "aws-access-key-id": "AWS prieigos rakto ID", "aws-access-key-id-required": "AWS prieigos rakto ID yra privalomas", - "aws-secret-access-key": "AWS slaptasis prieigos raktas (Secret Access Key)", + "aws-secret-access-key": "AWS slaptasis prieigos raktas", "aws-secret-access-key-required": "AWS slaptasis prieigos raktas yra privalomas", "aws-region": "AWS regionas", "aws-region-required": "AWS regionas yra privalomas", - "exchange-name-pattern": "Mainų (Exchange) pavadinimo šablonas", - "routing-key-pattern": "Maršruto rakto (Routing key) šablonas", - "message-properties": "Pranešimo savybės", - "host": "Serveris (Host)", + "exchange-name-pattern": "Mainų pavadinimo šablonas", + "routing-key-pattern": "Maršruto rakto šablonas", + "message-properties": "Žinutės savybės", + "host": "Serveris", "host-required": "Serverio adresas yra privalomas", - "port": "Prievadas (Port)", + "port": "Prievadas", "port-required": "Prievadas yra privalomas", "port-range": "Prievadas turi būti nuo 1 iki 65535.", - "virtual-host": "Virtualus serveris (Virtual host)", - "username": "Vartotojo vardas", + "virtual-host": "Virtualus serveris", + "username": "Naudotojo vardas", "password": "Slaptažodis", "automatic-recovery": "Automatinis atkūrimas", "connection-timeout-ms": "Prisijungimo laiko limitas (ms)", "min-connection-timeout-ms-message": "Leidžiama tik minimali 0 ms reikšmė.", - "handshake-timeout-ms": "Rankos paspaudimo (Handshake) laiko limitas (ms)", + "handshake-timeout-ms": "Rankos paspaudimo laiko limitas (ms)", "min-handshake-timeout-ms-message": "Leidžiama tik minimali 0 ms reikšmė.", "client-properties": "Kliento savybės", - "queue-url-pattern": "Eilės (Queue) URL šablonas", + "client-properties-empty": "Nesukonfigūruota jokių kliento savybių", + "queue-url-pattern": "Eilės URL šablonas", "queue-url-pattern-required": "Eilės URL šablonas yra privalomas", "delay-seconds": "Vėlinimas (sekundėmis)", "min-delay-seconds-message": "Leidžiama tik minimali 0 sekundžių reikšmė.", @@ -6347,67 +8108,68 @@ "name-required": "Pavadinimas yra privalomas", "queue-type": "Eilės tipas", "sqs-queue-standard": "Standartinė", - "sqs-queue-fifo": "FIFO (First-In-First-Out)", + "sqs-queue-fifo": "FIFO", "gcp-project-id": "GCP projekto ID", "gcp-project-id-required": "GCP projekto ID yra privalomas", - "gcp-service-account-key": "GCP paslaugos paskyros raktas (key file)", + "gcp-service-account-key": "GCP paslaugos paskyros rakto failas", "gcp-service-account-key-required": "GCP paslaugos paskyros raktas yra privalomas", "pubsub-topic-name": "Temos pavadinimas", "pubsub-topic-name-required": "Temos pavadinimas yra privalomas", - "message-attributes": "Pranešimo atributai", - "message-attributes-hint": "Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš pranešimo turinio nurodyti vardų/vertės laukuose", - "connect-timeout": "Prisijungimo laiko limitas (sekundėmis)", + "message-attributes": "Žinutės atributai", + "message-attributes-empty": "Nesukonfigūruota jokių žinutės atributų", + "message-attributes-hint": "Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš žinutės turinio pavadinimo ir reikšmės laukuose", + "connect-timeout": "Prisijungimo laiko limitas (sek.)", "connect-timeout-required": "Prisijungimo laiko limitas yra privalomas.", "connect-timeout-range": "Prisijungimo laiko limitas turi būti nuo 1 iki 200.", "client-id": "Kliento ID", - "client-id-hint": "Nebūtina. Palikite tuščią, jei ID generuojamas automatiškai. Nurodydami konkretų Client ID būkite atsargūs — dauguma MQTT brokerių neleidžia kelių jungčių su tuo pačiu ID. Jei platforma veikia mikroservisų režimu, kiekvienas servisas paleidžia atskirą šio mazgo (rule node) egzempliorių, todėl dubliuoti ID gali sukelti klaidų. Kad to išvengtumėte, įjunkite „Pridėti paslaugos ID kaip priesagą prie kliento ID“.", + "client-id-hint": "Nebūtina. Palikite tuščią, jei ID generuojamas automatiškai. Nurodydami konkretų kliento ID būkite atsargūs — dauguma MQTT brokerių neleidžia kelių jungčių su tuo pačiu ID. Norint prisijungti prie tokių brokerių, jūsų MQTT kliento ID turi būti unikalus. Jei platforma veikia mikroservisų režimu, kiekvienas servisas paleidžia atskirą šio taisyklių mazgo egzempliorių, todėl dubliuoti ID gali sukelti klaidų. Kad to išvengtumėte, įjunkite „Pridėti paslaugos ID kaip priesagą prie kliento ID“.", "append-client-id-suffix": "Pridėti paslaugos ID kaip priesagą prie kliento ID", - "client-id-suffix-hint": "Nebūtina. Naudojama, kai „Client ID“ nurodytas rankiniu būdu. Pridėjus paslaugos ID kaip priesagą, išvengiama klaidų mikroservisų architektūroje.", + "client-id-suffix-hint": "Nebūtina. Taikoma, kai „Kliento ID“ nurodytas rankiniu būdu. Pažymėjus, prie kliento ID kaip priesaga bus pridėtas paslaugos ID. Padeda išvengti klaidų, kai platforma veikia mikroservisų režimu.", "device-id": "Įrenginio ID", "device-id-required": "Įrenginio ID yra privalomas.", - "clean-session": "Švari sesija (Clean session)", + "clean-session": "Švari sesija", "enable-ssl": "Įjungti SSL", - "credentials": "Autentifikacijos duomenys", - "credentials-type": "Autentifikacijos tipas", - "credentials-type-required": "Autentifikacijos tipas yra privalomas.", + "credentials": "Prisijungimo duomenys", + "credentials-type": "Prisijungimo duomenų tipas", + "credentials-type-required": "Prisijungimo duomenų tipas yra privalomas.", "credentials-anonymous": "Anoniminis", - "credentials-basic": "Paprastas (Basic)", + "credentials-basic": "Paprastas", "credentials-pem": "PEM sertifikatai", - "credentials-pem-hint": "Reikalingas bent Serverio CA sertifikatas arba Kliento sertifikato ir privačiojo rakto pora", - "credentials-sas": "Bendro prieigos parašo (Shared Access Signature)", - "secret-placeholder-hint": "Galite įterpti paslaptį naudodami vietos rezervaciją (placeholder) ${secret:name;type:TYPE}, kur 'name' – paslapties identifikatorius, o 'type' – TEXT arba TEXT_FILE. Tai naudinga laukuose, kurie tiesiogiai nepalaiko 'Use Secret'. Pavyzdys: ${secret:Header;type:TEXT}", + "credentials-pem-hint": "Reikalingas bent serverio CA sertifikatas arba kliento sertifikato ir privačiojo rakto pora", + "credentials-sas": "Shared Access Signature", + "secret-placeholder-hint": "Galite įterpti paslaptį naudodami vietos rezervavimo ženklą ${secret:name;type:TYPE}, kur 'name' – paslapties identifikatorius, o 'type' – TEXT arba TEXT_FILE. Tai naudinga taisyklių mazgų konfigūracijos laukuose, kurie tiesiogiai nepalaiko parinkties „Naudoti paslaptį“. Pavyzdys: ${secret:Header;type:TEXT}", "sas-key": "SAS raktas", "sas-key-required": "SAS raktas yra privalomas.", - "hostname": "Serverio pavadinimas (Hostname)", + "hostname": "Serverio pavadinimas", "hostname-required": "Serverio pavadinimas yra privalomas.", "azure-ca-cert": "CA sertifikato failas", - "username-required": "Vartotojo vardas yra privalomas.", + "username-required": "Naudotojo vardas yra privalomas.", "password-required": "Slaptažodis yra privalomas.", "ca-cert": "Serverio CA sertifikato failas", "private-key": "Kliento privataus rakto failas", "cert": "Kliento sertifikato failas", "no-file": "Failas nepasirinktas.", - "drop-file": "Nutempkite failą arba spustelėkite, kad pasirinktumėte failą įkėlimui.", + "drop-file": "Nuvilkite failą arba spustelėkite, kad pasirinktumėte failą, kurį norite įkelti.", "private-key-password": "Privataus rakto slaptažodis", "use-system-smtp-settings": "Naudoti sistemos SMTP nustatymus", "use-metadata-dynamic-interval": "Naudoti dinaminį intervalą", - "metadata-dynamic-interval-hint": "Intervalo pradžios ir pabaigos laukai palaiko šablonizaciją (templatization). Pakeistos reikšmės turi būti milisekundėmis. Naudokite $[messageKey] reikšmei iš pranešimo ir ${metadataKey} reikšmei iš metaduomenų.", - "use-metadata-interval-patterns-hint": "Jei pasirinkta, mazgas (rule node) naudos pradžios ir pabaigos intervalo šablonus iš pranešimo duomenų arba metaduomenų, manydamas, kad intervalai yra milisekundėmis.", - "use-message-alarm-data": "Naudoti pranešimo pavojaus (alarm) duomenis", - "overwrite-alarm-details": "Perrašyti pavojaus detales", - "use-alarm-severity-pattern": "Naudoti pavojaus svarbos (severity) šabloną", + "metadata-dynamic-interval-hint": "Intervalo pradžios ir pabaigos laukai palaiko šablonizaciją. Pakeistos šablono reikšmės turi būti nurodytos milisekundėmis. Naudokite $[messageKey] reikšmei iš žinutės ir ${metadataKey} reikšmei iš metaduomenų gauti.", + "use-metadata-interval-patterns-hint": "Jei pasirinkta, taisyklių mazgas naudos pradžios ir pabaigos intervalo šablonus iš žinutės metaduomenų arba duomenų, laikydamas, kad intervalai yra milisekundėmis.", + "use-message-alarm-data": "Naudoti žinutės įspėjimo duomenis", + "overwrite-alarm-details": "Perrašyti įspėjimo informaciją", + "use-alarm-severity-pattern": "Naudoti įspėjimo svarbos šabloną", "check-all-keys": "Patikrinti, ar visi nurodyti laukai egzistuoja", - "check-all-keys-hint": "Jei pasirinkta, tikrina, ar visi nurodyti raktai yra pranešimo duomenyse ir metaduomenyse.", - "check-relation-to-specific-entity": "Tikrinti ryšį su konkrečiu objektu", - "check-relation-to-specific-entity-tooltip": "Jei įjungta, tikrinamas ryšio buvimas su konkrečiu objektu, kitu atveju – su bet kuriuo objektu. Abiem atvejais ryšys nustatomas pagal kryptį ir tipą.", - "check-relation-hint": "Tikrina ryšio buvimą su konkrečiu ar bet kuriuo objektu, atsižvelgiant į kryptį ir ryšio tipą.", - "delete-relation-with-specific-entity": "Pašalinti ryšį su konkrečiu objektu", - "delete-relation-with-specific-entity-hint": "Jei įjungta, bus pašalintas tik ryšys su vienu konkrečiu objektu. Kitu atveju, ryšys bus pašalintas su visais atitinkančiais objektais.", - "delete-relation-hint": "Pašalina ryšį tarp pranešimo kilmės (originator) ir nurodyto objekto (-ų), remiantis kryptimi ir tipu.", + "check-all-keys-hint": "Jei pasirinkta, tikrina, ar visi nurodyti raktai yra žinutės duomenyse ir metaduomenyse.", + "check-relation-to-specific-entity": "Tikrinti ryšį su konkrečiu subjektu", + "check-relation-to-specific-entity-tooltip": "Jei įjungta, tikrinamas ryšio buvimas su konkrečiu subjektu, kitu atveju – su bet kuriuo subjektu. Abiem atvejais ryšys nustatomas pagal kryptį ir tipą.", + "check-relation-hint": "Tikrina ryšio buvimą su konkrečiu ar bet kuriuo subjektu, atsižvelgiant į kryptį ir ryšio tipą.", + "delete-relation-with-specific-entity": "Ištrinti ryšį su konkrečiu subjektu", + "delete-relation-with-specific-entity-hint": "Jei įjungta, bus ištrintas tik ryšys su vienu konkrečiu subjektu. Kitu atveju, ryšys bus pašalintas su visais atitinkančiais subjektais.", + "delete-relation-hint": "Ištrina ryšį tarp gaunamos žinutės siuntėjo ir nurodyto subjekto ar subjektų sąrašo, atsižvelgiant į kryptį ir tipą.", "remove-current-relations": "Pašalinti esamus ryšius", - "remove-current-relations-hint": "Pašalina esamus ryšius iš pranešimo kilmės (originator) pagal kryptį ir tipą.", - "change-originator-to-related-entity": "Pakeisti pranešimo kilmę į susijusį objektą", - "change-originator-to-related-entity-hint": "Naudojama, kad pranešimas būtų apdorojamas kaip gautas iš kito objekto.", + "remove-current-relations-hint": "Pašalina esamus gaunamos žinutės siuntėjo ryšius pagal kryptį ir tipą.", + "change-originator-to-related-entity": "Pakeisti siuntėją į susijusį subjektą", + "change-originator-to-related-entity-hint": "Naudojama, kad žinutė būtų apdorojama kaip gauta iš kito subjekto.", "start-interval": "Intervalo pradžia", "end-interval": "Intervalo pabaiga", "start-interval-required": "Intervalo pradžia yra privaloma.", @@ -6416,46 +8178,47 @@ "smtp-host": "SMTP serveris", "smtp-host-required": "SMTP serveris yra privalomas.", "smtp-port": "SMTP prievadas", - "smtp-port-required": "Reikia nurodyti SMTP prievadą.", + "smtp-port-required": "Turite nurodyti SMTP prievadą.", "smtp-port-range": "SMTP prievadas turi būti nuo 1 iki 65535.", "timeout-msec": "Laiko limitas (ms)", "min-timeout-msec-message": "Leidžiama tik minimali 0 ms reikšmė.", - "enter-username": "Įveskite vartotojo vardą", + "enter-username": "Įveskite naudotojo vardą", "enter-password": "Įveskite slaptažodį", "enable-tls": "Įjungti TLS", "group-name-pattern": "Grupės pavadinimo šablonas", "group-name-pattern-required": "Grupės pavadinimo šablonas yra privalomas", "create-group-if-not-exists": "Sukurti naują grupę, jei neegzistuoja", - "group-cache-expiration": "Grupių talpyklos galiojimo laikas (sekundėmis)", + "group-cache-expiration": "Grupių talpyklos galiojimo laikas (sek.)", "group-cache-expiration-required": "Grupių talpyklos galiojimo laikas yra privalomas.", "group-cache-expiration-range": "Grupių talpyklos galiojimo laikas turi būti lygus arba didesnis nei 0.", - "group-cache-expiration-hint": "Nurodo maksimalų laikotarpį, kiek saugomi rasti grupių įrašai. 0 reikšmė reiškia, kad įrašai niekada nesibaigs (nepasibaigs galiojimas).", + "group-cache-expiration-hint": "Nurodo maksimalų laikotarpį, kiek saugomi rasti subjektų grupių įrašai. Reikšmė 0 reiškia, kad įrašų galiojimas niekada nesibaigs.", "remove-from-current-groups": "Pašalinti iš dabartinių grupių", - "use-report-config-from-message": "Naudoti ataskaitos konfigūraciją iš pranešimo", + "use-report-config-from-message": "Naudoti ataskaitos konfigūraciją iš žinutės", + "use-report-config-from-message-hint": "Jei įjungta, taisyklių mazgas gaus ataskaitos generavimo konfigūraciją iš įeinančios žinutės; kitu atveju naudojama toliau nurodyta konfigūracija.", "use-system-reports-server": "Naudoti sistemos ataskaitų serverį", - "reports-server-endpoint-url": "Ataskaitų serverio galinis taškas (Endpoint URL)", - "reports-server-endpoint-url-is-required": "Ataskaitų serverio galinis taškas yra privalomas.", + "use-system-reports-server-hint": "Jei įjungta, taisyklių mazgas naudos ataskaitų serverio galinio taško URL iš sistemos konfigūracijos; kitu atveju naudojamas toliau nurodytas URL.", + "reports-server-endpoint-url": "Ataskaitų serverio galinio taško URL", + "reports-server-endpoint-url-is-required": "Ataskaitų serverio galinio taško URL yra privalomas.", "tls-version": "TLS versija", - "enable-proxy": "Įjungti tarpiklį (Proxy)", - "use-system-proxy-properties": "Naudoti sistemos tarpiklio nustatymus", - "proxy-host": "Tarpiklio serveris (Proxy host)", - "proxy-host-required": "Tarpiklio serveris yra privalomas.", - "proxy-port": "Tarpiklio prievadas (Proxy port)", - "proxy-port-required": "Tarpiklio prievadas yra privalomas.", - "proxy-port-range": "Tarpiklio prievadas turi būti nuo 1 iki 65535.", - "proxy-user": "Tarpiklio vartotojas", - "proxy-password": "Tarpiklio slaptažodis", - "proxy-scheme": "Tarpiklio schema (Proxy scheme)", + "enable-proxy": "Įjungti proxy", + "use-system-proxy-properties": "Naudoti sistemos proxy nustatymus", + "proxy-host": "Proxy serveris", + "proxy-host-required": "Proxy serveris yra privalomas.", + "proxy-port": "Proxy prievadas", + "proxy-port-required": "Proxy prievadas yra privalomas.", + "proxy-port-range": "Proxy prievadas turi būti nuo 1 iki 65535.", + "proxy-user": "Proxy naudotojas", + "proxy-password": "Proxy slaptažodis", "numbers-to-template": "Telefono numerių šablonas", "numbers-to-template-required": "Telefono numerių šablonas yra privalomas", - "numbers-to-template-hint": "Telefono numerius atskirkite kableliais. Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš pranešimo turinio.", + "numbers-to-template-hint": "Telefono numerius atskirkite kableliais. Naudokite ${metadataKey} reikšmėms iš metaduomenų ir $[messageKey] reikšmėms iš žinutės turinio", "sms-message-template": "SMS žinutės šablonas", "sms-message-template-required": "SMS žinutės šablonas yra privalomas", - "use-system-sms-settings": "Naudoti sistemos SMS paslaugų teikėjo nustatymus", + "use-system-sms-settings": "Naudoti sistemos SMS tiekėjo nustatymus", "min-period-0-seconds-message": "Leidžiamas tik minimalus 0 sekundžių periodas.", - "max-pending-messages": "Maksimalus laukiančių pranešimų skaičius", - "max-pending-messages-required": "Maksimalus laukiančių pranešimų skaičius yra privalomas.", - "max-pending-messages-range": "Maksimalus laukiančių pranešimų skaičius turi būti nuo 1 iki 100000.", + "max-pending-messages": "Maksimalus laukiančių žinučių skaičius", + "max-pending-messages-required": "Maksimalus laukiančių žinučių skaičius yra privalomas.", + "max-pending-messages-range": "Maksimalus laukiančių žinučių skaičius turi būti nuo 1 iki 100000.", "aggregation": "Agregavimas", "math-function": "Agregavimo funkcija", "func-min": "Minimumas", @@ -6468,12 +8231,12 @@ "agg-interval-value-required": "Agregavimo intervalo reikšmė yra privaloma.", "agg-interval-time-unit": "Agregavimo intervalo laiko vienetas", "auto-create-intervals": "Kurti intervalus automatiškai", - "interval-entities": "Intervalo objektai", + "interval-entities": "Intervalo subjektai", "interval-persistence": "Intervalo išsaugojimas", "interval-persistence-policy": "Intervalo išsaugojimo politika", "interval-persist-policy-on-each-check": "Kiekvieno patikrinimo metu", - "interval-persist-policy-on-each-check-after-interval-end": "Po kiekvieno patikrinimo, kai intervalas baigiasi", - "interval-persist-policy-on-each-message": "Kiekvieno pranešimo metu", + "interval-persist-policy-on-each-check-after-interval-end": "Kiekvieno patikrinimo metu pasibaigus intervalui", + "interval-persist-policy-on-each-message": "Su kiekviena žinute", "interval-check-value": "Intervalo tikrinimo reikšmė", "interval-check-value-required": "Intervalo tikrinimo reikšmė yra privaloma.", "interval-check-time-unit": "Intervalo tikrinimo laiko vienetas", @@ -6487,15 +8250,15 @@ "state-persistence-value": "Būsenos išsaugojimo reikšmė", "state-persistence-value-required": "Būsenos išsaugojimo reikšmė yra privaloma.", "state-persistence-time-unit": "Būsenos išsaugojimo laiko vienetas", - "target-entity-group": "Tikslinė objektų grupė", - "entity-group-is-message-originator": "Objektų grupė yra pranešimo siuntėjas (originatorius)", - "originator-types-filter": "Siuntėjų (originatorių) tipų filtras", - "single-entity": "Vienas objektas", - "group-of-entities": "Objektų grupė", - "entities": "Objektai", - "root-entity": "Pagrindinis objektas", - "child-entities-query": "Dukterinių objektų užklausa", - "child-entities": "Dukteriniai objektai", + "target-entity-group": "Tikslinė subjektų grupė", + "entity-group-is-message-originator": "Subjektų grupė yra žinutės siuntėjas", + "originator-types-filter": "Siuntėjų tipų filtras", + "single-entity": "Vienas subjektas", + "group-of-entities": "Subjektų grupė", + "entities": "Subjektai", + "root-entity": "Pagrindinis subjektas", + "child-entities-query": "Dukterinių subjektų užklausa", + "child-entities": "Dukteriniai subjektai", "execution-period-value": "Vykdymo periodo reikšmė", "execution-period-value-required": "Vykdymo periodo reikšmė yra privaloma.", "execution-period-time-unit": "Vykdymo periodo laiko vienetas", @@ -6505,32 +8268,32 @@ "remove-mapping": "Pašalinti susiejimą", "add-mapping": "Pridėti susiejimą", "add-mapping-prompt": "Pridėkite susiejimą", - "attribute-scope": "Atributo sritis", + "attribute-scope": "Atributo taikymo sritis", "default-value": "Numatytoji reikšmė", "default-value-required": "Numatytoji reikšmė yra privaloma.", "target-telemetry": "Tikslinė telemetrija", "target-telemetry-required": "Tikslinė telemetrija yra privaloma.", - "filter-entities": "Filtruoti objektus", - "entity-filter": "Objektų filtras", - "fetch-entity-attributes": "Gauti objekto atributus", - "count-alarms-for-child-entities": "Skaičiuoti pavojaus signalus dukteriniams objektams", - "count-alarms-for-propagation-entities": "Skaičiuoti pavojaus signalus perduotiems objektams", - "alarms-count-mappings": "Pavojaus signalų skaičiavimo susiejimai", - "propagation-entity-types": "Perduodamų objektų tipai", - "propagation-entity-types-info": "Jei pasirinkti perduodamų objektų tipai, perduoti objektai bus filtruojami pagal pasirinktus tipus, kitu atveju filtravimas nebus taikomas.", - "count-alarms-for-propagation-entities-info": "Jei įjungta, bus skaičiuojami pavojaus signalai ne tik pradinio objekto, bet ir visų perduotų objektų.", + "filter-entities": "Filtruoti subjektus", + "entity-filter": "Subjektų filtras", + "fetch-entity-attributes": "Gauti subjekto atributus", + "count-alarms-for-child-entities": "Skaičiuoti įspėjimus dukteriniams subjektams", + "count-alarms-for-propagation-entities": "Skaičiuoti įspėjimus perduotiems subjektams", + "alarms-count-mappings": "Įspėjimų skaičiavimo susiejimai", + "propagation-entity-types": "Perdavimo subjektų tipai", + "propagation-entity-types-info": "Jei pasirinkti perdavimo subjektų tipai, subjektai, kuriems perduodamas įspėjimas, bus filtruojami pagal pasirinktus tipus, kitu atveju filtravimas nebus taikomas.", + "count-alarms-for-propagation-entities-info": "Jei įjungta, įspėjimai bus skaičiuojami ne tik įspėjimo siuntėjui, bet ir visiems subjektams, kuriems jis perduotas.", "and": "ir", - "all-alarms": "Visi pavojaus signalai", - "for": "už", + "all-alarms": "Visi įspėjimai", + "for": "–", "status-filter": "Būsenos filtras", - "severity-filter": "Svarbos (severity) filtras", + "severity-filter": "Svarbos filtras", "type-filter": "Tipo filtras", "all-statuses": "Visos būsenos", - "all-severities": "Visos svarbos", + "all-severities": "Visi svarbos lygiai", "all-types": "Visi tipai", - "add-alarm-status": "+Pavojaus būsena", - "add-alarm-severity": "+Pavojaus svarba", - "add-alarm-type": "+Pavojaus tipas", + "add-alarm-status": "+Įspėjimo būsena", + "add-alarm-severity": "+Įspėjimo svarba", + "add-alarm-type": "+Įspėjimo tipas", "specify-interval": "Nurodyti intervalą", "interval-seconds": "Intervalas sekundėmis", "interval-seconds-required": "Intervalas yra privalomas.", @@ -6545,14 +8308,14 @@ "create-owner-if-not-exists": "Sukurti naują klientą, jei jis neegzistuoja", "create-owner-if-not-exists-hint": "Jei įjungta ir klientas su nurodytu pavadinimu neegzistuoja, taisyklių mazgas sukurs naują aukščiausio lygio klientą.", "create-new-customer-if-not-exists-hint": "Jei įjungta ir klientas su nurodytu pavadinimu neegzistuoja, taisyklių mazgas sukurs naują klientą.", - "create-owner-on-originator-level": "Sukurti naują klientą to paties lygio kaip pranešimo siuntėjas", - "create-owner-on-originator-level-hint": "Jei įjungta ir siuntėjo savininkas yra nuomininkas, bus sukurtas aukščiausio lygio klientas. Jei siuntėjo savininkas yra klientas, bus sukurtas jo sub-klientas.", + "create-owner-on-originator-level": "Sukurti naują klientą to paties lygio kaip žinutės siuntėjas", + "create-owner-on-originator-level-hint": "Jei įjungta ir siuntėjo savininkas yra nuomininkas, bus sukurtas aukščiausio lygio klientas. Jei siuntėjo savininkas yra klientas, bus sukurtas jo subklientas.", "owner-cache-expiration": "Savininkų talpyklos galiojimo laikas (sek.)", "owner-cache-expiration-required": "Savininkų talpyklos galiojimo laikas yra privalomas.", "owner-cache-expiration-range": "Savininkų talpyklos galiojimo laikas turi būti lygus arba didesnis nei 0.", - "owner-cache-expiration-hint": "Nurodo maksimalų laikotarpį, kiek galima saugoti rastus savininkų įrašus. 0 reikšmė reiškia, kad įrašai niekada nesibaigs.", - "select-details": "Pasirinkti detales", - "entity-details-id": "Id", + "owner-cache-expiration-hint": "Nurodo maksimalų laikotarpį, kiek galima saugoti rastus savininkų įrašus. Reikšmė 0 reiškia, kad įrašų galiojimas niekada nesibaigs.", + "select-details": "Pasirinkti informaciją", + "entity-details-id": "ID", "entity-details-title": "Pavadinimas", "entity-details-country": "Šalis", "entity-details-state": "Valstija / regionas", @@ -6565,18 +8328,18 @@ "entity-details-email": "El. paštas", "email-sender": "El. pašto siuntėjas", "fields-to-check": "Laukai, kuriuos reikia patikrinti", - "add-detail": "Pridėti detalę", - "check-all-keys-tooltip": "Jei įjungta, tikrina, ar visi pranešime ir metaduomenyse nurodyti laukai yra pranešime.", + "add-detail": "Pridėti informacijos lauką", + "check-all-keys-tooltip": "Jei įjungta, tikrina, ar visi žinutės ir metaduomenų laukų pavadinimuose nurodyti laukai yra gaunamoje žinutėje ir jos metaduomenyse.", "fields-to-check-hint": "Paspauskite „Enter“, kad užbaigtumėte lauko įvedimą. Palaikomi keli laukų pavadinimai.", - "entity-details-list-empty": "Reikia pasirinkti bent vieną detalę.", - "alarm-status": "Pavojaus būsena", - "alarm-required": "Turi būti pasirinkta bent viena pavojaus būsena.", - "no-entity-details-matching": "Nerasta atitinkančių objektų detalių.", + "entity-details-list-empty": "Reikia pasirinkti bent vieną informacijos lauką.", + "alarm-status": "Įspėjimo būsena", + "alarm-required": "Turi būti pasirinkta bent viena įspėjimo būsena.", + "no-entity-details-matching": "Nerasta atitinkančios subjekto informacijos.", "custom-table-name": "Individualios lentelės pavadinimas", "custom-table-name-required": "Lentelės pavadinimas yra privalomas", - "custom-table-hint": "Lentelė turi būti sukurta jūsų Cassandra klasteryje, jos pavadinimas turi prasidėti prefiksu „cs_tb_“, kad duomenys nebūtų įrašyti į bendras TB lenteles. Įveskite lentelės pavadinimą be „cs_tb_“ prefikso.", - "message-field": "Pranešimo laukas", - "message-field-required": "Pranešimo laukas yra privalomas.", + "custom-table-hint": "Lentelė turi būti sukurta jūsų Cassandra klasteryje, jos pavadinimas turi prasidėti priešdėliu „cs_tb_“, kad duomenys nebūtų įrašyti į bendras TB lenteles. Įveskite lentelės pavadinimą be „cs_tb_“ priešdėlio.", + "message-field": "Žinutės laukas", + "message-field-required": "Žinutės laukas yra privalomas.", "table-col": "Lentelės stulpelis", "table-col-required": "Lentelės stulpelis yra privalomas.", "latitude-field-name": "Platumos lauko pavadinimas", @@ -6584,7 +8347,7 @@ "latitude-field-name-required": "Platumos lauko pavadinimas yra privalomas.", "longitude-field-name-required": "Ilgumos lauko pavadinimas yra privalomas.", "fetch-perimeter-info-from-metadata": "Gauti perimetro informaciją iš metaduomenų", - "fetch-perimeter-info-from-metadata-tooltip": "Jei perimetro tipas nustatytas kaip „Poligonas“, metaduomenų lauko '{{perimeterKeyName}}' reikšmė bus naudojama kaip perimetro apibrėžimas be papildomo reikšmės apdorojimo. Priešingu atveju, jei perimetro tipas nustatytas kaip „Apskritimas“, '{{perimeterKeyName}}' metaduomenų lauko reikšmė bus išanalizuota, kad būtų išgauti 'latitude', 'longitude', 'radius', 'radiusUnit' laukai, naudojami apskritimo perimetro apibrėžimui.", + "fetch-perimeter-info-from-metadata-tooltip": "Jei perimetro tipas nustatytas kaip „Poligonas“, metaduomenų lauko „{{perimeterKeyName}}“ reikšmė bus naudojama kaip perimetro apibrėžimas be papildomo reikšmės apdorojimo. Priešingu atveju, jei perimetro tipas nustatytas kaip „Apskritimas“, „{{perimeterKeyName}}“ metaduomenų lauko reikšmė bus išanalizuota, kad būtų išgauti 'latitude', 'longitude', 'radius', 'radiusUnit' laukai, naudojami apskritimo perimetro apibrėžimui.", "perimeter-key-name": "Perimetro rakto pavadinimas", "perimeter-key-name-hint": "Metaduomenų lauko pavadinimas, kuriame yra perimetro informacija.", "perimeter-key-name-required": "Perimetro rakto pavadinimas yra privalomas.", @@ -6609,21 +8372,21 @@ "polygon-definition-hint": "Naudokite šį formatą rankiniam poligono apibrėžimui: [[lat1,lon1],[lat2,lon2], ... ,[latN,lonN]].", "min-inside-duration": "Minimalus buvimo viduje laikas", "min-inside-duration-value-required": "Minimalus buvimo viduje laikas yra privalomas", - "min-inside-duration-time-unit": "Minimalus buvimo viduje laiko vienetas", + "min-inside-duration-time-unit": "Minimalaus buvimo viduje laiko vienetas", "min-outside-duration": "Minimalus buvimo išorėje laikas", "min-outside-duration-value-required": "Minimalus buvimo išorėje laikas yra privalomas", - "min-outside-duration-time-unit": "Minimalus buvimo išorėje laiko vienetas", + "min-outside-duration-time-unit": "Minimalaus buvimo išorėje laiko vienetas", "tell-failure-if-absent": "Pranešti apie klaidą", - "tell-failure-if-absent-hint": "Jei bent vienas pasirinktas raktas neegzistuoja, siunčiama žinutė praneš apie „Klaida“.", + "tell-failure-if-absent-hint": "Jei bent vienas pasirinktas raktas neegzistuoja, siunčiama žinutė bus perduota ryšiu „Failure“.", "get-latest-value-with-ts": "Gauti naujausias telemetrijos reikšmes su laiko žyma", "get-latest-value-with-ts-hint": "Jei pasirinkta, naujausios telemetrijos reikšmės taip pat turės laiko žymą, pvz.: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", "ignore-null-strings": "Ignoruoti tuščias eilutes", - "ignore-null-strings-hint": "Jei pasirinkta, taisyklės mazgas ignoruos objektų laukus su tuščia reikšme.", + "ignore-null-strings-hint": "Jei pasirinkta, taisyklių mazgas ignoruos subjektų laukus su tuščia reikšme.", "aggregate-interval-type": "Agregavimo intervalo tipas", "aggregate-period-hour": "Valanda", "aggregate-period-day": "Diena", - "aggregate-period-week": "Savaitė (Pir – Sek)", - "aggregate-period-week-sun-sat": "Savaitė (Sek – Šeš)", + "aggregate-period-week": "Savaitė (Pr – Sk)", + "aggregate-period-week-sun-sat": "Savaitė (Sk – Št)", "aggregate-period-month": "Mėnuo", "aggregate-period-year": "Metai", "aggregate-period-custom": "Pasirinktinis", @@ -6638,41 +8401,41 @@ "charset-utf-16le": "UTF-16LE", "charset-utf-16": "UTF-16", "select-queue-hint": "Eilės pavadinimą galima pasirinkti iš sąrašo arba įvesti rankiniu būdu.", - "device-profile-node-hint": "Naudinga, jei turite trukmės ar pasikartojančias sąlygas, kad būtų užtikrintas aliarmo būsenos vertinimo tęstinumas.", - "persist-alarm-rules": "Išsaugoti aliarmo taisyklių būseną", + "device-profile-node-hint": "Naudinga, jei turite trukmės ar pasikartojančias sąlygas, kad būtų užtikrintas įspėjimo būsenos vertinimo tęstinumas.", + "persist-alarm-rules": "Išsaugoti įspėjimo taisyklių būseną", "persist-alarm-rules-hint": "Jei įjungta, taisyklių mazgas išsaugos apdorojimo būseną duomenų bazėje.", - "fetch-alarm-rules": "Atkurti aliarmo taisyklių būseną", - "fetch-alarm-rules-hint": "Jei įjungta, taisyklių mazgas atkūrimo metu atkurs apdorojimo būseną ir užtikrins, kad aliarmai būtų aktyvuojami net po serverio perkrovimo. Priešingu atveju būsena bus atkurta, kai atvyks pirmoji žinutė iš įrenginio.", - "round": "Skaičių po kablelio kiekis", - "round-range": "Skaičių po kablelio kiekis turi būti nuo 0 iki 15.", + "fetch-alarm-rules": "Atkurti įspėjimo taisyklių būseną", + "fetch-alarm-rules-hint": "Jei įjungta, taisyklių mazgas inicijavimo metu atkurs apdorojimo būseną ir užtikrins, kad įspėjimai būtų aktyvuojami net po serverio perkrovimo. Priešingu atveju būsena bus atkurta, kai atvyks pirmoji žinutė iš įrenginio.", + "round": "Skaitmenys po kablelio", + "round-range": "Skaitmenų po kablelio skaičius turi būti nuo 0 iki 15.", "use-cache": "Naudoti talpyklą naujausiai reikšmei", "tell-failure-if-delta-is-negative": "Pranešti apie klaidą, jei delta yra neigiama", "add-period-between-msgs": "Pridėti laikotarpį tarp žinučių", - "search-entity-group-for-tenant-only": "Ieškoti objektų grupės tik Nuomininko lygyje", - "consider-message-originator-as-a-group-owner": "Laikyti pranešimo siuntėją grupės savininku", - "consider-message-originator-as-a-group-owner-hint": "Pagal numatymą grupės paieška pradedama nuo to paties lygio kaip ir pranešimo siuntėjo savininko bei kylama iki nuomininko lygio, jei grupė nerasta. Jei įjungta ir siuntėjas yra Nuomininkas arba Klientas, paieška pradedama nuo siuntėjo lygio.", + "search-entity-group-for-tenant-only": "Ieškoti subjektų grupės tik nuomininko lygiu", + "consider-message-originator-as-a-group-owner": "Laikyti žinutės siuntėją grupės savininku", + "consider-message-originator-as-a-group-owner-hint": "Pagal numatytąją nuostatą grupės paieška pradedama nuo to paties lygio kaip žinutės siuntėjo savininkas ir, jei grupė nerasta, kylama hierarchija iki nuomininko lygio. Jei įjungta ir siuntėjas yra nuomininkas arba klientas, paieška pradedama nuo siuntėjo lygio.", "input-value-key": "Įvesties reikšmės raktas", "input-value-key-required": "Įvesties reikšmės raktas yra privalomas.", "output-value-key": "Išvesties reikšmės raktas", "output-value-key-required": "Išvesties reikšmės raktas yra privalomas.", - "number-of-digits-after-floating-point": "Skaičių kiekis po kablelio", - "number-of-digits-after-floating-point-range": "Skaičių kiekis po kablelio turi būti nuo 0 iki 15.", + "number-of-digits-after-floating-point": "Skaitmenų po kablelio skaičius", + "number-of-digits-after-floating-point-range": "Skaitmenų po kablelio skaičius turi būti nuo 0 iki 15.", "failure-if-delta-negative": "Pranešti apie klaidą, jei delta yra neigiama", - "failure-if-delta-negative-tooltip": "Taisyklių mazgas privers pranešimą žymėti kaip klaidą, jei delta reikšmė neigiama.", - "use-caching": "Naudoti kešavimą", - "use-caching-tooltip": "Taisyklių mazgas kaups \"{{inputValueKey}}\" reikšmę iš gaunamos žinutės, kad pagerintų našumą. Atkreipkite dėmesį, kad kešas nebus atnaujintas, jei reikšmė bus pakeista kitur.", - "add-time-difference-between-readings": "Pridėti laiko skirtumą tarp \"{{inputValueKey}}\" nuskaitymų", - "add-time-difference-between-readings-tooltip": "Jei įjungta, taisyklių mazgas pridės \"{{periodValueKey}}\" prie siunčiamos žinutės.", + "failure-if-delta-negative-tooltip": "Taisyklių mazgas priverstinai baigs žinutės apdorojimą nesėkme, jei delta reikšmė neigiama.", + "use-caching": "Naudoti talpyklą", + "use-caching-tooltip": "Taisyklių mazgas laikys gaunamos žinutės „{{inputValueKey}}“ reikšmę talpykloje, kad pagerintų našumą. Atkreipkite dėmesį, kad talpykla nebus atnaujinta, jei „{{inputValueKey}}“ reikšmę pakeisite kitur.", + "add-time-difference-between-readings": "Pridėti laiko skirtumą tarp „{{inputValueKey}}“ nuskaitymų", + "add-time-difference-between-readings-tooltip": "Jei įjungta, taisyklių mazgas pridės „{{periodValueKey}}“ prie siunčiamos žinutės.", "period-value-key": "Laikotarpio reikšmės raktas", "period-value-key-required": "Laikotarpio reikšmės raktas yra privalomas.", - "general-pattern-hint": "Naudokite ${metadataKey} reikšmei iš metaduomenų, $[messageKey] reikšmei iš pranešimo kūno.", - "alarm-severity-pattern-hint": "Naudokite ${metadataKey} reikšmei iš metaduomenų, $[messageKey] reikšmei iš pranešimo kūno. Aliarmo rimtumas turi būti sistemos (CRITICAL, MAJOR ir t. t.)", - "output-node-name-hint": "Taisyklių mazgo pavadinimas atitinka pranešimo ryšio tipą ir naudojamas pranešimams perduoti kitiems taisyklių mazgams toje pačioje taisyklių grandinėje.", + "general-pattern-hint": "Naudokite ${metadataKey} reikšmei iš metaduomenų, $[messageKey] reikšmei iš žinutės turinio.", + "alarm-severity-pattern-hint": "Naudokite ${metadataKey} reikšmei iš metaduomenų, $[messageKey] reikšmei iš žinutės turinio. Įspėjimo svarba turi būti sisteminė (CRITICAL, MAJOR ir t. t.)", + "output-node-name-hint": "Taisyklių mazgo pavadinimas atitinka išvesties žinutės ryšio tipą ir naudojamas žinutėms perduoti kitiems taisyklių mazgams kviečiančioje taisyklių grandinėje.", "use-server-ts": "Naudoti serverio laiko žymą", "use-server-ts-hint": "Naudoti serverio dabartinę laiko žymą laiko eilučių duomenims, kurie neturi aiškios laiko žymos. Tai padeda išlaikyti teisingą eiliškumą apdorojant žinutes iš kelių šaltinių arba kai jos atvyksta ne iš eilės.", - "kv-map-pattern-hint": "Visi įvesties laukai palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", - "kv-map-single-pattern-hint": "Įvesties laukas palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš pranešimo, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", - "shared-scope": "Bendras taikymo sritis", + "kv-map-pattern-hint": "Visi įvesties laukai palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "kv-map-single-pattern-hint": "Įvesties laukas palaiko šablonizaciją. Naudokite $[messageKey], kad gautumėte reikšmę iš žinutės, ir ${metadataKey}, kad gautumėte reikšmę iš metaduomenų.", + "shared-scope": "Bendrinama taikymo sritis", "server-scope": "Serverio taikymo sritis", "client-scope": "Kliento taikymo sritis", "attribute-type": "Atributas", @@ -6680,15 +8443,15 @@ "attribute-type-result-description": "Išsaugoti rezultatą kaip subjekto atributą duomenų bazėje", "constant-type": "Konstanta", "constant-type-description": "Nustatyti pastovią reikšmę", - "time-series-type": "Laiko eilutė", + "time-series-type": "Laiko eilutės", "time-series-type-description": "Gauti naujausią laiko eilučių reikšmę iš duomenų bazės", "time-series-type-result-description": "Išsaugoti rezultatą kaip subjekto laiko eilutę duomenų bazėje", - "message-body-type": "Pranešimas", - "message-body-type-description": "Gauti argumento reikšmę iš gaunamo pranešimo", - "message-body-type-result-description": "Pridėti rezultatą prie siunčiamo pranešimo", + "message-body-type": "Žinutė", + "message-body-type-description": "Gauti argumento reikšmę iš gaunamos žinutės", + "message-body-type-result-description": "Pridėti rezultatą prie siunčiamos žinutės", "message-metadata-type": "Metaduomenys", - "message-metadata-type-description": "Gauti argumento reikšmę iš gaunamo pranešimo metaduomenų", - "message-metadata-result-description": "Pridėti rezultatą prie siunčiamo pranešimo metaduomenų", + "message-metadata-type-description": "Gauti argumento reikšmę iš gaunamos žinutės metaduomenų", + "message-metadata-result-description": "Pridėti rezultatą prie siunčiamos žinutės metaduomenų", "argument-tile": "Argumentai", "no-arguments-prompt": "Argumentai nesukonfigūruoti", "result-title": "Rezultatas", @@ -6709,13 +8472,13 @@ "add-entity-type": "Pridėti subjekto tipą", "add-device-profile": "Pridėti įrenginio profilį", "key-field-input-required": "Raktas yra privalomas.", - "number-floating-point-field-input": "Skaičių kiekis po kablelio", + "number-floating-point-field-input": "Skaitmenų po kablelio skaičius", "number-floating-point-field-input-hint": "Naudokite 0, kad konvertuotumėte rezultatą į sveiką skaičių", - "add-to-message-field-input": "Pridėti prie pranešimo", + "add-to-message-field-input": "Pridėti prie žinutės", "add-to-metadata-field-input": "Pridėti prie metaduomenų", "custom-expression-field-input": "Matematinė išraiška", "custom-expression-field-input-required": "Matematinė išraiška yra privaloma", - "custom-expression-field-input-hint": "Nurodykite matematinę išraišką įvertinimui. Numatytoji išraiška parodo, kaip konvertuoti Fahrenheit į Celsijų", + "custom-expression-field-input-hint": "Nurodykite matematinę išraišką įvertinimui. Numatytoji išraiška parodo, kaip Farenheito laipsnius konvertuoti į Celsijaus laipsnius", "retained-message": "Išsaugotas", "attributes-mapping": "Atributų susiejimas", "latest-telemetry-mapping": "Naujausios telemetrijos susiejimas", @@ -6729,26 +8492,26 @@ "clear-selected-keys": "Išvalyti pasirinktus raktus", "geofence-configuration": "Geozonos konfigūracija", "coordinate-field-names": "Koordinačių laukų pavadinimai", - "coordinate-field-hint": "Taisyklių mazgas bando gauti nurodytus laukus iš pranešimo. Jei jų nėra, ieškos metaduomenyse.", + "coordinate-field-hint": "Taisyklių mazgas bando gauti nurodytus laukus iš žinutės. Jei jų nėra, ieškos metaduomenyse.", "presence-monitoring-strategy": "Buvimo stebėjimo strategija", "presence-monitoring-strategy-on-first-message": "Pirmoje žinutėje", - "presence-monitoring-strategy-on-each-message": "Kiekvienoje žinutėje", + "presence-monitoring-strategy-on-each-message": "Su kiekviena žinute", "presence-monitoring-strategy-on-first-message-hint": "Praneša buvimo būseną „Viduje“ arba „Išorėje“ pirmoje žinutėje, kai nuo ankstesnio būsenos „Įėjo“ arba „Išėjo“ atnaujinimo praėjo nustatytas minimalus laikas.", "presence-monitoring-strategy-on-each-message-hint": "Praneša buvimo būseną „Viduje“ arba „Išorėje“ kiekvienoje žinutėje po būsenos „Įėjo“ arba „Išėjo“ atnaujinimo.", - "fetch-credentials-to": "Gauti kredencialus į", + "fetch-credentials-to": "Gauti prisijungimo duomenis į", "add-originator-attributes-to": "Pridėti siuntėjo atributus į", "originator-attributes": "Siuntėjo atributai", "fetch-latest-telemetry-with-timestamp": "Gauti naujausią telemetriją su laiko žyma", "fetch-latest-telemetry-with-timestamp-tooltip": "Jei pasirinkta, naujausios telemetrijos reikšmės bus pridėtos prie siunčiamų metaduomenų su laiko žyma, pvz.: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", "tell-failure": "Pranešti apie klaidą, jei trūksta bent vieno atributo", - "tell-failure-tooltip": "Jei bent vienas pasirinktas raktas neegzistuoja, siunčiama žinutė praneš apie „Klaida“.", + "tell-failure-tooltip": "Jei bent vienas pasirinktas raktas neegzistuoja, siunčiama žinutė bus perduota ryšiu „Failure“.", "created-time": "Sukūrimo laikas", - "chip-help": "Paspauskite 'Enter', kad užbaigtumėte {{inputName}} įvedimą.\nPaspauskite 'Backspace', kad ištrintumėte {{inputName}}.\nPalaikomos kelios reikšmės.", + "chip-help": "Paspauskite „Enter“, kad užbaigtumėte įvedimą ({{inputName}}).\nPaspauskite „Backspace“, kad ištrintumėte reikšmę ({{inputName}}).\nPalaikomos kelios reikšmės.", "detail": "informacija", "field-name": "lauko pavadinimas", "device-profile": "įrenginio profilis", "entity-type": "subjekto tipas", - "message-type": "pranešimo tipas", + "message-type": "žinutės tipas", "timeseries-key": "laiko eilučių raktas", "type": "Tipas", "first-name": "Vardas", @@ -6758,12 +8521,12 @@ "add-mapped-originator-fields-to": "Pridėti susietus siuntėjo laukus į", "fields": "Laukai", "skip-empty-fields": "Praleisti tuščius laukus", - "skip-empty-fields-tooltip": "Laukai su tuščiomis reikšmėmis nebus pridėti prie išvesties pranešimo ar metaduomenų.", + "skip-empty-fields-tooltip": "Laukai su tuščiomis reikšmėmis nebus pridėti prie išvesties žinutės ar išvesties metaduomenų.", "fetch-interval": "Gavimo intervalas", "fetch-strategy": "Gavimo strategija", "fetch-timeseries-from-to": "Gauti laiko eilučių duomenis nuo {{startInterval}} {{startIntervalTimeUnit}} iki {{endInterval}} {{endIntervalTimeUnit}} atgal.", - "fetch-timeseries-from-to-invalid": "Laiko eilučių gavimo klaida („Intervalo pradžia“ turi būti mažesnė už „Intervalo pabaigą“).", - "use-metadata-dynamic-interval-tooltip": "Jei pasirinkta, taisyklių mazgas naudos dinaminį intervalo pradžios ir pabaigos laiką pagal pranešimo bei metaduomenų šablonus.", + "fetch-timeseries-from-to-invalid": "Laiko eilučių gavimo klaida („Intervalo pradžia“ turi būti ankstesnė nei „Intervalo pabaiga“).", + "use-metadata-dynamic-interval-tooltip": "Jei pasirinkta, taisyklių mazgas naudos dinaminį intervalo pradžios ir pabaigos laiką pagal žinutės bei metaduomenų šablonus.", "all-mode-hint": "Jei pasirinktas gavimo režimas „Visi“, taisyklių mazgas gaus telemetriją iš intervalo pagal konfigūruojamus užklausos parametrus.", "first-mode-hint": "Jei pasirinktas režimas „Pirmas“, taisyklių mazgas gaus artimiausią telemetriją intervalo pradžiai.", "last-mode-hint": "Jei pasirinktas režimas „Paskutinis“, taisyklių mazgas gaus artimiausią telemetriją intervalo pabaigai.", @@ -6789,34 +8552,34 @@ "message-template": "Pranešimo šablonas", "message-template-required": "Pranešimo šablonas yra privalomas", "use-system-slack-settings": "Naudoti sistemos Slack nustatymus", - "slack-api-token": "Slack API raktas", - "slack-api-token-required": "Slack API raktas yra privalomas", - "deduplication-period-sec": "Dublikavimo šalinimo laikotarpis (sek.)", - "deduplication-period-sec-required": "Dublikavimo šalinimo laikotarpio reikšmė yra privaloma.", - "deduplication-period-sec-range": "Dublikavimo šalinimo laikotarpio reikšmė turi būti nuo 10 iki 2147483647.", + "slack-api-token": "Slack API žetonas", + "slack-api-token-required": "Slack API žetonas yra privalomas", + "deduplication-period-sec": "Dublikatų šalinimo laikotarpis (sek.)", + "deduplication-period-sec-required": "Dublikatų šalinimo laikotarpio reikšmė yra privaloma.", + "deduplication-period-sec-range": "Dublikatų šalinimo laikotarpio reikšmė turi būti nuo 10 iki 2147483647.", "keys-mapping": "Raktų susiejimas", "add-key": "Pridėti raktą", "recipients": "Gavėjai", - "message-subject-and-content": "Pranešimo tema ir turinys", - "template-rules-hint": "Abu įvesties laukai palaiko šablonizaciją. Naudokite $[messageKey] reikšmei iš pranešimo ir ${metadataKey} reikšmei iš metaduomenų.", - "originator-customer-desc": "Naudoti gaunamo pranešimo siuntėjo klientą kaip naują siuntėją.", + "message-subject-and-content": "Laiško tema ir turinys", + "template-rules-hint": "Abu įvesties laukai palaiko šablonizaciją. Naudokite $[messageKey] reikšmei iš žinutės ir ${metadataKey} reikšmei iš žinutės metaduomenų gauti.", + "originator-customer-desc": "Naudoti gaunamos žinutės siuntėjo klientą kaip naują siuntėją.", "originator-tenant-desc": "Naudoti dabartinį nuomininką kaip naują siuntėją.", "originator-related-entity-desc": "Naudoti susijusį subjektą kaip naują siuntėją. Paieška atliekama pagal konfigūruotą ryšio tipą ir kryptį.", - "originator-alarm-originator-desc": "Naudoti aliarmo siuntėją kaip naują siuntėją. Tik jei gaunamo pranešimo siuntėjas yra aliarmo subjektas.", + "originator-alarm-originator-desc": "Naudoti įspėjimo siuntėją kaip naują siuntėją. Tik jei gaunamos žinutės siuntėjas yra įspėjimas.", "originator-entity-by-name-pattern-desc": "Naudoti iš duomenų bazės gautą subjektą kaip naują siuntėją. Paieška atliekama pagal subjekto tipą ir nurodytą pavadinimo šabloną.", - "email-from-template-hint": "Naudokite $[messageKey] reikšmei iš pranešimo ir ${metadataKey} reikšmei iš metaduomenų.", - "recipients-block-main-hint": "Adresų sąrašas, atskirtas kableliais. Visi įvesties laukai palaiko šablonizaciją. Naudokite $[messageKey] reikšmei iš pranešimo ir ${metadataKey} reikšmei iš metaduomenų.", - "search-entity-group-for-tenant-only-hint": "Pagal numatymą grupės paieška pradedama nuo to paties lygio kaip pranešimo siuntėjo savininko ir kylama iki nuomininko lygio, jei grupė nerasta. Jei įjungta, paieška apribojama tik nuomininko lygiu.", - "entity-group-is-message-originator-hint": "Jei įjungta, pranešimo siuntėjas bus laikomas subjektų grupe, naudojama objektų paieškai. Tokiu atveju, jei siuntėjas nėra subjektų grupė, pranešimas bus nukreiptas per klaidų grandinę.", - "forward-msg-default-rule-chain": "Persiųsti pranešimą į siuntėjo numatytą taisyklių grandinę", - "forward-msg-default-rule-chain-tooltip": "Jei įjungta, pranešimas bus persiųstas į siuntėjo numatytą taisyklių grandinę arba į konfigūracijoje nurodytą grandinę, jei siuntėjas neturi numatytos grandinės subjekto profilyje.", + "email-from-template-hint": "Naudokite $[messageKey] reikšmei iš žinutės ir ${metadataKey} reikšmei iš metaduomenų gauti.", + "recipients-block-main-hint": "Adresų sąrašas, atskirtas kableliais. Visi įvesties laukai palaiko šablonizaciją. Naudokite $[messageKey] reikšmei iš žinutės ir ${metadataKey} reikšmei iš metaduomenų gauti.", + "search-entity-group-for-tenant-only-hint": "Pagal numatytąją nuostatą grupės paieška pradedama nuo to paties lygio kaip žinutės siuntėjo savininkas ir, jei grupė nerasta, kylama hierarchija iki nuomininko lygio. Jei įjungta, paieška apribojama tik nuomininko lygiu, apeinant numatytąją elgseną.", + "entity-group-is-message-originator-hint": "Jei įjungta, žinutės siuntėjas bus laikomas subjektų grupe, naudojama subjektų paieškai. Tokiu atveju, jei siuntėjas nėra subjektų grupė, gaunama žinutė bus nukreipta per klaidų grandinę.", + "forward-msg-default-rule-chain": "Persiųsti žinutę į siuntėjo numatytąją taisyklių grandinę", + "forward-msg-default-rule-chain-tooltip": "Jei įjungta, žinutė bus persiųsta į siuntėjo numatytąją taisyklių grandinę arba į konfigūracijoje nurodytą grandinę, jei siuntėjas neturi numatytosios grandinės subjekto profilyje.", "fetch-originators-attributes-customer": "Gauti siuntėjo atributus, jei siuntėjas yra klientas", - "fetch-originators-attributes-customer-hint": "Jei įjungta ir gaunamo pranešimo siuntėjas yra klientas, taisyklių mazgas gaus jo {{mappingOfCustomers}}, apeidamas kliento paiešką.", + "fetch-originators-attributes-customer-hint": "Jei įjungta ir gaunamos žinutės siuntėjas yra klientas, taisyklių mazgas gaus jo {{mappingOfCustomers}}, apeidamas kliento paiešką.", "parse-originator-if-customer": "Nekeisti siuntėjo, jei siuntėjas yra klientas", - "parse-originator-if-customer-hint": "Jei įjungta ir gaunamo pranešimo siuntėjas yra klientas, taisyklių mazgas nekeis siuntėjo ir išlaikys esamą.", - "exclude-zero-deltas": "Pašalinti nulinės delta reikšmes iš siunčiamo pranešimo", - "exclude-zero-deltas-hint": "Jei įjungta, \"{{outputValueKey}}\" bus pridėtas prie siunčiamo pranešimo tik jei reikšmė nėra lygi nuliui.", - "exclude-zero-deltas-time-difference-hint": "Jei įjungta, \"{{outputValueKey}}\" ir \"{{periodValueKey}}\" bus pridėti prie siunčiamo pranešimo tik jei \"{{outputValueKey}}\" reikšmė nėra nulinė.", + "parse-originator-if-customer-hint": "Jei įjungta ir gaunamos žinutės siuntėjas yra klientas, taisyklių mazgas neieškos naujo siuntėjo ir išlaikys esamą.", + "exclude-zero-deltas": "Pašalinti nulines delta reikšmes iš siunčiamos žinutės", + "exclude-zero-deltas-hint": "Jei įjungta, išvesties raktas „{{outputValueKey}}“ bus pridėtas prie siunčiamos žinutės tik jei jo reikšmė nėra lygi nuliui.", + "exclude-zero-deltas-time-difference-hint": "Jei įjungta, išvesties raktai „{{outputValueKey}}“ ir „{{periodValueKey}}“ bus pridėti prie siunčiamos žinutės tik jei „{{outputValueKey}}“ reikšmė nėra nulinė.", "search-direction-from": "Nuo siuntėjo iki tikslo", "search-direction-to": "Nuo tikslo iki siuntėjo", "del-relation-direction-from": "Nuo siuntėjo", @@ -6827,28 +8590,39 @@ "function-name-required": "Funkcijos pavadinimas yra privalomas.", "qualifier": "Kvalifikatorius", "qualifier-hint": "Jei kvalifikatorius nenurodytas, bus naudojamas numatytasis \"$LATEST\".", - "aws-credentials": "AWS kredencialai", - "connection-timeout": "Ryšio laiko limitas", - "connection-timeout-required": "Ryšio laiko limitas yra privalomas.", - "connection-timeout-min": "Minimalus ryšio laikas yra 0.", + "aws-credentials": "AWS prisijungimo duomenys", + "connection-timeout": "Prisijungimo laiko limitas", + "connection-timeout-required": "Prisijungimo laiko limitas yra privalomas.", + "connection-timeout-min": "Mažiausias prisijungimo laiko limitas yra 0.", "connection-timeout-hint": "Laikas sekundėmis, kurį sistema laukia užmezgant ryšį prieš nutraukdama bandymą. Reikšmė 0 reiškia begalybę ir nerekomenduojama.", "request-timeout": "Užklausos laiko limitas", - "request-timeout-required": "Užklausos laiko limitas yra privalomas.", - "request-timeout-min": "Minimalus užklausos laikas yra 0.", - "request-timeout-hint": "Laikas sekundėmis, kiek sistema laukia, kol užklausa bus įvykdyta. Reikšmė 0 reiškia begalybę ir nerekomenduojama.", + "request-timeout-required": "Užklausos laiko limitas yra privalomas", + "request-timeout-min": "Mažiausias užklausos laiko limitas yra 0", + "request-timeout-hint": "Laikas sekundėmis, kiek laukiama, kol užklausa bus įvykdyta, prieš nutraukiant bandymą pasibaigus laiko limitui. Reikšmė 0 reiškia begalybę ir nerekomenduojama.", "units": "Vienetai", "tell-failure-aws-lambda": "Pranešti apie klaidą, jei AWS Lambda funkcijos vykdymas sukelia išimtį", - "tell-failure-aws-lambda-hint": "Taisyklių mazgas privers pranešimą žymėti kaip klaidą, jei AWS Lambda funkcijos vykdymas sukelia išimtį.", + "tell-failure-aws-lambda-hint": "Taisyklių mazgas priverstinai pažymi žinutės apdorojimą kaip nepavykusį, jei AWS Lambda funkcijos vykdymas sukelia išimtį.", "basic-mode": "Paprastas režimas", "advanced-mode": "Išplėstinis režimas", + "url-hint": "Įveskite užklausos URL. Įsitikinkite, kad specialieji simboliai užkoduoti procentiniu kodavimu.", + "query-params": "Užklausos parametrai", + "query-params-hint": "Papildomi užklausos parametrai, įtraukiami į užklausos URL. Tiek pavadinimai, tiek reikšmės palaiko šablonus ir po šablonų apdorojimo griežtai užkoduojami (RFC 3986).", + "query-params-empty": "Užklausos parametrų nesukonfigūruota", + "query-params-name": "Pavadinimas", + "query-params-value": "Reikšmė", + "query-params-name-required": "Pavadinimas yra privalomas", + "query-params-value-required": "Reikšmė yra privaloma", + "headers-empty": "Antraščių nesukonfigūruota", + "request-url": "Užklausos URL", + "url": "URL", "save-time-series": { "processing-settings": "Apdorojimo nustatymai", "processing-settings-hint": "Nustatykite, kaip apdorojamos gaunamos žinutės. Paprasti apdorojimo nustatymai leidžia pasirinkti iš anksto sukonfigūruotas strategijas, o išplėstiniai – individualiai pritaikyti strategijas kiekvienam veiksmui.", "advanced-settings-hint": "Būkite atsargūs konfigūruodami apdorojimo strategijas. Kai kurie deriniai gali sukelti netikėtą elgesį.", "strategy": "Strategija", - "deduplication-interval": "Dublikavimo šalinimo intervalas", - "deduplication-interval-required": "Dublikavimo šalinimo intervalas yra privalomas.", - "deduplication-interval-min-max-range": "Dublikavimo šalinimo intervalas turi būti ne trumpesnis nei 1 sekundė ir ne ilgesnis nei 1 diena.", + "deduplication-interval": "Dublikatų šalinimo intervalas", + "deduplication-interval-required": "Dublikatų šalinimo intervalas yra privalomas", + "deduplication-interval-min-max-range": "Dublikatų šalinimo intervalas turi būti ne trumpesnis nei 1 sekundė ir ne ilgesnis nei 1 diena", "strategy-type": { "every-message": "Kiekvienai žinutei", "skip": "Praleisti", @@ -6858,16 +8632,16 @@ "time-series": "Laiko eilutės", "latest": "Naujausios reikšmės", "web-sockets": "WebSockets", - "calculated-fields": "Apskaičiuoti laukai" + "calculated-fields-and-alarm-rules": "Apskaičiuotieji laukai ir įspėjimų taisyklės" }, "save-attribute": { "processing-settings": "Apdorojimo nustatymai", - "processing-settings-hint": "Nustatykite, kaip bus apdorojamos gaunamos žinutės. Paprasti apdorojimo nustatymai leidžia pasirinkti iš anksto sukonfigūruotas strategijas, o išplėstiniai – pasirinkti individualias apdorojimo strategijas kiekvienam veiksmui.", + "processing-settings-hint": "Nustatykite, kaip apdorojamos gaunamos žinutės. Paprasti apdorojimo nustatymai leidžia pasirinkti iš anksto sukonfigūruotas strategijas, o išplėstiniai – individualiai pritaikyti strategijas kiekvienam veiksmui.", "advanced-settings-hint": "Būkite atsargūs konfigūruodami apdorojimo strategijas. Kai kurie deriniai gali sukelti netikėtą elgesį.", "strategy": "Strategija", - "deduplication-interval": "Dublikavimo šalinimo intervalas", - "deduplication-interval-required": "Dublikavimo šalinimo intervalas yra privalomas.", - "deduplication-interval-min-max-range": "Dublikavimo šalinimo intervalas turi būti ne trumpesnis nei 1 sekundė ir ne ilgesnis nei 1 diena.", + "deduplication-interval": "Dublikatų šalinimo intervalas", + "deduplication-interval-required": "Dublikatų šalinimo intervalas yra privalomas", + "deduplication-interval-min-max-range": "Dublikatų šalinimo intervalas turi būti ne trumpesnis nei 1 sekundė ir ne ilgesnis nei 1 diena", "scope": "Taikymo sritis", "strategy-type": { "every-message": "Kiekvienai žinutei", @@ -6889,7 +8663,7 @@ "delete-key-values": "Ištrinti raktų-reikšmių poras", "delete-key-values-from": "Ištrinti raktų-reikšmių poras iš", "at-least-one-key-error": "Turi būti pasirinktas bent vienas raktas.", - "unique-key-value-pair-error": "'{{keyText}}' turi skirtis nuo '{{valText}}'!" + "unique-key-value-pair-error": "„{{keyText}}“ turi skirtis nuo „{{valText}}“!" }, "mail-body-types": { "plain-text": "Grynasis tekstas", @@ -6906,30 +8680,31 @@ "model": "Modelis", "ai-model-hint": "Pasirinkite iš anksto sukonfigūruotą DI modelį užklausų, siunčiamų per šį taisyklių mazgą, apdorojimui arba naudokite „Sukurti naują“, kad sukonfigūruotumėte naują modelį.", "prompt-settings": "Užklausos nustatymai", - "prompt-settings-hint": "Neprivalomas sistemos užklausos tekstas nustato DI bendrą vaidmenį ir apribojimus, o vartotojo užklausa apibrėžia konkrečią vykdomą užduotį. Abu laukai palaiko šablonizaciją.", + "prompt-settings-hint": "Neprivalomas sistemos užklausos tekstas nustato DI bendrą vaidmenį ir apribojimus, o naudotojo užklausa apibrėžia konkrečią vykdomą užduotį. Abu laukai taip pat palaiko šablonizaciją.", "system-prompt": "Sistemos užklausa", "system-prompt-max-length": "Sistemos užklausa turi būti ne ilgesnė nei 500000 simbolių.", "system-prompt-blank": "Sistemos užklausa negali būti tuščia.", - "user-prompt": "Vartotojo užklausa", - "user-prompt-required": "Vartotojo užklausa yra privaloma.", - "user-prompt-max-length": "Vartotojo užklausa turi būti ne ilgesnė nei 500000 simbolių.", - "user-prompt-blank": "Vartotojo užklausa negali būti tuščia.", + "user-prompt": "Naudotojo užklausa", + "user-prompt-required": "Naudotojo užklausa yra privaloma.", + "user-prompt-max-length": "Naudotojo užklausa turi būti ne ilgesnė nei 500000 simbolių.", + "user-prompt-blank": "Naudotojo užklausa negali būti tuščia.", "response-format": "Atsakymo formatas", "response-text": "Tekstas", "response-json": "JSON", "response-json-schema": "JSON Schema", "response-format-hint-TEXT": "Leidžia modeliui generuoti laisvo formato tekstą, kuris gali būti arba nebūti tinkamas JSON objektas. Jei išvestis nėra tinkamas JSON objektas, ji bus automatiškai įvyniota į JSON objektą po raktu „response“.", - "response-format-hint-JSON": "Modelis privalo sugeneruoti atsakymą, kuris yra teisingas JSON objektas. Jei išvestis nėra tinkamas JSON objektas, ji bus automatiškai įvyniota į JSON objektą po raktu „response“.", + "response-format-hint-JSON": "Modelis privalo sugeneruoti atsakymą, kuris yra tinkamas JSON objektas. Jei išvestis nėra tinkamas JSON objektas, ji bus automatiškai įvyniota į JSON objektą po raktu „response“.", "response-format-hint-JSON_SCHEMA": "Modelis privalo sugeneruoti JSON, atitinkantį nurodytą struktūrą ir duomenų tipus pagal pateiktą schemą. Jei išvestis nėra tinkamas JSON objektas, ji bus automatiškai įvyniota į JSON objektą po raktu „response“.", "response-json-schema-hint": "Galima įvesti bet kokią tinkamą JSON schemą, tačiau šis taisyklių mazgas palaiko tik ribotą jos funkcionalumo rinkinį. Išsamesnę informaciją rasite mazgo dokumentacijoje.", - "response-json-schema-required": "JSON schema yra privaloma.", + "response-json-schema-required": "JSON schema yra privaloma", "advanced-settings": "Išplėstiniai nustatymai", "timeout": "Laiko limitas", "timeout-hint": "Didžiausias laukimo laikas, kol bus gautas atsakymas iš DI modelio prieš nutraukiant užklausą.", - "timeout-required": "Laiko limitas yra privalomas.", + "timeout-required": "Laiko limitas yra privalomas", "timeout-validation": "Turi būti nuo 1 sekundės iki 10 minučių.", "force-acknowledgement": "Priverstinis patvirtinimas", - "force-acknowledgement-hint": "Jei įjungta, gaunamas pranešimas patvirtinamas iš karto. Modelio atsakymas tada įtraukiamas į eilę kaip atskiras naujas pranešimas." + "force-acknowledgement-hint": "Jei įjungta, gaunama žinutė patvirtinama iš karto. Modelio atsakymas tada įtraukiamas į eilę kaip atskira nauja žinutė.", + "ai-resources": "DI ištekliai" } }, "role": { @@ -6937,121 +8712,126 @@ "roles": "Rolės", "management": "Rolių valdymas", "view-roles": "Peržiūrėti roles", - "no-roles-matching": "Rolių, atitinkančių '{{entity}}', nėra.", + "no-roles-matching": "Rolių, atitinkančių „{{entity}}“, nėra.", "role-list": "Rolių sąrašas", - "role-list-required": "Rolių sąrašas yra būtinas.", + "role-list-required": "Rolių sąrašas yra privalomas", "add": "Pridėti rolę", "view": "Peržiūrėti rolę", "search": "Rolių paieška", - "selected-roles": "Pasirinkta { count, plural, =1 {1 rolė} other {# roles} }", + "selected-roles": "{ count, plural, =1 {Pasirinkta 1 rolė} one {Pasirinkta # rolė} few {Pasirinktos # rolės} other {Pasirinkta # rolių} }", "no-roles-text": "Rolių nėra", "role-details": "Informacija apie rolę", "add-role-text": "Pridėti naują rolę", - "delete": "Panaikinti rolę", - "delete-roles": "Panaikinti roles", - "delete-role-title": "Ar tikrai norite panaikinti '{{roleName}}' rolę?", - "delete-role-text": "Būkite dėmesingi — po patvirtinimo rolė ir visa su ja susijusi informacija bus pašalinta.", - "delete-roles-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 rolę} other {# roles} }?", - "delete-roles-action-title": "Panaikinti { count, plural, =1 {1 rolę} other {# roles} }", - "delete-roles-text": "Būkite dėmesingi — po patvirtinimo visos pasirinktos rolės ir su jomis susijusi informacija bus pašalintos.", + "delete": "Ištrinti rolę", + "delete-roles": "Ištrinti roles", + "delete-role-title": "Ar tikrai norite ištrinti „{{roleName}}“ rolę?", + "delete-role-text": "Būkite atsargūs — po patvirtinimo rolė ir visa su ja susijusi informacija bus negrįžtamai pašalinta.", + "delete-roles-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 rolę} one {# rolę} few {# roles} other {# rolių} }?", + "delete-roles-action-title": "Ištrinti { count, plural, =1 {1 rolę} one {# rolę} few {# roles} other {# rolių} }", + "delete-roles-text": "Būkite atsargūs — po patvirtinimo visos pasirinktos rolės bus pašalintos, o su jomis susijusios informacijos nebus galima atkurti.", "role-type": "Tipas", - "role-type-required": "Rolės tipas yra būtinas.", + "role-type-required": "Rolės tipas yra privalomas.", "select-role-type": "Pasirinkite rolės tipą", "enter-role-type": "Įveskite rolės tipą", "any-role": "Bet kuri rolė", - "no-role-types-matching": "Rolių tipų, atitinkančių '{{entitySubtype}}', nėra.", + "no-role-types-matching": "Rolių tipų, atitinkančių „{{entitySubtype}}“, nėra.", "role-type-list-empty": "Nepasirinktas joks rolės tipas.", "role-types": "Rolių tipai", "created-time": "Sukūrimo laikas", "name": "Pavadinimas", - "name-required": "Pavadinimas yra būtinas.", - "name-max-length": "Pavadinimas negali viršyti 256 simbolių.", + "name-required": "Pavadinimas yra privalomas.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", "events": "Įvykiai", "details": "Informacija", "copyId": "Kopijuoti rolės ID", "idCopiedMessage": "Rolės ID nukopijuotas į iškarpinę", "permissions": "Leidimai", - "role-required": "Rolė yra būtina.", - "roles-required": "Rolės yra būtinos.", + "excluded-permissions": "Neįtraukiami leidimai", + "role-required": "Rolė yra privaloma", + "roles-required": "Rolės yra privalomos", "display-type": { "GENERIC": "Bendroji", "GROUP": "Grupinė" } }, "group-permission": { - "user-group-roles": "Vartotojų grupės rolės", + "user-group-roles": "Naudotojų grupės rolės", "entity-group-permissions": "Subjektų grupės leidimai", "role-type": "Rolės tipas", "role-name": "Rolės pavadinimas", "group-type": "Grupės tipas", "group-name": "Grupės pavadinimas", "group-owner": "Grupės savininkas", - "user-group-name": "Vartotojų grupės pavadinimas", - "user-group-owner": "Vartotojų grupės savininkas", + "user-group-name": "Naudotojų grupės pavadinimas", + "user-group-owner": "Naudotojų grupės savininkas", "edit": "Redaguoti leidimus", - "delete": "Naikinti leidimus", - "selected-group-permissions": "Pasirinkta { count, plural, =1 {1 grupinis leidimas} other {# grupiniai leidimai} }", - "delete-group-permission-title": "Ar tikrai norite panaikinti '{{roleName}}' grupinį leidimą?", - "delete-group-permission-text": "Būkite dėmesingi, po patvirtinimo, grupinis leidimas ir visa su juo sisijusi informacija bus pašalinta.", - "delete-group-permission": "Panaikinti grupinį leidima", - "delete-group-permissions-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 grupinį leidimą} other {# grupinius leidimus} }?", - "delete-group-permissions-text": "Būkite dėmesingi, po patvirtinimo, pasirinkti grupiniai leidimai ir visa su jais susijusi informacija bus panaikinta ir atitinkami vartotojai neteks prieigos prie tam tikrų resursų.", - "delete-group-permissions": "Panaikinti grupinius leidimus", + "delete": "Ištrinti leidimus", + "selected-group-permissions": "{ count, plural, =1 {Pasirinktas 1 grupinis leidimas} one {Pasirinktas # grupinis leidimas} few {Pasirinkti # grupiniai leidimai} other {Pasirinkta # grupinių leidimų} }", + "delete-group-permission-title": "Ar tikrai norite ištrinti „{{roleName}}“ grupinį leidimą?", + "delete-group-permission-text": "Būkite atsargūs, po patvirtinimo grupinis leidimas ir visa su juo susijusi informacija bus negrįžtamai pašalinta.", + "delete-group-permission": "Ištrinti grupinį leidimą", + "delete-group-permissions-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 grupinį leidimą} one {# grupinį leidimą} few {# grupinius leidimus} other {# grupinių leidimų} }?", + "delete-group-permissions-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti grupiniai leidimai bus pašalinti ir atitinkami naudotojai neteks prieigos prie nurodytų išteklių.", + "delete-group-permissions": "Ištrinti grupinius leidimus", "add-group-permission": "Pridėti grupinį leidimą", "edit-group-permission": "Redaguoti grupinį leidimą", "entity-group": "Subjektų grupė", - "user-group": "Vartotojų grupė", - "no-owners-matching": "Savininkų, atitinkančių '{{owner}}' nėra.", - "target-owner-required": "Subjektų grupės savininkas būtinas.", - "target-user-group-owner-required": "Vartotojų grupės savininkas būtinas.", - "no-group-permissions-text": "Grupinių leidimų nėra" + "user-group": "Naudotojų grupė", + "no-owners-matching": "Savininkų, atitinkančių „{{owner}}“, nėra.", + "target-owner-required": "Subjektų grupės savininkas yra privalomas.", + "target-user-group-owner-required": "Naudotojų grupės savininkas yra privalomas.", + "no-group-permissions-text": "Grupinių leidimų nėra", + "permissions-merge-hint": "Bendrosiose rolėse uždraustos operacijos galioja tik tos pačios rolės ribose. Jei kuri nors kita rolė leidžia operaciją, prieiga bus suteikta." }, "permission": { - "permissions-required": "Turi būti nurodytas nors vienas leidimas.", - "remove-permission": "Panaikinti leidimą", + "permissions-required": "Turi būti nurodyta bent viena leidžiama operacija.", + "resource-duplicate": "Šis išteklius jau pasirinktas", + "operations-required": "Turi būti nurodyta bent viena leidžiama arba draudžiama operacija.", + "operation-overlap": "Leidžiamos ir draudžiamos operacijos neturėtų persidengti.", + "remove-permission": "Pašalinti leidimo įrašą", "add-permission": "Pridėti leidimą", "other": "Kita", "resource": { - "resource": "Resursas", - "select-resource": "Pasirinkite resursą", - "resource-required": "Resursas būtinas", - "no-resources-matching": "Resursų, atitinkančių '{{resource}}' nėra.", + "resource": "Išteklius", + "select-resource": "Pasirinkite išteklių", + "resource-required": "Išteklius yra privalomas", + "no-resources-matching": "Išteklių, atitinkančių „{{resource}}“, nėra.", "display-type": { "ALL": "Visi", "PROFILE": "Profilis", "ADMIN_SETTINGS": "Administratoriaus nustatymai", - "ALARM": "Įspėjimai", + "ALARM": "Įspėjimas", "DEVICE": "Įrenginys", "DEVICE_PROFILE": "Įrenginio profilis", "ASSET": "Turtas", "CUSTOMER": "Klientas", "DASHBOARD": "Skydelis", - "ENTITY_VIEW": "Subjekto rodinys", + "ENTITY_VIEW": "Subjektų rodinys", "EDGE": "Edge", - "TENANT": "Valdytojas", - "TENANT_PROFILE": "Valdytojo profilis", + "TENANT": "Nuomininkas", + "TENANT_PROFILE": "Nuomininko profilis", "RULE_CHAIN": "Taisyklių grandinė", - "USER": "Vartotojas", + "USER": "Naudotojas", "WIDGETS_BUNDLE": "Valdiklių rinkinys", "WIDGET_TYPE": "Valdiklio tipas", "CONVERTER": "Keitiklis", "INTEGRATION": "Integracija", - "SCHEDULER_EVENT": "Tvarkaraščio įvykis", + "SCHEDULER_EVENT": "Planuoklės įvykis", "BLOB_ENTITY": "Blob subjektas", - "REPORT_TEMPLATE": "Report Template", - "REPORT": "Report", + "REPORT_TEMPLATE": "Ataskaitos šablonas", + "REPORT": "Ataskaita", "CUSTOMER_GROUP": "Klientų grupė", "DEVICE_GROUP": "Įrenginių grupė", "ASSET_GROUP": "Turto grupė", - "USER_GROUP": "Vartotojų grupė", + "USER_GROUP": "Naudotojų grupė", "ENTITY_VIEW_GROUP": "Subjektų rodinių grupė", "DASHBOARD_GROUP": "Skydelių grupė", "ROLE": "Rolė", "GROUP_PERMISSION": "Grupinis leidimas", - "WHITE_LABELING": "Tinkinimas", + "WHITE_LABELING": "Prekės ženklo tinkinimas", "AUDIT_LOG": "Audito žurnalas", - "API_USAGE_STATE": "API Naudojimo Būsena", + "API_USAGE_STATE": "API naudojimo būsena", "TB_RESOURCE": "Išteklius", "EDGE_GROUP": "Edge grupė", "OTA_PACKAGE": "OTA paketas", @@ -7061,99 +8841,110 @@ "ASSET_PROFILE": "Turto profilis", "NOTIFICATION": "Pranešimas", "MOBILE_APP_SETTINGS": "QR kodo valdiklio nustatymai", - "MOBILE_APP_BUNDLE": "Mobilioji paketo versija", + "MOBILE_APP_BUNDLE": "Mobilusis paketas", "MOBILE_APP": "Mobilioji programėlė", "DOMAIN": "Domenas", "OAUTH2_CLIENT": "OAuth 2.0 klientas", - "SECRET": "Slaptas raktas", + "SECRET": "Paslaptis", "JOB": "Užduotis", - "AI_MODEL": "DI modelis" + "AI_MODEL": "DI modelis", + "AI": "DI", + "API_KEY": "API raktas", + "AGENT": "Agent egzempliorius", + "AGENT_GROUP": "Agent grupė", + "AGENT_PROFILE": "Agent profilis", + "AGENT_APPLICATION": "Agent programa", + "AGENT_APP_PROFILE": "Agent programos profilis", + "AGENT_APP_UNIT": "Agent programos vienetas" } }, "operation": { "operation": "Operacija", "operations": "Operacijos", + "allowed": "Leidžiama", + "denied": "Draudžiama", + "not-set": "Nenustatyta", "operations-required": "Turi būti nurodyta nors viena operacija.", "enter-operation": "Įveskite operaciją", - "no-operations-matching": "Operacijų, atitinkančių '{{operation}}' nėra.", + "no-operations-matching": "Operacijų, atitinkančių „{{operation}}“, nėra.", "display-type": { "ALL": "Visi", "CREATE": "Sukurti", "READ": "Skaityti", "WRITE": "Rašyti", - "DELETE": "Panaikinti", + "DELETE": "Ištrinti", "ASSIGN_TO_CUSTOMER": "Priskirti klientui", "UNASSIGN_FROM_CUSTOMER": "Atsieti nuo kliento", "RPC_CALL": "RPC kvietimas", - "READ_CREDENTIALS": "Skaityti įgaliojimus", - "WRITE_CREDENTIALS": "Rašyti įgaliojimus", + "READ_CREDENTIALS": "Skaityti prisijungimo duomenis", + "WRITE_CREDENTIALS": "Rašyti prisijungimo duomenis", "READ_ATTRIBUTES": "Skaityti atributus", "WRITE_ATTRIBUTES": "Rašyti atributus", "READ_TELEMETRY": "Skaityti telemetriją", "WRITE_TELEMETRY": "Rašyti telemetriją", - "CLAIM_DEVICES": "Patvirtinti įrenginius", - "IMPERSONATE": "Įeiti kaip vartotojui", + "CLAIM_DEVICES": "Perimti įrenginius", + "IMPERSONATE": "Prisijungti kaip naudotojas", "CHANGE_OWNER": "Pakeisti savininką", "ADD_TO_GROUP": "Įtraukti į grupę", "REMOVE_FROM_GROUP": "Pašalinti iš grupės", "SHARE_GROUP": "Bendrinti grupę", - "ASSIGN_TO_TENANT": "Priskirti valdytojui", - "READ_CALCULATED_FIELD": "Skaityti apskaičiuotą lauką", - "WRITE_CALCULATED_FIELD": "Rašyti į apskaičiuotą lauką", + "ASSIGN_TO_TENANT": "Priskirti nuomininkui", + "READ_CALCULATED_FIELD": "Skaityti apskaičiuotus laukus ir įspėjimų taisykles", + "WRITE_CALCULATED_FIELD": "Rašyti apskaičiuotus laukus ir įspėjimų taisykles", "INVOKE": "Iškviesti" } } }, "scheduler": { - "scheduler": "Tvarkaraštis", - "scheduler-event": "Tvarkaraščio įvykis", - "select-scheduler-event": "Pasirinkite tvarkaraščio įvykį", - "no-scheduler-events-matching": "Tvarkaraščio įvykių, atitinkančių '{{entity}}' nėra.", - "scheduler-event-required": "Tvarkaraščio įvykis būtinas", + "scheduler": "Planuoklė", + "scheduler-event": "Planuoklės įvykis", + "select-scheduler-event": "Pasirinkite planuoklės įvykį", + "no-scheduler-events-matching": "Planuoklės įvykių, atitinkančių „{{entity}}“, nerasta.", + "scheduler-event-required": "Planuoklės įvykis yra privalomas", "management": "Tvarkaraščio valdymas", - "scheduler-events": "Tvarkaraščio įvykiai", - "add-scheduler-event": "Pridėti tvarkaraščio įvykį", - "search-scheduler-events": "Tvarkaraščio įvykių paieška", + "scheduler-events": "Planuoklės įvykiai", + "add-scheduler-event": "Pridėti planuoklės įvykį", + "search-scheduler-events": "Planuoklės įvykių paieška", "created-time": "Sukūrimo laikas", "name": "Pavadinimas", - "name-required": "Pavadinimas būtinas", - "name-max-length": "Pavadinimas negali viršyti 256 simbolių", + "name-required": "Pavadinimas yra privalomas", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "type": "Tipas", "created_customer": "Sukūrė klientas", - "edit-scheduler-event": "Redaguoti tvarkaraščio įvykį", - "view-scheduler-event": "Peržiūrėti tvarkaraščio įvykį", - "delete-scheduler-event": "Panaikinti tvarkaraščio įvykį", - "no-scheduler-events": "Tvarkaraščio įvykių nėra", - "selected-scheduler-events": "Pasirinkta { count, plural, =1 {1 tvarkaraščio įvykis} other {# tvarkaraščio įvykiai} }", - "delete-scheduler-event-title": "Ar tikrai norite panaikinti tvarkaraščio įvykį '{{schedulerEventName}}'?", - "delete-scheduler-event-text": "`", - "delete-scheduler-events-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 tvarkaraščio įvykį} other {# tvarkaraščio įvykius} }?", - "delete-scheduler-events-text": "Būkite dėmesingi, po patvirtinimo, pasirinkti tvarkaraščio įvykiai ir visa su jais susijusi informacija bus panaikinta.", - "create": "Sukurti tvarkaraščio įvykį", - "edit": "Redaguoti tvarkaraščio įvykį", - "view": "Peržiūrėti tvarkaraščio įvykį", + "edit-scheduler-event": "Redaguoti planuoklės įvykį", + "view-scheduler-event": "Peržiūrėti planuoklės įvykį", + "delete-scheduler-event": "Ištrinti planuoklės įvykį", + "no-scheduler-events": "Planuoklės įvykių nerasta", + "selected-scheduler-events": "{ count, plural, =1 {Pasirinktas 1 planuoklės įvykis} one {Pasirinktas # planuoklės įvykis} few {Pasirinkti # planuoklės įvykiai} other {Pasirinkta # planuoklės įvykių} }", + "delete-scheduler-event-title": "Ar tikrai norite ištrinti planuoklės įvykį „{{schedulerEventName}}“?", + "delete-scheduler-event-text": "Būkite atsargūs, po patvirtinimo planuoklės įvykio ir visų susijusių duomenų nebus galima atkurti.", + "delete-scheduler-events-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 planuoklės įvykį} one {# planuoklės įvykį} few {# planuoklės įvykius} other {# planuoklės įvykių} }?", + "delete-scheduler-events-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti planuoklės įvykiai bus pašalinti, o visų susijusių duomenų nebus galima atkurti.", + "create": "Pridėti planuoklės įvykį", + "edit": "Redaguoti planuoklės įvykį", + "view": "Peržiūrėti planuoklės įvykį", "configuration": "Konfigūracija", "schedule": "Tvarkaraštis", "start-time": "Pradžios laikas", - "repeat": "Pakartoti", + "repeat": "Kartoti", "repeats": "Pakartojimai", - "daily": "Kasdieną", + "daily": "Kasdien", "every-n-days": "Kas N dienas", - "every-n-days-text": "Kas { days, plural, =1 {dieną} other {# dienas} }", + "every-n-days-text": "Kas { days, plural, =1 {dieną} one {# dieną} few {# dienas} other {# dienų} }", "weekly": "Kas savaitę", "every-n-weeks": "Kas N savaites", - "every-n-weeks-text": "Kas { weeks, plural, =1 {savaitę} other {# savaites} }", + "every-n-weeks-text": "Kas { weeks, plural, =1 {savaitę} one {# savaitę} few {# savaites} other {# savaičių} }", "monthly": "Kas mėnesį", "yearly": "Kas metus", "timer": "Nurodytu laiku", - "repeats-required": "Pakartojimai būtini.", + "repeats-required": "Pakartojimai yra privalomi.", "repeat-on": "Kartoti", - "repeat-every": "Kartoti kiekvieną", + "repeat-every": "Kartoti kas", "repeat-every-n-days": "Kartoti kas N dienas", - "repeat-days-required": "Pakartojim dienų skaičius būtinas.", + "repeat-days-required": "Pakartojimo dienų skaičius yra privalomas.", "invalid-repeat-days-value": "Pakartojimo dienų skaičius turi būti sveikas teigiamas skaičius.", "repeat-every-n-weeks": "Kartoti kas N savaites", - "repeat-weeks-required": "Pakartojimo savaičių skaičius būtinas.", + "repeat-weeks-required": "Pakartojimo savaičių skaičius yra privalomas.", "invalid-repeat-weeks-value": "Pakartojimo savaičių skaičius turi būti sveikas teigiamas skaičius.", "ends-on": "Pabaiga", "sunday-label": "Sk", @@ -7171,9 +8962,9 @@ "repeat-on-friday": "Kartoti penktadieniais", "repeat-on-saturday": "Kartoti šeštadieniais", "event-type": "Įvykio tipas", - "select-event-type": "Pasirinkite įvykio tiipą", - "event-type-required": "Įvykio tipas būtinas.", - "event-type-max-length": "Įvykio tipas negali viršyti 256 simbolių.", + "select-event-type": "Pasirinkite įvykio tipą", + "event-type-required": "Įvykio tipas yra privalomas.", + "event-type-max-length": "Įvykio tipas turi būti trumpesnis nei 256 simboliai.", "list-mode": "Sąrašas", "calendar-mode": "Kalendorius", "calendar-view-type": "Kalendoriaus peržiūros tipas", @@ -7181,17 +8972,17 @@ "week": "Savaitė", "day": "Diena", "agenda-week": "Savaitinis tvarkaraštis", - "agenda-day": "Dienų tvarkaraštis", + "agenda-day": "Dienos tvarkaraštis", "list-year": "Sąrašas metams", "list-month": "Sąrašas mėnesiui", "list-week": "Sąrašas savaitei", "list-day": "Sąrašas dienai", "today": "Šiandien", "navigate-before": "Ankstesnis", - "navigate-next": "Sekantis", - "starting-from": "Pradėti nuo", + "navigate-next": "Kitas", + "starting-from": "Nuo", "until": "iki", - "on": "į", + "on": "–", "sunday": "Sekmadienis", "monday": "Pirmadienis", "tuesday": "Antradienis", @@ -7199,28 +8990,26 @@ "thursday": "Ketvirtadienis", "friday": "Penktadienis", "saturday": "Šeštadienis", - "originator": "Iniciatorius", + "originator": "Siuntėjas", "single-entity": "Vienas subjektas", "group-entities": "Grupės subjektai", "entities-group-owner": "Subjektų grupės savininkas", - "single-device": "Vienas įrenginys", - "group-of-devices": "Įrenginių grupė", "devices-group-owner": "Įrenginių grupės savininkas", - "message-body": "Pranešimo tekstas", + "message-body": "Žinutės turinys", "target": "Tikslas", "rpc-method": "Metodas", - "rpc-method-required": "Metodas yra privalomas.", - "rpc-method-white-space": "Tarpai nėra leidžiami.", - "rpc-params": "Params", + "rpc-method-required": "Metodas yra privalomas", + "rpc-method-white-space": "Tarpai neleidžiami.", + "rpc-params": "Parametrai", "select-dashboard-state": "Pasirinkite skydelio būseną", "hours": "Valandos", "minutes": "Minutės", "seconds": "Sekundės", - "time-interval-required": "Laiko intervalas būtinas", - "time-unit-required": "Laiko vienetas būtinas", - "every-hour": "kas { count, plural, =1 {valandą} other {# valandas} }", - "every-minute": "kas { count, plural, =1 {minutę} other {# minutes} }", - "every-second": "kas { count, plural, =1 {sekundę} other {# sekundes} }", + "time-interval-required": "Laiko intervalas yra privalomas", + "time-unit-required": "Laiko vienetas yra privalomas", + "every-hour": "kas { count, plural, =1 {valandą} one {# valandą} few {# valandas} other {# valandų} }", + "every-minute": "kas { count, plural, =1 {minutę} one {# minutę} few {# minutes} other {# minučių} }", + "every-second": "kas { count, plural, =1 {sekundę} one {# sekundę} few {# sekundes} other {# sekundžių} }", "invalid-time": "Neteisingas laikas", "rpc-request-timeout": "RPC užklausos laiko limitas (ms)", "rpc-request-persistent": "Nuolatinė RPC užklausa", @@ -7228,71 +9017,81 @@ "rpc-value-min-error": "Reikšmė turi būti didesnė nei {{min}} ms.", "set": "Nustatyti", "rpc-settings": "RPC nustatymai", - "enabled": "Įjungti planuoklį", + "enabled": "Įjungti planuoklę", "enable": "Įjungti", "disable": "Išjungti" }, "report": { "general-report-settings": "Bendrieji ataskaitos nustatymai", - "target-dashboard": "Tikslo skydelis", + "target-dashboard": "Tikslinis skydelis", "email-config": "Elektroninio pašto konfigūracija", "dashboard-state-param": "Skydelio būsenos parametro reikšmė", - "base-url": "Pagrindinis URL", - "base-url-required": "Pagrindinis URL yra būtinas.", + "base-url": "Bazinis URL", + "base-url-required": "Bazinis URL yra privalomas.", "use-dashboard-timewindow": "Naudoti skydelio laiko langą", "use-dashboard-timewindow-description": "Jei nustatyta, ataskaitos generavimo metu bus naudojamas laiko langas, sukonfigūruotas tiksliniame skydelyje.", "timewindow": "Laiko langas", "name-pattern": "Ataskaitos pavadinimo šablonas", - "name-pattern-required": "Ataskaitos pavadinimo šablonas yra būtinas.", + "name-pattern-required": "Ataskaitos pavadinimo šablonas yra privalomas", "type": "Ataskaitos tipas", - "customer-user-credentials": "Kliento vartotojo įgaliojimai", - "customer-user-credentials-required": "Kliento vartotojo įgaliojimai yra būtini.", + "customer-user-credentials": "Kliento naudotojo prisijungimo duomenys", + "customer-user-credentials-required": "Kliento naudotojo prisijungimo duomenys yra privalomi", "generate-test-report": "Generuoti bandomąją ataskaitą", "send-email": "Siųsti el. laišką", "from": "Nuo", - "from-required": "Būtina nurodyti, nuo ko siunčiamas laiškas.", + "from-required": "Laukas „Nuo“ yra privalomas.", "to": "Kam", - "to-required": "Būtina nurodyti, kam siunčiamas laiškas.", - "cc": "Cc", - "bcc": "Bcc", - "cc-description": "Kopija (Carbon Copy)", - "bcc-description": "Nematoma kopija (Blind Carbon Copy)", + "to-required": "Laukas „Kam“ yra privalomas.", + "cc": "Kopija", + "bcc": "Nematoma kopija", + "cc-description": "Kopija", + "bcc-description": "Nematoma kopija", "subject": "Tema", - "subject-required": "Būtina nurodyti laiško temą.", + "subject-required": "Tema yra privaloma.", "body": "Tekstas", - "body-required": "Būtina įrašyti laiško tekstą.", - "credentials": "Įgaliojimai", + "body-required": "Tekstas yra privalomas.", + "credentials": "Prisijungimo duomenys", "preview-report": "Peržiūrėti ataskaitą", - "current-user": "Dabartinis vartotojas", - "customer-user": "Kliento vartotojas", - "user-credentials-description": "Nurodyto vartotojo įgaliojimai bus naudojami atidarant skydelio sąsają ataskaitos generavimo metu.", + "current-user": "Dabartinis naudotojas", + "customer-user": "Kliento naudotojas", + "user-credentials-description": "Nurodyto naudotojo prisijungimo duomenys bus naudojami atidarant skydelio sąsają ataskaitos generavimo metu.", "timezone-description": "Laiko juosta, kurioje tikslinis skydelis bus pateiktas ataskaitoje.", "reporting": "Ataskaitų teikimas", "templates": "Šablonai", + "report": "Ataskaita", "reports": "Ataskaitos", "scheduling": "Planavimas", "generating-report": "Generuojama ataskaita...", "report-details": "Ataskaitos informacija", "add": "Pridėti ataskaitą", "no-reports-text": "Ataskaitų nerasta", - "search": "Ieškoti ataskaitų", - "selected-reports": "Pasirinkta { count, plural, =1 {1 ataskaita} other {# ataskaitos} }", + "search": "Ieškokite ataskaitų", + "selected-reports": "{ count, plural, =1 {Pasirinkta 1 ataskaita} one {Pasirinkta # ataskaita} few {Pasirinktos # ataskaitos} other {Pasirinkta # ataskaitų} }", "filter-not-set": "Visos", - "delete-report-title": "Ar tikrai norite ištrinti ataskaitą '{{reportName}}'?", + "delete-report-title": "Ar tikrai norite ištrinti ataskaitą „{{reportName}}“?", "delete-report-text": "Būkite atsargūs — po patvirtinimo ataskaita ir visi su ja susiję duomenys bus negrįžtamai pašalinti.", - "delete-reports-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ataskaitą} other {# ataskaitas} }?", + "delete-reports-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ataskaitą} one {# ataskaitą} few {# ataskaitas} other {# ataskaitų} }?", "delete-reports-text": "Būkite atsargūs — po patvirtinimo visos pasirinktos ataskaitos ir su jomis susiję duomenys bus negrįžtamai pašalinti.", "file-name": "Failo pavadinimas", "format": "Formatas", "download": "Atsisiųsti ataskaitą", - "reports-filter": "Ataskaitų filtras" + "report-filter": "Ataskaitų filtras", + "no-reports-matching": "Ataskaitų, atitinkančių „{{entity}}“, nerasta.", + "report-required": "Ataskaita yra privaloma", + "generate-report": "Generuoti ataskaitą", + "generate-report-started": "Ataskaitos generavimas pradėtas. Atnaujinkite puslapį, jei ataskaita nepasirodo.", + "public-status": "Viešoji prieiga", + "manage-public-access": "Valdyti viešąją prieigą", + "public-status-hint": "Kai įjungta, bet kas, turintis viešąją ataskaitos nuorodą, gali atsisiųsti ataskaitą.", + "public-link-text": "Ši ataskaita yra vieša. Bendrinkite toliau pateiktą nuorodą – bet kas, turintis ją, gali atsisiųsti ataskaitą be autorizacijos.", + "copy-public-link": "Kopijuoti nuorodą" }, "report-template": { "report-template": "Ataskaitos šablonas", "report-templates": "Ataskaitų šablonai", "add": "Pridėti ataskaitos šabloną", - "search": "Ieškoti ataskaitų šablonų", - "templates-filter": "Šablonų filtras", + "search": "Ieškokite ataskaitų šablonų", + "template-filter": "Šablonų filtras", "sub-report": "Subataskaita", "no-report-templates-text": "Ataskaitų šablonų nerasta", "no-sub-reports-text": "Subataskaitų nerasta", @@ -7301,23 +9100,23 @@ "select-sub-report": "Pasirinkite subataskaitą", "open-subreport-new-tab": "Atidaryti subataskaitą naujame skirtuke", "report-template-details": "Ataskaitos šablono informacija", - "selected-report-templates": "Pasirinkta { count, plural, =1 {1 ataskaitos šablonas} other {# ataskaitų šablonai} }", + "selected-report-templates": "{ count, plural, =1 {Pasirinktas 1 ataskaitos šablonas} one {Pasirinktas # ataskaitos šablonas} few {Pasirinkti # ataskaitų šablonai} other {Pasirinkta # ataskaitų šablonų} }", "type-report": "Ataskaita", "type-sub-report": "Subataskaita", - "no-report-templates-matching": "Ataskaitų šablonų, atitinkančių '{{entity}}', nerasta.", - "no-sub-reports-matching": "Subataskaitų, atitinkančių '{{entity}}', nerasta.", - "report-template-required": "Ataskaitos šablonas yra privalomas.", - "sub-report-required": "Subataskaita yra privaloma.", - "delete-report-template-title": "Ar tikrai norite ištrinti ataskaitos šabloną '{{reportTemplateTitle}}'?", + "no-report-templates-matching": "Ataskaitų šablonų, atitinkančių „{{entity}}“, nerasta.", + "no-sub-reports-matching": "Subataskaitų, atitinkančių „{{entity}}“, nerasta.", + "report-template-required": "Ataskaitos šablonas yra privalomas", + "sub-report-required": "Subataskaita yra privaloma", + "delete-report-template-title": "Ar tikrai norite ištrinti ataskaitos šabloną „{{reportTemplateTitle}}“?", "delete-report-template-text": "Būkite atsargūs — po patvirtinimo ataskaitos šablonas ir visi su juo susiję duomenys bus negrįžtamai pašalinti.", - "delete-report-templates-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ataskaitos šabloną} other {# ataskaitų šablonus} }?", + "delete-report-templates-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ataskaitos šabloną} one {# ataskaitos šabloną} few {# ataskaitų šablonus} other {# ataskaitų šablonų} }?", "delete-report-templates-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti ataskaitų šablonai ir su jais susiję duomenys bus negrįžtamai pašalinti.", "create-new-report-template": "Sukurti naują ataskaitos šabloną", "import": "Importuoti ataskaitos šabloną", "export": "Eksportuoti ataskaitos šabloną", "name": "Pavadinimas", "name-required": "Ataskaitos šablono pavadinimas yra privalomas!", - "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai.", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "format": "Formatas", "type": "Tipas", "description": "Aprašymas", @@ -7333,8 +9132,9 @@ "file-name-pattern-required": "Ataskaitos failo pavadinimo šablonas yra privalomas!", "default-date-format": "Numatytasis datos formatas", "report-components": "Ataskaitos komponentai", - "search-components": "Ieškoti komponentų", - "drop-report-components": "Tempkite ataskaitos komponentus iš šoninės juostos čia", + "search-components": "Ieškokite komponentų", + "drop-report-components": "Nuvilkite ataskaitos komponentus iš šoninės juostos čia", + "drop-report-component": "Nuvilkite ataskaitos komponentą čia", "header": "Antraštė", "header-disabled": "Antraštė išjungta", "first-page-header": "Pirmo puslapio antraštė", @@ -7382,6 +9182,13 @@ "expand": "Išplėsti", "editor": "Redaktorius", "component": { + "group": { + "text-and-images": "Tekstas ir paveikslėliai", + "data-and-tables": "Duomenys ir lentelės", + "charts": "Diagramos", + "branding": "Prekės ženklas", + "report-info-and-layout": "Ataskaitos informacija ir išdėstymas" + }, "heading": { "type": "Antraštė", "text": "Tekstas", @@ -7412,8 +9219,8 @@ "header": "Antraštė", "cell": "Langelis", "sort-by": "Rikiuoti pagal", - "sort-asc": "Didėjimo tvarka", - "sort-desc": "Mažėjimo tvarka", + "sort-asc": "Didėjančia tvarka", + "sort-desc": "Mažėjančia tvarka", "sort-none": "Nėra" }, "entity-table": { @@ -7427,6 +9234,30 @@ "alarm-table": { "type": "Įspėjimų lentelė" }, + "time-series-chart": { + "type": "Laiko eilučių diagrama", + "no-datasource-configured": "Diagramai „{{chartType}}“ nesukonfigūruotas duomenų šaltinis", + "no-series-configured": "Diagramai „{{chartType}}“ turi būti nurodyta bent viena serija" + }, + "latest-chart": { + "no-datasource-configured": "Diagramai „{{chartType}}“ nesukonfigūruotas duomenų šaltinis", + "no-series-configured": "Diagramai „{{chartType}}“ turi būti nurodyta bent viena serija" + }, + "line-chart": "Linijinė diagrama", + "bar-chart": "Stulpelinė diagrama", + "point-chart": "Taškinė diagrama", + "state-chart": "Būsenų diagrama", + "bar-chart-with-labels": "Stulpelinė diagrama su etiketėmis", + "range-chart": "Intervalų diagrama", + "bars": "Stulpeliai", + "pie": "Skritulinė diagrama", + "doughnut": "Žiedinė diagrama", + "horizontal-doughnut": "Horizontali žiedinė diagrama", + "chart": { + "chart-height": "Diagramos aukštis", + "chart-width": "Diagramos plotis", + "chart-alignment": "Diagramos lygiavimas" + }, "image": { "type": "Paveikslėlis", "image-source": "Paveikslėlio šaltinis", @@ -7434,7 +9265,7 @@ "source-entity-key": "Subjekto raktas", "image-url-key": "Paveikslėlio URL raktas", "image-width": "Paveikslėlio plotis", - "width-fit-width": "Tinkinti prie pločio", + "width-fit-width": "Pagal plotį", "width-original": "Originalus dydis", "width-custom": "Pasirinktinis dydis", "image-alignment": "Paveikslėlio lygiavimas", @@ -7452,6 +9283,14 @@ "no-sub-report": "Nepasirinkta jokia subataskaita", "avoid-page-break-inside": "Vengti puslapio lūžio viduje" }, + "split-view": { + "type": "Padalytas rodinys", + "split-position": "Santykinė padalijimo padėtis", + "split-gap": "Padalijimo tarpas", + "vertical-alignment": "Vertikalus lygiavimas", + "left": "Kairėje", + "right": "Dešinėje" + }, "text-section": "Teksto sekcija", "text-image": "Tekstas + paveikslėlis", "image-text": "Paveikslėlis + tekstas", @@ -7472,22 +9311,22 @@ "name": "Pavadinimas", "schedule": "Tvarkaraštis", "schedule-report": "Suplanuoti ataskaitą", - "delete-scheduled-report-title": "Ar tikrai norite ištrinti ataskaitos tvarkaraštį '{{scheduledReportTitle}}'?", + "delete-scheduled-report-title": "Ar tikrai norite ištrinti ataskaitos tvarkaraštį „{{scheduledReportTitle}}“?", "delete-scheduled-report-text": "Būkite atsargūs — po patvirtinimo ataskaitos tvarkaraštis ir visi su juo susiję duomenys bus negrįžtamai pašalinti.", - "delete-scheduled-reports-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ataskaitos tvarkaraštį} other {# ataskaitų tvarkaraščius} }?", + "delete-scheduled-reports-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 ataskaitos tvarkaraštį} one {# ataskaitos tvarkaraštį} few {# ataskaitų tvarkaraščius} other {# ataskaitų tvarkaraščių} }?", "delete-scheduled-reports-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti ataskaitų tvarkaraščiai ir su jais susiję duomenys bus negrįžtamai pašalinti.", "edit": "Redaguoti ataskaitos tvarkaraštį", - "search": "Ieškoti suplanuotų ataskaitų", + "search": "Ieškokite suplanuotų ataskaitų", "no-scheduled-reports-text": "Suplanuotų ataskaitų nerasta", - "selected-scheduled-reports": "Pasirinkta { count, plural, =1 {1 ataskaitos tvarkaraštis} other {# ataskaitų tvarkaraščiai} }" + "selected-scheduled-reports": "{ count, plural, =1 {Pasirinktas 1 ataskaitos tvarkaraštis} one {Pasirinktas # ataskaitos tvarkaraštis} few {Pasirinkti # ataskaitų tvarkaraščiai} other {Pasirinkta # ataskaitų tvarkaraščių} }" }, "blob-entity": { "blob-entity": "Blob subjektas", "select-blob-entity": "Pasirinkite Blob subjektą", - "no-blob-entities-matching": "Blob subjektų, atitinkančių '{{entity}}', nėra.", - "blob-entity-required": "Blob subjektas yra būtinas.", + "no-blob-entities-matching": "Blob subjektų, atitinkančių „{{entity}}“, nėra.", + "blob-entity-required": "Blob subjektas yra privalomas", "files": "Failai", - "search": "Ieškoti failų", + "search": "Ieškokite failų", "clear-search": "Išvalyti paiešką", "no-blob-entities-prompt": "Failų nėra", "report": "Žiniatinklio ataskaita", @@ -7495,25 +9334,25 @@ "name": "Pavadinimas", "type": "Tipas", "created_customer": "Sukūrė klientas", - "selected-blob-entities": "Pasirinkta { count, plural, =1 {1 failas} other {# failai} }", + "selected-blob-entities": "{ count, plural, =1 {Pasirinktas 1 failas} one {Pasirinktas # failas} few {Pasirinkti # failai} other {Pasirinkta # failų} }", "download-blob-entity": "Atsisiųsti failą", "delete-blob-entity": "Ištrinti failą", - "delete-blob-entity-title": "Ar tikrai norite ištrinti failą '{{blobEntityName}}'?", - "delete-blob-entity-text": "Būkite atsargūs — po patvirtinimo failas bus ištrintas.", - "delete-blob-entities-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 failą} other {# failus} }?", - "delete-blob-entities-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti failai ir su jais susijusi informacija bus ištrinti." + "delete-blob-entity-title": "Ar tikrai norite ištrinti failą „{{blobEntityName}}“?", + "delete-blob-entity-text": "Būkite atsargūs — po patvirtinimo failo duomenų nebus galima atkurti.", + "delete-blob-entities-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 failą} one {# failą} few {# failus} other {# failų} }?", + "delete-blob-entities-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti failai bus pašalinti, o visų susijusių duomenų nebus galima atkurti." }, "timezone": { "timezone": "Laiko juosta", - "select-timezone": "Pasirinkti laiko juostą", - "no-timezones-matching": "Laiko juostų, atitinkančių '{{timezone}}' nėra.", - "timezone-required": "Laiko juosta būtina.", + "select-timezone": "Pasirinkite laiko juostą", + "no-timezones-matching": "Laiko juostų, atitinkančių „{{timezone}}“, nėra.", + "timezone-required": "Laiko juosta yra privaloma.", "browser-time": "Naršyklės laikas" }, "queue": { "queue-name": "Eilė", "no-queues-found": "Eilių nerasta.", - "no-queues-matching": "Eilių, atitinkančių '{{queue}}', nerasta.", + "no-queues-matching": "Eilių, atitinkančių „{{queue}}“, nerasta.", "select-name": "Pasirinkite eilės pavadinimą", "name": "Pavadinimas", "name-required": "Eilės pavadinimas yra privalomas!", @@ -7522,51 +9361,51 @@ "queue-required": "Eilė yra privaloma!", "topic-required": "Eilės tema yra privaloma!", "poll-interval-required": "Apklausos intervalas yra privalomas!", - "poll-interval-min-value": "Apklausos intervalo reikšmė negali būti mažesnė nei 1.", - "partitions-required": "Padaliniai yra privalomi!", - "partitions-min-value": "Padalinių reikšmė negali būti mažesnė nei 1.", - "pack-processing-timeout-required": "Apdorojimo laiko limitas yra privalomas.", - "pack-processing-timeout-min-value": "Apdorojimo laiko limito reikšmė negali būti mažesnė nei 1.", + "poll-interval-min-value": "Apklausos intervalo reikšmė negali būti mažesnė nei 1", + "partitions-required": "Skaidiniai yra privalomi!", + "partitions-min-value": "Skaidinių reikšmė negali būti mažesnė nei 1", + "pack-processing-timeout-required": "Apdorojimo laiko limitas yra privalomas", + "pack-processing-timeout-min-value": "Apdorojimo laiko limito reikšmė negali būti mažesnė nei 1", "batch-size-required": "Paketo dydis yra privalomas!", - "batch-size-min-value": "Paketo dydžio reikšmė negali būti mažesnė nei 1.", + "batch-size-min-value": "Paketo dydžio reikšmė negali būti mažesnė nei 1", "retries-required": "Bandymai yra privalomi!", - "retries-min-value": "Bandymai negali būti neigiami.", + "retries-min-value": "Bandymai negali būti neigiami", "failure-percentage-required": "Klaidos procentas yra privalomas!", - "failure-percentage-min-value": "Klaidos procentas negali būti mažesnis nei 0.", - "failure-percentage-max-value": "Klaidos procentas negali būti didesnis nei 100.", + "failure-percentage-min-value": "Klaidos procentas negali būti mažesnis nei 0", + "failure-percentage-max-value": "Klaidos procentas negali būti didesnis nei 100", "pause-between-retries-required": "Pauzė tarp bandymų yra privaloma!", - "pause-between-retries-min-value": "Pauzės tarp bandymų reikšmė negali būti mažesnė nei 1.", + "pause-between-retries-min-value": "Pauzės tarp bandymų reikšmė negali būti mažesnė nei 1", "max-pause-between-retries-required": "Maksimali pauzė tarp bandymų yra privaloma!", - "max-pause-between-retries-min-value": "Maksimalios pauzės tarp bandymų reikšmė negali būti mažesnė nei 1.", + "max-pause-between-retries-min-value": "Maksimalios pauzės tarp bandymų reikšmė negali būti mažesnė nei 1", "submit-strategy-type-required": "Pateikimo strategijos tipas yra privalomas!", "processing-strategy-type-required": "Apdorojimo strategijos tipas yra privalomas!", "queues": "Eilės", - "selected-queues": "Pasirinkta { count, plural, =1 {1 eilė} other {# eilės} }", - "delete-queue-title": "Ar tikrai norite ištrinti eilę '{{queueName}}'?", - "delete-queues-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 eilę} other {# eiles} }?", + "selected-queues": "{ count, plural, =1 {Pasirinkta 1 eilė} one {Pasirinkta # eilė} few {Pasirinktos # eilės} other {Pasirinkta # eilių} }", + "delete-queue-title": "Ar tikrai norite ištrinti eilę „{{queueName}}“?", + "delete-queues-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 eilę} one {# eilę} few {# eiles} other {# eilių} }?", "delete-queue-text": "Būkite atsargūs — po patvirtinimo eilė ir visi su ja susiję duomenys bus negrįžtamai pašalinti.", "delete-queues-text": "Po patvirtinimo visos pasirinktos eilės bus ištrintos ir taps nepasiekiamos.", - "search": "Ieškoti eilės", + "search": "Ieškokite eilės", "add": "Pridėti eilę", "details": "Eilės informacija", "topic": "Tema", "submit-settings": "Pateikimo nustatymai", "submit-strategy": "Strategijos tipas *", "grouping-parameter": "Grupavimo parametras", - "processing-settings": "Bandyminių apdorojimų nustatymai", + "processing-settings": "Pakartotinio apdorojimo nustatymai", "processing-strategy": "Apdorojimo tipas *", - "retries-settings": "Bandyminių bandymų nustatymai", + "retries-settings": "Pakartotinių bandymų nustatymai", "polling-settings": "Apklausos nustatymai", "batch-processing": "Paketo apdorojimas", "poll-interval": "Apklausos intervalas", - "partitions": "Padaliniai", + "partitions": "Skaidiniai", "immediate-processing": "Tiesioginis apdorojimas", "consumer-per-partition": "Siųsti žinučių apklausą kiekvienam vartotojui", - "consumer-per-partition-hint": "Įjungti atskirą vartotoją (-us) kiekvienam padaliniui", - "duplicate-msg-to-all-partitions": "Dubliuoti žinutę į visus padalinius", + "consumer-per-partition-hint": "Įjungti atskirą vartotoją (-us) kiekvienam skaidiniui", + "duplicate-msg-to-all-partitions": "Dubliuoti žinutę į visus skaidinius", "processing-timeout": "Apdorojimo trukmė, ms", "batch-size": "Paketo dydis", - "retries": "Bandymai (0 – neribota)", + "retries": "Pakartotinių bandymų skaičius (0 – neribota)", "failure-percentage": "Klaidingų žinučių procentas, praleidžiant bandymus", "pause-between-retries": "Pakartoti po, sek.", "max-pause-between-retries": "Papildomas pakartojimas po, sek.", @@ -7574,88 +9413,89 @@ "copyId": "Kopijuoti eilės ID", "idCopiedMessage": "Eilės ID nukopijuotas į iškarpinę", "description": "Aprašymas", - "description-hint": "Šis tekstas bus rodomas eilės aprašyme vietoj pasirinktos strategijos.", + "description-hint": "Šis tekstas bus rodomas eilės aprašyme vietoj pasirinktos strategijos", "alt-description": "Pateikimo strategija: {{submitStrategy}}, Apdorojimo strategija: {{processingStrategy}}", "custom-properties": "Pasirinktinės savybės", "custom-properties-hint": "Pasirinktinės eilės (temos) kūrimo savybės, pvz.: 'retention.ms:604800000;retention.bytes:1048576000'", "strategies": { "sequential-by-originator-label": "Sekvencinis pagal siuntėją", - "sequential-by-originator-hint": "Nauja žinutė, pvz., iš įrenginio A, nepateikiama, kol nepatvirtinama ankstesnė žinutė iš to paties įrenginio.", + "sequential-by-originator-hint": "Nauja žinutė, pvz., iš įrenginio A, nepateikiama, kol nepatvirtinama ankstesnė žinutė iš to paties įrenginio", "sequential-by-tenant-label": "Sekvencinis pagal nuomininką", - "sequential-by-tenant-hint": "Nauja žinutė, pvz., iš nuomininko A, nepateikiama, kol nepatvirtinama ankstesnė žinutė iš to paties nuomininko.", + "sequential-by-tenant-hint": "Nauja žinutė, pvz., iš nuomininko A, nepateikiama, kol nepatvirtinama ankstesnė žinutė iš to paties nuomininko", "sequential-label": "Sekvencinis", - "sequential-hint": "Nauja žinutė nepateikiama, kol nepatvirtinama ankstesnė žinutė.", - "burst-label": "Srautinis (Burst)", - "burst-hint": "Visos žinutės pateikiamos taisyklių grandinėms tokia tvarka, kokia jos gaunamos.", + "sequential-hint": "Nauja žinutė nepateikiama, kol nepatvirtinama ankstesnė žinutė", + "burst-label": "Srautinis", + "burst-hint": "Visos žinutės pateikiamos taisyklių grandinėms tokia tvarka, kokia jos gaunamos", "batch-label": "Paketas", - "batch-hint": "Naujas paketas nepateikiamas, kol ankstesnis nepatvirtintas.", + "batch-hint": "Naujas paketas nepateikiamas, kol ankstesnis nepatvirtintas", "skip-all-failures-label": "Praleisti visas klaidas", - "skip-all-failures-hint": "Ignoruoti visas klaidas.", - "skip-all-failures-and-timeouts-label": "Praleisti visas klaidas ir laiko limitus", - "skip-all-failures-and-timeouts-hint": "Ignoruoti visas klaidas ir laiko viršijimus.", + "skip-all-failures-hint": "Ignoruoti visas klaidas", + "skip-all-failures-and-timeouts-label": "Praleisti visas klaidas ir laiko limito viršijimus", + "skip-all-failures-and-timeouts-hint": "Ignoruoti visas klaidas ir laiko viršijimus", "retry-all-label": "Kartoti visas", - "retry-all-hint": "Kartoti visas žinutes iš apdorojimo paketo.", + "retry-all-hint": "Kartoti visas žinutes iš apdorojimo paketo", "retry-failed-label": "Kartoti nesėkmingas", - "retry-failed-hint": "Kartoti visas nesėkmingai apdorotas žinutes iš paketo.", - "retry-timeout-label": "Kartoti laiko viršijusias", - "retry-timeout-hint": "Kartoti visas laiko limitą viršijusias žinutes iš apdorojimo paketo.", - "retry-failed-and-timeout-label": "Kartoti nesėkmingas ir laiko viršijusias", - "retry-failed-and-timeout-hint": "Kartoti visas nesėkmingas ir laiko limitą viršijusias žinutes iš apdorojimo paketo." + "retry-failed-hint": "Kartoti visas nesėkmingai apdorotas žinutes iš paketo", + "retry-timeout-label": "Kartoti viršijusias laiko limitą", + "retry-timeout-hint": "Kartoti visas laiko limitą viršijusias žinutes iš apdorojimo paketo", + "retry-failed-and-timeout-label": "Kartoti nesėkmingas ir viršijusias laiko limitą", + "retry-failed-and-timeout-hint": "Kartoti visas nesėkmingas ir laiko limitą viršijusias žinutes iš apdorojimo paketo" } }, "queue-statistics": { "queue-statistics": "Eilių statistika", - "no-queue-statistics-matching": "Eilių statistikos, atitinkančios '{{entity}}', nerasta.", + "no-queue-statistics-matching": "Eilių statistikos, atitinkančios „{{entity}}“, nerasta.", "queue-statistics-required": "Eilių statistika yra privaloma.", - "list-of-queue-statistics": "{ count, plural, =1 {Viena eilės statistika} other {# eilių statistikos sąrašas} }", - "selected-queue-statistics": "Pasirinkta { count, plural, =1 {1 eilės statistika} other {# eilių statistikos} }", + "list-of-queue-statistics": "{ count, plural, =1 {Viena eilės statistika} one {# eilės statistikos sąrašas} few {# eilių statistikos sąrašas} other {# eilių statistikos sąrašas} }", + "selected-queue-statistics": "{ count, plural, =1 {Pasirinkta 1 eilės statistika} one {Pasirinkta # eilės statistika} few {Pasirinktos # eilių statistikos} other {Pasirinkta # eilių statistikų} }", "no-queue-statistics-text": "Eilių statistikos nerasta", - "queue-statistics-starts-with": "Eilių statistika, kurios pavadinimai prasideda '{{prefix}}'" + "queue-statistics-starts-with": "Eilių statistika, kurios pavadinimai prasideda „{{prefix}}“" }, "server-error": { "general": "Bendra serverio klaida", "authentication": "Autentifikavimo klaida", - "jwt-token-expired": "JWT prieigos raktas pasibaigęs", + "jwt-token-expired": "Baigėsi JWT žetono galiojimas", "tenant-trial-expired": "Nuomininko bandomasis laikotarpis pasibaigė", - "credentials-expired": "Prisijungimo duomenys pasibaigę", + "credentials-expired": "Baigėsi prisijungimo duomenų galiojimas", "permission-denied": "Prieiga uždrausta", "invalid-arguments": "Neteisingi argumentai", "bad-request-params": "Netinkami užklausos parametrai", "item-not-found": "Elementas nerastas", "too-many-requests": "Per daug užklausų", - "too-many-updates": "Per daug atnaujinimų" + "too-many-updates": "Per daug atnaujinimų", + "entities-limit-exceeded": "Viršytas subjektų limitas" }, "tenant": { - "tenant": "Valdytojas", - "tenants": "Valdytojai", - "management": "Valdytojų valdymas", - "add": "Pridėti valdytoją", + "tenant": "Nuomininkas", + "tenants": "Nuomininkai", + "management": "Nuomininkų valdymas", + "add": "Pridėti nuomininką", "admins": "Administratoriai", - "manage-tenant-admins": "Valdyti valdytojo administratorius", - "delete": "Ištrinti valdytoją", - "add-tenant-text": "Pridėti naują valdytoją", - "no-tenants-text": "Valdytojų nėra", - "tenant-details": "Informacija apie valdytoją", - "title-max-length": "Pavadinimas negali viršyti 256 simbolių", - "delete-tenant-title": "Ar tikrai norite ištrinti valdytoją '{{tenantTitle}}'?", - "delete-tenant-text": "Būkite dėmesingi, po patvirtinimo valdytojas ir visa su juo susijusi informacija bus pašalinta.", - "delete-tenants-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 valdytoją} other {# valdytojus} }?", - "delete-tenants-action-title": "Pašalinti { count, plural, =1 {1 valdytoją} other {# valdytojus} }", - "delete-tenants-text": "Būkite dėmesingi, po patvirtinimo, visi pasirinkti valdytojai ir su jais susijusi informacija bus pašalinta.", + "manage-tenant-admins": "Valdyti nuomininko administratorius", + "delete": "Ištrinti nuomininką", + "add-tenant-text": "Pridėti naują nuomininką", + "no-tenants-text": "Nuomininkų nėra", + "tenant-details": "Informacija apie nuomininką", + "title-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", + "delete-tenant-title": "Ar tikrai norite ištrinti nuomininką „{{tenantTitle}}“?", + "delete-tenant-text": "Būkite atsargūs, po patvirtinimo nuomininkas ir visa su juo susijusi informacija bus negrįžtamai pašalinta.", + "delete-tenants-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 nuomininką} one {# nuomininką} few {# nuomininkus} other {# nuomininkų} }?", + "delete-tenants-action-title": "Ištrinti { count, plural, =1 {1 nuomininką} one {# nuomininką} few {# nuomininkus} other {# nuomininkų} }", + "delete-tenants-text": "Būkite atsargūs, po patvirtinimo visi pasirinkti nuomininkai ir su jais susijusi informacija bus negrįžtamai pašalinta.", "title": "Pavadinimas", - "title-required": "Pavadinimas būtinas.", + "title-required": "Pavadinimas yra privalomas.", "description": "Aprašymas", "details": "Informacija", "events": "Įvykiai", - "copyId": "Kopijuoti valdytojo Id", - "idCopiedMessage": "Valdytojo Id nukopijuotas į iškarpinę", - "select-tenant": "Pasirinkti valdytoją", - "no-tenants-matching": "Valdytojų, atitinkančių '{{entity}}' nėra.", - "tenant-required": "Valdytojas būtinas", - "allow-white-labeling": "Leisti personalizavimą", - "allow-customer-white-labeling": "Leisti kliento personalizavimą", - "search": "Valdytojų paieška", - "selected-tenants": "Pasirinkta { count, plural, =1 {1 valdytojas} other {# valdytojai} }", + "copyId": "Kopijuoti nuomininko ID", + "idCopiedMessage": "Nuomininko ID nukopijuotas į iškarpinę", + "select-tenant": "Pasirinkti nuomininką", + "no-tenants-matching": "Nuomininkų, atitinkančių „{{entity}}“, nėra.", + "tenant-required": "Nuomininkas yra privalomas", + "allow-white-labeling": "Leisti prekės ženklo tinkinimą", + "allow-customer-white-labeling": "Leisti klientams tinkinti prekės ženklą", + "search": "Nuomininkų paieška", + "selected-tenants": "{ count, plural, =1 {Pasirinktas 1 nuomininkas} one {Pasirinktas # nuomininkas} few {Pasirinkti # nuomininkai} other {Pasirinkta # nuomininkų} }", "isolated-tb-rule-engine": "Naudoti atskiras ThingsBoard taisyklių variklio eiles", "isolated-tb-rule-engine-details": "Kiekvienas nuomininkas turės atskiras taisyklių variklio eiles" }, @@ -7668,27 +9508,27 @@ "edit": "Redaguoti nuomininko profilį", "tenant-profile-details": "Informacija apie nuomininko profilį", "no-tenant-profiles-text": "Nuomininkų profilių nėra", - "name-max-length": "Pavadinimas negali viršyti 256 simbolių", + "name-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "search": "Nuomininkų profilių paieška", - "selected-tenant-profiles": "Pasirinkta { count, plural, =1 {1 nuomininko profilis} other {# nuomininkų profiliai} }", - "no-tenant-profiles-matching": "Nuomininkų profilių, atitinkančių '{{entity}}', nėra.", + "selected-tenant-profiles": "{ count, plural, =1 {Pasirinktas 1 nuomininko profilis} one {Pasirinktas # nuomininko profilis} few {Pasirinkti # nuomininkų profiliai} other {Pasirinkta # nuomininkų profilių} }", + "no-tenant-profiles-matching": "Nuomininkų profilių, atitinkančių „{{entity}}“, nėra.", "tenant-profile-required": "Nuomininko profilis yra privalomas", "idCopiedMessage": "Nuomininko profilio ID nukopijuotas į iškarpinę", - "set-default": "Nustatyti kaip pagrindinį nuomininko profilį", - "delete": "Pašalinti nuomininko profilį", + "set-default": "Nustatyti nuomininko profilį kaip numatytąjį", + "delete": "Ištrinti nuomininko profilį", "copyId": "Kopijuoti nuomininko profilio ID", "name": "Pavadinimas", "name-required": "Pavadinimas yra privalomas.", "data": "Profilio duomenys", "profile-configuration": "Profilio konfigūracija", "description": "Aprašymas", - "default": "Pagrindinis", - "delete-tenant-profile-title": "Ar tikrai norite pašalinti nuomininko profilį '{{tenantProfileName}}'?", + "default": "Numatytasis", + "delete-tenant-profile-title": "Ar tikrai norite ištrinti nuomininko profilį „{{tenantProfileName}}“?", "delete-tenant-profile-text": "Būkite atsargūs — po patvirtinimo nuomininko profilis ir visa su juo susijusi informacija bus negrįžtamai pašalinta.", - "delete-tenant-profiles-title": "Ar tikrai norite pašalinti { count, plural, =1 {1 nuomininko profilį} other {# nuomininkų profilius} }?", + "delete-tenant-profiles-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 nuomininko profilį} one {# nuomininko profilį} few {# nuomininkų profilius} other {# nuomininkų profilių} }?", "delete-tenant-profiles-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti nuomininkų profiliai ir su jais susijusi informacija bus negrįžtamai pašalinti.", - "set-default-tenant-profile-title": "Ar tikrai norite nuomininko profilį '{{tenantProfileName}}' nustatyti kaip pagrindinį?", - "set-default-tenant-profile-text": "Po patvirtinimo šis nuomininko profilis bus nustatytas kaip pagrindinis ir bus automatiškai priskiriamas naujiems nuomininkams, kuriems profilis nenurodytas.", + "set-default-tenant-profile-title": "Ar tikrai norite nuomininko profilį „{{tenantProfileName}}“ nustatyti kaip numatytąjį?", + "set-default-tenant-profile-text": "Po patvirtinimo šis nuomininko profilis bus nustatytas kaip numatytasis ir bus automatiškai priskiriamas naujiems nuomininkams, kuriems profilis nenurodytas.", "no-tenant-profiles-found": "Nuomininkų profilių nerasta.", "create-new-tenant-profile": "Sukurti naują!", "create-tenant-profile": "Sukurti naują nuomininko profilį", @@ -7697,96 +9537,126 @@ "export-failed-error": "Nepavyko eksportuoti nuomininko profilio: {{error}}", "tenant-profile-file": "Nuomininko profilio failas", "invalid-tenant-profile-file-error": "Nepavyko importuoti nuomininko profilio: neteisinga duomenų struktūra.", - "advanced-settings": "Pažangūs nustatymai", + "advanced-settings": "Išplėstiniai nustatymai", "entities": "Subjektai", "rule-engine": "Taisyklių variklis", - "time-to-live": "Gyvavimo trukmė (Time-to-Live)", - "calculated-fields": "Apskaičiuojami laukai", - "alarms-and-notifications": "Pavojaus signalai ir pranešimai", - "ota-files-in-bytes": "OTA failai baitais", + "time-to-live": "Gyvavimo trukmė", + "calculated-fields": "Apskaičiuotieji laukai", + "alarms-and-notifications": "Įspėjimai ir pranešimai", + "ota-files-in-bytes": "Failai", "ws-title": "WS", "unlimited": "(0 – neribota)", "maximum-devices": "Didžiausias įrenginių skaičius", "maximum-devices-required": "Didžiausias įrenginių skaičius yra privalomas.", "maximum-devices-range": "Didžiausias įrenginių skaičius negali būti neigiamas", - "maximum-assets": "Didžiausias išteklių (asset) skaičius", - "maximum-assets-required": "Didžiausias išteklių (asset) skaičius yra privalomas.", - "maximum-assets-range": "Didžiausias išteklių (asset) skaičius negali būti neigiamas", + "maximum-assets": "Didžiausias turtų skaičius", + "maximum-assets-required": "Didžiausias turtų skaičius yra privalomas.", + "maximum-assets-range": "Didžiausias turtų skaičius negali būti neigiamas", "maximum-customers": "Didžiausias klientų skaičius", "maximum-customers-required": "Didžiausias klientų skaičius yra privalomas.", "maximum-customers-range": "Didžiausias klientų skaičius negali būti neigiamas", - "maximum-users": "Didžiausias vartotojų skaičius", - "maximum-users-required": "Didžiausias vartotojų skaičius yra privalomas.", - "maximum-users-range": "Didžiausias vartotojų skaičius negali būti neigiamas", - "maximum-dashboards": "Didžiausias skydelių (dashboard) skaičius", - "maximum-dashboards-required": "Didžiausias skydelių (dashboard) skaičius yra privalomas.", - "maximum-dashboards-range": "Didžiausias skydelių (dashboard) skaičius negali būti neigiamas", - "maximum-edges": "Didžiausias Edge įrenginių skaičius", - "maximum-edges-required": "Didžiausias Edge įrenginių skaičius yra privalomas.", - "maximum-edges-range": "Didžiausias Edge įrenginių skaičius negali būti neigiamas", - "maximum-rule-chains": "Didžiausias taisyklių grandinių (rule chains) skaičius", - "maximum-rule-chains-required": "Didžiausias taisyklių grandinių (rule chains) skaičius yra privalomas.", - "maximum-rule-chains-range": "Didžiausias taisyklių grandinių (rule chains) skaičius negali būti neigiamas", + "maximum-users": "Didžiausias naudotojų skaičius", + "maximum-users-required": "Didžiausias naudotojų skaičius yra privalomas.", + "maximum-users-range": "Didžiausias naudotojų skaičius negali būti neigiamas", + "maximum-dashboards": "Didžiausias skydelių skaičius", + "maximum-dashboards-required": "Didžiausias skydelių skaičius yra privalomas.", + "maximum-dashboards-range": "Didžiausias skydelių skaičius negali būti neigiamas", + "maximum-edges": "Didžiausias Edge egzempliorių skaičius", + "maximum-edges-required": "Didžiausias Edge egzempliorių skaičius yra privalomas.", + "maximum-edges-range": "Didžiausias Edge egzempliorių skaičius negali būti neigiamas", + "maximum-rule-chains": "Didžiausias taisyklių grandinių skaičius", + "maximum-rule-chains-required": "Didžiausias taisyklių grandinių skaičius yra privalomas.", + "maximum-rule-chains-range": "Didžiausias taisyklių grandinių skaičius negali būti neigiamas", "maximum-integrations": "Didžiausias integracijų skaičius", "maximum-integrations-required": "Didžiausias integracijų skaičius yra privalomas.", "maximum-integrations-range": "Didžiausias integracijų skaičius negali būti neigiamas", "maximum-reports": "Didžiausias ataskaitų skaičius", "maximum-reports-required": "Didžiausias ataskaitų skaičius yra privalomas.", "maximum-reports-range": "Didžiausias ataskaitų skaičius negali būti neigiamas", - "maximum-converters": "Didžiausias keitiklių (converters) skaičius", - "maximum-converters-required": "Didžiausias keitiklių (converters) skaičius yra privalomas.", - "maximum-converters-range": "Didžiausias keitiklių (converters) skaičius negali būti neigiamas", - "maximum-scheduler-events": "Didžiausias planuotų įvykių (scheduler events) skaičius", - "maximum-scheduler-events-required": "Didžiausias planuotų įvykių skaičius yra privalomas.", - "maximum-scheduler-events-range": "Didžiausias planuotų įvykių skaičius negali būti neigiamas", - "maximum-resources-sum-data-size": "Išteklių failų bendras dydis", - "maximum-resources-sum-data-size-required": "Išteklių failų bendras dydis yra privalomas.", - "maximum-resources-sum-data-size-range": "Išteklių failų bendras dydis negali būti neigiamas", + "maximum-converters": "Didžiausias keitiklių skaičius", + "maximum-converters-required": "Didžiausias keitiklių skaičius yra privalomas.", + "maximum-converters-range": "Didžiausias keitiklių skaičius negali būti neigiamas", + "maximum-scheduler-events": "Didžiausias planuoklės įvykių skaičius", + "maximum-scheduler-events-required": "Didžiausias planuoklės įvykių skaičius yra privalomas.", + "maximum-scheduler-events-range": "Didžiausias planuoklės įvykių skaičius negali būti neigiamas", + "maximum-agents": "Didžiausias Agent egzempliorių skaičius", + "maximum-agents-required": "Didžiausias Agent egzempliorių skaičius yra privalomas.", + "maximum-agents-range": "Didžiausias Agent egzempliorių skaičius negali būti neigiamas", + "maximum-agent-applications": "Didžiausias Agent programų skaičius", + "maximum-agent-applications-required": "Didžiausias Agent programų skaičius yra privalomas.", + "maximum-agent-applications-range": "Didžiausias Agent programų skaičius negali būti neigiamas", + "maximum-resources-sum-data-size": "Didžiausias bendras išteklių failų dydis (baitais)", + "maximum-resources-sum-data-size-required": "Didžiausias bendras išteklių failų dydis yra privalomas.", + "maximum-resources-sum-data-size-range": "Didžiausias bendras išteklių failų dydis negali būti neigiamas", "maximum-resource-size": "Didžiausias vieno ištekliaus failo dydis (baitais)", - "maximum-resource-size-required": "Didžiausias ištekliaus failo dydis yra privalomas.", + "maximum-resource-size-required": "Didžiausias ištekliaus failo dydis yra privalomas", "maximum-resource-size-range": "Didžiausias ištekliaus failo dydis negali būti neigiamas", - "maximum-ota-packages-sum-data-size": "OTA paketų failų bendras dydis", - "maximum-ota-package-sum-data-size-required": "OTA paketų failų bendras dydis yra privalomas.", - "maximum-ota-package-sum-data-size-range": "OTA paketų failų bendras dydis negali būti neigiamas", + "maximum-report-size": "Didžiausias ataskaitos failo dydis (baitais)", + "maximum-report-size-required": "Didžiausias ataskaitos failo dydis yra privalomas", + "maximum-report-size-range": "Didžiausias ataskaitos failo dydis negali būti neigiamas", + "maximum-ota-packages-sum-data-size": "Didžiausias bendras OTA paketų failų dydis (baitais)", + "maximum-ota-package-sum-data-size-required": "Didžiausias bendras OTA paketų failų dydis yra privalomas.", + "maximum-ota-package-sum-data-size-range": "Didžiausias bendras OTA paketų failų dydis negali būti neigiamas", "maximum-debug-duration-min": "Didžiausia derinimo trukmė (minutėmis)", "maximum-debug-duration-min-range": "Didžiausia derinimo trukmė negali būti neigiama", "rest-requests-for-tenant": "REST užklausos nuomininkui", - "transport-tenant-telemetry-msg-rate-limit": "Nuomininko telemetrijos pranešimų limitas", - "transport-tenant-telemetry-data-points-rate-limit": "Nuomininko telemetrijos duomenų taškų limitas", - "transport-device-msg-rate-limit": "Įrenginių pranešimų limitas", - "transport-device-telemetry-msg-rate-limit": "Įrenginių telemetrijos pranešimų limitas", - "transport-device-telemetry-data-points-rate-limit": "Įrenginių telemetrijos duomenų taškų limitas", - "transport-gateway-msg-rate-limit": "Šliuzo pranešimų limitas", - "transport-gateway-telemetry-msg-rate-limit": "Šliuzo telemetrijos pranešimų limitas", - "transport-gateway-telemetry-data-points-rate-limit": "Šliuzo telemetrijos duomenų taškų limitas", - "transport-gateway-device-msg-rate-limit": "Šliuzo įrenginių pranešimų limitas", - "transport-gateway-device-telemetry-msg-rate-limit": "Šliuzo įrenginių telemetrijos pranešimų limitas", - "transport-gateway-device-telemetry-data-points-rate-limit": "Šliuzo įrenginių telemetrijos duomenų taškų limitas", - "tenant-entity-export-rate-limit": "Objektų versijų kūrimo limitas", - "tenant-entity-import-rate-limit": "Objektų versijų įkėlimo limitas", + "transport-tenant-telemetry-msg-rate-limit": "Nuomininko telemetrijos žinutės", + "transport-tenant-telemetry-data-points-rate-limit": "Nuomininko telemetrijos duomenų taškai", + "transport-device-msg-rate-limit": "Įrenginių transporto žinutės", + "transport-device-telemetry-msg-rate-limit": "Įrenginių telemetrijos žinutės", + "transport-device-telemetry-data-points-rate-limit": "Įrenginių telemetrijos duomenų taškai", + "transport-gateway-msg-rate-limit": "Gateway įrenginio žinutės", + "transport-gateway-telemetry-msg-rate-limit": "Gateway įrenginio telemetrijos žinutės", + "transport-gateway-telemetry-data-points-rate-limit": "Gateway įrenginio telemetrijos duomenų taškai", + "transport-gateway-device-msg-rate-limit": "Prie Gateway įrenginio prijungtų įrenginių žinutės", + "transport-gateway-device-telemetry-msg-rate-limit": "Prie Gateway įrenginio prijungtų įrenginių telemetrijos žinutės", + "transport-gateway-device-telemetry-data-points-rate-limit": "Prie Gateway įrenginio prijungtų įrenginių telemetrijos duomenų taškai", + "tenant-entity-export-rate-limit": "Subjektų versijų kūrimo limitas", + "tenant-entity-import-rate-limit": "Subjektų versijų įkėlimo limitas", "tenant-notification-request-rate-limit": "Pranešimų užklausų limitas", "tenant-notification-requests-per-rule-rate-limit": "Pranešimų užklausų limitas pagal taisyklę", - "integration-msgs-per-tenant-rate-limit": "Nuomininko integracijos pranešimų limitas", - "integration-msgs-per-device-rate-limit": "Įrenginio integracijos pranešimų limitas", - "integration-msgs-per-asset-rate-limit": "Išteklio integracijos pranešimų limitas", - "max-calculated-fields": "Didžiausias apskaičiuojamų laukų skaičius vienam subjektui", - "max-calculated-fields-range": "Apskaičiuojamų laukų skaičius negali būti neigiamas", - "max-calculated-fields-required": "Didžiausias apskaičiuojamų laukų skaičius vienam subjektui yra privalomas", + "integration-msgs-per-tenant-rate-limit": "Nuomininko integracijos žinučių limitas", + "integration-msgs-per-device-rate-limit": "Įrenginio integracijos žinučių limitas", + "integration-msgs-per-asset-rate-limit": "Turto integracijos žinučių limitas", + "max-calculated-fields": "Didžiausias apskaičiuotų laukų skaičius vienam subjektui", + "max-calculated-fields-range": "Didžiausias apskaičiuotų laukų skaičius vienam subjektui negali būti neigiamas", + "max-calculated-fields-required": "Didžiausias apskaičiuotų laukų skaičius vienam subjektui yra privalomas", "max-data-points-per-rolling-arg": "Didžiausias duomenų taškų skaičius slenkančiuose argumentuose", "max-data-points-per-rolling-arg-range": "Didžiausias duomenų taškų skaičius slenkančiuose argumentuose negali būti neigiamas", "max-data-points-per-rolling-arg-required": "Didžiausias duomenų taškų skaičius slenkančiuose argumentuose yra privalomas", - "max-arguments-per-cf": "Didžiausias argumentų skaičius viename apskaičiuojamame lauke", - "max-arguments-per-cf-range": "Didžiausias argumentų skaičius viename apskaičiuojamame lauke negali būti neigiamas", - "max-arguments-per-cf-required": "Didžiausias argumentų skaičius viename apskaičiuojamame lauke yra privalomas", + "max-arguments-per-cf": "Didžiausias argumentų skaičius viename apskaičiuotame lauke", + "max-arguments-per-cf-range": "Didžiausias argumentų skaičius viename apskaičiuotame lauke negali būti neigiamas", + "max-arguments-per-cf-required": "Didžiausias argumentų skaičius viename apskaičiuotame lauke yra privalomas", + "max-related-level-per-argument": "Maksimalus ryšio lygis vienam argumentui „Susiję subjektai“", + "max-related-level-per-argument-range": "Maksimalus ryšio lygis vienam argumentui „Susiję subjektai“ negali būti mažesnis nei „1“", + "max-related-level-per-argument-required": "Maksimalus ryšio lygis vienam argumentui „Susiję subjektai“ yra privalomas", + "min-allowed-scheduled-update-interval": "Min. leistinas atnaujinimo intervalas argumentams „Susiję subjektai“ (sekundėmis)", + "min-allowed-scheduled-update-interval-range": "Min. leistinas atnaujinimo intervalas negali būti neigiamas", + "min-allowed-deduplication-interval": "Min. leistinas dublikatų šalinimo intervalas (sekundėmis)", + "min-allowed-deduplication-interval-range": "Min. leistino dublikatų šalinimo intervalo reikšmė negali būti neigiama", + "min-allowed-deduplication-interval-required": "Min. leistinas dublikatų šalinimo intervalas yra privalomas", + "intermediate-aggregation-interval": "Tarpinio agregavimo intervalas (sekundėmis)", + "intermediate-aggregation-interval-range": "Tarpinio agregavimo intervalo reikšmė negali būti mažesnė nei „1“", + "intermediate-aggregation-interval-required": "Tarpinio agregavimo intervalas yra privalomas", + "reevaluation-check-interval": "Pakartotinio įvertinimo tikrinimo intervalas (sekundėmis)", + "reevaluation-check-interval-range": "Pakartotinio įvertinimo tikrinimo intervalo reikšmė negali būti mažesnė nei „1“", + "reevaluation-check-interval-required": "Pakartotinio įvertinimo tikrinimo intervalas yra privalomas", + "alarms-reevaluation-interval": "Įspėjimų pakartotinio įvertinimo intervalas (sekundėmis)", + "alarms-reevaluation-interval-range": "Įspėjimų pakartotinio įvertinimo intervalo reikšmė negali būti mažesnė nei „1“", + "alarms-reevaluation-interval-required": "Įspėjimų pakartotinio įvertinimo intervalas yra privalomas", + "min-allowed-aggregation-interval": "Min. leistinas agregavimo intervalas (sekundėmis)", + "min-allowed-aggregation-interval-range": "Min. leistino agregavimo intervalo reikšmė negali būti neigiama", + "min-allowed-aggregation-interval-required": "Min. leistinas agregavimo intervalas yra privalomas", + "min-allowed-scheduled-update-interval-required": "Min. leistino atnaujinimo intervalo reikšmė yra privaloma", "max-state-size": "Didžiausias būsenos dydis (KB)", "max-state-size-range": "Didžiausias būsenos dydis (KB) negali būti neigiamas", "max-state-size-required": "Didžiausias būsenos dydis (KB) yra privalomas", "max-value-argument-size": "Didžiausias vieno argumento reikšmės dydis (KB)", "max-value-argument-size-range": "Didžiausias vieno argumento reikšmės dydis (KB) negali būti neigiamas", "max-value-argument-size-required": "Didžiausias vieno argumento reikšmės dydis (KB) yra privalomas", - "max-transport-messages": "Didžiausias transporto pranešimų skaičius", - "max-transport-messages-required": "Didžiausias transporto pranešimų skaičius yra privalomas.", - "max-transport-messages-range": "Didžiausias transporto pranešimų skaičius negali būti neigiamas", + "max-transport-messages": "Didžiausias transporto žinučių skaičius", + "max-transport-messages-required": "Didžiausias transporto žinučių skaičius yra privalomas.", + "max-transport-messages-range": "Didžiausias transporto žinučių skaičius negali būti neigiamas", "max-transport-data-points": "Didžiausias transporto duomenų taškų skaičius", "max-transport-data-points-required": "Didžiausias transporto duomenų taškų skaičius yra privalomas.", "max-transport-data-points-range": "Didžiausias transporto duomenų taškų skaičius negali būti neigiamas", @@ -7802,12 +9672,12 @@ "max-d-p-storage-days": "Didžiausias duomenų taškų saugojimo dienų skaičius", "max-d-p-storage-days-required": "Didžiausias duomenų taškų saugojimo dienų skaičius yra privalomas.", "max-d-p-storage-days-range": "Didžiausias duomenų taškų saugojimo dienų skaičius negali būti neigiamas", - "default-storage-ttl-days": "Numatytasis duomenų saugojimo laikotarpis (TTL dienomis)", - "default-storage-ttl-days-required": "Numatytasis duomenų saugojimo laikotarpis (TTL) yra privalomas.", - "default-storage-ttl-days-range": "Numatytasis duomenų saugojimo laikotarpis (TTL) negali būti neigiamas", - "alarms-ttl-days": "Pavojaus signalų TTL (dienomis)", - "alarms-ttl-days-required": "Pavojaus signalų TTL (dienomis) yra privalomas", - "alarms-ttl-days-days-range": "Pavojaus signalų TTL (dienomis) negali būti neigiamas", + "default-storage-ttl-days": "Numatytasis duomenų saugojimo TTL (dienomis)", + "default-storage-ttl-days-required": "Numatytasis duomenų saugojimo TTL (dienomis) yra privalomas.", + "default-storage-ttl-days-range": "Numatytasis duomenų saugojimo TTL (dienomis) negali būti neigiamas", + "alarms-ttl-days": "Įspėjimų TTL (dienomis)", + "alarms-ttl-days-required": "Įspėjimų TTL (dienomis) yra privalomas", + "alarms-ttl-days-days-range": "Įspėjimų TTL (dienomis) negali būti neigiamas", "rpc-ttl-days": "RPC TTL (dienomis)", "rpc-ttl-days-required": "RPC TTL (dienomis) yra privalomas", "rpc-ttl-days-days-range": "RPC TTL (dienomis) negali būti neigiamas", @@ -7833,14 +9703,14 @@ "max-sms": "Didžiausias išsiųstų SMS skaičius", "max-sms-required": "Didžiausias išsiųstų SMS skaičius yra privalomas.", "max-sms-range": "Didžiausias išsiųstų SMS skaičius negali būti neigiamas", - "max-created-alarms": "Didžiausias sukurtų pavojaus signalų skaičius", - "max-created-alarms-required": "Didžiausias sukurtų pavojaus signalų skaičius yra privalomas.", - "max-created-alarms-range": "Didžiausias sukurtų pavojaus signalų skaičius negali būti neigiamas", + "max-created-alarms": "Didžiausias sukurtų įspėjimų skaičius", + "max-created-alarms-required": "Didžiausias sukurtų įspėjimų skaičius yra privalomas.", + "max-created-alarms-range": "Didžiausias sukurtų įspėjimų skaičius negali būti neigiamas", "no-queue": "Eilė nesukonfigūruota", "add-queue": "Pridėti eilę", "queues-with-count": "Eilės ({{count}})", - "tenant-rest-limits": "REST užklausų limitas nuomininkui", - "customer-rest-limits": "REST užklausų limitas klientui", + "tenant-rest-limits": "REST užklausos nuomininkui", + "customer-rest-limits": "REST užklausos klientui", "incorrect-pattern-for-rate-limits": "Formatas turi būti kableliais atskirtos poros su talpa ir laikotarpiu (sekundėmis), pvz.: 100:1,2000:60", "too-small-value-zero": "Reikšmė turi būti didesnė nei 0", "too-small-value-one": "Reikšmė turi būti didesnė nei 1", @@ -7851,33 +9721,41 @@ "cassandra-read-tenant-rule-engine-limits-configuration": "Taisyklių variklio telemetrijos Cassandra skaitymo užklausos", "ws-limit-max-sessions-per-tenant": "Didžiausias sesijų skaičius vienam nuomininkui", "ws-limit-max-sessions-per-customer": "Didžiausias sesijų skaičius vienam klientui", - "ws-limit-max-sessions-per-regular-user": "Didžiausias sesijų skaičius vienam vartotojui", - "ws-limit-max-sessions-per-public-user": "Didžiausias sesijų skaičius viešam vartotojui", - "ws-limit-queue-per-session": "Didžiausias pranešimų eilės dydis vienai sesijai", + "ws-limit-max-sessions-per-regular-user": "Didžiausias sesijų skaičius vienam įprastam naudotojui", + "ws-limit-max-sessions-per-public-user": "Didžiausias sesijų skaičius vienam viešajam naudotojui", + "ws-limit-queue-per-session": "Didžiausias žinučių eilės dydis vienai sesijai", "ws-limit-max-subscriptions-per-tenant": "Didžiausias prenumeratų skaičius vienam nuomininkui", "ws-limit-max-subscriptions-per-customer": "Didžiausias prenumeratų skaičius vienam klientui", - "ws-limit-max-subscriptions-per-regular-user": "Didžiausias prenumeratų skaičius vienam vartotojui", - "ws-limit-max-subscriptions-per-public-user": "Didžiausias prenumeratų skaičius viešam vartotojui", - "ws-limit-updates-per-session": "WS atnaujinimų skaičius vienai sesijai", + "ws-limit-max-subscriptions-per-regular-user": "Didžiausias prenumeratų skaičius vienam įprastam naudotojui", + "ws-limit-max-subscriptions-per-public-user": "Didžiausias prenumeratų skaičius vienam viešajam naudotojui", + "ws-limit-updates-per-session": "WS atnaujinimai per sesiją", + "relation-search-entity-limit": "Ryšių paieškos subjektų limitas", + "relation-search-entity-limit-hint": "Riboja subjektų, nustatomų paskutiniame ryšių kelio lygyje, skaičių. Taikoma argumentams „Susiję subjektai“ ir perdavimo laukams.", + "relation-search-entity-limit-required": "Ryšių paieškos subjektų limitas", + "relation-search-entity-limit-range": "Ryšių paieškos subjektų limitas negali būti mažesnis nei „1“", + "ai": "DI", + "max-ai-credits": "Didžiausias DI kreditų skaičius", + "max-ai-credits-required": "Didžiausias DI kreditų skaičius yra privalomas.", + "max-ai-credits-range": "Didžiausias DI kreditų skaičius negali būti neigiamas", "rate-limits": { "add-limit": "Pridėti limitą", "and-also-less-than": "ir taip pat mažesnis nei", - "advanced-settings": "Pažangūs nustatymai", + "advanced-settings": "Išplėstiniai nustatymai", "edit-limit": "Redaguoti limitą", - "calculated-field-debug-event-rate-limit": "Apskaičiuojamų laukų derinimo įvykių limitas", - "edit-calculated-field-debug-event-rate-limit": "Redaguoti apskaičiuojamų laukų derinimo įvykių limitus", - "edit-transport-tenant-msg-title": "Redaguoti nuomininko transporto pranešimų limitus", - "edit-transport-tenant-telemetry-msg-title": "Redaguoti nuomininko telemetrijos pranešimų limitus", + "calculated-field-debug-event-rate-limit": "Apskaičiuotų laukų derinimo įvykių limitas", + "edit-calculated-field-debug-event-rate-limit": "Redaguoti apskaičiuotų laukų derinimo įvykių limitus", + "edit-transport-tenant-msg-title": "Redaguoti nuomininko transporto žinučių limitus", + "edit-transport-tenant-telemetry-msg-title": "Redaguoti nuomininko telemetrijos žinučių limitus", "edit-transport-tenant-telemetry-data-points-title": "Redaguoti nuomininko telemetrijos duomenų taškų limitus", - "edit-transport-device-msg-title": "Redaguoti įrenginių transporto pranešimų limitus", - "edit-transport-device-telemetry-msg-title": "Redaguoti įrenginių telemetrijos pranešimų limitus", + "edit-transport-device-msg-title": "Redaguoti įrenginių transporto žinučių limitus", + "edit-transport-device-telemetry-msg-title": "Redaguoti įrenginių telemetrijos žinučių limitus", "edit-transport-device-telemetry-data-points-title": "Redaguoti įrenginių telemetrijos duomenų taškų limitus", - "edit-transport-gateway-msg-title": "Redaguoti šliuzo pranešimų limitus", - "edit-transport-gateway-telemetry-msg-title": "Redaguoti šliuzo telemetrijos pranešimų limitus", - "edit-transport-gateway-telemetry-data-points-title": "Redaguoti šliuzo telemetrijos duomenų taškų limitus", - "edit-transport-gateway-device-msg-title": "Redaguoti šliuzo įrenginių pranešimų limitus", - "edit-transport-gateway-device-telemetry-msg-title": "Redaguoti šliuzo įrenginių telemetrijos pranešimų limitus", - "edit-transport-gateway-device-telemetry-data-points-title": "Redaguoti šliuzo įrenginių telemetrijos duomenų taškų limitus", + "edit-transport-gateway-msg-title": "Redaguoti Gateway įrenginio žinučių limitus", + "edit-transport-gateway-telemetry-msg-title": "Redaguoti Gateway įrenginio telemetrijos žinučių limitus", + "edit-transport-gateway-telemetry-data-points-title": "Redaguoti Gateway įrenginio telemetrijos duomenų taškų limitus", + "edit-transport-gateway-device-msg-title": "Redaguoti prie Gateway įrenginio prijungtų įrenginių žinučių limitus", + "edit-transport-gateway-device-telemetry-msg-title": "Redaguoti prie Gateway įrenginio prijungtų įrenginių telemetrijos žinučių limitus", + "edit-transport-gateway-device-telemetry-data-points-title": "Redaguoti prie Gateway įrenginio prijungtų įrenginių telemetrijos duomenų taškų limitus", "edit-tenant-rest-limits-title": "Redaguoti REST užklausų limitus nuomininkui", "edit-customer-rest-limits-title": "Redaguoti REST užklausų limitus klientui", "edit-ws-limit-updates-per-session-title": "Redaguoti WS atnaujinimų per sesiją limitus", @@ -7885,53 +9763,63 @@ "edit-cassandra-read-tenant-core-limits-configuration": "Redaguoti REST API ir WS telemetrijos Cassandra skaitymo užklausų limitus", "edit-cassandra-write-tenant-rule-engine-limits-configuration": "Redaguoti taisyklių variklio telemetrijos Cassandra rašymo užklausų limitus", "edit-cassandra-read-tenant-rule-engine-limits-configuration": "Redaguoti taisyklių variklio telemetrijos Cassandra skaitymo užklausų limitus", - "edit-tenant-entity-export-rate-limit-title": "Redaguoti objektų versijų kūrimo limitus", - "edit-tenant-entity-import-rate-limit-title": "Redaguoti objektų versijų įkėlimo limitus", + "edit-tenant-entity-export-rate-limit-title": "Redaguoti subjektų versijų kūrimo limitus", + "edit-tenant-entity-import-rate-limit-title": "Redaguoti subjektų versijų įkėlimo limitus", "edit-tenant-notification-request-rate-limit-title": "Redaguoti pranešimų užklausų limitus", "edit-tenant-notification-requests-per-rule-rate-limit-title": "Redaguoti pranešimų užklausų limitus pagal taisyklę", - "edit-integration-msgs-per-tenant-rate-limit-title": "Redaguoti integracijos pranešimų limitus pagal nuomininką", - "edit-integration-msgs-per-device-rate-limit-title": "Redaguoti integracijos pranešimų limitus pagal įrenginį", - "edit-integration-msgs-per-asset-rate-limit-title": "Redaguoti integracijos pranešimų limitus pagal išteklių (asset)", + "edit-integration-msgs-per-tenant-rate-limit-title": "Redaguoti integracijos žinučių limitus pagal nuomininką", + "edit-integration-msgs-per-device-rate-limit-title": "Redaguoti integracijos žinučių limitus pagal įrenginį", + "edit-integration-msgs-per-asset-rate-limit-title": "Redaguoti integracijos žinučių limitus pagal turtą", "edit-edge-events-rate-limit": "Redaguoti Edge įvykių limitus", - "edit-edge-events-per-edge-rate-limit": "Redaguoti Edge įvykių limitus pagal Edge įrenginį", + "edit-edge-events-per-edge-rate-limit": "Redaguoti Edge įvykių limitus vienam Edge egzemplioriui", "edge-events-rate-limit": "Edge įvykiai", - "edge-events-per-edge-rate-limit": "Edge įvykiai pagal Edge įrenginį", - "edit-edge-uplink-messages-rate-limit": "Redaguoti Edge į viršų siunčiamų pranešimų (uplink) limitus", - "edit-edge-uplink-messages-per-edge-rate-limit": "Redaguoti Edge į viršų siunčiamų pranešimų (uplink) limitus pagal Edge įrenginį", - "edge-uplink-messages-rate-limit": "Edge uplink pranešimai", - "edge-uplink-messages-per-edge-rate-limit": "Edge uplink pranešimai pagal Edge įrenginį", - "messages-per": "pranešimų per", + "edge-events-per-edge-rate-limit": "Edge įvykiai vienam Edge egzemplioriui", + "edit-edge-uplink-messages-rate-limit": "Redaguoti Edge Uplink žinučių limitus", + "edit-edge-uplink-messages-per-edge-rate-limit": "Redaguoti Edge Uplink žinučių limitus vienam Edge egzemplioriui", + "edge-uplink-messages-rate-limit": "Edge Uplink žinutės", + "edge-uplink-messages-per-edge-rate-limit": "Edge Uplink žinutės vienam Edge egzemplioriui", + "edit-agent-events-rate-limit": "Redaguoti Agent įvykių dažnio limitus", + "edit-agent-events-per-agent-rate-limit": "Redaguoti Agent įvykių dažnio limitus vienam Agent egzemplioriui", + "agent-events-rate-limit": "Agent įvykiai", + "agent-events-per-agent-rate-limit": "Agent įvykiai vienam Agent egzemplioriui", + "edit-agent-log-chunks-rate-limit": "Redaguoti Agent žurnalo dalių dažnio limitus", + "edit-agent-log-chunks-per-agent-rate-limit": "Redaguoti Agent žurnalo dalių dažnio limitus vienam Agent egzemplioriui", + "agent-log-chunks-rate-limit": "Agent žurnalo dalys", + "agent-log-chunks-per-agent-rate-limit": "Agent žurnalo dalys vienam Agent egzemplioriui", + "ai-chat-requests-rate-limit": "DI pokalbių užklausos", + "edit-ai-chat-requests-rate-limit": "Redaguoti DI pokalbių užklausų dažnio limitus", + "messages-per": "žinučių per", "not-set": "Nenustatyta", - "number-of-messages": "Pranešimų skaičius", - "number-of-messages-required": "Pranešimų skaičius yra privalomas.", + "number-of-messages": "Žinučių skaičius", + "number-of-messages-required": "Žinučių skaičius yra privalomas.", "number-of-messages-min": "Mažiausia reikšmė yra 1.", "preview": "Peržiūra", "per-seconds": "Per sekundes", "per-seconds-required": "Laiko norma yra privaloma.", "per-seconds-min": "Mažiausia reikšmė yra 1.", "per-seconds-duplicate": "Pasikartojanti laiko norma. Kiekvienas laiko intervalas turi būti unikalus.", - "rate-limits": "Greitaveikos limitai", + "rate-limits": "Dažnio limitai", "remove-limit": "Pašalinti limitą", - "transport-tenant-msg": "Nuomininko transporto pranešimai", - "transport-tenant-telemetry-msg": "Nuomininko telemetrijos pranešimai", + "transport-tenant-msg": "Nuomininko transporto žinutės", + "transport-tenant-telemetry-msg": "Nuomininko telemetrijos žinutės", "transport-tenant-telemetry-data-points": "Nuomininko telemetrijos duomenų taškai", - "transport-device-msg": "Įrenginių transporto pranešimai", - "transport-device-telemetry-msg": "Įrenginių telemetrijos pranešimai", + "transport-device-msg": "Įrenginių transporto žinutės", + "transport-device-telemetry-msg": "Įrenginių telemetrijos žinutės", "transport-device-telemetry-data-points": "Įrenginių telemetrijos duomenų taškai", - "transport-gateway-msg": "Šliuzo pranešimai", - "transport-gateway-telemetry-msg": "Šliuzo telemetrijos pranešimai", - "transport-gateway-telemetry-data-points": "Šliuzo telemetrijos duomenų taškai", - "transport-gateway-device-msg": "Šliuzo įrenginių pranešimai", - "transport-gateway-device-telemetry-msg": "Šliuzo įrenginių telemetrijos pranešimai", - "transport-gateway-device-telemetry-data-points": "Šliuzo įrenginių telemetrijos duomenų taškai", + "transport-gateway-msg": "Gateway įrenginio žinutės", + "transport-gateway-telemetry-msg": "Gateway įrenginio telemetrijos žinutės", + "transport-gateway-telemetry-data-points": "Gateway įrenginio telemetrijos duomenų taškai", + "transport-gateway-device-msg": "Prie Gateway įrenginio prijungtų įrenginių žinutės", + "transport-gateway-device-telemetry-msg": "Prie Gateway įrenginio prijungtų įrenginių telemetrijos žinutės", + "transport-gateway-device-telemetry-data-points": "Prie Gateway įrenginio prijungtų įrenginių telemetrijos duomenų taškai", "sec": "sek." } }, "timeinterval": { - "seconds-interval": "{ seconds, plural, =1 {1 sekundė} other {# sekundės} }", - "minutes-interval": "{ minutes, plural, =1 {1 minutė} other {# minutės} }", - "hours-interval": "{ hours, plural, =1 {1 valanda} other {# valandos} }", - "days-interval": "{ days, plural, =1 {1 diena} other {# dienos} }", + "seconds-interval": "{ seconds, plural, =1 {1 sekundė} one {# sekundė} few {# sekundės} other {# sekundžių} }", + "minutes-interval": "{ minutes, plural, =1 {1 minutė} one {# minutė} few {# minutės} other {# minučių} }", + "hours-interval": "{ hours, plural, =1 {1 valanda} one {# valanda} few {# valandos} other {# valandų} }", + "days-interval": "{ days, plural, =1 {1 diena} one {# diena} few {# dienos} other {# dienų} }", "days": "Dienos", "hours": "Valandos", "minutes": "Minutės", @@ -7942,8 +9830,8 @@ "yesterday": "Vakar", "day-before-yesterday": "Užvakar", "this-day-last-week": "Ši diena prieš savaitę", - "previous-week": "Praėjusi savaitė (Sek – Šeš)", - "previous-week-iso": "Praėjusi savaitė (Pir – Sek)", + "previous-week": "Praėjusi savaitė (Sk – Št)", + "previous-week-iso": "Praėjusi savaitė (Pr – Sk)", "previous-month": "Praėjęs mėnuo", "previous-quarter": "Praėjęs ketvirtis", "previous-half-year": "Praėjęs pusmetis", @@ -7951,10 +9839,10 @@ "current-hour": "Dabartinė valanda", "current-day": "Dabartinė diena", "current-day-so-far": "Dabartinė diena iki dabar", - "current-week": "Dabartinė savaitė (Sek – Šeš)", - "current-week-iso": "Dabartinė savaitė (Pir – Sek)", - "current-week-so-far": "Dabartinė savaitė iki dabar (Sek – Šeš)", - "current-week-iso-so-far": "Dabartinė savaitė iki dabar (Pir – Sek)", + "current-week": "Dabartinė savaitė (Sk – Št)", + "current-week-iso": "Dabartinė savaitė (Pr – Sk)", + "current-week-so-far": "Dabartinė savaitė iki dabar (Sk – Št)", + "current-week-iso-so-far": "Dabartinė savaitė iki dabar (Pr – Sk)", "current-month": "Dabartinis mėnuo", "current-month-so-far": "Dabartinis mėnuo iki dabar", "current-quarter": "Dabartinis ketvirtis", @@ -7965,8 +9853,8 @@ "current-year-so-far": "Dabartiniai metai iki dabar" }, "type": { - "week": "Savaitė (Sek – Šeš)", - "week-iso": "Savaitė (Pir – Sek)", + "week": "Savaitė (Sk – Št)", + "week-iso": "Savaitė (Pr – Sk)", "month": "Mėnuo", "quarter": "Ketvirtis" } @@ -7981,45 +9869,45 @@ "timewindow": { "timewindow": "Laiko langas", "timewindow-settings": "Laiko lango nustatymai", - "years": "{ years, plural, =1 { metai } other {# metai } }", + "years": "{ years, plural, =1 {1 metai } one {# metai } few {# metai } other {# metų } }", "years-short": "{{ years }}m", - "months": "{ months, plural, =1 { mėnuo } other {# mėnesiai } }", + "months": "{ months, plural, =1 {1 mėnuo } one {# mėnuo } few {# mėnesiai } other {# mėnesių } }", "months-short": "{{ months }}mėn", - "weeks": "{ weeks, plural, =1 { savaitė } other {# savaitės } }", + "weeks": "{ weeks, plural, =1 {1 savaitė } one {# savaitė } few {# savaitės } other {# savaičių } }", "weeks-short": "{{ weeks }}sav", - "days": "{ days, plural, =1 { diena } other {# dienos } }", + "days": "{ days, plural, =1 {1 diena } one {# diena } few {# dienos } other {# dienų } }", "days-short": "{{ days }}d", - "hours": "{ hours, plural, =0 { valandų } =1 {1 valanda } other {# valandos } }", + "hours": "{ hours, plural, =0 { valandų } =1 {1 valanda } one {# valanda } few {# valandos } other {# valandų } }", "hr": "{{ hr }} val", "hr-short": "{{ hr }}val", - "minutes": "{ minutes, plural, =0 { minučių } =1 {1 minutė } other {# minutės } }", + "minutes": "{ minutes, plural, =0 { minučių } =1 {1 minutė } one {# minutė } few {# minutės } other {# minučių } }", "min": "{{ min }} min", "min-short": "{{ min }}min", - "seconds": "{ seconds, plural, =0 { sekundžių } =1 {1 sekundė } other {# sekundės } }", + "seconds": "{ seconds, plural, =0 { sekundžių } =1 {1 sekundė } one {# sekundė } few {# sekundės } other {# sekundžių } }", "sec": "{{ sec }} sek", "sec-short": "{{ sec }}s", "short": { - "years": "{ years, plural, =1 {1 metai } other {# metai } }", - "days": "{ days, plural, =1 {1 diena } other {# dienos } }", - "hours": "{ hours, plural, =1 {1 valanda } other {# valandos } }", + "years": "{ years, plural, =1 {1 metai } one {# metai } few {# metai } other {# metų } }", + "days": "{ days, plural, =1 {1 diena } one {# diena } few {# dienos } other {# dienų } }", + "hours": "{ hours, plural, =1 {1 valanda } one {# valanda } few {# valandos } other {# valandų } }", "minutes": "{{ minutes }} min", "seconds": "{{ seconds }} sek", "milliseconds": "{{ milliseconds }} ms" }, "realtime": "Realiu laiku", "history": "Istorija", - "last-prefix": "Paskutinė", + "last-prefix": "Paskutinis laikotarpis:", "period": "nuo {{ startTime }} iki {{ endTime }}", "edit": "Redaguoti laiko langą", "date-range": "Datų intervalas", "for-all-time": "Visas laikotarpis", - "last": "Paskutinė", + "last": "Paskutinis", "time-period": "Laikotarpis", "hide": "Slėpti", "interval": "Intervalas", "just-now": "Ką tik", "just-now-lower": "ką tik", - "ago": "prieš", + "ago": "atgal", "style": "Laiko lango stilius", "icon": "Piktograma", "icon-position": "Piktogramos padėtis", @@ -8035,7 +9923,7 @@ "hide-last-interval": "Slėpti paskutinį intervalą nuo naudotojų", "hide-relative-interval": "Slėpti santykinį intervalą nuo naudotojų", "hide-fixed-interval": "Slėpti fiksuotą intervalą nuo naudotojų", - "hide-aggregation": "Slėpti agregaciją nuo naudotojų", + "hide-aggregation": "Slėpti agregavimą nuo naudotojų", "hide-group-interval": "Slėpti grupavimo intervalą nuo naudotojų", "hide-max-values": "Slėpti maksimalias reikšmes nuo naudotojų", "hide-timezone": "Slėpti laiko juostą nuo naudotojų", @@ -8048,7 +9936,9 @@ "default-agg-interval": "Numatytasis grupavimo intervalas", "edit-intervals-list-hint": "Galima nurodyti galimų intervalų parinkčių sąrašą.", "edit-grouping-intervals-list-hint": "Galima sukonfigūruoti grupavimo intervalų sąrašą ir numatytąjį grupavimo intervalą.", - "all": "Visi" + "all": "Visi", + "save-current-settings-as-default": "Išsaugoti esamus nustatymus kaip numatytąjį laiko langą", + "hide-option-from-end-users": "Slėpti parinktį nuo galutinių naudotojų" }, "tooltip": { "trigger": "Trigeris", @@ -8058,8 +9948,9 @@ "value": "Reikšmė", "date": "Data", "show-date-time-interval": "Rodyti datos ir laiko intervalą", - "show-date-time-interval-hint": "Rodyti datos ir laiko intervalą pagal duomenų agregaciją.", + "show-date-time-interval-hint": "Rodyti datos ir laiko intervalą pagal duomenų agregavimą.", "hide-zero-tooltip-values": "Slėpti nulines reikšmes", + "show-stack-total": "Rodyti bendrą reikšmę sudėtiniu režimu", "background-color": "Fono spalva", "background-blur": "Fono suliejimas" }, @@ -8067,26 +9958,26 @@ "set-unit-conversion": "Nustatyti matavimo vienetų konvertavimą", "unit-settings": { "unit-settings": "Vienetų nustatymai", - "source-unit": "Pirminis vienetas", + "source-unit": "Šaltinio vienetas", "source-unit-hint": "Tai saugomos reikšmės vienetas. Vienetas, iš kurio konvertuojama. Įveskite simbolį, naudojamą jūsų šaltinio duomenyse (pvz., m, km, ft, in).", "target-metric-unit": "Tikslinis metrinis vienetas", "target-metric-unit-hint": "Pasirinkite, į kurį metrinį (SI) vienetą konvertuoti šaltinio reikšmę (pvz., cm, mm, km).", "target-imperial-unit": "Tikslinis imperinis vienetas", "target-imperial-unit-hint": "Pasirinkite, į kurį imperinį vienetą konvertuoti šaltinio reikšmę (pvz., in, ft, yd).", - "target-hybrid-unit": "Tikslinis mišrus vienetas", - "target-hybrid-unit-hint": "Pasirinkite, į kurį mišrų vienetą konvertuoti šaltinio reikšmę (pvz., cm, in, km). Mišrūs vienetai jungia metrinius ir/arba imperinius vienetus.", + "target-hybrid-unit": "Tikslinis hibridinis vienetas", + "target-hybrid-unit-hint": "Pasirinkite, į kurį hibridinį vienetą konvertuoti šaltinio reikšmę (pvz., cm, in, km). Hibridiniai vienetai jungia metrinius ir/arba imperinius vienetus.", "enable-unit-conversion": "Įjungti vienetų konvertavimą", - "enable-unit-conversion-hint": "Įjunkite, kad suaktyvintumėte konvertavimą. Kai išjungta – šaltinio reikšmė bus perduodama nekeičiama. Išjungta, jei atitinkamoje matavimo grupėje yra tik vienas vienetas (pvz., šviesos srautas, OKI)." + "enable-unit-conversion-hint": "Įjunkite, kad aktyvuotumėte konvertavimą. Kai išjungta – šaltinio reikšmė bus perduodama nekeičiama. Išjungta, jei atitinkamoje matavimo grupėje yra tik vienas vienetas (pvz., šviesos srautas, OKI)." }, "unit-system": "Matavimo sistema", "unit-system-type": { "AUTO": "Automatinė", "METRIC": "Metrinė", "IMPERIAL": "Imperinė", - "HYBRID": "Mišri" + "HYBRID": "Hibridinė" }, "measures": { - "absorbed-dose-rate": "Sugertos dozės greitis", + "absorbed-dose-rate": "Sugertosios dozės galia", "acceleration": "Pagreitis", "acidity": "Rūgštingumas", "air-quality-index": "Oro kokybės indeksas", @@ -8095,25 +9986,25 @@ "angular-acceleration": "Kampinis pagreitis", "area": "Plotas", "area-density": "Paviršiaus tankis", - "capacitance": "Talpa", - "catalytic-activity": "Katalizinė veikla", + "capacitance": "Elektrinė talpa", + "catalytic-activity": "Katalizinis aktyvumas", "catalytic-concentration": "Katalizinė koncentracija", - "charge": "Krovinys", + "charge": "Elektros krūvis", "current-density": "Srovės tankis", "data-transfer-rate": "Duomenų perdavimo greitis", "density": "Tankis", - "digital": "Skaitmeninis", + "digital": "Skaitmeniniai duomenys", "dimension-ratio": "Matmenų santykis", "dynamic-viscosity": "Dinaminė klampa", - "earthquake-magnitude": "Žemės drebėjimo stiprumas", + "earthquake-magnitude": "Žemės drebėjimo magnitudė", "electric-charge-density": "Elektros krūvio tankis", "electric-current": "Elektros srovė", "electric-dipole-moment": "Elektrinis dipolio momentas", "electric-field-strength": "Elektrinio lauko stipris", "electric-flux": "Elektrinis srautas", "electric-permittivity": "Elektrinė skvarba", - "electric-polarizability": "Elektrinė poliariškumas", - "electrical-conductance": "Elektrinė laidumo varža", + "electric-polarizability": "Elektrinis poliarizuojamumas", + "electrical-conductance": "Elektrinis laidis", "electrical-conductivity": "Elektrinis laidumas", "energy": "Energija", "energy-density": "Energijos tankis", @@ -8121,7 +10012,7 @@ "frequency": "Dažnis", "fuel-efficiency": "Kuro sąnaudos / efektyvumas", "heat-capacity": "Šiluminė talpa", - "illuminance": "Apšvietis", + "illuminance": "Apšvieta", "inductance": "Induktyvumas", "kinematic-viscosity": "Kinematinė klampa", "length": "Ilgis", @@ -8143,14 +10034,14 @@ "molar-heat-capacity": "Molinė šiluminė talpa", "molar-mass": "Molinė masė", "number-concentration": "Dalelių koncentracija", - "parts-per-million": "Dalinės dalys milijone (ppm)", + "parts-per-million": "Milijoninės dalys", "power": "Galia", "power-density": "Galios tankis", "pressure": "Slėgis", - "radiance": "Spinduliuotė", + "radiance": "Energinis skaistis", "radiant-intensity": "Spinduliuotės intensyvumas", "radiation-dose": "Radiacijos dozė", - "radioactive-decay": "Radioaktyvus skilimas", + "radioactive-decay": "Radioaktyvusis skilimas", "radioactivity": "Radioaktyvumas", "radioactivity-concentration": "Radioaktyvumo koncentracija", "reciprocal-length": "Atvirkštinis ilgis", @@ -8158,11 +10049,11 @@ "reynolds-number": "Reinoldso skaičius", "signal-level": "Signalo lygis", "solid-angle": "Erdvinis kampas", - "specific-energy": "Specifinė energija", - "specific-heat-capacity": "Specifinė šiluminė talpa", - "specific-humidity": "Specifinė drėgmė", - "specific-volume": "Specifinis tūris", - "speed": "Greičio", + "specific-energy": "Savitoji energija", + "specific-heat-capacity": "Savitoji šiluminė talpa", + "specific-humidity": "Specifinis drėgnis", + "specific-volume": "Savitasis tūris", + "speed": "Greitis", "surface-charge-density": "Paviršiaus krūvio tankis", "surface-tension": "Paviršiaus įtempimas", "temperature": "Temperatūra", @@ -8177,30 +10068,30 @@ "millimeter": "Milimetras", "centimeter": "Centimetras", "decimeter": "Decimetras", - "angstrom": "Angstromas", + "angstrom": "Angstremas", "nanometer": "Nanometras", "micrometer": "Mikrometras", "meter": "Metras", "kilometer": "Kilometras", "inch": "Colis", "foot": "Pėda", - "foot-us": "Pėda (JAV matavimas)", + "foot-us": "JAV geodezinė pėda", "yard": "Jardas", "mile": "Mylia", "nautical-mile": "Jūrmylė", "astronomical-unit": "Astronominis vienetas", "reciprocal-metre": "Atvirkštinis metras", - "meter-per-meter": "Metrai vienam metrui", + "meter-per-meter": "Metras metrui", "steradian": "Steradianas", "thou": "Tausas", "barleycorn": "Miežio grūdas", - "hand": "Rankos ilgis", + "hand": "Delnas (matavimo vienetas)", "chain": "Grandinė", "furlong": "Furlongas", - "league": "Lygos vienetas", - "fathom": "Sazenas", - "cable": "Kabelis", - "link": "Nuoroda", + "league": "Lyga (matavimo vienetas)", + "fathom": "Sieksnis", + "cable": "Kabeltovas", + "link": "Grandis (matavimo vienetas)", "rod": "Lazda", "nanogram": "Nanogramas", "microgram": "Mikrogramas", @@ -8211,14 +10102,14 @@ "ounce": "Uncija", "pound": "Svaras", "stone": "Akmuo (matavimo vienetas)", - "hundredweight-count": "Svorinė šimtinė", - "short-tons": "Trumpa tona", + "hundredweight-count": "Centneris", + "short-tons": "Trumpoji tona", "dalton": "Daltonas", - "grain": "Grūdas", + "grain": "Granas", "drachm": "Drachma", "quarter": "Ketvirtis", "slug": "Slugas", - "carat": "Karat", + "carat": "Karatas", "cubic-millimeter": "Kubinis milimetras", "cubic-centimeter": "Kubinis centimetras", "cubic-meter": "Kubinis metras", @@ -8235,17 +10126,17 @@ "pint": "Pinta", "quart": "Kvorta", "gallon": "Galonas", - "oil-barrels": "Naftos statinė", + "oil-barrels": "Naftos barelis", "cubic-meter-per-kilogram": "Kubinis metras kilogramui", "gill": "Gilas", - "hogshead": "Statinė (Hogshead)", + "hogshead": "Statinė", "teaspoon": "Arbatinis šaukštelis", "tablespoon": "Valgomasis šaukštas", "cup": "Puodelis", - "celsius": "Celsijus", + "celsius": "Celsijaus laipsnis", "kelvin": "Kelvinas", - "rankine": "Rankinas", - "fahrenheit": "Farenheitas", + "rankine": "Rankino laipsnis", + "fahrenheit": "Farenheito laipsnis", "percent": "Procentas", "meter-per-second": "Metrai per sekundę", "kilometer-per-hour": "Kilometrai per valandą", @@ -8267,7 +10158,7 @@ "bar": "Baras", "kilobar": "Kilobaras", "newton": "Niutonas", - "newton-meter": "Niutono metras", + "newton-meter": "Niutonmetras", "foot-pounds": "Pėdos-svarai", "inch-pounds": "Colio-svarai", "newton-per-meter": "Niutonas metrui", @@ -8277,19 +10168,19 @@ "torr": "Torras", "inches-of-mercury": "Gyvsidabrio coliai", "pascal-per-square-meter": "Paskalis kvadratiniam metrui", - "pound-per-square-inch": "Svoris kvadratiniam coliui", + "pound-per-square-inch": "Svaras kvadratiniam coliui", "newton-per-square-meter": "Niutonas kvadratiniam metrui", "kilogram-force-per-square-meter": "Kilogramo jėga kvadratiniam metrui", "pascal-per-square-centimeter": "Paskalis kvadratiniam centimetrui", "ton-force-per-square-inch": "Tonos jėga kvadratiniam coliui", "kilonewton-per-square-meter": "Kiloniutonas kvadratiniam metrui", "newton-per-square-millimeter": "Niutonas kvadratiniam milimetrui", - "microjoule": "Mikrodžiaulis", - "millijoule": "Milidžiaulis", - "joule": "Džiaulis", - "kilojoule": "Kilodžiaulis", - "megajoule": "Megadžiaulis", - "gigajoule": "Gigadžiaulis", + "microjoule": "Mikrodžaulis", + "millijoule": "Milidžaulis", + "joule": "Džaulis", + "kilojoule": "Kilodžaulis", + "megajoule": "Megadžaulis", + "gigajoule": "Gigadžaulis", "watt-hour": "Vatvalandė", "watt-minute": "Vatminutė", "kilowatt-hour": "Kilovatvalandė", @@ -8297,7 +10188,7 @@ "megawatt-hour": "Megavatvalandė", "gigawatt-hour": "Gigavatvalandė", "electron-volts": "Elektronvoltai", - "joules-per-coulomb": "Džiauliai kulonui", + "joules-per-coulomb": "Džauliai kulonui", "british-thermal-unit": "Britų šiluminis vienetas (BTU)", "thousand-british-thermal-unit": "Tūkstantis britų šiluminių vienetų", "million-british-thermal-unit": "Milijonas britų šiluminių vienetų", @@ -8305,23 +10196,23 @@ "calorie": "Kalorija", "small-calorie": "Mažoji kalorija", "kilocalorie": "Kilokalorija", - "joule-per-kelvin": "Džiaulis kelvinui", - "joule-per-kilogram-kelvin": "Džiaulis kilogramui-kelvinui", - "joule-per-kilogram": "Džiaulis kilogramui", + "joule-per-kelvin": "Džaulis kelvinui", + "joule-per-kilogram-kelvin": "Džaulis kilogramui-kelvinui", + "joule-per-kilogram": "Džaulis kilogramui", "watt-per-meter-kelvin": "Vatas metrui-kelvinui", - "joule-per-cubic-meter": "Džiaulis kubiniam metrui", + "joule-per-cubic-meter": "Džaulis kubiniam metrui", "therm": "Termas", "electric-dipole-moment": "Elektrinis dipolio momentas", "magnetic-dipole-moment": "Magnetinis dipolio momentas", "debye": "Debajus", "coulomb-per-square-meter-per-volt": "Kulonas kvadratiniam metrui voltui", - "milliwatt": "Miliwatas", + "milliwatt": "Milivatas", "microwatt": "Mikrovatas", "watt": "Vatas", "kilowatt": "Kilovatas", "megawatt": "Megavatas", "gigawatt": "Gigavatas", - "metric-horsepower": "Metinė arklio galia", + "metric-horsepower": "Metrinė arklio galia", "milliwatt-per-square-centimeter": "Milivatai kvadratiniam centimetrui", "watt-per-square-centimeter": "Vatai kvadratiniam centimetrui", "kilowatt-per-square-centimeter": "Kilovatai kvadratiniam centimetrui", @@ -8378,7 +10269,7 @@ "ampere-per-meter": "Amperai metrui", "oersted": "Erstedas", "bohr-magneton": "Boro magnetonas", - "ampere-meter-squared": "Ampermetrai kvadratu", + "ampere-meter-squared": "Ampero kvadratinis metras", "nanovolt": "Nanovoltas", "picovolt": "Pikovoltas", "millivolt": "Milivoltas", @@ -8386,17 +10277,17 @@ "volt": "Voltas", "kilovolt": "Kilovoltas", "megavolt": "Megavoltas", - "dbmV": "dBmV", + "dbmV": "Decibelmilivoltas", "dbm": "Decibelmilivatai", - "volt-meter": "Voltmetras", - "kilovolt-meter": "Kilovoltmetras", - "megavolt-meter": "Megavoltmetras", - "microvolt-meter": "Mikrovoltmetras", - "millivolt-meter": "Milivoltmetras", - "nanovolt-meter": "Nanovoltmetras", + "volt-meter": "Volto metras", + "kilovolt-meter": "Kilovolto metras", + "megavolt-meter": "Megavolto metras", + "microvolt-meter": "Mikrovolto metras", + "millivolt-meter": "Milivolto metras", + "nanovolt-meter": "Nanovolto metras", "ohm": "Omas", "microohm": "Mikroomas", - "milliohm": "Milioomas", + "milliohm": "Miliomas", "kilohm": "Kiloomas", "megohm": "Megaomas", "gigohm": "Gigaomas", @@ -8413,8 +10304,8 @@ "lux": "Liuksas", "foot-candle": "Pėdos žvakė", "lumen-per-square-meter": "Liumenai kvadratiniam metrui", - "lux-second": "Liuksas sekundei", - "lumen-second": "Liumenas sekundei", + "lux-second": "Liukssekundė", + "lumen-second": "Liumensekundė", "lumens-per-watt": "Liumenai vatui", "mole": "Molis", "nanomole": "Nanomolis", @@ -8423,8 +10314,8 @@ "kilomole": "Kilomolis", "mole-per-cubic-meter": "Moliai kubiniam metrui", "rssi": "RSSI (signalo stiprumas)", - "ppm": "Dalis milijone (ppm)", - "ppb": "Dalis milijarde (ppb)", + "ppm": "Milijoninės dalys", + "ppb": "Milijardinės dalys", "micrograms-per-cubic-meter": "Mikrogramai kubiniam metrui", "aqi": "Oro kokybės indeksas (OKI)", "gram-per-cubic-meter": "Gramai kubiniam metrui", @@ -8437,12 +10328,12 @@ "becquerel": "Bekerelis", "curie": "Kiuris", "gray": "Grėjus", - "sievert": "Zyvertas", + "sievert": "Sivertas", "roentgen": "Rentgenas", "cps": "Impulsai per sekundę", "rad": "Radas", "rem": "Remas", - "dps": "Skaidymasis per sekundę", + "dps": "Skilimai per sekundę", "rutherford": "Ruterfordas", "coulombs-per-kilogram": "Kulonai kilogramui", "becquerels-per-cubic-meter": "Bekereliai kubiniam metrui", @@ -8455,9 +10346,9 @@ "ph-level": "pH lygis", "turbidity": "Drumstumas", "mg-per-liter": "Miligramai litrui", - "microsiemens-per-centimeter": "Mikrosiemensai centimetrui", - "millisiemens-per-meter": "Milisiemensai metrui", - "siemens-per-meter": "Siemensai metrui", + "microsiemens-per-centimeter": "Mikrosimensai centimetrui", + "millisiemens-per-meter": "Milisimensai metrui", + "siemens-per-meter": "Simensai metrui", "kilogram-per-cubic-meter": "Kilogramai kubiniam metrui", "gram-per-cubic-centimeter": "Gramai kubiniam centimetrui", "kilogram-per-square-meter": "Kilogramai kvadratiniam metrui", @@ -8466,7 +10357,7 @@ "pound-per-cubic-foot": "Svarai kubinei pėdai", "ounces-per-cubic-inch": "Uncijos kubiniam coliui", "tons-per-cubic-yard": "Tonos kubiniam jardui", - "particle-density": "Dalinė tankio vertė", + "particle-density": "Dalelių tankis", "kilometers-per-liter": "Kilometrai litrui", "miles-per-gallon": "Mylios galonui", "liters-per-100-km": "Litrai 100 kilometrų", @@ -8490,7 +10381,7 @@ "atmosphere": "Atmosfera", "millibars": "Milibarai", "inch-of-mercury": "Gyvsidabrio colis", - "richter-scale": "Richtėro skalė", + "richter-scale": "Richterio skalė", "nanosecond": "Nanosekundė", "microsecond": "Mikrosekundė", "millisecond": "Milisekundė", @@ -8504,6 +10395,7 @@ "cubic-foot-per-minute": "Kubinės pėdos per minutę", "cubic-meters-per-hour": "Kubiniai metrai per valandą", "cubic-meters-per-second": "Kubiniai metrai per sekundę", + "cubic-meters-per-minute": "Kubiniai metrai per minutę", "liter-per-second": "Litrai per sekundę", "liter-per-minute": "Litrai per minutę", "gallons-per-minute": "Galonai per minutę", @@ -8531,17 +10423,17 @@ "gigabyte-per-second": "Gigabaitai per sekundę", "degree": "Laipsnis", "radian": "Radianas", - "gradian": "Gradianas", + "gradian": "Gonas", "arcminute": "Kampinė minutė", "arcsecond": "Kampinė sekundė", "milliradian": "Miliradianas", "revolution": "Apsisukimas", - "siemens": "Siemensas", - "millisiemens": "Milisiemensas", - "microsiemens": "Mikrosiemensas", - "kilosiemens": "Kilosiemensas", - "megasiemens": "Megasiemensas", - "gigasiemens": "Gigasiemensas", + "siemens": "Simensas", + "millisiemens": "Milisimensas", + "microsiemens": "Mikrosimensas", + "kilosiemens": "Kilosimensas", + "megasiemens": "Megasimensas", + "gigasiemens": "Gigasimensas", "farad": "Faradas", "millifarad": "Milifaradas", "microfarad": "Mikrofaradas", @@ -8565,13 +10457,13 @@ "lambda": "Lambda", "square-meter-per-second": "Kvadratiniai metrai per sekundę", "square-centimeter-per-second": "Kvadratiniai centimetrai per sekundę", - "stoke": "Stokas", - "centistokes": "Centistokai", + "stoke": "Stoksas", + "centistokes": "Centistoksas", "square-foot-per-second": "Kvadratinės pėdos per sekundę", "square-inch-per-second": "Kvadratiniai coliai per sekundę", - "pascal-second": "Paskalų sekundė", - "centipoise": "CentiPoisas", - "poise": "Poisas", + "pascal-second": "Paskalsekundė", + "centipoise": "Centipuazas", + "poise": "Puazas", "reynolds": "Reinoldso skaičius", "pound-per-foot-hour": "Svarai pėdai per valandą", "newton-second-per-square-meter": "Niutono sekundė kvadratiniam metrui", @@ -8581,11 +10473,11 @@ "maxwell": "Maksvelas", "tesla-per-meter": "Teslos metrui", "gauss-per-centimeter": "Gausai centimetrui", - "weber": "Veberis", - "microweber": "Mikroveberis", - "milliweber": "Miliveberis", - "gauss-square-centimeter": "Gausai kvadratiniam centimetrui", - "kilogauss-square-centimeter": "Kilogausai kvadratiniam centimetrui", + "weber": "Vėberis", + "microweber": "Mikrovėberis", + "milliweber": "Milivėberis", + "gauss-square-centimeter": "Gauso kvadratinis centimetras", + "kilogauss-square-centimeter": "Kilogauso kvadratinis centimetras", "henry": "Henris", "millihenry": "Milihenris", "microhenry": "Mikrohenris", @@ -8596,15 +10488,15 @@ "kilogram-per-mole": "Kilogramai moliui", "gram-per-mole": "Gramai moliui", "milligram-per-mole": "Miligramai moliui", - "joule-per-mole": "Džiauliai moliui", - "joule-per-mole-kelvin": "Džiauliai moliui-kelvinui", + "joule-per-mole": "Džauliai moliui", + "joule-per-mole-kelvin": "Džaulis moliui-kelvinui", "millivolts-per-meter": "Milivoltai metrui", "volts-per-meter": "Voltai metrui", "kilovolts-per-meter": "Kilovoltai metrui", "radian-per-second": "Radianai per sekundę", "radian-per-second-squared": "Radianai per sekundę kvadratu", - "revolutions-per-minute-per-second": "Apsisukimai per minutę per sekundę", - "deg-per-second": "laipsn./s", + "revolutions-per-minute-per-second": "Kampinis pagreitis", + "deg-per-second": "Laipsniai per sekundę", "rotation-per-minute": "Apsisukimai per minutę", "degrees-brix": "Brix laipsniai", "katal": "Katalis", @@ -8613,106 +10505,107 @@ }, "user": { "all": "Visi", - "all-users": "Visi vartotojai", + "all-users": "Visi naudotojai", "groups": "Grupės", - "user": "Vartotojas", - "users": "Vartotojai", - "management": "Vartotojų valdymas", - "customer-users": "Kliento vartotojai", - "tenant-admins": "Valdytojų administratoriai", - "sys-admin": "Sistemos administratoriai", - "tenant-admin": "Valdytojo administratoriai", + "user": "Naudotojas", + "users": "Naudotojai", + "management": "Naudotojų valdymas", + "customer-users": "Kliento naudotojai", + "tenant-admins": "Nuomininko administratoriai", + "sys-admin": "Sistemos administratorius", + "tenant-admin": "Nuomininko administratorius", "customer": "Klientas", "anonymous": "Anonimas", - "add": "Pridėti vartotoją", - "delete": "Panaikinti vartotoją", - "add-user-text": "Pridėti naują vartotoją", - "no-users-text": "Vartotojų nėra", - "user-details": "Informacija apie vartotoją", - "delete-users": "Panaikinti vartotojus", - "delete-user-title": "Ar tikrai norite panaikinti vartotoją '{{userEmail}}'?", - "delete-user-text": "Būkite dėmesingi – po patvirtinimo vartotojas ir visa su juo susijusi informacija bus panaikinta.", - "delete-users-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 vartotoją} other {# vartotojus} }?", - "delete-users-action-title": "Panaikinti { count, plural, =1 {1 vartotoją} other {# vartotojus} }", - "delete-users-text": "Būkite dėmesingi – po patvirtinimo visi pasirinkti vartotojai ir su jais susijusi informacija bus panaikinta.", - "activation-email-sent-message": "Aktyvinimo el. laiškas sėkmingai išsiųstas!", + "add": "Pridėti naudotoją", + "delete": "Ištrinti naudotoją", + "add-user-text": "Pridėti naują naudotoją", + "no-users-text": "Naudotojų nėra", + "user-details": "Informacija apie naudotoją", + "delete-users": "Ištrinti naudotojus", + "delete-user-title": "Ar tikrai norite ištrinti naudotoją „{{userEmail}}“?", + "delete-user-text": "Būkite atsargūs – po patvirtinimo naudotojas ir visa su juo susijusi informacija bus negrįžtamai ištrinta.", + "delete-users-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 naudotoją} one {# naudotoją} few {# naudotojus} other {# naudotojų} }?", + "delete-users-action-title": "Ištrinti { count, plural, =1 {1 naudotoją} one {# naudotoją} few {# naudotojus} other {# naudotojų} }", + "delete-users-text": "Būkite atsargūs – po patvirtinimo visi pasirinkti naudotojai ir su jais susijusi informacija bus negrįžtamai pašalinta.", + "activation-email-sent-message": "Aktyvavimo el. laiškas sėkmingai išsiųstas!", "resend-activation": "Iš naujo siųsti aktyvavimo laišką", "email": "El. pašto adresas", - "email-required": "El. pašto adresas būtinas.", + "email-required": "El. pašto adresas yra privalomas.", "invalid-email-format": "Neteisingas el. pašto adreso formatas.", "first-name": "Vardas", "last-name": "Pavardė", "description": "Aprašymas", - "default-dashboard": "Pagrindinis skydelis", + "default-dashboard": "Numatytasis skydelis", "always-fullscreen": "Visada per visą ekraną", - "select-user": "Pasirinkti vartotoją", - "no-users-matching": "Vartotojų, atitinkančių '{{entity}}', nėra.", - "user-required": "Vartotojas būtinas", + "select-user": "Pasirinkti naudotoją", + "no-users-matching": "Naudotojų, atitinkančių „{{entity}}“, nėra.", + "user-required": "Naudotojas yra privalomas", "activation-method": "Aktyvavimo būdas", "display-activation-link": "Rodyti aktyvavimo nuorodą", "send-activation-mail": "Siųsti aktyvavimo el. laišką", - "activation-link": "Vartotojo aktyvavimo nuoroda", - "activation-link-text": "Norėdami aktyvuoti vartotoją, paspauskite nuorodą:", + "activation-link": "Naudotojo aktyvavimo nuoroda", + "activation-link-text": "Norėdami aktyvuoti naudotoją, naudokite šią aktyvavimo nuorodą (galiojimo laikas: {{activationLinkTtl}}):", "copy-activation-link": "Kopijuoti aktyvavimo nuorodą", - "activation-link-copied-message": "Vartotojo aktyvavimo nuoroda nukopijuota į iškarpinę", + "activation-link-copied-message": "Naudotojo aktyvavimo nuoroda nukopijuota į iškarpinę", "details": "Informacija", - "login-as-tenant-admin": "Prisijungti kaip valdytojo administratorius", - "login-as-customer-user": "Prisijungti kaip kliento vartotojas", - "select-group-to-add": "Pasirinkite grupę, kuriai priskirti pažymėtus vartotojus", - "select-group-to-move": "Pasirinkite grupę, į kurią perkelti pažymėtus vartotojus", - "remove-users-from-group": "Ar tikrai norite pašalinti { count, plural, =1 {1 vartotoją} other {# vartotojus} } iš grupės '{{entityGroup}}'?", - "group": "Vartotojų grupė", - "list-of-groups": "{ count, plural, =1 {Viena vartotojų grupė} other {# vartotojų grupės} }", - "group-name-starts-with": "Vartotojų grupės, kurių pavadinimas prasideda '{{prefix}}'", - "search": "Vartotojų paieška", - "selected-users": "Pasirinkta { count, plural, =1 {1 vartotojas} other {# vartotojai} }", - "disable-account": "Išjungti vartotojo paskyrą", - "enable-account": "Įjungti vartotojo paskyrą", - "enable-account-message": "Vartotojo paskyra sėkmingai įjungta!", - "disable-account-message": "Vartotojo paskyra sėkmingai išjungta!", - "copyId": "Kopijuoti vartotojo ID", - "idCopiedMessage": "Vartotojo ID nukopijuotas į iškarpinę", - "user-list": "Vartotojų sąrašas", - "user-list-required": "Vartotojų sąrašas būtinas" + "login-as-tenant-admin": "Prisijungti kaip nuomininko administratorius", + "login-as-customer-user": "Prisijungti kaip kliento naudotojas", + "select-group-to-add": "Pasirinkite grupę, kuriai priskirti pažymėtus naudotojus", + "select-group-to-move": "Pasirinkite grupę, į kurią perkelti pažymėtus naudotojus", + "remove-users-from-group": "Ar tikrai norite pašalinti { count, plural, =1 {1 naudotoją} one {# naudotoją} few {# naudotojus} other {# naudotojų} } iš grupės '{{entityGroup}}'?", + "group": "Naudotojų grupė", + "list-of-groups": "{ count, plural, =1 {Viena naudotojų grupė} one {# naudotojų grupės sąrašas} few {# naudotojų grupių sąrašas} other {# naudotojų grupių sąrašas} }", + "group-name-starts-with": "Naudotojų grupės, kurių pavadinimas prasideda „{{prefix}}“", + "search": "Naudotojų paieška", + "selected-users": "{ count, plural, =1 {Pasirinktas 1 naudotojas} one {Pasirinktas # naudotojas} few {Pasirinkti # naudotojai} other {Pasirinkta # naudotojų} }", + "disable-account": "Išjungti naudotojo paskyrą", + "enable-account": "Įjungti naudotojo paskyrą", + "enable-account-message": "Naudotojo paskyra sėkmingai įjungta!", + "disable-account-message": "Naudotojo paskyra sėkmingai išjungta!", + "copyId": "Kopijuoti naudotojo ID", + "idCopiedMessage": "Naudotojo ID nukopijuotas į iškarpinę", + "user-list": "Naudotojų sąrašas", + "user-list-required": "Naudotojų sąrašas yra privalomas" }, "value": { "type": "Reikšmės tipas", "string": "Tekstas", - "string-value": "Tekstinė informacija", - "string-value-required": "Tekstinė informacija būtina", + "string-value": "Teksto reikšmė", + "string-value-required": "Teksto reikšmė yra privaloma", "integer": "Sveikasis skaičius", "integer-value": "Sveikojo skaičiaus reikšmė", - "integer-value-required": "Sveikojo skaičiaus reikšmė būtina", + "integer-value-required": "Sveikojo skaičiaus reikšmė yra privaloma", "invalid-integer-value": "Sveikojo skaičiaus reikšmė neteisinga", "double": "Realusis skaičius", "double-value": "Realiojo skaičiaus reikšmė", - "double-value-required": "Realiojo skaičiaus reikšmė būtina", + "double-value-required": "Realiojo skaičiaus reikšmė yra privaloma", "boolean": "Loginis", "boolean-value": "Loginė reikšmė", "false": "Netiesa", "true": "Tiesa", - "long": "Sveikas skaičius", + "long": "Ilgasis sveikasis skaičius", "json": "JSON", "json-value": "JSON reikšmė", - "json-value-invalid": "Neteisingas JSON reikšmės formatas", - "json-value-required": "JSON reikšmė būtina." + "json-value-invalid": "JSON reikšmė turi neteisingą formatą", + "json-value-required": "JSON reikšmė yra privaloma." }, "version-control": { "version-control": "Versijų valdymas", "management": "Versijų valdymo administravimas", - "search": "Ieškoti versijų", + "search": "Ieškokite versijų", "branch": "Šaka", "default": "Numatytoji", "select-branch": "Pasirinkite šaką", - "branch-required": "Šaka būtina", + "branch-required": "Šaka yra privaloma", "create-entity-version": "Sukurti subjekto versiją", "version-name": "Versijos pavadinimas", - "version-name-required": "Versijos pavadinimas būtinas", + "version-name-required": "Versijos pavadinimas yra privalomas", "author": "Autorius", "export-relations": "Eksportuoti ryšius", "export-attributes": "Eksportuoti atributus", - "export-credentials": "Eksportuoti įgaliojimus", - "export-calculated-fields": "Eksportuoti skaičiuojamus laukus", + "export-credentials": "Eksportuoti prisijungimo duomenis", + "export-calculated-fields": "Eksportuoti apskaičiuotus laukus ir įspėjimų taisykles", + "export-alarm-rules": "Eksportuoti įspėjimų taisykles", "export-group-entities": "Eksportuoti grupės subjektus", "export-roles": "Eksportuoti roles", "entity-versions": "Subjektų versijos", @@ -8726,24 +10619,25 @@ "creating-version": "Kuriama versija... Prašome palaukti", "nothing-to-commit": "Nėra pakeitimų, kuriuos galima įkelti", "restore-version": "Atkurti versiją", - "restore-entity-from-version": "Atkurti subjektą iš versijos '{{versionName}}'", + "restore-entity-from-version": "Atkurti subjektą iš versijos „{{versionName}}“", "restoring-entity-version": "Atkuriama subjekto versija... Prašome palaukti", "load-relations": "Įkelti ryšius", "load-attributes": "Įkelti atributus", - "load-credentials": "Įkelti įgaliojimus", - "load-calculated-fields": "Įkelti skaičiuojamus laukus", + "load-credentials": "Įkelti prisijungimo duomenis", + "load-calculated-fields": "Įkelti apskaičiuotus laukus ir įspėjimų taisykles", + "load-alarm-rules": "Įkelti įspėjimų taisykles", "load-group-entities": "Įkelti grupės subjektus", "load-roles": "Įkelti roles", - "compare-with-current": "Palyginti su dabartine", - "diff-entity-with-version": "Palyginti su subjekto versija '{{versionName}}'", + "compare-with-current": "Palyginti su dabartine versija", + "diff-entity-with-version": "Palyginti su subjekto versija „{{versionName}}“", "previous-difference": "Ankstesnis skirtumas", "next-difference": "Kitas skirtumas", "current": "Dabartinė", - "differences": "{ count, plural, =1 {1 skirtumas} other {# skirtumai} }", + "differences": "{ count, plural, =1 {1 skirtumas} one {# skirtumas} few {# skirtumai} other {# skirtumų} }", "create-entities-version": "Sukurti subjektų versiją", "default-sync-strategy": "Numatytoji sinchronizavimo strategija", - "sync-strategy-merge": "Sujungti (Merge)", - "sync-strategy-overwrite": "Perrašyti (Overwrite)", + "sync-strategy-merge": "Sujungti", + "sync-strategy-overwrite": "Perrašyti", "entities-to-export": "Subjektai eksportui", "entities-to-restore": "Subjektai atkūrimui", "sync-strategy": "Sinchronizavimo strategija", @@ -8752,48 +10646,48 @@ "no-entities-to-restore-prompt": "Nurodykite subjektus, kuriuos norite atkurti", "add-entity-type": "Pridėti subjekto tipą", "remove-all": "Pašalinti visus", - "version-create-result": "{ added, plural, =0 {Subjektų nepridėta} =1 {1 subjektas pridėtas} other {# subjektai pridėti} }.
{ modified, plural, =0 {Neatnaujinta nė vieno subjekto} =1 {1 subjektas atnaujintas} other {# subjektai atnaujinti} }.
{ removed, plural, =0 {Neištrinta nė vieno subjekto} =1 {1 subjektas pašalintas} other {# subjektai pašalinti} }.", + "version-create-result": "{ added, plural, =0 {Subjektų nepridėta} =1 {1 subjektas pridėtas} one {# subjektas pridėtas} few {# subjektai pridėti} other {# subjektų pridėta} }.
{ modified, plural, =0 {Neatnaujinta nė vieno subjekto} =1 {1 subjektas atnaujintas} one {# subjektas atnaujintas} few {# subjektai atnaujinti} other {# subjektų atnaujinta} }.
{ removed, plural, =0 {Nepašalinta nė vieno subjekto} =1 {1 subjektas pašalintas} one {# subjektas pašalintas} few {# subjektai pašalinti} other {# subjektų pašalinta} }.", "remove-other-entities": "Pašalinti kitus subjektus", "find-existing-entity-by-name": "Rasti esamą subjektą pagal pavadinimą", - "restore-entities-from-version": "Atkurti subjektus iš versijos '{{versionName}}'", + "restore-entities-from-version": "Atkurti subjektus iš versijos „{{versionName}}“", "restoring-entities-from-version": "Atkuriami subjektai... Prašome palaukti", "no-entities-restored": "Neatkurtas nė vienas subjektas", - "created": "{{created}} sukurta", - "updated": "{{updated}} atnaujinta", - "deleted": "{{deleted}} ištrinta", - "groups-created": "{ created, plural, =1 {1 grupė sukurta} other {# grupės sukurtos} }", - "groups-updated": "{ updated, plural, =1 {1 grupė atnaujinta} other {# grupės atnaujintos} }", - "groups-deleted": "{ deleted, plural, =1 {1 grupė ištrinta} other {# grupės ištrintos} }", + "created": "Sukurta: {{created}}", + "updated": "Atnaujinta: {{updated}}", + "deleted": "Ištrinta: {{deleted}}", + "groups-created": "{ created, plural, =1 {Sukurta 1 grupė} one {Sukurta # grupė} few {Sukurtos # grupės} other {Sukurta # grupių} }", + "groups-updated": "{ updated, plural, =1 {Atnaujinta 1 grupė} one {Atnaujinta # grupė} few {Atnaujintos # grupės} other {Atnaujinta # grupių} }", + "groups-deleted": "{ deleted, plural, =1 {Ištrinta 1 grupė} one {Ištrinta # grupė} few {Ištrintos # grupės} other {Ištrinta # grupių} }", "remove-other-entities-confirm-text": "Būkite atsargūs! Tai negrįžtamai ištrins visus dabartinius subjektus,
kurių nėra atkuriamoje versijoje.

Įveskite „remove other entities“, kad patvirtintumėte.", "auto-commit-to-branch": "automatiškai įkelti į šaką {{ branch }}", "default-create-entity-version-name": "{{entityName}} atnaujinimas", "sync-strategy-merge-hint": "Sukuria arba atnaujina pasirinktus subjektus saugykloje. Kiti saugyklos subjektai neliečiami.", "sync-strategy-overwrite-hint": "Sukuria arba atnaujina pasirinktus subjektus saugykloje. Visi kiti saugyklos subjektai bus ištrinti.", - "device-credentials-conflict": "Nepavyko įkelti įrenginio su išoriniu ID {{entityId}}
nes tie patys įgaliojimai jau egzistuoja kitam įrenginiui duomenų bazėje.
Apsvarstykite galimybę išjungti įkelti įgaliojimus nustatymą atkūrimo formoje.", - "missing-referenced-entity": "Nepavyko įkelti {{sourceEntityTypeName}} su išoriniu ID {{sourceEntityId}}
nes jis nurodo neegzistuojantį {{targetEntityTypeName}} su ID {{targetEntityId}}.", - "add-entity-groups": "Pridėti subjekto grupes", - "entity-groups": "Subjekto grupės", - "integration-routing-key-conflict": "Nepavyko įkelti integracijos su išoriniu ID {{entityId}}
nes toks pats integracijos raktas jau naudojamas kitai integracijai.
Apsvarstykite galimybę įjungti automatinį integracijos rakto generavimą atkūrimo formoje.", + "device-credentials-conflict": "Nepavyko įkelti įrenginio su išoriniu ID {{entityId}},
nes tokie patys prisijungimo duomenys duomenų bazėje jau priskirti kitam įrenginiui.
Apsvarstykite galimybę atkūrimo formoje išjungti nustatymą „Įkelti prisijungimo duomenis“.", + "missing-referenced-entity": "Nepavyko įkelti subjekto ({{sourceEntityTypeName}}) su išoriniu ID {{sourceEntityId}},
nes jis nurodo neegzistuojantį subjektą ({{targetEntityTypeName}}) su ID {{targetEntityId}}.", + "add-entity-groups": "Pridėti subjektų grupes", + "entity-groups": "Subjektų grupės", + "integration-routing-key-conflict": "Nepavyko įkelti integracijos su išoriniu ID {{entityId}},
nes toks pats integracijos raktas jau naudojamas kitai integracijai.
Apsvarstykite galimybę atkūrimo formoje įjungti nustatymą „Automatiškai generuoti integracijos raktą“.", "auto-generate-integration-key": "Automatiškai generuoti integracijos raktą", "runtime-failed": "Klaida: {{message}}", "auto-commit-settings-read-only-hint": "Automatinio įkėlimo funkcija neveikia, kai saugykla nustatyta tik skaitymui.", "rollback-on-error": "Atšaukti pakeitimus klaidos atveju", - "rollback-on-error-hint": "Jei atkuriate didelį subjektų kiekį, galite išjungti šią parinktį našumui padidinti.\nAtminkite: jei atkūrimo metu įvyks klaida, jau išsaugoti subjektai (su ryšiais, atributais ir kt.) liks nepakitę." + "rollback-on-error-hint": "Jei atkuriate didelį subjektų kiekį, galite išjungti šią parinktį našumui padidinti.\nAtminkite: jei atkūrimo metu įvyks klaida, jau išsaugoti subjektai (su ryšiais, atributais ir kt.) liks nepakitę" }, "task": { "add-task-type": "+Užduoties tipas", - "cancel-anyway": "Atšaukti vis tiek", + "cancel-anyway": "Vis tiek atšaukti", "cancel-task": "Atšaukti užduotį", "cancel-task-calculated-field-reprocessing-text": "Iki šiol apdoroti duomenys bus išsaugoti, o eilėje esantys elementai – atšaukti", "cancel-task-calculated-field-reprocessing-title": "Ar tikrai norite atšaukti pakartotinį apdorojimą?", "cancel-task-report-text": "Ataskaitos generavimas bus atšauktas, failas nebus sukurtas", "cancel-task-report-title": "Ar tikrai norite atšaukti ataskaitos generavimą?", "cancel-tasks-text": "Ar tikrai norite atšaukti pasirinktas užduotis?", - "cancel-tasks-title": "Atšaukti { count, plural, =1 {1 užduotį} other {# užduotis} }", + "cancel-tasks-title": "Atšaukti { count, plural, =1 {1 užduotį} one {# užduotį} few {# užduotis} other {# užduočių} }", "delete-task-text": "Šis veiksmas pašalins užduotį iš sąrašo, tačiau jūsų duomenys liks nepakitę", "delete-task-title": "Ar tikrai norite ištrinti šią užduotį?", "delete-tasks-text": "Ar tikrai norite ištrinti pasirinktas užduotis?", - "delete-tasks-title": "Ištrinti { count, plural, =1 {1 užduotį} other {# užduotis} }", + "delete-tasks-title": "Ištrinti { count, plural, =1 {1 užduotį} one {# užduotį} few {# užduotis} other {# užduočių} }", "discarded": "Atmesta", "entity": "Subjektas", "info": "Informacija", @@ -8803,8 +10697,8 @@ "progress": "Progresas", "reprocess": "{ count, plural, =0 {Pakartotinai apdoroti} =1 {Pakartotinai apdoroti} other {Pakartotinai apdoroti nepavykusius subjektus} }", "retry": "Bandyti dar kartą", - "search": "Ieškoti užduoties", - "selected-tasks": "{ count, plural, =1 {1 užduotis pasirinkta} other {# užduotys pasirinktos} }", + "search": "Ieškokite užduoties", + "selected-tasks": "{ count, plural, =1 {Pasirinkta 1 užduotis} one {Pasirinkta # užduotis} few {Pasirinktos # užduotys} other {Pasirinkta # užduočių} }", "selected-tasks-are-finished": "Šios užduotys jau baigtos", "selected-tasks-are-progress": "Šios užduotys šiuo metu vykdomos", "status": "Būsena", @@ -8821,15 +10715,15 @@ "running": "Vykdoma" }, "task-type": { - "any": "Any type", - "calculated-field-reprocessing": "Calculated field reprocessing", - "report": "Report generation" + "any": "Bet koks tipas", + "calculated-field-reprocessing": "Apskaičiuoto lauko perskaičiavimas", + "report": "Ataskaitos generavimas" }, - "tasks-filter": "Užduočių filtras", - "tasks-filter-params": "Filtras: {{ filterParams }}", + "task-filter": "Užduočių filtras", + "task-filter-params": "Filtras: {{ filterParams }}", "tasks-status-list": "Užduočių būsenų sąrašas", "tasks-type-list": "Užduočių tipų sąrašas", - "time-taken": "Užtrukęs laikas", + "time-taken": "Trukmė", "total-entities": "Bendras subjektų skaičius", "type": "Tipas", "report-generate-successfully": "Ataskaita sėkmingai sugeneruota", @@ -8841,11 +10735,12 @@ "widget-bundle": "Valdiklių rinkinys", "all-bundles": "Visi rinkiniai", "select-widgets-bundle": "Pasirinkti valdiklių rinkinį", + "installed": "Įdiegta", "widgets": "Valdikliai", "all-widgets": "Visi valdikliai", "widget": "Valdiklis", "select-widget": "Pasirinkti valdiklį", - "no-widgets-matching": "Valdiklių atitinkančių '{{entity}}' nėra.", + "no-widgets-matching": "Valdiklių, atitinkančių „{{entity}}“, nerasta.", "no-widgets": "Valdiklių dar nėra", "no-widgets-text": "Valdiklių nėra", "management": "Valdiklių valdymas", @@ -8853,28 +10748,33 @@ "confirm-to-exit-editor-html": "Turite neišsaugotų valdiklio nustatymų.
Ar tikrai norite palikti šį puslapį?", "widget-type-not-found": "Įkeliant valdiklio konfigūraciją įvyko klaida.
Gali būti, kad šis valdiklio tipas buvo pašalintas.", "widget-type-load-error": "Valdiklis neįkeltas dėl klaidų:", - "remove": "Panaikinti valdiklį", - "delete": "Panaikinti valdiklį", + "remove": "Pašalinti valdiklį", + "delete": "Ištrinti valdiklį", "edit": "Redaguoti valdiklį", - "remove-widget-title": "Ar tikrai norite panaikinti valdiklį '{{widgetTitle}}'?", - "remove-widget-text": "Būkite dėmesingi — po patvirtinimo valdiklis ir visa su juo susijusi informacija bus pašalinta.", + "remove-widget-title": "Ar tikrai norite pašalinti valdiklį „{{widgetTitle}}“?", + "remove-widget-text": "Po patvirtinimo valdiklis ir visa susijusi informacija bus negrįžtamai pašalinti.", "replace-reference-with-widget-copy": "Pakeisti nuorodą valdiklio kopija", - "timeseries": "Telemetrija", + "timeseries": "Laiko eilutės", "search-data": "Duomenų paieška", "no-data-found": "Duomenų nerasta", "latest": "Naujausios reikšmės", - "rpc": "Valdymo valdiklis", + "rpc": "RPC valdiklis", "alarm": "Įspėjimų valdiklis", "static": "Statinis valdiklis", - "timeseries-short": "telemetrija", + "timeseries-short": "laiko eilutės", "latest-short": "naujausios", "rpc-short": "valdymas", "alarm-short": "įspėjimas", "static-short": "statinis", + "type-timeseries": "Laiko eilutės", + "type-latest": "Naujausi", + "type-rpc": "Valdymas", + "type-alarm": "Įspėjimas", + "type-static": "Statinis", "select-widget-type": "Pasirinkite valdiklio tipą", - "missing-widget-title-error": "Valdiklio pavadinimas būtinas!", + "missing-widget-title-error": "Būtina nurodyti valdiklio pavadinimą!", "widget-saved": "Valdiklis išsaugotas", - "unable-to-save-widget-error": "Valdiklio išsaugoti nepavyko! Yra klaidų konfigūracijoje.", + "unable-to-save-widget-error": "Nepavyko išsaugoti valdiklio! Valdiklyje yra klaidų!", "save": "Išsaugoti valdiklį", "saveAs": "Išsaugoti valdiklį kaip", "move": "Perkelti valdiklį", @@ -8884,17 +10784,17 @@ "run": "Paleisti valdiklį", "widget-title": "Valdiklio pavadinimas", "title": "Pavadinimas", - "title-required": "Valdiklio pavadinimas būtinas.", - "title-max-length": "Pavadinimas negali viršyti 256 simbolių.", + "title-required": "Valdiklio pavadinimas yra privalomas.", + "title-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "system": "Sisteminis", "type": "Tipas", - "resources": "Resursai", + "resources": "Ištekliai", "resource-url": "JavaScript/CSS URL", "resource-is-extension": "Yra plėtinys", - "remove-resource": "Pašalinti resursą", - "add-resource": "Pridėti resursą", + "remove-resource": "Pašalinti išteklių", + "add-resource": "Pridėti išteklių", "html": "HTML", - "tidy": "Tvarkyti (Tidy)", + "tidy": "Sutvarkyti", "css": "CSS", "settings-form": "Nustatymų forma", "data-key-settings-form": "Duomenų rakto nustatymų forma", @@ -8902,7 +10802,7 @@ "widget-settings": "Valdiklio nustatymai", "description": "Aprašymas", "tags": "Žymos", - "image-preview": "Paveiksliuko peržiūra", + "image-preview": "Paveikslėlio peržiūra", "settings-form-selector": "Nustatymų formos pasirinkiklis", "data-key-settings-form-selector": "Duomenų rakto nustatymų formos pasirinkiklis", "latest-data-key-settings-form-selector": "Naujausių duomenų rakto nustatymų formos pasirinkiklis", @@ -8910,17 +10810,17 @@ "actual": "Esamas", "scada": "SCADA simbolis", "deprecated": "Pasenęs", - "has-basic-mode": "Turi bazinį režimą", - "basic-mode-form-selector": "Bazinio režimo formos pasirinkiklis", - "basic-mode": "Bazinė versija", - "advanced-mode": "Pažangi versija", + "has-basic-mode": "Turi paprastą režimą", + "basic-mode-form-selector": "Paprasto režimo formos pasirinkiklis", + "basic-mode": "Paprastas režimas", + "advanced-mode": "Išplėstinis režimas", "javascript": "JavaScript", "js": "JS", - "delete-widget-title": "Ar tikrai norite panaikinti valdiklį '{{widgetName}}'?", + "delete-widget-title": "Ar tikrai norite ištrinti valdiklį „{{widgetName}}“?", "delete-widget-text": "Po patvirtinimo valdiklis ir visa susijusi informacija bus negrįžtamai pašalinti.", - "delete-widgets-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 valdiklį} other {# valdiklius} }?", - "delete-widgets-text": "Būkite dėmesingi — po patvirtinimo visi pasirinkti valdikliai ir susijusi informacija bus negrįžtamai pašalinta.", - "delete-widget": "Panaikinti valdiklį", + "delete-widgets-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 valdiklį} one {# valdiklį} few {# valdiklius} other {# valdiklių} }?", + "delete-widgets-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti valdikliai ir susijusi informacija bus negrįžtamai pašalinta.", + "delete-widget": "Ištrinti valdiklį", "widget-template-load-failed-error": "Nepavyko įkelti valdiklio šablono!", "details": "Informacija", "widget-details": "Informacija apie valdiklį", @@ -8928,20 +10828,20 @@ "add-existing-widget": "Pridėti esamą valdiklį", "add-new-widget": "Pridėti naują valdiklį", "search-widgets": "Valdiklių paieška", - "selected-widgets": "Pasirinkta { count, plural, =1 {1 valdiklis} other {# valdikliai} }", - "undo": "Atšaukti valdiklio pakeitimus", + "selected-widgets": "{ count, plural, =1 {Pasirinktas 1 valdiklis} one {Pasirinktas # valdiklis} few {Pasirinkti # valdikliai} other {Pasirinkta # valdiklių} }", + "undo": "Anuliuoti valdiklio pakeitimus", "export": "Eksportuoti valdiklį", - "export-prompt": "Įtraukti valdiklio paveikslėlius ir resursus", + "export-prompt": "Įtraukti valdiklio paveikslėlius ir išteklius", "export-widgets": "Eksportuoti valdiklius", - "export-widgets-prompt": "Įtraukti valdiklių paveikslėlius ir resursus", + "export-widgets-prompt": "Įtraukti valdiklių paveikslėlius ir išteklius", "export-data": "Eksportuoti valdiklio duomenis", "export-to-csv": "Eksportuoti valdiklio duomenis į CSV...", "export-to-excel": "Eksportuoti valdiklio duomenis į XLS...", "export-to-excel-xlsx": "Eksportuoti valdiklio duomenis į XLSX...", "import": "Importuoti valdiklį", - "no-data": "Nėra duomenų atvaizdavimui", - "data-overflow": "Valdiklyje rodoma {{count}} iš {{total}} įrašų", - "alarm-data-overflow": "Valdiklyje rodomi {{allowedEntities}} (maksimalus leistinas skaičius) įspėjimų įrašai iš {{totalEntities}}", + "no-data": "Valdiklyje nėra rodomų duomenų", + "data-overflow": "Valdiklyje rodoma subjektų: {{count}} iš {{total}}", + "alarm-data-overflow": "Valdiklyje rodomi tik dalies subjektų įspėjimai: {{allowedEntities}} (didžiausias leistinas skaičius) iš {{totalEntities}}", "search": "Valdiklių paieška", "filter": "Valdiklių filtro tipas", "loading-widgets": "Įkeliami valdikliai...", @@ -8954,19 +10854,19 @@ "open-dashboard-state": "Eiti į naują skydelio būseną", "update-dashboard-state": "Atnaujinti dabartinę skydelio būseną", "open-dashboard": "Eiti į kitą skydelį", - "custom": "Aprašomas veiksmas", - "custom-pretty": "Aprašomas veiksmas (su HTML šablonu)", - "custom-pretty-error-title": "Klaida vykdant pasirinktą dialogą", + "custom": "Pasirinktinis veiksmas", + "custom-pretty": "Pasirinktinis veiksmas (su HTML šablonu)", + "custom-pretty-error-title": "Pasirinktinio dialogo klaida", "custom-pretty-template-error": "Netinkamas pasirinktinio dialogo šablonas.", "custom-pretty-controller-error": "Įvyko klaida vykdant pasirinktinio dialogo funkciją.", "mobile-action": "Mobilusis veiksmas", "target-dashboard-state": "Tikslinė skydelio būsena", - "target-dashboard-state-required": "Tikslnė skydelio būsena būtina", + "target-dashboard-state-required": "Tikslinė skydelio būsena yra privaloma", "set-entity-from-widget": "Nustatyti subjektą iš valdiklio", "target-dashboard": "Tikslinis skydelis", "select-target-dashboard": "Pasirinkite tikslinį skydelį", - "target-dashboard-required": "Tikslinis skydelis būtinas.", - "open-right-layout": "Atidaryti tinkamą skydelio išdėstymą (mobilusis vaizdas)", + "target-dashboard-required": "Tikslinis skydelis yra privalomas.", + "open-right-layout": "Atidaryti dešinįjį skydelio išdėstymą (mobilusis vaizdas)", "state-display-type": "Skydelio būsenos rodymo būdas", "open-normal": "Normalus vaizdas", "open-in-separate-dialog": "Atidaryti atskirame dialoge", @@ -8991,18 +10891,18 @@ "popover-placement-leftBottom": "Kairėje apačioje", "popover-hide-on-click-outside": "Slėpti iškylantį langą spustelėjus už ribų", "popover-hide-dashboard-toolbar": "Slėpti skydelio įrankių juostą iškylančiame lange", - "popover-width": "Iškylančio lango plotis naršyklės vienetais (pvz. 100px, 25vw)", - "popover-height": "Iškylančio lango aukštis naršyklės vienetais (pvz. 100px, 25vh)", + "popover-width": "Iškylančio lango plotis", + "popover-height": "Iškylančio lango aukštis", "popover-style": "Iškylančio lango stilius", "open-new-browser-tab": "Atidaryti naujame naršyklės skirtuke", "open-URL": "Atidaryti URL", "URL": "URL", - "url-required": "URL būtinas.", + "url-required": "URL yra privalomas.", "mobile": { "device-provision": "Įrenginio paruošimas", "action-type": "Mobiliojo veiksmo tipas", "select-action-type": "Pasirinkite mobiliojo veiksmo tipą", - "action-type-required": "Mobiliojo veiksmo tipas būtinas.", + "action-type-required": "Mobiliojo veiksmo tipas yra privalomas", "take-picture-from-gallery": "Pasirinkti nuotrauką iš galerijos", "take-photo": "Padaryti nuotrauką", "map-direction": "Atidaryti maršrutą žemėlapyje", @@ -9010,7 +10910,105 @@ "scan-qr-code": "Skenuoti QR kodą", "make-phone-call": "Skambinti telefonu", "get-location": "Gauti telefono vietą", - "take-screenshot": "Padaryti ekrano nuotrauką" + "take-screenshot": "Padaryti ekrano nuotrauką", + "handle-provision-success-function": "Sėkmingo paruošimo apdorojimo funkcija", + "get-location-function": "Vietos gavimo funkcija", + "process-launch-result-function": "Paleidimo rezultato apdorojimo funkcija", + "get-phone-number-function": "Telefono numerio gavimo funkcija", + "process-image-function": "Paveikslėlio apdorojimo funkcija", + "process-qr-code-function": "QR kodo apdorojimo funkcija", + "process-location-function": "Vietos apdorojimo funkcija", + "handle-empty-result-function": "Tuščio rezultato apdorojimo funkcija", + "handle-error-function": "Klaidos apdorojimo funkcija", + "handle-non-mobile-fallback-function": "Atsarginė funkcija ne mobiliesiems įrenginiams", + "save-to-gallery": "Išsaugoti paveikslėlių galerijoje", + "provision-type": "Paruošimo tipas", + "auto": "Automatinis", + "wi-fi": "Wi-Fi", + "ble": "BLE", + "soft-ap": "Soft AP", + "save-to-entity": "Išsaugoti vietą subjekte", + "target-panel-title": "Paskirtis", + "target-save-to": "Kur išsaugoti", + "target-mode-entity": "Subjektas", + "target-current-entity": "Subjektas iš valdiklio duomenų šaltinio", + "target-current-user": "Esamas naudotojas", + "target-entity-alias": "Subjekto pseudonimas", + "target-from-attribute": "Iš atributo", + "target-entity-alias-name": "Pseudonimo pavadinimas", + "target-entity-alias-name-required": "Pseudonimo pavadinimas yra privalomas", + "target-attribute-source": "Skaityti atributą iš", + "target-attribute-key": "Serverio atributo raktas", + "target-attribute-key-required": "Serverio atributo raktas yra privalomas", + "target-attribute-value-hint": "Atribute turi būti subjekto ID objektas su abiem laukais, pavyzdžiui, {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. Paprasta ID eilutė nepriimama.", + "location-save-failed": "Nepavyko išsaugoti vietos: {{error}}", + "start-live-location": "Pradėti vietos sekimą realiuoju laiku", + "stop-live-location": "Sustabdyti vietos sekimą realiuoju laiku", + "accuracy": "Tikslumas", + "accuracy-hint": "Kompromisas tarp kiekvienos padėties tikslumo ir to, kiek baterijos energijos sunaudoja sekimas.", + "accuracy-high": "Didelis", + "accuracy-high-hint": "Naudoja GPS tiksliausiai padėčiai nustatyti, maždaug 5 m tikslumu. Geriausiai tinka transporto priemonėms ar lauko darbuotojams sekti, tačiau bateriją iškrauna greičiausiai.", + "accuracy-balanced": "Subalansuotas", + "accuracy-balanced-hint": "Naudoja Wi-Fi ir mobiliojo ryšio bokštus, o GPS – tik prireikus, maždaug 40 m tikslumu. Geras numatytasis pasirinkimas periodiniams padėties atnaujinimams, baterija naudojama vidutiniškai.", + "accuracy-low": "Mažas", + "accuracy-low-hint": "Naudoja tik mobiliojo ryšio bokštus, maždaug 500 m tikslumu ar prasčiau. Geriausiai tinka buvimo vietai miesto lygmeniu stebėti ilgą laiką, minimaliai naudojant bateriją.", + "live-location-advanced-settings": "Išplėstiniai nustatymai", + "distance-filter": "Riboti atnaujinimus pagal įveiktą atstumą", + "distance-filter-hint": "Praleidžia atnaujinimus, kol įrenginys nepasislenka bent šiuo atstumu nuo paskutinės praneštos padėties.", + "distance-filter-value": "Atstumas", + "distance-filter-value-min": "Atstumas turi būti ne mažesnis nei 1 metras", + "distance-filter-value-pattern": "Atstumas turi būti sveikasis skaičius", + "distance-filter-value-required": "Atstumas yra privalomas", + "interval": "Riboti atnaujinimus pagal laiko intervalą", + "interval-hint": "Prašo naujos padėties ne dažniau nei šiuo intervalu. Be jo atnaujinimai gaunami taip greitai, kaip juos praneša įrenginys.", + "interval-value": "Intervalas", + "interval-value-min": "Intervalas turi būti ne trumpesnis nei 1 sekundė", + "interval-value-required": "Intervalas yra privalomas", + "max-duration": "Sustabdyti sekimą po maksimalios trukmės", + "max-duration-hint": "Sekimas sustabdomas automatiškai, kai nuo jo pradžios praeina nurodytas laikas.", + "max-duration-value": "Trukmė", + "max-duration-value-min": "Trukmė turi būti ne trumpesnė nei 1 minutė", + "max-duration-value-required": "Trukmė yra privaloma" + }, + "location": { + "saved-keys": "Raktai, išsaugomi subjekte", + "argument": "Argumentas", + "key-name": "Duomenų raktas", + "value-type": "Tipas", + "add-key": "Pridėti raktą", + "remove-key": "Pašalinti raktą", + "duplicate-key-names": "Duomenų raktai turi būti unikalūs", + "key-latitude": "Platuma", + "key-longitude": "Ilguma", + "key-accuracy": "Tikslumas", + "key-altitude": "Aukštis", + "key-speed": "Greitis", + "key-heading": "Kryptis", + "key-gps-active": "GPS aktyvus", + "key-gps-tracked-by": "GPS sekamas naudotojo", + "value-type-attribute": "Serverio atributas", + "value-type-timeseries": "Laiko eilutės", + "error-no-current-entity": "Valdiklio veiksmas neturi esamo subjekto", + "error-no-current-user": "Nepavyko nustatyti esamo naudotojo", + "error-save-failed": "Netikėta serverio klaida", + "error-permission-denied": "Prieiga uždrausta", + "error-alias-not-found": "Subjekto pseudonimas „{{alias}}“ skydelyje nerastas", + "error-alias-not-resolved": "Pagal subjekto pseudonimą „{{alias}}“ nerastas joks subjektas", + "error-attribute-not-found": "Atributas „{{key}}“ nerastas šaltinio subjekte", + "error-attribute-not-object": "Atributas „{{key}}“ nėra subjekto ID objektas. Turi būti abu laukai entityType ir id, pavyzdžiui, {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "Atribute „{{key}}“ trūksta subjekto ID objekto lauko entityType arba id", + "error-attribute-unknown-entity-type": "Atributas „{{key}}“ nurodo nežinomą subjekto tipą „{{entityType}}“", + "error-unknown-target-type": "Nežinomas tikslinio subjekto šaltinis „{{type}}“" + }, + "save-browser-location": "Išsaugoti naršyklės vietą", + "browser-location": { + "location-saved": "Naršyklės vieta išsaugota", + "location-save-failed": "Nepavyko išsaugoti naršyklės vietos: {{error}}", + "error-unsupported": "Ši naršyklė nepalaiko vietos nustatymo", + "error-insecure-context": "Naršyklės vietai nustatyti reikalingas saugus (HTTPS) ryšys", + "error-permission-denied": "Leidimas pasiekti vietą buvo atmestas", + "error-position-unavailable": "Dabartinė vieta nepasiekiama", + "error-timeout": "Nustatant dabartinę vietą baigėsi skirtasis laikas" }, "custom-action-function": "Pasirinktinio veiksmo funkcija", "custom-pretty-function": "Pasirinktinio veiksmo (su HTML šablonu) funkcija", @@ -9019,11 +11017,12 @@ "marker": "Žymeklis", "polygon": "Daugiakampis", "rectangle": "Stačiakampis", - "circle": "Apskritimas" + "circle": "Apskritimas", + "polyline": "Laužtė" }, "place-map-item": "Įdėti žemėlapio elementą", "map-item-tooltip": { - "customize-map-item-tooltips": "Tinkinti žemėlapio elementų paaiškinimus (tooltips)", + "customize-map-item-tooltips": "Tinkinti žemėlapio elementų patarimus", "place-marker": "Padėti žymeklį", "start-draw-rectangle": "Pradėti piešti stačiakampį", "finish-draw-rectangle": "Baigti piešti stačiakampį", @@ -9031,7 +11030,9 @@ "continue-draw-polygon": "Tęsti daugiakampio piešimą", "finish-draw-polygon": "Baigti piešti daugiakampį", "start-draw-circle": "Pradėti piešti apskritimą", - "finish-draw-circle": "Baigti piešti apskritimą" + "finish-draw-circle": "Baigti piešti apskritimą", + "start-draw-polyline": "Pradėti piešti laužtę", + "finish-draw-polyline": "Baigti piešti laužtę" } }, "widgets-bundle": { @@ -9039,12 +11040,12 @@ "widgets-bundles": "Valdiklių rinkiniai", "widgets-bundle-widgets": "Valdiklių rinkinio valdikliai", "add": "Pridėti valdiklių rinkinį", - "delete": "Panaikinti valdiklių rinkinį", + "delete": "Ištrinti valdiklių rinkinį", "title": "Pavadinimas", - "title-required": "Pavadinimas būtinas.", - "title-max-length": "Pavadinimas negali viršyti 256 simbolių.", + "title-required": "Pavadinimas yra privalomas.", + "title-max-length": "Pavadinimas turi būti trumpesnis nei 256 simboliai", "description": "Aprašymas", - "image-preview": "Paveiksliuko peržiūra", + "image-preview": "Paveikslėlio peržiūra", "scada": "SCADA valdiklių rinkinys", "order": "Eiliškumas", "add-widgets-bundle-text": "Pridėti naują valdiklių rinkinį", @@ -9052,13 +11053,13 @@ "empty": "Valdiklių rinkinys tuščias", "details": "Informacija", "widgets-bundle-details": "Informacija apie valdiklių rinkinį", - "delete-widgets-bundle-title": "Ar tikrai norite panaikinti valdiklių rinkinį '{{widgetsBundleTitle}}'?", - "delete-widgets-bundle-text": "Būkite dėmesingi — po patvirtinimo valdiklių rinkinys ir visa su juo susijusi informacija bus pašalinta.", - "delete-widgets-bundles-title": "Ar tikrai norite panaikinti { count, plural, =1 {1 valdiklių rinkinį} other {# valdiklių rinkinius} }?", - "delete-widgets-bundles-action-title": "Panaikinti { count, plural, =1 {1 valdiklių rinkinį} other {# valdiklių rinkinius} }", - "delete-widgets-bundles-text": "Būkite dėmesingi — po patvirtinimo visi pasirinkti valdiklių rinkiniai ir su jais susijusi informacija bus pašalinti.", - "no-widgets-bundles-matching": "Valdiklių rinkinių, atitinkančių '{{widgetsBundle}}', nėra.", - "widgets-bundle-required": "Valdiklių rinkinys būtinas.", + "delete-widgets-bundle-title": "Ar tikrai norite ištrinti valdiklių rinkinį „{{widgetsBundleTitle}}“?", + "delete-widgets-bundle-text": "Būkite atsargūs — po patvirtinimo valdiklių rinkinys ir visa su juo susijusi informacija bus negrįžtamai pašalinti.", + "delete-widgets-bundles-title": "Ar tikrai norite ištrinti { count, plural, =1 {1 valdiklių rinkinį} one {# valdiklių rinkinį} few {# valdiklių rinkinius} other {# valdiklių rinkinių} }?", + "delete-widgets-bundles-action-title": "Ištrinti { count, plural, =1 {1 valdiklių rinkinį} one {# valdiklių rinkinį} few {# valdiklių rinkinius} other {# valdiklių rinkinių} }", + "delete-widgets-bundles-text": "Būkite atsargūs — po patvirtinimo visi pasirinkti valdiklių rinkiniai ir su jais susijusi informacija bus negrįžtamai pašalinti.", + "no-widgets-bundles-matching": "Valdiklių rinkinių, atitinkančių „{{widgetsBundle}}“, nėra.", + "widgets-bundle-required": "Valdiklių rinkinys yra privalomas.", "system": "Sisteminis", "import": "Importuoti valdiklių rinkinį", "export": "Eksportuoti valdiklių rinkinį", @@ -9068,9 +11069,9 @@ "widgets-bundle-file": "Valdiklių rinkinio failas", "invalid-widgets-bundle-file-error": "Valdiklių rinkinio importuoti nepavyko: neteisinga duomenų struktūra.", "search": "Valdiklių rinkinių paieška", - "selected-widgets-bundles": "Pasirinkta { count, plural, =1 {1 valdiklių rinkinys} other {# valdiklių rinkiniai} }", - "open-widgets-bundle": "Atverti valdiklių rinkinį", - "loading-widgets-bundles": "Įkeliamas valdiklių rinkinys...", + "selected-widgets-bundles": "{ count, plural, =1 {Pasirinktas 1 valdiklių rinkinys} one {Pasirinktas # valdiklių rinkinys} few {Pasirinkti # valdiklių rinkiniai} other {Pasirinkta # valdiklių rinkinių} }", + "open-widgets-bundle": "Atidaryti valdiklių rinkinį", + "loading-widgets-bundles": "Įkeliami valdiklių rinkiniai...", "create-new": "Sukurti naują valdiklių rinkinį" }, "widget-config": { @@ -9081,8 +11082,8 @@ "widget-card": "Valdiklio kortelė", "mobile": "Mobilusis vaizdas", "title": "Pavadinimas", - "title-tooltip": "Pavadinimo paaiškinimas", - "general-settings": "Pagrindiniai nustatymai", + "title-tooltip": "Pavadinimo patarimas", + "general-settings": "Bendrieji nustatymai", "display-title": "Rodyti valdiklio pavadinimą", "card-title": "Kortelės pavadinimas", "drop-shadow": "Šešėlis", @@ -9092,8 +11093,8 @@ "background-color": "Fono spalva", "text-color": "Teksto spalva", "border-radius": "Rėmelio apvalinimas", - "padding": "Vidinis atstumas (padding)", - "margin": "Išorinis atstumas (margin)", + "padding": "Vidinis atstumas", + "margin": "Išorinis atstumas", "widget-style": "Valdiklio stilius", "widget-css": "Valdiklio CSS stilius", "title-style": "Antraštės stilius", @@ -9102,25 +11103,25 @@ "height": "Aukštis", "mobile-hide": "Slėpti valdiklį mobiliajame režime", "desktop-hide": "Slėpti valdiklį darbalaukio režime", - "units": "Papildomas simbolis šalia reikšmės", + "units": "Specialus simbolis, rodomas šalia reikšmės", "units-by-default": "Numatytieji matavimo vienetai", - "decimals": "Skaitmenys po kablelio", + "decimals": "Skaitmenų po kablelio skaičius", "decimals-by-default": "Numatytieji dešimtainiai skaitmenys", "default-data-key-parameter-hint": "Šis parametras taikomas visoms valdiklio reikšmėms, nebent jis perrašomas konkretaus duomenų rakto konfigūracijoje", "units-short": "Vienetai", "decimals-short": "Dešimtainiai", "decimals-suffix": "dešimtainiai skaitmenys", "digits-suffix": "skaitmenys", - "timewindow": "Laikotarpio langas", - "use-dashboard-timewindow": "Naudoti skydelio laikotarpio langą", - "use-widget-timewindow": "Naudoti valdiklio laikotarpio langą", - "display-timewindow": "Rodyti laikotarpio langą", + "timewindow": "Laiko langas", + "use-dashboard-timewindow": "Naudoti skydelio laiko langą", + "use-widget-timewindow": "Naudoti valdiklio laiko langą", + "display-timewindow": "Rodyti laiko langą", "legend": "Legenda", "display-legend": "Rodyti legendą", "datasources": "Duomenų šaltiniai", "datasource": "Duomenų šaltinis", - "maximum-datasources": "Daugiausiai leidžiama { count, plural, =1 {1 duomenų šaltinis.} other {# duomenų šaltiniai} }", - "timeseries-key-error": "Reikia nurodyti bent vieną telemetrijos rodiklį", + "maximum-datasources": "Daugiausia leidžiama { count, plural, =1 {1 duomenų šaltinis.} one {# duomenų šaltinis.} few {# duomenų šaltiniai} other {# duomenų šaltinių} }", + "timeseries-key-error": "Reikia nurodyti bent vieną laiko eilučių duomenų raktą", "datasource-type": "Tipas", "datasource-parameters": "Parametrai", "remove-datasource": "Pašalinti duomenų šaltinį", @@ -9132,27 +11133,47 @@ "add-action": "Pridėti veiksmą", "search-actions": "Veiksmų paieška", "no-actions-text": "Veiksmų nėra", + "import-actions": "Importuoti veiksmus", + "export-actions": "Eksportuoti veiksmus", + "export-action": "Eksportuoti veiksmą", + "duplicate-action": "Dubliuoti veiksmą", + "copy-action": "Kopijuoti veiksmą", + "copy-all-actions": "Kopijuoti visus veiksmus", + "action-copied": "Veiksmas nukopijuotas", + "actions-copied": "Veiksmai nukopijuoti", + "paste-actions": "Įklijuoti veiksmus", + "clear-actions": "Išvalyti visus veiksmus", + "clear-actions-title": "Išvalyti visus veiksmus", + "clear-actions-text": "Ar tikrai norite pašalinti visus valdiklio veiksmus?", + "actions-file": "Valdiklio veiksmų failas", + "actions-json-content": "Veiksmų JSON turinys", + "invalid-actions-file-error": "Nepavyko importuoti valdiklio veiksmų: netinkama valdiklio veiksmų duomenų struktūra.", + "import-actions-imported": "{ count, plural, =0 {Veiksmų neimportuota} =1 {Importuotas 1 veiksmas} one {Importuotas # veiksmas} few {Importuoti # veiksmai} other {Importuota # veiksmų} }", + "paste-actions-pasted": "{ count, plural, =0 {Veiksmų neįklijuota} =1 {Įklijuotas 1 veiksmas} one {Įklijuotas # veiksmas} few {Įklijuoti # veiksmai} other {Įklijuota # veiksmų} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {Veiksmų nedubliuota} =1 {Dubliuotas 1 veiksmas} one {Dubliuotas # veiksmas} few {Dubliuoti # veiksmai} other {Dubliuota # veiksmų} }", + "import-actions-skipped": "{ count, plural, =1 {1 veiksmas praleistas, nes jis netaikomas arba jau sukonfigūruotas šiam valdikliui} one {# veiksmas praleistas, nes jis netaikomas arba jau sukonfigūruotas šiam valdikliui} few {# veiksmai praleisti, nes jie netaikomi arba jau sukonfigūruoti šiam valdikliui} other {# veiksmų praleista, nes jie netaikomi arba jau sukonfigūruoti šiam valdikliui} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 langelio spustelėjimo veiksmas neturi priskirto stulpelio. Redaguokite veiksmą, kad priskirtumėte stulpelį.} one {# langelio spustelėjimo veiksmas neturi priskirto stulpelio. Redaguokite veiksmą, kad priskirtumėte stulpelį.} few {# langelio spustelėjimo veiksmai neturi priskirto stulpelio. Redaguokite veiksmus, kad priskirtumėte stulpelį.} other {# langelio spustelėjimo veiksmų neturi priskirto stulpelio. Redaguokite veiksmus, kad priskirtumėte stulpelį.} }", "action-source": "Veiksmo šaltinis", "select-action-source": "Pasirinkite veiksmo šaltinį", - "action-source-required": "Veiksmo šaltinis būtinas.", + "action-source-required": "Veiksmo šaltinis yra privalomas.", "column-index": "Stulpelio indeksas", "select-column-index": "Pasirinkite stulpelio indeksą", - "column-index-required": "Stulpelio indeksas būtinas.", - "entity-group-row-click-hint": "Norėdami naudoti tinkintą veiksmą „Paspaudus eilutę“, įsitikinkite, kad nustatymas „Atidaryti subjekto informaciją“ nėra nustatytas į „Paspaudus eilutę“. ", + "column-index-required": "Stulpelio indeksas yra privalomas.", + "entity-group-row-click-hint": "Norėdami naudoti pasirinktinį veiksmą „Paspaudus eilutę“, įsitikinkite, kad nustatymų skirtuke parinkties „Atidaryti subjekto informaciją“ reikšmė nėra „Spustelėjus eilutę“.", "not-set": "Nenurodyta", "action-name": "Veiksmo pavadinimas", - "action-name-required": "Veiksmo pavadinimas būtinas.", - "action-name-not-unique": "Veiksmas su tokiu pavadinimu jau egzistuoja.
To paties šaltinio veiksmų pavadinimai negali kartotis.", + "action-name-required": "Veiksmo pavadinimas yra privalomas.", + "action-name-not-unique": "Veiksmas su tokiu pavadinimu jau egzistuoja.\nTo paties šaltinio veiksmų pavadinimai negali kartotis.", "action-icon": "Piktograma", "header-button": { "button-settings": "Mygtuko nustatymai", "button-type": "Mygtuko tipas", "button-type-basic": "Paprastas", - "button-type-raised": "Iškeltas (Raised)", - "button-type-stroked": "Kontūrinis (Stroked)", - "button-type-flat": "Plokščias (Flat)", + "button-type-raised": "Iškeltas", + "button-type-stroked": "Kontūrinis", + "button-type-flat": "Plokščias", "button-type-icon": "Piktogramos mygtukas", - "button-type-mini-fab": "Mini FAB (Floating Action Button)", + "button-type-mini-fab": "FAB", "colors": "Spalvos", "color": "Spalva", "background": "Fonas", @@ -9163,11 +11184,11 @@ "show-hide-action-using-function": "Rodyti / slėpti veiksmą pagal funkciją", "show-action-function": "Veiksmo rodymo funkcija", "action-type": "Veiksmo tipas", - "action-type-required": "Veiksmo tipas būtinas.", + "action-type-required": "Veiksmo tipas yra privalomas.", "edit-action": "Redaguoti veiksmą", - "delete-action": "Panaikinti veiksmą", - "delete-action-title": "Panaikinti valdiklio veiksmą", - "delete-action-text": "Ar tikrai norite panaikinti valdiklio veiksmą '{{actionName}}'?", + "delete-action": "Ištrinti veiksmą", + "delete-action-title": "Ištrinti valdiklio veiksmą", + "delete-action-text": "Ar tikrai norite ištrinti valdiklio veiksmą „{{actionName}}“?", "title-icon": "Antraštės piktograma", "display-icon": "Rodyti antraštės piktogramą", "card-icon": "Kortelės piktograma", @@ -9177,9 +11198,9 @@ "advanced-settings": "Išplėstiniai nustatymai", "data-settings": "Duomenų nustatymai", "limits": "Ribos", - "no-data-display-message": "Alternatyvus tekstas, kai nėra duomenų", + "no-data-display-message": "Alternatyvus pranešimas „Nėra rodomų duomenų“", "data-page-size": "Maksimalus subjektų skaičius viename duomenų šaltinyje", - "settings-component-not-found": "Nerasta nustatymų formos komponento su selektoriumi '{{selector}}'", + "settings-component-not-found": "Nerasta nustatymų formos komponento su selektoriumi „{{selector}}“", "preview": "Peržiūra", "set": "Nustatyti", "set-message": "Nustatyti pranešimą", @@ -9190,12 +11211,12 @@ "advanced-widget-style": "Išplėstinis valdiklio stilius", "card-buttons": "Kortelės mygtukai", "show-card-buttons": "Rodyti kortelės mygtukus", - "card-border-radius": "Kortelės kampų apvalinimas", - "card-padding": "Kortelės vidinis atstumas (padding)", + "card-border-radius": "Kortelės rėmelio apvalinimas", + "card-padding": "Kortelės vidinis atstumas", "card-appearance": "Kortelės išvaizda", "color": "Spalva", - "tooltip": "Paaiškinimas (tooltip)", - "units-required": "Matavimo vienetas būtinas.", + "tooltip": "Patarimas", + "units-required": "Matavimo vienetas yra privalomas.", "list-layout": "Sąrašo išdėstymas", "layout": "Išdėstymas", "resize-options": "Dydžio keitimo parinktys", @@ -9213,67 +11234,176 @@ "self-registration": "Saviregistracija", "self-registration-url": "Saviregistracijos URL", "captcha-version": "reCAPTCHA versija", - "captcha-action": "reCAPTCHA veiksmų pavadinimas (log action name)", - "captcha-site-key": "reCAPTCHA svetainės raktas (site key)", - "captcha-site-key-required": "reCAPTCHA svetainės raktas yra būtinas.", - "captcha-site-key-cannot-contain-only-spaces": "Svetainės raktas negali būti sudarytas tik iš tarpų.", - "captcha-site-key-max-length": "Svetainės rakto ilgis turi būti mažesnis nei 256 simboliai.", - "captcha-secret-key": "reCAPTCHA slaptasis raktas (secret key)", - "captcha-secret-key-required": "reCAPTCHA slaptasis raktas yra būtinas.", - "captcha-secret-key-cannot-contain-only-spaces": "Slaptasis raktas negali būti sudarytas tik iš tarpų.", - "captcha-secret-key-max-length": "Slaptojo rakto ilgis turi būti mažesnis nei 256 simboliai.", + "captcha-action": "reCAPTCHA veiksmo pavadinimas", + "captcha-site-key": "reCAPTCHA svetainės raktas", + "captcha-site-key-required": "reCAPTCHA svetainės raktas yra privalomas.", + "captcha-site-key-cannot-contain-only-spaces": "Svetainės raktas negali būti sudarytas tik iš tarpų", + "captcha-site-key-max-length": "Svetainės rakto ilgis turi būti mažesnis nei 256 simboliai", + "captcha-secret-key": "reCAPTCHA slaptasis raktas", + "captcha-secret-key-required": "reCAPTCHA slaptasis raktas yra privalomas.", + "captcha-secret-key-cannot-contain-only-spaces": "Slaptasis raktas negali būti sudarytas tik iš tarpų", + "captcha-secret-key-max-length": "Slaptojo rakto ilgis turi būti mažesnis nei 256 simboliai", "project-id": "Projekto ID", - "project-id-required": "Projekto ID yra būtinas.", + "project-id-required": "Projekto ID yra privalomas.", "android-key": "Android raktas", - "android-key-required": "Android raktas yra būtinas.", + "android-key-required": "Android raktas yra privalomas.", "ios-key": "iOS raktas", - "ios-key-required": "iOS raktas yra būtinas.", + "ios-key-required": "iOS raktas yra privalomas.", "notification-recipient": "Pranešimų gavėjas", - "notification-recipient-required": "Pranešimų gavėjas yra būtinas.", + "notification-recipient-required": "Pranešimo gavėjas yra privalomas.", "privacy-policy-text": "Privatumo politikos tekstas", "terms-of-use-text": "Naudojimo sąlygų tekstas", - "text-message-page": "Tekstinė žinutė registracijos puslapiui", + "text-message-page": "Registracijos puslapio pranešimo tekstas", "enable-mobile-self-registration": "Įjungti saviregistraciją iš mobiliosios programėlės", "mobile-self-registration-title": "Mobiliosios programėlės saviregistracijos nustatymai", "mobile-package": "Programėlės paketo pavadinimas", "mobile-package-placeholder": "Pvz.: my.example.app", - "mobile-package-hint": "Android: jūsų unikalus programėlės ID. iOS: produkto paketo (bundle) identifikatorius.", - "mobile-package-required": "Programėlės paketo pavadinimas yra būtinas.", + "mobile-package-hint": "Android: jūsų unikalus programėlės ID. iOS: produkto paketo identifikatorius.", + "mobile-package-required": "Programėlės paketo pavadinimas yra privalomas", "mobile-app-secret": "Programėlės slaptasis raktas", - "invalid-mobile-app-secret": "Slaptasis raktas turi būti sudarytas tik iš raidžių ir skaičių bei būti nuo 16 iki 2048 simbolių ilgio.", + "invalid-mobile-app-secret": "Programėlės slaptasis raktas turi būti sudarytas tik iš raidžių ir skaitmenų ir būti nuo 16 iki 2048 simbolių ilgio.", "copy-mobile-app-secret": "Kopijuoti programėlės slaptąjį raktą", "mobile-app-scheme": "Programėlės URL schema", "mobile-app-scheme-placeholder": "Pvz.: customscheme", - "mobile-app-scheme-required": "Programėlės URL schema yra būtina.", - "mobile-app-scheme-cannot-contain-only-spaces": "Programėlės URL schema negali būti sudaryta tik iš tarpų.", - "mobile-app-scheme-max-length": "Programėlės URL schemos ilgis turi būti mažesnis nei 256 simboliai.", - "mobile-app-host": "Programėlės URL prieglobos vardas (hostname)", + "mobile-app-scheme-required": "Programėlės URL schema yra privaloma", + "mobile-app-scheme-cannot-contain-only-spaces": "Programėlės URL schema negali būti sudaryta tik iš tarpų", + "mobile-app-scheme-max-length": "Programėlės URL schemos ilgis turi būti mažesnis nei 256 simboliai", + "mobile-app-host": "Programėlės URL prieglobos vardas", "mobile-app-host-placeholder": "Pvz.: my.app.host", - "mobile-app-host-required": "Programėlės URL prieglobos vardas yra būtinas.", - "mobile-app-host-cannot-contain-only-spaces": "Programėlės URL prieglobos vardas negali būti sudarytas tik iš tarpų.", - "mobile-app-host-max-length": "Programėlės URL prieglobos vardo ilgis turi būti mažesnis nei 256 simboliai.", + "mobile-app-host-required": "Programėlės URL prieglobos vardas yra privalomas", + "mobile-app-host-cannot-contain-only-spaces": "Programėlės URL prieglobos vardas negali būti sudarytas tik iš tarpų", + "mobile-app-host-max-length": "Programėlės URL prieglobos vardo ilgis turi būti mažesnis nei 256 simboliai", "show-privacy-policy": "Rodyti privatumo politiką", "show-terms-of-use": "Rodyti naudojimo sąlygas", "domain-settings": "Domeno nustatymai", "general-settings": "Bendrieji nustatymai", - "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise paskyros kredencialų JSON failas", - "select-recaptcha-enterprise-service-account-file": "Vilkite ir įmeskite savo paskyros kredencialų failą" + "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise paskyros prisijungimo duomenų JSON failas", + "select-recaptcha-enterprise-service-account-file": "Nuvilkite savo paskyros prisijungimo duomenų failą" }, - "solution-template": { - "solution-template": "Sprendimo šablonas", - "solution-templates": "Sprendimo šablonai", - "management": "Sprendimų šablonų valdymas", - "details": "Informacija", - "install": "Įdiegti", - "level": "Lygis", - "install-title": "Sprendimo šablonas sėkmingai įdiegtas", - "install-failed-title": "Sprendimo šablono diegimas nepavyko", - "instructions": "Instrukcijos", - "goto-main-dashboard": "Eiti į pagrindinį skydelį", - "delete": "Panaikinti", - "delete-solution-title": "Ar tikrai norite panaikinti sprendimą '{{solutionTitle}}'?", - "delete-solution-text": "Būkite dėmesingi — po patvirtinimo sprendimas ir visa su juo susijusi informacija bus negrįžtamai pašalinta.", - "installing": "Diegiamas sprendimo šablonas..." + "solution-creator": { + "ai-solution-creator": "DI sprendimų kūrėjas", + "describe-solution-you-want": "Aprašykite sprendimą, kurį norite sukurti", + "enter-your-prompt": "Įveskite užklausą", + "target": "Tikslas", + "install-solution": "Įdiegti", + "solution-overview": "Sprendimo apžvalga: {{ name }}", + "dashboards-overview": "Skydelių apžvalga: {{ name }}", + "entity-profile": "Subjekto profilis", + "entity-profiles": "Subjektų profiliai", + "name": "Pavadinimas", + "iam": "IAM", + "iam-full": "Tapatybių ir prieigos valdymas", + "table-view": "Lentelė", + "schema-view": "Schema", + "iam-info": "IAM informacija", + "operation": { + "C": "Sukurti", + "R": "Skaityti", + "U": "Keisti", + "D": "Ištrinti" + }, + "alarm-info": "Įspėjimo informacija", + "description": "Aprašymas", + "data": "Duomenys", + "entity-info": "Subjekto informacija", + "calculated-field-info": "Apskaičiuoto lauko informacija", + "field-type": "Lauko tipas", + "scope": "Taikymo sritis", + "delete-alarm-title": "Ištrinti šį pasiūlytą įspėjimą?", + "delete-alarm-text": "Šis pagal jūsų aprašymą pasiūlytas įspėjimas nebus įtrauktas į siūlomo sprendimo rinkinį.
Vėliau visada galėsite įspėjimus redaguoti arba sukurti iš naujo rankiniu būdu. Šio veiksmo anuliuoti negalima.", + "basic-mode": "Paprastas režimas", + "advanced-mode": "Išplėstinis režimas", + "create-solution": "Sukurti sprendimą", + "go-dashboard-manager": "Toliau: skydelio dizainas", + "success-generate-title": "Sprendimas paruoštas!", + "success-generate-sub-title": "Galite jį įdiegti savo paskyroje spustelėję toliau esantį mygtuką", + "success-generate-install-title": "Sprendimas įdiegtas!", + "success-generate-install-sub-title": "Norėdami redaguoti sprendimą, pirmiausia išdiekite esamą egzempliorių", + "main-title": "Sveiki! Aš esu jūsų DI asistentas", + "sub-title": "Padedu jūsų reikalavimus paversti visiškai veikiančiu IoT sprendimu.\nTiesiog aprašykite, ko norite pasiekti, o visa kita padarysiu aš.", + "solutions": "Sprendimai", + "new-solution": "Naujas sprendimas", + "uninstall-solution": "Išdiegti", + "uninstall-solution-dialog-title": "Ar tikrai norite išdiegti „{{ name }}“?", + "uninstall-solution-dialog-text": "Visi susiję subjektai ir skydeliai bus ištrinti iš jūsų paskyros", + "uninstall-solution-dialog-confirm": "Taip, išdiegti", + "delete-solution-title": "Ar tikrai norite ištrinti „{{ name }}“?", + "delete-solution-text": "Visi jūsų duomenys bus prarasti", + "delete-solution-confirm": "Taip, ištrinti", + "copy-solution": "Kopijuoti sprendimą", + "expand-sidebar": "Išskleisti šoninę juostą", + "collapse-sidebar": "Suskleisti šoninę juostą", + "solution-id": "Sprendimo ID", + "solution-id-required": "Sprendimo ID yra privalomas", + "rename-solution-title": "Pervadinti šį sprendimą", + "generate-again": "Generuoti dar kartą", + "skip-interview": "Praleisti interviu", + "update-solution": "Atnaujinti sprendimą", + "finish-edit": "Baigti redaguoti", + "lorawan-tracking": "LoRaWAN sekimas", + "smart-parking": "Išmanusis automobilių statymas", + "weather-monitoring": "Orų stebėsena", + "water-metering": "Vandens apskaita", + "coffee-machine-monitoring": "Kavos aparatų stebėsena", + "fleet-geofencing": "Transporto parko geozonos", + "more-examples": "Daugiau pavyzdžių", + "hide": "Slėpti", + "solution-info": "Sprendimo informacija", + "solution-info-with-name": "Sprendimo informacija: {{ name }}", + "status": "Būsena", + "only-failures": "Tik nesėkmės", + "failed-create-entity": "Nepavyko sukurti subjekto", + "failed-install-entity": "Nepavyko įdiegti subjekto", + "copy-id": "Kopijuoti ID", + "id-copied-message": "Sprendimo ID nukopijuotas į iškarpinę", + "credits": "Kreditai", + "info": "Informacija", + "main-dashboard": "Pagrindinis skydelis", + "view-as": "Peržiūrėti kaip {{ name }}", + "generated-by-calculated-field-name": "Sugeneruota apskaičiuoto lauko „{{ name }}“", + "estimate-wait-time": "Numatomas laukimo laikas – ~{{ time }}", + "analyzing-your-request": "Analizuojama jūsų užklausa...", + "condition": "Sąlyga", + "installing": "Diegiamas sprendimas...", + "step-architecture-design": "Architektūros projektavimas", + "step-dashboard-design": "Skydelio projektavimas", + "step-solution-installation": "Sprendimo diegimas", + "step-reading-device-data": "Skaitomi įrenginio duomenys…", + "step-analyzing-telemetry-attributes": "Analizuojama telemetrija ir atributai…", + "step-selecting-widgets": "Parenkami valdikliai jūsų duomenims…", + "step-configuring-titles-units-ranges": "Konfigūruojami pavadinimai, matavimo vienetai ir diapazonai…", + "step-designing-layout": "Kuriamas išdėstymas…", + "step-arranging-widgets": "Valdikliai išdėstomi skydelyje…", + "generate-dashboard": "Generuoti skydelį", + "generate-dashboard-with-ai": "Generuoti skydelį naudojant DI", + "no-telemetry-title": "Telemetrijos duomenų nerasta", + "no-telemetry-message": "Šis įrenginys dar neatsiuntė jokios telemetrijos.\nPirmiausia išsiųskite telemetriją iš įrenginio, tada generuokite skydelį.", + "send-telemetry": "Siųsti telemetriją", + "step-loading-updating-entities": "Atnaujinami subjektai…", + "step-loading-restructuring-roles": "Pertvarkomi vaidmenys…", + "step-loading-rebuilding-alarm-rules": "Iš naujo kuriamos įspėjimų taisyklės…", + "step-loading-reassembling-dashboards": "Iš naujo surenkami skydeliai…", + "step-loading-updating-solution": "Atnaujinamas jūsų sprendimas…", + "step-loading-designing-dashboards-structure": "Kuriama skydelių struktūra…", + "step-loading-designing-dashboards-states": "Kuriamos skydelių būsenos…", + "step-loading-designing-widgets": "Kuriami valdikliai…", + "step-loading-adding-finishing-touches": "Atliekami paskutiniai patobulinimai…", + "step-loading-evaluating-solution-changes": "Vertinami sprendimo pakeitimai…", + "step-loading-reevaluating-use-cases": "Iš naujo vertinami naudojimo atvejai…", + "step-loading-finalizing": "Baigiama…", + "step-loading-creating-entities": "Kuriami subjektai…", + "step-loading-configuring-devices": "Konfigūruojami įrenginiai…", + "step-loading-setting-up-relations": "Nustatomi ryšiai…", + "step-loading-structuring-access-controls": "Struktūruojamas prieigos valdymas…", + "step-loading-building-calculated-fields": "Kuriami apskaičiuotieji laukai…", + "step-loading-building-alarm-rules": "Kuriamos įspėjimų taisyklės…", + "step-loading-assembling-dashboards": "Komponuojami skydeliai…", + "step-loading-preparing-states": "Ruošiamos būsenos…", + "step-loading-initializing-solution": "Inicijuojamas sprendimas…", + "ai-credits": "DI kreditai", + "ai-credits-update": "Keisti planą", + "ai-credits-usage": "DI kreditai: panaudota {{ used }} iš {{ max }}", + "ai-credits-description": "Šį mėnesį panaudojote {{ used }} iš savo {{ max }} DI kreditų. Limitas atsinaujins {{ date }}. Norėdami padidinti DI kreditų limitą, susisiekite su sistemos administratoriumi." }, "markdown": { "edit": "Redaguoti", @@ -9285,29 +11415,32 @@ "white-labeling": "Tinkinimas", "white-labeling-general": "Bendras tinkinimas", "login-white-labeling": "Prisijungimo puslapio tinkinimas", - "general": "Bendrai", + "general": "Bendra", "login": "Prisijungimas", "preview": "Peržiūra", "app-title": "Programos pavadinimas", - "favicon": "Programos piktograma", - "favicon-description": "*.ico, *.gif arba *.png formato paveikslėlis, kurio maksimalus dydis {{kbSize}} kilobaitai.", - "favicon-size-error": "Paveikslėlis per didelis. Didžiausias leistinas dydis yra {{kbSize}} kilobaitai.", - "favicon-type-error": "Netinkamas paveikslėlio formatas. Leidžiami tik ICO, GIF arba PNG formatai.", - "drop-favicon-image": "Įtempkite svetainės piktogramos paveikslėlį arba spustelėkite, kad pasirinktumėte failą įkėlimui.", - "drop-favicon-image-or": "Įtempkite piktogramos paveikslėlį arba", - "no-favicon-image": "Piktograma nepasirinkta", + "favicon": "Svetainės piktograma", + "favicon-desc": "Piktograma naršyklės skirtuke ir žymėse. PNG arba ICO, rekomenduojama 32×32 px", "logo": "Logotipas", - "logo-description": "Bet koks paveikslėlis, kurio dydis neviršija {{kbSize}} kilobaitų.", - "logo-size-error": "Logotipas per didelis. Didžiausias leistinas dydis yra {{kbSize}} kilobaitai.", - "logo-type-error": "Netinkamas logotipo failas. Leidžiami tik paveikslėliai.", - "drop-logo-image": "Įtempkite logotipo paveikslėlį arba spustelėkite, kad pasirinktumėte failą įkėlimui.", - "drop-logo-image-or": "Įtempkite logotipo paveikslėlį arba", - "no-logo-image": "Logotipas nepasirinktas", - "logo-height": "Logotipo aukštis (px)", + "logo-desc": "SVG arba PNG, aukštis ne mažiau kaip 96px, iki 200 KB", + "logo-height": "Logotipo aukštis", + "logo-height-desc": "Proporcingai keičia logotipo mastelį ir jį centruoja. Aukštiems logotipams padidinkite aukštį (iki 200px)", + "collapsed-logo": "Suskleistos šoninės juostos logotipas", + "collapsed-logo-desc": "Kvadratinis SVG arba PNG, ne mažiau kaip 48×48 px, iki 100 KB", + "appearance": "Išvaizda", + "application-shell": "Programos apvalkalas", + "application-shell-desc": "Pasirinkite, kaip pagrindinė spalva taikoma šoninei juostai, programos juostai ir puslapių antraštėms", + "light": "Šviesi", + "primary": "Pagrindinė", "primary-palette": "Pagrindinė spalvų paletė", + "primary-palette-desc": "Pagrindinė prekės ženklo spalva. Šoninė juosta, programos juosta, puslapių antraštės, mygtukai, nuorodos ir aktyvūs meniu elementai", "accent-palette": "Akcentinė paletė", + "accent-palette-desc": "Žymimieji langeliai, parinkties mygtukai, perjungikliai, slankikliai, eigos juostos ir ženkleliai", "customize-palette": "Pritaikyti spalvas", "advanced-css": "Išplėstinis CSS", + "advanced-css-desc": "Pasirinktinis CSS, skirtas tiksliai derinti bet kurį sąsajos elementą, kurio neapima paletės, — piktogramas, šriftus, fonus, slinkties juostas ir kt. Pakeitimai taikomi visai platformai, todėl naudokite atsargiai. Patyrusiems naudotojams", + "add-custom-css": "Pridėti pasirinktinį CSS", + "edit-custom-css": "Redaguoti pasirinktinį CSS", "edit-palette": "Redaguoti paletę", "save-palette": "Išsaugoti paletę", "primary-background": "Pagrindinis fonas", @@ -9316,17 +11449,26 @@ "hue2": "Atspalvis 2", "hue3": "Atspalvis 3", "page-background-color": "Puslapio fono spalva", - "dark-foreground": "Tamsus režimas", + "page-background-color-desc": "Užpildo pagrindinę turinio sritį puslapių fone", + "dark-foreground": "Tamsus tekstas ir piktogramos", + "dark-foreground-desc": "Prisijungimo puslapio tekstas ir piktogramos tampa tamsūs. Naudokite su šviesiais fonais", "domain-name": "Domeno pavadinimas", "base-url": "Bazinis URL", "base-url-required": "Bazinis URL yra privalomas", - "prohibit-different-url": "Uždrausti naudoti kliento užklausos antraštės adresą", - "prohibit-different-url-hint": "Šį nustatymą rekomenduojama įjungti gamybinėje aplinkoje. Išjungus gali kilti saugumo problemų.", - "help-link-base-url": "Pagalbos puslapio bazinis URL", - "ui-help-base-url": "Vartotojo sąsajos pagalbos bazinis URL", + "prohibit-different-url": "Drausti naudoti kliento užklausų antraštėse nurodytą pagrindinio kompiuterio pavadinimą", + "prohibit-different-url-hint": "Šį nustatymą rekomenduojama įjungti gamybinėje aplinkoje. Išjungus gali kilti saugumo problemų", + "help-link-base-url": "Pagalbos nuorodų bazinis URL", + "help-link-base-url-desc": "Bazinis jūsų išorinio dokumentacijos portalo URL. Naudotojai nukreipiami čia, kad rastų išsamius vadovus", + "ui-help-base-url": "Naudotojo sąsajos pagalbos bazinis URL", + "ui-help-base-url-desc": "Šaltinio saugyklos URL, iš kurio sistema dinamiškai gauna ir rodo trumpus patarimus programoje", "enable-help-links": "Įjungti pagalbos nuorodas", - "error-verification-url": "Domeno pavadinime negali būti simbolių '/' ar ':'. Pavyzdys: thingsboard.io", - "hide-connectivity-dialog": "Slėpti ryšio dialogą", + "enable-help-links-desc": "Rodo kontekstinės pagalbos piktogramas (?) visoje platformos sąsajoje", + "error-verification-url": "Domeno pavadinime negali būti simbolių „/“ ir „:“. Pavyzdys: thingsboard.io", + "show-connectivity-dialog": "Rodyti ryšio dialogo langą", + "show-connectivity-dialog-desc": "Sukūrus įrenginį, rodo įrenginio ryšio dialogo langą su prijungimo instrukcijomis", + "override-trendz-add-on-name": "Pakeisti Trendz analizės priedo pavadinimą", + "override-trendz-add-on-name-desc": "Visoje platformoje pervadina Trendz priedą į „Išplėstinė analitika“", + "show-platform-name-version-bottom-left-corner": "Rodyti platformos pavadinimą ir versiją apatiniame kairiajame kampe", "show-platform-name-version": "Rodyti platformos pavadinimą ir versiją", "platform-name": "Platformos pavadinimas", "platform-version": "Platformos versija", @@ -9339,11 +11481,15 @@ "reset-white-label-title": "Ar tikrai norite atstatyti tinkinimo nustatymus į numatytuosius?", "reset-white-label-text": "Būkite atsargūs — po patvirtinimo visi jūsų pritaikyti nustatymai bus prarasti ir jų nebus galima atkurti.", "reset-login-white-label-title": "Ar tikrai norite atstatyti prisijungimo puslapio tinkinimo nustatymus į numatytuosius?", - "reset-login-white-label-text": "Būkite atsargūs — po patvirtinimo visi jūsų pritaikyti nustatymai bus prarasti ir jų nebus galima atkurti." + "reset-login-white-label-text": "Būkite atsargūs — po patvirtinimo visi jūsų pritaikyti nustatymai bus prarasti ir jų nebus galima atkurti.", + "app-title-max-length": "Programos pavadinimas turi būti trumpesnis nei 256 simboliai", + "logo-and-titles": "Logotipas ir pavadinimai", + "interface-options": "Sąsajos parinktys", + "domain": "Domenas" }, "widgets": { "mobile-app-qr-code": { - "configuration-hint": "Konfigūracija priklauso nuo mobiliosios aplikacijos QR kodo valdiklio pagrindiniuose platformos nustatymuose", + "configuration-hint": "Konfigūracija priklauso nuo mobiliosios programėlės QR kodo valdiklio pagrindiniuose platformos nustatymuose", "get-it-on-google-play": "Atsisiųsti iš Google Play", "download-on-the-app-store": "Atsisiųsti iš App Store" }, @@ -9373,30 +11519,30 @@ "layout": "Išdėstymas", "layout-default": "Numatytasis", "layout-simplified": "Supaprastintas", - "layout-outlined": "Aptvertas", - "layout-default-volume": "Numatytasis.Garsas", - "layout-simplified-volume": "Supaprastintas.Garsas", - "layout-outlined-volume": "Aptvertas.Garsas", + "layout-outlined": "Kontūrinis", + "layout-default-volume": "Numatytasis.Tūrinis", + "layout-simplified-volume": "Supaprastintas.Tūrinis", + "layout-outlined-volume": "Kontūrinis.Tūrinis", "layout-default-icon": "Numatytasis.Piktograma", "layout-simplified-icon": "Supaprastintas.Piktograma", - "layout-outlined-icon": "Aptvertas.Piktograma", - "main": "Pagrindinis", - "background": "Fonas", - "button-icon-on": "Mygtuko piktograma 'Įjungta'", - "button-icon-off": "Mygtuko piktograma 'Išjungta'", + "layout-outlined-icon": "Kontūrinis.Piktograma", + "main": "Pagrindinė spalva", + "background": "Kontrastinė spalva", + "button-icon-on": "Mygtuko piktograma „Įjungta“", + "button-icon-off": "Mygtuko piktograma „Išjungta“", "power-on-colors": "Įjungimo spalvos", "power-off-colors": "Išjungimo spalvos", - "disabled-colors": "Išjungtos spalvos", + "disabled-colors": "Išjungtos būsenos spalvos", "button": "Mygtukas" }, "toggle-button": { "behavior": "Elgsena", "checked": "Pažymėta", "unchecked": "Nepažymėta", - "check": "Pažymėti", - "check-hint": "Veiksmas, atliekamas pažymint komponentą.", - "uncheck": "Nuimti žymėjimą", - "uncheck-hint": "Veiksmas, atliekamas nuimant žymėjimą nuo komponento.", + "check": "Įjungti", + "check-hint": "Veiksmas, atliekamas įjungiant komponentą.", + "uncheck": "Išjungti", + "uncheck-hint": "Veiksmas, atliekamas išjungiant komponentą.", "auto-scale": "Automatinis mastelis", "horizontal-fill": "Horizontalus užpildymas", "vertical-fill": "Vertikalus užpildymas", @@ -9416,19 +11562,19 @@ }, "button": { "layout": "Išdėstymas", - "outlined": "Aptvertas", + "outlined": "Kontūrinis", "filled": "Užpildytas", "underlined": "Pabrauktas", "basic": "Paprastas", "auto-scale": "Automatinis mastelis", "label": "Etiketė", "icon": "Piktograma", - "border-radius": "Kampų apvalinimas", + "border-radius": "Rėmelio apvalinimas", "color-palette": "Spalvų paletė", - "main": "Pagrindinis", - "background": "Fonas", + "main": "Pagrindinė spalva", + "background": "Kontrastinė spalva", "border": "Rėmelis", - "custom-styles": "Tinkinti stiliai", + "custom-styles": "Pasirinktiniai stiliai", "clear-style": "Išvalyti stilių", "shadow": "Šešėlis", "enabled": "Įjungta", @@ -9440,8 +11586,8 @@ "behavior": "Elgsena", "simplified": "Supaprastintas", "filled": "Užpildytas", - "outlined": "Aptvertas", - "volume": "Garsas", + "outlined": "Kontūrinis", + "volume": "Tūrinis", "initial-state": "Pradinė būsena", "initial-state-hint": "Veiksmas, skirtas gauti pradinę reikšmę.", "disabled-state": "Išjungta būsena", @@ -9465,11 +11611,11 @@ "right-button": "Dešinysis mygtukas", "icon": "Piktograma", "color-palette": "Spalvų paletė", - "main": "Pagrindinis", - "background": "Fonas", - "button-icon-on": "Mygtuko piktograma 'Įjungta'", + "main": "Pagrindinė spalva", + "background": "Kontrastinė spalva", + "button-icon-on": "Mygtuko piktograma „Įjungta“", "button-on-colors": "Įjungimo spalvos", - "disabled-colors": "Išjungtos spalvos" + "disabled-colors": "Išjungtos būsenos spalvos" }, "button-state": { "activated-state": "Aktyvuota būsena", @@ -9478,8 +11624,8 @@ "disabled-state-hint": "Nustatykite sąlygą, kada mygtukas yra išjungiamas.", "selected-state": "Pasirinkta būsena", "selected-state-hint": "Nustatykite sąlygą, kada mygtukas yra pasirinktas.", - "enabled": "Įjungta", - "hovered": "Užvestas", + "enabled": "Įjungtas", + "hovered": "Užvedus žymeklį", "pressed": "Paspaustas", "activated": "Aktyvuotas", "disabled": "Išjungtas", @@ -9490,7 +11636,7 @@ "background": { "background": "Fonas", "background-settings": "Fono nustatymai", - "background-type-image": "Įkelti paveikslėlį", + "background-type-image": "Paveikslėlis", "background-type-color": "Vientisa spalva", "image-url": "Paveikslėlio URL", "overlay": "Perdanga", @@ -9536,7 +11682,7 @@ "active-bars-color": "Aktyvių signalo stulpelių spalva", "inactive-bars-color": "Neaktyvių signalo stulpelių spalva", "signal-strength-card-style": "Signalo stiprumo kortelės stilius", - "no-signal-rssi-value": "\"Nėra signalo\" RSSI reikšmė" + "no-signal-rssi-value": "„Nėra signalo“ RSSI reikšmė" }, "status-widget": { "behavior": "Elgsena", @@ -9550,7 +11696,7 @@ "status": "Būsena", "icon": "Piktograma", "color-palette": "Spalvų paletė", - "disabled-color-palette": "Išjungta spalvų paletė", + "disabled-color-palette": "Išjungtos būsenos spalvų paletė", "primary": "Pagrindinė", "primary-color-hint": "Piktogramos ir etiketės spalva", "secondary": "Antrinė", @@ -9572,21 +11718,21 @@ "default-font": "Numatytasis šriftas", "default-font-size": "Numatytasis šrifto dydis", "default-font-color": "Numatytoji šrifto spalva", - "thresholds-line-width": "Numatytasis ribų linijos plotis", - "tooltip-settings": "Užuominos nustatymai", - "tooltip": "Užuomina", - "show-tooltip": "Rodyti užuominą", + "thresholds-line-width": "Numatytasis visų ribų linijos storis", + "tooltip-settings": "Patarimo nustatymai", + "tooltip": "Patarimas", + "show-tooltip": "Rodyti patarimą", "hover-individual-points": "Užvesti virš atskirų taškų", "show-cumulative-values": "Rodyti sumines reikšmes kaupimo režime", - "hide-zero-false-values": "Slėpti nulinės/neteisingos reikšmės užuominose", - "tooltip-value-format-function": "Užuominos reikšmės formatavimo funkcija", + "hide-zero-false-values": "Slėpti patarime nulines ir „Netiesa“ reikšmes", + "tooltip-value-format-function": "Patarimo reikšmės formatavimo funkcija", "grid-settings": "Tinklelio nustatymai", "show-vertical-lines": "Rodyti vertikalias linijas", "show-horizontal-lines": "Rodyti horizontalias linijas", "grid-outline-border-width": "Tinklelio kontūro/rėmelio plotis (px)", "primary-color": "Pagrindinė spalva", "background-color": "Fono spalva", - "ticks-color": "Atskirų padalų spalva", + "ticks-color": "Padalų spalva", "xaxis-settings": "X ašies nustatymai", "axis-title": "Ašies pavadinimas", "xaxis-tick-labels-settings": "X ašies padalų etikečių nustatymai", @@ -9596,7 +11742,7 @@ "max-scale-value": "Maksimalioji skalės reikšmė", "yaxis-tick-labels-settings": "Y ašies padalų etikečių nustatymai", "tick-step-size": "Padalų žingsnio dydis", - "number-of-decimals": "Rodyti dešimtainių skaičių kiekis", + "number-of-decimals": "Rodomų skaitmenų po kablelio skaičius", "ticks-formatter-function": "Padalų formatavimo funkcija", "comparison-settings": "Palyginimo nustatymai", "enable-comparison": "Įjungti palyginimą", @@ -9612,22 +11758,22 @@ "axis-position": "Ašies padėtis", "axis-position-top": "Viršuje (numatyta)", "axis-position-bottom": "Apačioje", - "custom-legend-settings": "Tinkintos legendos nustatymai", - "enable-custom-legend": "Įjungti tinkintą legendą (leidžia naudoti atributų/laikinių eilučių reikšmes etiketėse)", - "key-name": "Raktinio parametro pavadinimas", - "key-name-required": "Būtina nurodyti raktinio parametro pavadinimą", + "custom-legend-settings": "Pasirinktinės legendos nustatymai", + "enable-custom-legend": "Įjungti pasirinktinę legendą (leidžia naudoti atributų/laiko eilučių reikšmes etiketėse)", + "key-name": "Rakto pavadinimas", + "key-name-required": "Rakto pavadinimas yra privalomas", "key-type": "Rakto tipas", "key-type-attribute": "Atributas", - "key-type-timeseries": "Laikinė eilutė", + "key-type-timeseries": "Laiko eilutės", "label-keys-list": "Etiketėse naudojamų raktų sąrašas", "no-label-keys": "Nesukonfigūruoti jokie raktai", "add-label-key": "Pridėti naują raktą", - "line-width": "Linijos plotis", + "line-width": "Linijos storis", "color": "Spalva", - "data-is-hidden-by-default": "Duomenys pagal numatymą paslėpti", + "data-is-hidden-by-default": "Duomenys numatytai paslėpti", "disable-data-hiding": "Išjungti duomenų slėpimą", "remove-from-legend": "Pašalinti duomenų raktą iš legendos", - "exclude-from-stacking": "Pašalinti iš kaupimo (prieinama tik „Kaupimo“ režime)", + "exclude-from-stacking": "Pašalinti iš kaupimo (galima tik įjungus kaupimo režimą)", "line-settings": "Linijos nustatymai", "show-line": "Rodyti liniją", "fill-line": "Užpildyti liniją", @@ -9639,10 +11785,10 @@ "point-shape": "Taško forma", "point-shape-circle": "Apskritimas", "point-shape-cross": "Kryžius", - "point-shape-diamond": "Deimantas", + "point-shape-diamond": "Rombas", "point-shape-square": "Kvadratas", "point-shape-triangle": "Trikampis", - "point-shape-custom": "Tinkinta funkcija", + "point-shape-custom": "Pasirinktinė funkcija", "point-shape-draw-function": "Taško piešimo funkcija", "show-separate-axis": "Rodyti atskirą ašį", "axis-position-left": "Kairėje", @@ -9655,7 +11801,7 @@ "comparison-line-color": "Palyginimo linijos spalva", "threshold-settings": "Ribų nustatymai", "use-as-threshold": "Naudoti rakto reikšmę kaip ribą", - "threshold-line-width": "Ribos linijos plotis", + "threshold-line-width": "Ribos linijos storis", "threshold-color": "Ribos spalva", "common-pie-settings": "Bendrieji skritulinės diagramos nustatymai", "radius": "Spindulys", @@ -9694,7 +11840,7 @@ "shape-rect": "Stačiakampis", "shape-round-rect": "Apvalintų kampų stačiakampis", "shape-triangle": "Trikampis", - "shape-diamond": "Deimantas", + "shape-diamond": "Rombas", "shape-pin": "Žymeklis", "shape-arrow": "Rodyklė", "shape-none": "Nėra", @@ -9708,10 +11854,10 @@ "fill": "Užpildas", "fill-type-none": "Nėra", "fill-type-solid": "Vientisas", - "fill-type-opacity": "Permatomumas", + "fill-type-opacity": "Nepermatomumas", "fill-type-gradient": "Gradientas", "background": "Fonas", - "opacity": "Permatomumas", + "opacity": "Nepermatomumas", "gradient-stops": "Gradiento taškai", "gradient-start": "pradžia", "gradient-end": "pabaiga", @@ -9726,15 +11872,23 @@ "update-animation-delay": "Atnaujinimo animacijos delsimas" }, "chart-axis": { + "limit": "Riba", + "source": "Šaltinis", + "key-value": "Raktas / reikšmė", + "value-required": "Reikšmė yra privaloma.", + "entity-key-required": "Subjekto raktas yra privalomas.", + "key-required": "Raktas yra privalomas.", + "scale-limits": "Skalės ribos", + "scale-appearance": "Skalės išvaizda", "scale": "Skalė", - "scale-min": "min", - "scale-max": "maks", + "scale-min": "min.", + "scale-max": "maks.", "scale-auto": "Automatinė" }, "bar": { "show-border": "Rodyti rėmelį", "border-width": "Rėmelio plotis", - "border-radius": "Kampų apvalinimas", + "border-radius": "Rėmelio apvalinimas", "bar-width": "Stulpelio plotis", "label": "Etiketė", "label-hint": "Rodyti etiketę virš stulpelio.", @@ -9758,8 +11912,8 @@ "settings-type": "Nustatymų tipas", "basic-mode": "Paprastas", "advanced-mode": "Išplėstinis", - "entity-alias": "Objekto pseudonimas", - "entity-attribute": "Objekto atributas", + "entity-alias": "Subjekto pseudonimas", + "entity-attribute": "Subjekto atributas", "gradient-color": "Gradiento spalva", "gradient-color-min": "Spalva", "gradient-start": "Gradiento pradžios spalva", @@ -9771,17 +11925,17 @@ "gradient-type": "Gradiento tipas" }, "dashboard-state": { - "dashboard-state-settings": "Valdymo skydelio būsenos nustatymai", - "dashboard-state": "Valdymo skydelio būsenos ID", - "autofill-state-layout": "Automatiškai užpildyti būsenos išdėstymo aukštį pagal numatymą", + "dashboard-state-settings": "Skydelio būsenos nustatymai", + "dashboard-state": "Skydelio būsenos ID", + "autofill-state-layout": "Numatytai automatiškai užpildyti būsenos išdėstymo aukštį", "default-margin": "Numatytasis valdiklių tarpas", "default-background-color": "Numatytoji fono spalva", - "sync-parent-state-params": "Sinchronizuoti būsenos parametrus su pagrindiniu valdymo skydeliu" + "sync-parent-state-params": "Sinchronizuoti būsenos parametrus su pagrindiniu skydeliu" }, "date-range-navigator": { "date-range-picker-settings": "Datų intervalo parinkiklio nustatymai", "hide-date-range-picker": "Slėpti datų intervalo parinkiklį", - "picker-one-panel": "Datų intervalo parinkiklis viename skydelyje", + "picker-one-panel": "Datų intervalo parinkiklis viename lange", "picker-auto-confirm": "Automatinis datų intervalo patvirtinimas", "picker-show-template": "Rodyti datų intervalo šabloną", "first-day-of-week": "Pirmoji savaitės diena", @@ -9801,13 +11955,13 @@ "hide-labels": "Slėpti etiketes", "use-session-storage": "Naudoti sesijos saugyklą", "localizationMap": { - "Sun": "Sek", - "Mon": "Pir", - "Tue": "Ant", - "Wed": "Tre", - "Thu": "Ket", - "Fri": "Pen", - "Sat": "Šeš", + "Sun": "Sk", + "Mon": "Pr", + "Tue": "An", + "Wed": "Tr", + "Thu": "Kt", + "Fri": "Pn", + "Sat": "Št", "Jan": "Sau", "Feb": "Vas", "Mar": "Kov", @@ -9884,16 +12038,16 @@ "general-settings": "Bendrieji nustatymai", "widget-title": "Valdiklio pavadinimas", "default-archive-file-name": "Numatytasis archyvo failo pavadinimas", - "device-type-for-new-gateway": "Įrenginio tipas naujam tinklo šliuzui", + "device-type-for-new-gateway": "Įrenginio tipas naujam Gateway įrenginiui", "messages-settings": "Pranešimų nustatymai", - "save-config-success-message": "Tekstas, rodomas sėkmingai išsaugojus šliuzo konfigūraciją", - "device-name-exists-message": "Tekstas, rodomas kai įrenginys su įvestu pavadinimu jau egzistuoja", - "gateway-title": "Šliuzo forma", + "save-config-success-message": "Tekstas, rodomas sėkmingai išsaugojus Gateway įrenginio konfigūraciją", + "device-name-exists-message": "Tekstas, rodomas, kai įrenginys su įvestu pavadinimu jau egzistuoja", + "gateway-title": "Gateway įrenginio forma", "read-only": "Tik skaitymui", - "events-title": "Šliuzo įvykių formos pavadinimas", + "events-title": "Gateway įrenginio įvykių formos pavadinimas", "events-filter": "Įvykių filtras", "event-key-contains": "Įvykio rakte yra...", - "show-connector": "Rodyti jungtį", + "show-connector": "Rodyti jungčiai", "connector-state-param-key": "Jungties būsenos parametro raktas", "message": "Pranešimas", "level": "Lygis", @@ -9905,16 +12059,16 @@ "ticks-settings": "Padalų nustatymai", "min-value": "Minimali reikšmė", "max-value": "Maksimali reikšmė", - "min-value-short": "min", - "max-value-short": "maks", + "min-value-short": "min.", + "max-value-short": "maks.", "start-ticks-angle": "Pradinis padalų kampas", "ticks-angle": "Padalų kampas", "major-ticks": "Pagrindinės padalos", "major-ticks-count": "Pagrindinių padalų skaičius", "major-ticks-color": "Pagrindinių padalų spalva", - "minor-ticks": "Antrinės padalos", - "minor-ticks-count": "Antrinių padalų skaičius", - "minor-ticks-color": "Antrinių padalų spalva", + "minor-ticks": "Smulkiosios padalos", + "minor-ticks-count": "Smulkiųjų padalų skaičius", + "minor-ticks-color": "Smulkiųjų padalų spalva", "tick-numbers-font": "Padalų numerių šriftas", "unit-title-settings": "Matavimo vieneto pavadinimo nustatymai", "show-unit-title": "Rodyti vieneto pavadinimą", @@ -9925,7 +12079,7 @@ "value-box-settings": "Reikšmės laukelio nustatymai", "show-value-box": "Rodyti reikšmės laukelį", "value-box": "Reikšmės laukelis", - "value-int": "Skaitmenų skaičius sveikai reikšmės daliai", + "value-int": "Sveikosios reikšmės dalies skaitmenų skaičius", "value-text": "Reikšmės tekstas", "value-text-shadow": "Reikšmės teksto šešėlis", "value-font": "Reikšmės teksto šriftas", @@ -9956,7 +12110,7 @@ "no-highlights": "Paryškinimai nesukonfigūruoti", "add-highlight": "Pridėti paryškinimą", "animation-settings": "Animacijos nustatymai", - "enable-animation": "Įjungti animaciją", + "enable-animation": "Animacija", "animation-duration-rule": "Animacijos trukmės ir taisyklių nustatymas", "animation-duration": "Animacijos trukmė", "animation-rule": "Animacijos taisyklė", @@ -9968,14 +12122,14 @@ "animation-elastic": "Elastinga", "animation-dequad": "Atvirkštinė kvadratinė", "animation-dequint": "Atvirkštinė penktos eilės", - "animation-decycle": "Atvirkštinis ciklas", - "animation-debounce": "Atšokimo mažinimas", + "animation-decycle": "Atvirkštinė ciklinė", + "animation-debounce": "Atvirkštinė šokčiojanti", "animation-delastic": "Atvirkštinė elastinga", "linear-gauge-settings": "Tiesinio matuoklio nustatymai", "bar-stroke": "Juostos kontūras", "bar-stroke-width": "Juostos kontūro plotis", "bar-stroke-color": "Juostos kontūro spalva", - "bar-background-color": "Matuoklio juostos fono spalva", + "bar-background-color": "Juostos fono spalva – gradiento pradžia", "bar-background-color-end": "Juostos fono spalva – gradiento pabaiga", "progress-bar-color": "Progreso juostos spalva", "progress-bar": "Progreso juosta", @@ -9997,12 +12151,12 @@ "gauge-type-donut": "Žiedas", "gauge-type-horizontal-bar": "Horizontali juosta", "gauge-type-vertical-bar": "Vertikali juosta", - "donut-start-angle": "Pradinis kampas", + "donut-start-angle": "Pradinis kampas (laipsniais)", "bar-settings": "Matuoklio juostos nustatymai", "relative-bar-width": "Santykinis juostos plotis", - "neon-glow-brightness": "Neoninio švytėjimo ryškumas (0–100), 0 – išjungta", + "neon-glow-brightness": "Neoninio švytėjimo efekto ryškumas (0–100)", "neon-glow-brightness-hint": "0 – išjungia efektą", - "stripes-thickness": "Juostelių storis, 0 – be juostelių", + "stripes-thickness": "Juostelių storis", "stripes-thickness-hint": "0 – be juostelių", "rounded-line-cap": "Rodyti apvalintą linijos galą", "bar-color-settings": "Juostos spalvų nustatymai", @@ -10019,9 +12173,9 @@ "gauge-title": "Matuoklio pavadinimas", "gauge-title-font": "Matuoklio pavadinimo šriftas", "unit-title-and-timestamp-settings": "Vieneto pavadinimo ir laiko žymos nustatymai", - "show-timestamp": "Rodyti reikšmės laiko žymą", + "show-timestamp": "Laiko žyma", "timestamp-format": "Laiko žymos formatas", - "label-font": "Etiketės šriftas po reikšme", + "label-font": "Po reikšme rodomos etiketės šriftas", "value-settings": "Reikšmės nustatymai", "show-value": "Rodyti reikšmės tekstą", "min-max-settings": "Minimalių/maksimalių reikšmių etikečių nustatymai", @@ -10060,7 +12214,7 @@ "row": "Eilutė", "column": "Stulpelis", "color": "Spalva", - "panel-settings": "Skydelio nustatymai", + "panel-settings": "Plokštės nustatymai", "background-color": "Fono spalva", "gpio-switches": "GPIO jungikliai", "no-gpio-switches": "GPIO jungikliai nesukonfigūruoti", @@ -10081,64 +12235,64 @@ "input-widgets": { "attribute-not-allowed": "Atributo parametras negali būti naudojamas šiame valdiklyje", "blocked-location": "Geolokacija yra užblokuota jūsų naršyklėje", - "claim-device": "Priskirti įrenginį", - "claim-failed": "Nepavyko priskirti įrenginio!", + "claim-device": "Perimti įrenginį", + "claim-failed": "Nepavyko perimti įrenginio!", "claim-not-found": "Įrenginys nerastas!", - "claim-successful": "Įrenginys sėkmingai priskirtas!", + "claim-successful": "Įrenginys sėkmingai perimtas!", "date": "Data", "device-name": "Įrenginio pavadinimas", "device-name-required": "Įrenginio pavadinimas yra privalomas", - "discard-changes": "Atmesti pakeitimus", - "entity-attribute-required": "Objekto atributas yra privalomas", - "entity-coordinate-required": "Reikalingi abu laukai – platuma ir ilguma", - "entity-timeseries-required": "Objekto laiko seka yra privaloma", + "discard-changes": "Atsisakyti pakeitimų", + "entity-attribute-required": "Subjekto atributas yra privalomas", + "entity-coordinate-required": "Abu laukai – platuma ir ilguma – yra privalomi", + "entity-timeseries-required": "Subjekto laiko eilutės yra privalomos", "get-location": "Gauti dabartinę vietą", "invalid-date": "Neteisinga data", "latitude": "Platuma", "longitude": "Ilguma", "min-value-error": "Minimali reikšmė yra {{value}}", "max-value-error": "Maksimali reikšmė yra {{value}}", - "not-allowed-entity": "Pasirinktas objektas negali turėti bendrų atributų", + "not-allowed-entity": "Pasirinktas subjektas negali turėti bendrinamų atributų", "no-attribute-selected": "Nepasirinktas joks atributas", "no-datakey-selected": "Nepasirinktas joks duomenų raktas", "no-coordinate-specified": "Nenurodytas duomenų raktas platumai/ilgumai", - "no-entity-selected": "Nepasirinktas joks objektas", + "no-entity-selected": "Nepasirinktas joks subjektas", "no-image": "Nėra paveikslėlio", "no-support-geolocation": "Jūsų naršyklė nepalaiko geolokacijos", "no-support-web-camera": "Jūsų naršyklė nepalaiko kamerų", "enable-https-use-widget": "Įjunkite HTTPS, kad galėtumėte naudoti šį valdiklį", "no-found-your-camera": "Kamera nerasta", "no-permission-camera": "Naudotojas atmetė prieigą / svetainei nesuteikta leidimo naudoti kamerą", - "no-timeseries-selected": "Nepasirinkta jokia laiko seka", + "no-timeseries-selected": "Nepasirinktos jokios laiko eilutės", "secret-key": "Slaptasis raktas", "secret-key-required": "Slaptasis raktas yra privalomas", - "switch-attribute-value": "Perjungti objekto atributo reikšmę", + "switch-attribute-value": "Perjungti subjekto atributo reikšmę", "switch-camera": "Perjungti kamerą", - "switch-timeseries-value": "Perjungti objekto laiko sekos reikšmę", + "switch-timeseries-value": "Perjungti subjekto laiko eilučių reikšmę", "take-photo": "Padaryti nuotrauką", "time": "Laikas", - "timeseries-not-allowed": "Laiko sekos parametras negali būti naudojamas šiame valdiklyje", + "timeseries-not-allowed": "Laiko eilučių parametras negali būti naudojamas šiame valdiklyje", "update-failed": "Atnaujinimas nepavyko", "update-successful": "Atnaujinimas sėkmingas", "update-attribute": "Atnaujinti atributą", - "update-timeseries": "Atnaujinti laiko seką", + "update-timeseries": "Atnaujinti laiko eilutes", "value": "Reikšmė", "general-settings": "Bendrieji nustatymai", "widget-title": "Valdiklio pavadinimas", - "claim-button-label": "Priskyrimo mygtuko etiketė", + "claim-button-label": "Perėmimo mygtuko etiketė", "show-secret-key-field": "Rodyti laukelį „Slaptasis raktas“", "labels-settings": "Etikečių nustatymai", "show-labels": "Rodyti etiketes", "device-name-label": "Etiketė įrenginio pavadinimo laukui", "secret-key-label": "Etiketė slaptojo rakto laukui", "messages-settings": "Pranešimų nustatymai", - "claim-device-success-message": "Tekstas, rodomas sėkmingai priskyrus įrenginį", + "claim-device-success-message": "Tekstas, rodomas sėkmingai perėmus įrenginį", "claim-device-not-found-message": "Tekstas, rodomas, kai įrenginys nerastas", - "claim-device-failed-message": "Tekstas, rodomas nepavykus priskirti įrenginio", - "claim-device-name-required-message": "Klaidos pranešimas „Įrenginio pavadinimas privalomas“", - "claim-device-secret-key-required-message": "Klaidos pranešimas „Slaptasis raktas privalomas“", + "claim-device-failed-message": "Tekstas, rodomas nepavykus perimti įrenginio", + "claim-device-name-required-message": "Klaidos pranešimas „Įrenginio pavadinimas yra privalomas“", + "claim-device-secret-key-required-message": "Klaidos pranešimas „Slaptasis raktas yra privalomas“", "relations-settings": "Ryšių nustatymai", - "relate-device-to-state-entity": "Susieti įrenginį su dabartiniu būsenos objektu", + "relate-device-to-state-entity": "Susieti įrenginį su dabartinės būsenos subjektu", "relate-direction": "Ryšio kryptis", "relate-direction-from": "Iš", "relate-direction-to": "Į", @@ -10162,7 +12316,7 @@ "display-preview": "Rodyti peržiūrą", "display-clear-button": "Rodyti išvalymo mygtuką", "display-apply-button": "Rodyti taikymo mygtuką", - "display-discard-button": "Rodyti atmetimo mygtuką", + "display-discard-button": "Rodyti mygtuką „Atsisakyti pakeitimų“", "datetime-field-settings": "Datos/laiko lauko nustatymai", "display-time-input": "Rodyti laiko įvedimo lauką", "latitude-key-name": "Platumos rakto pavadinimas", @@ -10183,26 +12337,26 @@ "attribute-settings": "Atributų nustatymai", "widget-mode": "Valdiklio režimas", "widget-mode-update-attribute": "Atnaujinti atributą", - "widget-mode-update-timeseries": "Atnaujinti laiko seką", - "attribute-scope": "Atributo sritis", + "widget-mode-update-timeseries": "Atnaujinti laiko eilutes", + "attribute-scope": "Atributo taikymo sritis", "attribute-scope-server": "Serverio atributas", - "attribute-scope-shared": "Bendras atributas", - "value-required": "Reikšmė privaloma", - "image-settings": "Paveikslėlio nustatymai", + "attribute-scope-shared": "Bendrinamas atributas", + "value-required": "Reikšmė yra privaloma", + "image-settings": "Paveikslėlio išvesties nustatymai", "image-format": "Paveikslėlio formatas", "image-format-jpeg": "JPEG", "image-format-png": "PNG", "image-format-webp": "WEBP", - "image-quality": "Paveikslėlio kokybė (nuostolinis glaudinimas, pvz., JPEG ar WEBP)", + "image-quality": "Paveikslėlio kokybė", "max-image-width": "Maksimalus paveikslėlio plotis", "max-image-height": "Maksimalus paveikslėlio aukštis", "action-buttons": "Veiksmo mygtukai", "show-action-buttons": "Rodyti veiksmo mygtukus", "update-all-values": "Atnaujinti visas reikšmes, o ne tik pakeistas", "save-button-label": "Mygtuko „IŠSAUGOTI“ etiketė", - "reset-button-label": "Mygtuko „ATŠAUKTI“ etiketė", + "reset-button-label": "Mygtuko „ANULIUOTI“ etiketė", "group-settings": "Grupės nustatymai", - "show-group-title": "Rodyti pavadinimą laukų grupei, susijusiai su skirtingais objektais", + "show-group-title": "Rodyti pavadinimą laukų grupei, susijusiai su skirtingais subjektais", "group-title": "Grupės pavadinimas", "fields-alignment": "Laukų lygiavimas", "fields-alignment-row": "Eilute (numatytasis)", @@ -10213,8 +12367,8 @@ "hide-input-field": "Slėpti įvesties lauką", "datakey-type": "Duomenų rakto tipas", "datakey-type-server": "Serverio atributas (numatytasis)", - "datakey-type-shared": "Bendras atributas", - "datakey-type-timeseries": "Laiko seka", + "datakey-type-shared": "Bendrinamas atributas", + "datakey-type-timeseries": "Laiko eilutės", "datakey-value-type": "Duomenų rakto reikšmės tipas", "datakey-value-type-string": "Tekstas", "datakey-value-type-double": "Skaičius su kableliu", @@ -10233,11 +12387,11 @@ "ability-to-edit-attribute-editable": "Redaguojamas (numatytasis)", "ability-to-edit-attribute-disabled": "Išjungtas", "ability-to-edit-attribute-readonly": "Tik skaitymui", - "disable-on-datakey-name": "Išjungti, jei kito duomenų rakto reikšmė yra neteisinga (nurodykite rakto pavadinimą)", + "disable-on-datakey-name": "Išjungti, jei kito duomenų rakto reikšmė yra „Netiesa“ (nurodykite rakto pavadinimą)", "field-appearance": "Lauko išvaizda", "appearance-fill": "Užpildytas", "appearance-outline": "Kontūrinis", - "subscript-sizing": "Indekso dydis", + "subscript-sizing": "Apatinės teksto srities dydis", "subscript-sizing-fixed": "Fiksuotas", "subscript-sizing-dynamic": "Dinaminis", "slide-toggle-settings": "Perjungimo slankiklio nustatymai", @@ -10256,13 +12410,13 @@ "invalid-JSON-error-message": "Klaidos pranešimas „Neteisingas JSON formatas“", "icon-settings": "Piktogramos nustatymai", "dialog-editor-settings": "Dialogo redaktoriaus nustatymai", - "use-custom-icon": "Naudoti tinkintą piktogramą", + "use-custom-icon": "Naudoti pasirinktinę piktogramą", "input-cell-icon": "Piktograma prieš įvesties laukelį", "value-conversion-settings": "Reikšmės konvertavimo nustatymai", "get-value-settings": "Reikšmės gavimo nustatymai", "use-get-value-function": "Naudoti getValue funkciją", "get-value-function": "getValue funkcija", - "set-value-settings": "Reikšmės nustatymo nustatymai", + "set-value-settings": "Reikšmės įrašymo nustatymai", "use-set-value-function": "Naudoti setValue funkciją", "set-value-function": "setValue funkcija", "json-invalid": "JSON reikšmė turi neteisingą formatą", @@ -10276,13 +12430,16 @@ "add-radio-option": "Pridėti pasirinkimo parinktį", "radio-label-position": "Etiketės padėtis", "radio-label-position-before": "Prieš", - "radio-label-position-after": "Po" + "radio-label-position-after": "Po", + "save-image": "Išsaugoti paveikslėlį", + "save-to-gallery": "Automatiškai išsaugoti užfiksuotus paveikslėlius paveikslėlių galerijoje", + "public-image": "Padaro paveikslėlį prieinamą bet kuriam neautorizuotam naudotojui" }, "invalid-qr-code-text": "Neteisingas įvestas tekstas QR kodui. Įvestis turi būti teksto tipo", "qr-code": { "use-qr-code-text-function": "Naudoti QR kodo teksto funkciją", "qr-code-text-pattern": "QR kodo teksto šablonas (pvz. '${entityName} | ${keyName} - papildomas tekstas.')", - "qr-code-text-pattern-hint": "QR kodo teksto šablonas naudoja pirmo rasto rakto reikšmę iš objektų, esančių objekto pseudonime.", + "qr-code-text-pattern-hint": "QR kodo teksto šablonas naudoja pirmo rasto rakto reikšmę iš subjektų, esančių subjekto pseudonime.", "qr-code-text-pattern-required": "QR kodo teksto šablonas yra privalomas.", "qr-code-text-function": "QR kodo teksto funkcija" }, @@ -10290,7 +12447,7 @@ "label-pattern": "Šablonas", "label-pattern-hint": "Patarimas: pvz. 'Tekstas ${keyName} vienetai.' arba ${#<rakto indeksas>} vienetai'", "label-pattern-required": "Šablonas yra privalomas", - "label-position": "Padėtis (procentais fone)", + "label-position": "Padėtis (procentais, palyginti su fonu)", "x-pos": "X", "y-pos": "Y", "background-color": "Fono spalva", @@ -10312,7 +12469,7 @@ }, "persistent-table": { "rpc-id": "RPC ID", - "message-type": "Pranešimo tipas", + "message-type": "Žinutės tipas", "method": "Metodas", "params": "Parametrai", "created-time": "Sukūrimo laikas", @@ -10322,10 +12479,10 @@ "filter": "Filtras", "refresh": "Atnaujinti", "add": "Pridėti RPC užklausą", - "details": "Išsamiau", + "details": "Informacija", "delete": "Ištrinti", "delete-request-title": "Ištrinti nuolatinę RPC užklausą", - "delete-request-text": "Ar tikrai norite ištrinti šią užklausą?", + "delete-request-text": "Ar tikrai norite ištrinti užklausą?", "details-title": "Išsami informacija RPC ID: ", "additional-info": "Papildoma informacija", "response": "Atsakas", @@ -10355,11 +12512,11 @@ "enable-filter": "Įjungti filtrą", "enable-sticky-header": "Rodyti antraštę slenkant", "enable-sticky-action": "Rodyti veiksmų stulpelį slenkant", - "display-request-details": "Rodyti užklausos detales", + "display-request-details": "Rodyti užklausos informaciją", "allow-send-request": "Leisti siųsti RPC užklausą", "allow-delete-request": "Leisti ištrinti RPC užklausą", "columns-settings": "Stulpelių nustatymai", - "display-columns": "Rodytini stulpeliai", + "display-columns": "Rodomi stulpeliai", "column": "Stulpelis", "no-columns-found": "Nerasta jokių stulpelių", "no-columns-matching": "„{{column}}“ nerasta." @@ -10383,32 +12540,37 @@ "on-value-change": "Pasikeitus reikšmei", "on-value-change-hint": "Veiksmas, vykdomas, kai rankenėlės reikšmė pasikeičia.", "range": "Intervalas", - "min": "min", - "max": "maks", + "min": "min.", + "max": "maks.", "value": "Reikšmė", "fallback-initial-value": "Atsarginė pradinė reikšmė" }, "rpc": { "value-settings": "Reikšmės nustatymai", "initial-value": "Pradinė reikšmė", + "initial-value-hint": "Nustato pradinę reikšmę, kol dar negauta pirmoji reikšmė.", + "initial-led-state": "Pradinė LED būsena", + "initial-led-state-hint": "Nustato pradinę LED būseną, kol dar negauta pirmoji reikšmė.", + "on": "Įjungta", + "off": "Išjungta", "retrieve-value-settings": "Įjungimo/išjungimo reikšmės gavimo nustatymai", "retrieve-value-method": "Reikšmės gavimo metodas", "retrieve-value-method-none": "Negauti reikšmės", "retrieve-value-method-rpc": "Gauti reikšmę naudojant RPC metodą", - "retrieve-value-method-attribute": "Prenumeruoti atributą", - "retrieve-value-method-timeseries": "Prenumeruoti laiko seką", + "retrieve-value-method-attribute": "Prenumeruoti atributo atnaujinimus", + "retrieve-value-method-timeseries": "Prenumeruoti laiko eilučių atnaujinimus", "attribute-value-key": "Atributo raktas", - "timeseries-value-key": "Laiko sekos raktas", + "timeseries-value-key": "Laiko eilučių raktas", "get-value-method": "RPC reikšmės gavimo metodas", "parse-value-function": "Reikšmės analizės funkcija", "update-value-settings": "Reikšmės atnaujinimo nustatymai", "set-value-method": "RPC reikšmės nustatymo metodas", "convert-value-function": "Reikšmės konvertavimo funkcija", "rpc-settings": "RPC nustatymai", - "request-timeout": "RPC užklausos laukimo laikas (ms)", - "persistent-rpc-settings": "Nuolatinės RPC nustatymai", + "request-timeout": "RPC užklausos laiko limitas (ms)", + "persistent-rpc-settings": "Nuolatinės RPC užklausos nustatymai", "request-persistent": "Nuolatinė RPC užklausa", - "persistent-polling-interval": "Apklausos intervalas (ms) nuolatinei RPC komandai gauti", + "persistent-polling-interval": "Apklausos intervalas (ms) nuolatinės RPC komandos atsakymui gauti", "common-settings": "Bendrieji nustatymai", "switch-title": "Jungiklio pavadinimas", "show-on-off-labels": "Rodyti įjungta/išjungta etiketes", @@ -10419,7 +12581,7 @@ "slider-color": "Slankiklio spalva", "slider-color-primary": "Pagrindinė", "slider-color-accent": "Akcentinė", - "slider-color-warn": "Įspėjamoji", + "slider-color-warn": "Perspėjamoji", "button-style": "Mygtuko stilius", "button-raised": "Iškilęs mygtukas", "button-primary": "Pagrindinė spalva", @@ -10427,9 +12589,9 @@ "button-text-color": "Mygtuko teksto spalva", "widget-title": "Valdiklio pavadinimas", "button-label": "Mygtuko etiketė", - "device-attribute-scope": "Įrenginio atributo sritis", + "device-attribute-scope": "Įrenginio atributo taikymo sritis", "server-attribute": "Serverio atributas", - "shared-attribute": "Bendras atributas", + "shared-attribute": "Bendrinamas atributas", "device-attribute-parameters": "Įrenginio atributo parametrai", "is-one-way-command": "Vienpusė komanda", "rpc-method": "RPC metodas", @@ -10441,7 +12603,7 @@ "perform-rpc-status-check": "Vykdyti RPC įrenginio būsenos patikrinimą", "retrieve-led-status-value-method": "LED būsenos gavimo metodas", "led-status-value-attribute": "Įrenginio atributas, kuriame saugoma LED būsena", - "led-status-value-timeseries": "Įrenginio laiko seka, kurioje saugoma LED būsena", + "led-status-value-timeseries": "Įrenginio laiko eilutės, kuriose saugoma LED būsena", "check-status-method": "RPC įrenginio būsenos tikrinimo metodas", "parse-led-status-value-function": "LED būsenos reikšmės analizės funkcija", "knob-title": "Rankenėlės pavadinimas" @@ -10455,13 +12617,13 @@ "image": { "image-source": "Paveikslėlio šaltinis", "image-source-image": "Paveikslėlis", - "image-source-entity-key": "Objekto raktas", - "source-entity-alias": "Šaltinio objekto pseudonimas", + "image-source-entity-key": "Subjekto raktas", + "source-entity-alias": "Šaltinio subjekto pseudonimas", "image-url-key": "Paveikslėlio URL raktas", "image-url-key-required": "Paveikslėlio URL raktas yra privalomas" }, "control": { - "map-controls": "Žemėlapio valdikliai", + "map-controls": "Žemėlapio valdymo elementai", "position": "Padėtis", "position-topleft": "Viršuje kairėje", "position-topright": "Viršuje dešinėje", @@ -10477,7 +12639,7 @@ "switch-to-drag-mode-using-button": "Perjungti į tempimo režimą naudojant mygtuką" }, "timeline": { - "control-panel": "Laiko juostos valdymo skydelis", + "control-panel": "Laiko juostos valdymo skydas", "time-step": "Laiko žingsnis", "speed-options": "Greičio parinktys", "timestamp": "Laiko žyma", @@ -10502,7 +12664,7 @@ "fit-map-bounds": "Pritaikyti žemėlapio ribas, kad apimtų visus žymeklius", "default-map-center-position": "Numatytoji žemėlapio centro padėtis", "default-map-zoom-level": "Numatytasis žemėlapio mastelio lygis", - "entities-limit": "Įkeltinų objektų riba" + "entities-limit": "Įkeltinų subjektų riba" }, "layer": { "label": "Etiketė", @@ -10516,6 +12678,7 @@ "roadmap": "Kelio žemėlapis", "satellite": "Palydovinis", "hybrid": "Hibridinis", + "webgl-not-available": "Pasirinktam žemėlapio sluoksniui rodyti reikalingas grafikos spartinimas. Įjunkite parinktį „Aparatinės įrangos spartinimas“ savo naršyklės nustatymuose arba perjunkite į kitą sluoksnį.", "reference": { "reference-layer": "Etaloninis sluoksnis", "no-layer": "Nėra sluoksnio", @@ -10531,9 +12694,12 @@ "hot": "HOT", "esri-street": "WorldStreetMap", "esri-topo": "WorldTopoMap", - "esri-imagery": "WorldImagery", - "cartodb-positron": "Positron", - "cartodb-dark-matter": "DarkMatter" + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -10551,13 +12717,24 @@ }, "tencent": { "title": "Tencent", - "normal": "Įprastas", + "normal": "Normalus", "satellite": "Palydovinis", "terrain": "Reljefinis" }, "custom": { - "title": "Tinkintas", - "tile-url": "Plytelės URL" + "title": "Pasirinktinis", + "tile-url": "Plytelės URL", + "style-url": "Stiliaus URL", + "vector-tiles": "Vektorinės plytelės", + "vector-tiles-hint": "Įjunkite, kai naudojate stiliaus URL iš tiekėjų, tokių kaip OpenFreeMap ar MapTiler.", + "attribution": "Autorių teisių tekstas", + "attribution-hint": "Rodoma žemėlapio apačioje. To reikalauja dauguma plytelių tiekėjų." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -10567,18 +12744,19 @@ }, "overlays": { "overlays": "Perdangos", - "overlays-hint": "Sukonfigūruokite duomenų šaltinius, išvaizdą, elgseną, redagavimo parinktis ir objektų grupavimą žemėlapyje", + "overlays-hint": "Sukonfigūruokite duomenų šaltinius, išvaizdą, elgseną, redagavimo parinktis ir subjektų grupavimą žemėlapyje", "trips": "Kelionės", "markers": "Žymekliai", "polygons": "Daugiakampiai", - "circles": "Apskritimai" + "circles": "Apskritimai", + "polylines": "Laužtės" }, "data-layer": { "source": "Šaltinis", "filter": "Filtras", "additional-data-keys": "Papildomi duomenų raktai", "additional-datasources": "Papildomi duomenų šaltiniai", - "additional-datasources-hint": "Duomenų šaltinis, skirtas pasiekti atributus ar telemetriją iš objektų, nerodomų žemėlapyje; gali būti naudojamas žemėlapio perdangų funkcijose.", + "additional-datasources-hint": "Duomenų šaltinis, skirtas pasiekti atributus ar telemetriją iš subjektų, nerodomų žemėlapyje; gali būti naudojamas žemėlapio perdangų funkcijose.", "more-datasources": "Daugiau duomenų šaltinių", "data-keys": "Duomenų raktai", "add-datasource": "Pridėti duomenų šaltinį", @@ -10586,7 +12764,7 @@ "remove-datasource": "Pašalinti duomenų šaltinį", "behavior": "Elgsena", "on-click": "Paspaudus", - "on-click-hint": "Veiksmas, vykdomas, kai naudotojas paspaudžia ant žemėlapio elemento.", + "on-click-hint": "Veiksmas, vykdomas, kai naudotojas spusteli žemėlapio elementą.", "groups": "Grupės", "groups-hint": "Grupių pavadinimų sąrašas, priskirtas perdangai, naudojamas jos matomumui žemėlapyje keisti.", "color": "Spalva", @@ -10607,7 +12785,7 @@ "tooltip-pattern": "Patarimas (pvz. 'Tekstas ${keyName} vienetai.' arba Nuorodos tekstas)", "tooltip-function": "Patarimo funkcija", "tooltip-trigger": "Patarimo aktyvatorius", - "tooltip-trigger-click": "Rodyti patarimą paspaudus", + "tooltip-trigger-click": "Rodyti patarimą spustelėjus", "tooltip-trigger-hover": "Rodyti patarimą užvedus žymeklį", "auto-close-tooltips": "Automatiškai uždaryti patarimus", "tooltip-offset": "Patarimo poslinkis", @@ -10622,7 +12800,7 @@ "action-move": "Perkelti", "action-remove": "Pašalinti", "edit-instruments": "Įrankiai", - "persist-location-attribute-scope": "Atributo sritis vietos išsaugojimui", + "persist-location-attribute-scope": "Atributo, kuriame išsaugoma vieta, taikymo sritis", "enable-snapping": "Įjungti pritraukimą prie kitų viršūnių tiksliam braižymui", "enable-snapping-hint": "Automatiškai sulygiuoja naujus taškus su esamomis formomis, kad braižymas būtų tikslesnis.", "drag-drop-mode": "Vilkimo režimas", @@ -10659,7 +12837,7 @@ "marker-image": "Žymeklio paveikslėlis", "marker-image-type-image": "Paveikslėlis", "marker-image-type-function": "Funkcija", - "custom-marker-image-size": "Tinkintas žymeklio paveikslėlio dydis", + "custom-marker-image-size": "Pasirinktinio žymeklio paveikslėlio dydis", "marker-image-function": "Žymeklio paveikslėlio funkcija", "marker-images": "Žymeklio paveikslėliai", "marker-offset": "Žymeklio poslinkis", @@ -10668,26 +12846,26 @@ "rotate-marker": "Pasukti žymeklį", "offset-angle": "Poslinkio kampas", "position-conversion": "Padėties konversija", - "position-conversion-function": "Padėties konversijos funkcija, turi grąžinti x,y koordinates (dvigubo tipo) nuo 0 iki 1", + "position-conversion-function": "Padėties konversijos funkcija, turi grąžinti x,y koordinates (dvigubo tikslumo skaičius) nuo 0 iki 1", "clustering": { "use-map-markers-clustering": "Naudoti žemėlapio žymeklių grupavimą", - "zoom-on-cluster-click": "Priartinti paspaudus ant grupės", + "zoom-on-cluster-click": "Priartinti spustelėjus grupę", "max-zoom": "Didžiausias mastelio lygis, kai žymeklis gali priklausyti grupei (0–18)", "max-radius": "Didžiausias spindulys, kurį apima grupė", - "zoom-animation": "Žymeklių animacija keičiat mastelį", + "zoom-animation": "Žymeklių animacija keičiant mastelį", "bounds-on-cluster-mouse-over": "Rodyti žymeklių ribas užvedus pelę ant grupės", - "spiderfy-max-zoom-level": "Išskleisti grupės žymeklius esant didžiausiam masteliui (kad matytųsi visi)", + "spiderfy-max-zoom-level": "Išskleisti esant didžiausiam masteliui (kad matytųsi visi grupės žymekliai)", "load-optimization": "Įkėlimo optimizavimas", - "chunked-load": "Naudoti dalinį įkėlimą, kad puslapis neužstrigtų", - "lazy-load": "Naudoti uždelstą įkėlimą žymekliams pridėti", + "chunked-load": "Naudoti dalinį žymeklių įkėlimą, kad puslapis neužstrigtų", + "lazy-load": "Naudoti uždelstą žymeklių įkėlimą", "use-cluster-marker-color-function": "Naudoti grupės žymeklių spalvos funkciją", "marker-color-function": "Žymeklio spalvos funkcija" }, "edit": "Redaguoti žymeklį", - "remove-marker-for": "Pašalinti žymeklį objektui '{{entityName}}'", + "remove-marker-for": "Pašalinti žymeklį subjektui „{{entityName}}“", "place-marker": "Padėti žymeklį", "place-marker-hint": "Spustelėkite, kad padėtumėte žymeklį", - "place-marker-hint-with-entity": "Spustelėkite, kad padėtumėte objektą '{{entityName}}'" + "place-marker-hint-with-entity": "Spustelėkite, kad padėtumėte subjektą „{{entityName}}“" }, "path": { "path": "Kelias", @@ -10734,7 +12912,7 @@ "polygon-configuration": "Daugiakampio konfigūracija", "remove-polygon": "Pašalinti daugiakampį", "edit": "Redaguoti daugiakampį", - "remove-polygon-for": "Pašalinti daugiakampį objektui '{{entityName}}'", + "remove-polygon-for": "Pašalinti daugiakampį subjektui „{{entityName}}“", "cut": "Iškirpti daugiakampio sritį", "rotate": "Pasukti daugiakampį", "draw-rectangle": "Nubrėžti stačiakampį", @@ -10743,15 +12921,15 @@ "continue-polygon-cut-hint": "Spustelėkite, kad tęstumėte braižymą", "finish-polygon-cut-hint": "Spustelėkite pirmą žymeklį, kad baigtumėte ir išsaugotumėte", "polygon-place-first-point-hint": "Daugiakampis: spustelėkite, kad padėtumėte pirmą tašką", - "polygon-place-first-point-hint-with-entity": "Daugiakampis objektui '{{entityName}}': spustelėkite, kad padėtumėte pirmą tašką", + "polygon-place-first-point-hint-with-entity": "Daugiakampis subjektui „{{entityName}}“: spustelėkite, kad padėtumėte pirmą tašką", "continue-polygon-hint": "Daugiakampis: spustelėkite, kad tęstumėte braižymą", - "continue-polygon-hint-with-entity": "Daugiakampis objektui '{{entityName}}': spustelėkite, kad tęstumėte braižymą", + "continue-polygon-hint-with-entity": "Daugiakampis subjektui „{{entityName}}“: spustelėkite, kad tęstumėte braižymą", "finish-polygon-hint": "Daugiakampis: spustelėkite pirmą žymeklį, kad baigtumėte braižymą", - "finish-polygon-hint-with-entity": "Daugiakampis objektui '{{entityName}}': spustelėkite pirmą žymeklį, kad baigtumėte ir išsaugotumėte", + "finish-polygon-hint-with-entity": "Daugiakampis subjektui „{{entityName}}“: spustelėkite pirmą žymeklį, kad baigtumėte ir išsaugotumėte", "rectangle-place-first-point-hint": "Stačiakampis: spustelėkite, kad padėtumėte pirmą tašką", - "rectangle-place-first-point-hint-with-entity": "Stačiakampis objektui '{{entityName}}': spustelėkite, kad padėtumėte pirmą tašką", + "rectangle-place-first-point-hint-with-entity": "Stačiakampis subjektui „{{entityName}}“: spustelėkite, kad padėtumėte pirmą tašką", "finish-rectangle-hint": "Stačiakampis: spustelėkite, kad baigtumėte braižymą", - "finish-rectangle-hint-with-entity": "Stačiakampis objektui '{{entityName}}': spustelėkite, kad baigtumėte ir išsaugotumėte" + "finish-rectangle-hint-with-entity": "Stačiakampis subjektui „{{entityName}}“: spustelėkite, kad baigtumėte ir išsaugotumėte" }, "circle": { "circle-key": "Apskritimo raktas", @@ -10761,30 +12939,49 @@ "circle-configuration": "Apskritimo konfigūracija", "remove-circle": "Pašalinti apskritimą", "edit": "Redaguoti apskritimą", - "remove-circle-for": "Pašalinti apskritimą objektui '{{entityName}}'", + "remove-circle-for": "Pašalinti apskritimą subjektui „{{entityName}}“", "draw-circle": "Nubrėžti apskritimą", - "place-circle-center-hint-with-entity": "Apskritimas objektui '{{entityName}}': spustelėkite, kad padėtumėte apskritimo centrą", + "place-circle-center-hint-with-entity": "Apskritimas subjektui „{{entityName}}“: spustelėkite, kad padėtumėte apskritimo centrą", "place-circle-center-hint": "Apskritimas: spustelėkite, kad padėtumėte apskritimo centrą", - "finish-circle-hint-with-entity": "Apskritimas objektui '{{entityName}}': spustelėkite, kad baigtumėte ir išsaugotumėte", + "finish-circle-hint-with-entity": "Apskritimas subjektui „{{entityName}}“: spustelėkite, kad baigtumėte ir išsaugotumėte", "finish-circle-hint": "Apskritimas: spustelėkite, kad baigtumėte braižymą" }, - "select-entity": "Pasirinkti objektą", + "polyline": { + "polyline-key": "Laužtės raktas", + "polyline-key-required": "Laužtės raktas yra privalomas", + "no-polylines": "Nesukonfigūruota jokių laužčių", + "add-polylines": "Pridėti laužtę", + "polyline-configuration": "Laužtės konfigūracija", + "remove-polyline": "Pašalinti laužtę", + "edit": "Redaguoti laužtę", + "cut": "Iškirpti laužtės sritį", + "rotate": "Pasukti laužtę", + "remove-polyline-for": "Pašalinti „{{entityName}}“ laužtę", + "draw-polyline": "Nubrėžti laužtę", + "polyline-place-first-point-hint-with-entity": "„{{entityName}}“ laužtė: spustelėkite, kad padėtumėte pirmąjį tašką", + "polyline-place-first-point-hint": "Laužtė: spustelėkite, kad padėtumėte pirmąjį tašką", + "finish-polyline-hint-with-entity": "„{{entityName}}“ laužtė: spustelėkite, kad baigtumėte brėžti", + "finish-polyline-hint": "Laužtė: spustelėkite, kad baigtumėte brėžti", + "polyline-place-first-point-cut-hint": "Spustelėkite, kad padėtumėte pirmąjį tašką", + "finish-polyline-cut-hint": "Spustelėkite pirmąjį žymeklį, kad baigtumėte ir išsaugotumėte" + }, + "select-entity": "Pasirinkti subjektą", "select-entity-hint": "Patarimas: po pasirinkimo spustelėkite žemėlapyje, kad nustatytumėte padėtį" }, - "select-entity": "Pasirinkti objektą", + "select-entity": "Pasirinkti subjektą", "select-entity-hint": "Patarimas: po pasirinkimo spustelėkite žemėlapyje, kad nustatytumėte padėtį", "tooltips": { - "placeMarker": "Spustelėkite, kad padėtumėte objektą '{{entityName}}'", - "firstVertex": "Daugiakampis objektui '{{entityName}}': spustelėkite, kad padėtumėte pirmą tašką", + "placeMarker": "Spustelėkite, kad padėtumėte subjektą „{{entityName}}“", + "firstVertex": "Daugiakampis subjektui „{{entityName}}“: spustelėkite, kad padėtumėte pirmą tašką", "firstVertex-cut": "Spustelėkite, kad padėtumėte pirmą tašką", - "continueLine": "Daugiakampis objektui '{{entityName}}': spustelėkite, kad tęstumėte braižymą", + "continueLine": "Daugiakampis subjektui „{{entityName}}“: spustelėkite, kad tęstumėte braižymą", "continueLine-cut": "Spustelėkite, kad tęstumėte braižymą", "finishLine": "Spustelėkite bet kurį esamą žymeklį, kad baigtumėte", - "finishPoly": "Daugiakampis objektui '{{entityName}}': spustelėkite pirmą žymeklį, kad baigtumėte ir išsaugotumėte", + "finishPoly": "Daugiakampis subjektui „{{entityName}}“: spustelėkite pirmą žymeklį, kad baigtumėte ir išsaugotumėte", "finishPoly-cut": "Spustelėkite pirmą žymeklį, kad baigtumėte ir išsaugotumėte", - "finishRect": "Daugiakampis objektui '{{entityName}}': spustelėkite, kad baigtumėte ir išsaugotumėte", - "startCircle": "Apskritimas objektui '{{entityName}}': spustelėkite, kad padėtumėte apskritimo centrą", - "finishCircle": "Apskritimas objektui '{{entityName}}': spustelėkite, kad baigtumėte apskritimą", + "finishRect": "Daugiakampis subjektui „{{entityName}}“: spustelėkite, kad baigtumėte ir išsaugotumėte", + "startCircle": "Apskritimas subjektui „{{entityName}}“: spustelėkite, kad padėtumėte apskritimo centrą", + "finishCircle": "Apskritimas subjektui „{{entityName}}“: spustelėkite, kad baigtumėte apskritimą", "placeCircleMarker": "Spustelėkite, kad padėtumėte apskritimo žymeklį" }, "actions": { @@ -10793,9 +12990,9 @@ "removeLastVertex": "Pašalinti paskutinį tašką" }, "buttonTitles": { - "drawMarkerButton": "Padėti objektą", + "drawMarkerButton": "Padėti subjektą", "drawPolyButton": "Sukurti daugiakampį", - "drawLineButton": "Sukurti liniją", + "drawLineButton": "Sukurti laužtę", "drawCircleButton": "Sukurti apskritimą", "drawRectButton": "Sukurti stačiakampį", "editButton": "Redagavimo režimas", @@ -10825,7 +13022,7 @@ "google-maps-api-key": "Google Maps API raktas", "default-map-type": "Numatytasis žemėlapio tipas", "google-map-type-roadmap": "Keliai", - "google-map-type-satelite": "Palydovas", + "google-map-type-satelite": "Palydovinis", "google-map-type-hybrid": "Hibridinis", "google-map-type-terrain": "Reljefas", "map-layer": "Žemėlapio sluoksnis", @@ -10834,18 +13031,15 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "Prisijungimo duomenys", - "here-app-id": "HERE programos ID", - "here-app-code": "HERE programos kodas", "here-api-key": "HERE API raktas", - "here-use-new-version-api-3": "Naudoti API 3 versiją", "tencent-maps-api-key": "Tencent Maps API raktas", "tencent-map-type-roadmap": "Keliai", - "tencent-map-type-satelite": "Palydovas", + "tencent-map-type-satelite": "Palydovinis", "tencent-map-type-hybrid": "Hibridinis", "image-map-background": "Paveikslėlio žemėlapio fonas", - "image-map-background-from-entity-attribute": "Naudoti paveikslėlį iš objekto atributo kaip žemėlapio foną", - "image-url-source-entity-alias": "Paveikslėlio URL šaltinio objekto pseudonimas", - "image-url-source-entity-attribute": "Paveikslėlio URL šaltinio objekto atributas", + "image-map-background-from-entity-attribute": "Naudoti paveikslėlį iš subjekto atributo kaip žemėlapio foną", + "image-url-source-entity-alias": "Paveikslėlio URL šaltinio subjekto pseudonimas", + "image-url-source-entity-attribute": "Paveikslėlio URL šaltinio subjekto atributas", "common-map-settings": "Bendrieji žemėlapio nustatymai", "x-pos-key-name": "X padėties rakto pavadinimas", "y-pos-key-name": "Y padėties rakto pavadinimas", @@ -10858,11 +13052,11 @@ "disable-zoom-control-buttons": "Išjungti priartinimo valdymo mygtukus", "fit-map-bounds": "Pritaikyti žemėlapio ribas, kad apimtų visus žymeklius", "use-default-map-center-position": "Naudoti numatytąją žemėlapio centro padėtį", - "entities-limit": "Objektų įkėlimo riba", + "entities-limit": "Įkeltinų subjektų riba", "markers-settings": "Žymeklių nustatymai", "marker-offset-x": "Žymeklio X poslinkis, lyginant su padėtimi (daugiklis žymeklio pločiui)", "marker-offset-y": "Žymeklio Y poslinkis, lyginant su padėtimi (daugiklis žymeklio aukščiui)", - "position-function": "Padėties konversijos funkcija, grąžinanti x,y koordinates nuo 0 iki 1", + "position-function": "Padėties konversijos funkcija, turi grąžinti x,y koordinates (dvigubo tikslumo skaičius) nuo 0 iki 1", "draggable-marker": "Vilkiojamas žymeklis", "label": "Etiketė", "show-label": "Rodyti etiketę", @@ -10871,9 +13065,9 @@ "label-function": "Etiketės funkcija", "tooltip": "Patarimas", "show-tooltip": "Rodyti patarimą", - "show-tooltip-action": "Veiksmas, kai rodomas patarimas", - "show-tooltip-action-click": "Rodyti spustelėjus (numatytasis)", - "show-tooltip-action-hover": "Rodyti užvedus žymeklį", + "show-tooltip-action": "Veiksmas, kuriuo parodomas patarimas", + "show-tooltip-action-click": "Rodyti patarimą spustelėjus (numatytasis)", + "show-tooltip-action-hover": "Rodyti patarimą užvedus žymeklį", "auto-close-tooltips": "Automatiškai uždaryti patarimus", "use-tooltip-function": "Naudoti patarimo funkciją", "tooltip-pattern": "Patarimas (pvz.: 'Tekstas ${keyName} vienetai.' arba Nuorodos tekstas)", @@ -10905,15 +13099,15 @@ "polygon-tooltip-pattern": "Patarimas (pvz.: 'Tekstas ${keyName} vienetai.' arba Nuorodos tekstas)", "polygon-tooltip-function": "Daugiakampio patarimo funkcija", "polygon-color": "Daugiakampio spalva", - "polygon-opacity": "Daugiakampio permatomumas", + "polygon-opacity": "Daugiakampio nepermatomumas", "use-polygon-color-function": "Naudoti daugiakampio spalvos funkciją", "polygon-color-function": "Daugiakampio spalvos funkcija", - "polygon-stroke": "Daugiakampio brūkšnys", - "stroke-color": "Brūkšnio spalva", - "stroke-opacity": "Brūkšnio permatomumas", - "stroke-weight": "Brūkšnio storis", - "use-polygon-stroke-color-function": "Naudoti daugiakampio brūkšnio spalvos funkciją", - "polygon-stroke-color-function": "Daugiakampio brūkšnio spalvos funkcija", + "polygon-stroke": "Daugiakampio kontūras", + "stroke-color": "Kontūro spalva", + "stroke-opacity": "Kontūro nepermatomumas", + "stroke-weight": "Kontūro storis", + "use-polygon-stroke-color-function": "Naudoti daugiakampio kontūro spalvos funkciją", + "polygon-stroke-color-function": "Daugiakampio kontūro spalvos funkcija", "circle-settings": "Apskritimo nustatymai", "show-circle": "Rodyti apskritimą", "circle-key-name": "Apskritimo rakto pavadinimas", @@ -10930,27 +13124,27 @@ "circle-tooltip-pattern": "Patarimas (pvz.: 'Tekstas ${keyName} vienetai.' arba Nuorodos tekstas)", "circle-tooltip-function": "Apskritimo patarimo funkcija", "circle-fill-color": "Apskritimo užpildo spalva", - "circle-fill-color-opacity": "Apskritimo užpildo permatomumas", + "circle-fill-color-opacity": "Apskritimo užpildo nepermatomumas", "use-circle-fill-color-function": "Naudoti apskritimo užpildo spalvos funkciją", "circle-fill-color-function": "Apskritimo užpildo spalvos funkcija", - "circle-stroke": "Apskritimo brūkšnys", - "use-circle-stroke-color-function": "Naudoti apskritimo brūkšnio spalvos funkciją", - "circle-stroke-color-function": "Apskritimo brūkšnio spalvos funkcija", + "circle-stroke": "Apskritimo kontūras", + "use-circle-stroke-color-function": "Naudoti apskritimo kontūro spalvos funkciją", + "circle-stroke-color-function": "Apskritimo kontūro spalvos funkcija", "markers-clustering-settings": "Žymeklių grupavimo nustatymai", - "use-map-markers-clustering": "Naudoti žymeklių grupavimą", - "zoom-on-cluster-click": "Priartinti paspaudus ant grupės", - "max-cluster-zoom": "Didžiausias priartinimo lygis, kuriame žymeklis gali priklausyti grupei (0–18)", + "use-map-markers-clustering": "Naudoti žemėlapio žymeklių grupavimą", + "zoom-on-cluster-click": "Priartinti spustelėjus grupę", + "max-cluster-zoom": "Didžiausias mastelio lygis, kai žymeklis gali priklausyti grupei (0–18)", "max-cluster-radius-pixels": "Didžiausias grupės spindulys (pikseliais)", "cluster-zoom-animation": "Rodyti animaciją žymekliams priartinant", "show-markers-bounds-on-cluster-mouse-over": "Rodyti žymeklių ribas užvedus pelę ant grupės", - "spiderfy-max-zoom-level": "Išskleisti (spiderfy) didžiausiame priartinimo lygyje, kad matytųsi visi žymekliai", + "spiderfy-max-zoom-level": "Išskleisti esant didžiausiam masteliui (kad matytųsi visi grupės žymekliai)", "load-optimization": "Įkėlimo optimizavimas", "cluster-chunked-loading": "Naudoti dalinį žymeklių įkėlimą, kad puslapis neužstrigtų", - "cluster-markers-lazy-load": "Naudoti „lazy load“ žymeklių įkėlimui", + "cluster-markers-lazy-load": "Naudoti uždelstą žymeklių įkėlimą", "editor-settings": "Redaktoriaus nustatymai", - "enable-snapping": "Įjungti pritraukimą prie kitų viršūnių tikslumui", - "init-draggable-mode": "Paleisti žemėlapį vilkiojimo režimu", - "hide-all-edit-buttons": "Slėpti visus redagavimo valdiklius", + "enable-snapping": "Įjungti pritraukimą prie kitų viršūnių tiksliam braižymui", + "init-draggable-mode": "Paleisti žemėlapį vilkimo režimu", + "hide-all-edit-buttons": "Slėpti visus redagavimo mygtukus", "hide-draw-buttons": "Slėpti braižymo mygtukus", "hide-edit-buttons": "Slėpti redagavimo mygtukus", "hide-remove-button": "Slėpti šalinimo mygtuką", @@ -10959,7 +13153,7 @@ "normalization-step": "Normalizavimo žingsnis (ms)", "tooltip-background-color": "Patarimo fono spalva", "tooltip-font-color": "Patarimo teksto spalva", - "tooltip-opacity": "Patarimo permatomumas (0–1)", + "tooltip-opacity": "Patarimo nepermatomumas (0–1)", "auto-close-tooltip": "Automatiškai uždaryti patarimą", "rotation-angle": "Papildomas žymeklio pasukimo kampas (laipsniais)", "path-settings": "Kelio nustatymai", @@ -11017,15 +13211,15 @@ "off": "Išjungta", "disabled": "Išjungta būsena", "tumbler-color": "Perjungiklio spalva", - "on-label": "Įjungta etiketė", - "off-label": "Išjungta etiketė", + "on-label": "Įjungtos būsenos etiketė", + "off-label": "Išjungtos būsenos etiketė", "switch": "Jungiklis" }, "slider": { "behavior": "Elgsena", "initial-value": "Pradinė reikšmė", "initial-value-hint": "Veiksmas, skirtas gauti pradinę slankiklio reikšmę.", - "on-value-change": "Keičiantis reikšmei", + "on-value-change": "Pasikeitus reikšmei", "on-value-change-hint": "Veiksmas, paleidžiamas, kai pasikeičia slankiklio reikšmė.", "layout": "Išdėstymas", "layout-default": "Numatytasis", @@ -11035,8 +13229,8 @@ "icon": "Piktograma", "value": "Reikšmė", "range": "Intervalas", - "min": "min", - "max": "maks", + "min": "min.", + "max": "maks.", "range-ticks": "Intervalo žymės", "tick-marks": "Padalos", "colors": "Spalvos", @@ -11083,7 +13277,7 @@ "shape": "Forma", "datasource-units": "Šaltinio vienetai", "widget-units": "Valdiklio vienetai", - "decimals": "Dešimtainės", + "decimals": "Skaitmenys po kablelio", "liquid": "Skystis", "liquid-color": "Skysčio spalva", "value": "Reikšmė", @@ -11098,7 +13292,7 @@ "see-examples": "Peržiūrėti pavyzdžius", "attribute": "Atributas", "shape-type": "Tipas", - "v-oval": "Vertikali ovalo forma", + "v-oval": "Vertikalus ovalas", "v-cylinder": "Vertikalus cilindras", "v-capsule": "Vertikali kapsulė", "rectangle": "Stačiakampis", @@ -11115,8 +13309,8 @@ "shape-attribute-name": "Atributo pavadinimas", "total-volume-required": "Bendras tūris yra privalomas.", "attribute-name-required": "Atributo pavadinimas yra privalomas.", - "attribute-key-not-set": "Atributo '{{attributeName}}' raktas nenustatytas", - "attribute-key-invalid": "Atributo '{{attributeName}}' raktas neteisingas" + "attribute-key-not-set": "Atributo „{{attributeName}}“ raktas nenustatytas", + "attribute-key-invalid": "Atributo „{{attributeName}}“ raktas neteisingas" }, "aggregated-value-card": { "subtitle": "Paantraštė", @@ -11158,8 +13352,8 @@ "icon": "Piktograma", "value": "Reikšmė", "range": "Intervalas", - "min": "min", - "max": "maks", + "min": "min.", + "max": "maks.", "range-ticks": "Intervalo žymės", "bar": "Juosta", "bar-color": "Juostos spalva", @@ -11180,14 +13374,14 @@ "button-mark-read": "Pažymėti visus kaip skaitytus", "notification-types": "Pranešimų tipai", "notification-type": "Pranešimo tipas", - "search-type": "Paieškos tipas", + "search-type": "Ieškokite tipo", "any-type": "Bet koks tipas" }, "alarm-count": { - "alarm-count-card-style": "Signalizacijų skaičiaus kortelės stilius" + "alarm-count-card-style": "Įspėjimų skaičiaus kortelės stilius" }, "entity-count": { - "entity-count-card-style": "Objektų skaičiaus kortelės stilius" + "entity-count-card-style": "Subjektų skaičiaus kortelės stilius" }, "count": { "layout": "Išdėstymas", @@ -11208,16 +13402,17 @@ "hidden-cell-button-display-mode": "Paslėpto mygtuko veiksmų rodymo režimas", "show-empty-space-hidden-action": "Rodyti tuščią vietą vietoje paslėpto langelio mygtuko veiksmo", "dont-reserve-space-hidden-action": "Nerezervuoti vietos paslėptiems veiksmų mygtukams", - "display-timestamp": "Rodyti laiko žymos stulpelį", + "display-timestamp": "Laiko žyma", "include-timestamp-in-export": "Įtraukti laiko žymos stulpelį į eksportą", + "timestamp-column-name": "Laiko žyma", "display-pagination": "Rodyti puslapiavimą", "default-page-size": "Numatytasis puslapio dydis", "page-step-settings": "Puslapio žingsnių nustatymai", "page-step-count": "Žingsnių skaičius", - "page-step-increment": "Žingsnio didinimas", + "page-step-increment": "Žingsnio prieaugis", "page-step-count-format-message": "Turi būti sveikasis skaičius nuo 1 iki 100.", - "page-step-increment-format-message": "Turi būti sveikasis skaičius, ne mažesnis kaip 1.", - "use-entity-label-tab-name": "Naudoti objekto etiketę skirtuko pavadinime", + "page-step-increment-format-message": "Turi būti sveikasis skaičius, didesnis arba lygus 1.", + "use-entity-label-tab-name": "Naudoti subjekto etiketę skirtuko pavadinime", "hide-empty-lines": "Slėpti tuščias eilutes", "row-style": "Eilutės stilius", "use-row-style-function": "Naudoti eilutės stiliaus funkciją", @@ -11231,63 +13426,66 @@ "cell-content-function": "Langelio turinio funkcija", "show-latest-data-column": "Rodyti naujausių duomenų stulpelį", "latest-data-column-order": "Naujausių duomenų stulpelio tvarka", - "entities-table-title": "Objektų lentelės pavadinimas", - "enable-select-column-display": "Įjungti pasirinktų stulpelių rodymą", - "display-entity-name": "Rodyti objekto pavadinimo stulpelį", - "entity-name-column-title": "Objekto pavadinimo stulpelio pavadinimas", - "display-entity-label": "Rodyti objekto etiketės stulpelį", - "entity-label-column-title": "Objekto etiketės stulpelio pavadinimas", - "display-entity-type": "Rodyti objekto tipo stulpelį", + "entities-table-title": "Subjektų lentelės pavadinimas", + "enable-select-column-display": "Įjungti rodomų stulpelių pasirinkimą", + "display-entity-name": "Rodyti subjekto pavadinimo stulpelį", + "entity-name-column-title": "Subjekto pavadinimo stulpelio pavadinimas", + "display-entity-label": "Rodyti subjekto etiketės stulpelį", + "entity-label-column-title": "Subjekto etiketės stulpelio pavadinimas", + "display-entity-type": "Rodyti subjekto tipo stulpelį", "default-sort-order": "Numatytoji rūšiavimo tvarka", - "custom-title": "Tinkintas antraštės pavadinimas", + "custom-title": "Pasirinktinis antraštės pavadinimas", "column-width": "Stulpelio plotis (px arba %)", "default-column-visibility": "Numatytasis stulpelio matomumas", "column-visibility-visible": "Matomas", "column-visibility-hidden": "Paslėptas", "column-visibility-hidden-mobile": "Paslėptas mobiliuoju režimu", - "column-selection-to-display": "Stulpelių pasirinkimas rodymui", + "column-selection-to-display": "Stulpelių pasirinkimas sąraše „Rodomi stulpeliai“", "column-selection-to-display-enabled": "Įjungta", "column-selection-to-display-disabled": "Išjungta", "column-export-option": "Įtraukti stulpelį į eksportą", "column-export-option-always": "Visada", "column-export-option-only-visible": "Tik jei matomas", "column-export-option-never": "Niekada", - "alarms-table-title": "Pavojaus signalų lentelės pavadinimas", - "enable-alarms-selection": "Įjungti signalų pasirinkimą", - "enable-alarms-search": "Įjungti signalų paiešką", - "enable-alarm-filter": "Įjungti signalų filtrą", - "display-alarm-details": "Rodyti signalų detales", - "allow-alarms-ack": "Leisti patvirtinti signalus", - "allow-alarms-clear": "Leisti išvalyti signalus", - "display-alarm-activity": "Rodyti signalų veiklą", - "allow-alarms-assign": "Leisti priskirti signalus", - "blob-entities-table-title": "Blob objektų lentelės pavadinimas", + "alarms-table-title": "Įspėjimų lentelės pavadinimas", + "enable-alarms-selection": "Įjungti įspėjimų pasirinkimą", + "enable-alarms-search": "Įjungti įspėjimų paiešką", + "enable-alarm-filter": "Įjungti įspėjimų filtrą", + "display-alarm-details": "Rodyti įspėjimų informaciją", + "allow-alarms-ack": "Leisti patvirtinti įspėjimus", + "allow-alarms-clear": "Leisti išvalyti įspėjimus", + "display-alarm-activity": "Rodyti įspėjimų veiklą", + "allow-alarms-assign": "Leisti priskirti įspėjimus", + "blob-entities-table-title": "Blob subjektų lentelės pavadinimas", "display-created-time": "Rodyti sukūrimo laiko stulpelį", "display-type": "Rodyti tipo stulpelį", "display-customer": "Rodyti kliento stulpelį", - "no-data-display-message": "Alternatyvus pranešimas: „Nėra duomenų rodyti“", - "force-default-blob-entity-type": "Priverstinai naudoti numatytą Blob objekto tipą", + "display-columns": "Rodomi stulpeliai", + "no-data-display-message": "Alternatyvus pranešimas „Nėra rodomų duomenų“", + "force-default-blob-entity-type": "Priverstinai naudoti numatytąjį Blob subjekto tipą", "scheduler-events-table-title": "Planuoklės įvykių lentelės pavadinimas", - "force-default-event-type": "Priverstinai naudoti numatytą įvykio tipą", + "force-default-event-type": "Priverstinai naudoti numatytąjį įvykio tipą", "columns": "Stulpeliai", "column-settings": "Stulpelių nustatymai", "remove-column": "Pašalinti stulpelį", "add-column": "Pridėti stulpelį", "no-columns": "Stulpeliai nesukonfigūruoti", - "columns-to-display": "Stulpeliai, kuriuos rodyti", + "columns-to-display": "Rodomi stulpeliai", "table-header": "Lentelės antraštė", "header-buttons": "Antraštės mygtukai", "table-buttons": "Lentelės mygtukai", "pagination": "Puslapiavimas", "rows": "Eilutės", - "timeseries-column-error": "Turi būti nurodytas bent vienas laiko sekos stulpelis", - "alarm-column-error": "Turi būti nurodytas bent vienas signalų stulpelis", + "timeseries-column-error": "Turi būti nurodytas bent vienas laiko eilučių stulpelis", + "alarm-column-error": "Turi būti nurodytas bent vienas įspėjimų stulpelis", "table-tabs": "Lentelės skirtukai", "show-cell-actions-menu-mobile": "Rodyti langelio veiksmų meniu mobiliajame režime", - "disable-sorting": "Išjungti rūšiavimą" + "disable-sorting": "Išjungti rūšiavimą", + "sort-by": "Rūšiuoti skirtukus pagal", + "sort-timestamp-option": "Sukūrimo laikas" }, "latest-chart": { - "total": "Bendra suma", + "total": "Iš viso", "auto-scale": "Automatinis mastelis", "clockwise-layout": "Išdėstymas pagal laikrodžio rodyklę", "sort-series": "Rūšiuoti serijas pagal etiketę", @@ -11297,7 +13495,7 @@ "pie-chart": { "pie-chart-appearance": "Skritulinės diagramos išvaizda", "label": "Etiketė", - "border": "Kraštinė", + "border": "Rėmelis", "radius": "Spindulys", "pie-chart-card-style": "Skritulinės diagramos kortelės stilius" }, @@ -11315,7 +13513,7 @@ "ticks-label": "Padalų etiketė", "radar-chart-style": "Radaro diagramos stilius", "max-axes-scaling": "Maksimalus ašių mastelis", - "max-axes-scaling-hint": "Pasirinkite, ar kiekviena radaro ašis turi savo maksimalų dydį (Atskiras), ar dalijasi didžiausia reikšme tarp visų ašių pagal valdiklio duomenis (Bendras).", + "max-axes-scaling-hint": "Pasirinkite, ar kiekviena radaro ašis turi savo didžiausią reikšmę (Atskiras), ar dalijasi didžiausia reikšme tarp visų ašių pagal valdiklio duomenis (Bendras).", "separate": "Atskiras", "common": "Bendras" }, @@ -11323,8 +13521,10 @@ "chart": "Diagrama", "chart-style": "Diagramos stilius", "data-zoom": "Duomenų mastelio keitimas", + "data-zoom-update-timewindow": "Keičiant mastelį atnaujinti laiko langą", + "reset-timewindow": "Grįžti į pradinį laiko langą", "stack-mode": "Sluoksniavimo režimas", - "stack-mode-hint": "Sluoksniuoja serijas diagramoje. Serijos su tomis pačiomis vienetais bus dedamos viena ant kitos.", + "stack-mode-hint": "Sluoksniuoja serijas diagramoje. Serijos su tais pačiais vienetais bus dedamos viena ant kitos.", "axes": "Ašys", "y-axes": "Y ašys", "line-type": "Linijos tipas", @@ -11341,7 +13541,7 @@ "bar-width-absolute": "Absoliutus (ms)", "comparison": { "comparison": "Palyginimas", - "comparison-hint": "Palyginimas veikia tik su istorinių duomenų!", + "comparison-hint": "Palyginimas veikia tik su istoriniais duomenimis!", "show": "Rodyti", "settings": "Palyginimo nustatymai", "show-values-for-comparison": "Rodyti istorinius duomenis palyginimui", @@ -11350,19 +13550,19 @@ "comparison-data-color": "Palyginimo duomenų spalva" }, "threshold": { - "thresholds": "Slenksčiai", + "thresholds": "Ribos", "source": "Šaltinis", "key-value": "Raktas / Reikšmė", - "no-thresholds": "Slenksčiai nesukonfigūruoti", - "add-threshold": "Pridėti slenkstį", + "no-thresholds": "Ribos nesukonfigūruotos", + "add-threshold": "Pridėti ribą", "type-constant": "Pastovus", "type-latest-key": "Raktas", - "type-entity": "Objektas", - "threshold-settings": "Slenksčio nustatymai", - "remove-threshold": "Pašalinti slenkstį", - "threshold-value-required": "Reikalinga slenksčio reikšmė.", - "key-required": "Reikalingas raktas.", - "entity-key-required": "Reikalingas objekto raktas.", + "type-entity": "Subjektas", + "threshold-settings": "Ribų nustatymai", + "remove-threshold": "Pašalinti ribą", + "threshold-value-required": "Ribos reikšmė yra privaloma.", + "key-required": "Raktas yra privalomas.", + "entity-key-required": "Subjekto raktas yra privalomas.", "line-appearance": "Linijos išvaizda", "line-color": "Linijos spalva", "start-symbol": "Pradžios simbolis", @@ -11373,8 +13573,8 @@ "label-position-middle": "Vidurys", "label-position-end": "Pabaiga", "label-position-inside-start": "Viduje pradžioje", - "label-position-inside-start-top": "Viduje viršuje pradžioje", - "label-position-inside-start-bottom": "Viduje apačioje pradžioje", + "label-position-inside-start-top": "Viduje pradžioje viršuje", + "label-position-inside-start-bottom": "Viduje pradžioje apačioje", "label-position-inside-middle": "Viduje per vidurį", "label-position-inside-middle-top": "Viduje per vidurį viršuje", "label-position-inside-middle-bottom": "Viduje per vidurį apačioje", @@ -11409,9 +13609,9 @@ "y-axis-settings": "Y ašies nustatymai", "comparison-x-axis-settings": "Palyginimo X ašies nustatymai", "remove-y-axis": "Pašalinti Y ašį", - "id": "Id", + "id": "ID", "label": "Etiketė", - "position": "Pozicija", + "position": "Padėtis", "position-left": "Kairėje", "position-right": "Dešinėje", "position-top": "Viršuje", @@ -11434,10 +13634,10 @@ "add-y-axis": "Pridėti Y ašį" }, "series": { - "legend-settings": "Legenda nustatymai", + "legend-settings": "Legendos nustatymai", "show-in-legend": "Rodyti legendoje", "show-in-legend-hint": "Rodyti serijos pavadinimą ir duomenis legendoje.", - "hidden-by-default": "Numatytai paslėpta", + "hidden-by-default": "Paslėpta pagal numatytuosius nustatymus", "hidden-by-default-hint": "Padaryti seriją paslėptą legendoje pagal numatytuosius nustatymus.", "series-type": "Serijos tipas", "type": "Tipas", @@ -11478,50 +13678,50 @@ "directional-names": "Krypties pavadinimai", "degrees": "Laipsniai", "major-ticks": "Pagrindinės padalos", - "minor-ticks": "Smulkios padalos", + "minor-ticks": "Smulkiosios padalos", "wind-speed-direction-card-style": "Vėjo greičio ir krypties kortelės stilius", "ticks-color": "Padalų spalva", "ticks-labels-type": "Padalų etikečių tipas", "arrow-color": "Rodyklės spalva" }, "scheduler": { - "enabled-scheduler-event-views": "Įjungti planuoklio įvykių rodiniai", + "enabled-scheduler-event-views": "Leidžiami planuoklės įvykių rodiniai", "enabled-scheduler-event-views-both": "Abu", "enabled-scheduler-event-views-list": "Tik sąrašo rodinys", "enabled-scheduler-event-views-calendar": "Tik kalendoriaus rodinys", "display-name": "Rodomas pavadinimas", "type-name": "Tipo pavadinimas", - "display-originator-select": "Rodyti pradinio objekto pasirinkimą", - "display-message-type-select": "Rodyti pranešimo tipo pasirinkimą", - "display-metadata-table": "Rodyti pranešimo metaduomenų lentelę", + "display-originator-select": "Rodyti siuntėjo subjekto pasirinkimą", + "display-message-type-select": "Rodyti žinutės tipo pasirinkimą", + "display-metadata-table": "Rodyti žinutės metaduomenų lentelę", "configuration-html-template": "HTML konfigūracijos šablonas", - "custom-event-types": "Tinkinti įvykių tipai", - "no-custom-event-types": "Tinkintų įvykių tipų nesukonfigūruota", - "add-custom-event-type": "Pridėti tinkintą įvykio tipą" + "custom-event-types": "Pasirinktiniai įvykių tipai", + "no-custom-event-types": "Pasirinktinių įvykių tipų nesukonfigūruota", + "add-custom-event-type": "Pridėti pasirinktinį įvykio tipą" }, "value-source": { "value-source": "Reikšmės šaltinis", - "predefined-value": "Iš anksto nustatyta reikšmė", - "entity-attribute": "Objekto atributas", + "predefined-value": "Konstanta", + "entity-attribute": "Subjekto atributas", "value": "Reikšmė", "value-required": "Reikšmė yra privaloma.", "key-required": "Raktas yra privalomas.", - "entity-key-required": "Objekto raktas yra privalomas.", - "source-entity-alias": "Šaltinio objekto pseudonimas", - "source-entity-attribute": "Šaltinio objekto atributas", - "type-constant": "Pastovus", + "entity-key-required": "Subjekto raktas yra privalomas.", + "source-entity-alias": "Šaltinio subjekto pseudonimas", + "source-entity-attribute": "Šaltinio subjekto atributas", + "type-constant": "Konstanta", "type-latest-key": "Raktas", - "type-entity": "Objektas" + "type-entity": "Subjektas" }, "rpc-state": { "initial-state": "Pradinė būsena", "initial-state-hint": "Veiksmas, skirtas gauti pradinę komponento būseną (Įjungta / Išjungta).", "disabled-state": "Išjungta būsena", - "disabled-state-hint": "Sąlyga, pagal kurią komponentas yra išjungiamas.", + "disabled-state-hint": "Nustatykite sąlygą, kada komponentas yra išjungiamas.", "turn-on": "Įjungti", - "turn-on-hint": "Veiksmas, paleidžiamas, kai jungiklis perjungiamas į 'Įjungta'.", + "turn-on-hint": "Veiksmas, paleidžiamas, kai jungiklis perjungiamas į „Įjungta“", "turn-off": "Išjungti", - "turn-off-hint": "Veiksmas, paleidžiamas, kai jungiklis perjungiamas į 'Išjungta'.", + "turn-off-hint": "Veiksmas, paleidžiamas, kai jungiklis perjungiamas į „Išjungta“", "on": "Įjungta", "off": "Išjungta", "disabled": "Išjungta" @@ -11532,54 +13732,55 @@ "get-attribute": "Gauti atributą", "set-attribute": "Nustatyti atributą", "get-time-series": "Gauti laiko eilutę", - "get-alarm-status": "Gauti aliarmo būseną", + "get-alarm-status": "Gauti įspėjimo būseną", "get-dashboard-state": "Gauti skydelio būsenos ID", "get-dashboard-state-object": "Gauti skydelio būsenos objektą", "add-time-series": "Pridėti laiko eilutę", - "execute-rpc-text": "Vykdyti RPC metodą '{{methodName}}'", - "get-time-series-text": "Naudoti laiko eilutę '{{key}}'", - "get-attribute-text": "Naudoti atributą '{{key}}'", - "get-alarm-status-text": "Naudoti aliarmo būseną", + "execute-rpc-text": "Vykdyti RPC metodą „{{methodName}}“", + "get-time-series-text": "Naudoti laiko eilutę „{{key}}“", + "get-attribute-text": "Naudoti atributą „{{key}}“", + "get-alarm-status-text": "Naudoti įspėjimo būseną", "get-dashboard-state-text": "Naudoti skydelio būseną", "get-dashboard-state-object-text": "Naudoti skydelio būsenos objektą", - "when-dashboard-state-is-text": "Kai skydelio būsena yra '{{state}}'", - "when-dashboard-state-function-is-text": "Kai f(skydelio būsena) = '{{state}}'", - "when-dashboard-state-object-function-is-text": "Kai f(skydelio būsenos objektas) = '{{state}}'", - "set-attribute-to-value-text": "Nustatyti '{{key}}' atributo reikšmę į: {{value}}", - "add-time-series-value-text": "Pridėti '{{key}}' laiko eilutės reikšmę: {{value}}", - "set-attribute-text": "Nustatyti '{{key}}' atributą", - "add-time-series-text": "Pridėti '{{key}}' laiko eilutę", + "when-dashboard-state-is-text": "Kai skydelio būsenos ID yra „{{state}}“", + "when-dashboard-state-function-is-text": "Kai f(skydelio būsenos ID) yra „{{state}}“", + "when-dashboard-state-object-function-is-text": "Kai f(skydelio būsenos objektas) yra „{{state}}“", + "set-attribute-to-value-text": "Nustatyti „{{key}}“ atributo reikšmę: {{value}}", + "add-time-series-value-text": "Pridėti „{{key}}“ laiko eilutės reikšmę: {{value}}", + "set-attribute-text": "Nustatyti „{{key}}“ atributą", + "add-time-series-text": "Pridėti „{{key}}“ laiko eilutę", "action": "Veiksmas", "value": "Reikšmė", - "init-value-hint": "Reikšmė, kuri bus naudojama iki kol įrenginys atsiųs duomenis.", + "init-value-hint": "Reikšmė, kuri bus naudojama, kol įrenginys atsiųs duomenis.", "method": "Metodas", "method-name-required": "Metodo pavadinimas yra privalomas.", "request-timeout-ms": "RPC užklausos laiko limitas (ms)", - "request-timeout-required": "Reikalingas užklausos laiko limitas.", + "request-timeout-required": "Užklausos laiko limitas yra privalomas.", "min-request-timeout-error": "Užklausos laiko limitas turi būti ne mažesnis nei 5000 ms (5 sekundės).", - "request-persistent": "Išliekanti RPC užklausa", - "persistent-polling-interval": "Išliekantis apklausos intervalas (ms)", - "persistent-polling-interval-hint": "Apklausos intervalas (ms) išliekantiems RPC komandų atsakymams gauti", - "persistent-polling-interval-required": "Išliekantis apklausos intervalas yra privalomas.", + "request-persistent": "Nuolatinė RPC užklausa", + "persistent-polling-interval": "Nuolatinės užklausos apklausos intervalas (ms)", + "persistent-polling-interval-hint": "Apklausos intervalas (ms) nuolatinės RPC komandos atsakymui gauti", + "persistent-polling-interval-required": "Nuolatinės užklausos apklausos intervalas yra privalomas.", "min-persistent-polling-interval-error": "Apklausos intervalas turi būti ne mažesnis nei 1000 ms (1 sekundė).", "attribute-scope": "Atributo taikymo sritis", "attribute-key": "Atributo raktas", "attribute-key-required": "Atributo raktas yra privalomas.", "time-series-key": "Laiko eilutės raktas", "time-series-key-required": "Laiko eilutės raktas yra privalomas.", - "action-result-converter": "Veiksmo rezultatų konverteris", + "action-result-converter": "Veiksmo rezultato keitiklis", "converter-none": "Nėra", "converter-function": "Funkcija", "converter-constant": "Pastovi reikšmė", "converter-value": "Reikšmė", - "parse-value-function": "Reikšmės apdorojimo funkcija", - "state-when-result-is": "'{{state}}' kai rezultatas yra", + "parse-value-function": "Reikšmės analizės funkcija", + "state-when-result-is": "„{{state}}“, kai rezultatas yra", "parameters": "Parametrai", "convert-value-function": "Reikšmės konvertavimo funkcija", + "rpc-params-function": "RPC parametrų funkcija", "error": { - "target-entity-is-not-set": "Tikslinis objektas nenustatytas!", + "target-entity-is-not-set": "Tikslinis subjektas nenustatytas!", "failed-to-perform-action": "Nepavyko atlikti veiksmo {{ actionLabel }}.", - "invalid-attribute-scope": "{{scope}} atributų taikymo sritis nepalaikoma {{entityType}} objekte." + "invalid-attribute-scope": "{{scope}} atributų taikymo sritis nepalaikoma šio tipo subjektams: {{entityType}}." } }, "widget-font": { @@ -11623,12 +13824,12 @@ "cpu": "CPU", "ram": "RAM", "disk": "Diskas", - "cpu-warning-text": "Didelis procesoriaus apkrovimas. Siekiant išvengti sistemos gedimo, optimizuokite našumą.", - "cpu-critical-text": "Kritiškai didelis procesoriaus apkrovimas. Nedelsiant optimizuokite sistemos našumą.", - "ram-warning-text": "Mažas RAM rezervas. Padidinkite RAM arba optimizuokite sistemos veikimą.", - "ram-critical-text": "Kritiškai mažas RAM rezervas. Būtina optimizacija arba RAM padidinimas.", - "disk-warning-text": "Mažai vietos diske. Išvalykite arba išplėskite disko talpą.", - "disk-critical-text": "Kritiškai mažai vietos diske. Skubiai atlaisvinkite arba išplėskite talpą." + "cpu-warning-text": "Didelė CPU apkrova. Kad išvengtumėte sistemos gedimo, optimizuokite sistemos našumą.", + "cpu-critical-text": "Kritiškai didelė CPU apkrova. Kad išvengtumėte sistemos gedimo, optimizuokite sistemos našumą.", + "ram-warning-text": "Baigiasi RAM rezervas. Kad išvengtumėte sistemos gedimo, optimizuokite sistemos našumą arba padidinkite RAM.", + "ram-critical-text": "Kritiškai mažas RAM rezervas. Kad išvengtumėte sistemos gedimo, optimizuokite sistemos našumą arba padidinkite RAM.", + "disk-warning-text": "Baigiasi vieta diske. Kad neprarastumėte duomenų, atlaisvinkite arba išplėskite disko vietą.", + "disk-critical-text": "Kritiškai mažai vietos diske. Kad neprarastumėte duomenų, atlaisvinkite arba išplėskite disko vietą." }, "cluster-info": { "service-id": "Paslaugos ID", @@ -11636,8 +13837,8 @@ "no-data": "Nėra duomenų" }, "transport-messages": { - "title": "Transporto pranešimai", - "info": "Visi pranešimai, gauti iš įrenginių" + "title": "Transporto žinutės", + "info": "Visos žinutės, gautos iš įrenginių" }, "activity": { "title": "Aktyvumas" @@ -11658,11 +13859,14 @@ "add-link-title": "Pridėti greitąją nuorodą", "quick-link": "Greitoji nuoroda", "quick-link-required": "Greitoji nuoroda yra privaloma.", - "no-links-matching": "Nuorodų, atitinkančių '{{name}}', nerasta.", + "no-links-matching": "Nuorodų, atitinkančių „{{name}}“, nerasta.", "columns": "Stulpeliai" }, + "iot-hub": { + "title-text": "Kurkite greičiau naudodami bendruomenės patikrintus išteklius iš" + }, "recent-dashboards": { - "title": "Valdymo skydeliai", + "title": "Skydeliai", "last": "Paskutiniai peržiūrėti", "starred": "Pažymėti žvaigždute", "name": "Pavadinimas", @@ -11672,12 +13876,12 @@ "configured-features": { "title": "Sukonfigūruotos funkcijos", "info": "Funkcijų, kurioms reikia konfigūracijos, būsena", - "white-labeling-feature": "Baltos etiketės (white labeling)", + "white-labeling-feature": "Prekės ženklo tinkinimas", "email-feature": "El. paštas", "sms-feature": "SMS", "slack-feature": "Slack", "oauth2-feature": "OAuth 2", - "2fa-feature": "Dvigubas autentifikavimas (2FA)", + "2fa-feature": "2FA", "feature-configured": "Funkcija sukonfigūruota.\nSpustelėkite, kad nustatytumėte", "feature-not-configured": "Funkcija nesukonfigūruota.\nSpustelėkite, kad nustatytumėte" }, @@ -11688,32 +13892,33 @@ "current": "Dabartinė", "available-version": "Prieinama versija", "available": "Prieinama", - "upgrade": "Atnaujinti", + "upgrade": "Naujinti", "version-is-up-to-date": "Versija yra naujausia" }, "license-info": { "title": "Licencijos informacija", "view-all": "Peržiūrėti visas", "license-portal": "Licencijų portalas", - "devices-info": "{count} / { max, plural, =0 {∞} other {#} } įrenginiai", - "assets-info": "{count} / { max, plural, =0 {∞} other {#} } ištekliai", - "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } skydeliai", - "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } integracijos", + "devices-info": "{count} / { max, plural, =0 {∞ įrenginių} one {# įrenginys} few {# įrenginiai} other {# įrenginių} }", + "assets-info": "{count} / { max, plural, =0 {∞ turtų} one {# turtas} few {# turtai} other {# turtų} }", + "edges-info": "{count} / { max, plural, =0 {∞ Edge egzempliorių} one {# Edge egzempliorius} few {# Edge egzemplioriai} other {# Edge egzempliorių} }", + "dashboards-info": "{count} / { max, plural, =0 {∞ skydelių} one {# skydelis} few {# skydeliai} other {# skydelių} }", + "integrations-info": "{count} / { max, plural, =0 {∞ integracijų} one {# integracija} few {# integracijos} other {# integracijų} }", "community-support": "Bendruomenės palaikymas", - "white-labeling": "Baltos etiketės (white labeling)", - "unlimited-datapoints-and-messages": "Neriboti duomenų taškai ir pranešimai", - "unlimited-api-calls": "Neriboti API užklausimai" + "white-labeling": "Prekės ženklo tinkinimas", + "unlimited-datapoints-and-messages": "Neriboti duomenų taškai ir žinutės", + "unlimited-api-calls": "Neribotos API užklausos" }, "usage-info": { "title": "Naudojimas", - "entities": "Objektai", + "entities": "Subjektai", "api-calls": "API užklausos" }, "functions": { "title": "Funkcijos", - "alarms": "Aliarmai", - "dashboards": "Valdymo skydeliai", - "entities-and-relations": "Objektai ir ryšiai", + "alarms": "Įspėjimai", + "dashboards": "Skydeliai", + "entities-and-relations": "Subjektai ir ryšiai", "profiles": "Profiliai", "advanced-features": "Išplėstinės funkcijos", "notification-center": "Pranešimų centras", @@ -11723,12 +13928,11 @@ "roles-and-permissions": "Vaidmenys ir leidimai", "groups": "Grupės", "integrations": "Integracijos", - "solution-templates": "Sprendimų šablonai", - "scheduler": "Tvarkaraštis", - "white-labeling": "Prekinio ženklo pritaikymas (White-labeling)" + "scheduler": "Planuoklė", + "white-labeling": "Prekės ženklo tinkinimas" }, "devices": { - "view-docs": "Peržiūrėti dokumentaciją", + "view-docs": "Dokumentacija", "inactive": "Neaktyvūs", "active": "Aktyvūs", "total": "Iš viso" @@ -11738,62 +13942,57 @@ "assigned-to-me": "Priskirti man", "total": "Iš viso" }, - "solution-templates": { - "title": "Sprendimų šablonai", - "prototype-plan": "Prototipo planas", - "startup-plan": "Startuolio planas" - }, "getting-started": { "get-started": "Pradėti", "finish": "Baigti", - "done-welcome-title": "Sveiki atvykę!", + "done-welcome-title": "Sveiki atvykę", "done-welcome-text": "Puikiai susitvarkėte!", "sys-admin": { "step1": { - "title": "Sukurkite nuomininką ir jo administratorių", - "content": "

Nuomininkas – tai fizinis ar juridinis asmuo, turintis arba valdantis įrenginius ir išteklius. Nuomininkas gali turėti kelis administratoriaus vartotojus, klientus, įrenginius ir išteklius.

Nuomininko administratorius gali kurti ir valdyti įrenginius, išteklius, klientus bei valdymo skydelius nuomininko paskyroje.

Sekite dokumentaciją, kaip tai atlikti:

", - "how-to-create-tenant": "Kaip sukurti nuomininką ir jo administratorių" + "title": "Sukurkite nuomininką ir nuomininko administratorių", + "content": "

Nuomininkas – tai fizinis ar juridinis asmuo, turintis arba gaminantis įrenginius ir turtą. Nuomininkas gali turėti kelis nuomininko administratorius, klientus, įrenginius ir turtą.

Nuomininko administratorius gali kurti ir valdyti įrenginius, turtą, klientus bei skydelius nuomininko paskyroje.

Kaip tai padaryti, aprašyta dokumentacijoje:

", + "how-to-create-tenant": "Kaip sukurti nuomininką ir nuomininko administratorių" }, "step2": { "title": "Sukonfigūruokite funkciją: Pašto serveris", - "content": "

Pašto serverio konfigūracija būtina vartotojų aktyvavimui, slaptažodžio atkūrimui ir aliarmų pranešimų siuntimui.

Sekite dokumentaciją, kaip tai atlikti:

", + "content": "

Pašto serverio konfigūracija būtina naudotojų aktyvavimui, slaptažodžio atkūrimui ir įspėjimų pranešimų siuntimui.

Kaip tai padaryti, aprašyta dokumentacijoje:

", "how-to-configure-mail-server": "Kaip sukonfigūruoti pašto serverį" }, "step3": { "title": "Sukonfigūruokite funkciją: SMS tiekėjas", - "content": "

Sukonfigūruokite SMS tiekėjus, kad klientai gautų aliarmų pranešimus SMS žinutėmis.

Sekite dokumentaciją, kaip tai atlikti:

", + "content": "

Sukonfigūruokite SMS tiekėjus, kad klientai gautų įspėjimų pranešimus SMS žinutėmis.

Kaip tai padaryti, aprašyta dokumentacijoje:

", "how-to-configure-sms-provider": "Kaip sukonfigūruoti SMS tiekėją" }, "step4": { - "title": "Sukonfigūruokite funkciją: Prekinio ženklo pritaikymas", - "content": "

Lengvai pritaikykite savo įmonės ar produkto logotipą ir spalvų schemą be programavimo ir paslaugos paleidimo iš naujo.

Sekite dokumentaciją, kaip tai atlikti:

", - "how-to-configure-white-labeling": "Kaip sukonfigūruoti prekinio ženklo pritaikymą" + "title": "Sukonfigūruokite funkciją: prekės ženklo tinkinimas", + "content": "

Lengvai tinkinkite savo įmonės ar produkto logotipą ir spalvų schemą be programavimo ir paslaugos paleidimo iš naujo.

Kaip tai padaryti, aprašyta dokumentacijoje:

", + "how-to-configure-white-labeling": "Kaip sukonfigūruoti prekės ženklo tinkinimą" }, "step5": { - "title": "Sukonfigūruokite funkciją: Dvigubas autentifikavimas (2FA)", - "content": "

Pagerinkite paskyrų saugumą naudodami dviejų faktorių autentifikavimą.

Sekite dokumentaciją, kaip tai atlikti:

", + "title": "Sukonfigūruokite funkciją: Dviejų veiksnių autentifikavimas (2FA)", + "content": "

Pagerinkite paskyrų saugumą naudodami dviejų veiksnių autentifikavimą.

Kaip tai padaryti, aprašyta dokumentacijoje:

", "how-to-configure-2fa": "Kaip sukonfigūruoti 2FA" }, "step6": { "title": "Sukonfigūruokite funkciją: OAuth 2", - "content": "

Supaprastinkite nuomininko ir kliento vartotojų prisijungimą naudodami vieningo prisijungimo (Single Sign-On) funkciją per OAuth 2.0.

Sekite dokumentaciją, kaip tai atlikti:

", + "content": "

Supaprastinkite nuomininko ir kliento naudotojų prisijungimą naudodami vieningo prisijungimo funkciją per OAuth 2.0.

Kaip tai padaryti, aprašyta dokumentacijoje:

", "how-to-configure-oauth2": "Kaip sukonfigūruoti OAuth 2" }, "step7": { "title": "Sukonfigūruokite funkciją: Slack", - "content": "

Siųskite pranešimus nuomininko ir kliento vartotojams per Slack pagal jūsų nustatytas pranešimų taisykles.

Sekite dokumentaciją, kaip tai atlikti:

", + "content": "

Siųskite pranešimus nuomininko ir kliento naudotojams per Slack pagal jūsų nustatytas pranešimų taisykles.

Kaip tai padaryti, aprašyta dokumentacijoje:

", "how-to-configure-notifications": "Kaip sukonfigūruoti Slack" } }, "tenant-admin": { "step1": { "title": "Sukurti įrenginį", - "content": "

Sukurkite savo pirmąjį įrenginį platformoje per naudotojo sąsają (UI). Sekite dokumentaciją, kaip tai atlikti:

", + "content": "

Sukurkite savo pirmąjį įrenginį platformoje per naudotojo sąsają. Kaip tai padaryti, aprašyta dokumentacijoje:

", "how-to-create-device": "Kaip sukurti įrenginį" }, "step2": { "title": "Prijungti įrenginį", - "content-before": "

Norint prijungti įrenginį, reikia gauti jo prisijungimo duomenis. Šiame vadove rekomenduojame naudoti numatytuosius automatiškai sugeneruotus prisijungimo duomenis – prieigos raktą (Access Token).

  • Eikite į įrenginių lentelę
  • Spustelėkite įrenginio eilutę, kad atidarytumėte jo informaciją
  • Paspauskite mygtuką „Kopijuoti prieigos raktą“

Naudokite paprastas HTTP komandas duomenų publikavimui. Nepamirškite pakeisti $ACCESS_TOKEN savo įrenginio prieigos raktu:

", + "content-before": "

Norint prijungti įrenginį, reikia gauti jo prisijungimo duomenis. Šiame vadove rekomenduojame naudoti numatytuosius automatiškai sugeneruotus prisijungimo duomenis – prieigos žetoną.

  • Eikite į įrenginių lentelę
  • Spustelėkite įrenginio eilutę, kad atidarytumėte jo informaciją
  • Paspauskite mygtuką „Kopijuoti prieigos žetoną“

Naudokite paprastas HTTP komandas duomenų publikavimui. Nepamirškite pakeisti $ACCESS_TOKEN savo įrenginio prieigos žetonu:

", "ubuntu": { "install-curl": "Įdiekite cURL Ubuntu sistemoje:" }, @@ -11801,53 +14000,290 @@ "install-curl": "Įdiekite cURL MacOS sistemoje:" }, "windows": { - "install-curl": "Nuo Windows 10 b17063 versijos cURL yra įdiegtas pagal nutylėjimą." + "install-curl": "Nuo Windows 10 b17063 versijos cURL yra įdiegtas pagal numatytąją nuostatą." }, - "replace-access-token": "Pakeiskite $ACCESS_TOKEN savo įrenginio prieigos raktu:", - "content-after": "

Taip pat galite naudoti kitus protokolus, tokius kaip MQTT, CoAP ir kt.

Sekite dokumentaciją, kaip tai atlikti:

", + "replace-access-token": "Pakeiskite $ACCESS_TOKEN savo įrenginio prieigos žetonu:", + "content-after": "

Taip pat galite naudoti kitus protokolus, tokius kaip MQTT, CoAP ir kt.

Kaip tai padaryti, aprašyta dokumentacijoje:

", "how-to-connect-device": "Kaip prijungti įrenginį" }, "step3": { - "title": "Sukurti valdymo skydelį", - "content": "

Sukurkite valdymo skydelį duomenų vizualizavimui iš objektų, tokių kaip įrenginiai ar ištekliai.

Sekite dokumentaciją, kaip tai atlikti:

", - "how-to-create-dashboard": "Kaip sukurti valdymo skydelį" + "title": "Sukurti skydelį", + "content": "

Sukurkite skydelį, kad vizualizuotumėte subjektų, tokių kaip turtas, įrenginiai ir kt., duomenis.

Kaip tai padaryti, aprašyta dokumentacijoje:

", + "how-to-create-dashboard": "Kaip sukurti skydelį" }, "step4": { - "title": "Sukonfigūruoti aliarmo taisykles", - "alarm-rules": "Aliarmo taisyklės", - "content": "

Sukurkime aliarmą, kuris suveiks, kai temperatūra pasieks 25°C. Sekite dokumentaciją, kaip tai atlikti:

", - "how-to-configure-alarm-rules": "Kaip sukonfigūruoti aliarmo taisykles" + "title": "Sukonfigūruoti įspėjimų taisykles", + "alarm-rules": "Įspėjimų taisyklės", + "content": "

Sukurkime įspėjimą, kuris suveiks, kai temperatūra pasieks 25°C. Kaip tai padaryti, aprašyta dokumentacijoje:

", + "how-to-configure-alarm-rules": "Kaip sukonfigūruoti įspėjimų taisykles" }, "step5": { - "title": "Sukurti aliarmą", - "content-before": "

Norėdami suaktyvinti aliarmą, siųskite naują telemetrijos reikšmę, didesnę arba lygią 26°C.

", - "replace-access-token": "Pakeiskite $ACCESS_TOKEN savo įrenginio prieigos raktu:", - "content-after": "

Sekite dokumentaciją, kaip tai atlikti:

", - "how-to-create-alarm": "Kaip sukurti aliarmą" + "title": "Sukurti įspėjimą", + "content-before": "

Norėdami suaktyvinti įspėjimą, siųskite naują telemetrijos reikšmę, didesnę arba lygią 26°C.

", + "replace-access-token": "Pakeiskite $ACCESS_TOKEN savo įrenginio prieigos žetonu:", + "content-after": "

Kaip tai padaryti, aprašyta dokumentacijoje:

", + "how-to-create-alarm": "Kaip sukurti įspėjimą" }, "step6": { - "title": "Sukurti klientą ir pasidalyti valdymo skydeliu", - "content": "

Sukūrę galutinio naudotojo valdymo skydelius, kliento vartotojas matys tik savo įrenginius, o kitų klientų duomenys bus paslėpti.

Sekite dokumentaciją, kaip tai atlikti:

", - "how-to-create-customer-and-share-dashboard": "Kaip sukurti klientą ir pasidalyti valdymo skydeliu" + "title": "Sukurti klientą ir pasidalyti skydeliu", + "content": "

Sukūrus galutinio naudotojo skydelius, kliento naudotojas matys tik savo įrenginius, o kitų klientų duomenys bus paslėpti.

Kaip tai padaryti, aprašyta dokumentacijoje:

", + "how-to-create-customer-and-share-dashboard": "Kaip sukurti klientą ir pasidalyti skydeliu" } } + }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript funkcija", + "html": "HTML", + "angular-html-template": "Angular HTML šablonas", + "css": "CSS", + "container-type": "Konteinerio tipas", + "type-plain": "Paprastas HTML", + "type-angular": "Angular", + "resources": "Ištekliai", + "no-resources": "Išteklių nesukonfigūruota" + }, + "api-usage": { + "api-usage": "API naudojimas", + "label": "Etiketė", + "state-name": "Būsenos pavadinimas", + "status": "Būsena", + "status-required": "Būsena yra privaloma.", + "limit": "Maks. limitas", + "limit-required": "Maks. limitas yra privalomas.", + "current-number": "Esamas skaičius", + "current-number-required": "Esamas skaičius yra privalomas.", + "add-key": "Pridėti raktą", + "no-key": "Nėra rakto", + "delete-key": "Ištrinti raktą", + "target-dashboard-state": "Tikslinio skydelio būsena", + "go-to-main-state": "Eiti į numatytąjį rodinį" } }, "icon": { "icon": "Piktograma", "icons": "Piktogramos", + "custom": "Pasirinktinė", "select-icon": "Pasirinkti piktogramą", - "material-icons": "Material piktogramos", + "material-icons": "Material icons", "show-all": "Rodyti visas piktogramas", - "search-icon": "Ieškoti piktogramos", - "no-icons-found": "Nerasta piktogramų pagal '{{iconSearch}}'" + "search-icon": "Ieškokite piktogramos", + "no-icons-found": "Nerasta piktogramų pagal „{{iconSearch}}“" + }, + "subscription": { + "entity-limit-text": "Tačiau galite pereiti į aukštesnį prenumeratos planą, kad padidintumėte savo limitus.", + "upgrade-your-plan": "Pereiti į aukštesnį prenumeratos planą", + "license-management": "Licencijų valdymas", + "perpetual-license": "Nuolatinė licencija", + "subscription": "Prenumerata", + "perpetual": "Nuolatinė", + "manage-license": "Valdyti licenciją", + "updated-ago": "Atnaujinta {{ago}}", + "usage-and-limits": "Naudojimas ir limitai", + "add-ons": "Priedai", + "included": "Įtraukta", + "not-included": "Neįtraukta", + "add-to-license": "Pridėti prie licencijos", + "change-key-title": "Pereinate prie kitos licencijos?", + "change-key-text": "Pereikite prie kitos licencijos arba aktyvuokite nuo tinklo izoliuotą diegimą naudodami neprisijungus naudojamą raktą.", + "enter-key": "Įveskite raktą", + "enter-license-key": "Įveskite licencijos raktą", + "applying-key-text": "Pritaikius raktą pasikeičia šio diegimo licencijos apimtis.", + "keys-issued-text": "Raktai išduodami čia: {{licensePortal}}. Prisijunkite bet kuriame įrenginyje ir nukopijuokite raktą iš ten.", + "check-key": "Tikrinti raktą", + "checking-key": "Tikrinamas šis raktas...", + "current": "Dabartinis", + "this-key": "Šis raktas", + "replace-license": "Pakeisti licenciją", + "new-license-applied": "Pritaikytas naujas licencijos raktas.", + "updates-and-support-until": "Naujinimai ir palaikymas iki {{date}}.", + "next-charge-and-due-date": "Kitas mokėjimas {{total}} {{date}}, mokėjimo terminas — {{dueDate}}.", + "refresh-license-info": "Atnaujinti licencijos informaciją", + "non-production-mode": "Kūrimo režimas — tik ne gamybiniam naudojimui", + "non-production-mode-details": "Įrenginių, turto ir Edge egzempliorių kvotos neribotos; prekės ženklo tinkinimas nepasiekiamas. Nenaudokite šio egzemplioriaus gamybinėje aplinkoje.", + "offline-mode": "Režimas be interneto ryšio", + "devices": "Įrenginiai", + "number-of-devices": "{ count, plural, =1 {1 įrenginys} one {# įrenginys} few {# įrenginiai} other {# įrenginių} }", + "unlimited-devices": "Neribotas įrenginių skaičius", + "add-devices": "Pridėti įrenginių", + "device-limit-warn": "Įrenginių skaičius pasiekė {{ percent }} jūsų limito.", + "device-limit-critical": "Įrenginių skaičius pasiekė jūsų limitą. Nauji įrenginiai neregistruojami, kol limitas nebus padidintas.", + "assets": "Turtas", + "add-assets": "Pridėti turto", + "prod-instances": "Gamybiniai egzemplioriai", + "add-instances": "Pridėti egzempliorių", + "ai-credits": "DI kreditai", + "add-credits": "Pridėti kreditų", + "white-labeling": "Prekės ženklo tinkinimas", + "edge": "Edge skaičiavimas", + "edges": "Edge egzemplioriai", + "add-edges": "Pridėti Edge egzempliorius", + "agents": "Nuotoliniai Agent egzemplioriai", + "add-agents": "Pridėti nuotolinius Agent egzempliorius", + "trendz": "Trendz Analytics", + "name-addon": "{{name}} priedas", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Pridėti {name} } other { Pridėti {name} } }", + "add-addon-subscription": "{{name}} yra mokamas priedas ir padidina jūsų mėnesinį mokėjimą.", + "add-addon-perpetual": "{{name}} yra mokamas priedas, perkamas vieną kartą šiai licencijai.", + "upgrade-plan-devices": "Su {{plan}} planu jūsų įrenginių limitas įtrauktas į planą.", + "upgrade-plan-instances": "Su {{plan}} planu jūsų gamybinių egzempliorių limitas įtrauktas į planą.", + "upgrade-plan-credits": "Su {{plan}} planu jūsų mėnesiniai DI kreditai įtraukti į planą.", + "upgrade-plan-edges": "Su {{plan}} planu jūsų Edge egzempliorių limitas įtrauktas į planą.", + "upgrade-plan-agents": "Su {{plan}} planu jūsų nuotolinių Agent egzempliorių limitas įtrauktas į planą.", + "upgrade-plan-white-labeling": "Kiekvienas mokamas planas apima prekės ženklo tinkinimą.", + "upgrade-plan-addon": "{{name}} yra mokamas priedas. Priedams reikalingas mokamas planas.", + "ce-grant-case": "Bet koks pirkinys paverčia jūsų Community Grant programą nuolatine komercine licencija. Mokate už tai, ką pridedate, o ne už tai, ką jau apima Community Grant programa.", + "pe-pack-case": "Professional Pack priedas yra vienkartinis pirkinys, kurio kaina vienoda visiems Community Grant programos dalyviams.", + "ce-grant-white-label": "Tai, kam jau taikote prekės ženklo tinkinimą, pagal jūsų Community Grant programą lieka nemokama.", + "open-portal-manage-license": "Atidarysime šio diegimo licenciją Licencijų portale. Gali tekti prisijungti. Grįžę spustelėkite „Atnaujinti“.", + "open-portal-upgrade-plan": "Atidarysime Licencijų portalą ir pasiūlysime planą. Gali tekti prisijungti. Grįžę spustelėkite „Atnaujinti“.", + "open-portal": "Atidaryti portalą", + "add-license-item-title": "Norėdami {{ action }} {{ item }}, turite atnaujinti savo {{ package }} sudėtį ThingsBoard Licencijų portale.", + "action-add": "pridėti", + "action-enable": "įjungti", + "package-subscription": "prenumeratos", + "package-perpetual": "licencijos paketo", + "go-to-license-portal": "Eiti į Licencijų portalą", + "add-license-item-step-first": "Nukreipsime jus į Licencijų portalą.", + "add-license-item-step-second": "Jums prisijungus, automatiškai atidarysime atitinkamą {{ package }} informaciją.", + "add-license-item-step-third": "Pridėkite „{{ item }}“ prie savo {{ package }}.", + "add-license-item-step-fourth": "Baigę spustelėkite toliau esantį „Atnaujinti licencijos informaciją“, kad iš karto atnaujintumėte {{ package }} informaciją.", + "request-feature-sysadmin-text": "Ar esate sistemos administratorius?", + "login-here": "Prisijunkite čia", + "to-get-addon": "kad gautumėte priedą.", + "request-edge-title": "Užtikrinkite savo vietų veikimą net tada, kai tinklas neveikia", + "request-edge-text": "Įdiekite Edge egzempliorius, kad paskirstytumėte apdorojimą ir analizę visoje savo infrastruktūroje. Pagrindinės galimybės:", + "edge-card-autonomy-title": "Autonomija", + "edge-card-autonomy-text": "Užtikrina momentinį vietinį veikimą net ir tinklo sutrikimų metu", + "edge-card-filtering-title": "Filtravimas", + "edge-card-filtering-text": "Sumažina debesijos srautą ir išlaidas, siųsdamas tik patikrintus, vertingus duomenis", + "edge-card-latency-title": "Delsa", + "edge-card-latency-text": "Leidžia valdyti realiuoju laiku ir greitai reaguoti, apdorodamas duomenis vietoje", + "edge-card-security-title": "Saugumas", + "edge-card-security-text": "Suteikia saugų buferį tarp OT įrenginių ir viešosios debesijos", + "edge-card-efficiency-title": "Efektyvumas", + "edge-card-efficiency-text": "Normalizuoja ir agreguoja duomenis arti šaltinio ir taip sumažina debesijos apkrovą", + "request-edge-action-text": "Edge valdymas prieinamas kaip priedas. Kreipkitės į sistemos administratorių, kad jį įjungtų.", + "request-access": "Prašyti prieigos", + "requested": "Paprašyta", + "upgrade-plan": "Pereiti į aukštesnį planą", + "learn-more": "Sužinoti daugiau", + "feature-request-sent-title": "Išsiuntėme automatinę užklausą jūsų sistemos administratoriui įjungti priedą „{{addonName}}“", + "feature-request-sent-text": "Skirkite šiek tiek laiko, kol administratorius peržiūrės užklausą ir atnaujins nustatymus. Kad pamatytumėte pakeitimus, gali tekti atnaujinti šį puslapį.", + "request-trendz-title": "Paverskite IoT duomenų rinkinį įžvalgomis ir supaprastinkite sprendimų priėmimą su {{name}}", + "request-trendz-text": "Atraskite galingą IoT analitiką be programavimo vienoje DI valdomoje darbo erdvėje, kurioje galite tyrinėti telemetriją, kurti logiką, aptikti anomalijas, generuoti prognozes ir paversti neapdorotus duomenis aiškiomis, praktiškai pritaikomomis įžvalgomis", + "request-trendz-action-text": "{{name}} galima įsigyti kaip priedą. Susisiekite su savo sistemos administratoriumi, kad jį įjungtų.", + "trendz-card-metric-explorer-title": "Metrikų naršyklė", + "trendz-card-metric-explorer-text": "Išsamiai analizuokite telemetriją be programavimo, kurkite pasirinktines metrikas ir akimirksniu gaukite vaizdžias įžvalgas", + "trendz-card-anomaly-title": "Anomalijų aptikimas", + "trendz-card-anomaly-text": "Automatiškai aptikite neįprastą elgseną savo duomenyse", + "trendz-card-calculation-title": "Apskaičiuotieji laukai", + "trendz-card-calculation-text": "Apibrėžkite verslo logiką, transformuokite telemetriją ir kurkite naujas metrikas", + "trendz-card-prediction-title": "Prognozavimo modeliai", + "trendz-card-prediction-text": "Prognozuokite būsimas reikšmes ir aptikite tendencijas naudodami integruotus ML modelius", + "trendz-card-views-title": "Rodiniai", + "trendz-card-views-text": "Kurkite bendrinamus analitikos skydelius komandoms ir klientams — viskas vienoje vietoje.", + "trendz-card-ai-assistant-title": "DI asistentas", + "trendz-card-ai-assistant-text": "Generuokite logiką, tobulinkite formules ir automatizuokite metrikų kūrimą naudodami natūralios kalbos DI.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integracijos, planuoklė, ataskaitos ir prekės ženklo tinkinimas.", + "pe-pack-desc": "Išplečia jūsų Community Grant programą iki viso funkcijų rinkinio.", + "request-pe-pack": "Paprašyti viso Professional Pack priedo", + "add-pe-pack": "Pridėti visą Professional Pack priedą", + "pe-pack-extend-ce": "Išplečia jūsų Community Grant programą iki viso funkcijų rinkinio.", + "sys-admin-pe-pack-note": "Esate sistemos administratorius? Prisijunkite ir pridėkite Professional Pack priedą skiltyje „Licencijų valdymas“.", + "pe-pack-requested": "Professional Pack priedo užklausa išsiųsta jūsų sistemos administratoriui.", + "white-labeling-promo": "Nustatykite logotipą, spalvas ir pavadinimus nustatymų puslapyje.", + "white-labeling-promo-try": "Nustatykite logotipą, spalvas ir pavadinimus nustatymų puslapyje. Atidarykite jį ir išbandykite.", + "integrations": "Integracijos", + "integrations-promo": "Gaukite duomenis iš LoRaWAN, MQTT, Kafka ir kitų IoT platformų.", + "scheduler": "Planuoklė", + "scheduler-promo": "Vykdykite naujinimus ir siųskite įvykius į taisyklių grandines pagal tvarkaraštį.", + "reports": "Ataskaitos", + "reports-promo": "Kurkite ataskaitas su lentelėmis, diagramomis ir savo prekės ženklu, o tada siųskite jas pagal tvarkaraštį." + }, + "platform-feature": { + "overview": "Apžvalga", + "white-labeling": { + "not-in-plan": "Prekės ženklo tinkinimas neįtrauktas į jūsų planą", + "not-in-ce-grant": "Prekės ženklo tinkinimas neįtrauktas į jūsų Community Grant programą.", + "add": "Pridėti prekės ženklo tinkinimą", + "request": "Paprašyti prekės ženklo tinkinimo", + "offer-title": "Jūsų prekės ženklas, jūsų prisijungimo ekranas, jūsų meniu, jūsų etiketės", + "offer-with-plan-lede": "Prekės ženklo tinkinimas įtrauktas į Pilot planą ir aukštesnius planus. Viskas, ką čia nustatysite, pakeis ThingsBoard elementus — prisijungimo puslapyje, jūsų siunčiamuose el. laiškuose ir kiekviename puslapyje, kuriame dirba jūsų klientai.", + "offer-lede": "Su prekės ženklo tinkinimu viskas, ką čia nustatysite, pakeis ThingsBoard elementus — prisijungimo puslapyje, jūsų siunčiamuose el. laiškuose ir kiekviename puslapyje, kuriame dirba jūsų klientai.", + "pack-offer-lede": "Prekės ženklo tinkinimas įtrauktas į Professional Pack — mokamą jūsų Community Grant programos priedą. Įjungus Professional Pack priedą, viskas, ką čia nustatysite, pakeis ThingsBoard elementus — prisijungimo puslapyje, jūsų siunčiamuose el. laiškuose ir kiekviename puslapyje, kuriame dirba jūsų klientai.", + "sys-admin-wl-note": "Esate sistemos administratorius? Prisijunkite ir pridėkite prekės ženklo tinkinimą skiltyje „Licencijų valdymas“." + }, + "integrations": { + "not-in-ce-grant": "Integracijos neįtrauktos į jūsų Community Grant programą.", + "pack-offer-title": "Gaukite duomenis iš LoRaWAN, MQTT, Kafka ir kitų IoT platformų", + "pack-offer-lede": "Integracijos įeina į Professional Pack – mokamą jūsų Community Grant programos priedą. Kiekviena integracija skaito duomenis iš LoRaWAN tinklo serverio, MQTT ar Kafka brokerio arba kitos IoT platformos – automatiškai sukuria įrenginius, kai šie atsiranda, o jų siunčiamus duomenis įrašo kaip telemetriją.", + "overview": { + "brokers-and-platforms": "Brokeriai ir platformos", + "brokers-and-platforms-desc": "Viena integracija kiekvienam šaltiniui, konfigūruojama ir stebima sąsajoje.", + "data-converters": "Duomenų keitikliai", + "data-converters-desc": "Dekoduokite paties įrenginio naudingąją apkrovą – įskaitant LoRaWAN kodekus – skriptu, nekeisdami to, ką įrenginys siunčia.", + "downlink": "Downlink", + "downlink-desc": "Siųskite komandas ir konfigūraciją atgal į įrenginį tuo pačiu ryšiu.", + "remote-integrations": "Nuotolinės integracijos", + "remote-integrations-desc": "Paleiskite integraciją tinklo pakraštyje, savo serveryje – kol ryšio su ThingsBoard nėra, ji toliau kaupia duomenis buferyje." + }, + "dozen-protocols-brokers-and-platforms": "Dešimtys protokolų, brokerių ir platformų", + "browse-setup-guides-note": "Naršykite sąrankos vadovus mūsų dokumentacijoje." + }, + "scheduler": { + "not-in-ce-grant": "Planuoklė neįtraukta į jūsų Community Grant programą.", + "pack-offer-title": "Vykdykite naujinimus ir siųskite įvykius į taisyklių grandines pagal tvarkaraštį", + "pack-offer-lede": "Planuoklė įeina į Professional Pack – mokamą jūsų Community Grant programos priedą. Vykdykite programinės aparatinės įrangos naujinimus ir siųskite įvykius į taisyklių grandines – kiekvienas įrašas turi pradžios laiką, kartojimo taisyklę ir savo laiko juostą, o platforma jį paleidžia nepriklausomai nuo to, ar kuri nors jūsų sistema dar veikia.", + "overview": { + "repeats-and-timezones": "Kartojimai ir laiko juostos", + "repeats-and-timezones-desc": "Vieną kartą arba kasdien ar kas savaitę pasirinktomis dienomis – ir kiekvienas įvykis apdorojamas savo laiko juostoje.", + "device-commands": "Įrenginio komandos", + "device-commands-desc": "Siųskite komandą įrenginiui nustatytu laiku, be cron užduoties, kuriai reikia saugoti API žetoną.", + "firmware-and-software": "Programinė aparatinė įranga ir programinė įranga", + "firmware-and-software-desc": "Išplatinkite OTA paketą įrenginiui ar visai grupei tą valandą, kai niekas nestebi.", + "rule-chain-triggers": "Taisyklių grandinės paleidikliai", + "rule-chain-triggers-desc": "Siųskite žinutę į taisyklių grandinę – viskas, ką gali atlikti taisyklių grandinė, gali vykti be priežiūros." + } + }, + "reporting": { + "not-in-ce-grant": "Ataskaitos neįtrauktos į jūsų Community Grant programą.", + "pack-offer-title": "Sukurkite ataskaitą vieną kartą ir pristatykite ją kiekvieno suplanuoto vykdymo metu", + "pack-offer-lede": "Ataskaitos yra Professional Pack priedo dalis — tai mokamas jūsų Community Grant programos priedas. Ataskaitą sudarote patys — išdėstote lenteles, diagramas, tekstą ir savo prekės ženklą — o kiekvieno vykdymo rezultatas pasiekia gavėjus pagal tvarkaraštį arba suveikus įspėjimui.", + "overview": { + "your-own-layout": "Jūsų išdėstymas", + "your-own-layout-desc": "Nuvilkite lenteles, diagramas, tekstą ir paveikslėlius į vietą, ir vienas išsaugotas šablonas tiks kiekvienam klientui.", + "pdf-or-csv": "PDF arba CSV", + "pdf-or-csv-desc": "Spausdinti paruoštas dokumentas su nubraižytomis diagramomis arba neapdorotos eilutės tiems, kam reikia skaičių.", + "channel": "El. paštas, Slack, Teams arba SMS", + "channel-desc": "Pasirinkite kanalą kiekvienam gavėjui arba naudotojų grupei — platforma pristato kiekvieno suplanuoto vykdymo rezultatą.", + "attached-to-alarm": "Pridėta prie įspėjimo", + "attached-to-alarm-desc": "Pranešime pateikiama ataskaita, sukurta suveikus įspėjimui pagal tuo metu turimus duomenis." + } + } + }, + "subscription-error": { + "title": "Prenumeratos pažeidimas", + "warning-title": "Prenumeratos perspėjimas", + "upgrade-subscription-plan": "Pereikite į aukštesnį prenumeratos planą", + "upgrade-subscription-plan-to-install-solution-template": "Sprendimo šablonas {{solutionTemplateName}} pasiekiamas nuo {{planName}} plano. Norėdami tęsti, paprašykite sistemos administratoriaus pereiti į aukštesnį planą.", + "limit-reached": { + "device-count": "Pasiekėte didžiausią jūsų prenumeratos plano leidžiamą įrenginių skaičių ({{value}})!", + "asset-count": "Pasiekėte didžiausią jūsų prenumeratos plano leidžiamą turto vienetų skaičių ({{value}})!", + "edge-count": "Pasiekėte didžiausią jūsų prenumeratos plano leidžiamą Edge egzempliorių skaičių ({{value}})!", + "agent-count": "Pasiekėte didžiausią jūsų prenumeratos plano leidžiamą nuotolinių Agent egzempliorių skaičių ({{value}})!" + }, + "feature-disabled": { + "white-labeling": "Prekės ženklo tinkinimo funkcija neleidžiama pagal jūsų prenumeratos planą!" + } }, "phone-input": { "phone-input-label": "Telefono numeris", "phone-input-required": "Telefono numeris yra privalomas", - "phone-input-validation": "Telefono numeris yra neteisingas arba neįmanomas", - "phone-input-pattern": "Neteisingas telefono numeris. Formatą turi atitikti E.164, pvz. {{phoneNumber}}", - "phone-input-hint": "Telefono numeris tarptautiniu formatu, pvz. +37060123456" + "phone-input-validation": "Telefono numeris neteisingas arba negalimas", + "phone-input-pattern": "Neteisingas telefono numeris. Jis turi būti E.164 formato, pvz., {{phoneNumber}}", + "phone-input-hint": "Telefono numeris E.164 formatu, pvz., {{phoneNumber}}" }, "custom": { "widget-action": { @@ -11875,7 +14311,93 @@ "previous-page-label": "Ankstesnis puslapis", "items-per-page-separator": "iš" }, + "trendz-analytics": { + "add-new": "+ Pridėti naują", + "ai-assistant": "DI asistentas", + "ai-assistant-description": "Pokalbio įžvalgos ir automatizuotos ataskaitos", + "anomaly-detection": "Anomalijų aptikimas", + "anomaly-detection-description": "Aktyvūs anomalijų aptikimo modeliai", + "calculated-fields": "Apskaičiuotieji laukai", + "calculated-fields-description": "Pasirinktinė verslo logika ir skaičiavimai", + "contact-admin-message": "Skirkite šiek tiek laiko, kol administratorius peržiūrės užklausą ir atnaujins nustatymus. Kad pamatytumėte pakeitimus, gali tekti atnaujinti šį puslapį.", + "contact-admin-title": "Apie šią klaidą pranešėme jūsų sistemos administratoriui", + "contact-sys-admin": "Susisiekti su sistemos administratoriumi", + "disabled": "Išjungta", + "enabled": "Įjungta", + "explore": "Naršyti", + "loading-ai-assistant": "Įkeliami DI pokalbiai...", + "loading-anomaly-model": "Įkeliami anomalijų aptikimo modeliai...", + "loading-calculation-field": "Įkeliami apskaičiuotieji laukai...", + "loading-metric-explorer": "Įkeliama metrikų naršyklė...", + "loading-prediction-model": "Įkeliami prognozavimo modeliai...", + "loading-views": "Įkeliami rodiniai...", + "metric-explorer": "Metrikų naršyklė", + "metric-explorer-description": "Neseniai analizuotos metrikos greitai navigacijai", + "no-anomaly-models-found": "Anomalijų aptikimo modelių dar nėra", + "no-calculated-fields-found": "Apskaičiuotų laukų dar nėra", + "no-chats-found": "Pokalbių dar nėra", + "no-metrics-found": "Metrikų dar nėra", + "no-prediction-models-found": "Prognozavimo modelių dar nėra", + "no-views-found": "Rodinių dar nėra", + "prediction-models": "Prognozavimo modeliai", + "prediction-models-description": "Prognozavimas ir prognozinė analitika", + "read-upgrade-guide": "Skaityti naujinimo vadovą", + "retry-discovery": "Pakartoti aptikimą", + "retry-healthcheck": "Pakartoti būsenos patikrą", + "save-configuration": "Išsaugoti konfigūraciją", + "service-connection": "Prisijungimas prie paslaugos", + "service-unavailable": "Paslauga {{ name }} laikinai nepasiekiama", + "service-unavailable-message": "Šiuo metu susiduriame su technine problema, dėl kurios negalima pasiekti paslaugos {{ name }}.", + "service-unavailable-incident-reported": "Priežastis – konfigūracijos arba ryšio problema tarp platformos ir analitikos serverių. Praneškite apie šią problemą sistemos administratoriui.", + "service-unavailable-report-issue": "Pranešti apie problemą", + "service-unavailable-request-sent-title": "Išsiuntėme automatinę užklausą dėl šios problemos jūsų sistemos administratoriui", + "service-unavailable-request-sent-message": "Skirkite šiek tiek laiko, kol administratorius peržiūrės užklausą ir atnaujins nustatymus. Kad pamatytumėte pakeitimus, gali tekti atnaujinti šį puslapį.", + "sync": { + "sync-completed": "Sinchronizavimas sėkmingai baigtas", + "sync-disabled": "Sinchronizavimas išjungtas Trendz konfigūracijoje", + "sync-internal-error": "Netikėta vidinė sinchronizavimo klaida", + "sync-not-initialized": "Trendz sinchronizavimas neinicijuotas", + "tb-auth-invalid": "ThingsBoard autentifikavimas nepavyko. Neteisingas API raktas", + "tb-url-mismatch": "Pateiktas ThingsBoard URL nesutampa su ThingsBoard platformoje išsaugotu URL", + "tb-url-unreachable": "ThingsBoard URL nepasiekiamas", + "trendz-auth-invalid": "Trendz autentifikavimas nepavyko. Neteisingas arba nenurodytas Trendz API raktas", + "trendz-unsupported-version": "Trendz versija nepalaikoma", + "trendz-url-unreachable": "Pateiktas Trendz URL nepasiekiamas" + }, + "thingsboard-internal-url": "ThingsBoard vidinis URL", + "thingsboard-internal-url-invalid": "ThingsBoard vidinis URL neteisingas", + "thingsboard-internal-url-required": "ThingsBoard vidinis URL yra privalomas", + "trendz-analytics": "Trendz analitika", + "advanced-analytics": "Išplėstinė analitika", + "trendz-configuration": "Trendz konfigūracija", + "trendz-configuration-unsaved-message": "Jūsų Trendz konfigūracijos pakeitimai neišsaugoti.
Ar norite juos išsaugoti prieš paleisdami aptikimą?", + "trendz-configuration-unsaved-continue-without-saving": "Tęsti neišsaugojus", + "trendz-internal-url": "Trendz vidinis URL", + "trendz-internal-url-invalid": "Trendz vidinis URL yra neteisingas", + "trendz-internal-url-required": "Trendz vidinis URL yra privalomas", + "trendz-settings": "Trendz nustatymai", + "trendz": "Trendz", + "views": "Rodiniai", + "views-description": "Sukonfigūruotos vizualizacijų grupės ir ataskaitos", + "trendz-synced": "Sinchronizavimas sėkmingai baigtas", + "trendz-available": "Sinchronizavimas nebaigtas", + "trendz-unavailable": "Paslauga neaptikta", + "view-all": "Peržiūrėti viską", + "view-type": { + "ai-card": "DI kortelė", + "bar": "Stulpelis", + "card": "Kortelė", + "card-with-line": "Kortelė su linija", + "heatmap": "Šilumos žemėlapis", + "heatmap-calendar": "Šilumos žemėlapio kalendorius", + "line": "Linija", + "pie": "Skritulinė diagrama", + "scatter-plot": "Sklaidos diagrama", + "table": "Lentelė" + } + }, "language": { + "auto": "Automatinė", "language": "Kalba" } } From 885597fee6c71145bc51043359498068801bf414 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Wed, 11 Nov 2026 17:08:18 +0200 Subject: [PATCH 217/275] Updated Polish locale translations for 4.4 (#16614) * Update Polish translation for 4.4: missing keys, plurals, terminology * Remove Polish keys that en_US no longer has --- .../assets/locale/locale.constant-pl_PL.json | 12786 ++++++++++++---- 1 file changed, 9701 insertions(+), 3085 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index 16bac4a035..2ff7f23359 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -1,18 +1,117 @@ { + "setup": { + "activate-platform": "Aktywuj ThingsBoard", + "initial": { + "welcome": "Witamy w ThingsBoard {{version}}", + "title": "Uzyskaj bezpłatną licencję i zacznij tworzyć", + "desc": "Kilka minut w Portalu licencyjnym — utworzysz konto, wybierzesz licencję, a ta instancja aktywuje się sama.", + "open-license-portal": "Otwórz Portal licencyjny", + "already-have-license": "Masz już licencję?", + "free-no-credit-card": "Bezpłatnie na zawsze. Karta kredytowa nie jest wymagana.", + "source-available": "Kod źródłowy dostępny na licencji" + }, + "waiting": { + "live-eyebrow": "Oczekiwanie na aktywację", + "title": "Kontynuuj w Portalu licencyjnym", + "desc": "Zaloguj się lub utwórz konto, wybierz licencję, zaakceptuj warunki. Ta instancja aktywuje się sama po wydaniu licencji.", + "nothing-opened": "Nic się nie otworzyło?", + "paste-link-or-scan-qr-code": "Wklej link tekstowy na dowolnym urządzeniu z dostępem do internetu lub zeskanuj kod QR telefonem.", + "text-link": "Link tekstowy", + "qr-code": "Kod QR", + "qr-code-hint": "Skieruj aparat telefonu na kod, a następnie otwórz link. Telefon musi mieć własne połączenie z internetem.", + "have-key": "Masz klucz licencyjny?", + "activate-key": "Aktywuj licencję za pomocą klucza" + }, + "offline": { + "eyebrow": "Offline", + "title": "Aktywuj z innego urządzenia", + "desc": "Ten serwer nie może połączyć się z Portalem licencyjnym, więc wymaga to dwóch kroków: uzyskaj tam licencję na urządzeniu z dostępem do internetu, a następnie wprowadź klucz tutaj.", + "get-your-license": "Uzyskaj licencję w portalu", + "open-link": "Otwórz ten link na dowolnym urządzeniu z dostępem do internetu. Zalogujesz się lub utworzysz konto, wybierzesz licencję i zaakceptujesz warunki. Następnie portal wyświetli Ci klucz licencyjny.", + "paste-key": "Wklej klucz tutaj", + "no-connected-device": "Nie masz żadnego urządzenia z dostępem do internetu?" + }, + "have-key": { + "title": "Aktywuj licencję za pomocą klucza", + "enter-license-key": "Wprowadź klucz licencyjny", + "enter-license-key-note": "Znajdziesz go na swoim koncie w Portalu licencyjnym: zaloguj się na {{hostName}} na dowolnym urządzeniu, aby go stamtąd skopiować.", + "no-account": "Nie masz konta ani urządzenia z dostępem do internetu?", + "contact-support": "Skontaktuj się z pomocą techniczną" + }, + "key-form": { + "placeholder": "Wklej klucz licencyjny", + "invalid": "Ten klucz nie jest prawidłowy dla tej instancji. Sprawdź, czy nie brakuje znaku, lub skontaktuj się z pomocą techniczną.", + "activate": "Aktywuj", + "activating": "Aktywowanie" + }, + "account": { + "title": "Ta instancja jest aktywowana", + "desc": "Twoja licencja jest zapisana na tym serwerze oraz na Twoim koncie w Portalu licencyjnym.", + "create-sys-admin-account": "Utwórz konto administratora systemu", + "create-sys-admin-account-hint": "Służy do logowania na tym serwerze — to konto oddzielne od konta w Portalu licencyjnym, na którym znajduje się Twoja licencja.", + "email-label": "E-mail", + "email-required": "Wprowadź adres e-mail.", + "email-invalid": "Wprowadź prawidłowy adres e-mail.", + "password-label": "Hasło", + "password-required": "Wprowadź hasło.", + "password-min-length": "Hasło musi mieć co najmniej 6 znaków.", + "confirm-label": "Potwierdź hasło", + "confirm-required": "Potwierdź hasło.", + "confirm-mismatch": "Hasła nie są zgodne.", + "demo-tenant-title": "Skonfiguruj tenant demonstracyjny", + "demo-tenant-desc": "Najszybszy sposób, aby zobaczyć platformę w działaniu. Pulpity, urządzenia i łańcuchy reguł są już skonfigurowane, a użytkownicy tenanta i klienta mogą się od razu zalogować. Jako administrator systemu możesz też otworzyć ten tenant w sekcji Tenanty.", + "create": "Utwórz konto", + "creating": "Tworzenie konta" + }, + "demo-tenant": { + "signed-in-as": "Utworzono konto administratora systemu i zalogowano Cię jako {{email}}.", + "title": "Chcesz przejrzeć tenant demonstracyjny?", + "desc": "Podstawy są już skonfigurowane — otwórz pulpit, zmień regułę lub podłącz własne urządzenie.", + "dashboards": "Pulpity — zbudowane na poniższych urządzeniach, z gotowymi powiązaniami widżetów", + "devices": "Urządzenia — z profilami urządzeń i regułami alarmów; żadne nie wysłało jeszcze danych", + "rule-chains": "Łańcuchy reguł — w których decyduje się o tych alarmach", + "explore": "Przejrzyj tenant demonstracyjny", + "not-now": "Nie teraz", + "not-now-hint": "„Nie teraz” przeniesie Cię do administracji systemu.", + "signing-in-later": "Późniejsze logowanie", + "demo-tenant-hint": "Własny administrator tenanta. Jako administrator systemu możesz też otworzyć ten tenant w sekcji Tenanty, bez hasła." + }, + "non-production": { + "eyebrow": "Wymagane ponowne potwierdzenie", + "title": "Potwierdź, że to wdrożenie nadal nie jest produkcyjne.", + "desc": "Ta instancja działa na bezpłatnej licencji nieprodukcyjnej, którą administrator systemu okresowo potwierdza ponownie. Potwierdzenie nie wpływa na Twoje dane, użytkowników ani łączność urządzeń.", + "confirm": "Potwierdź", + "confirming": "Potwierdzanie", + "sysadmin-required": "Tylko administrator systemu może to potwierdzić.", + "login-as-sysadmin": "Zaloguj się jako administrator systemu", + "state-verify-failed": "Potwierdzono, ale nie udało się zweryfikować stanu. Odśwież stronę.", + "state-not-updated": "Ta instancja nadal zgłasza potwierdzenie jako oczekujące. Odśwież stronę i potwierdź ponownie." + }, + "errors": { + "signin-failed": "Utworzono konto, ale automatyczne logowanie nie powiodło się. Odśwież stronę i zaloguj się ręcznie.", + "state-not-updated": "Konfiguracja zakończona, ale stan nie został zaktualizowany. Odśwież stronę.", + "state-verify-failed": "Konfiguracja zakończona, ale nie udało się zweryfikować stanu. Odśwież stronę.", + "no-sign-up-url": "Ta instancja odpowiedziała bez linku, więc nie ma czego otworzyć.", + "link-expired": "Ten link wygasł. Otwórz ponownie Portal licencyjny, aby uzyskać nowy.", + "activated-state-verify-failed": "Ta instancja ma licencję, ale nie udało się jeszcze odczytać kolejnego kroku. Ponawiamy próbę — możesz też odświeżyć stronę.", + "no-connection": "Brak połączenia z serwerem. Spróbuj ponownie później.", + "request-failed": "Żądanie nie powiodło się. Spróbuj ponownie." + } + }, "access": { "unauthorized": "Nieautoryzowany", "unauthorized-access": "Nieautoryzowany dostęp", "unauthorized-access-text": "Aby mieć dostęp do tego zasobu, musisz się zalogować!", - "access-forbidden": "Dostęp Zabroniony", + "access-forbidden": "Dostęp zabroniony", "access-forbidden-text": "Nie masz praw dostępu do tej lokalizacji!
Spróbuj zalogować się przy użyciu innego użytkownika, jeśli nadal chcesz uzyskać dostęp do tej lokalizacji.", "refresh-token-expired": "Sesja wygasła", "refresh-token-failed": "Nie można odświeżyć sesji", - "permission-denied": "Odmowa pozwolenia", + "permission-denied": "Brak uprawnień", "permission-denied-text": "Nie masz uprawnień do wykonania tej operacji!" }, "account": { "account": "Konto", - "notification-settings": "Ustawienia notyfikacji" + "notification-settings": "Ustawienia powiadomień" }, "action": { "activate": "Aktywuj", @@ -41,20 +140,21 @@ "enter-edit-mode": "Wejdź w tryb edycji", "decline-changes": "Odrzuć zmiany", "open": "Otwórz", - "decline": "Decline", + "decline": "Odrzuć", "close": "Zamknij", "back": "Wstecz", "run": "Uruchom", "sign-in": "Zaloguj się!", "edit": "Edytuj", - "view": "Pogląd", + "view": "Wyświetl", "create": "Utwórz", "drag": "Przeciągnij", "refresh": "Odśwież", "undo": "Cofnij", "copy": "Kopiuj", + "copied": "Skopiowano", "paste": "Wklej", - "copy-reference": "Skopiuj odnośnik", + "copy-reference": "Kopiuj odnośnik", "paste-reference": "Wklej odnośnik", "import": "Importuj", "export": "Eksportuj", @@ -67,6 +167,7 @@ "next-with-label": "Dalej: {{label}}", "read-more": "Czytaj więcej", "hide": "Ukryj", + "test": "Testuj", "done": "Gotowe", "print": "Drukuj", "restore": "Przywróć", @@ -75,26 +176,39 @@ "less": "Mniej", "skip": "Pomiń", "send": "Wyślij", - "reset": "Reset", + "reset": "Resetuj", + "reset-default": "Przywróć domyślne", "show-more": "Pokaż więcej", "dont-show-again": "Nie pokazuj więcej", + "dont-show-this-again": "Nie pokazuj ponownie", "see-documentation": "Zobacz dokumentację", - "clear": "Clear" + "see-debug-events": "Wyświetl zdarzenia debugowania", + "clear": "Wyczyść", + "upload": "Prześlij", + "delete-anyway": "Usuń mimo to", + "delete-selected": "Usuń zaznaczone", + "set": "Ustaw", + "duplicate": "Duplikuj", + "disable": "Wyłącz", + "enable": "Włącz", + "rename": "Zmień nazwę", + "retry": "Ponów" }, "aggregation": { - "aggregation": "Zbiór", - "function": "Funkcja zbioru danych", - "limit": "Wartości maksymalne", + "aggregation": "Agregacja", + "function": "Funkcja agregacji danych", + "limit": "Maks. liczba wartości", "group-interval": "Interwał grupowania", "min": "Minimum", "max": "Maksimum", "avg": "Średnia", "sum": "Suma", - "count": "Ilość", + "count": "Liczba", "none": "Brak" }, "admin": { "settings": "Ustawienia", + "platform": "Platforma", "general": "Ogólne", "general-settings": "Ustawienia ogólne", "home-settings": "Ustawienia strony głównej", @@ -106,15 +220,32 @@ "base-url": "Bazowy adres URL", "base-url-required": "Bazowy adres URL jest wymagany.", "prohibit-different-url": "Zabroń używania nazwy hosta z nagłówków żądań klienta", - "prohibit-different-url-hint": "To ustawienie powinno być włączone w środowiskach produkcyjnych. Po wyłączeniu może powodować problemy z bezpieczeństwem.", - "mail-from": "Adres E-Mail nadawcy", - "mail-from-required": "Adres E-Mail nadawcy jest wymagany.", + "prohibit-different-url-hint": "To ustawienie powinno być włączone w środowiskach produkcyjnych. Po wyłączeniu może powodować problemy z bezpieczeństwem", + "device-connectivity": { + "device-connectivity": "Łączność urządzeń", + "http-s": "HTTP(s)", + "mqtt-s": "MQTT(s)", + "coap-s": "COAP(s)", + "http": "HTTP", + "https": "HTTPs", + "mqtt": "MQTT", + "mqtts": "MQTTs", + "coap": "CoAP", + "coaps": "COAPs", + "hint": "Jeśli pola hosta lub portu są puste, zostanie użyta domyślna wartość protokołu.", + "host": "Host", + "port": "Port", + "port-pattern": "Port musi być dodatnią liczbą całkowitą.", + "port-range": "Port powinien mieścić się w zakresie od 1 do 65535." + }, + "mail-from": "Adres e-mail nadawcy", + "mail-from-required": "Adres e-mail nadawcy jest wymagany.", "smtp-protocol": "Protokół SMTP", "smtp-host": "Host SMTP", "smtp-host-required": "Host SMTP jest wymagany.", "smtp-port": "Port SMTP", - "smtp-port-required": "Musisz podać port smtp.", - "smtp-port-invalid": "To nie wygląda na prawidłowy port smtp.", + "smtp-port-required": "Podaj port SMTP.", + "smtp-port-invalid": "To nie wygląda na prawidłowy port SMTP.", "timeout-msec": "Limit czasu (ms)", "timeout-required": "Limit czasu jest wymagany.", "timeout-invalid": "To nie wygląda na prawidłowy limit czasu.", @@ -125,7 +256,7 @@ "proxy-host-required": "Host proxy jest wymagany.", "proxy-port": "Port proxy", "proxy-port-required": "Port proxy jest wymagany.", - "proxy-port-range": "Port proxy powinien należeć do zakresu od 1 do 65535.", + "proxy-port-range": "Port proxy powinien mieścić się w zakresie od 1 do 65535.", "proxy-user": "Użytkownik proxy", "proxy-password": "Hasło proxy", "change-password": "Zmień hasło", @@ -138,12 +269,10 @@ "mail-template": "Szablon wiadomości", "test": "Testowa wiadomość e-mail", "activation": "Wiadomość o aktywacji konta", - "account-activated": "Wiadomość o aktywacji konta", - "account-lockout": "Komunikat o blokadzie konta", - "reset-password": "Zresetuj wiadomość dotyczącą hasła", - "password-was-reset": "Komunikat o zresetowaniu hasła", - "user-activated": "Wiadomość aktywowana przez użytkownika", - "user-registered": "Wiadomość zarejestrowana przez użytkownika", + "account-activated": "Wiadomość potwierdzająca aktywację konta", + "account-lockout": "Wiadomość o blokadzie konta", + "reset-password": "Wiadomość o resetowaniu hasła", + "password-was-reset": "Wiadomość o zresetowaniu hasła", "api-usage-state-enabled": "Stan użycia interfejsu API włączony", "api-usage-state-warning": "Ostrzeżenie o stanie użycia interfejsu API", "api-usage-state-disabled": "Stan użycia interfejsu API wyłączony", @@ -153,7 +282,7 @@ "mail-body": "Treść wiadomości", "sms-provider": "Dostawca SMS", "sms-provider-settings": "Ustawienia dostawcy SMS", - "use-system-sms-settings": "Skorzystaj z systemowych ustawień dostawcy SMS", + "use-system-sms-settings": "Użyj systemowych ustawień dostawcy SMS", "sms-provider-type": "Typ dostawcy SMS", "sms-provider-type-required": "Typ dostawcy SMS jest wymagany.", "sms-provider-type-aws-sns": "Amazon SNS", @@ -169,7 +298,7 @@ "number-from-required": "Numer telefonu nadawcy jest wymagany.", "number-to": "Numer telefonu adresata", "number-to-required": "Numer telefonu adresata jest wymagany.", - "phone-number-hint": "Numer telefonu w formacie E.164, np. ", + "phone-number-hint": "Numer telefonu w formacie E.164, np. +19995550123", "phone-number-hint-twilio": "Numer telefonu w formacie E.164/identyfikator SID numeru telefonu/SID usługi przesyłania wiadomości, np. +19995550123/PNXXX/MGXXX", "phone-number-pattern": "Nieprawidłowy numer telefonu. Powinien być w formacie E.164, np. +19995550123.", "phone-number-pattern-twilio": "Nieprawidłowy numer telefonu. Powinien być w formacie E.164/identyfikator SID numeru telefonu/SID usługi przesyłania wiadomości, np. +19995550123/PNXXX/MGXXX", @@ -186,7 +315,10 @@ "password-policy": "Polityka haseł", "minimum-password-length": "Minimalna długość hasła", "minimum-password-length-required": "Minimalna długość hasła jest wymagana", - "minimum-password-length-range": "Minimalna długość hasła powinna mieścić się w zakresie od 5 do 50", + "minimum-password-length-range": "Minimalna długość hasła powinna mieścić się w zakresie od 6 do 50", + "maximum-password-length": "Maksymalna długość hasła", + "maximum-password-length-min": "Maksymalna długość hasła powinna wynosić co najmniej 6", + "maximum-password-length-less-min": "Maksymalna długość hasła powinna być większa niż minimalna długość", "minimum-uppercase-letters": "Minimalna liczba wielkich liter", "minimum-uppercase-letters-range": "Minimalna liczba wielkich liter nie może być ujemna", "minimum-lowercase-letters": "Minimalna liczba małych liter", @@ -200,15 +332,23 @@ "password-reuse-frequency-days": "Częstotliwość ponownego użycia hasła w dniach", "password-reuse-frequency-days-range": "Częstotliwość ponownego użycia hasła w dniach nie może być ujemna", "allow-whitespace": "Zezwalaj na białe znaki", + "force-reset-password-if-no-valid": "Wymuś zresetowanie hasła, jeśli jest nieprawidłowe", + "force-reset-password-if-no-valid-hint": "Zachowaj ostrożność przy włączaniu tej funkcji: użytkownicy z nieprawidłowym hasłem będą musieli zresetować je przez e-mail.", "general-policy": "Polityka ogólna", "max-failed-login-attempts": "Maksymalna liczba nieudanych prób logowania, zanim konto zostanie zablokowane", "minimum-max-failed-login-attempts-range": "Maksymalna liczba nieudanych prób logowania nie może być ujemna", "user-lockout-notification-email": "W przypadku blokady konta użytkownika wyślij powiadomienie na e-mail", + "user-activation-token-ttl": "TTL linku aktywacyjnego użytkownika w godzinach", + "user-activation-token-ttl-range": "TTL linku aktywacyjnego użytkownika musi mieścić się w zakresie od 1 do 24 godzin", + "password-reset-token-ttl": "TTL linku do resetowania hasła w godzinach", + "password-reset-token-ttl-range": "TTL linku do resetowania hasła musi mieścić się w zakresie od 1 do 24 godzin", + "mobile-secret-key-length": "Długość tajnego klucza mobilnego", + "mobile-secret-key-length-range": "Długość tajnego klucza mobilnego musi być dodatnia", "domain-name": "Nazwa domeny", "domain-name-unique": "Nazwa domeny i protokół muszą być unikalne.", - "domain-name-max-length": "Nazwa domeny powinna być mniejsza niż 256", - "error-verification-url": "Nazwa domeny nie powinna zawierać symboli „/” i „:”. ", - "connection-settings": "Connection settings", + "domain-name-max-length": "Nazwa domeny powinna mieć mniej niż 256 znaków", + "error-verification-url": "Nazwa domeny nie powinna zawierać symboli „/” i „:”. Przykład: thingsboard.io", + "connection-settings": "Ustawienia połączenia", "oauth2": { "access-token-uri": "URI tokena dostępu", "access-token-uri-required": "Identyfikator URI tokenu dostępu jest wymagany.", @@ -221,33 +361,51 @@ "always-fullscreen": "Zawsze w trybie pełnoekranowym", "authorization-uri": "URI autoryzacji", "authorization-uri-required": "Identyfikator URI autoryzacji jest wymagany.", + "add-client": "Dodaj klienta OAuth 2.0", + "client-details": "Szczegóły klienta OAuth 2.0", + "client": "Klient OAuth 2.0", + "clients": "Klienci OAuth 2.0", + "no-oauth2-clients": "Nie znaleziono klientów OAuth 2.0", + "search-oauth2-clients": "Szukaj klientów OAuth 2.0", + "delete-client-title": "Czy na pewno chcesz usunąć klienta OAuth 2.0 „{{clientName}}”?", + "delete-client-text": "Uwaga: po potwierdzeniu nie będzie można odzyskać klienta ani żadnych powiązanych danych.", + "delete-mobile-app-title": "Czy na pewno chcesz usunąć aplikację mobilną „{{applicationName}}”?", + "delete-mobile-app-text": "Uwaga: po potwierdzeniu nie będzie można odzyskać aplikacji mobilnej ani żadnych powiązanych danych.", + "title": "Tytuł", + "client-title-required": "Tytuł jest wymagany", + "client-title-max-length": "Tytuł powinien mieć mniej niż 100 znaków", + "advanced-settings": "Zaawansowane ustawienia", + "domain-details": "Szczegóły domeny", + "no-domains": "Nie znaleziono domen", + "search-domains": "Szukaj domen", + "mobile-app-details": "Szczegóły aplikacji mobilnej", "client-authentication-method": "Metoda uwierzytelniania klienta", "client-id": "Identyfikator klienta", "client-id-required": "Identyfikator klienta jest wymagany.", - "client-id-max-length": "Identyfikator klienta powinien być mniejszy niż 256", + "client-id-max-length": "Identyfikator klienta powinien mieć mniej niż 256 znaków", "client-secret": "Tajny klucz klienta", "client-secret-required": "Tajny klucz klienta jest wymagany.", - "client-secret-max-length": "Tajny klucz klienta powinien być mniejszy niż 2049", + "client-secret-max-length": "Tajny klucz klienta powinien mieć mniej niż 2049 znaków", "custom-setting": "Ustawienia niestandardowe", "customer-name-pattern": "Wzorzec nazwy klienta", - "customer-name-pattern-max-length": "Wzorzec nazwy klienta powinien być mniejszy niż 256", + "customer-name-pattern-max-length": "Wzorzec nazwy klienta powinien mieć mniej niż 256 znaków", "parent-customer-name-pattern": "Wzorzec nazwy klienta nadrzędnego", "user-groups-name-pattern": "Wzorzec nazw grup użytkowników", - "default-dashboard-name": "Domyślna nazwa panelu", - "default-dashboard-name-max-length": "Domyślna nazwa panelu powinna być mniejsza niż 256", + "default-dashboard-name": "Domyślna nazwa pulpitu", + "default-dashboard-name-max-length": "Domyślna nazwa pulpitu powinna mieć mniej niż 256 znaków", "delete-domain-text": "Uważaj, po potwierdzeniu domena i wszystkie dane dostawcy będą niedostępne.", - "delete-domain-title": "Czy na pewno chcesz usunąć domenę '{{domainName}}'?", + "delete-domain-title": "Czy na pewno chcesz usunąć domenę „{{domainName}}”?", "delete-registration-text": "Uważaj, po potwierdzeniu dane dostawcy będą niedostępne.", - "delete-registration-title": "Czy na pewno chcesz usunąć dostawcę '{{name}}'?", + "delete-registration-title": "Czy na pewno chcesz usunąć dostawcę „{{name}}”?", "email-attribute-key": "Klucz atrybutu adresu e-mail", "email-attribute-key-required": "Klucz atrybutu adresu e-mail jest wymagany.", - "email-attribute-key-max-length": "Klucz atrybutu adresu e-mail powinien być mniejszy niż 32", + "email-attribute-key-max-length": "Klucz atrybutu adresu e-mail powinien mieć mniej niż 32 znaki", "first-name-attribute-key": "Klucz atrybutu imienia", - "first-name-attribute-key-max-length": "Klucz atrybutu imienia powinien być mniejszy niż 32", + "first-name-attribute-key-max-length": "Klucz atrybutu imienia powinien mieć mniej niż 32 znaki", "general": "Ogólne", - "jwk-set-uri": "URI klucza internetowego JSON", + "jwk-set-uri": "URI JSON Web Key", "last-name-attribute-key": "Klucz atrybutu nazwiska", - "last-name-attribute-key-max-length": "Klucz atrybutu nazwiska powinien być mniejszy niż 32", + "last-name-attribute-key-max-length": "Klucz atrybutu nazwiska powinien mieć mniej niż 32 znaki", "login-button-icon": "Ikona przycisku logowania", "login-button-label": "Etykieta dostawcy", "login-button-label-placeholder": "Zaloguj się za pomocą $(Provider label)", @@ -255,74 +413,93 @@ "login-provider": "Dostawca logowania", "mapper": "Maper", "new-domain": "Nowa domena", - "oauth2": "OAuth2", - "password-max-length": "Hasło powinno być mniejsze niż 256", - "redirect-uri-template": "Szablon przekierowania URI", - "copy-redirect-uri": "Skopiuj identyfikator przekierowania URI", + "oauth2": "OAuth 2.0", + "password-max-length": "Hasło powinno mieć mniej niż 256 znaków", + "redirect-uri-template": "Szablon URI przekierowania", + "copy-redirect-uri": "Kopiuj URI przekierowania", "registration-id": "Identyfikator rejestracji", "registration-id-required": "Identyfikator rejestracyjny jest wymagany.", "registration-id-unique": "Identyfikator rejestracyjny musi być unikalny dla systemu.", "scope": "Zakres", "scope-required": "Zakres jest wymagany.", - "tenant-name-pattern": "Wzór nazwy najemcy", - "tenant-name-pattern-required": "Wzorzec nazwy dzierżawy jest wymagany.", - "tenant-name-pattern-max-length": "Wzorzec nazwy dzierżawy powinien być mniejszy niż 256", - "tenant-name-strategy": "Strategia dotycząca nazwy najemcy", + "tenant-name-pattern": "Wzorzec nazwy tenanta", + "tenant-name-pattern-required": "Wzorzec nazwy tenanta jest wymagany.", + "tenant-name-pattern-max-length": "Wzorzec nazwy tenanta powinien mieć mniej niż 256 znaków", + "tenant-name-strategy": "Strategia dotycząca nazwy tenanta", "type": "Typ mapera", "uri-pattern-error": "Nieprawidłowy format URI.", "url": "Adres URL", "url-pattern": "Nieprawidłowy format adresu URL.", "url-required": "Adres URL jest wymagany.", - "url-max-length": "Adres URL powinien być mniejszy niż 256", + "url-max-length": "Adres URL powinien mieć mniej niż 256 znaków", "user-info-uri": "URI informacji o użytkowniku", "user-info-uri-required": "Identyfikator URI informacji o użytkowniku jest wymagany.", - "username-max-length": "Nazwa użytkownika powinna być mniejsza niż 256", + "username-max-length": "Nazwa użytkownika powinna mieć mniej niż 256 znaków", "user-name-attribute-name": "Klucz atrybutu nazwy użytkownika", "user-name-attribute-name-required": "Klucz atrybutu nazwy użytkownika jest wymagany", "protocol": "Protokół", "domain-schema-http": "HTTP", "domain-schema-https": "HTTPS", "domain-schema-mixed": "HTTP+HTTPS", - "enable": "Włącz ustawienia OAuth2", + "enable": "Włącz ustawienia OAuth 2.0", + "disable": "Wyłącz ustawienia OAuth 2.0", + "edge": "Propaguj do instancji Edge", + "edge-enable": "Włącz propagację do instancji Edge", + "edge-disable": "Wyłącz propagację do instancji Edge", "domains": "Domeny", "mobile-apps": "Aplikacje mobilne", - "no-mobile-apps": "Nie skonfigurowano żadnych aplikacji", + "no-mobile-apps": "Nie znaleziono aplikacji mobilnych", + "search-mobile-apps": "Szukaj aplikacji mobilnych", + "send-token": "Wyślij token", + "create-new": "Utwórz nowy", "mobile-package": "Pakiet aplikacji", - "mobile-package-placeholder": "Np.: moja.przykładowa.aplikacja", - "mobile-package-hint": "Dla Androida: Twój własny, unikalny identyfikator aplikacji. Dla iOS: identyfikator Bundle ID", + "mobile-package-placeholder": "Np.: my.example.app", + "mobile-package-hint": "Dla Androida: Twój własny, unikalny identyfikator aplikacji. Dla iOS: identyfikator pakietu produktu.", "mobile-package-unique": "Pakiet aplikacji musi być unikalny.", + "mobile-package-required": "Pakiet aplikacji jest wymagany.", + "mobile-package-max-length": "Pakiet aplikacji powinien mieć mniej niż 256 znaków", + "mobile-package-spaces": "Pakiet aplikacji nie powinien zawierać spacji", "mobile-app-secret": "Tajny klucz aplikacji", + "mobile-app-secret-hint": "Ciąg zakodowany w Base64 reprezentujący co najmniej 512 bitów danych.", + "mobile-app-secret-required": "Tajny klucz aplikacji jest wymagany.", + "mobile-app-secret-min-length": "Tajny klucz aplikacji musi mieć co najmniej 512 bitów danych.", + "mobile-app-secret-base64": "Tajny klucz aplikacji musi być w formacie base64.", "invalid-mobile-app-secret": "Tajny klucz aplikacji może zawierać wyłącznie znaki alfanumeryczne i mieć długość od 16 do 2048 znaków.", - "copy-mobile-app-secret": "Skopiuj tajny klucz aplikacji", - "add-mobile-app": "Dodaj aplikację", + "copy-mobile-app-secret": "Kopiuj tajny klucz aplikacji", + "add-mobile-app": "Dodaj aplikację mobilną", "delete-mobile-app": "Usuń informacje o aplikacji", "providers": "Dostawcy", - "platform-web": "Sieć", + "platform-web": "Web", "platform-android": "Android", "platform-ios": "iOS", "all-platforms": "Wszystkie platformy", - "smtp-provider": "SMTP provider", + "smtp-provider": "Dostawca SMTP", "allowed-platforms": "Dozwolone platformy", - "authentication": "Authentication", - "basic": "Basic", - "provider": "Provider", - "redirect-url": "Redirect URI", - "domain-name": "Domain name", - "redirect-url-template": "Redirect URI template", - "microsoft-tenant-id": "Directory (tenant) Id", - "microsoft-tenant-id-required": "Directory (tenant) Id is required", - "token-uri": "Token URI", - "token-uri-required": "Token URI is required", - "redirect-uri": "Redirect URI", + "authentication": "Uwierzytelnianie", + "basic": "Podstawowe", + "provider": "Dostawca", + "redirect-url": "URI przekierowania", + "domain-name": "Nazwa domeny", + "domain-name-required": "Nazwa domeny jest wymagana", + "redirect-url-template": "Szablon URI przekierowania", + "microsoft-tenant-id": "Identyfikator katalogu (tenanta)", + "microsoft-tenant-id-required": "Identyfikator katalogu (tenanta) jest wymagany", + "token-uri": "URI tokena", + "token-uri-required": "Identyfikator URI tokenu jest wymagany", + "redirect-uri": "URI przekierowania", "google-provider": "Google", "microsoft-provider": "Office 365", "sendgrid-provider": "Sendgrid", - "custom-provider": "Custom", - "generate-access-token": "Generate access token", - "update-access-token": "Update access token", - "access-token-status": "Access token status:", - "token-status-generated": "generated", - "token-status-not-generated": "not generated" + "custom-provider": "Niestandardowy", + "generate-access-token": "Wygeneruj token dostępu", + "update-access-token": "Aktualizuj token dostępu", + "access-token-status": "Status tokenu dostępu:", + "token-status-generated": "wygenerowany", + "token-status-not-generated": "niewygenerowany", + "domain": "Domena", + "no-domain-matching": "Nie znaleziono domen pasujących do „{{entity}}”.", + "domain-required": "Domena jest wymagana", + "no-domain-text": "Nie znaleziono domeny" }, "smpp-provider": { "smpp-version": "Wersja SMPP", @@ -350,32 +527,32 @@ "coding-scheme": "System kodowania", "bind-type-tx": "Nadajnik", "bind-type-rx": "Odbiornik", - "bind-type-trx": "Przekaźnik", + "bind-type-trx": "Nadajnik-odbiornik", "ton-unknown": "Nieznany", "ton-international": "Międzynarodowy", "ton-national": "Krajowy", "ton-network-specific": "Specyficzny dla sieci", - "ton-subscriber-number": "Numer subskrybenta", + "ton-subscriber-number": "Numer abonenta", "ton-alphanumeric": "Alfanumeryczny", "ton-abbreviated": "Skrócony", "npi-unknown": "0 - Nieznane", "npi-isdn": "1 - Plan numeracji ISDN/telefonu (E163/E164)", "npi-data-numbering-plan": "3 - Plan numeracji danych (X.121)", "npi-telex-numbering-plan": "4 - Plan numeracji teleksu (F.69)", - "npi-land-mobile": "6 – Land mobile (E.212)", + "npi-land-mobile": "6 - Lądowa sieć ruchoma (E.212)", "npi-national-numbering-plan": "8 - Krajowy plan numeracji", "npi-private-numbering-plan": "9 - Plan numeracji prywatnej", "npi-ermes-numbering-plan": "10 - Plan numeracji ERMES (ETSI DE/PS 3 01-3)", "npi-internet": "13 - Internet (IP)", - "npi-wap-client-id": "18 - Identyfikator klienta WAP (określony przez Forum WAP)", + "npi-wap-client-id": "18 - Identyfikator klienta WAP (do określenia przez WAP Forum)", "scheme-smsc": "0 - Domyślny alfabet SMSC (ASCII dla krótkiego i długiego kodu oraz GSM dla numeru bezpłatnego)", "scheme-ia5": "1 - IA5 (ASCII dla krótkiego i długiego kodu, Latin 9 dla numeru bezpłatnego (ISO-8859-9))", - "scheme-octet-unspecified-2": "2 — oktet nieokreślony (8-bitów binarnie)", - "scheme-latin-1": "3 - Łacina 1 (ISO-8859-1)", - "scheme-octet-unspecified-4": "4 — oktet nieokreślony (8-bitowy plik binarny)", + "scheme-octet-unspecified-2": "2 - Oktet nieokreślony (8-bitowe dane binarne)", + "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", + "scheme-octet-unspecified-4": "4 - Oktet nieokreślony (8-bitowe dane binarne)", "scheme-jis": "5 - JIS (X 0208-1990)", "scheme-cyrillic": "6 – Cyrylica (ISO-8859-5)", - "scheme-latin-hebrew": "7 – Łacina/Hebrajski (ISO-8859-8)", + "scheme-latin-hebrew": "7 - Łaciński/hebrajski (ISO-8859-8)", "scheme-ucs-utf": "8 - UCS2/UTF-16 (ISO/IEC-10646)", "scheme-pictogram-encoding": "9 - Kodowanie piktogramów", "scheme-music-codes": "10 - Kody muzyczne (ISO-2022-JP)", @@ -387,7 +564,7 @@ "queue-name-required": "Nazwa kolejki jest wymagana!", "queues": "Kolejki", "queue-partitions": "Partycje", - "queue-submit-strategy": "Prześlij strategię", + "queue-submit-strategy": "Strategia przesyłania", "queue-processing-strategy": "Strategia przetwarzania", "queue-configuration": "Konfiguracja kolejki", "repository-settings": "Ustawienia repozytorium", @@ -396,9 +573,9 @@ "repository-url-required": "Adres URL repozytorium jest wymagany.", "default-branch": "Domyślna nazwa gałęzi", "repository-read-only": "Tylko do odczytu", - "show-merge-commits": "Pokaż zmiany scalające (merge commits)", + "show-merge-commits": "Pokaż zatwierdzenia scalające", "authentication-settings": "Ustawienia uwierzytelniania", - "auth-method": "Metoda Uwierzytelnienia", + "auth-method": "Metoda uwierzytelniania", "auth-method-username-password": "Hasło / token dostępu", "auth-method-username-password-hint": "Użytkownicy GitHuba muszą korzystać z tokenów dostępu z uprawnieniami do zapisu w repozytorium.", "auth-method-private-key": "Klucz prywatny", @@ -418,10 +595,36 @@ "auto-commit-entities": "Obiekty automatycznego zatwierdzania", "no-auto-commit-entities-prompt": "Brak obiektów skonfigurowanych do automatycznego zatwierdzania", "delete-auto-commit-settings-title": "Czy na pewno chcesz usunąć ustawienia automatycznego zatwierdzania?", - "delete-auto-commit-settings-text": "Bądź ostrożny, po potwierdzeniu ustawienia automatycznego zatwierdzania zostaną usunięte, a automatyczne zatwierdzanie zostanie wyłączone dla wszystkich obiektów.", + "delete-auto-commit-settings-text": "Uwaga: po potwierdzeniu ustawienia automatycznego zatwierdzania zostaną usunięte, a automatyczne zatwierdzanie zostanie wyłączone dla wszystkich obiektów.", + "mobile-app": { + "mobile-app": "Aplikacja mobilna", + "mobile-app-qr-code-widget-settings": "Ustawienia widżetu kodu QR aplikacji mobilnej", + "applications": "Aplikacje", + "default": "Domyślny", + "custom": "Niestandardowy", + "android": "Android", + "ios": "iOS", + "appearance": "Wygląd", + "appearance-on-home-page": "Wygląd na stronie głównej", + "enabled": "Włączony", + "disabled": "Wyłączony", + "badges": "Plakietki", + "label": "Etykieta", + "label-required": "Etykieta jest wymagana", + "label-max-length": "Etykieta powinna mieć maksymalnie 50 znaków", + "right": "Po prawej", + "left": "Po lewej", + "set": "Ustaw", + "preview": "Podgląd", + "connect-mobile-app": "Połącz aplikację mobilną", + "use-system-settings": "Użyj ustawień systemowych", + "warning-not-set-white-labeling": "Tych ustawień nie można zastosować bez podania bazowego adresu URL w brandingu logowania. Przed edycją ustawień widżetu kodu QR ustaw ", + "base-url": "Bazowy adres URL" + }, "2fa": { "2fa": "Weryfikacja dwuetapowa", "available-providers": "Dostępni dostawcy", + "available-providers-required": "Należy skonfigurować co najmniej jednego dostawcę 2FA.", "issuer-name": "Nazwa emitenta", "issuer-name-required": "Nazwa emitenta jest wymagana.", "max-verification-failures-before-user-lockout": "Maksymalna liczba błędów weryfikacji przed zablokowaniem użytkownika", @@ -433,51 +636,59 @@ "number-of-codes-pattern": "Liczba kodów musi być dodatnią liczbą całkowitą.", "number-of-codes-required": "Liczba kodów jest wymagana.", "provider": "Dostawca", - "retry-verification-code-period": "Okres ponownej próby weryfikacji kodu (s)", + "retry-verification-code-period": "Okres ponownej próby weryfikacji kodu", "retry-verification-code-period-pattern": "Minimalny czas trwania okresu wynosi 5 sekund", "retry-verification-code-period-required": "Okres ponownej próby weryfikacji kodu jest wymagany.", - "total-allowed-time-for-verification": "Całkowity dozwolony czas weryfikacji (s)", + "total-allowed-time-for-verification": "Całkowity dozwolony czas weryfikacji", "total-allowed-time-for-verification-pattern": "Minimalny całkowity dozwolony czas wynosi 60 sekund", "total-allowed-time-for-verification-required": "Całkowity dozwolony czas jest wymagany.", "use-system-two-factor-auth-settings": "Użyj systemowych ustawień weryfikacji dwuetapowej", "verification-code-check-rate-limit": "Limit szybkości sprawdzania kodu weryfikacyjnego", - "verification-code-lifetime": "Okres ważności kodu weryfikacyjnego (s)", + "verification-code-lifetime": "Okres ważności kodu weryfikacyjnego", "verification-code-lifetime-pattern": "Okres ważności kodu weryfikacyjnego musi być dodatnią liczbą całkowitą.", "verification-code-lifetime-required": "Okres ważności kodu weryfikacyjnego jest wymagany.", "verification-message-template": "Szablon wiadomości weryfikacyjnej", "verification-limitations": "Ograniczenia weryfikacji", "verification-message-template-pattern": "Wiadomość weryfikacyjna musi zawierać wzór: ${code}", "verification-message-template-required": "Szablon wiadomości weryfikacyjnej jest wymagany.", - "within-time": "W ciągu (sek)", + "within-time": "W ciągu", "within-time-pattern": "Czas musi być dodatnią liczbą całkowitą.", - "within-time-required": "Czas jest wymagany." + "within-time-required": "Czas jest wymagany.", + "force-2fa": "Wymuś weryfikację dwuetapową", + "enforce-for": "Wymuś dla" }, "jwt": { "security-settings": "Ustawienia zabezpieczeń JWT", "issuer-name": "Nazwa emitenta", "issuer-name-required": "Nazwa emitenta jest wymagana.", - "signings-key": "Klucz do podpisu", - "signings-key-hint": "Ciąg zakodowany w formacie Base64 reprezentujący co najmniej 512 bitów danych.", - "signings-key-required": "Klucz do podpisu jest wymagany.", + "signings-key": "Klucz podpisujący", + "signings-key-hint": "Ciąg zakodowany w Base64 reprezentujący co najmniej 512 bitów danych.", + "signings-key-required": "Klucz podpisujący jest wymagany.", "signings-key-min-length": "Klucz podpisujący musi mieć co najmniej 512 bitów danych.", "signings-key-base64": "Klucz podpisujący musi być w formacie base64.", "expiration-time": "Czas ważności tokena (s)", "expiration-time-required": "Czas ważności tokena jest wymagany.", + "expiration-time-max": "Maksymalny dozwolony czas to 2147483647 sekund (68 lat).", "expiration-time-min": "Minimalny czas to 60 sekund (1 minuta).", - "refresh-expiration-time": "Czas wygaśnięcia tokena odświeżenia (s)", + "refresh-expiration-time": "Czas ważności tokena odświeżania (s)", "refresh-expiration-time-required": "Czas ważności tokena odświeżania jest wymagany.", + "refresh-expiration-time-max": "Maksymalny dozwolony czas to 2147483647 sekund (68 lat).", "refresh-expiration-time-min": "Minimalny czas to 900 sekund (15 minut).", - "refresh-expiration-time-less-token": "Czas odświeżania tokenu musi być dłuższy.", + "refresh-expiration-time-less-token": "Czas ważności tokena odświeżania musi być dłuższy niż czas ważności tokena.", "generate-key": "Wygeneruj klucz", "info-header": "Wszyscy użytkownicy będą musieli się ponownie zalogować", - "info-message": "Zmiana klucza podpisującego JWT spowoduje, że wszystkie wydane tokeny staną się nieważne. " + "info-message": "Zmiana klucza podpisującego JWT spowoduje, że wszystkie wydane tokeny staną się nieważne. Wszyscy użytkownicy będą musieli zalogować się ponownie. Dotyczy to również skryptów korzystających z REST API/WebSocket." }, "resources": "Biblioteki", "notifications": "Powiadomienia", "notifications-settings": "Ustawienia powiadomień", "slack-api-token": "Token API Slacka", "slack": "Slack", - "slack-settings": "Ustawienia Slacka" + "slack-settings": "Ustawienia Slacka", + "mobile-settings": "Ustawienia mobilne", + "firebase-service-account-file": "Plik JSON z danymi uwierzytelniającymi konta usługi Firebase", + "select-firebase-service-account-file": "Przeciągnij i upuść plik z danymi uwierzytelniającymi konta usługi Firebase lub ", + "use-system-mobile-settings": "Użyj systemowych ustawień mobilnych" }, "ai-assistant": { "configure-with-ai": "Skonfiguruj z AI", @@ -489,18 +700,48 @@ "yesterday": "Wczoraj", "last-7-days": "Ostatnie 7 dni", "older": "Starsze", - "delete-chat-title": "Czy na pewno chcesz usunąć '{{name}}'?", + "delete-chat-title": "Czy na pewno chcesz usunąć „{{name}}”?", "delete-chat-text": "Wszystkie wiadomości czatu zostaną utracone", "delete-chat-confirm": "Tak, usuń", "action-approval-required": "Wymagane zatwierdzenie akcji", "approve": "Zatwierdź", + "approve-all": "Zatwierdź wszystkie kolejne działania", "deny": "Odrzuć", "processing": "Przetwarzanie...", "approved": "Gotowe", "denied": "Odrzucone", "error": "Niepowodzenie", "thinking": "Myślę...", + "connection-lost": "Utracono połączenie z asystentem AI. Ponowne łączenie...", + "reconnect-failed": "Nie udało się ponownie połączyć z asystentem AI. Otwórz czat ponownie, aby zobaczyć odpowiedź.", + "ask-the-assistant": "Zapytaj asystenta AI", + "send": "Wyślij", + "new-line": "Nowy wiersz", + "focus-composer": "Przejdź do pola wiadomości", + "shortcuts": "Skróty klawiszowe", + "add-files": "Dodaj pliki", + "add-files-text": "Pliki PDF, arkusze kalkulacyjne, obrazy lub tekst.", + "add-files-hint": "Maksymalnie {{count}}, każdy do {{size}}. Możesz też upuścić je tutaj.", + "remove-file": "Usuń {{name}}", + "attachment-failed": "Przesyłanie nie powiodło się", + "attachment-load-failed": "Nie udało się wczytać pliku", + "attachment-uploading": "Przesyłanie · {{progress}} %", + "attachment-unsupported": "Nieobsługiwany format: dozwolony jest plik PDF, arkusz kalkulacyjny, obraz lub tekst", + "attachment-larger-than": "Większy niż {{size}}", + "attachment-svg-failed": "Nie można przekonwertować tego pliku SVG na obraz", + "attachment-over-limit": "Liczba plików przekracza {{count}}", + "file-kind": { + "image": "Obraz", + "pdf": "PDF", + "table": "Tabela", + "document": "Dokument", + "slides": "Slajdy", + "json": "JSON", + "text": "Tekst", + "file": "Plik" + }, "rename-chat-title": "Zmień nazwę tego czatu", + "export-chat": "Eksportuj czat", "main-title": "Cześć! Jestem Twoim asystentem AI" }, "alarm-rule": { @@ -508,9 +749,636 @@ "ai-assistant-example-suggest-rules-message": "Przejrzyj moje urządzenia i zaproponuj reguły alarmów warte skonfigurowania.", "ai-assistant-example-inactivity-label": "Alarm nieaktywności urządzenia", "ai-assistant-example-inactivity-message": "Utwórz regułę alarmu, która wyzwala ostrzeżenie, gdy urządzenie przestaje wysyłać telemetrię przez ponad 10 minut.", + "alarm-rules-tab": "Reguły alarmów", + "alarm-rule": "Reguła alarmu", + "alarm-rules": "Reguły alarmów", + "alarm-rules-old": "Stare", + "alarm-rules-actual": "Bieżące", + "severities": "Ważność", + "cleared": "Warunek wyczyszczenia", + "delete-title": "Czy na pewno chcesz usunąć regułę alarmu „{{title}}”?", + "delete-text": "Uwaga, po potwierdzeniu reguła alarmu i wszystkie powiązane z nią dane zostaną bezpowrotnie utracone.", + "delete-multiple-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 regułę alarmu} one {# regułę alarmu} few {# reguły alarmów} other {# reguł alarmów} }?", + "delete-multiple-text": "Uwaga, po potwierdzeniu wszystkie wybrane reguły alarmów zostaną usunięte, a wszystkie powiązane dane zostaną bezpowrotnie utracone.", + "create": "Utwórz nową regułę alarmu", + "add": "Dodaj regułę alarmu", + "copy": "Kopiuj konfigurację reguły alarmu", + "details": "Szczegóły reguły alarmu", + "no-found": "Nie znaleziono reguł alarmów", + "list": "{ count, plural, =1 {Jedna reguła alarmu} one {# reguła alarmu} other {Lista # reguł alarmów} }", + "selected-fields": "Wybrano {count, plural, =1 {1 regułę alarmu} one {# regułę alarmu} few {# reguły alarmów} other {# reguł alarmów} }", + "import": "Importuj regułę alarmu", + "file": "Plik reguły alarmu", + "export": "Eksportuj regułę alarmu", + "export-failed-error": "Nie można wyeksportować reguły alarmu: {{error}}", + "entity-type": "Typ obiektu", + "entity-type-required": "Typ obiektu jest wymagany.", + "alarm-type": "Typ alarmu", + "alarm-type-hint": "Unikalny identyfikator (np. HighTempAlarm) w zakresie inicjatora alarmu (urządzenia, zasobu itp.), aby zapobiec konfliktom.", + "alarm-type-required": "Typ alarmu jest wymagany.", + "alarm-type-pattern": "Typ alarmu jest nieprawidłowy.", + "alarm-type-max-length": "Typ alarmu powinien mieć mniej niż 256 znaków.", + "clear-alarm": "Wyczyść alarm", + "value-argument": "Argument", + "value-argument-required": "Argument jest wymagany.", + "static-settings": "Ustawienia statyczne", + "configuration": "Konfiguracja", + "static-schedule": "Statyczny", + "dynamic-schedule": "Dynamiczny", + "operation-and": "I", + "operation-or": "LUB", + "condition-during": "Przez {{during}}", + "condition-during-dynamic": "Przez „{{ attribute }}”", + "condition-repeat-times": "Powtarza się {count, plural, =1 {1 raz} one {# raz} other {# razy} }", + "condition-repeat-times-dynamic": "Powtarza się „{{ attribute }}” razy", + "filter-preview": "Podgląd filtra", + "condition-settings": "Ustawienia warunku", + "static": "Statyczny", + "dynamic": "Dynamiczny", + "argument-filters": "Filtry argumentów", + "argument-name": "Nazwa argumentu", + "value-type": "Typ wartości", + "general": "Ogólne", + "filters": "Filtry", + "date-time-hint": "Argument musi być podany w milisekundach epoki. Przykład: 1698839340000 odpowiada 2023-11-01 12:49:00 UTC.", + "operation": "Operacja", + "value-source": "Źródło wartości", + "value": "Wartość", + "ignore-case": "Ignoruj wielkość liter", + "condition": "Warunek", + "script": "Skrypt", + "add-filter": "Dodaj filtr argumentu", + "edit-filter": "Filtr argumentu", + "remove-filter": "Usuń filtr argumentu", + "no-filter": "Co najmniej jeden filtr jest wymagany.", + "conditions": { + "simple": "Prosty", + "duration": "Czas trwania", + "repeating": "Powtarzający się" + }, + "schedule-title": "Harmonogram", + "edit-schedule": "Edytuj harmonogram alarmu", + "schedule-type": "Typ harmonogramu", + "schedule-type-required": "Typ harmonogramu jest wymagany.", + "schedule": { + "any-time": "Aktywny przez cały czas", + "specific-time": "Aktywny w określonym czasie", + "custom": "Niestandardowy" + }, + "schedule-day": { + "monday": "Poniedziałek", + "tuesday": "Wtorek", + "wednesday": "Środa", + "thursday": "Czwartek", + "friday": "Piątek", + "saturday": "Sobota", + "sunday": "Niedziela" + }, + "schedule-days": "Dni", + "schedule-time": "Czas", + "schedule-time-from": "Od", + "schedule-time-to": "Do", + "schedule-days-of-week-required": "Należy wybrać co najmniej jeden dzień tygodnia.", + "tbel": "TBEL", + "expression-type": { + "simple": "Prosty", + "script": "Skrypt" + }, + "operation-type": { + "and": "I", + "or": "Lub" + }, + "filter-predicate-type": { + "string": "Ciąg znaków", + "numeric": "Liczbowy", + "boolean": "Logiczny", + "complex": "Złożony" + }, + "alarm-rule-additional-info": "Dodatkowe informacje", + "edit-alarm-rule-additional-info": "Edytuj dodatkowe informacje", + "alarm-rule-additional-info-placeholder": "Wprowadź tutaj swoje komentarze i uwagi, aby wyświetlić je w szczegółach alarmu w sekcji „Dodatkowe informacje”", + "alarm-rule-additional-info-hint": "Wskazówka: użyj ${Nazwa argumentu}, aby podstawić wartości argumentów używanych w warunku reguły alarmu.", + "alarm-rule-additional-info-icon-hint": "Użyj nazwy argumentu, aby podstawić wartości argumentów używanych w warunku reguły alarmu.", + "alarm-rule-mobile-dashboard": "Pulpit mobilny", + "alarm-rule-mobile-dashboard-hint": "Używany przez aplikację mobilną jako pulpit szczegółów alarmu.", + "alarm-rule-no-mobile-dashboard": "Nie wybrano pulpitu", + "alarm-rule-condition": "Warunek reguły alarmu", + "enter-alarm-rule-condition-prompt": "Dodaj warunek", + "enter-alarm-rule-clear-condition-prompt": "Dodaj warunek wyczyszczenia", + "edit-alarm-rule-condition": "Warunek alarmu", + "condition-type": "Typ warunku", + "condition-type-hint": "Opcje „Czas trwania” i „Powtarzający się” są niedostępne, gdy w filtrze użyto operacji „brak danych przez”.", + "select-alarm-severity": "Wybierz ważność alarmu", + "add-create-alarm-rule-prompt": "Co najmniej jeden warunek wyzwalający jest wymagany.", + "add-create-alarm-rule": "Dodaj warunek wyzwalający", + "add-clear-alarm-rule": "Dodaj warunek wyczyszczenia", + "condition-duration": "Czas trwania warunku", + "condition-duration-value": "Wartość czasu trwania", + "condition-duration-time-unit": "Jednostka czasu", + "condition-duration-value-range": "Wartość czasu trwania powinna mieścić się w zakresie od 1 do 2147483647.", + "condition-duration-value-pattern": "Wartość czasu trwania powinna być liczbą całkowitą.", + "condition-duration-value-required": "Wartość czasu trwania jest wymagana.", + "condition-duration-time-unit-required": "Jednostka czasu jest wymagana.", + "condition-repeating-value": "Liczba zdarzeń", + "condition-repeating-value-hint": "Aktualizacja dowolnego argumentu reguły alarmu będzie liczona jako zdarzenie", + "condition-repeating-value-range": "Liczba zdarzeń powinna mieścić się w zakresie od 1 do 2147483647.", + "condition-repeating-value-pattern": "Liczba zdarzeń powinna być wartością całkowitą.", + "condition-repeating-value-required": "Liczba zdarzeń jest wymagana.", + "create-conditions": "Warunki wyzwalania", + "clear-condition": "Warunek wyczyszczenia", + "no-clear-alarm-rule": "Nie skonfigurowano warunku wyczyszczenia.", + "advanced-settings": "Zaawansowane ustawienia", + "propagate-alarm": "Propaguj alarm do powiązanych obiektów", + "alarm-rule-relation-types-list": "Typy relacji", + "alarm-rule-relation-types-list-hint": "Określa typy relacji służące do filtrowania powiązanych obiektów. Jeśli nie zostaną ustawione, alarm zostanie propagowany do wszystkich powiązanych obiektów.", + "propagate-alarm-to-owner": "Propaguj alarm do właściciela obiektu (klienta lub tenanta)", + "propagate-alarm-to-owner-hierarchy": "Propaguj alarm w hierarchii właścicieli obiektu", + "propagate-alarm-to-tenant": "Propaguj alarm do tenanta", + "alarm-rule-filter-title": "Filtr reguł alarmów", + "filter-title": "Filtr", + "debugging": "Debugowanie reguły alarmu", + "any-type": "Dowolny typ", + "enter-alarm-rule-type": "Wprowadź typ alarmu", + "no-alarm-rule-types-matching": "Nie znaleziono typów alarmów pasujących do „{{entitySubtype}}”.", + "alarm-rule-type-list-empty": "Nie wybrano typów alarmów.", + "alarm-rule-type-list": "Lista typów alarmów", + "alarm-rule-entity-list": "Lista obiektów", + "missing-for": "brak danych przez", + "time-unit": "Jednostka", + "mode": "Tryb", + "type": "Typ", + "value-required": "Wartość jest wymagana.", + "min-value": "Wartość musi wynosić co najmniej 1.", + "argument-in-use": "Argument jest używany jako argument ogólny.", + "import-invalid-alarm-rule-type": "Nie można zaimportować reguły alarmu: nieprawidłowa struktura reguły alarmu.", + "no-filter-preview": "Nie określono filtra", + "filter-operation": { + "and": "I", + "or": "Lub" + }, "ai-assistant-initial-prompt-placeholder": "Opisz, co chcesz skonfigurować..." }, + "secret-storage": { + "secrets-storage": "Magazyn sekretów", + "no-found": "Nie znaleziono sekretów", + "add": "Dodaj sekret", + "search": "Szukaj sekretów", + "list": "{ count, plural, =1 {Jeden sekret} one {Lista # sekretu} other {Lista # sekretów} }", + "selected-fields": "Wybrano { count, plural, =1 {1 sekret} one {# sekret} few {# sekrety} other {# sekretów} }", + "type": "Typ", + "name": "Nazwa", + "name-required": "Nazwa jest wymagana.", + "name-pattern": "Nazwa sekretu zawiera nieobsługiwane znaki. Nie może zawierać znaków „{”, „}”, „;” ani znaków sterujących.", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków.", + "description": "Opis", + "edit-description": "Edytuj opis", + "set-description": "Ustaw opis", + "types": { + "text": "Tekst", + "file": "Plik" + }, + "value": "Wartość", + "value-required": "Wartość jest wymagana.", + "delete": "Usuń sekret", + "delete-secrets": "Usuń sekrety", + "delete-secret-title": "Czy na pewno chcesz usunąć sekret „{{secretName}}”?", + "delete-secret-text": "Uwaga, po potwierdzeniu sekret i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-secrets-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 sekret} one {# sekret} few {# sekrety} other {# sekretów} }?", + "delete-secrets-action-title": "Usuń { count, plural, =1 {1 sekret} one {# sekret} few {# sekrety} other {# sekretów} }", + "delete-secrets-text": "Uwaga, po potwierdzeniu wszystkie wybrane sekrety zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "delete-secrets-in-use-text": "Aby usunąć ten sekret, najpierw usuń jego użycie z powyższych obiektów.", + "secrets-is-in-use-text": "Ten sekret jest obecnie używany przez inne obiekty na platformie i nie można go usunąć, dopóki nie przestanie być używany:", + "secrets-are-in-use-text": "Nie wszystkie sekrety zostały usunięte, ponieważ są używane przez inne obiekty.
Aby wyświetlić powiązane obiekty, kliknij przycisk Odwołania w odpowiednim wierszu sekretu.
Aby usunąć te sekrety, najpierw usuń ich użycie z obiektów, w których są wymienione.", + "selected-secrets": "Wybrano { count, plural, =1 {1 sekret} one {# sekret} few {# sekrety} other {# sekretów} }", + "use-secret-storage": "Użyj magazynu sekretów", + "dialog-title": "Dodaj sekret", + "use-storage": "Użyj magazynu", + "create": { + "text": "Utwórz nowy", + "file": "Prześlij nowy" + }, + "autocomplete-title": { + "text": "Sekret", + "text-required": "Sekret jest wymagany.", + "file": "Sekret plikowy", + "file-required": "Sekret plikowy jest wymagany." + }, + "used-secret-title": "Sekret jest używany przez inne obiekty", + "no-secrets-matching": "Nie znaleziono sekretów pasujących do „{{entity}}”.", + "no-secrets-found": "Nie znaleziono sekretów.", + "use-secret": "Użyj sekretu", + "change-value": "Zmień wartość", + "action-use": "Użyj" + }, + "ai-models": { + "ai-models": "Modele AI", + "ai-model": "Model AI", + "ai-model-view": "Wyświetl model AI", + "model": "Model", + "name": "Nazwa", + "ai-provider": "Dostawca AI", + "customer-access": "Dostęp klienta", + "customer-access-hint": "Zezwala użytkownikom klienta na wysyłanie żądań czatu do tego modelu, np. z aplikacji Trendz Analytics. Konfiguracja modelu i dane uwierzytelniające nigdy nie są ujawniane.", + "no-found": "Nie znaleziono modeli AI", + "list": "{ count, plural, =1 {Jeden model} one {Lista # modelu} few {Lista # modeli} many {Lista # modeli} other {Lista # modeli} }", + "selected-fields": "Wybrano { count, plural, =1 {1 model} one {# model} few {# modele} other {# modeli} }", + "add": "Dodaj model", + "delete-model-title": "Czy na pewno chcesz usunąć model „{{modelName}}”?", + "delete-model-text": "Uwaga, po potwierdzeniu model i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-models-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 model} one {# model} few {# modele} other {# modeli} }?", + "delete-models-text": "Uwaga, po potwierdzeniu wszystkie wybrane modele zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "ai-providers": { + "openai": "OpenAI", + "azure-openai": "Azure OpenAI", + "google-ai-gemini": "Google Gemini (Gemini API)", + "google-vertex-ai-gemini": "Google Gemini (Agent Platform - Vertex AI)", + "mistral-ai": "Mistral AI", + "anthropic": "Anthropic", + "amazon-bedrock": "Amazon Bedrock", + "github-models": "GitHub Models", + "ollama": "Ollama" + }, + "name-required": "Nazwa jest wymagana.", + "name-max-length": "Nazwa może mieć maksymalnie 255 znaków.", + "provider": "Dostawca", + "api-key": "Klucz API", + "api-key-required": "Klucz API jest wymagany.", + "api-key-open-ai-required": "Klucz API jest wymagany w przypadku korzystania z oficjalnego API OpenAI.", + "project-id": "ID projektu", + "project-id-required": "ID projektu jest wymagany", + "location": "Lokalizacja", + "location-required": "Lokalizacja jest wymagana.", + "service-account-key-file": "Plik klucza konta usługi", + "service-account-key-file-required": "Plik klucza konta usługi jest wymagany.", + "no-file": "Nie wybrano pliku.", + "drop-file": "Upuść plik lub kliknij, aby wybrać plik do przesłania.", + "personal-access-token": "Osobisty token dostępu", + "personal-access-token-required": "Osobisty token dostępu jest wymagany.", + "configuration": "Konfiguracja", + "model-id": "ID modelu", + "model-id-required": "ID modelu jest wymagany.", + "deployment-name": "Nazwa wdrożenia", + "deployment-name-required": "Nazwa wdrożenia jest wymagana", + "set": "Ustaw", + "region": "Region", + "region-required": "Region jest wymagany.", + "access-key-id": "ID klucza dostępu", + "access-key-id-required": "ID klucza dostępu jest wymagany.", + "secret-access-key": "Tajny klucz dostępu", + "secret-access-key-required": "Tajny klucz dostępu jest wymagany.", + "temperature": "Temperatura", + "temperature-hint": "Dostosowuje poziom losowości odpowiedzi modelu. Wyższe wartości zwiększają losowość, a niższe ją zmniejszają.", + "temperature-min": "Musi wynosić 0 lub więcej.", + "top-p": "Top P", + "top-p-hint": "Tworzy pulę najbardziej prawdopodobnych tokenów, spośród których wybiera model. Wyższe wartości tworzą większą i bardziej zróżnicowaną pulę, a niższe — mniejszą.", + "top-p-min-max": "Musi wynosić więcej niż 0 i najwyżej 1.", + "top-k": "Top K", + "top-k-hint": "Ogranicza wybór modelu do stałego zbioru „K” najbardziej prawdopodobnych tokenów.", + "top-k-min": "Musi wynosić 0 lub więcej.", + "presence-penalty": "Kara za obecność", + "presence-penalty-hint": "Nakłada stałą karę na prawdopodobieństwo tokena, jeśli pojawił się on już w tekście.", + "frequency-penalty": "Kara za częstotliwość", + "frequency-penalty-hint": "Nakłada na prawdopodobieństwo tokena karę, która rośnie wraz z częstotliwością jego występowania w tekście.", + "max-output-tokens": "Maksymalna liczba tokenów wyjściowych", + "max-output-tokens-hint": "Określa maksymalną liczbę tokenów, jaką \nmodel może wygenerować w jednej odpowiedzi.", + "context-length": "Długość kontekstu", + "context-length-hint": "Określa rozmiar okna kontekstu w tokenach. Ta wartość ustala łączny limit pamięci modelu, obejmujący zarówno dane wejściowe użytkownika, jak i wygenerowaną odpowiedź.", + "endpoint": "Punkt końcowy", + "endpoint-required": "Punkt końcowy jest wymagany.", + "baseurl": "Bazowy adres URL", + "baseurl-required": "Bazowy adres URL jest wymagany.", + "service-version": "Wersja usługi", + "check-connectivity": "Sprawdź łączność", + "check-connectivity-success": "Żądanie testowe zakończyło się powodzeniem", + "check-connectivity-failed": "Żądanie testowe nie powiodło się", + "no-model-matching": "Nie znaleziono modeli pasujących do „{{entity}}”.", + "model-required": "Model jest wymagany.", + "no-model-text": "Nie znaleziono modeli.", + "authentication": "Uwierzytelnianie", + "authentication-basic-hint": "Używa standardowego uwierzytelniania HTTP Basic. Nazwa użytkownika i hasło zostaną połączone, zakodowane w Base64 i wysłane w nagłówku „Authorization” z każdym żądaniem do serwera Ollama.", + "authentication-token-hint": "Używa uwierzytelniania tokenem Bearer. Podany token zostanie wysłany bezpośrednio w nagłówku „Authorization” z każdym żądaniem do serwera Ollama.", + "authentication-type": { + "none": "Brak", + "basic": "Podstawowy", + "token": "Token" + }, + "username": "Nazwa użytkownika", + "username-required": "Nazwa użytkownika jest wymagana.", + "password": "Hasło", + "password-required": "Hasło jest wymagane.", + "token": "Token", + "token-required": "Token jest wymagany." + }, "calculated-fields": { + "expression": "Wyrażenie", + "no-found": "Nie znaleziono pól obliczeniowych", + "list": "{ count, plural, =1 {Jedno pole obliczeniowe} one {Lista # pola obliczeniowego} few {Lista # pól obliczeniowych} other {Lista # pól obliczeniowych} }", + "add": "Dodaj pole obliczeniowe", + "selected-fields": "Wybrano { count, plural, one {# pole obliczeniowe} few {# pola obliczeniowe} other {# pól obliczeniowych} }", + "type": { + "simple": "Prosty", + "simple-hint": "Proste obliczenie arytmetyczne na podstawie argumentów wejściowych.", + "script": "Skrypt", + "script-hint": "Obliczenie na podstawie zdefiniowanych argumentów za pomocą skryptu TBEL.", + "geofencing": "Geofencing", + "geofencing-hint": "Ocena pozycji GPS obiektu i jej zmian względem skonfigurowanych grup stref geofencingu.", + "propagation": "Propagacja", + "propagation-hint": "Propagacja danych do obiektów nadrzędnych lub podrzędnych na podstawie kierunku i typu relacji.", + "related-entities-aggregation": "Agregacja powiązanych obiektów", + "related-entities-aggregation-hint": "Agregacja najnowszych danych z powiązanych obiektów.", + "time-series-data-aggregation": "Agregacja danych szeregów czasowych", + "time-series-data-aggregation-hint": "Agregacja danych historycznych z bieżącego obiektu." + }, + "preview": "Podgląd", + "arguments": "Argumenty", + "decimals-by-default": "Domyślna liczba miejsc dziesiętnych", + "debugging": "Debugowanie pola obliczeniowego", + "calculated-field-details": "Szczegóły pola obliczeniowego", + "argument-name": "Nazwa argumentu", + "name": "Nazwa", + "datasource": "Źródło danych", + "add-argument": "Dodaj argument", + "test-script-function": "Testuj funkcję skryptu", + "no-arguments": "Co najmniej jeden argument jest wymagany.", + "argument-settings": "Ustawienia argumentu", + "argument-current": "Bieżący obiekt", + "argument-current-tenant": "Bieżący tenant", + "argument-device": "Urządzenie", + "argument-asset": "Zasób", + "argument-customer": "Klient", + "argument-tenant": "Bieżący tenant", + "argument-owner": "Bieżący właściciel", + "argument-relation-query": "Powiązane obiekty", + "argument-type": "Typ argumentu", + "attribute": "Atrybut", + "copy-argument-name": "Kopiuj nazwę argumentu", + "timeseries-key": "Klucz szeregu czasowego", + "device-name": "Nazwa urządzenia", + "latest-telemetry": "Najnowsza telemetria", + "rolling": "Kroczący szereg czasowy", + "attribute-scope": "Zakres atrybutu", + "server-attributes": "Atrybuty serwera", + "client-attributes": "Atrybuty klienta", + "shared-attributes": "Atrybuty współdzielone", + "attribute-key": "Klucz atrybutu", + "default-value": "Domyślna wartość", + "default-value-required": "Domyślna wartość jest wymagana.", + "limit": "Maks. liczba wartości", + "time-window": "Okno czasowe", + "customer-name": "Nazwa klienta", + "asset-name": "Nazwa zasobu", + "timeseries": "Szereg czasowy", + "output": "Wynik", + "output-hint": "Określa, jak przetwarzany jest wynik.", + "create": "Utwórz nowe pole obliczeniowe", + "file": "Plik pola obliczeniowego", + "invalid-file-error": "Nieprawidłowy format pliku. Upewnij się, że plik jest prawidłowym plikiem JSON.", + "import": "Importuj pole obliczeniowe", + "export": "Eksportuj pole obliczeniowe", + "export-failed-error": "Nie można wyeksportować pola obliczeniowego: {{error}}", + "output-type": "Typ wyniku", + "delete-title": "Czy na pewno chcesz usunąć pole obliczeniowe „{{title}}”?", + "delete-text": "Uwaga, po potwierdzeniu pole obliczeniowe i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-multiple-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 pole obliczeniowe} one {# pole obliczeniowe} few {# pola obliczeniowe} other {# pól obliczeniowych} }?", + "delete-multiple-text": "Uwaga, po potwierdzeniu wszystkie wybrane pola obliczeniowe zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "test-with-this-message": "Przetestuj z tą wiadomością", + "use-latest-timestamp": "Użyj najnowszego znacznika czasu", + "calculated-field-reprocessing": "Ponowne przetwarzanie pola obliczeniowego", + "cancel-reprocessing": "Anuluj ponowne przetwarzanie", + "details": "Szczegóły", + "finish": "Zakończ", + "reprocess-calculated-field": "Przetwórz ponownie pole obliczeniowe", + "reprocessing-cancelled": "Anulowano ponowne przetwarzanie", + "reprocessing-completed": "Zakończono ponowne przetwarzanie", + "reprocessing-entities-data": "Ponowne przetwarzanie danych obiektów...", + "reprocessing-failed": "Ponowne przetwarzanie zakończyło się błędami", + "reprocessing-in-progress": "Trwa ponowne przetwarzanie...", + "submitting-tasks": "Przesyłanie zadań...", + "task-failed-reprocess": "Ponowne przetwarzanie zadania nie powiodło się", + "tasks-failed-reprocess": "Nie udało się ponownie przetworzyć {{ error }} z {{ total }} obiektów", + "entity-coordinates": "Współrzędne obiektu", + "latitude-time-series-key": "Klucz szeregu czasowego dla szerokości geograficznej", + "latitude-time-series-key-required": "Klucz szeregu czasowego dla szerokości geograficznej jest wymagany.", + "longitude-time-series-key": "Klucz szeregu czasowego dla długości geograficznej", + "longitude-time-series-key-required": "Klucz szeregu czasowego dla długości geograficznej jest wymagany.", + "geofencing-zone-groups": "Grupy stref geofencingu", + "geofencing-zone-groups-settings": "Ustawienia grupy stref geofencingu", + "target-zone": "Strefa docelowa", + "perimeter-key": "Klucz obwodu", + "report-strategy": "Strategia raportowania", + "no-zone-configured": "Wymagana jest co najmniej jedna strefa.", + "no-zone-configured-required": "Należy skonfigurować co najmniej jedną grupę stref.", + "add-zone-group": "Dodaj grupę stref", + "report-transition-event-only": "Tylko zdarzenia przejścia", + "report-presence-status-only": "Tylko status obecności", + "report-transition-event-and-presence": "Status obecności i zdarzenia przejścia", + "perimeter-attribute-key": "Klucz atrybutu obwodu", + "perimeter-attribute-key-required": "Klucz atrybutu obwodu jest wymagany.", + "perimeter-attribute-key-pattern": "Klucz atrybutu obwodu jest nieprawidłowy.", + "entity-zone-relationship": "Ścieżka od obiektu do stref", + "direction": "Kierunek relacji", + "direction-from": "Od obiektu do strefy", + "direction-to": "Od strefy do obiektu", + "relation-type": "Typ relacji", + "create-relation-with-matched-zones": "Utwórz relacje obiektu źródłowego z dopasowanymi strefami", + "relation-level": "Poziom relacji", + "fetch-last-available-level": "Pobierz tylko ostatni dostępny poziom", + "zone-group-refresh-interval": "Interwał odświeżania grup stref", + "copy-zone-group-name": "Kopiuj nazwę grupy stref", + "open-details-page": "Otwórz stronę szczegółów obiektu", + "level": "Poziom", + "direction-level": "Kierunek", + "direction-up": "W górę", + "direction-up-parent": "W górę do obiektu nadrzędnego", + "direction-down": "W dół", + "direction-down-child": "W dół do obiektu podrzędnego", + "add-level": "Dodaj poziom", + "delete-level": "Usuń poziom", + "no-level": "Nie skonfigurowano poziomu", + "levels-required": "Należy skonfigurować co najmniej jeden poziom.", + "max-allowed-levels-error": "Poziom relacji przekracza maksymalną dozwoloną wartość.", + "propagation-path-related-entities": "Ścieżka propagacji do powiązanych obiektów", + "propagate-type": { + "arguments-only": "Tylko argumenty", + "expression-result": "Wynik obliczenia" + }, + "script": "Skrypt", + "data-propagate": "Dane do propagacji", + "output-key": "Klucz wyjściowy", + "copy-output-key": "Kopiuj klucz wyjściowy", + "aggregation-path-related-entities": "Ścieżka agregacji do powiązanych obiektów", + "deduplication-interval": "Interwał deduplikacji", + "deduplication-interval-min": "Interwał deduplikacji powinien wynosić co najmniej {{ sec }} s.", + "deduplication-interval-hint": "Minimalny czas między agregacjami telemetrii.", + "deduplication-interval-required": "Interwał deduplikacji jest wymagany.", + "calculated-field-filter-title": "Filtr pól obliczeniowych", + "filter-title": "Filtr", + "calculated-field-types": "Typy pól obliczeniowych", + "events": "Zdarzenia", + "any-type": "Dowolny typ", + "metrics": { + "metrics": "Metryki", + "metrics-empty": "Należy skonfigurować co najmniej jedną metrykę.", + "metric-name": "Nazwa metryki", + "metric-name-required": "Nazwa metryki jest wymagana.", + "metric-name-pattern": "Nazwa metryki jest nieprawidłowa.", + "metric-name-duplicate": "Metryka o takiej nazwie już istnieje.", + "metric-name-max-length": "Nazwa metryki powinna mieć mniej niż 256 znaków.", + "metric-name-forbidden": "Nazwa metryki jest zarezerwowana i nie może zostać użyta.", + "copy-metric-name": "Kopiuj nazwę metryki", + "argument-name": "Nazwa argumentu", + "aggregation": "Agregacja", + "aggregation-type": { + "avg": "Średnia", + "min": "Minimum", + "max": "Maksimum", + "sum": "Suma", + "count": "Liczba", + "count-unique": "Liczba unikalnych" + }, + "filtered": "Filtrowane", + "value-source": "Źródło wartości", + "value-source-hint": "Określa, w jaki sposób uzyskiwana jest wartość do agregacji.", + "value-source-type": { + "key": "Klucz", + "function": "Funkcja" + }, + "no-metrics-configured": "Wymagana jest co najmniej jedna metryka.", + "add-metric": "Dodaj metrykę", + "max-metrics": "Osiągnięto maksymalną liczbę metryk.", + "metric-settings": "Ustawienia metryki", + "filter": "Filtr", + "filter-hint": "Umożliwia filtrowanie obiektów podczas agregacji. Funkcja filtrująca musi zwracać wartość logiczną i może używać wszystkich skonfigurowanych argumentów." + }, + "output-strategy": { + "strategy": "Strategia", + "process-right-away": "Przetwarzaj natychmiast", + "process-rule-chains": "Przetwarzaj przez łańcuchy reguł", + "save-time-series": "Zapisz w szeregach czasowych", + "save-database": "Zapisz w bazie danych", + "save-latest-values": "Zapisz w najnowszych wartościach", + "send-web-sockets": "Wyślij do WebSockets", + "save-calculated-fields": "Wyślij do pól obliczeniowych", + "update-attribute-only-on-value-change": "Aktualizuj atrybut tylko przy zmianie wartości", + "send-attributes-updated-notification": "Wyślij powiadomienie o aktualizacji atrybutów", + "ttl": "Niestandardowy TTL", + "ttl-required": "TTL jest wymagany", + "ttl-min": "Minimalna dozwolona wartość TTL to 0", + "processing-parameters": "Parametry przetwarzania", + "hint": { + "strategy": "Określa, czy wynik jest przetwarzany natychmiast, czy wysyłany do łańcucha reguł w celu dodatkowego przetwarzania.", + "processing-options": "Opcje przetwarzania", + "update-attribute-only-on-value-change": "Aktualizuje atrybut przy każdej przychodzącej wiadomości, niezależnie od tego, czy wartość się zmieniła. Zwiększa to wykorzystanie API i obniża wydajność.", + "update-attribute-only-on-value-change-enabled": "Aktualizuje atrybut tylko wtedy, gdy wartość się zmienia. Jeśli wartość się nie zmieniła, znaczniki czasu nie są aktualizowane, a powiadomienia nie są wysyłane.", + "send-attributes-updated-notification": "Wysyła zdarzenie aktualizacji atrybutów do domyślnego łańcucha reguł.", + "save-time-series": "Zapisuje dane szeregów czasowych w tabeli ts_kv w bazie danych.", + "save-database": "Zapisuje dane atrybutów w bazie danych.", + "save-latest-values": "Aktualizuje dane szeregów czasowych w tabeli ts_kv_latest w bazie danych, jeśli nowa wartość jest nowsza.", + "send-web-sockets-attribute": "Powiadamia subskrypcje WebSocket o aktualizacjach danych atrybutów.", + "send-web-sockets-time-series": "Powiadamia subskrypcje WebSocket o aktualizacjach danych szeregów czasowych.", + "save-calculated-fields-attribute": "Powiadamia pola obliczeniowe o aktualizacjach danych atrybutów.", + "save-calculated-fields-time-series": "Powiadamia pola obliczeniowe o aktualizacjach danych szeregów czasowych.", + "ttl": "Określa okres przechowywania danych szeregów czasowych. Jeśli opcja jest wyłączona, używany jest TTL z profilu tenanta." + } + }, + "aggregate-interval-type": "Typ interwału agregacji", + "aggregate-interval-value": "Wartość interwału agregacji", + "aggregate-interval-value-required": "Wartość interwału agregacji jest wymagana.", + "aggregate-interval-value-min": "Wartość interwału agregacji powinna wynosić co najmniej { sec, plural, one {# sekundę} few {# sekundy} many {# sekund} other {# sekundy} }.", + "aggregate-interval-value-step-multiple-of": "Wartość interwału agregacji musi być dzielnikiem lub wielokrotnością 1 dnia.", + "aggregate-period": { + "hour": "Godzina", + "day": "Dzień", + "week": "Tydzień (pon. - niedz.)", + "week-sun-sat": "Tydzień (niedz. - sob.)", + "month": "Miesiąc", + "quarter": "Kwartał", + "year": "Rok", + "custom": "Niestandardowy" + }, + "aggregate-period-hint-offset": "Interwał agregacji będzie wynosił: {{ interval }}", + "aggregate-period-hint-offset-and-so-on": "Interwał agregacji będzie wynosił: {{ interval }} i tak dalej.", + "entity-aggregation": { + "argument-hint": "Dane zostaną pobrane z bieżącego obiektu.", + "argument-title-hint": "Określa argumenty wejściowe używane do agregacji.", + "argument-setting-hint": "Najnowsza telemetria to jedyny dostępny typ argumentu dla tego pola obliczeniowego.", + "aggregation-interval": "Interwał agregacji", + "aggregation-interval-hint": "Określa, jak często wykonywana jest agregacja. Przykład: co 1 godzinę dane są agregowane o 00:00, 01:00, 02:00 itd. Wyniki agregacji są zapisywane ze znacznikiem czasu odpowiadającym początkowi interwału agregacji.", + "apply-offset": "Zastosuj przesunięcie do interwału agregacji", + "apply-offset-hint": "Określa, o ile przesunąć początek każdego okresu agregacji (np. +10 minut - 00:10, 01:10).", + "offset-value": "Wartość przesunięcia", + "offset-value-required": "Wartość przesunięcia jest wymagana.", + "offset-value-min": "Wartość przesunięcia musi być dodatnią liczbą całkowitą.", + "offset-value-max": "Wartość przesunięcia powinna być mniejsza niż wartość interwału agregacji.", + "wait-delay": "Zastosuj limit czasu oczekiwania na opóźnioną telemetrię", + "wait-delay-hint": "Określa, jak długo czekać na opóźnioną telemetrię po zakończeniu interwału. Jeśli taka telemetria nadejdzie, wynik dla tego interwału zostanie przeliczony ponownie.", + "duration": "Czas trwania", + "duration-required": "Czas trwania jest wymagany.", + "duration-min": "Czas trwania powinien wynosić co najmniej 1 minutę.", + "duration-hint": "Jak długo czekać na opóźnione dane po zakończeniu interwału.", + "produce-intermediate-result": "Generuj wynik pośredni", + "produce-intermediate-result-hint": "Oblicza metryki w trakcie bieżącego interwału, aby wygenerować wynik pośredni. Aktualizacje następują nie częściej niż raz na {{ time }}." + }, + "hint": { + "arguments-simple-with-rolling": "Pole obliczeniowe typu prostego nie powinno zawierać kluczy typu kroczącego szeregu czasowego.", + "arguments-propagate-arguments-with-rolling": "Typ „Kroczący szereg czasowy” jest niezgodny z propagacją „Tylko argumenty”.", + "arguments-propagate-argument-entity-type": "Typ obiektu jest niezgodny z propagacją „Tylko argumenty”.", + "arguments-propagate-argument-must-current-entity": "Co najmniej jeden argument musi mieć skonfigurowany typ obiektu źródłowego „Bieżący obiekt”.", + "arguments-empty": "Należy określić co najmniej jeden argument.", + "expression-required": "Wyrażenie jest wymagane.", + "expression-invalid": "Wyrażenie jest nieprawidłowe", + "expression-max-length": "Długość wyrażenia powinna być mniejsza niż 255 znaków.", + "argument-name-required": "Nazwa argumentu jest wymagana.", + "argument-name-pattern": "Nazwa argumentu jest nieprawidłowa.", + "argument-name-duplicate": "Argument o takiej nazwie już istnieje.", + "argument-name-max-length": "Nazwa argumentu powinna być krótsza niż 256 znaków.", + "argument-name-forbidden": "Nazwa argumentu jest zarezerwowana i nie może być użyta.", + "output-key-required": "Klucz wyjściowy jest wymagany.", + "output-key-pattern": "Klucz wyjściowy jest nieprawidłowy.", + "output-key-duplicate": "Klucz o takiej nazwie już istnieje.", + "output-key-max-length": "Klucz wyjściowy powinien być krótszy niż 256 znaków.", + "output-key-forbidden": "Klucz wyjściowy jest zarezerwowany i nie może być użyty.", + "entity-type-required": "Typ obiektu jest wymagany", + "name-required": "Nazwa jest wymagana.", + "name-pattern": "Nazwa jest nieprawidłowa.", + "name-duplicate": "Taka nazwa już istnieje.", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków.", + "name-forbidden": "Nazwa jest zarezerwowana i nie może być użyta.", + "argument-type-required": "Typ argumentu jest wymagany.", + "max-args": "Osiągnięto maksymalną liczbę argumentów.", + "decimals-range": "Domyślna liczba miejsc dziesiętnych powinna być liczbą od 0 do 15.", + "expression": "Domyślne wyrażenie pokazuje, jak przeliczyć temperaturę ze stopni Fahrenheita na stopnie Celsjusza.", + "arguments-entity-not-found": "Nie znaleziono obiektu docelowego argumentu.", + "use-latest-timestamp": "Po włączeniu obliczona wartość zostanie zapisana z najnowszym znacznikiem czasu z telemetrii argumentów zamiast z czasem serwera.", + "reprocessing": "Jeśli nie zdefiniowano z góry konkretnego znacznika czasu, wyniki ponownego przetwarzania są zapisywane ze znacznikiem czasu odpowiedniej historycznej telemetrii, która wyzwoliła obliczenie.", + "entity-coordinates": "Określ klucze szeregów czasowych, które dostarczają współrzędne GPS obiektu (szerokość i długość geograficzną).", + "geofencing-zone-groups": "Zdefiniuj co najmniej jedną grupę stref geofencingu do sprawdzania (np. „allowedZones”, „restrictedZones”). Każda grupa musi mieć unikalną nazwę, która jest używana jako prefiks kluczy telemetrii wyjściowej pola obliczeniowego.", + "perimeter-attribute-key": "Ustaw klucz atrybutu zawierającego definicję obwodu strefy geofencingu. Obwód jest zawsze pobierany z atrybutów serwera obiektu strefy.", + "report-strategy": "Status obecności informuje, czy obiekt jest obecnie wewnątrz grupy stref (INSIDE), czy poza nią (OUTSIDE). Zdarzenia przejścia informują, kiedy obiekt wszedł do grupy stref (ENTERED) lub ją opuścił (LEFT).", + "create-relation-with-matched-zones": "Automatycznie twórz i utrzymuj relacje między obiektem a strefami, w których obecnie się znajduje. Relacje są usuwane, gdy obiekt opuszcza strefę, i tworzone, gdy wchodzi do nowej.", + "relation-type-required": "Typ relacji jest wymagany.", + "relation-level-required": "Poziom relacji jest wymagany.", + "relation-level-min": "Minimalna wartość poziomu relacji to 1.", + "relation-level-max": "Maksymalna wartość poziomu relacji to {{max}}.", + "geofencing-empty": "Należy skonfigurować co najmniej jedną grupę stref.", + "geofencing-entity-not-found": "Nie znaleziono obiektu docelowego geofencingu.", + "max-geofencing-zone": "Osiągnięto maksymalną liczbę stref geofencingu.", + "zone-group-refresh-interval": "Określa, jak często są odświeżane grupy stref skonfigurowane za pomocą powiązanych obiektów.", + "zone-group-refresh-interval-required": "Interwał odświeżania grup stref jest wymagany.", + "zone-group-refresh-interval-min": "Interwał odświeżania grupy stref powinien wynosić co najmniej {{ min }} s.", + "propagation-path-related-entities": "Określa bezpośrednią, jednopoziomową ścieżkę do powiązanego obiektu na podstawie wybranego kierunku i typu relacji. Obsługiwane są tylko relacje między obiektami typu urządzenie, zasób, klient i tenant. Maksymalna liczba obiektów wyznaczanych przez ścieżkę relacji to {{ max }}.", + "data-propagate": "Określa dane do propagowania z argumentów skonfigurowanych poniżej. Opcja „Tylko argumenty” używa pobranych danych bezpośrednio, a „Wynik obliczenia” oblicza z tych danych nową wartość.", + "aggregation-path-related-entities": "Określa jednopoziomową ścieżkę agregacji przez bezpośrednie relacje z obiektami nadrzędnymi lub podrzędnymi na podstawie kierunku i typu relacji. Obsługiwane są tylko relacje między obiektami typu urządzenie, zasób, klient i tenant. Maksymalna liczba obiektów wyznaczanych przez ścieżkę relacji to {{ max }}.", + "arguments-aggregation": "Określa argumenty wejściowe używane do filtrowania i agregacji.", + "setting-arguments-aggregation": "Dane będą pobierane z powiązanych obiektów skonfigurowanych w ścieżce agregacji.", + "metrics": "Definiuje metryki agregowane na podstawie skonfigurowanych argumentów.", + "entity-aggregation-metrics": "Definiuje metryki agregowane na podstawie skonfigurowanych argumentów w określonych przedziałach czasu.", + "import-invalid-calculated-field-type": "Nie można zaimportować pola obliczeniowego: nieprawidłowa struktura pola obliczeniowego.", + "simple-expression-title": "Wyrażenie arytmetyczne, które określa sposób obliczania wartości.", + "script-title": "Skrypt TBEL, który definiuje logikę obliczeń i wartości wyjściowe.", + "simple-arguments": "Wyrażenie arytmetyczne, które określa sposób obliczania wartości.", + "script-arguments": "Definiuje argumenty wejściowe dostępne dla skryptu." + }, "ai-assistant-example-suggest-fields-label": "Zaproponuj pola obliczeniowe", "ai-assistant-example-suggest-fields-message": "Przejrzyj moje urządzenia i zaproponuj pola obliczeniowe warte skonfigurowania.", "ai-assistant-example-aggregate-label": "Agreguj telemetrię", @@ -519,10 +1387,11 @@ }, "alarm": { "alarm": "Alarm", + "alarm-list": "Lista alarmów", "alarms": "Alarmy", "all-alarms": "Wszystkie alarmy", "select-alarm": "Wybierz alarm", - "no-alarms-matching": "Nie znaleziono alarmów pasujących do '{{entity}}'.", + "no-alarms-matching": "Nie znaleziono alarmów pasujących do „{{entity}}”.", "alarm-required": "Alarm jest wymagany", "alarm-filter": "Filtr alarmu", "filter": "Filtr", @@ -537,67 +1406,69 @@ "UNACK": "Niepotwierdzony" }, "display-status": { - "ACTIVE_UNACK": "Aktywny Niepotwierdzony", - "ACTIVE_ACK": "Aktywny Potwierdzony", - "CLEARED_UNACK": "Wyczyszczony Niepotwierdzony", - "CLEARED_ACK": "Wyszczony Potwierdzony" + "ACTIVE_UNACK": "Aktywny, niepotwierdzony", + "ACTIVE_ACK": "Aktywny, potwierdzony", + "CLEARED_UNACK": "Wyczyszczony, niepotwierdzony", + "CLEARED_ACK": "Wyczyszczony, potwierdzony" }, "no-alarms-prompt": "Nie znaleziono alarmów", "created-time": "Czas utworzenia", "type": "Typ", - "severity": "Waga", + "severity": "Ważność", "originator": "Inicjator", "originator-type": "Typ inicjatora", "details": "Szczegóły", - "originator-label": "Etykieta twórcy", - "assign": "Przydziel", - "assignments": "Przydziały", - "assignee": "Przydzielony", - "assignee-id": "Identyfikator przydzielonego", - "assignee-first-name": "Imię przydzielonego", - "assignee-last-name": "Nazwisko przydzielonego", - "assignee-email": "Adres e-mail przydzielonej osoby", - "unassigned": "Nieprzydzielony", + "originator-label": "Etykieta inicjatora", + "assign": "Przypisz", + "assignments": "Przypisania", + "assignee": "Przypisana osoba", + "assignee-id": "Identyfikator przypisanej osoby", + "assignee-first-name": "Imię przypisanej osoby", + "assignee-last-name": "Nazwisko przypisanej osoby", + "assignee-email": "Adres e-mail przypisanej osoby", + "unassigned": "Nieprzypisany", + "user-deleted": "Usunięty użytkownik", "assignee-not-set": "Wszyscy", "status": "Status", "alarm-details": "Szczegóły alarmu", "start-time": "Czas rozpoczęcia", - "assign-time": "Przypisz czas", - "end-time": "Czas końcowy", - "ack-time": "Potwierdzony czas", - "clear-time": "Wyzerowany czas", + "assign-time": "Czas przypisania", + "end-time": "Czas zakończenia", + "ack-time": "Czas potwierdzenia", + "clear-time": "Czas wyczyszczenia", "duration": "Czas trwania", - "alarm-severity-list": "Lista wag alarmów", - "any-severity": "Dowolna waga", + "alarm-severity": "Ważność alarmu", + "alarm-severity-list": "Lista ważności alarmów", + "any-severity": "Dowolna ważność", "severity-critical": "Krytyczny", - "severity-major": "Ważny", - "severity-minor": "Mało ważny", + "severity-major": "Poważny", + "severity-minor": "Drobny", "severity-warning": "Ostrzeżenie", "severity-indeterminate": "Nieokreślony", "acknowledge": "Potwierdź", "clear": "Wyczyść", - "delete": "Delete", + "delete": "Usuń", "search": "Wyszukaj alarmy", - "selected-alarms": "Wybrano { count, plural, =1 {1 alarm} other {# alarmów} }", + "selected-alarms": "Wybrano { count, plural, =1 {1 alarm} one {# alarm} few {# alarmy} other {# alarmów} }", "no-data": "Brak danych do wyświetlenia", "polling-interval": "Czas między odpytywaniem alarmów (s)", - "polling-interval-required": "Czas między odpytywaniem nalarmówi jest wymagay.", + "polling-interval-required": "Czas między odpytywaniem alarmów jest wymagany.", "min-polling-interval-message": "Dozwolony jest czas między odpytywaniem wynoszący co najmniej 1 sekundę.", - "aknowledge-alarms-title": "Potwierdź { count, plural, =1 {1 alarm} other {# alarmów} }", - "aknowledge-alarms-text": "Czy na pewno chcesz potwierdzić { count, plural, =1 {1 alarm} other {# alarmów} }?", + "aknowledge-alarms-title": "Potwierdź { count, plural, =1 {1 alarm} one {# alarm} few {# alarmy} other {# alarmów} }", + "aknowledge-alarms-text": "Czy na pewno chcesz potwierdzić { count, plural, =1 {1 alarm} one {# alarm} few {# alarmy} other {# alarmów} }?", "aknowledge-alarm-title": "Potwierdź alarm", - "aknowledge-alarm-text": "Czy na pewno chcesz potwierdzić Alarm?", - "selected-alarms-are-acknowledged": "Selected alarms are already acknowledged", - "clear-alarms-title": "Wyczyść { count, plural, =1 {1 alarm} other {# alarmów} }", - "clear-alarms-text": "Czy na pewno chcesz wyczyścić { count, plural, =1 {1 alarm} other {# alarmów} }?", + "aknowledge-alarm-text": "Czy na pewno chcesz potwierdzić ten alarm?", + "selected-alarms-are-acknowledged": "Wybrane alarmy są już potwierdzone", + "clear-alarms-title": "Wyczyść { count, plural, =1 {1 alarm} one {# alarm} few {# alarmy} other {# alarmów} }", + "clear-alarms-text": "Czy na pewno chcesz wyczyścić { count, plural, =1 {1 alarm} one {# alarm} few {# alarmy} other {# alarmów} }?", "clear-alarm-title": "Wyczyść alarm", - "clear-alarm-text": "Czy na pewno chcesz wyczyścić Alarm?", - "delete-alarms-title": "Delete { count, plural, =1 {1 alarm} other {# alarms} }", - "delete-alarms-text": "Are you sure you want to delete { count, plural, =1 {1 alarm} other {# alarms} }?", - "selected-alarms-are-cleared": "Selected alarms are already cleared", + "clear-alarm-text": "Czy na pewno chcesz wyczyścić ten alarm?", + "delete-alarms-title": "Usuń { count, plural, =1 {1 alarm} one {# alarm} few {# alarmy} other {# alarmów} }", + "delete-alarms-text": "Czy na pewno chcesz usunąć { count, plural, =1 {1 alarm} one {# alarm} few {# alarmy} other {# alarmów} }?", + "selected-alarms-are-cleared": "Wybrane alarmy są już wyczyszczone", "alarm-status-filter": "Filtr stanów alarmów", "alarm-filter-title": "Filtr alarmów", - "assigned": "Przydzielony", + "assigned": "Przypisany", "filter-title": "Filtr", "max-count-load": "Maksymalna liczba alarmów do załadowania (0 - nieograniczona)", "max-count-load-required": "Maksymalna liczba alarmów do załadowania jest wymagana.", @@ -605,18 +1476,28 @@ "fetch-size": "Rozmiar pobierania", "fetch-size-required": "Rozmiar pobierania jest wymagany.", "fetch-size-error-min": "Minimalna wartość to 10.", + "alarm-types": "Typy alarmów", "alarm-type-list": "Lista typów alarmów", "any-type": "Dowolny typ", "assigned-to-current-user": "Przypisany do bieżącego użytkownika", - "assigned-to-me": "Przydzielony do mnie", + "assigned-to-me": "Przypisany do mnie", "search-propagated-alarms": "Wyszukaj propagowane alarmy", "comments": "Komentarze alarmów", "show-more": "Pokaż więcej", "additional-info": "Dodatkowe informacje", - "alarm-type": "Alarm type", - "enter-alarm-type": "Enter alarm type", - "no-alarm-types-matching": "No alarm types matching '{{entitySubtype}}' were found.", - "alarm-type-list-empty": "No alarm types selected." + "alarm-type": "Typ alarmu", + "enter-alarm-type": "Wprowadź typ alarmu", + "no-alarm-types-matching": "Nie znaleziono typów alarmów pasujących do „{{entitySubtype}}”.", + "alarm-type-list-empty": "Nie wybrano typów alarmów.", + "system-comments": { + "acked-by-user": "Alarm został potwierdzony przez użytkownika {{userName}}", + "cleared-by-user": "Alarm został wyczyszczony przez użytkownika {{userName}}", + "assigned-to-user": "Alarm został przypisany przez użytkownika {{userName}} do użytkownika {{assigneeName}}", + "unassigned-to-user": "Przypisanie alarmu zostało anulowane przez użytkownika {{userName}}", + "unassigned-from-deleted-user": "Przypisanie alarmu zostało anulowane, ponieważ użytkownik {{userName}} został usunięty", + "comment-deleted": "Komentarz został usunięty przez użytkownika {{userName}}", + "severity-changed": "Ważność alarmu została zmieniona z {{oldSeverity}} na {{newSeverity}}" + } }, "alarm-activity": { "add": "Dodaj komentarz...", @@ -638,83 +1519,109 @@ "add": "Dodaj alias", "edit": "Edytuj alias", "name": "Nazwa aliasu", - "name-required": "Alias jest wymagany", + "name-required": "Nazwa aliasu jest wymagana", "duplicate-alias": "Alias o tej samej nazwie już istnieje.", - "filter-type-single-entity": "Pojedyńczy obiekt", - "filter-type-entity-group": "Grupa obietków", + "filter-type-single-entity": "Pojedynczy obiekt", + "filter-type-entity-group": "Grupa obiektów", "filter-type-entity-list": "Lista obiektów", "filter-type-entity-name": "Nazwa obiektu", "filter-type-entity-type": "Typ obiektu", "filter-type-entity-group-list": "Lista grup obiektów", - "filter-type-entity-group-name": "Nazwa grupy obiektu", + "filter-type-entity-group-name": "Nazwa grupy obiektów", "filter-type-entities-by-group-name": "Obiekty według nazwy grupy", - "filter-type-state-entity": "Obiekt ze stanu panelu", - "filter-type-state-entity-description": "Obiekt pobrany z parametrów stanu panelu", - "filter-type-state-entity-owner": "Właściciel obiektu ze stanu panelu", - "filter-type-state-entity-owner-description": "Właściciel obiektu pobrany z parametrów stanu panelu", + "filter-type-state-entity": "Obiekt ze stanu pulpitu", + "filter-type-state-entity-originator": "Obiekt inicjatora", + "filter-type-state-entity-master-report": "Obiekt z raportu nadrzędnego", + "filter-type-state-entity-description": "Obiekt pobrany z parametrów stanu pulpitu", + "filter-type-state-entity-originator-description": "Obiekt inicjatora", + "filter-type-state-entity-master-report-description": "Obiekt ustawiony przez raport nadrzędny", + "filter-type-state-entity-owner": "Właściciel obiektu ze stanu pulpitu", + "filter-type-state-entity-owner-originator": "Właściciel obiektu inicjatora", + "filter-type-state-entity-owner-master-report": "Właściciel obiektu z raportu nadrzędnego", + "filter-type-state-entity-owner-description": "Właściciel obiektu pobrany z parametrów stanu pulpitu", + "filter-type-state-entity-owner-originator-description": "Właściciel obiektu inicjatora", + "filter-type-state-entity-owner-master-report-description": "Właściciel obiektu ustawionego przez raport nadrzędny", "filter-type-asset-type": "Typ zasobu", - "filter-type-asset-type-description": "Zasoby typu '{{assetTypes}}'", - "filter-type-asset-type-and-name-description": "Zasoby typu '{{assetTypes}}' i z nazwą zaczynającą się od '{{prefix}}'", + "filter-type-asset-type-description": "Zasoby typu „{{assetTypes}}”", + "filter-type-asset-type-and-name-description": "Zasoby typu „{{assetTypes}}” i z nazwą zaczynającą się od „{{prefix}}”", "filter-type-device-type": "Typ urządzenia", - "filter-type-device-type-description": "Urządzenia typu '{{deviceTypes}}'", - "filter-type-device-type-and-name-description": "Urządzenia typu '{{deviceTypes}}' i z nazwą zaczynającą się od '{{prefix}}'", + "filter-type-device-type-description": "Urządzenia typu „{{deviceTypes}}”", + "filter-type-device-type-and-name-description": "Urządzenia typu „{{deviceTypes}}” i z nazwą zaczynającą się od „{{prefix}}”", "filter-type-entity-view-type": "Typ widoku obiektu", - "filter-type-entity-view-type-description": "Widoki obiektów typu '{{entityViewTypes}}'", - "filter-type-entity-view-type-and-name-description": "Widoki obiektów typu '{{entityViewTypes}}' i z nazwą zaczynającą się od '{{prefix}}'", - "filter-type-edge-type": "Typ Edge", - "filter-type-edge-type-description": "Edge typu '{{edgeTypes}}'", - "filter-type-edge-type-and-name-description": "Edge typu '{{edgeTypes}}' i z nazwą zaczynającą się od '{{prefix}}'", + "filter-type-entity-view-type-description": "Widoki obiektów typu „{{entityViewTypes}}”", + "filter-type-entity-view-type-and-name-description": "Widoki obiektów typu „{{entityViewTypes}}” i z nazwą zaczynającą się od „{{prefix}}”", + "filter-type-edge-type": "Typ instancji Edge", + "filter-type-edge-type-description": "Instancje Edge typu „{{edgeTypes}}”", + "filter-type-edge-type-and-name-description": "Instancje Edge typu „{{edgeTypes}}” i z nazwą zaczynającą się od „{{prefix}}”", "filter-type-relations-query": "Zapytanie o relacje", - "filter-type-relations-query-description": "{{entities}} które mają {{relationType}} relację {{direction}} {{rootEntity}}", - "filter-type-edge-search-query": "Zapytanie wyszukiwania Edge", - "filter-type-edge-search-query-description": "Edge typu {{edgeTypes}} które mają {{relationType}} relacja {{direction}} {{rootEntity}}", - "filter-type-scheduler-event": "Zdarzenia planisty", - "filter-type-scheduler-event-type-description": "Zdarzenia planisty typu '{{eventType}}'", - "filter-type-scheduler-event-originator-description": "Zdarzenia planisty określonego inicjatora", - "filter-type-scheduler-event-type-originator-description": "Zdarzenia planisty określonego inicjatora typu '{{eventType}}'", + "filter-type-relations-query-description": "{{entities}}, które mają {{relationType}} relację {{direction}} {{rootEntity}}", + "filter-type-edge-search-query": "Zapytanie wyszukiwania instancji Edge", + "filter-type-edge-search-query-description": "Instancje Edge typów {{edgeTypes}}, które mają {{relationType}} relację {{direction}} {{rootEntity}}", + "filter-type-scheduler-event": "Zdarzenia harmonogramu", + "filter-type-scheduler-event-type-description": "Zdarzenia harmonogramu typu „{{eventType}}”", + "filter-type-scheduler-event-originator-description": "Zdarzenia harmonogramu określonego inicjatora", + "filter-type-scheduler-event-type-originator-description": "Zdarzenia harmonogramu określonego inicjatora typu „{{eventType}}”", "filter-type-asset-search-query": "Zapytanie wyszukiwania zasobów", - "filter-type-asset-search-query-description": "Zasoby typów {{assetTypes}} które mają {{relationType}} relację {{direction}} {{rootEntity}}", + "filter-type-asset-search-query-description": "Zasoby typów {{assetTypes}}, które mają {{relationType}} relację {{direction}} {{rootEntity}}", "filter-type-device-search-query": "Zapytanie wyszukiwania urządzenia", - "filter-type-device-search-query-description": "Urządzenia typów {{deviceTypes}} które mają {{relationType}} relację {{direction}} {{rootEntity}}", + "filter-type-device-search-query-description": "Urządzenia typów {{deviceTypes}}, które mają relację {{relationType}} {{direction}} {{rootEntity}}", "filter-type-entity-view-search-query": "Zapytanie wyszukiwania widoku obiektów", - "filter-type-entity-view-search-query-description": "Widoki obiektów typów {{entityViewTypes}} które mają {{relationType}} relację {{direction}} {{rootEntity}}", + "filter-type-entity-view-search-query-description": "Widoki obiektów typów {{entityViewTypes}}, które mają {{relationType}} relację {{direction}} {{rootEntity}}", "filter-type-apiUsageState": "Stan użycia interfejsu API", "entity-filter": "Filtr obiektu", "resolve-multiple": "Rozwiąż jako wiele obiektów", + "resolve-multiple-hint": "Włącz, aby wyświetlać dane ze wszystkich przefiltrowanych obiektów jednocześnie. \nGdy ta opcja jest wyłączona, widżet pokazuje dane tylko z wybranego obiektu.", "filter-type": "Typ filtra", "filter-type-required": "Typ filtra jest wymagany.", "entity-filter-no-entity-matched": "Nie znaleziono żadnych obiektów pasujących do określonego filtra.", "no-entity-filter-specified": "Nie określono filtra obiektów", - "root-state-entity": "Użyj obiektu stanu panelu jako root", - "group-state-entity": "Użyj obiektu stanu panelu jako grupy obiektu", - "group-state-entity-owner": "Użyj obiektu stanu panelu jako właściciela grupy obiektu", + "root-state-entity": "Użyj obiektu stanu pulpitu jako obiektu głównego", + "root-originator-entity": "Użyj obiektu inicjatora jako obiektu głównego", + "root-master-report-entity": "Użyj obiektu raportu nadrzędnego jako obiektu głównego", + "group-state-entity": "Użyj obiektu stanu pulpitu jako grupy obiektów", + "group-originator-entity": "Użyj obiektu inicjatora jako grupy obiektów", + "group-master-report-entity": "Użyj obiektu z raportu nadrzędnego jako grupy obiektów", + "group-state-entity-owner": "Użyj obiektu stanu pulpitu jako właściciela grupy obiektów", + "group-originator-entity-owner": "Użyj obiektu inicjatora jako właściciela grupy obiektów", + "group-master-report-entity-owner": "Użyj obiektu z raportu nadrzędnego jako właściciela grupy obiektów", "last-level-relation": "Pobierz tylko relację ostatniego poziomu", - "root-entity": "Obiekt root", + "root-entity": "Obiekt główny", "state-entity-parameter-name": "Nazwa parametru obiektu stanu", "default-state-entity": "Domyślny obiekt stanu", + "default-originator-entity": "Domyślny obiekt inicjatora", + "default-master-report-entity": "Domyślny obiekt raportu nadrzędnego", "default-state-entity-group": "Domyślna grupa obiektów stanu", + "default-originator-entity-group": "Domyślna grupa obiektów inicjatora", + "default-master-report-entity-group": "Domyślna grupa obiektów raportu nadrzędnego", "default-entity-parameter-name": "Domyślnie", + "query-options": "Opcje zapytania", "max-relation-level": "Maksymalny poziom relacji", "unlimited-level": "Nieograniczony poziom", - "state-entity": "Obiekt stanu panelu", - "entities-of-group-state-entity": "Obiekty z grupy obiektów stanu panelu", + "state-entity": "Obiekt stanu pulpitu", + "originator-entity": "Obiekt inicjatora", + "master-report-entity": "Obiekt raportu nadrzędnego", + "entities-of-group-state-entity": "Obiekty z grupy obiektów stanu pulpitu", + "entities-of-group-originator-entity": "Obiekty z grupy obiektów inicjatora", + "entities-of-group-master-report-entity": "Obiekty z grupy obiektów raportu nadrzędnego", "all-entities": "Wszystkie obiekty", "any-relation": "każda", "originator": "Inicjator", - "originator-state-entity": "Użyj obiektu stanu panelu jako inicjatora", - "scheduler-event-type": "Typ zdarzenia planisty" + "originator-state-entity": "Użyj obiektu stanu pulpitu jako inicjatora", + "originator-from-originator-entity": "Użyj obiektu inicjatora jako inicjatora zdarzenia", + "originator-master-report-entity": "Użyj obiektu z raportu nadrzędnego jako inicjatora", + "scheduler-event-type": "Typ zdarzenia harmonogramu" }, "asset": { - "all": "Wszystko", + "all": "Wszystkie", "all-assets": "Wszystkie zasoby", "groups": "Grupy", - "shared": "Współdzielony", + "shared": "Współdzielone", "asset": "Zasób", "assets": "Zasoby", "management": "Zarządzanie zasobami", - "view-assets": "Zobacz zasoby", + "view-assets": "Wyświetl zasoby", "add": "Dodaj zasób", - "asset-type-max-length": "Typ zasobu powinien być mniejszy niż 256", + "asset-type-max-length": "Typ zasobu powinien mieć mniej niż 256 znaków", "assign-to-customer": "Przypisz do klienta", "assign-asset-to-customer": "Przypisz zasoby do klienta", "assign-asset-to-customer-text": "Wybierz zasoby, które chcesz przypisać klientowi", @@ -724,134 +1631,147 @@ "assignedToCustomer": "Przypisany do klienta", "make-public": "Ustaw zasób jako publiczny", "make-private": "Ustaw zasób jako prywatny", - "unassign-from-customer": "Usuń przypisanie do klienta", + "unassign-from-customer": "Anuluj przypisanie do klienta", "delete": "Usuń zasób", "asset-public": "Zasób jest publiczny", "asset-type": "Typ zasobu", "asset-type-required": "Typ zasobu jest wymagany.", "select-asset-type": "Wybierz typ zasobu", - "enter-asset-type": "Wpisz typ zasobu", + "enter-asset-type": "Wprowadź profil zasobu", "any-asset": "Dowolny zasób", - "no-asset-types-matching": "Nie znaleziono zasobów pasujących do '{{entitySubtype}}'.", + "no-asset-types-matching": "Nie znaleziono typów zasobów pasujących do „{{entitySubtype}}”.", "asset-type-list-empty": "Nie wybrano typów zasobów.", "asset-types": "Typy zasobów", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", - "label-max-length": "Etykieta powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", + "label-max-length": "Etykieta powinna mieć mniej niż 256 znaków", "description": "Opis", + "description-required": "Opis jest wymagany.", "type": "Typ", "type-required": "Typ jest wymagany.", "details": "Szczegóły", - "events": "Wydarzenia", + "events": "Zdarzenia", "add-asset-text": "Dodaj nowy zasób", "asset-details": "Szczegóły zasobu", "assign-assets": "Przypisz zasoby", - "assign-assets-text": "Przypisz {count, plural, =1 {1 zasób} other {# zasobów} }", - "assign-asset-to-edge-title": "Przypisz zasoby do edge", - "assign-asset-to-edge-text": "Wybierz zasoby, które chcesz przypisać do Edge", + "assign-assets-text": "Przypisz { count, plural, =1 {1 zasób} one {# zasób} few {# zasoby} other {# zasobów} } do klienta", + "assign-asset-to-edge-title": "Przypisz zasoby do instancji Edge", + "assign-asset-to-edge-text": "Wybierz zasoby, które chcesz przypisać do instancji Edge", "delete-assets": "Usuń zasoby", - "unassign-assets": "Cofnij przypisanie zasobów", - "unassign-assets-action-title": "Anuluj przypisanie {count, plural, =1 {1 zasobu} other {# zasobów} }", + "unassign-assets": "Anuluj przypisanie zasobów", + "unassign-assets-action-title": "Anuluj przypisanie { count, plural, =1 {1 zasobu} one {# zasobu} few {# zasobów} other {# zasobów} } do klienta", "assign-new-asset": "Przypisz nowy zasób", - "delete-asset-title": "Czy na pewno chcesz usunąć zasób '{{assetName}}'?", - "delete-asset-text": "Bądź ostrożny, po potwierdzeniu zasobu i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-assets-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 zasób} other {# zasobów} }?", - "delete-assets-action-title": "Usuń {count, plural, =1 {1 zasób} other {# zasobów} }", - "delete-assets-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane zasoby zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "make-public-asset-title": "Czy na pewno chcesz uczynić zasób '{{assetName}}' publicznym?", + "delete-asset-title": "Czy na pewno chcesz usunąć zasób „{{assetName}}”?", + "delete-asset-text": "Uwaga: po potwierdzeniu nie będzie można odzyskać zasobu ani żadnych powiązanych danych.", + "delete-assets-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 zasób} one {# zasób} few {# zasoby} other {# zasobów} }?", + "delete-assets-action-title": "Usuń { count, plural, =1 {1 zasób} one {# zasób} few {# zasoby} other {# zasobów} }", + "delete-assets-text": "Uwaga: po potwierdzeniu wszystkie wybrane zasoby zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "make-public-asset-title": "Czy na pewno chcesz uczynić zasób „{{assetName}}” publicznym?", "make-public-asset-text": "Po potwierdzeniu zasób i wszystkie jego dane zostaną upublicznione i dostępne dla innych.", - "make-private-asset-title": "Czy na pewno chcesz uczynić zasób '{{assetName}}' prywatnym?", + "make-private-asset-title": "Czy na pewno chcesz uczynić zasób „{{assetName}}” prywatnym?", "make-private-asset-text": "Po potwierdzeniu zasób i wszystkie jego dane staną się prywatne i nie będą dostępne dla innych.", - "unassign-asset-title": "Czy na pewno chcesz cofnąć przypisanie zasobu '{{assetName}}'?", - "unassign-asset-text": "Po potwierdzeniu zasób zostanie usunięty i nie będzie dostępny dla klienta.", - "unassign-asset": "Cofnij przypisanie zasobu", - "unassign-assets-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 zasobu} other {# zasobów} }?", - "unassign-assets-text": "Po potwierdzeniu wszystkie wybrane zasoby zostaną anulowane i nie będą dostępne dla klienta.", - "copyId": "Skopiuj identyfikator zasobu", + "unassign-asset-title": "Czy na pewno chcesz anulować przypisanie zasobu „{{assetName}}”?", + "unassign-asset-text": "Po potwierdzeniu zasób nie będzie już przypisany do klienta i nie będzie dla niego dostępny.", + "unassign-asset": "Anuluj przypisanie zasobu", + "unassign-assets-title": "Czy na pewno chcesz anulować przypisanie { count, plural, =1 {1 zasobu} one {# zasobu} few {# zasobów} other {# zasobów} }?", + "unassign-assets-text": "Po potwierdzeniu wszystkie wybrane zasoby nie będą już przypisane do klienta i nie będą dla niego dostępne.", + "copyId": "Kopiuj identyfikator zasobu", "idCopiedMessage": "Identyfikator zasobu został skopiowany do schowka", "select-asset": "Wybierz zasób", - "no-assets-matching": "Nie znaleziono zasobów pasujących do '{{entity}}'.", - "asset-required": "Zasób jest wymagany", + "no-assets-matching": "Nie znaleziono zasobów pasujących do „{{entity}}”.", + "asset-required": "Zasób jest wymagany.", "name-starts-with": "Wyrażenie nazwy zasobu", - "help-text": "Użyj „%” w zależności od potrzeb: „%asset_name_contains%”, „%asset_name_ends”, „%asset_starts_with”.", + "help-text": "Użyj „%” w zależności od potrzeb: „%asset_name_contains%”, „%asset_name_ends”, „asset_starts_with%”.", "search": "Wyszukaj zasoby", "select-group-to-add": "Wybierz grupę docelową, aby dodać wybrane zasoby", "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybrane zasoby", - "remove-assets-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 zasób} other {# zasobów} } z grupy '{{{entityGroup}}'?", + "remove-assets-from-group": "Czy na pewno chcesz usunąć { count, plural, =1 {1 zasób} one {# zasób} few {# zasoby} other {# zasobów} } z grupy '{{entityGroup}}'?", "group": "Grupa zasobów", - "list-of-groups": "{count, plural, =1 {Jedna grupa zasobów} other {Lista # grup zasobów} }", - "group-name-starts-with": "Grupy zasobów, których nazwy zaczynają się od '{{prefix}}'", + "list-of-groups": "{ count, plural, =1 {Jedna grupa zasobów} one {Lista # grupy zasobów} few {Lista # grup zasobów} other {Lista # grup zasobów} }", + "group-name-starts-with": "Grupy zasobów, których nazwy zaczynają się od „{{prefix}}”", "import": "Importuj zasoby", "asset-file": "Plik zasobów", "label": "Etykieta", - "assign-asset-to-edge": "Przypisz zasoby do Edge", - "unassign-asset-from-edge": "Cofnij przypisanie zasobu", - "unassign-asset-from-edge-title": "Czy na pewno chcesz cofnąć przypisanie zasobu '{{assetName}}'?", - "unassign-asset-from-edge-text": "Po potwierdzeniu zasób zostanie usunięty i nie będzie dostępny na urządzeniu Edge.", - "unassign-assets-from-edge-title": "Czy na pewno chcesz cofnąć przypisanie { count, plural, =1 {1 zasobu} other {# zasobów} }?", - "unassign-assets-from-edge-text": "Po potwierdzeniu wszystkie wybrane zasoby zostaną anulowane i nie będą dostępne na urządzeniu Edge.", - "selected-assets": "Wybrano { count, plural, =1 {1 zasób} other {# zasobów} }" + "assign-asset-to-edge": "Przypisz zasoby do instancji Edge", + "unassign-asset-from-edge": "Anuluj przypisanie zasobu", + "unassign-asset-from-edge-title": "Czy na pewno chcesz anulować przypisanie zasobu „{{assetName}}”?", + "unassign-asset-from-edge-text": "Po potwierdzeniu zasób nie będzie już przypisany do instancji Edge i nie będzie na niej dostępny.", + "unassign-assets-from-edge-title": "Czy na pewno chcesz anulować przypisanie { count, plural, =1 {1 zasobu} one {# zasobu} few {# zasobów} other {# zasobów} }?", + "unassign-assets-from-edge-text": "Po potwierdzeniu wszystkie wybrane zasoby nie będą już przypisane do instancji Edge i nie będą na niej dostępne.", + "selected-assets": "Wybrano { count, plural, =1 {1 zasób} one {# zasób} few {# zasoby} other {# zasobów} }" }, "attribute": { "attributes": "Atrybuty", "latest-telemetry": "Najnowsza telemetria", - "no-latest-telemetry": "Brak telemetrii", - "attributes-scope": "Zakres atrybutów encji", - "scope-telemetry": "Telemetry", + "no-latest-telemetry": "Brak najnowszej telemetrii", + "attributes-scope": "Zakres atrybutów obiektu", + "scope-telemetry": "Telemetria", "scope-latest-telemetry": "Najnowsza telemetria", "scope-client": "Atrybuty klienta", "scope-server": "Atrybuty serwera", - "scope-shared": "Wspólne atrybuty", + "scope-shared": "Atrybuty współdzielone", + "scope-client-short": "Klient", + "scope-server-short": "Serwer", + "scope-shared-short": "Współdzielone", + "scope-latest-short": "Najnowsze", + "scope-any": "Dowolny", "add": "Dodaj atrybut", - "add-attribute-prompt": "Proszę dodać atrybut", + "add-attribute-prompt": "Dodaj atrybut", "key": "Klucz", "key-max-length": "Klucz powinien być krótszy niż 256 znaków", "last-update-time": "Ostatnia aktualizacja", "key-required": "Klucz atrybutu jest wymagany.", "value": "Wartość", "value-required": "Wartość atrybutu jest wymagana.", - "telemetry-key-required": "Telemetry key is required", - "telemetry-value-required": "Telemetry value is required", - "delete-attributes-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 atrybut} other {# atrybutów} }?", + "telemetry-key-required": "Klucz telemetrii jest wymagany", + "telemetry-value-required": "Wartość telemetrii jest wymagana", + "delete-attributes-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 atrybut} one {# atrybut} few {# atrybuty} other {# atrybutów} }?", "delete-attributes-text": "Uważaj, po potwierdzeniu wszystkie wybrane atrybuty zostaną usunięte.", "delete-attributes": "Usuń atrybuty", "enter-attribute-value": "Wprowadź wartość atrybutu", "show-on-widget": "Pokaż na widżecie", - "widget-mode": "Tryb widgetu", + "widget-mode": "Tryb widżetu", "next-widget": "Następny widżet", "prev-widget": "Poprzedni widżet", - "add-to-dashboard": "Dodaj do panelu", - "add-widget-to-dashboard": "Dodaj widżet do panelu", - "selected-attributes": "Wybrano {count, plural, =1 {1 atrybut} other {# atrybutów} }", - "selected-telemetry": "Wybrano {count, plural, =1 {1 jednostkę telemetrii} other {# jednostek telemetrii} }", + "add-to-dashboard": "Dodaj do pulpitu", + "add-widget-to-dashboard": "Dodaj widżet do pulpitu", + "no-widget-grid-in-dashboard": "Wszystkie stany tego pulpitu są stronami HTML, więc nie można do niego dodać widżetu.", + "selected-attributes": "Wybrano { count, plural, =1 {1 atrybut} one {# atrybut} few {# atrybuty} other {# atrybutów} }", + "selected-telemetry": "Wybrano { count, plural, =1 {1 jednostkę telemetrii} one {# jednostkę telemetrii} few {# jednostki telemetrii} other {# jednostek telemetrii} }", "no-attributes-text": "Nie znaleziono atrybutów", "no-telemetry-text": "Nie znaleziono danych telemetrycznych", - "copy-key": "Skopiuj klucz", + "copy-key": "Kopiuj klucz", "add-telemetry": "Dodaj telemetrię", - "copy-value": "Skopiuj wartość", + "copy-value": "Kopiuj wartość", "delete-timeseries": { - "start-time": "Start time", - "ends-on": "Ends on", - "strategy": "Strategy", - "delete-strategy": "Delete strategy", - "all-data": "Delete all data", - "all-data-except-latest-value": "Delete all data except latest value", - "latest-value": "Delete latest value", - "all-data-for-time-period": "Delete all data for time period", - "rewrite-latest-value": "Rewrite latest value" + "start-time": "Czas rozpoczęcia", + "ends-on": "Kończy się", + "strategy": "Strategia", + "delete-strategy": "Strategia usuwania", + "all-data": "Usuń wszystkie dane", + "all-data-except-latest-value": "Usuń wszystkie dane oprócz najnowszej wartości", + "latest-value": "Usuń najnowszą wartość", + "all-data-for-time-period": "Usuń wszystkie dane z okresu", + "rewrite-latest-value": "Nadpisz najnowszą wartość" } }, "api-usage": { "api-features": "Funkcje API", "api-usage": "Użycie API", "alarm": "Alarm", - "alarms-created": "Utworzono alarmy", - "alarms-created-daily-activity": "Alarmy tworzyły codzienną aktywność", - "alarms-created-hourly-activity": "Alarmy utworzyły aktywność godzinową", - "alarms-created-monthly-activity": "Alarmy utworzyły miesięczną aktywność", + "alarm-and-report": "Alarm i raport", + "alarms-and-reports-created": "Utworzone alarmy i raporty", + "alarms-and-reports-hourly-activity": "Godzinowa aktywność tworzenia alarmów i raportów", + "alarms-created": "Utworzone alarmy", + "alarms-created-daily-activity": "Dzienna aktywność tworzenia alarmów", + "alarms-created-hourly-activity": "Godzinowa aktywność tworzenia alarmów", + "alarms-created-monthly-activity": "Miesięczna aktywność tworzenia alarmów", "data-points": "Punkty danych", "data-points-storage-days": "Dni przechowywania punktów danych", + "data-points-storage-days-hourly-activity": "Godzinowa aktywność dni przechowywania punktów danych", + "data-points-storage-days-daily-activity": "Dzienna aktywność dni przechowywania punktów danych", + "data-points-storage-days-monthly-activity": "Miesięczna aktywność dni przechowywania punktów danych", "device-api": "Interfejs API urządzenia", "email": "E-mail", "email-messages": "Wiadomości e-mailowe", @@ -859,132 +1779,236 @@ "email-messages-monthly-activity": "Miesięczna aktywność dotycząca wiadomości e-mail", "exceptions": "Wyjątki", "executions": "Wywołania", + "scripts": "Skrypty", + "scripts-hourly-activity": "Godzinowa aktywność skryptów", + "scripts-daily-activity": "Dzienna aktywność skryptów", + "scripts-monthly-activity": "Miesięczna aktywność skryptów", "javascript": "JavaScript", "javascript-executions": "Wykonania JavaScript", - "javascript-functions": "Funkcje JavaScriptu", - "javascript-functions-daily-activity": "Funkcje JavaScript w codziennej działalności", - "javascript-functions-hourly-activity": "Funkcje JavaScript, aktywność godzinowa", - "javascript-functions-monthly-activity": "Funkcje JavaScript, aktywność miesięczna", + "tbel": "TBEL", + "tbel-executions": "Wykonania TBEL", "latest-error": "Ostatni błąd", "messages": "Wiadomości", "notifications": "Powiadomienia", - "notifications-email-sms": "Powiadomienia (e-mail/sms)", - "notifications-hourly-activity": "Powiadomienia o aktywności godzinowej", + "notifications-email-sms": "Powiadomienia (e-mail/SMS)", + "notifications-hourly-activity": "Godzinowa aktywność powiadomień", "permanent-failures": "${entityName} Trwałe awarie", "permanent-timeouts": "${entityName} Stałe przekroczenia limitu czasu", "processing-failures": "${entityName} Błędy przetwarzania", "processing-failures-and-timeouts": "Błędy przetwarzania i przekroczenia limitu czasu", - "processing-timeouts": "${entityName} Przekroczono limity czasu przetwarzania", + "processing-timeouts": "${entityName}: przekroczenia limitu czasu przetwarzania", "queue-stats": "Statystyki kolejek", "rule-chain": "Łańcuch reguł", "rule-engine": "Silnik reguł", "rule-engine-daily-activity": "Dzienna aktywność silnika reguł", "rule-engine-executions": "Wykonania silnika reguł", - "rule-engine-hourly-activity": "Aktywność godzinowa silnika reguły", + "rule-engine-hourly-activity": "Godzinowa aktywność silnika reguł", "rule-engine-monthly-activity": "Miesięczna aktywność silnika reguł", "rule-engine-statistics": "Statystyki silnika reguł", "rule-node": "Węzeł reguły", - "sms": "SMS-em", + "sms": "SMS", "sms-messages": "Wiadomości SMS", + "sms-messages-hourly-activity": "Godzinowa aktywność wiadomości SMS", "sms-messages-daily-activity": "Codzienna aktywność związana z wiadomościami SMS", "sms-messages-monthly-activity": "Miesięczna aktywność wiadomości SMS", "successful": "${entityName} Pomyślne", "telemetry": "Telemetria", - "telemetry-persistence": "Trwałość telemetrii", - "telemetry-persistence-daily-activity": "Telemetria utrzymująca codzienną aktywność", - "telemetry-persistence-hourly-activity": "Aktywność godzinowa trwałości telemetrii", - "telemetry-persistence-monthly-activity": "Miesięczna aktywność dotycząca trwałości telemetrii", + "telemetry-persistence": "Utrwalanie telemetrii", + "telemetry-persistence-daily-activity": "Dzienna aktywność utrwalania telemetrii", + "telemetry-persistence-hourly-activity": "Godzinowa aktywność utrwalania telemetrii", + "telemetry-persistence-monthly-activity": "Miesięczna aktywność utrwalania telemetrii", "transport": "Transport", + "transport-msg-hourly-activity": "Godzinowa aktywność wiadomości transportowych", + "transport-msg-daily-activity": "Dzienna aktywność wiadomości transportowych", + "transport-msg-monthly-activity": "Miesięczna aktywność wiadomości transportowych", "transport-daily-activity": "Codzienna aktywność transportowa", "transport-data-points": "Punkty danych dotyczących transportu", - "transport-hourly-activity": "Godzinowa aktywność transportowa", - "transport-messages": "Komunikaty transportowe", - "transport-monthly-activity": "Miesięczna aktywność transportowa", + "transport-data-points-hourly-activity": "Godzinowa aktywność punktów danych transportu", + "transport-data-points-daily-activity": "Dzienna aktywność punktów danych transportu", + "transport-data-points-monthly-activity": "Miesięczna aktywność punktów danych transportu", + "transport-messages": "Wiadomości transportowe", + "transport-messages-hourly-activity": "Godzinowa aktywność wiadomości transportowych", + "transport-data-point-hourly-activity": "Godzinowa aktywność punktów danych transportu", + "javascript-function-executions": "Wykonania funkcji JavaScript", + "javascript-function-executions-hourly-activity": "Godzinowa aktywność wykonań funkcji JavaScript", + "javascript-function-executions-daily-activity": "Dzienna aktywność wykonań funkcji JavaScript", + "javascript-function-executions-monthly-activity": "Miesięczna aktywność wykonań funkcji JavaScript", + "tbel-function-executions": "Wykonania funkcji TBEL", + "tbel-function-executions-hourly-activity": "Godzinowa aktywność wykonań funkcji TBEL", + "tbel-function-executions-daily-activity": "Dzienna aktywność wykonań funkcji TBEL", + "tbel-function-executions-monthly-activity": "Miesięczna aktywność wykonań funkcji TBEL", + "created-reports": "Utworzone raporty", + "created-reports-hourly-activity": "Godzinowa aktywność utworzonych raportów", + "created-reports-daily-activity": "Dzienna aktywność utworzonych raportów", + "created-reports-monthly-activity": "Miesięczna aktywność utworzonych raportów", + "emails": "E-maile", + "emails-hourly-activity": "Godzinowa aktywność e-maili", + "emails-daily-activity": "Dzienna aktywność e-maili", + "emails-monthly-activity": "Miesięczna aktywność e-maili", + "status": { + "enabled": "Włączony", + "disabled": "Wyłączony", + "warning": "Ostrzeżenie" + }, + "reports-created": "Utworzone raporty", + "reports-created-hourly-activity": "Godzinowa aktywność utworzonych raportów", + "reports-created-daily-activity": "Dzienna aktywność utworzonych raportów", + "reports-created-monthly-activity": "Miesięczna aktywność utworzonych raportów", + "ai-credits": "Kredyty AI", + "ai-credits-hourly-activity": "Godzinowa aktywność kredytów AI", + "ai-credits-daily-activity": "Dzienna aktywność kredytów AI", + "ai-credits-monthly-activity": "Miesięczna aktywność kredytów AI", "view-details": "Pokaż szczegóły", - "view-statistics": "Zobacz statystyki" + "view-statistics": "Wyświetl statystyki" }, "api-limit": { - "cassandra-queries": "Cassandra queries", - "entity-version-creation": "Entity version creation", - "entity-version-load": "Entity version load", - "integration-messages": "Integration messages", - "integration-messages-per-device": "Integration messages per device", - "notification-requests": "Notification requests", - "notification-requests-per-rule": "Notification requests per rule", - "reports-generation": "Reports generation", - "rest-api-requests": "REST API requests", - "rest-api-requests-per-customer": "REST API requests per customer", - "transport-messages": "Transport messages", - "transport-messages-per-device": "Transport messages per device", - "ws-updates-per-session": "WS updates per session" + "cassandra-write-queries-core": "Zapytania zapisu do bazy Cassandra przez REST API", + "cassandra-read-queries-core": "Zapytania odczytu telemetrii z bazy Cassandra przez REST API i WS", + "cassandra-write-queries-rule-engine": "Zapytania zapisu telemetrii do bazy Cassandra przez silnik reguł", + "cassandra-read-queries-rule-engine": "Zapytania odczytu telemetrii z bazy Cassandra przez silnik reguł", + "cassandra-write-queries-monolith": "Zapytania zapisu telemetrii do bazy Cassandra z monolitu", + "cassandra-read-queries-monolith": "Zapytania odczytu telemetrii z bazy Cassandra w monolicie", + "entity-version-creation": "Tworzenie wersji obiektów", + "entity-version-load": "Ładowanie wersji obiektów", + "integration-messages": "Wiadomości integracji", + "integration-messages-per-device": "Wiadomości integracji na urządzenie", + "notification-requests": "Żądania powiadomień", + "notification-requests-per-rule": "Żądania powiadomień na regułę", + "reports-generation": "Generowanie raportów", + "rest-api-requests": "Żądania REST API", + "rest-api-requests-per-customer": "Żądania REST API na klienta", + "transport-messages": "Wiadomości transportowe", + "transport-messages-per-device": "Wiadomości transportowe na urządzenie", + "transport-messages-per-gateway": "Wiadomości transportu na urządzenie Gateway", + "transport-messages-per-gateway-device": "Wiadomości transportu na urządzenie podłączone przez Gateway", + "ws-updates-per-session": "Aktualizacje WS na sesję", + "edge-events": "Zdarzenia Edge", + "edge-events-per-edge": "Zdarzenia Edge na instancję Edge", + "edge-uplink-messages": "Wiadomości uplink Edge", + "edge-uplink-messages-per-edge": "Wiadomości uplink Edge na instancję Edge" + }, + "api-key": { + "api-key": "Klucz API", + "api-keys": "Klucze API", + "delete-api-key-title": "Czy na pewno chcesz usunąć klucz API „{{name}}”?", + "delete-api-key-text": "Uwaga: po potwierdzeniu nie będzie można odzyskać klucza.", + "delete-api-keys-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 klucz API} one {# klucz API} few {# klucze API} other {# kluczy API} }?", + "delete-api-keys-text": "Uwaga: po potwierdzeniu nie będzie można odzyskać żadnego z wybranych kluczy.", + "expiration-date": "Data wygaśnięcia", + "date": "data", + "description": "Opis", + "disable": "Wyłącz", + "edit-description": "Edytuj opis", + "enable": "Włącz klucz API", + "expiration-time": "Czas wygaśnięcia", + "expiration-time-never": "Nigdy", + "expiration-time-custom": "Niestandardowy", + "generate": "Generuj", + "generate-title": "Generuj klucz API", + "generate-text": "Uwaga: klucz API dziedziczy uprawnienia użytkownika, dla którego został utworzony.", + "generated-api-key-title": "Wygenerowano klucz API. Sprawdźmy łączność!", + "generated-api-key-copy": "Pamiętaj, aby teraz skopiować i zapisać klucz API, ponieważ nie będzie można go ponownie wyświetlić.", + "generated-api-key-command": "Użyj poniższych instrukcji, aby sprawdzić łączność. W rezultacie powinny zostać zwrócone informacje o bieżącym użytkowniku:", + "generated-api-key-insecure-url": "Wykonywanie poleceń przez niezabezpieczone połączenie HTTP spowoduje wysłanie klucza API bez szyfrowania, co naraża go na przechwycenie.", + "list": "{ count, plural, =1 {Jeden klucz API} one {Lista # klucza API} few {Lista # kluczy API} other {Lista # kluczy API} }", + "manage": "Zarządzaj", + "manage-api-keys": "Zarządzaj kluczami API", + "no-found": "Nie znaleziono kluczy API", + "selected-api-keys": "Wybrano { count, plural, =1 {1 klucz API} one {# klucz API} few {# klucze API} other {# kluczy API} }", + "search": "Szukaj kluczy API", + "status": "Status", + "status-active": "Aktywny", + "status-inactive": "Nieaktywny", + "status-expired": "Wygasły" }, "audit-log": { - "audit": "Rewizja", + "audit": "Audyt", "audit-logs": "Dzienniki audytu", - "timestamp": "Znak czasu", + "timestamp": "Znacznik czasu", "entity-type": "Typ obiektu", "entity-name": "Nazwa obiektu", "user": "Użytkownik", "type": "Typ", "status": "Status", "details": "Szczegóły", - "type-added": "Dodany", + "type-added": "Dodano", "type-deleted": "Usunięto", "type-updated": "Zaktualizowano", "type-attributes-updated": "Zaktualizowano atrybuty", "type-attributes-deleted": "Atrybuty usunięte", - "type-rpc-call": "Zadzwoń do RPC", + "type-rpc-call": "Wywołanie RPC", "type-credentials-updated": "Dane uwierzytelniające zaktualizowane", - "type-assigned-to-customer": "Przypisane do Klienta", - "type-unassigned-from-customer": "Nieprzypisane od klienta", - "type-assigned-to-edge": "Przypisany do Edge", - "type-unassigned-from-edge": "Nieprzypisany do Edge", + "type-assigned-to-customer": "Przypisano do klienta", + "type-unassigned-from-customer": "Anulowano przypisanie do klienta", + "type-assigned-to-edge": "Przypisano do instancji Edge", + "type-unassigned-from-edge": "Anulowano przypisanie do instancji Edge", "type-activated": "Aktywowany", "type-suspended": "Zawieszony", - "type-credentials-read": "Poświadczenia przeczytane", + "type-credentials-read": "Dane uwierzytelniające odczytane", "type-attributes-read": "Odczytane atrybuty", "type-added-to-entity-group": "Dodano do grupy", "type-removed-from-entity-group": "Usunięto z grupy", "type-relation-add-or-update": "Relacja zaktualizowana", "type-relation-delete": "Relacja usunięta", "type-relations-delete": "Wszystkie relacje usunięte", - "type-alarm-ack": "Uznany", - "type-alarm-clear": "Wyczyszczone", - "type-alarm-assign": "Przydzielony", - "type-alarm-unassign": "Nieprzypisany", + "type-alarm-ack": "Alarm potwierdzony", + "type-alarm-clear": "Alarm wyczyszczony", + "type-alarm-delete": "Usunięto alarm", + "type-alarm-assign": "Przypisano alarm", + "type-alarm-unassign": "Anulowano przypisanie alarmu", "type-added-comment": "Dodano komentarz", "type-updated-comment": "Zaktualizowany komentarz", "type-deleted-comment": "Usunięty komentarz", - "type-rest-api-rule-engine-call": "Wywołanie API REST mechanizmu reguł", - "type-made-public": "Upublicznione", - "type-made-private": "Zrobione prywatnie", - "type-login": "Zaloguj się", - "type-logout": "Wyloguj", - "type-lockout": "Lokaut", + "type-rest-api-rule-engine-call": "Wywołanie REST API silnika reguł", + "type-made-public": "Upubliczniono", + "type-made-private": "Ustawiono jako prywatne", + "type-login": "Logowanie", + "type-logout": "Wylogowanie", + "type-lockout": "Blokada konta", "status-success": "Powodzenie", - "status-failure": "Awaria", + "status-failure": "Niepowodzenie", "audit-log-details": "Szczegóły dziennika audytu", "no-audit-logs-prompt": "Nie znaleziono logów", "action-data": "Dane akcji", - "failure-details": "Szczegóły awarii", - "search": "Przeszukaj dzienniki kontroli", + "failure-details": "Szczegóły błędu", + "search": "Szukaj w dziennikach audytu", "clear-search": "Wyczyść wyszukiwanie", - "type-assigned-from-tenant": "Przypisane od Najemcy", - "type-assigned-to-tenant": "Przypisane Najemcy", - "type-provision-success": "Urządzenie udostępnione", - "type-provision-failure": "Udostępnienie urządzenia nie powiodło się", + "type-assigned-from-tenant": "Przypisane od tenanta", + "type-assigned-to-tenant": "Przypisane do tenanta", + "type-provision-success": "Urządzenie zaaprowizowane", + "type-provision-failure": "Aprowizacja urządzenia nie powiodła się", "type-timeseries-updated": "Telemetria zaktualizowana", "type-timeseries-deleted": "Telemetria usunięta", - "type-owner-changed": "Właściciel się zmienił", - "type-sms-sent": "SMS sent" + "type-owner-changed": "Zmieniono właściciela", + "type-sms-sent": "Wysłano SMS", + "type-non-production-confirmed": "Potwierdzono użycie nieprodukcyjne", + "any-type": "Dowolny typ", + "audit-log-filter-title": "Filtr dziennika audytu", + "filter-title": "Filtr", + "filter-types": "Typy dziennika audytu", + "action": "Akcja" + }, + "debug-settings": { + "label": "Konfiguracja debugowania", + "on-failure": "Tylko błędy (24/7)", + "all-messages": "Wszystkie wiadomości ({{time}})", + "failures": "Błędy", + "entity": "obiektu", + "hint": { + "main-limited": "Zostanie zarejestrowanych nie więcej niż {{msg}} wiadomości debugowania {{entity}} na {{time}}.", + "on-failure": "Rejestruj tylko komunikaty o błędach.", + "all-messages": "Rejestruj wszystkie wiadomości debugowania." + } }, "confirm-on-exit": { - "message": "Masz niezapisane zmiany. ", + "message": "Masz niezapisane zmiany. Czy na pewno chcesz opuścić tę stronę?", "html-message": "Masz niezapisane zmiany.
Czy na pewno chcesz opuścić tę stronę?", "title": "Niezapisane zmiany" }, "contact": { "country": "Kraj", + "country-required": "Kraj jest wymagany.", + "country-object-required": "Wybierz prawidłowy kraj z listy.", "city": "Miasto", "state": "Stan/prowincja", "postal-code": "Kod pocztowy", @@ -994,67 +2018,101 @@ "phone": "Telefon", "email": "E-mail", "no-address": "Brak adresu", - "state-max-length": "Długość stanu powinna być mniejsza niż 256", - "phone-max-length": "Numer telefonu powinien być mniejszy niż 256", - "city-max-length": "Określone miasto powinno być mniejsze niż 256" + "no-country-found": "Nie znaleziono krajów.", + "no-country-matching": "Nie znaleziono kraju pasującego do „{{country}}”.", + "state-max-length": "Nazwa stanu/prowincji powinna mieć mniej niż 256 znaków", + "phone-max-length": "Numer telefonu powinien mieć mniej niż 256 znaków", + "city-max-length": "Nazwa miasta powinna mieć mniej niż 256 znaków" }, "common": { + "name": "Nazwa", + "type": "Typ", + "general": "Ogólne", "username": "Nazwa użytkownika", "password": "Hasło", + "repeat-password": "Powtórz hasło", + "data": "Dane", + "timestamp": "Znacznik czasu", "enter-username": "Wpisz nazwę użytkownika", "enter-password": "Wprowadź hasło", - "enter-search": "Wprowadź wyszukiwanie", - "created-time": "Stworzony czas", + "enter-search": "Wpisz wyszukiwaną frazę", + "all": "Wszystkie", + "created-time": "Czas utworzenia", + "disabled": "Wyłączony", "loading": "Ładowanie...", - "proceed": "Przystępować", + "proceed": "Kontynuuj", "open-details-page": "Otwórz stronę szczegółów", - "not-found": "Not found", - "documentation": "Documentation" + "not-found": "Nie znaleziono", + "value": "Wartość", + "documentation": "Dokumentacja", + "time-left": "Pozostało: {{time}}", + "loading-please-wait": "Ładowanie... Poczekaj", + "output": "Wyjście", + "sort-asc": "Rosnąco", + "sort-desc": "Malejąco", + "suffix": { + "s": "s", + "ms": "ms" + }, + "hint": { + "name-required": "Nazwa jest wymagana.", + "name-pattern": "Nazwa jest nieprawidłowa.", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków.", + "title-required": "Tytuł jest wymagany.", + "title-pattern": "Tytuł jest nieprawidłowy.", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków.", + "key-required": "Klucz jest wymagany.", + "key-pattern": "Klucz jest nieprawidłowy.", + "key-max-length": "Klucz powinien mieć mniej niż 256 znaków." + }, + "required-fields": "Brak wymaganych pól" }, "converter": { "converter": "Konwerter danych", "converters": "Konwertery danych", "select-converter": "Wybierz konwerter danych", - "no-converters-matching": "Brak znalezionych konwerterów danych pasujących do '{{entity}}'.", + "no-converters-matching": "Nie znaleziono konwerterów danych pasujących do „{{entity}}”.", "no-converters-found": "Nie znaleziono konwerterów danych.", "converter-required": "Konwerter danych jest wymagany", "delete": "Usuń konwerter", "management": "Zarządzanie konwerterami danych", "add-converter-text": "Dodaj nowy konwerter danych", "no-converters-text": "Nie znaleziono konwerterów danych", - "selected-converters": "Wybrano {count, plural, =1 {1 konwerter danych} other {# konwerterów danych} }", - "delete-converter-title": "Czy na pewno chcesz usunąć konwerter danych '{{converterName}}'?", - "delete-converter-text": "Bądź ostrożny, po potwierdzeniu konwerter danych i wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "delete-converters-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 konwerter danych} other {# konwerterów danych} }?", - "delete-converters-action-title": "Usuń {count, plural, =1 {1 konwerter danych} other {# konwerterów danych} }", - "delete-converters-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane konwertery danych zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "events": "Wydarzenia", + "selected-converters": "Wybrano { count, plural, =1 {1 konwerter danych} one {# konwerter danych} few {# konwertery danych} other {# konwerterów danych} }", + "delete-converter-title": "Czy na pewno chcesz usunąć konwerter danych „{{converterName}}”?", + "delete-converter-text": "Uwaga, po potwierdzeniu konwerter danych i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-converters-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 konwerter danych} one {# konwerter danych} few {# konwertery danych} other {# konwerterów danych} }?", + "delete-converters-action-title": "Usuń { count, plural, =1 {1 konwerter danych} one {# konwerter danych} few {# konwertery danych} other {# konwerterów danych} }", + "delete-converters-text": "Uwaga, po potwierdzeniu wszystkie wybrane konwertery danych zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "events": "Zdarzenia", "add": "Dodaj konwerter danych", + "edit": "Edytuj konwerter danych", "search": "Wyszukaj konwertery danych", "converter-details": "Szczegóły konwertera danych", "details": "Szczegóły", - "copyId": "Skopiuj identyfikator konwertera", + "copyId": "Kopiuj identyfikator konwertera", "idCopiedMessage": "Identyfikator konwertera został skopiowany do schowka", "debug-mode": "Tryb debugowania", - "created-time": "Stworzony czas", + "created-time": "Czas utworzenia", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "description": "Opis", "decoder": "Dekoder", "encoder": "Enkoder", - "test-decoder-fuction": "Sprawdź działanie dekodera", + "test-decoder-fuction": "Testuj funkcję dekodera", "test-encoder-fuction": "Testuj działanie enkodera", - "test-with-this-message": "{{test}} with this message", + "test-payload-decoder": "Testuj dekoder ładunku", + "test-with-this-message": "{{test}} z tą wiadomością", "decoder-input-params": "Parametry wejściowe dekodera", "encoder-input-params": "Parametry wejściowe enkodera", - "payload": "Payload", - "payload-content-type": "Typ zawartości payload", - "payload-content": "Zawartość payload", + "payload": "Ładunek", + "payload-content-type": "Typ zawartości ładunku", + "payload-content": "Zawartość ładunku", "message": "Wiadomość", "message-type": "Typ wiadomości", "message-type-required": "Typ wiadomości jest wymagany", - "test": "Test", + "test": "Testuj", "metadata": "Metadane", "metadata-required": "Wpisy metadanych nie mogą być puste.", "integration-metadata": "Metadane integracji", @@ -1065,42 +2123,67 @@ "export-failed-error": "Nie można wyeksportować konwertera: {{error}}", "create-new-converter": "Utwórz nowy konwerter", "converter-file": "Plik konwertera", - "invalid-converter-file-error": "Nie można zaimportować konwertera: Nieprawidłowa struktura danych konwertera.", + "invalid-converter-file-error": "Nie można zaimportować konwertera: nieprawidłowa struktura danych konwertera.", "type": "Typ", "type-required": "Typ jest wymagany.", - "type-uplink": "Łącze w górę", - "type-downlink": "Łącze w dół", - "update-only-keys-list": "Update only keys list", - "update-only-keys-list-hint": "The values associated with the provided keys will be saved to the database only if they are different from the corresponding values in the previous converted message. This functionality applies to both attributes and telemetry in the converter output.", - "add-key": "Add key" + "type-uplink": "Uplink", + "type-downlink": "Downlink", + "update-only-keys-list": "Lista kluczy zapisywanych tylko przy zmianie", + "update-only-keys-list-hint": "Wartości powiązane z podanymi kluczami zostaną zapisane w bazie danych tylko wtedy, gdy różnią się od odpowiednich wartości w poprzedniej przekonwertowanej wiadomości. Ta funkcja dotyczy zarówno atrybutów, jak i telemetrii w danych wyjściowych konwertera.", + "all": "Wszystkie", + "main-decoding-configuration": "Główna konfiguracja dekodowania", + "main-encoding-configuration": "Główna konfiguracja kodowania", + "device-name": "Nazwa urządzenia", + "device-name-required": "Nazwa urządzenia jest wymagana.", + "asset-name": "Nazwa zasobu", + "asset-name-required": "Nazwa zasobu jest wymagana.", + "advanced-decoding-parameters": "Zaawansowane parametry dekodowania", + "customer-name": "Nazwa klienta", + "group": "Grupa", + "device-profile-name": "Nazwa profilu urządzenia", + "asset-profile-name": "Nazwa profilu zasobu", + "asset-label": "Etykieta zasobu", + "device-label": "Etykieta urządzenia", + "device-group-name": "Nazwa grupy urządzeń", + "asset-group-name": "Nazwa grupy zasobów", + "telemetry": "Telemetria", + "attributes": "Atrybuty", + "integration-type": "Typ integracji", + "decoder-output": "Wynik dekodera", + "converter-output": "Wynik konwertera", + "converter-type": "Typ konwertera", + "update-raw-payload": "Zaktualizowany ładunek RAW" }, "content-type": { - "json": "Json", + "json": "JSON", "text": "Tekst", - "binary": "Binarny (Base64)" + "binary": "Binarny (Base64)", + "hex": "Binarny (Hex)" }, "color": { - "color": "Color", + "color": "Kolor", "color-picker": "Narzędzie do wybierania kolorów", "primary-colors": "Kolory podstawowe", "accent-colors": "Kolory akcentujące", - "no-color-selected": "Nie wybrano koloru" + "no-color-selected": "Nie wybrano koloru", + "default": "Domyślny" }, "customer": { - "all": "Wszystko", + "all": "Wszyscy", "all-customers": "Wszyscy klienci", "groups": "Grupy", - "shared": "Wspólny", + "shared": "Współdzielone", "hierarchy": "Hierarchia", "customer": "Klient", "customers": "Klienci", + "customers-and-users": "Klienci i użytkownicy", "management": "Zarządzanie klientami", - "dashboard": "Panel Klienta", - "dashboards": "Panele klientów", - "devices": "Urządzenia Klienta", + "dashboard": "Pulpit klienta", + "dashboards": "Pulpity klienta", + "devices": "Urządzenia klienta", "entity-views": "Widoki obiektów klienta", - "assets": "Zasoby Klienta", - "public-dashboards": "Panele publiczne", + "assets": "Zasoby klienta", + "public-dashboards": "Pulpity publiczne", "public-devices": "Urządzenia publiczne", "public-assets": "Zasoby publiczne", "public-entity-views": "Publiczne widoki obiektów", @@ -1110,63 +2193,64 @@ "manage-customer-groups": "Zarządzaj grupami klientów", "manage-customer-device-groups": "Zarządzaj grupami urządzeń klientów", "manage-customer-asset-groups": "Zarządzaj grupami zasobów klientów", - "manage-customer-entity-view-groups": "Zarządzaj grupami widoków encji klienta", + "manage-customer-entity-view-groups": "Zarządzaj grupami widoków obiektów klienta", "manage-customer-edge-groups": "Zarządzaj grupami Edge klientów", - "manage-customer-dashboard-groups": "Zarządzaj grupami paneli klientów", + "manage-customer-dashboard-groups": "Zarządzaj grupami pulpitów klientów", "manage-customer-users": "Zarządzaj użytkownikami klientów", "manage-customers": "Zarządzaj klientami", "manage-customer-devices": "Zarządzaj urządzeniami klientów", - "manage-customer-entity-views": "Zarządzaj widokami encji klienta", - "manage-customer-dashboards": "Zarządzaj panelami klientów", + "manage-customer-entity-views": "Zarządzaj widokami obiektów klienta", + "manage-customer-dashboards": "Zarządzaj pulpitami klientów", "manage-public-devices": "Zarządzaj urządzeniami publicznymi", - "manage-public-dashboards": "Zarządzaj panelami publicznymi", + "manage-public-dashboards": "Zarządzaj pulpitami publicznymi", "manage-customer-assets": "Zarządzaj zasobami klientów", - "manage-customer-edges": "Zarządzaj Edge klientów", + "manage-customer-edges": "Zarządzaj instancjami Edge klientów", "manage-public-assets": "Zarządzaj zasobami publicznymi", "add-customer-text": "Dodaj nowego klienta", "no-customers-text": "Nie znaleziono żadnych klientów", "customer-details": "Szczegóły klienta", - "delete-customer-title": "Czy na pewno chcesz usunąć klienta '{{customerTitle}}'?", - "delete-customer-text": "Bądź ostrożny, po potwierdzeniu klienta i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-customers-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 klienta} other {# klientów} }?", - "delete-customers-action-title": "Usuń {count, plural, =1 {1 klienta} other {# klientów} }", - "delete-customers-text": "Bądź ostrożny, po potwierdzeniu wszyscy wybrani klienci zostaną usunięci, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", + "delete-customer-title": "Czy na pewno chcesz usunąć klienta „{{customerTitle}}”?", + "delete-customer-text": "Uwaga, po potwierdzeniu klient i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-customers-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 klienta} one {# klienta} few {# klientów} other {# klientów} }?", + "delete-customers-action-title": "Usuń { count, plural, =1 {1 klienta} one {# klienta} few {# klientów} other {# klientów} }", + "delete-customers-text": "Uwaga, po potwierdzeniu wszyscy wybrani klienci zostaną usunięci, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", "manage-user-groups": "Zarządzaj grupami użytkowników", "manage-asset-groups": "Zarządzaj grupami zasobów", "manage-device-groups": "Zarządzaj grupami urządzeń", - "manage-dashboard-groups": "Zarządzaj grupami paneli", - "manage-entity-view-groups": "Zarządzaj grupami widoków encji", + "manage-dashboard-groups": "Zarządzaj grupami pulpitów", + "manage-entity-view-groups": "Zarządzaj grupami widoków obiektów", "manage-edge-groups": "Zarządzaj grupami Edge", "manage-users": "Zarządzaj użytkownikami", "manage-assets": "Zarządzaj zasobami", "manage-devices": "Zarządzaj urządzeniami", - "manage-dashboards": "Zarządzaj panelami", - "manage-entity-views": "Zarządzaj widokami encji", + "manage-dashboards": "Zarządzaj pulpitami", + "manage-entity-views": "Zarządzaj widokami obiektów", "title": "Tytuł", "title-required": "Tytuł jest wymagany.", - "title-max-length": "Tytuł powinien być mniejszy niż 256", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", "description": "Opis", "details": "Szczegóły", - "events": "Wydarzenia", - "copyId": "Skopiuj identyfikator klienta", + "events": "Zdarzenia", + "copyId": "Kopiuj identyfikator klienta", "idCopiedMessage": "Identyfikator klienta został skopiowany do schowka", "select-customer": "Wybierz klienta", - "no-customers-matching": "Brak klientów pasujących do '{{entity}}' zostały znalezione.", - "customer-required": "Klient jest wymagany", + "no-customers-matching": "Nie znaleziono klientów pasujących do „{{entity}}”.", + "customer-required": "Klient jest wymagany.", "select-group-to-add": "Wybierz grupę docelową, aby dodać wybranych klientów", "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybranych klientów", - "remove-customers-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 klienta} other {# klientów} } z grupy '{{entityGroup}}'?", + "remove-customers-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 klienta} one {# klienta} few {# klientów} other {# klientów} } z grupy '{{entityGroup}}'?", "group": "Grupa klientów", - "list-of-groups": "{count, plural, =1 {Jedna grupa klientów} other {Lista # grup klientów} }", - "group-name-starts-with": "Grupy klientów, których nazwy zaczynają się od '{{prefix}}'", + "list-of-groups": "{count, plural, =1 {Jedna grupa klientów} one {Lista # grupy klientów} few {Lista # grup klientów} other {Lista # grup klientów} }", + "group-name-starts-with": "Grupy klientów, których nazwy zaczynają się od „{{prefix}}”", "select-default-customer": "Wybierz domyślnego klienta", "default-customer": "Domyślny klient", - "default-customer-required": "Do debugowania panelu na poziomie dzierżawy wymagany jest domyślny klient", - "allow-white-labeling": "Zezwalaj na white labeling", + "default-customer-required": "Do debugowania pulpitu na poziomie tenanta wymagany jest domyślny klient", + "allow-white-labeling": "Zezwalaj na branding", "search": "Szukaj klientów", - "selected-customers": "Wybrano {count, plural, =1 {1 klienta} other {# klientów} }", - "edges": "Obiekty Edge klienta", - "manage-edges": "Zarządzaj Edge" + "selected-customers": "Wybrano {count, plural, =1 {1 klienta} one {# klienta} few {# klientów} other {# klientów} }", + "edges": "Instancje Edge klienta", + "manage-edges": "Zarządzaj instancjami Edge", + "manage-agents": "Zarządzaj instancjami Agent" }, "customers-hierarchy": { "customers-hierarchy": "Hierarchia klientów", @@ -1175,136 +2259,245 @@ }, "custom-menu": { "custom-menu": "Niestandardowe menu", - "custom-menu-hint": "Zdefiniuj poniżej JSON niestandardowego menu. Ten JSON zawiera listę elementów niestandardowego menu." + "custom-menu-config": "Konfiguracja niestandardowego menu", + "no-custom-menus-prompt": "Nie znaleziono niestandardowych menu", + "no-custom-menus-matching": "Nie znaleziono niestandardowych menu pasujących do „{{entity}}”.", + "search": "Szukaj niestandardowych menu", + "add": "Dodaj niestandardowe menu", + "delete-custom-menu-title": "Czy na pewno chcesz usunąć niestandardowe menu „{{customMenuName}}”?", + "delete-custom-menu-text": "Uwaga, po potwierdzeniu niestandardowe menu i wszystkie powiązane dane zostaną bezpowrotnie utracone.", + "name": "Nazwa", + "name-required": "Nazwa jest wymagana", + "edit-name": "Edytuj nazwę", + "scope": "Zakres", + "scope-system": "System", + "scope-tenant": "Tenant", + "scope-customer": "Klient", + "assignee-type": "Typ przypisania", + "assignee-no-assign": "Nieprzypisane", + "assignee-customer-all": "Wszyscy użytkownicy klienta", + "assignee-customers": "Lista klientów", + "assignee-tenant-all": "Wszyscy użytkownicy tenanta", + "assignee-users": "Lista użytkowników", + "assignee-user-group-names": "Nazwy grup użytkowników", + "user-group-name": "Nazwa grupy użytkowników", + "assign-to": "Przypisz do", + "manage-assignees": "Zarządzaj przypisaniami niestandardowego menu", + "manage-config": "Zarządzaj konfiguracją niestandardowego menu", + "show-hidden-items": "Pokaż ukryte elementy", + "delete-custom-menu": "Usuń niestandardowe menu", + "delete-custom-menu-user-list-text": "To menu jest przypisane do „Listy użytkowników”. Jeśli je usuniesz, do użytkowników wymienionych poniżej zostanie zastosowane domyślne menu.", + "delete-custom-menu-customer-list-text": "To menu jest przypisane do „Listy klientów”. Jeśli je usuniesz, do klientów wymienionych poniżej zostanie zastosowane domyślne menu.", + "add-custom-menu-item": "Dodaj niestandardowy element menu", + "add-custom-menu-subitem": "Dodaj niestandardowy podelement menu", + "edit-custom-menu-item": "Edytuj niestandardowy element menu", + "edit-custom-menu-subitem": "Edytuj niestandardowy podelement menu", + "custom-item": "Niestandardowy element", + "menu-item-name": "Nazwa elementu menu", + "menu-item-name-is-required": "Nazwa elementu menu jest wymagana", + "reset-to-menu-item-defaults": "Resetuj element menu do ustawień domyślnych", + "delete-menu-item": "Usuń element menu", + "add-subitem": "Dodaj podelement", + "hide-all-menu-items": "Ukryj wszystkie elementy menu", + "reset-to-default-menu": "Resetuj do domyślnego menu", + "edit-menu-item": "Edytuj element menu", + "edit-home-menu-item": "Edytuj element menu strony głównej", + "visible": "Widoczny", + "hidden": "Ukryty", + "home-page-type": "Typ strony głównej", + "home-menu-item-type-default": "Domyślny", + "home-menu-item-type-dashboard": "Pulpit", + "hide-toolbar": "Ukryj pasek narzędzi", + "item-type": "Typ elementu", + "item-type-link": "Link", + "item-type-section": "Sekcja", + "link": "Link", + "link-type-url": "URL", + "link-type-dashboard": "Pulpit", + "url": "URL", + "set-url": "Ustaw URL", + "set-access-token": "Ustaw token dostępu", + "menu-conflict": "Konflikt menu", + "menu-conflict-message": "Istnieje już inne domyślne niestandardowe menu o zakresie {{scope}}. Czy na pewno chcesz je zastąpić swoim niestandardowym menu?", + "replace": "Zastąp" }, "custom-translation": { + "add-new-key": "Dodaj nowy klucz", + "add-new-language": "Dodaj nowy język", + "added-key": "Dodany klucz", + "copy-original-text": "Kopiuj oryginalny tekst", + "copy-term-key": "Kopiuj klucz terminu", + "country": "Kraj", "custom-translation": "Tłumaczenie niestandardowe", + "customized": "Dostosowane", + "delete-language-text": "Uwaga, po potwierdzeniu tłumaczenie „{{language}}” i wszystkie powiązane dane zostaną bezpowrotnie utracone.", + "delete-language-title": "Czy na pewno chcesz usunąć tłumaczenie „{{language}}”?", + "delete-translation": "Usuń tłumaczenie", + "download-translation": "Pobierz tłumaczenie", + "drop-json-file": "Przeciągnij i upuść plik JSON lub", + "language": "Język", + "language-required": "Język jest wymagany", + "localization-code": "Kod lokalizacji", + "no-translation-matching": "Nie znaleziono języka pasującego do „{{search}}”.", + "return-default-translation": "Przywróć domyślne tłumaczenie", + "search": "Szukaj tłumaczenia", + "set": "Ustaw", + "term-key": "Klucz terminu", + "translated": "Przetłumaczone", "translation-map": "Mapa tłumaczeń", - "key": "Klucz do tłumaczenia", - "import": "Importuj tłumaczenie", - "export": "Eksportuj tłumaczenie", - "export-data": "Eksportuj dane tłumaczeń", - "import-data": "Importuj dane tłumaczeń", - "translation-file": "Plik tłumaczeniowy", - "invalid-translation-file-error": "Nie można zaimportować pliku tłumaczenia: Nieprawidłowa struktura danych tłumaczenia.", - "custom-translation-hint": "Zdefiniuj poniżej tłumaczenie niestandardowe JSON. ", - "download-locale-file": "Pobierz plik ustawień regionalnych" + "translation-name": "Tłumaczenie {{ name }} - {{ country }}", + "translation-progress": "Postęp tłumaczenia", + "untranslated": "Nieprzetłumaczone", + "upload-translation-file": "Prześlij plik tłumaczeniowy", + "translation-file": "Plik tłumaczeniowy" + }, + "css-size": { + "size-value-required": "Wartość rozmiaru jest wymagana", + "invalid-size-value": "Nieprawidłowa wartość rozmiaru" }, "date": { - "last-update-n-ago": "Last update N ago", - "last-update-n-ago-text": "Last update {{ agoText }}", - "custom-date": "Custom date", + "last-update-n-ago": "Ostatnia aktualizacja N temu", + "last-update-n-ago-text": "Ostatnia aktualizacja {{ agoText }}", + "custom-date": "Niestandardowa data", "format": "Format", - "preview": "Preview" + "preview": "Podgląd", + "auto": "Automatycznie", + "time-granularity-formats": "Formaty szczegółowości czasu", + "unit-year": "Lata", + "unit-month": "Miesiące", + "unit-day": "Dni", + "unit-hour": "Godziny", + "unit-minute": "Minuty", + "unit-second": "Sekundy", + "unit-millisecond": "Milisekundy" }, "datetime": { "date-from": "Data od", "time-from": "Czas od", "date-to": "Data do", - "time-to": "Czas na" + "time-to": "Czas do", + "from": "Od", + "to": "Do" }, "dashboard": { "ai-assistant-initial-prompt-placeholder": "Opisz, co chcesz skonfigurować...", "ai-assistant-example-monitor-device-label": "Monitoruj urządzenie", "ai-assistant-example-monitor-device-message": "Urządzenie to ... Chcę skonfigurować ten pulpit jako widok jednego stanu tego urządzenia, pokazujący jego najnowszą telemetrię jako karty wartości u góry, wykres szeregów czasowych tej telemetrii poniżej oraz tabelę jego aktywnych alarmów na dole.", "ai-assistant-example-monitor-fleet-label": "Monitoruj flotę urządzeń", - "ai-assistant-example-monitor-fleet-message": "Typ urządzenia to ... Chcę skonfigurować ten pulpit z dwoma stanami dla tego typu. Stan przeglądu powinien wyświetlać wszystkie urządzenia tego typu w tabeli encji, a poniżej tabelę aktywnych alarmów tych urządzeń. Wybranie urządzenia otwiera stan szczegółów pokazujący najnowszą telemetrię tego urządzenia jako karty wartości u góry, wykres szeregów czasowych tej telemetrii poniżej oraz tabelę jego aktywnych alarmów na dole.", - "all": "Wszystko", - "all-dashboards": "Wszystkie panele", + "ai-assistant-example-monitor-fleet-message": "Typ urządzenia to ... Chcę skonfigurować ten pulpit z dwoma stanami dla tego typu. Stan przeglądu powinien wyświetlać wszystkie urządzenia tego typu w tabeli obiektów, a poniżej tabelę aktywnych alarmów tych urządzeń. Wybranie urządzenia otwiera stan szczegółów pokazujący najnowszą telemetrię tego urządzenia jako karty wartości u góry, wykres szeregów czasowych tej telemetrii poniżej oraz tabelę jego aktywnych alarmów na dole.", + "all": "Wszystkie", + "all-dashboards": "Wszystkie pulpity", "groups": "Grupy", - "shared": "Wspólny", - "dashboard": "Panel", - "dashboards": "Panele", - "management": "Zarządzanie panelem", - "view-dashboards": "Wyświetl panele", - "add": "Dodaj panel", - "assign-dashboard-to-customer": "Przypisz panel(e) do klienta", - "assign-dashboard-to-customer-text": "Proszę wybrać panele, które chcesz przypisać do klienta", - "assign-to-customer-text": "Wybierz klienta, któremu chcesz przypisać panel(e)", + "shared": "Współdzielone", + "dashboard": "Pulpit", + "dashboards": "Pulpity", + "management": "Zarządzanie pulpitami", + "view-dashboards": "Wyświetl pulpity", + "add": "Dodaj pulpit", + "assign-dashboard-to-customer": "Przypisz pulpity do klienta", + "assign-dashboard-to-customer-text": "Wybierz pulpity, które chcesz przypisać do klienta", + "assign-to-customer-text": "Wybierz klienta, któremu chcesz przypisać pulpity", "assign-to-customer": "Przypisz do klienta", - "unassign-from-customer": "Usuń przypisanie od klienta", - "make-public": "Ustaw panel jako publiczny", - "make-private": "Ustaw panel jako prywatny", - "manage-assigned-customers": "Zarządzaj przydzielonymi klientami", - "assigned-customers": "Przydzieleni klienci", - "assign-to-customers": "Przypisz panele klientom", - "assign-to-customers-text": "Wybierz klientów, którym chcesz przypisać panele", - "unassign-from-customers": "Usuń przypisanie paneli od klientów", - "unassign-from-customers-text": "Wybierz klientów, których przypisanie chcesz usunąć z paneli", - "no-dashboards-text": "Nie znaleziono paneli", + "unassign-from-customer": "Anuluj przypisanie do klienta", + "make-public": "Ustaw pulpit jako publiczny", + "make-private": "Ustaw pulpit jako prywatny", + "manage-assigned-customers": "Zarządzaj przypisanymi klientami", + "assigned-customers": "Przypisani klienci", + "assign-to-customers": "Przypisz pulpity klientom", + "assign-to-customers-text": "Wybierz klientów, którym chcesz przypisać pulpity", + "unassign-from-customers": "Anuluj przypisanie pulpitów do klientów", + "unassign-from-customers-text": "Wybierz klientów, dla których chcesz anulować przypisanie pulpitów", + "no-dashboards-text": "Nie znaleziono pulpitów", "no-widgets": "Nie skonfigurowano żadnych widżetów", "add-widget": "Dodaj nowy widżet", - "add-widget-button-text": "Add widget", + "add-widget-button-text": "Dodaj widżet", + "edit-html-page": "Edytuj stronę HTML", + "html-page": "Strona HTML", "title": "Tytuł", - "image": "Obraz panelu", + "image": "Obraz pulpitu", "mobile-app-settings": "Ustawienia aplikacji mobilnej", - "mobile-order": "Kolejność panelu w aplikacji mobilnej", - "mobile-hide": "Ukryj panel w aplikacji mobilnej", - "update-image": "Zaktualizuj obraz panelu", - "take-screenshot": "Zrobić zrzut ekranu", + "mobile-order": "Kolejność pulpitu w aplikacji mobilnej", + "mobile-hide": "Ukryj pulpit w aplikacji mobilnej", + "update-image": "Zaktualizuj obraz pulpitu", + "update-new-version": "Prześlij nową wersję", + "upload-file-to-update": "Prześlij plik, aby zaktualizować", + "take-screenshot": "Zrób zrzut ekranu", + "take-screenshot-failed": "Nie udało się wykonać zrzutu ekranu pulpitu. Spróbuj ponownie.", "select-widget-title": "Wybierz widżet", "select-widget-value": "{{title}}: wybierz widżet", - "select-widget-subtitle": "Lista dostępnych typów widgetów", - "delete": "Usuń panel", + "select-widget-subtitle": "Lista dostępnych typów widżetów", + "delete": "Usuń pulpit", "title-required": "Tytuł jest wymagany.", - "title-max-length": "Tytuł powinien być mniejszy niż 256", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", "description": "Opis", "details": "Szczegóły", - "dashboard-details": "Szczegóły panelu", - "add-dashboard-text": "Dodaj nowy panel", - "assign-dashboards": "Przypisz panele", - "assign-new-dashboard": "Przypisz nowy panel", - "assign-dashboards-text": "Przypisz {count, plural, =1 {1 panel} other {# panelów} } do klientów.", - "unassign-dashboards-action-text": "Anuluj przypisanie {count, plural, =1 {1 panelu} other {# paneli} } do klientów.", - "delete-dashboards": "Usuń panele", - "unassign-dashboards": "Usuń przypisanie paneli", - "unassign-dashboards-action-title": "Anuluj przypisanie {count, plural, =1 {1 panelu} other {# paneli} } do klientów.", - "delete-dashboard-title": "Czy na pewno chcesz usunąć panel '{{dashboardTitle}}'?", - "delete-dashboard-text": "Bądź ostrożny, po potwierdzeniu panelu i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-dashboards-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 panel} other {# paneli} }?", - "delete-dashboards-action-title": "Usuń {count, plural, =1 {1 panel} other {# paneli} }", - "delete-dashboards-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane panele zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "unassign-dashboard-title": "Czy na pewno chcesz usunąć przypisanie panelu '{{dashboardTitle}}'?", - "unassign-dashboard-text": "Po potwierdzeniu przypisanie panelu zostanie usunięte i nie będzie dostępne dla klienta.", - "unassign-dashboard": "Anuluj przypisanie panelu", - "unassign-dashboards-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 panelu} other {# paneli} }?", - "unassign-dashboards-text": "Po potwierdzeniu wszystkie wybrane panele zostaną usunięte i nie będą dostępne dla klienta.", - "public-dashboard-title": "Panel jest teraz publiczny", - "public-dashboard-text": "Twój panel {{dashboardTitle}} jest teraz publiczny i dostępny poprzez następny publiczny link:", - "public-dashboard-notice": "Notatka: Nie zapomnij o upublicznieniu powiązanych urządzeń, aby uzyskać dostęp do ich danych.", - "public-dashboard-link": "Link do publicznego panelu", - "public-dashboard-link-text": "Twój publiczny panel {{dashboardTitle}} jest dostępny poprzez next public połączyć:", - "public-dashboard-link-notice": "Notatka: Nie zapomnij o upublicznieniu powiązanych urządzeń, zasobów i widoków obiektów, aby uzyskać dostęp do ich danych.", - "make-private-dashboard-title": "Czy na pewno chcesz uczynić panel '{{dashboardTitle}}' prywatnym?", - "make-private-dashboard-text": "Po potwierdzeniu panel stanie się prywatny i nie będzie dostępny dla innych.", - "make-private-dashboard": "Ustaw panel jako prywatny", - "socialshare-text": "'{{dashboardTitle}}' zasilany przez ThingsBoard", - "socialshare-title": "'{{dashboardTitle}}' zasilany przez ThingsBoard", - "select-dashboard": "Wybierz panel", - "no-dashboards-matching": "Nie znaleziono pasujących paneli do '{{entity}}'.", - "dashboard-required": "Panel jest wymagany.", - "select-existing": "Wybierz istniejący panel", - "create-new": "Utwórz nowy panel", - "new-dashboard-title": "Nowy tytuł panelu", - "open-dashboard": "Otwórz panel", + "dashboard-details": "Szczegóły pulpitu", + "add-dashboard-text": "Dodaj nowy pulpit", + "assign-dashboards": "Przypisz pulpity", + "assign-new-dashboard": "Przypisz nowy pulpit", + "assign-dashboards-text": "Przypisz {count, plural, =1 {1 pulpit} one {# pulpit} few {# pulpity} other {# pulpitów} } do klientów", + "unassign-dashboards-action-text": "Anuluj przypisanie {count, plural, =1 {1 pulpitu} one {# pulpitu} few {# pulpitów} other {# pulpitów} } do klientów", + "delete-dashboards": "Usuń pulpity", + "unassign-dashboards": "Anuluj przypisanie pulpitów", + "unassign-dashboards-action-title": "Anuluj przypisanie {count, plural, =1 {1 pulpitu} one {# pulpitu} few {# pulpitów} other {# pulpitów} } do klienta", + "delete-dashboard-title": "Czy na pewno chcesz usunąć pulpit „{{dashboardTitle}}”?", + "delete-dashboard-text": "Uwaga, po potwierdzeniu pulpit i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-dashboards-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 pulpit} one {# pulpit} few {# pulpity} other {# pulpitów} }?", + "delete-dashboards-action-title": "Usuń {count, plural, =1 {1 pulpit} one {# pulpit} few {# pulpity} other {# pulpitów} }", + "delete-dashboards-text": "Uwaga, po potwierdzeniu wszystkie wybrane pulpity zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "unassign-dashboard-title": "Czy na pewno chcesz anulować przypisanie pulpitu „{{dashboardTitle}}”?", + "unassign-dashboard-text": "Po potwierdzeniu pulpit nie będzie już przypisany do klienta i nie będzie dla niego dostępny.", + "unassign-dashboard": "Anuluj przypisanie pulpitu", + "unassign-dashboards-title": "Czy na pewno chcesz anulować przypisanie {count, plural, =1 {1 pulpitu} one {# pulpitu} few {# pulpitów} other {# pulpitów} }?", + "unassign-dashboards-text": "Po potwierdzeniu wszystkie wybrane pulpity nie będą już przypisane do klienta i nie będą dla niego dostępne.", + "public-dashboard-title": "Pulpit jest teraz publiczny", + "public-dashboard-text": "Twój pulpit {{dashboardTitle}} jest teraz publiczny i dostępny pod następującym publicznym linkiem:", + "public-dashboard-notice": "Uwaga: Nie zapomnij o upublicznieniu powiązanych urządzeń, aby uzyskać dostęp do ich danych.", + "public-dashboard-link": "Link do publicznego pulpitu", + "public-dashboard-link-text": "Twój publiczny pulpit {{dashboardTitle}} jest dostępny pod następującym publicznym linkiem:", + "public-dashboard-link-notice": "Uwaga: Nie zapomnij o upublicznieniu powiązanych urządzeń, zasobów i widoków obiektów, aby uzyskać dostęp do ich danych.", + "make-private-dashboard-title": "Czy na pewno chcesz uczynić pulpit „{{dashboardTitle}}” prywatnym?", + "make-private-dashboard-text": "Po potwierdzeniu pulpit stanie się prywatny i nie będzie dostępny dla innych.", + "make-private-dashboard": "Ustaw pulpit jako prywatny", + "socialshare-text": "„{{dashboardTitle}}” — działa na platformie ThingsBoard", + "socialshare-title": "„{{dashboardTitle}}” — działa na platformie ThingsBoard", + "select-dashboard": "Wybierz pulpit", + "no-dashboards-matching": "Nie znaleziono pulpitów pasujących do „{{entity}}”.", + "dashboard-required": "Pulpit jest wymagany.", + "select-existing": "Wybierz istniejący pulpit", + "create-new": "Utwórz nowy pulpit", + "new-dashboard-title": "Tytuł nowego pulpitu", + "open-dashboard": "Otwórz pulpit", "set-background": "Ustaw tło", "background-color": "Kolor tła", - "background-image": "Zdjęcie w tle", + "background-image": "Obraz tła", "background-size-mode": "Tryb rozmiaru tła", "no-image": "Nie wybrano obrazu", - "empty-image": "Brak obrazka", + "empty-image": "Brak obrazu", "drop-image": "Upuść obraz lub kliknij, aby wybrać plik do przesłania.", "maximum-upload-file-size": "Maksymalny rozmiar przesyłanego pliku: {{ size }}", "cannot-upload-file": "Nie można przesłać pliku", "settings": "Ustawienia", + "move-all-widgets": "Przesuń wszystkie widżety", + "move-by": "Przesuń o", + "cols": "kolumny", + "rows": "wiersze", + "layout": "Układ", + "layout-type-default": "Domyślny", + "layout-type-scada": "SCADA", + "layout-type-divider": "Separator", + "layout-type-html": "Strona HTML", + "layout-settings-type": "Ustawienia układu: rozmiar ekranu {{ type }}", "columns-count": "Liczba kolumn", "columns-count-required": "Liczba kolumn jest wymagana.", "min-columns-count-message": "Dozwolona jest tylko minimalna liczba kolumn wynosząca 10.", "max-columns-count-message": "Dozwolona jest tylko maksymalna liczba kolumn wynosząca 1000.", + "min-layout-width": "Minimalna szerokość układu", + "columns-suffix": "kolumn", "widgets-margins": "Margines między widżetami", "margin-required": "Wartość marginesu jest wymagana.", "min-margin-message": "Jako minimalną wartość marginesu dozwolone jest tylko 0.", - "max-margin-message": "Jako maksymalna wartość marginesu dozwolona jest tylko 50.", + "max-margin-message": "Maksymalna dozwolona wartość marginesu to 50.", "horizontal-margin": "Margines poziomy", "horizontal-margin-required": "Wartość marginesu poziomego jest wymagana.", "min-horizontal-margin-message": "Dozwolona jest tylko wartość 0 jako minimalna wartość marginesu poziomego.", @@ -1314,105 +2507,127 @@ "min-vertical-margin-message": "Dozwolone jest tylko 0 jako minimalna wartość marginesu pionowego.", "max-vertical-margin-message": "Dozwolona jest tylko wartość 50 jako maksymalna wartość marginesu pionowego.", "apply-outer-margin": "Zastosuj marginesy po bokach układu", - "autofill-height": "Automatyczne dopełnienie do wysokości strony", + "autofill-height": "Automatycznie dopasuj wysokość układu", "mobile-layout": "Ustawienia układu mobilnego", - "mobile-row-height": "Wysokość wiersza mobilnego, px", + "mobile-row-height": "Wysokość wiersza mobilnego", "mobile-row-height-required": "Wartość wysokości wiersza mobilnego jest wymagana.", "min-mobile-row-height-message": "Jako minimalna wysokość wiersza na urządzeniach mobilnych dozwolone jest tylko 5 pikseli.", "max-mobile-row-height-message": "Maksymalna wysokość wiersza mobilnego może wynosić tylko 200 pikseli.", + "row-height": "Wysokość wiersza", + "row-height-required": "Wartość wysokości wiersza jest wymagana.", + "min-row-height-message": "Minimalna dozwolona wartość wysokości wiersza to 5 pikseli.", + "max-row-height-message": "Maksymalna dozwolona wartość wysokości wiersza to 200 pikseli.", + "display-first-in-mobile-view": "Wyświetlaj jako pierwszy w widoku mobilnym", "title-settings": "Ustawienia tytułu", - "display-title": "Wyświetl tytuł panelu kontrolnego", + "display-title": "Wyświetl tytuł pulpitu", "title-color": "Kolor tytułu", "toolbar-settings": "Ustawienia paska narzędzi", "hide-toolbar": "Ukryj pasek narzędzi", "toolbar-always-open": "Pozostaw pasek narzędzi otwarty", - "display-dashboards-selection": "Wyświetl wybór paneli", + "display-dashboards-selection": "Wyświetl wybór pulpitów", "display-entities-selection": "Wyświetl wybór obiektów", "display-filters": "Wyświetl filtry", "display-dashboard-timewindow": "Wyświetl okno czasowe", - "display-dashboard-export": "Eksport wyświetlacza", - "display-update-dashboard-image": "Wyświetl obraz panelu aktualizacji", - "dashboard-logo-settings": "Ustawienia logo panelu", - "display-dashboard-logo": "Wyświetlaj logo w trybie pełnoekranowym deski rozdzielczej", - "dashboard-logo-image": "Obraz logo panelu", + "display-dashboard-export": "Wyświetl eksport", + "display-update-dashboard-image": "Wyświetl aktualizację obrazu pulpitu", + "display-configure-with-ai": "Wyświetlaj przycisk „Skonfiguruj z AI”", + "dashboard-logo-settings": "Ustawienia logo pulpitu", + "display-dashboard-logo": "Wyświetlaj logo w trybie pełnoekranowym pulpitu", + "dashboard-logo-image": "Obraz logo pulpitu", "advanced-settings": "Zaawansowane ustawienia", - "dashboard-css": "CSS panelu kontrolnego", - "import": "Importuj panel", - "export": "Eksportuj panel", - "export-failed-error": "Nie można wyeksportować panelu: {{error}}", + "dashboard-css": "CSS pulpitu", + "import": "Importuj pulpit", + "export": "Eksportuj pulpit", + "export-failed-error": "Nie można wyeksportować pulpitu: {{error}}", + "export-prompt": "Osadź obrazy i pliki pulpitu", "export-pdf": "Eksportuj jako plik PDF", "export-png": "Eksportuj jako PNG", "export-jpg": "Eksportuj jako JPEG", "export-json-config": "Eksportuj konfigurację JSON", - "download-dashboard-progress": "Generowanie panelu {{reportType}} ...", - "create-new-dashboard": "Utwórz nowy panel", - "dashboard-file": "Plik panelu", - "invalid-dashboard-file-error": "Nie można zaimportować panelu: Nieprawidłowa struktura danych panelu.", - "dashboard-import-missing-aliases-title": "Skonfiguruj aliasy używane przez zaimportowany panel", - "create-new-widget": "Utwórz nowy widget", + "download-dashboard-progress": "Generowanie pulpitu w formacie {{reportType}} ...", + "create-new-dashboard": "Utwórz nowy pulpit", + "dashboard-file": "Plik pulpitu", + "invalid-dashboard-file-error": "Nie można zaimportować pulpitu: nieprawidłowa struktura danych pulpitu.", + "dashboard-import-missing-aliases-title": "Skonfiguruj aliasy używane przez zaimportowany pulpit", + "create-new-widget": "Utwórz nowy widżet", "import-widget": "Importuj widżet", - "widget-file": "Plik widgetu", - "invalid-widget-file-error": "Nie można zaimportować widżetu: Nieprawidłowa struktura danych widżetu.", - "widget-import-missing-aliases-title": "Skonfiguruj aliasy używane przez zaimportowany widget", - "open-toolbar": "Otwórz pasek narzędzi panelu", + "widget-file": "Plik widżetu", + "invalid-widget-file-error": "Nie można zaimportować widżetu: nieprawidłowa struktura danych widżetu.", + "widget-import-missing-aliases-title": "Skonfiguruj aliasy używane przez zaimportowany widżet", + "open-toolbar": "Otwórz pasek narzędzi pulpitu", "close-toolbar": "Zamknij pasek narzędzi", "configuration-error": "Błąd konfiguracji", - "alias-resolution-error-title": "Błąd konfiguracji aliasów panelu", + "alias-resolution-error-title": "Błąd konfiguracji aliasów pulpitu", "invalid-aliases-config": "Nie można znaleźć żadnych urządzeń pasujących do niektórych filtrów aliasów.
Aby rozwiązać ten problem, skontaktuj się z administratorem.", "select-devices": "Wybierz urządzenia", "assignedToCustomer": "Przypisany do klienta", "assignedToCustomers": "Przypisane do klientów", "public": "Publiczny", - "copyId": "Skopiuj identyfikator panelu", - "idCopiedMessage": "Identyfikator panelu został skopiowany do schowka", + "copyId": "Kopiuj identyfikator pulpitu", + "idCopiedMessage": "Identyfikator pulpitu został skopiowany do schowka", "public-link": "Link publiczny", - "copy-public-link": "Skopiuj link publiczny", - "public-link-copied-message": "Link publiczny panelu został skopiowany do schowka", - "manage-states": "Zarządzaj stanami panelu", - "states": "Stany panelu", - "states-short": "States", - "search-states": "Wyszukaj stany panelu", - "selected-states": "Wybrano {count, plural, =1 {1 stan panelu} other {# stanów paneli} }", - "edit-state": "Edytuj stan panelu", - "delete-state": "Usuń stan panelu", - "add-state": "Dodaj stan panelu", + "copy-public-link": "Kopiuj link publiczny", + "public-link-copied-message": "Link publiczny pulpitu został skopiowany do schowka", + "manage-states": "Zarządzaj stanami pulpitu", + "states": "Stany pulpitu", + "states-short": "Stany", + "search-states": "Wyszukaj stany pulpitu", + "selected-states": "Wybrano {count, plural, =1 {1 stan pulpitu} one {# stan pulpitu} few {# stany pulpitu} other {# stanów pulpitu} }", + "edit-state": "Edytuj stan pulpitu", + "delete-state": "Usuń stan pulpitu", + "add-state": "Dodaj stan pulpitu", "no-states-text": "Nie znaleziono żadnych stanów", - "state": "Stan panelu", + "state": "Stan pulpitu", "state-name": "Nazwa", - "state-name-required": "Nazwa stanu panelu jest wymagana.", + "state-name-required": "Nazwa stanu pulpitu jest wymagana.", "state-id": "Identyfikator stanu", - "state-id-required": "Identyfikator stanu panelu jest wymagany.", - "state-id-exists": "Stan panelu o tym samym identyfikatorze już istnieje.", - "is-root-state": "Root state", - "delete-state-title": "Usuń stan panelu", - "delete-state-text": "Czy na pewno chcesz usunąć stan panelu o nazwie '{{stateName}}'?", + "state-id-required": "Identyfikator stanu pulpitu jest wymagany.", + "state-id-exists": "Stan pulpitu o tym samym identyfikatorze już istnieje.", + "is-root-state": "Stan główny", + "delete-state-title": "Usuń stan pulpitu", + "delete-state-text": "Czy na pewno chcesz usunąć stan pulpitu o nazwie „{{stateName}}”?", "show-details": "Pokaż szczegóły", "hide-details": "Ukryj szczegóły", "select-state": "Wybierz stan docelowy", "state-controller": "Kontroler stanu", - "search": "Przeszukaj dashboardy", - "selected-dashboards": "Wybrano {count, plural, =1 {1 panel} other {# dashboardów} }", - "home-dashboard": "Panel główny", - "home-dashboard-hide-toolbar": "Ukryj pasek narzędzi panelu głównego", - "select-group-to-add": "Wybierz grupę docelową, aby dodać wybrane panele", - "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybrane panele", - "remove-dashboards-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 panel} other {# paneli} } z grupy '{{entityGroup}}'?", - "group": "Grupa paneli", - "list-of-groups": "{count, plural, =1 {Jedna grupa paneli} other {Lista # grup paneli} }", - "group-name-starts-with": "Grupy paneli, których nazwy zaczynają się od '{{prefix}}'", - "unassign-dashboard-from-edge-text": "Po potwierdzeniu panel zostanie usunięty i nie będzie dostępny na urządzeniu Edge.", - "unassign-dashboards-from-edge-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 panelu} other {# paneli} }?", - "unassign-dashboards-from-edge-text": "Po potwierdzeniu wszystkie wybrane panele zostaną usunięte i nie będą dostępne na urządzeniu Edge.", - "assign-dashboard-to-edge": "Przypisz panele do Edge", - "assign-dashboard-to-edge-text": "Wybierz panele, które chcesz przypisać do Edge", - "non-existent-dashboard-state-error": "Stan panelu z identyfikatorem \"{{ stateId }}\" nie znaleziono", - "edit-mode": "Edit mode" + "state-controller-default": "statyczny (przestarzały)", + "search": "Szukaj pulpitów", + "selected-dashboards": "Wybrano {count, plural, =1 {1 pulpit} one {# pulpit} few {# pulpity} other {# pulpitów} }", + "home-dashboard": "Pulpit główny", + "home-dashboard-hide-toolbar": "Ukryj pasek narzędzi pulpitu głównego", + "select-group-to-add": "Wybierz grupę docelową, aby dodać wybrane pulpity", + "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybrane pulpity", + "remove-dashboards-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 pulpit} one {# pulpit} few {# pulpity} other {# pulpitów} } z grupy '{{entityGroup}}'?", + "group": "Grupa pulpitów", + "list-of-groups": "{count, plural, =1 {Jedna grupa pulpitów} one {Lista # grupy pulpitów} few {Lista # grup pulpitów} other {Lista # grup pulpitów} }", + "group-name-starts-with": "Grupy pulpitów, których nazwy zaczynają się od „{{prefix}}”", + "unassign-dashboard-from-edge-text": "Po potwierdzeniu pulpit nie będzie już przypisany do instancji Edge i nie będzie dla niej dostępny.", + "unassign-dashboards-from-edge-title": "Czy na pewno chcesz anulować przypisanie {count, plural, =1 {1 pulpitu} one {# pulpitu} few {# pulpitów} other {# pulpitów} }?", + "unassign-dashboards-from-edge-text": "Po potwierdzeniu wszystkie wybrane pulpity nie będą już przypisane do instancji Edge i nie będą dla niej dostępne.", + "assign-dashboard-to-edge": "Przypisz pulpity do instancji Edge", + "assign-dashboard-to-edge-text": "Wybierz pulpity, które chcesz przypisać do instancji Edge", + "non-existent-dashboard-state-error": "Nie znaleziono stanu pulpitu o identyfikatorze „{{ stateId }}”", + "edit-mode": "Tryb edycji", + "duplicate-state-action": "Duplikuj stan", + "breakpoint-value": "Rozmiar ekranu ({{ value }})", + "breakpoints-id": { + "default": "Domyślny", + "xs": "Telefon (xs)", + "sm": "Tablet (sm)", + "md": "Laptop (md)", + "lg": "Komputer stacjonarny (lg)", + "xl": "Komputer stacjonarny (xl)" + }, + "view-format-type-grid": "Siatka", + "view-format-type-list": "Lista", + "view-format": "Format widoku" }, "datakey": { "settings": "Ustawienia", "general": "Ogólne", "advanced": "Zaawansowane", "key": "Klucz", + "keys": "Klucze", "label": "Etykieta", "color": "Kolor", "units": "Specjalny symbol wyświetlany obok wartości", @@ -1423,38 +2638,38 @@ "timeseries": "Szereg czasowy", "attributes": "Atrybuty", "entity-field": "Pole obiektu", - "alarm": "Pola alarmowe", - "timeseries-required": "Szeregi czasowe encji są wymagane.", - "timeseries-or-attributes-required": "Szeregi czasowe/atrybuty elementu są wymagane.", - "alarm-fields-timeseries-or-attributes-required": "Pola alarmów lub szeregi czasowe/atrybuty encji są wymagane.", - "maximum-timeseries-or-attributes": "Maksymalnie {count, plural, =1 {1 seria czasowa/atrybut jest dozwolona.} other {# serii czasowych/atrybutów jest dozwolonych} }.", - "alarm-fields-required": "Pola alarmowe są wymagane.", + "alarm": "Pola alarmu", + "timeseries-required": "Szeregi czasowe obiektu są wymagane.", + "timeseries-or-attributes-required": "Szeregi czasowe/atrybuty obiektu są wymagane.", + "alarm-fields-timeseries-or-attributes-required": "Pola alarmów lub szeregi czasowe/atrybuty obiektu są wymagane.", + "maximum-timeseries-or-attributes": "Maksymalnie {count, plural, =1 {dozwolony jest 1 szereg czasowy/atrybut.} one {dozwolony jest # szereg czasowy/atrybut} few {dozwolone są # szeregi czasowe/atrybuty} other {dozwolonych jest # szeregów czasowych/atrybutów} }", + "alarm-fields-required": "Pola alarmu są wymagane.", "function-types": "Typy funkcji", "function-type": "Typ funkcji", "function-types-required": "Typy funkcji są wymagane.", - "data-keys": "Data keys", - "data-key": "Data key", - "data-keys-required": "Data keys are required.", - "data-key-required": "Data key is required.", + "data-keys": "Klucze danych", + "data-key": "Klucz danych", + "data-keys-required": "Klucze danych są wymagane.", + "data-key-required": "Klucz danych jest wymagany.", "alarm-keys": "Klucze danych alarmowych", "alarm-key": "Klucz danych alarmowych", - "alarm-key-functions": "Funkcje klawiszy alarmowych", - "alarm-key-function": "Funkcja klawisza alarmu", - "latest-keys": "Najnowsze klucze danych", - "latest-key": "Najnowszy klucz danych", - "latest-key-functions": "Najnowsze kluczowe funkcje", - "latest-key-function": "Najnowsza funkcja klucza", + "alarm-key-functions": "Funkcje kluczy alarmu", + "alarm-key-function": "Funkcja klucza alarmu", + "latest-keys": "Klucze najnowszych wartości", + "latest-key": "Klucz najnowszych wartości", + "latest-key-functions": "Funkcje kluczy najnowszych wartości", + "latest-key-function": "Funkcja klucza najnowszych wartości", "timeseries-keys": "Klucze danych szeregów czasowych", "timeseries-key": "Klucz danych szeregów czasowych", - "timeseries-key-functions": "Kluczowe funkcje szeregów czasowych", + "timeseries-key-functions": "Funkcje kluczy szeregów czasowych", "timeseries-key-function": "Funkcja klucza szeregów czasowych", - "maximum-function-types": "Maksymalnie {count, plural, =1 {dozwolony jest 1 typ funkcji.} other {dozwolonych jest # typów funkcji.} }.", + "maximum-function-types": "Maksymalnie {count, plural, =1 {dozwolony jest 1 typ funkcji.} one {dozwolony jest # typ funkcji} few {dozwolone są # typy funkcji} other {dozwolonych jest # typów funkcji} }", "time-description": "znacznik czasu bieżącej wartości;", "value-description": "aktualna wartość;", "prev-value-description": "wynik poprzedniego wywołania funkcji;", "time-prev-description": "znacznik czasu poprzedniej wartości;", "prev-orig-value-description": "oryginalna poprzednia wartość;", - "aggregation": "Zbiór", + "aggregation": "Agregacja", "aggregation-type-hint-common": "Ze względu na wydajność obliczanie wartości zagregowanych jest dostępne tylko dla stałych przedziałów czasu, takich jak „bieżący dzień”, „bieżący miesiąc” itp., i nie jest dostępne dla przedziałów okna przesuwnego, takich jak „ostatnie 30 minut” lub „ostatnie 24 godziny”.", "aggregation-type-none-hint": "Weź najnowszą wartość.", "aggregation-type-min-hint": "Znajdź minimalną wartość wśród punktów danych w wybranym oknie czasowym.", @@ -1464,23 +2679,23 @@ "aggregation-type-count-hint": "Całkowita liczba punktów danych w wybranym oknie czasowym.", "delta-calculation": "Obliczanie delty", "enable-delta-calculation": "Włącz obliczanie delty", - "enable-delta-calculation-hint": "Po włączeniu wartość klucza danych jest obliczana na podstawie zagregowanych wartości dla wybranego okna czasowego i określonego okresu porównania. ", + "enable-delta-calculation-hint": "Po włączeniu wartość klucza danych jest obliczana na podstawie zagregowanych wartości dla wybranego okna czasowego i określonego okresu porównania. Ze względu na wydajność obliczanie delty jest dostępne tylko dla historycznych okien czasowych, a nie dla wartości w czasie rzeczywistym. Na przykład możesz obliczyć deltę między wczorajszym zużyciem energii a zużyciem energii z przedwczoraj.", "delta-calculation-result": "Wynik obliczenia delty", "delta-calculation-result-previous-value": "Poprzednia wartość", - "delta-calculation-result-delta-absolute": "Delta (absolutna)", + "delta-calculation-result-delta-absolute": "Delta (bezwzględna)", "delta-calculation-result-delta-percent": "Delta (procent)", - "source": "Source", - "latest": "Latest", - "latest-value": "Latest value", + "source": "Źródło", + "latest": "Najnowsze", + "latest-value": "Najnowsza wartość", "delta": "delta", - "percent": "percent", - "absolute": "absolute" + "percent": "procent", + "absolute": "bezwzględna" }, "datasource": { "type": "Typ źródła danych", "name": "Nazwa", "label": "Etykieta", - "add-datasource-prompt": "Proszę dodać źródło danych" + "add-datasource-prompt": "Dodaj źródło danych" }, "details": { "details": "Szczegóły", @@ -1492,97 +2707,97 @@ "ai-assistant-initial-prompt-placeholder": "Opisz, co chcesz skonfigurować...", "ai-assistant-example-connect-label": "Podłącz moje urządzenie", "ai-assistant-example-connect-message": "Pomóż mi podłączyć jedno z moich urządzeń do platformy, aby zaczęło wysyłać prawdziwą telemetrię.", - "all": "Wszystko", + "all": "Wszystkie", "all-devices": "Wszystkie urządzenia", "groups": "Grupy", - "shared": "Wspólny", + "shared": "Współdzielone", "device": "Urządzenie", "device-required": "Urządzenie jest wymagane.", "devices": "Urządzenia", "management": "Zarządzanie urządzeniami", "view-devices": "Wyświetl urządzenia", "device-alias": "Alias urządzenia", - "device-type-max-length": "Typ urządzenia powinien być mniejszy niż 256", + "device-type-max-length": "Typ urządzenia powinien mieć mniej niż 256 znaków", "aliases": "Aliasy urządzeń", - "no-alias-matching": "'{{alias}}' nie znaleziono.", + "no-alias-matching": "Nie znaleziono „{{alias}}”.", "no-aliases-found": "Nie znaleziono aliasów.", - "no-key-matching": "'{{key}}' nie znaleziono.", + "no-key-matching": "Nie znaleziono „{{key}}”.", "no-keys-found": "Nie znaleziono kluczy.", "create-new-alias": "Utwórz nowy!", "create-new-key": "Utwórz nowy!", - "duplicate-alias-error": "Znaleziono zduplikowany alias '{{alias}}'.
Aliasy urządzeń muszą być unikalne w obrębie panelu kontrolnego.", - "configure-alias": "Skonfiguruj '{{alias}}' Alias", - "no-devices-matching": "Brak urządzeń pasujących do '{{entity}}' zostały znalezione.", + "duplicate-alias-error": "Znaleziono zduplikowany alias „{{alias}}”.
Aliasy urządzeń muszą być unikalne w obrębie pulpitu.", + "configure-alias": "Skonfiguruj alias „{{alias}}”", + "no-devices-matching": "Nie znaleziono urządzeń pasujących do „{{entity}}”.", "alias": "Alias", "alias-required": "Alias urządzenia jest wymagany.", "remove-alias": "Usuń alias urządzenia", "add-alias": "Dodaj alias urządzenia", "name-starts-with": "Wyrażenie nazwy urządzenia", - "help-text": "Użyj „%” w zależności od potrzeb: „%device_name_contains%”, „%device_name_ends”, „device_starts_with”.", + "help-text": "Użyj „%” w zależności od potrzeb: „%device_name_contains%”, „%device_name_ends”, „device_starts_with%”.", "device-list": "Lista urządzeń", "use-device-name-filter": "Użyj filtra", "device-list-empty": "Nie wybrano żadnych urządzeń.", "device-name-filter-required": "Filtr nazw urządzeń jest wymagany.", - "device-name-filter-no-device-matched": "Brak urządzeń zaczynających się od '{{device}}' zostały znalezione.", + "device-name-filter-no-device-matched": "Nie znaleziono urządzeń, których nazwy zaczynają się od „{{device}}”.", "add": "Dodaj urządzenie", "assign-to-customer": "Przypisz do klienta", "assign-device-to-customer": "Przypisz urządzenia do klienta", - "assign-device-to-customer-text": "Proszę wybrać urządzenia, które chcesz przypisać do klienta", + "assign-device-to-customer-text": "Wybierz urządzenia, które chcesz przypisać do klienta", "make-public": "Ustaw urządzenie jako publiczne", "make-private": "Ustaw urządzenie jako prywatne", "no-devices-text": "Nie znaleziono urządzeń", - "assign-to-customer-text": "Wybierz klienta, aby przypisać urządzenie(a)", + "assign-to-customer-text": "Wybierz klienta, któremu chcesz przypisać urządzenia", "device-details": "Szczegóły urządzenia", "add-device-text": "Dodaj nowe urządzenie", "credentials": "Dane uwierzytelniające", "manage-credentials": "Zarządzaj danymi uwierzytelniającymi", "delete": "Usuń urządzenie", "assign-devices": "Przypisz urządzenia", - "assign-devices-text": "Przypisz {count, plural, =1 {1 urządzenie} other {# urządzeń} } do klienta", + "assign-devices-text": "Przypisz {count, plural, =1 {1 urządzenie} one {# urządzenie} few {# urządzenia} other {# urządzeń} } do klienta", "delete-devices": "Usuń urządzenia", - "unassign-from-customer": "Usuń przypisanie od klienta", - "unassign-devices": "Usuń przypisanie urządzeń", - "unassign-devices-action-title": "Anuluj przypisanie {count, plural, =1 {1 urządzenie} other {# urządzeń} } od klienta.", - "unassign-device-from-edge-title": "Czy na pewno chcesz usunąć przypisanie urządzenia '{{deviceName}}'?", - "unassign-device-from-edge-text": "Po potwierdzeniu urządzenie zostanie anulowane i nie będzie dostępne na urządzeniu Edge.", - "unassign-devices-from-edge": "Usuń przypisanie urządzeń z Edge", + "unassign-from-customer": "Anuluj przypisanie do klienta", + "unassign-devices": "Anuluj przypisanie urządzeń", + "unassign-devices-action-title": "Anuluj przypisanie {count, plural, =1 {1 urządzenia} one {# urządzenia} few {# urządzeń} other {# urządzeń} } do klienta", + "unassign-device-from-edge-title": "Czy na pewno chcesz anulować przypisanie urządzenia „{{deviceName}}”?", + "unassign-device-from-edge-text": "Po potwierdzeniu urządzenie nie będzie już przypisane do instancji Edge i nie będzie na niej dostępne.", + "unassign-devices-from-edge": "Anuluj przypisanie urządzeń do instancji Edge", "assign-new-device": "Przypisz nowe urządzenie", - "make-public-device-title": "Czy na pewno chcesz uczynić urządzenie {{deviceName}} publicznym ?", + "make-public-device-title": "Czy na pewno chcesz upublicznić urządzenie „{{deviceName}}”?", "make-public-device-text": "Po potwierdzeniu urządzenie i wszystkie jego dane zostaną upublicznione i dostępne dla innych.", - "make-private-device-title": "Czy na pewno chcesz uczynić urządzenie '{{deviceName}}' prywatnym?", + "make-private-device-title": "Czy na pewno chcesz uczynić urządzenie „{{deviceName}}” prywatnym?", "make-private-device-text": "Po potwierdzeniu urządzenie i wszystkie jego dane staną się prywatne i nie będą dostępne dla innych.", "view-credentials": "Wyświetl dane uwierzytelniające", - "delete-device-title": "Czy na pewno chcesz usunąć urządzenie '{{deviceName}}'?", - "delete-device-text": "Bądź ostrożny, po potwierdzeniu urządzenia i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-devices-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 urządzenie} other {# urządzeń} }?", - "delete-devices-action-title": "Usuń {count, plural, =1 {1 urządzenie} other {# urządzeń} }", - "delete-devices-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane urządzenia zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "unassign-device-title": "Czy na pewno chcesz usunąć przypisanie urządzenia '{{deviceName}}'?", - "unassign-device-text": "Po potwierdzeniu urządzenie zostanie anulowane i nie będzie dostępne dla klienta.", - "unassign-device": "Usuń przypisanie urządzenia", - "unassign-devices-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 urządzenia} other {# urządzeń} }?", - "unassign-devices-text": "Po potwierdzeniu wszystkie wybrane urządzenia zostaną usunięte i nie będą dostępne dla klienta.", - "device-credentials": "Poświadczenia urządzenia.", - "loading-device-credentials": "Ładowanie danych logowania urządzenia...", - "credentials-type": "Typ poświadczeń", + "delete-device-title": "Czy na pewno chcesz usunąć urządzenie „{{deviceName}}”?", + "delete-device-text": "Uwaga, po potwierdzeniu nie będzie można odzyskać urządzenia ani żadnych powiązanych danych.", + "delete-devices-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 urządzenie} one {# urządzenie} few {# urządzenia} other {# urządzeń} }?", + "delete-devices-action-title": "Usuń {count, plural, =1 {1 urządzenie} one {# urządzenie} few {# urządzenia} other {# urządzeń} }", + "delete-devices-text": "Uwaga, po potwierdzeniu wszystkie wybrane urządzenia zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "unassign-device-title": "Czy na pewno chcesz anulować przypisanie urządzenia „{{deviceName}}”?", + "unassign-device-text": "Po potwierdzeniu urządzenie nie będzie już przypisane do klienta i nie będzie dla niego dostępne.", + "unassign-device": "Anuluj przypisanie urządzenia", + "unassign-devices-title": "Czy na pewno chcesz anulować przypisanie {count, plural, =1 {1 urządzenia} one {# urządzenia} few {# urządzeń} other {# urządzeń} }?", + "unassign-devices-text": "Po potwierdzeniu wszystkie wybrane urządzenia nie będą już przypisane do klienta i nie będą dla niego dostępne.", + "device-credentials": "Dane uwierzytelniające urządzenia", + "loading-device-credentials": "Ładowanie danych uwierzytelniających urządzenia...", + "credentials-type": "Typ danych uwierzytelniających", "access-token": "Token dostępu", "access-token-required": "Token dostępu jest wymagany.", "access-token-invalid": "Długość tokenu dostępu musi wynosić od 1 do 32 znaków.", "certificate-pem-format": "Certyfikat w formacie PEM", "certificate-pem-format-required": "Certyfikat jest wymagany.", - "copy-access-token": "Skopiuj token dostępu", - "copy-certificate": "Skopiuj certyfikat", - "copy-client-id": "Skopiuj identyfikator klienta", - "copy-user-name": "Skopiuj nazwę użytkownika", - "copy-password": "Skopiuj hasło", + "copy-access-token": "Kopiuj token dostępu", + "copy-certificate": "Kopiuj certyfikat", + "copy-client-id": "Kopiuj identyfikator klienta", + "copy-user-name": "Kopiuj nazwę użytkownika", + "copy-password": "Kopiuj hasło", "generate-client-id": "Wygeneruj identyfikator klienta", "generate-user-name": "Wygeneruj nazwę użytkownika", "generate-password": "Wygeneruj hasło", "generate-access-token": "Wygeneruj token dostępu", "lwm2m-security-config": { - "identity": "Tożsamość Klienta", + "identity": "Tożsamość klienta", "identity-required": "Tożsamość klienta jest wymagana.", - "identity-tooltip": "Identyfikator PSK jest dowolnym identyfikatorem PSK o długości do 128 bajtów, zgodnie z opisem w normie [RFC7925].\n Identyfikator PSK MUSI najpierw zostać przekonwertowany do łańcuchu znaków i zakodowanym w oktety używając UTF-8.", + "identity-tooltip": "Identyfikator PSK jest dowolnym identyfikatorem PSK o długości do 128 bajtów, zgodnie z opisem w normie [RFC7925].\nIdentyfikator PSK MUSI najpierw zostać przekonwertowany na łańcuch znaków, a następnie zakodowany do oktetów przy użyciu UTF-8.", "client-key": "Klucz klienta", "client-key-required": "Klucz klienta jest wymagany.", "client-key-tooltip-prk": "Klucz publiczny lub identyfikator RPK musi być w standardzie [RFC7250] i zakodowany w formacie Base64!", @@ -1595,12 +2810,14 @@ "mode": "Tryb konfiguracji zabezpieczeń", "client-tab": "Konfiguracja zabezpieczeń klienta", "client-certificate": "Certyfikat klienta", - "bootstrap-tab": "Klient Bootstrapa", - "bootstrap-server": "Serwer startowy", + "bootstrap-tab": "Klient Bootstrap", + "bootstrap-server": "Serwer Bootstrap", "lwm2m-server": "Serwer LwM2M", - "client-publicKey-or-id": "Klucz publiczny klienta lub identyfikator jest wymagany.", + "client-reboot": "Wyzwalacz aktualizacji rejestracji", + "bootstrap-reboot": "Wyzwalacz żądania Bootstrap", + "client-publicKey-or-id": "Klucz publiczny lub identyfikator klienta", "client-publicKey-or-id-required": "Klucz publiczny lub identyfikator klienta są wymagane.", - "client-publicKey-or-id-tooltip-psk": "Identyfikator PSK jest dowolnym identyfikatorem PSK o długości do 128 bajtów, zgodnie z opisem w normie [RFC7925].\nIdentyfikator PSK MUSI najpierw zostać przekonwertowany na łańcuch znaków i potem zakodowany do oktetów używając UTF-8", + "client-publicKey-or-id-tooltip-psk": "Identyfikator PSK jest dowolnym identyfikatorem PSK o długości do 128 bajtów, zgodnie z opisem w normie [RFC7925].\nIdentyfikator PSK MUSI najpierw zostać przekonwertowany na łańcuch znaków, a następnie zakodowany do oktetów przy użyciu UTF-8.", "client-publicKey-or-id-tooltip-rpk": "Klucz publiczny lub identyfikator RPK musi być w standardzie [RFC7250] i zakodowany w formacie Base64!", "client-publicKey-or-id-tooltip-x509": "Klucz publiczny X509 musi być w formacie X509v3 zakodowanym w DER i obsługiwać wyłącznie algorytm EC, a następnie zakodowany w formacie Base64", "client-secret-key": "Tajny klucz klienta", @@ -1617,39 +2834,39 @@ "password": "Hasło", "secret": "Sekret", "secret-required": "Sekret jest wymagany.", - "device-type": "Rodzaj urządzenia", + "device-type": "Profil urządzenia", "device-type-required": "Typ urządzenia jest wymagany.", "select-device-type": "Wybierz typ urządzenia", - "enter-device-type": "Wpisz typ urządzenia", + "enter-device-type": "Wpisz profil urządzenia", "any-device": "Dowolne urządzenie", - "no-device-types-matching": "Brak typów urządzeń pasujących do '{{entitySubtype}}' zostały znalezione.", - "device-type-list-empty": "Nie wybrano typów urządzeń.", + "no-device-types-matching": "Nie znaleziono profili urządzeń pasujących do „{{entitySubtype}}”.", + "device-type-list-empty": "Nie wybrano profili urządzeń.", + "device-profile-type-list-empty": "Należy wybrać co najmniej jeden profil urządzenia.", "device-types": "Typy urządzeń", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", - "label-max-length": "Etykieta powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", + "label-max-length": "Etykieta powinna mieć mniej niż 256 znaków", "description": "Opis", "label": "Etykieta", - "events": "Wydarzenia", + "events": "Zdarzenia", "details": "Szczegóły", - "copyId": "Skopiuj identyfikator urządzenia", - "copyAccessToken": "Skopiuj token dostępu", - "copy-mqtt-authentication": "Skopiuj poświadczenia MQTT", + "copyId": "Kopiuj identyfikator urządzenia", + "copyAccessToken": "Kopiuj token dostępu", + "copy-mqtt-authentication": "Kopiuj dane uwierzytelniające MQTT", "idCopiedMessage": "Identyfikator urządzenia został skopiowany do schowka", "accessTokenCopiedMessage": "Token dostępu do urządzenia został skopiowany do schowka", - "mqtt-authentication-copied-message": "Uwierzytelnianie urządzenia MQTT zostało skopiowane do schowka", + "mqtt-authentication-copied-message": "Dane uwierzytelniające MQTT urządzenia zostały skopiowane do schowka", "assignedToCustomer": "Przypisany do klienta", "unable-delete-device-alias-title": "Nie można usunąć aliasu urządzenia", - "unable-delete-device-alias-text": "Alias urządzenia '{{deviceAlias}}' nie może zostać usunięty, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", + "unable-delete-device-alias-text": "Alias urządzenia „{{deviceAlias}}” nie może zostać usunięty, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", "is-gateway": "Gateway", "overwrite-activity-time": "Zastąp czas aktywności podłączonego urządzenia", - "device-filter": "Filtruj urządzenia", - "device-filter-title": "Filtruj urządzenia", + "device-filter-title": "Filtr urządzeń", "filter-title": "Filtr", "device-state": "Stan urządzenia", "state": "Stan", - "any": "Każdy", + "any": "Dowolny", "active": "Aktywny", "inactive": "Nieaktywny", "public": "Publiczny", @@ -1657,89 +2874,174 @@ "select-device": "Wybierz urządzenie", "select-group-to-add": "Wybierz grupę docelową, aby dodać wybrane urządzenia", "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybrane urządzenia", - "remove-devices-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 urządzenie} other {# urządzeń} } z grupy '{{entityGroup}}'?", + "remove-devices-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 urządzenie} one {# urządzenie} few {# urządzenia} other {# urządzeń} } z grupy '{{entityGroup}}'?", "group": "Grupa urządzeń", - "list-of-groups": "{count, plural, =1 {Jedna grupa urządzeń} other {Lista # grup urządzeń} }", - "group-name-starts-with": "Grupy urządzeń, których nazwy zaczynają się od '{{prefix}}'", + "list-of-groups": "{count, plural, =1 {Jedna grupa urządzeń} one {Lista # grupy urządzeń} few {Lista # grup urządzeń} other {Lista # grup urządzeń} }", + "group-name-starts-with": "Grupy urządzeń, których nazwy zaczynają się od „{{prefix}}”", "import": "Importuj urządzenie", "device-file": "Plik urządzenia", "search": "Wyszukaj urządzenia", - "selected-devices": "Wybrano {count, plural, =1 {1 urządzenie} other {# urządzeń} }", - "device-configuration": "Konfiguracja urzadzenia", + "selected-devices": "Wybrano {count, plural, =1 {1 urządzenie} one {# urządzenie} few {# urządzenia} other {# urządzeń} }", + "device-configuration": "Konfiguracja urządzenia", "transport-configuration": "Konfiguracja transportu", "wizard": { - "device-details": "Szczegóły urządzenia", - "device-wizard": "Kreator urządzeń", - "new-device-profile": "Utwórz nowy profil urządzenia", - "existing-device-profile": "Wybierz istniejący profil urządzenia", - "specific-configuration": "Konkretna konfiguracja", - "customer-to-assign-device": "Klientowi przypisanie urządzenia", - "add-credentials": "Dodaj dane uwierzytelniające" - }, - "unassign-devices-from-edge-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 urządzenia} other {# urządzeń} }?", - "unassign-devices-from-edge-text": "Po potwierdzeniu wszystkie wybrane urządzenia zostaną usunięte i nie będą dostępne na urządzeniu Edge.", - "time": "Time", + "device-details": "Szczegóły urządzenia" + }, + "unassign-devices-from-edge-title": "Czy na pewno chcesz anulować przypisanie {count, plural, =1 {1 urządzenia} one {# urządzenia} few {# urządzeń} other {# urządzeń} }?", + "unassign-devices-from-edge-text": "Po potwierdzeniu wszystkie wybrane urządzenia nie będą już przypisane do instancji Edge i nie będą na niej dostępne.", + "time": "Czas", "connectivity": { - "check-connectivity": "Check connectivity", - "device-created-check-connectivity": "Device created. Let's check connectivity!", - "loading-check-connectivity-command": "Loading check connectivity commands...", - "use-following-instructions": "Use the following instructions for sending telemetry on behalf of the device using shell", - "execute-following-command": "Execute the following command", - "install-curl-windows": "Starting Windows 10 b17063, cURL is available by default", - "install-curl-macos": "Starting Mac OS X 10.2 6C115 (Jaguar), cURL is available by default", - "install-mqtt-windows": "Use the instructions to download, install, setup and run mosquitto_pub", - "install-coap-client": "Use the instructions to download, install, setup and run coap-client", - "install-necessary-client-tools": "Install necessary client tools", - "mqtts-x509-command": "Use the following documentation to connect the device via MQTT with authorization X509", - "coaps-x509-command": "Use the following documentation to connect the device via CoAP over DTLS with authorization X509", - "snmp-command": "Use the following documentation to connect the device through the SNMP.", - "sparkplug-command": "Use the following documentation to connect the device through the MQTT Sparkplug.", - "lwm2m-command": "Use the following documentation to connect the device through the LWM2M." + "check-connectivity": "Sprawdź łączność", + "device-created-check-connectivity": "Urządzenie zostało utworzone. Sprawdźmy łączność!", + "loading-check-connectivity-command": "Ładowanie poleceń sprawdzania łączności...", + "use-following-instructions": "Skorzystaj z poniższych instrukcji, aby wysyłać telemetrię w imieniu urządzenia z poziomu powłoki", + "execute-following-command": "Wykonaj następujące polecenie", + "step-execute-following-command": "Krok 2. Wykonaj następujące polecenie", + "step-install-necessary-client-tools": "Krok 1. Zainstaluj niezbędne narzędzia klienckie", + "install-curl-windows": "Od wersji Windows 10 b17063 narzędzie cURL jest dostępne domyślnie", + "install-curl-macos": "Od wersji Mac OS X 10.2 6C115 (Jaguar) narzędzie cURL jest dostępne domyślnie", + "install-mqtt-windows": "Skorzystaj z instrukcji, aby pobrać, zainstalować, skonfigurować i uruchomić mosquitto_pub", + "install-coap-client": "Skorzystaj z instrukcji, aby pobrać, zainstalować, skonfigurować i uruchomić coap-client", + "install-necessary-client-tools": "Zainstaluj niezbędne narzędzia klienckie", + "mqtts-x509-command": "Skorzystaj z poniższej dokumentacji, aby podłączyć urządzenie przez MQTT z uwierzytelnianiem X509", + "coaps-x509-command": "Skorzystaj z poniższej dokumentacji, aby podłączyć urządzenie przez CoAP over DTLS z uwierzytelnianiem X509", + "snmp-command": "Skorzystaj z poniższej dokumentacji, aby podłączyć urządzenie przez SNMP.", + "sparkplug-command": "Skorzystaj z poniższej dokumentacji, aby podłączyć urządzenie przez MQTT Sparkplug.", + "lwm2m-command": "Skorzystaj z poniższej dokumentacji, aby podłączyć urządzenie przez LWM2M." } }, + "dynamic-form": { + "property": { + "properties": "Właściwości", + "property": "Właściwość", + "id": "ID", + "name": "Nazwa", + "type": "Typ", + "type-text": "Tekst", + "type-password": "Hasło", + "type-textarea": "Obszar tekstowy", + "type-number": "Liczba", + "type-switch": "Przełącznik", + "type-select": "Lista wyboru", + "type-radios": "Przyciski opcji", + "type-datetime": "Data/czas", + "type-image": "Obraz", + "type-javascript": "JavaScript", + "type-json": "JSON", + "type-html": "HTML", + "type-css": "CSS", + "type-markdown": "Markdown", + "type-color": "Kolor", + "type-color-settings": "Ustawienia koloru", + "type-font": "Czcionka", + "type-units": "Jednostki", + "type-icon": "Ikona", + "type-css-size": "Rozmiar CSS", + "type-fieldset": "Zestaw pól", + "type-array": "Tablica", + "type-html-section": "Sekcja HTML", + "group-title": "Tytuł grupy", + "no-properties": "Nie skonfigurowano właściwości", + "add-property": "Dodaj właściwość", + "property-settings": "Ustawienia właściwości", + "remove-property": "Usuń właściwość", + "default-value": "Domyślna wartość", + "value-required": "Wartość jest wymagana", + "number-settings": "Ustawienia liczby", + "min": "Min.", + "max": "Maks.", + "step": "Krok", + "selected-options-limit": "Limit wybranych opcji", + "advanced-ui-settings": "Zaawansowane ustawienia interfejsu", + "disable-on-property": "Wyłącz na podstawie właściwości", + "disable-on-property-none": "Brak (pole zawsze włączone)", + "display-condition-function": "Funkcja warunku wyświetlania", + "sub-label": "Podetykieta", + "vertical-divider-after": "Pionowy separator po", + "input-field-suffix": "Sufiks pola wejściowego", + "property-row-classes": "Klasy wiersza właściwości", + "property-field-classes": "Klasy pola właściwości", + "not-unique-property-ids-error": "Identyfikatory właściwości muszą być unikalne!", + "enable-multiple-select": "Włącz wielokrotny wybór", + "allow-empty-select-option": "Zezwalaj na pustą opcję", + "select-options": "Opcje wyboru", + "not-unique-select-option-value-error": "Wartości opcji wyboru muszą być unikalne!", + "value": "Wartość", + "label": "Etykieta", + "add-option": "Dodaj opcję", + "no-options": "Nie skonfigurowano opcji", + "remove-option": "Usuń opcję", + "textarea-rows": "Wiersze pola tekstowego", + "help-id": "ID pomocy", + "buttons-direction": "Kierunek przycisków", + "direction-row": "Wiersz", + "direction-column": "Kolumna", + "radio-button-options": "Opcje przycisków radiowych", + "datetime-type": "Typ pola daty/czasu", + "datetime-type-date": "Data", + "datetime-type-time": "Czas", + "datetime-type-datetime": "Data/czas", + "enable-clear-button": "Włącz przycisk czyszczenia", + "html-section-settings": "Ustawienia sekcji HTML", + "html-section-classes": "Klasy sekcji HTML", + "html-section-content": "Zawartość sekcji HTML", + "array-item": "Element tablicy", + "item-type": "Typ elementu", + "item-name": "Nazwa elementu", + "no-items": "Brak elementów", + "support-unit-conversion": "Obsługuj konwersję jednostek" + }, + "clear-form": "Wyczyść formularz", + "clear-form-prompt": "Czy na pewno chcesz usunąć wszystkie właściwości formularza?", + "import-form": "Importuj formularz z JSON", + "export-form": "Eksportuj formularz do JSON", + "json-file": "Plik JSON", + "json-content": "Zawartość JSON", + "invalid-form-json-file-error": "Nie można zaimportować formularza z JSON: nieprawidłowa struktura danych JSON formularza." + }, "asset-profile": { "asset-profile": "Profil zasobu", - "asset-profiles": "Profile zasobu", - "all-asset-profiles": "Wszystko", + "asset-profiles": "Profile zasobów", + "all-asset-profiles": "Wszystkie", "add": "Dodaj profil zasobu", "edit": "Edytuj profil zasobu", - "asset-profile-details": "Szczegóły profilu zasobów", + "asset-profile-details": "Szczegóły profilu zasobu", "no-asset-profiles-text": "Nie znaleziono profili zasobów", "search": "Wyszukaj profile zasobów", - "selected-asset-profiles": "Wybrano {count, plural, =1 {1 profil zasobu} other {# profili zasobów} }", - "no-asset-profiles-matching": "Nie znaleziono dopasowania profilu zasobu '{{entity}}'", - "asset-profile-required": "Profil zasobu jest wymagany", + "selected-asset-profiles": "Wybrano { count, plural, =1 {1 profil zasobu} one {# profil zasobu} few {# profile zasobów} other {# profili zasobów} }", + "no-asset-profiles-matching": "Nie znaleziono profilu zasobu pasującego do „{{entity}}”.", + "asset-profile-required": "Profil zasobu jest wymagany.", "idCopiedMessage": "Identyfikator profilu zasobu został skopiowany do schowka", - "set-default": "Ustaw profil zasobów jako domyślny", + "set-default": "Ustaw profil zasobu jako domyślny", "delete": "Usuń profil zasobu", - "copyId": "Skopiuj identyfikator profilu zasobu", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "copyId": "Kopiuj identyfikator profilu zasobu", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "new-device-profile-name": "Nazwa profilu zasobu", "new-device-profile-name-required": "Nazwa profilu zasobu jest wymagana.", "name": "Nazwa", - "name-required": "Nazwa jest wymagana", - "image": "Obraz profilowy zasobu", + "name-required": "Nazwa jest wymagana.", + "image": "Obraz profilu zasobu", "description": "Opis", "default": "Domyślny", "default-rule-chain": "Domyślny łańcuch reguł", "default-edge-rule-chain": "Domyślny łańcuch reguł Edge", - "default-edge-rule-chain-hint": "Używany na Edge jako łańcuch reguł do przetwarzania danych przychodzących dla zasobów tego profilu zasobów", - "mobile-dashboard": "Mobilny panel", - "mobile-dashboard-hint": "Używany przez aplikację mobilną jako panel ze szczegółami zasobów", + "default-edge-rule-chain-hint": "Używany na instancji Edge jako łańcuch reguł do przetwarzania danych przychodzących dla zasobów tego profilu zasobu", + "mobile-dashboard": "Pulpit mobilny", + "mobile-dashboard-hint": "Używany przez aplikację mobilną jako pulpit ze szczegółami zasobu", "select-queue-hint": "Wybierz z listy rozwijanej.", - "delete-asset-profile-title": "Czy na pewno chcesz usunąć profil zasobu '{{assetProfileName}}'?", - "delete-asset-profile-text": "Bądź ostrożny, po potwierdzeniu profilu zasobu i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-asset-profiles-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 profil zasobu} other {# profilów zasobów} }?", - "delete-asset-profiles-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane profile zasobów zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "set-default-asset-profile-title": "Czy na pewno chcesz uczynić profil zasobu '{{assetProfileName}}' domyślnym?", + "delete-asset-profile-title": "Czy na pewno chcesz usunąć profil zasobu „{{assetProfileName}}”?", + "delete-asset-profile-text": "Uwaga, po potwierdzeniu nie będzie można odzyskać profilu zasobu ani żadnych powiązanych danych.", + "delete-asset-profiles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 profil zasobu} one {# profil zasobu} few {# profile zasobów} other {# profili zasobów} }?", + "delete-asset-profiles-text": "Uwaga, po potwierdzeniu wszystkie wybrane profile zasobów zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "set-default-asset-profile-title": "Czy na pewno chcesz ustawić profil zasobu „{{assetProfileName}}” jako domyślny?", "set-default-asset-profile-text": "Po potwierdzeniu profil zasobu zostanie oznaczony jako domyślny i będzie używany do nowych zasobów bez określonego profilu.", "no-asset-profiles-found": "Nie znaleziono profili zasobów.", "create-new-asset-profile": "Utwórz nowy!", "create-asset-profile": "Utwórz nowy profil zasobu", "import": "Importuj profil zasobu", - "export": "Eksportuj profil zasobów", + "export": "Eksportuj profil zasobu", "export-failed-error": "Nie można wyeksportować profilu zasobu: {{error}}", - "asset-profile-file": "Plik profilu zasobów", + "asset-profile-file": "Plik profilu zasobu", "invalid-asset-profile-file-error": "Nie można zaimportować profilu zasobu: nieprawidłowa struktura danych profilu zasobu." }, "device-profile": { @@ -1751,16 +3053,16 @@ "device-profile-details": "Szczegóły profilu urządzenia", "no-device-profiles-text": "Nie znaleziono profili urządzeń", "search": "Wyszukaj profile urządzeń", - "selected-device-profiles": "Wybrano {count, plural, =1 {1 profil urządzenia} other {# profili urządzeń} }", - "no-device-profiles-matching": "Nie znaleziono profilu urządzenia pasującego do '{{entity}}'", - "device-profile-required": "Profil urządzenia jest wymagany", + "selected-device-profiles": "Wybrano {count, plural, =1 {1 profil urządzenia} one {# profil urządzenia} few {# profile urządzeń} other {# profili urządzeń} }", + "no-device-profiles-matching": "Nie znaleziono profilu urządzenia pasującego do „{{entity}}”.", + "device-profile-required": "Profil urządzenia jest wymagany.", "idCopiedMessage": "Identyfikator profilu urządzenia został skopiowany do schowka", "set-default": "Ustaw profil urządzenia jako domyślny", "delete": "Usuń profil urządzenia", - "copyId": "Skopiuj identyfikator profilu urządzenia", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "copyId": "Kopiuj identyfikator profilu urządzenia", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "name": "Nazwa", - "name-required": "Nazwa jest wymagana", + "name-required": "Nazwa jest wymagana.", "type": "Typ profilu", "type-required": "Typ profilu jest wymagany.", "type-default": "Domyślny", @@ -1784,39 +3086,40 @@ "transport-configuration": "Konfiguracja transportu", "default-rule-chain": "Domyślny łańcuch reguł", "default-edge-rule-chain": "Domyślny łańcuch reguł Edge", - "default-edge-rule-chain-hint": "Używany na Edge jako łańcuch reguł do przetwarzania danych przychodzących dla urządzeń o tym profilu urządzenia", - "mobile-dashboard": "Mobilny panel", - "mobile-dashboard-hint": "Używany przez aplikację mobilną jako panel ze szczegółami urządzenia", + "default-edge-rule-chain-hint": "Używany na instancji Edge jako łańcuch reguł do przetwarzania danych przychodzących dla urządzeń o tym profilu urządzenia", + "mobile-dashboard": "Pulpit mobilny", + "mobile-dashboard-hint": "Używany przez aplikację mobilną jako pulpit ze szczegółami urządzenia", "select-queue-hint": "Wybierz z listy rozwijanej.", - "delete-device-profile-title": "Czy na pewno chcesz usunąć profil urządzenia '{{deviceProfileName}}'?", - "delete-device-profile-text": "Zachowaj ostrożność, po potwierdzeniu profilu urządzenia i wszystkich powiązanych danych, w tym powiązanych aktualizacji OTA, nie będzie można odzyskać.", - "delete-device-profiles-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 profil urządzenia} other {# profili urządzeń} }?", - "delete-device-profiles-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane profile urządzeń zostaną usunięte, a wszystkie powiązane dane, w tym powiązane aktualizacje OTA, staną się niemożliwe do odzyskania.", - "set-default-device-profile-title": "Czy na pewno chcesz uczynić profil urządzenia '{{deviceProfileName}}' domyślnym?", + "delete-device-profile-title": "Czy na pewno chcesz usunąć profil urządzenia „{{deviceProfileName}}”?", + "delete-device-profile-text": "Uwaga, po potwierdzeniu nie będzie można odzyskać profilu urządzenia ani żadnych powiązanych danych, w tym powiązanych aktualizacji OTA.", + "delete-device-profiles-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 profil urządzenia} one {# profil urządzenia} few {# profile urządzeń} other {# profili urządzeń} }?", + "delete-device-profiles-text": "Uwaga, po potwierdzeniu wszystkie wybrane profile urządzeń zostaną usunięte, a wszystkich powiązanych danych, w tym powiązanych aktualizacji OTA, nie będzie można odzyskać.", + "set-default-device-profile-title": "Czy na pewno chcesz ustawić profil urządzenia „{{deviceProfileName}}” jako domyślny?", "set-default-device-profile-text": "Po potwierdzeniu profil urządzenia zostanie oznaczony jako domyślny i będzie używany w przypadku nowych urządzeń bez określonego profilu.", "no-device-profiles-found": "Nie znaleziono profili urządzeń.", "create-new-device-profile": "Utwórz nowy!", "mqtt-device-topic-filters": "Filtry tematów urządzeń MQTT", "mqtt-device-topic-filters-unique": "Filtry tematów urządzeń MQTT muszą być unikalne.", - "mqtt-device-topic-filters-spark-plug": "MQTT Sparkplug B Węzeł brzegowy sieci (EoN).", + "mqtt-device-topic-filters-spark-plug": "Węzeł Edge of Network (EoN) MQTT Sparkplug B.", "mqtt-device-topic-filters-spark-plug-hint": "Zezwalaj na połączenia z węzłów EoN z ładunkiem Sparkplug B i formatem tematu.", "mqtt-device-topic-filters-spark-plug-attribute-metric-names": "Metryki SparkPlug do przechowywania jako atrybuty.", "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "Nazwy metryk SparkPlug, które będą przechowywane jako atrybuty urządzenia. Wszystkie pozostałe metryki będą przechowywane jako telemetria urządzeń.", - "mqtt-device-payload-type": "Zawartość wiadomości urządzenia MQTT", + "mqtt-device-payload-type": "Ładunek urządzenia MQTT", "mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-proto": "Protobuf", "mqtt-enable-compatibility-with-json-payload-format": "Włącz zgodność z innymi formatami ładunku.", - "mqtt-enable-compatibility-with-json-payload-format-hint": "Po włączeniu platforma domyślnie będzie używać formatu ładunku Protobuf. Jeśli parsowanie się nie powiedzie, platforma spróbuje użyć formatu ładunku JSON. Przydatne dla wstecznej kompatybilności podczas aktualizacji oprogramowania sprzętowego. Na przykład, początkowa wersja oprogramowania sprzętowego wykorzystuje Json, podczas gdy nowa wersja wykorzystuje Protobuf. Podczas procesu aktualizacji oprogramowania układowego dla floty urządzeń wymagana jest jednoczesna obsługa zarówno Protobuf, jak i JSON. Tryb zgodności wprowadza niewielki spadek wydajności, dlatego zaleca się wyłączenie tego trybu po zaktualizowaniu wszystkich urządzeń.", - "mqtt-use-json-format-for-default-downlink-topics": "Użyj formatu Json dla domyślnych tematów łącza w dół", - "mqtt-use-json-format-for-default-downlink-topics-hint": "Po włączeniu platforma będzie używać formatu ładunku Json do przekazywania atrybutów i RPC za pośrednictwem następujących tematów: v1/devices/me/attributes/response/$request_id, v1/urządzenia/ja/atrybuty, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. $id_żądania jest całkowitym identyfikatorem żądania.", + "mqtt-enable-compatibility-with-json-payload-format-hint": "Po włączeniu platforma domyślnie będzie używać formatu ładunku Protobuf. Jeśli parsowanie się nie powiedzie, platforma spróbuje użyć formatu ładunku JSON. Przydatne dla wstecznej kompatybilności podczas aktualizacji oprogramowania sprzętowego. Na przykład, początkowa wersja oprogramowania sprzętowego wykorzystuje JSON, podczas gdy nowa wersja wykorzystuje Protobuf. Podczas procesu aktualizacji oprogramowania sprzętowego dla floty urządzeń wymagana jest jednoczesna obsługa zarówno Protobuf, jak i JSON. Tryb zgodności wprowadza niewielki spadek wydajności, dlatego zaleca się wyłączenie tego trybu po zaktualizowaniu wszystkich urządzeń.", + "mqtt-use-json-format-for-default-downlink-topics": "Użyj formatu JSON dla domyślnych tematów downlink", + "mqtt-use-json-format-for-default-downlink-topics-hint": "Po włączeniu platforma będzie używać formatu ładunku JSON do przekazywania atrybutów i RPC za pośrednictwem następujących tematów: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. To ustawienie nie wpływa na subskrypcje atrybutów i RPC wysyłane przy użyciu nowych tematów (v2): v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. $request_id to identyfikator żądania w postaci liczby całkowitej.", "mqtt-send-ack-on-validation-exception": "Wyślij PUBACK w przypadku niepowodzenia sprawdzania wiadomości PUBLISH", "mqtt-send-ack-on-validation-exception-hint": "Domyślnie platforma zamknie sesję MQTT w przypadku niepowodzenia sprawdzania wiadomości. Po włączeniu tej opcji platforma wyśle potwierdzenie publikacji zamiast zamykać sesję.", + "mqtt-protocol-version": "Wersja protokołu", "snmp-add-mapping": "Dodaj mapowanie SNMP", "snmp-mapping-not-configured": "Nie skonfigurowano mapowania OID na szeregi czasowe/telemetrię", - "snmp-timseries-or-attribute-name": "Seria czasowa/nazwa atrybutu do mapowania", - "snmp-timseries-or-attribute-type": "Typy szeregów czasowych/atrybutów do mapowania", - "snmp-method-pdu-type-get-request": "Pobierz żądanie", - "snmp-method-pdu-type-get-next-request": "Pobierz następne żądanie", + "snmp-timseries-or-attribute-name": "Nazwa szeregu czasowego/atrybutu do mapowania", + "snmp-timseries-or-attribute-type": "Typ szeregu czasowego/atrybutu do mapowania", + "snmp-method-pdu-type-get-request": "GetRequest", + "snmp-method-pdu-type-get-next-request": "GetNextRequest", "snmp-oid": "OID", "transport-device-payload-type-json": "JSON", "transport-device-payload-type-proto": "Protobuf", @@ -1826,16 +3129,16 @@ "coap-device-type-required": "Typ urządzenia CoAP jest wymagany.", "coap-device-type-default": "Domyślny", "coap-device-type-efento": "Efento NB-IoT", - "support-level-wildcards": "Symbole wieloznaczne pojedyńcze [+] i wielopoziomowe [#] są obsługiwane.", + "support-level-wildcards": "Obsługiwane są symbole wieloznaczne jednopoziomowe [+] i wielopoziomowe [#].", "telemetry-topic-filter": "Filtr tematu telemetrii", "telemetry-topic-filter-required": "Filtr tematu telemetrii jest wymagany.", "attributes-topic-filter": "Filtr tematu publikacji atrybutów", - "attributes-subscribe-topic-filter": "Filtr tematu subskrybcji atrybutów", + "attributes-subscribe-topic-filter": "Filtr tematu subskrypcji atrybutów", "attributes-topic-filter-required": "Filtr tematu publikowania atrybutów jest wymagany.", "attributes-subscribe-topic-filter-required": "Temat subskrypcji atrybutów jest wymagany", - "telemetry-proto-schema": "Protoschemat telemetrii", - "telemetry-proto-schema-required": "Protoschemat telemetrii jest wymagany.", - "attributes-proto-schema": "Atrybuty schematu proto", + "telemetry-proto-schema": "Schemat proto telemetrii", + "telemetry-proto-schema-required": "Schemat proto telemetrii jest wymagany.", + "attributes-proto-schema": "Schemat proto atrybutów", "attributes-proto-schema-required": "Schemat proto atrybutów jest wymagany.", "rpc-response-proto-schema": "Schemat proto odpowiedzi RPC", "rpc-response-proto-schema-required": "Schemat proto odpowiedzi RPC jest wymagany.", @@ -1843,101 +3146,101 @@ "rpc-response-topic-filter-required": "Filtr tematu odpowiedzi RPC jest wymagany.", "rpc-request-proto-schema": "Schemat proto żądania RPC", "rpc-request-proto-schema-required": "Schemat proto żądania RPC jest wymagany.", - "rpc-request-proto-schema-hint": "Komunikat żądania RPC powinien zawsze zawierać pola: string method = 1; ", - "not-valid-pattern-topic-filter": "Nieprawidłowy filtr tematu wzorca", + "rpc-request-proto-schema-hint": "Wiadomość żądania RPC powinna zawsze zawierać pola: string method = 1; int32 requestId = 2; oraz params = 3 dowolnego typu danych.", + "not-valid-pattern-topic-filter": "Nieprawidłowy wzorzec filtra tematu", "not-valid-single-character": "Nieprawidłowe użycie jednopoziomowego znaku wieloznacznego", "not-valid-multi-character": "Nieprawidłowe użycie wielopoziomowego znaku wieloznacznego", - "single-level-wildcards-hint": "[+] odpowiada każdemu poziomowi filtra tematycznego. Np.: v1/devices/+/telemetry lub +/devices/+/attributes.", - "multi-level-wildcards-hint": "[#] zastępuje końcówkę filtru tematu (musi byc ostatnim symbolem). Mp.: # lub v1/devices/me/#.", - "alarm-rules": "Zasady alarmowania", - "alarm-rules-with-count": "Reguły alarmowe ({{count}})", - "no-alarm-rules": "Nie skonfigurowano żadnych reguł alarmowych", - "add-alarm-rule": "Dodaj regułę alarmową", + "single-level-wildcards-hint": "[+] pasuje do dowolnego poziomu filtra tematu. Np.: v1/devices/+/telemetry lub +/devices/+/attributes.", + "multi-level-wildcards-hint": "[#] może zastąpić cały filtr tematu i musi być ostatnim symbolem tematu. Np.: # lub v1/devices/me/#.", + "alarm-rules": "Reguły alarmów", + "alarm-rules-with-count": "Reguły alarmów ({{count}})", + "no-alarm-rules": "Nie skonfigurowano żadnych reguł alarmów", + "add-alarm-rule": "Dodaj regułę alarmu", "edit-alarm-rule": "Edytuj regułę alarmu", "alarm-type": "Typ alarmu", "alarm-type-required": "Typ alarmu jest wymagany.", - "alarm-type-unique": "Typ alarmu musi być unikalny w ramach reguł alarmowych profilu urządzenia.", - "alarm-type-max-length": "Typ alarmu powinien być mniejszy niż 256", - "create-alarm-pattern": "Tworzyć {{alarmType}} alarm", - "create-alarm-rules": "Utwórz reguły alarmowe", + "alarm-type-unique": "Typ alarmu musi być unikalny w ramach reguł alarmów profilu urządzenia.", + "alarm-type-max-length": "Typ alarmu powinien mieć mniej niż 256 znaków", + "create-alarm-pattern": "Utwórz alarm {{alarmType}}", + "create-alarm-rules": "Reguły utworzenia alarmu", "no-create-alarm-rules": "Nie skonfigurowano warunków tworzenia", "add-create-alarm-rule-prompt": "Dodaj regułę tworzenia alarmu", - "clear-alarm-rule": "Wyczyść regułę alarmową", - "no-clear-alarm-rule": "Nie skonfigurowano jasnego warunku", + "clear-alarm-rule": "Reguła wyczyszczenia alarmu", + "no-clear-alarm-rule": "Nie skonfigurowano warunku wyczyszczenia", "add-create-alarm-rule": "Dodaj warunek utworzenia", - "add-clear-alarm-rule": "Dodaj jasny warunek", - "select-alarm-severity": "Wybierz wagę alarmu", - "alarm-severity-required": "Waga alarmu jest wymagana.", + "add-clear-alarm-rule": "Dodaj warunek wyczyszczenia", + "select-alarm-severity": "Wybierz ważność alarmu", + "alarm-severity-required": "Ważność alarmu jest wymagana.", "condition-duration": "Czas trwania warunku", "condition-duration-value": "Wartość czasu trwania", "condition-duration-time-unit": "Jednostka czasu", "condition-duration-value-range": "Wartość czasu trwania powinna mieścić się w zakresie od 1 do 2147483647.", - "condition-duration-value-pattern": "Wartość czasu trwania powinna być liczbami całkowitymi.", + "condition-duration-value-pattern": "Wartość czasu trwania powinna być liczbą całkowitą.", "condition-duration-value-required": "Wartość czasu trwania jest wymagana.", "condition-duration-time-unit-required": "Jednostka czasu jest wymagana.", "advanced-settings": "Zaawansowane ustawienia", - "alarm-rule-additional-info": "Szczegóły", - "edit-alarm-rule-additional-info": "Extra informatie bewerken", - "alarm-rule-additional-info-placeholder": "Komentarze i poprawki należy wprowadzić tutaj, aby wyświetlić je w szczegółach alarmu w sekcji Dodatkowe informacje.", - "alarm-rule-additional-info-hint": "Wskazówka: użyj ${NazwaKlucza} w celu zastąpienia wartości atrybutu lub kluczy telemetrycznych używanych w warunku reguły alarmowej.", - "alarm-rule-mobile-dashboard": "Mobilny panel", - "alarm-rule-mobile-dashboard-hint": "Używany przez aplikację mobilną jako panel ze szczegółami alarmów", - "alarm-rule-no-mobile-dashboard": "Nie wybrano żadnego panelu", + "alarm-rule-additional-info": "Dodatkowe informacje", + "edit-alarm-rule-additional-info": "Edytuj dodatkowe informacje", + "alarm-rule-additional-info-placeholder": "Wprowadź tutaj swoje komentarze i uwagi, aby wyświetlić je w szczegółach alarmu w sekcji „Dodatkowe informacje”", + "alarm-rule-additional-info-hint": "Wskazówka: użyj ${keyName}, aby podstawić wartości kluczy atrybutów lub telemetrii używanych w warunku reguły alarmu.", + "alarm-rule-mobile-dashboard": "Pulpit mobilny", + "alarm-rule-mobile-dashboard-hint": "Używany przez aplikację mobilną jako pulpit ze szczegółami alarmów", + "alarm-rule-no-mobile-dashboard": "Nie wybrano żadnego pulpitu", "propagate-alarm": "Propaguj alarm do powiązanych obiektów", - "alarm-rule-relation-types-list": "Typy relacji do propagowania", - "alarm-rule-relation-types-list-hint": "Jeśli nie wybrano opcji Propaguj typy relacji, alarmy będą propagowane bez filtrowania według typu relacji.", - "propagate-alarm-to-owner": "Prześlij alarm do właściciela obiektu (Klienta lub Najemcy)", - "propagate-alarm-to-owner-hierarchy": "Propaguj alarm w hierarchii właścicieli jednostek", - "propagate-alarm-to-tenant": "Przekaż alarm do Najemcy", - "alarm-rule-condition": "Warunek reguły alarmowej", - "enter-alarm-rule-condition-prompt": "Dodaj warunek reguły alarmowej", - "edit-alarm-rule-condition": "Edytuj warunek reguły alarmowej", - "device-provisioning": "Udostępnianie urządzeń", - "provision-strategy": "Strategia zaopatrzenia", - "provision-strategy-required": "Strategia świadczenia usług jest wymagana.", + "alarm-rule-relation-types-list": "Typy relacji", + "alarm-rule-relation-types-list-hint": "Określa typy relacji służące do filtrowania powiązanych obiektów. Jeśli nie zostaną ustawione, alarm zostanie propagowany do wszystkich powiązanych obiektów.", + "propagate-alarm-to-owner": "Propaguj alarm do właściciela obiektu (klienta lub tenanta)", + "propagate-alarm-to-owner-hierarchy": "Propaguj alarm w hierarchii właścicieli obiektu", + "propagate-alarm-to-tenant": "Propaguj alarm do tenanta", + "alarm-rule-condition": "Warunek reguły alarmu", + "enter-alarm-rule-condition-prompt": "Dodaj warunek reguły alarmu", + "edit-alarm-rule-condition": "Edytuj warunek reguły alarmu", + "device-provisioning": "Aprowizacja urządzeń", + "provision-strategy": "Strategia aprowizacji", + "provision-strategy-required": "Strategia aprowizacji jest wymagana.", "provision-strategy-disabled": "Wyłączona", "provision-strategy-created-new": "Zezwalaj na tworzenie nowych urządzeń", - "provision-strategy-check-pre-provisioned": "Sprawdź, czy urządzenia są wstępnie obsługiwane", - "provision-device-key": "Udostępnij klucz urządzenia", - "provision-device-key-required": "Klucz urządzenia udostępniającego jest wymagany.", - "copy-provision-key": "Skopiuj klucz świadczenia", - "provision-key-copied-message": "Klucz udostępniania został skopiowany do schowka", - "provision-device-secret": "Udostępnij sekret urządzenia", - "provision-device-secret-required": "Klucz tajny urządzenia do udostępniania jest wymagany.", - "copy-provision-secret": "Skopiuj tajemnicę świadczenia", - "provision-secret-copied-message": "Sekret świadczenia został skopiowany do schowka", + "provision-strategy-check-pre-provisioned": "Sprawdzaj wstępnie zaaprowizowane urządzenia", + "provision-device-key": "Klucz aprowizacji urządzenia", + "provision-device-key-required": "Klucz aprowizacji urządzenia jest wymagany.", + "copy-provision-key": "Kopiuj klucz aprowizacji", + "provision-key-copied-message": "Klucz aprowizacji został skopiowany do schowka", + "provision-device-secret": "Sekret aprowizacji urządzenia", + "provision-device-secret-required": "Sekret aprowizacji urządzenia jest wymagany.", + "copy-provision-secret": "Kopiuj sekret aprowizacji", + "provision-secret-copied-message": "Sekret aprowizacji został skopiowany do schowka", "provision-strategy-x509": { "certificate-chain": "Łańcuch certyfikatów X509", - "certificate-chain-hint": "Strategia certyfikatów X.509 służy do udostępniania urządzeniom certyfikatów klienta w dwukierunkowej komunikacji TLS.", + "certificate-chain-hint": "Strategia certyfikatów X.509 służy do aprowizacji urządzeń za pomocą certyfikatów klienta w dwukierunkowej komunikacji TLS.", "allow-create-new-devices": "Twórz nowe urządzenia", - "allow-create-new-devices-hint": "Jeśli wybrane zostaną utworzone nowe urządzenia, a certyfikat klienta będzie używany jako dane uwierzytelniające urządzenia.", + "allow-create-new-devices-hint": "Jeśli ta opcja jest zaznaczona, zostaną utworzone nowe urządzenia, a certyfikat klienta będzie używany jako dane uwierzytelniające urządzenia.", "certificate-value": "Certyfikat w formacie PEM", "certificate-value-required": "Certyfikat w formacie PEM jest wymagany", "cn-regex-variable": "Zmienna wyrażenia regularnego CN", "cn-regex-variable-required": "Zmienna wyrażenia regularnego CN jest wymagana", - "cn-regex-variable-hint": "Wymagane do pobrania nazwy urządzenia z nazwy zwyczajowej certyfikatu X509 urządzenia." + "cn-regex-variable-hint": "Wymagane do pobrania nazwy urządzenia z nazwy pospolitej (CN) certyfikatu X509 urządzenia." }, - "condition": "Stan", + "condition": "Warunek", "condition-type": "Typ warunku", "condition-type-simple": "Prosty", "condition-type-duration": "Czas trwania", - "condition-during": "Podczas {{during}}", - "condition-during-dynamic": "Podczas \"{{ attribute }}\" ({{during}})", + "condition-during": "Przez {{during}}", + "condition-during-dynamic": "Przez „{{ attribute }}” ({{during}})", "condition-type-repeating": "Powtórzenie", "condition-type-required": "Typ warunku jest wymagany.", - "condition-repeating-value": "Liczba wydarzeń", + "condition-repeating-value": "Liczba zdarzeń", "condition-repeating-value-range": "Liczba zdarzeń powinna mieścić się w zakresie od 1 do 2147483647.", - "condition-repeating-value-pattern": "Liczba zdarzeń powinna być liczbami całkowitymi.", + "condition-repeating-value-pattern": "Liczba zdarzeń powinna być wartością całkowitą.", "condition-repeating-value-required": "Liczba zdarzeń jest wymagana.", - "condition-repeat-times": "Powtarza się {count, plural, =1 {1 raz} other {# razy} }", - "condition-repeat-times-dynamic": "Powtarza „{ atrybut }” ({ count, plural, =1 {1 raz} other {# razy} })", + "condition-repeat-times": "Powtarza się {count, plural, =1 {1 raz} one {# raz} few {# razy} other {# razy} }", + "condition-repeat-times-dynamic": "Powtarza się „{ attribute }” ({ count, plural, =1 {1 raz} one {# raz} few {# razy} other {# razy} })", "schedule-type": "Typ harmonogramu", "schedule-type-required": "Typ harmonogramu jest wymagany.", "schedule": "Harmonogram", "edit-schedule": "Edytuj harmonogram alarmów", - "schedule-any-time": "Cały czas aktywny", + "schedule-any-time": "Aktywny przez cały czas", "schedule-specific-time": "Aktywny w określonym czasie", - "schedule-custom": "Własny", + "schedule-custom": "Niestandardowy", "schedule-day": { "monday": "Poniedziałek", "tuesday": "Wtorek", @@ -1949,9 +3252,9 @@ }, "schedule-days": "Dni", "schedule-time": "Czas", - "schedule-time-from": "Z", + "schedule-time-from": "Od", "schedule-time-to": "Do", - "schedule-days-of-week-required": "Należy wybrać przynajmniej jeden dzień tygodnia.", + "schedule-days-of-week-required": "Należy wybrać co najmniej jeden dzień tygodnia.", "create-device-profile": "Utwórz nowy profil urządzenia", "import": "Importuj profil urządzenia", "export": "Eksportuj profil urządzenia", @@ -1968,20 +3271,20 @@ "edrx-cycle": "Cykl eDRX", "edrx-cycle-required": "Cykl eDRX jest wymagany.", "edrx-cycle-pattern": "Cykl eDRX musi być dodatnią liczbą całkowitą.", - "edrx-cycle-min": "Minimalna liczba cykli eDRX wynosi {{ min }} sekundy.", + "edrx-cycle-min": "Minimalny cykl eDRX wynosi {{ min }} s.", "paging-transmission-window": "Okno transmisji stronicowania", "paging-transmission-window-required": "Okno transmisji stronicowania jest wymagane.", "paging-transmission-window-pattern": "Okno transmisji stronicowania musi być dodatnią liczbą całkowitą.", - "paging-transmission-window-min": "Minimalna liczba okien transmisji przywoławczej wynosi {{ min }} sekundy.", - "psm-activity-timer": "Licznik aktywności PSM", + "paging-transmission-window-min": "Minimalne okno transmisji stronicowania wynosi {{ min }} s.", + "psm-activity-timer": "Licznik czasu aktywności PSM", "psm-activity-timer-required": "Licznik czasu aktywności PSM jest wymagany.", "psm-activity-timer-pattern": "Licznik czasu aktywności PSM musi być dodatnią liczbą całkowitą.", - "psm-activity-timer-min": "Minimalna liczba timerów aktywności PSM wynosi {{ min }} sekundy.", + "psm-activity-timer-min": "Minimalna wartość licznika czasu aktywności PSM wynosi {{ min }} s.", "lwm2m": { "object-list": "Lista obiektów", "object-list-empty": "Nie wybrano żadnych obiektów.", "no-objects-found": "Nie znaleziono żadnych obiektów.", - "no-objects-matching": "Nie znaleziono obiektów pasujących do '{{object}}'", + "no-objects-matching": "Nie znaleziono obiektów pasujących do „{{object}}”.", "model-tab": "Model LWM2M", "add-new-instances": "Dodaj nowe instancje", "instances-list": "Lista instancji", @@ -1989,10 +3292,13 @@ "instance-id-pattern": "Identyfikator instancji musi być dodatnią liczbą całkowitą.", "instance-id-max": "Maksymalna wartość identyfikatora instancji {{max}}.", "instance": "Instancja", - "resource-label": "Nazwa biblioteki #ID", + "resource-label": "#ID Nazwa zasobu", "observe-label": "Obserwuj", "attribute-label": "Atrybut", "telemetry-label": "Telemetria", + "select-all-attribute": "Wybierz wszystkie atrybuty", + "select-all-telemetry": "Wybierz całą telemetrię", + "select-all-observe": "Wybierz wszystkie obserwowane", "edit-observe-select": "Aby edytować obserwację, wybierz telemetrię lub atrybut", "edit-attributes-select": "Aby edytować atrybuty, wybierz telemetrię lub atrybut", "no-attributes-set": "Nie ustawiono żadnych atrybutów", @@ -2004,32 +3310,34 @@ "attribute-value-required": "Wartość atrybutu jest wymagana.", "attribute-value-pattern": "Wartość atrybutu musi być dodatnią liczbą całkowitą.", "edit-attributes": "Edytuj atrybuty: {{ name }}", - "view-attributes": "Zobacz atrybuty: {{ name }}", + "view-attributes": "Wyświetl atrybuty: {{ name }}", "add-attribute": "Dodaj atrybut", "edit-attribute": "Edytuj atrybut", - "view-attribute": "Zobacz atrybut", + "view-attribute": "Wyświetl atrybut", "remove-attribute": "Usuń atrybut", - "delete-server-text": "Bądź ostrożny, po potwierdzeniu konfiguracja serwera stanie się niemożliwa do przywrócenia.", + "delete-server-text": "Uwaga, po potwierdzeniu nie będzie można przywrócić konfiguracji serwera.", "delete-server-title": "Czy na pewno chcesz usunąć serwer?", "mode": "Tryb konfiguracji zabezpieczeń", "bootstrap-tab": "Bootstrap", - "bootstrap-server-legend": "Serwer startowy (ShortId...)", + "bootstrap-server-legend": "Serwer Bootstrap (ShortId...)", "lwm2m-server-legend": "Serwer LwM2M (ShortId...)", - "server": "serwer", + "server": "Serwer", "short-id": "Krótki identyfikator serwera", - "short-id-tooltip": "Krótki identyfikator serwera. ", + "short-id-tooltip": "Krótki identyfikator serwera. Służy jako łącze do powiązania instancji obiektu serwera.\nTen identyfikator jednoznacznie identyfikuje każdy serwer LwM2M skonfigurowany dla klienta LwM2M.\nZasób MUSI być ustawiony, gdy zasób Bootstrap-Server ma wartość 'false'.\nWartości ID:0 i ID:65535 NIE MOGĄ być używane do identyfikacji serwera LwM2M.", + "short-id-tooltip-bootstrap": "Krótki identyfikator serwera. Służy jako łącze do powiązania instancji obiektu serwera.\nTen identyfikator jednoznacznie identyfikuje każdy serwer LwM2M skonfigurowany dla klienta LwM2M.\nZasób MUSI być ustawiony, gdy zasób Bootstrap-Server ma wartość 'false'.", "short-id-required": "Krótki identyfikator serwera jest wymagany.", "short-id-range": "Krótki identyfikator serwera powinien mieścić się w zakresie od {{ min }} do {{ max }}.", "short-id-pattern": "Krótki identyfikator serwera musi być dodatnią liczbą całkowitą.", + "short-id-pattern-bs": "Krótki identyfikator serwera może mieć tylko wartość null", "lifetime": "Okres rejestracji klienta", "lifetime-required": "Okres rejestracji klienta jest wymagany.", - "lifetime-pattern": "Okres istnienia rejestracji klienta musi być dodatnią liczbą całkowitą.", - "default-min-period": "Minimalny okres między dwoma powiadomieniami", - "default-min-period-tooltip": "Wartość domyślna, którą Klient LwM2M powinien zastosować dla Minimalnego Okresu Obserwacji w przypadku braku tego parametru w Obserwacji.", + "lifetime-pattern": "Okres rejestracji klienta musi być dodatnią liczbą całkowitą.", + "default-min-period": "Minimalny okres między dwoma powiadomieniami (s)", + "default-min-period-tooltip": "Wartość domyślna, której klient LwM2M powinien używać jako minimalnego okresu obserwacji, jeśli ten parametr nie został podany w obserwacji.", "default-min-period-required": "Minimalny okres jest wymagany.", "default-min-period-pattern": "Minimalny okres musi być dodatnią liczbą całkowitą.", "notification-storing": "Przechowywanie powiadomień, gdy jest wyłączone lub offline", - "binding": "Wiążący", + "binding": "Powiązanie", "binding-type": { "u": "U: Klient jest dostępny w dowolnym momencie poprzez powiązanie UDP.", "m": "M: Klient jest dostępny w dowolnym momencie poprzez powiązanie MQTT.", @@ -2038,90 +3346,110 @@ "s": "S: Klient jest dostępny w każdej chwili za pośrednictwem wiadomości SMS.", "n": "N: Klient MUSI wysłać odpowiedź na takie żądanie poprzez powiązanie inne niż IP (jest obsługiwane od wersji LWM2M 1.1).", "uq": "UQ: połączenie UDP w trybie kolejki (nie jest obsługiwane od wersji LWM2M 1.1)", - "uqs": "UQS: aktywne połączenia UDP i SMS; ", + "uqs": "UQS: aktywne połączenia UDP i SMS; UDP w trybie kolejki, SMS w trybie standardowym (nie jest obsługiwane od wersji LWM2M 1.1)", "tq": "TQ: połączenie TCP w trybie kolejki (nie jest obsługiwane od wersji LWM2M 1.1)", - "tqs": "TQS: aktywne połączenia TCP i SMS; ", + "tqs": "TQS: aktywne połączenia TCP i SMS; TCP w trybie kolejki, SMS w trybie standardowym (nie jest obsługiwane od wersji LWM2M 1.1)", "sq": "SQ: połączenie SMS w trybie kolejki (nie jest obsługiwane od wersji LWM2M 1.1)" }, - "binding-tooltip": "To jest lista w zasobie „wiążącym” obiektu serwera LwM2M - /1/x/7.\n", - "bootstrap-server": "Serwer startowy", + "binding-tooltip": "To jest lista w zasobie „binding” obiektu serwera LwM2M - /1/x/7.\nOkreśla tryby powiązania obsługiwane przez klienta LwM2M.\nTa wartość POWINNA być taka sama jak wartość w zasobie „Supported Binding and Modes” w obiekcie urządzenia (/3/0/16).\nChociaż obsługiwanych jest wiele transportów, przez całą sesję transportową można używać tylko jednego powiązania transportowego.\nNa przykład, gdy obsługiwane są zarówno UDP, jak i SMS, klient LwM2M i serwer LwM2M mogą wybrać komunikację przez UDP albo przez SMS na całą sesję transportową.", + "bootstrap-server": "Serwer Bootstrap", "lwm2m-server": "Serwer LwM2M", "include-bootstrap-server": "Dołącz aktualizacje serwera Bootstrap", - "bootstrap-update-title": "Skonfigurowałeś już serwer Bootstrap. ", - "bootstrap-update-text": "Bądź ostrożny, po potwierdzeniu danych konfiguracyjnych serwera Bootstrap nie będzie można odzyskać.", + "bootstrap-update-title": "Skonfigurowano już serwer Bootstrap. Czy na pewno chcesz wykluczyć aktualizacje?", + "bootstrap-update-text": "Uwaga, po potwierdzeniu nie będzie można odzyskać danych konfiguracyjnych serwera Bootstrap.", "server-host": "Host", "server-host-required": "Host jest wymagany.", "server-port": "Port", "server-port-required": "Port jest wymagany.", "server-port-pattern": "Port musi być dodatnią liczbą całkowitą.", - "server-port-range": "Port powinien należeć do zakresu od 1 do 65535.", + "server-port-range": "Port powinien mieścić się w zakresie od 1 do 65535.", "server-public-key": "Klucz publiczny serwera", "server-public-key-required": "Klucz publiczny serwera jest wymagany.", - "client-hold-off-time": "Wstrzymaj czas", + "client-hold-off-time": "Czas wstrzymania", "client-hold-off-time-required": "Czas wstrzymania jest wymagany.", "client-hold-off-time-pattern": "Czas wstrzymania musi być dodatnią liczbą całkowitą.", "client-hold-off-time-tooltip": "Czas wstrzymania klienta do użytku wyłącznie z serwerem Bootstrap", - "account-after-timeout": "Account after the timeout", - "account-after-timeout-required": "Account after the timeout jest wymagane.", - "account-after-timeout-pattern": "Account after the timeout musi być dodatnią liczbą całkowitą.", - "account-after-timeout-tooltip": "Bootstrap-Server Account after the timeout value given by this resource.", + "account-after-timeout": "Konto po upływie limitu czasu", + "account-after-timeout-required": "Konto po upływie limitu czasu jest wymagane.", + "account-after-timeout-pattern": "Konto po upływie limitu czasu musi być dodatnią liczbą całkowitą.", + "account-after-timeout-tooltip": "Konto Bootstrap-Server po upływie limitu czasu podanego w tym zasobie.", "server-type": "Rodzaj serwera", "add-new-server-title": "Dodaj nową konfigurację serwera", "add-server-config": "Dodaj konfigurację serwera", "add-lwm2m-server-config": "Dodaj serwer LwM2M", "no-config-servers": "Nie skonfigurowano żadnych serwerów", "others-tab": "Inne ustawienia", + "ota-update": "Aktualizacja OTA", + "use-object-19-for-ota-update": "Użyj obiektu 19 dla metadanych pliku OTA (suma kontrolna, rozmiar, wersja, nazwa)", + "use-object-19-for-ota-update-hint": "Użyj zasobu ObjectId = 19 do aktualizacji OTA: FirmWare → InstanceId = 65534, SoftWare → InstanceId = 65535. Format danych to JSON opakowany w Base64. Ten JSON zawiera metadane pliku OTA (informacje o pliku): „Checksum” (SHA256). Dodatkowe pola: „Title” (nazwa OTA), „Version” (wersja OTA), „File Name” (nazwa pliku do przechowywania OTA na kliencie), „File Size” (rozmiar OTA w bajtach).", "client-strategy": "Strategia klienta podczas łączenia", "client-strategy-label": "Strategia", - "client-strategy-only-observe": "Obserwuj żądanie skierowane do klienta dopiero po pierwszym połączeniu", - "client-strategy-read-all": "Przeczytaj wszystkie zasoby", - "fw-update": "Aktualizacja firmware", + "client-strategy-only-observe": "Tylko żądanie Observe do klienta po pierwszym połączeniu", + "client-strategy-read-all": "Odczyt wszystkich zasobów i żądanie Observe do klienta po rejestracji", + "fw-update": "Aktualizacja oprogramowania sprzętowego", "fw-update-strategy": "Strategia aktualizacji oprogramowania sprzętowego", "fw-update-strategy-data": "Wypchnij aktualizację oprogramowania sprzętowego jako plik binarny przy użyciu obiektu 19 i zasobu 0 (dane)", "fw-update-strategy-package": "Wypchnij aktualizację oprogramowania sprzętowego jako plik binarny przy użyciu obiektu 5 i zasobu 0 (pakiet)", "fw-update-strategy-package-uri": "Automatycznie wygeneruj unikalny adres URL CoAP, aby pobrać pakiet i przesłać aktualizację oprogramowania sprzętowego jako obiekt 5 i zasób 1 (identyfikator URI pakietu)", "sw-update": "Aktualizacja oprogramowania", "sw-update-strategy": "Strategia aktualizacji oprogramowania", - "sw-update-strategy-package": "Wypchnij plik binarny przy użyciu Obiektu 9 i Zasobu 2 (pakiet)", - "sw-update-strategy-package-uri": "Automatycznie wygeneruj unikalny adres URL CoAP, aby pobrać pakiet i przesłać aktualizację oprogramowania przy użyciu Obiektu 9 i Zasobu 3 (URI pakietu)", + "sw-update-strategy-package": "Wypchnij plik binarny przy użyciu obiektu 9 i zasobu 2 (pakiet)", + "sw-update-strategy-package-uri": "Automatycznie wygeneruj unikalny adres URL CoAP, aby pobrać pakiet i przesłać aktualizację oprogramowania przy użyciu obiektu 9 i zasobu 3 (URI pakietu)", "fw-update-resource": "Zasób aktualizacji oprogramowania sprzętowego CoAP", "fw-update-resource-required": "Zasób aktualizacji oprogramowania sprzętowego CoAP jest wymagany.", "sw-update-resource": "Zasób aktualizacji oprogramowania CoAP", "sw-update-resource-required": "Zasób aktualizacji oprogramowania CoAP jest wymagany.", - "config-json-tab": "Urządzenie z profilem konfiguracji Json", + "config-json-tab": "Konfiguracja JSON profilu urządzenia", "attributes-name": { "min-period": "Minimalny okres", "max-period": "Maksymalny okres", - "greater-than": "Lepszy niż", + "greater-than": "Więcej niż", "less-than": "Mniej niż", "step": "Krok", "min-evaluation-period": "Minimalny okres oceny", "max-evaluation-period": "Maksymalny okres oceny" - } + }, + "default-object-id": "Domyślna wersja obiektu (atrybut)", + "default-object-id-ver": { + "v1-0": "1.0", + "v1-1": "1.1", + "v1-2": "1.2" + }, + "observe-strategy": { + "observe-strategy": "Strategia obserwacji", + "single": "Pojedyncza", + "single-description": "Jedno żądanie Observe na zasób (wyższa precyzja, większy ruch sieciowy)", + "composite-all": "Złożona dla wszystkich", + "composite-all-description": "Wszystkie zasoby są obserwowane jednym żądaniem Composite Observe (większa wydajność, mniejsza elastyczność)", + "composite-by-object": "Złożona według obiektów", + "composite-by-object-description": "Zasoby są grupowane według typu obiektu i obserwowane za pomocą osobnych żądań Composite Observe (podejście zrównoważone)" + }, + "init-attr-tel-as-obs-strategy": "Inicjalizuj atrybuty i telemetrię przy użyciu strategii Observe", + "init-attr-tel-as-obs-strategy-hint": "Jeśli fałsz - atrybuty i telemetria są inicjalizowane przez odczytywanie ich wartości jedna po drugiej.\\nJeśli prawda - atrybuty i telemetria są inicjalizowane przez subskrybowanie ich wartości przy użyciu strategii Observe." }, "snmp": { "add-communication-config": "Dodaj konfigurację komunikacji", "add-mapping": "Dodaj mapowanie", "authentication-passphrase": "Hasło uwierzytelniające", "authentication-passphrase-required": "Hasło uwierzytelniające jest wymagane.", - "authentication-protocol": "Protokół uwierzytelnienia", + "authentication-protocol": "Protokół uwierzytelniania", "authentication-protocol-required": "Protokół uwierzytelniania jest wymagany.", "communication-configs": "Konfiguracje komunikacji", - "community": "Community string", - "community-required": "Community string jest wymagane.", + "community": "Ciąg społeczności", + "community-required": "Ciąg społeczności jest wymagany.", "context-name": "Nazwa kontekstu", "data-key": "Klucz danych", "data-key-required": "Klucz danych jest wymagany.", "data-type": "Typ danych", "data-type-required": "Typ danych jest wymagany.", "engine-id": "Identyfikator silnika", - "host": "Gospodarz", + "host": "Host", "host-required": "Host jest wymagany.", "oid": "OID", "oid-pattern": "Nieprawidłowy format OID.", "oid-required": "OID jest wymagany.", - "please-add-communication-config": "Proszę dodać konfigurację komunikacji", - "please-add-mapping-config": "Proszę dodać konfigurację mapowania", + "please-add-communication-config": "Dodaj konfigurację komunikacji", + "please-add-mapping-config": "Dodaj konfigurację mapowania", "port": "Port", "port-format": "Nieprawidłowy format portu.", "port-required": "Port jest wymagany.", @@ -2146,9 +3474,7 @@ "timeout-ms-required": "Limit czasu jest wymagany.", "user-name": "Nazwa użytkownika", "user-name-required": "Nazwa użytkownika jest wymagana." - }, - "new-device-profile-name": "Nazwa profilu urządzenia", - "new-device-profile-name-required": "Nazwa profilu urządzenia jest wymagana." + } }, "dialog": { "close": "Zamknij okno dialogowe", @@ -2160,96 +3486,102 @@ "row": "Wiersz" }, "edge": { - "all": "Wszystko", - "all-edges": "Wszystkie Edge", + "all": "Wszystkie", + "all-edges": "Wszystkie instancje Edge", "groups": "Grupy", - "shared": "Wspólny", + "shared": "Współdzielone", "edge": "Edge", "edge-instances": "Instancje Edge", "instances": "Instancje", + "edges": "Instancje Edge", + "profiles": "Profile", + "templates": "Szablony", + "rule-chain": "Łańcuch reguł", + "integration": "Integracja", + "converter": "Konwerter", "edge-file": "Plik Edge", - "name-max-length": "Nazwa powinna być mniejsza niż 256", - "label-max-length": "Etykieta powinna być mniejsza niż 256", - "type-max-length": "Typ powinien być mniejszy niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", + "label-max-length": "Etykieta powinna mieć mniej niż 256 znaków", + "type-max-length": "Typ powinien mieć mniej niż 256 znaków", "management": "Zarządzanie Edge", - "no-edges-matching": "Nie znaleziono Edge pasujących do '{{entity}}'.", + "no-edges-matching": "Nie znaleziono instancji Edge pasujących do „{{entity}}”.", "add": "Dodaj Edge", - "no-edges-text": "Nie znaleziono Edge", - "edge-details": "Szczegóły Edge", + "no-edges-text": "Nie znaleziono instancji Edge", + "edge-details": "Szczegóły instancji Edge", "add-edge-text": "Dodaj nowy Edge", "delete": "Usuń Edge", - "delete-edge-title": "Czy na pewno chcesz usunąć Edge '{{edgeName}}'?", - "delete-edge-text": "Bądź ostrożny, po potwierdzeniu Edge i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-edges-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 Edge} other {# Edge} }?", - "delete-edges-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane Edgei zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", + "delete-edge-title": "Czy na pewno chcesz usunąć instancję Edge „{{edgeName}}”?", + "delete-edge-text": "Uwaga, po potwierdzeniu nie będzie można odzyskać instancji Edge ani żadnych powiązanych danych.", + "delete-edges-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 instancję Edge} one {# instancję Edge} few {# instancje Edge} other {# instancji Edge} }?", + "delete-edges-text": "Uwaga, po potwierdzeniu wszystkie wybrane instancje Edge zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", "name": "Nazwa", "name-starts-with": "Nazwa Edge zaczyna się od", "name-required": "Nazwa jest wymagana.", "edge-license-key": "Klucz licencyjny Edge", "edge-license-key-required": "Klucz licencyjny Edge jest wymagany.", - "edge-license-key-max-length": "Klucz licencyjny Edge powinien być mniejszy niż 31", - "edge-license-key-hint": "WAŻNA UWAGA: domyślny klucz licencyjny Edge udostępniany wyłącznie w celach testowych.
Ten klucz jest aktywny tylko dla 30 dni po aktywacji. Funkcja White-labeling jest wyłączona.
Aby uzyskać klucz licencyjny, przejdź do strona z cenami i wybierz najlepszą opcję licencji dla swojego przypadku.", + "edge-license-key-max-length": "Klucz licencyjny Edge powinien mieć mniej niż 31 znaków", + "edge-license-key-hint": "WAŻNA UWAGA: domyślny klucz licencyjny Edge jest udostępniany wyłącznie w celach testowych.
Ten klucz jest aktywny tylko przez 30 dni po aktywacji. Funkcja Branding jest wyłączona.
Aby uzyskać klucz licencyjny, przejdź do strony z cennikiem i wybierz najlepszą opcję licencji dla swojego przypadku.", "cloud-endpoint": "Punkt końcowy w chmurze", "cloud-endpoint-required": "Punkt końcowy w chmurze jest wymagany.", - "cloud-endpoint-max-length": "Punkt końcowy chmury powinien być mniejszy niż 256", - "cloud-endpoint-hint": "Edge wymaga dostępu HTTP(s) do Cloud (ThingsBoard) w celu zweryfikowania klucza licencyjnego. Podaj adres URL chmury, z którą Edge może się połączyć.", + "cloud-endpoint-max-length": "Punkt końcowy w chmurze powinien mieć mniej niż 256 znaków", + "cloud-endpoint-hint": "Edge wymaga dostępu HTTP(s) do chmury (ThingsBoard) w celu zweryfikowania klucza licencyjnego. Podaj adres URL chmury, z którą Edge może się połączyć.", "description": "Opis", "details": "Szczegóły", - "events": "Wydarzenia", - "copy-id": "Skopiuj identyfikator Edge", + "events": "Zdarzenia", + "copy-id": "Kopiuj identyfikator instancji Edge", "id-copied-message": "Identyfikator Edge został skopiowany do schowka", "sync": "Synchronizuj Edge", - "edge-required": "Wymagany Edge", + "edge-required": "Instancja Edge jest wymagana", "edge-type": "Typ Edge", "edge-type-required": "Typ Edge jest wymagany.", - "event-action": "Akcja eventowa", + "event-action": "Akcja zdarzenia", "entity-id": "Identyfikator obiektu", "select-edge-type": "Wybierz typ Edge", "assign-to-customer": "Przypisz do klienta", - "assign-to-customer-text": "Proszę wybrać klienta do przypisania Edge", + "assign-to-customer-text": "Wybierz klienta, do którego chcesz przypisać instancje Edge", "assign-edge-to-customer": "Przypisz Edge do klienta", - "assign-edge-to-customer-text": "Prosimy o wybranie Edge do przypisania klientowi", + "assign-edge-to-customer-text": "Wybierz instancje Edge, które chcesz przypisać do klienta", "assignedToCustomer": "Przypisany do klienta", "edge-public": "Edge jest publiczny", "assigned-to-customer": "Przypisane do: {{customerTitle}}", - "unassign-from-customer": "Usuń przypisanie od klienta", - "unassign-edge-title": "Czy na pewno chcesz usunąć przypisanie Edge '{{edgeName}}'?", - "unassign-edge-text": "Po potwierdzeniu Edge zostanie anulowana i nie będzie dostępna dla klienta.", - "unassign-edges-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 Edge} other {# Edge} }?", - "unassign-edges-text": "Po potwierdzeniu wszystkie wybrane Edge zostaną usunięte i nie będą dostępne dla klienta.", + "unassign-from-customer": "Anuluj przypisanie do klienta", + "unassign-edge-title": "Czy na pewno chcesz anulować przypisanie instancji Edge „{{edgeName}}”?", + "unassign-edge-text": "Po potwierdzeniu instancja Edge nie będzie już przypisana do klienta i nie będzie dla niego dostępna.", + "unassign-edges-title": "Czy na pewno chcesz anulować przypisanie {count, plural, =1 {1 instancji Edge} one {# instancji Edge} few {# instancji Edge} other {# instancji Edge} }?", + "unassign-edges-text": "Po potwierdzeniu wszystkie wybrane instancje Edge nie będą już przypisane do klienta i nie będą dla niego dostępne.", "make-public": "Upublicznij Edge", - "make-public-edge-title": "Czy na pewno chcesz uczynić Edge {{edgeName}} publiczną?", - "make-public-edge-text": "Po potwierdzeniu urządzenie Edge i wszystkie jego dane zostaną upublicznione i dostępne dla innych.", + "make-public-edge-title": "Czy na pewno chcesz upublicznić instancję Edge „{{edgeName}}”?", + "make-public-edge-text": "Po potwierdzeniu instancja Edge i wszystkie jej dane zostaną upublicznione i będą dostępne dla innych.", "make-private": "Ustaw Edge jako prywatny", "public": "Publiczny", - "make-private-edge-title": "Czy na pewno chcesz uczynić Edge {{edgeName}} prywatną?", - "make-private-edge-text": "Po potwierdzeniu urządzenie Edge i wszystkie jego dane staną się prywatne i nie będą dostępne dla innych.", + "make-private-edge-title": "Czy na pewno chcesz ustawić instancję Edge „{{edgeName}}” jako prywatną?", + "make-private-edge-text": "Po potwierdzeniu instancja Edge i wszystkie jej dane staną się prywatne i nie będą dostępne dla innych.", "import": "Importuj Edge", - "install-connect-instructions": "zainstalować", - "install-connect-instructions-edge-created": "Edge created! Check Install & Connect Instructions", - "loading-edge-instructions": "Loading edge instructions...", + "install-connect-instructions": "Instrukcje instalacji i połączenia", + "install-connect-instructions-edge-created": "Utworzono instancję Edge! Sprawdź instrukcje instalacji i połączenia", + "loading-edge-instructions": "Ładowanie instrukcji dla instancji Edge...", "label": "Etykieta", - "load-entity-error": "Nie udało się załadować danych. ", + "load-entity-error": "Nie udało się załadować danych. Obiekt został usunięty.", "assign-new-edge": "Przypisz nowy Edge", - "unassign-from-edge": "Usuń przypisanie z Edge", + "unassign-from-edge": "Anuluj przypisanie do instancji Edge", "edge-key": "Klucz Edge", - "copy-edge-key": "Skopiuj klucz Edge", - "edge-key-copied-message": "Klawisz Edge został skopiowany do schowka", + "copy-edge-key": "Kopiuj klucz Edge", + "edge-key-copied-message": "Klucz Edge został skopiowany do schowka", "edge-secret": "Sekret Edge", - "copy-edge-secret": "Skopiuj sekret Edge", + "copy-edge-secret": "Kopiuj sekret Edge", "edge-secret-copied-message": "Sekret Edge został skopiowany do schowka", "manage-assets": "Zarządzaj zasobami", "manage-devices": "Zarządzaj urządzeniami", - "manage-entity-views": "Zarządzaj widokami encji", - "manage-dashboards": "Zarządzaj panelami", + "manage-entity-views": "Zarządzaj widokami obiektów", + "manage-dashboards": "Zarządzaj pulpitami", "manage-rulechains": "Zarządzaj łańcuchami reguł", - "assets": "Zasoby Edge", - "devices": "Urządzenia Edge", - "entity-views": "Widoki elementów Edge", - "dashboard": "Panel Edge", - "dashboards": "Panele Edge", - "rulechain-templates": "Szablony łańcucha reguł", - "edge-rulechain-templates": "Szablony łańcucha reguł Edge", + "assets": "Zasoby instancji Edge", + "devices": "Urządzenia instancji Edge", + "entity-views": "Widoki obiektów instancji Edge", + "dashboard": "Pulpit instancji Edge", + "dashboards": "Pulpity instancji Edge", + "rulechain-templates": "Szablony łańcuchów reguł", + "edge-rulechain-templates": "Szablony łańcuchów reguł Edge", "converter-templates": "Szablony konwerterów", "edge-converter-templates": "Szablony konwerterów Edge", "integration-templates": "Szablony integracji", @@ -2257,67 +3589,709 @@ "rulechains": "Łańcuchy reguł Edge", "integrations": "Integracje", "search": "Szukaj Edge", - "selected-edges": "Wybrano {count, plural, =1 {1 Edge} other {# Edge} }", - "any-edge": "Dowolna Edge", - "no-edge-types-matching": "Nie znaleziono pasujących typów Edge '{{entitySubtype}}'", + "selected-edges": "Wybrano {count, plural, =1 {1 instancję Edge} one {# instancję Edge} few {# instancje Edge} other {# instancji Edge} }", + "any-edge": "Dowolna instancja Edge", + "no-edge-types-matching": "Nie znaleziono typów Edge pasujących do „{{entitySubtype}}”.", "edge-type-list-empty": "Nie wybrano typów Edge.", "edge-types": "Typy Edge", "enter-edge-type": "Podaj typ Edge", - "deployed": "Deployed", + "deployed": "Wdrożony", "pending": "Oczekujący", - "downlinks": "Linki w dół", - "no-downlinks-prompt": "Nie znaleziono żadnych łączy w dół", + "downlinks": "Wiadomości downlink", + "no-downlinks-prompt": "Nie znaleziono żadnych wiadomości downlink", "sync-process-started-successfully": "Proces synchronizacji rozpoczął się pomyślnie!", - "missing-related-rule-chains-title": "W Edge brakuje powiązanych łańcuchów reguł", - "missing-related-rule-chains-text": "Przypisane do łańcuchów reguł Edge używają węzłów reguł, które przekazują komunikaty do łańcuchów reguł, które nie są przypisane do tego Edge.

Lista brakujących łańcuchów reguł:
{{missingRuleChains}}", - "widget-datasource-error": "Ten widget obsługuje wyłącznie źródło danych encji EDGE", - "assign-to-edge": "Przypisz do Edge", - "assign-to-edge-title": "Przypisz grupy jednostek do Edge", + "missing-related-rule-chains-title": "W instancji Edge brakuje powiązanych łańcuchów reguł", + "missing-related-rule-chains-text": "Łańcuchy reguł przypisane do instancji Edge używają węzłów reguł, które przekazują wiadomości do łańcuchów reguł nieprzypisanych do tej instancji Edge.

Lista brakujących łańcuchów reguł:
{{missingRuleChains}}", + "widget-datasource-error": "Ten widżet obsługuje wyłącznie źródło danych instancji Edge", + "assign-to-edge": "Przypisz do instancji Edge", + "assign-to-edge-title": "Przypisz grupy obiektów do instancji Edge", "manage-edge-user-groups": "Zarządzaj grupami użytkowników Edge", "manage-edge-asset-groups": "Zarządzaj grupami zasobów Edge", - "manage-edge-device-groups": "Zarządzaj grupami urządzeń Edge", - "manage-edge-entity-view-groups": "Zarządzaj grupami widoków jednostek Edge", - "manage-edge-dashboard-groups": "Zarządzaj grupami paneli Edge", + "manage-edge-device-groups": "Zarządzaj grupami urządzeń instancji Edge", + "manage-edge-entity-view-groups": "Zarządzaj grupami widoków obiektów instancji Edge", + "manage-edge-dashboard-groups": "Zarządzaj grupami pulpitów instancji Edge", "manage-edge-rule-chains": "Zarządzaj łańcuchami reguł Edge", "manage-edge-integrations": "Zarządzaj integracjami Edge", "manage-edge-scheduler-events": "Zarządzaj zdarzeniami harmonogramu Edge", - "select-group-to-add": "Wybierz grupę docelową, aby dodać wybrane Edge", - "select-group-to-move": "Wybierz grupę docelową, aby przesunąć wybrane Edge", - "remove-edges-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 Edge} other {# Edgeów} }?", - "group": "Grupa Edge", - "list-of-groups": "{count, plural, =1 {Jedna grupa Edge} other {Lista # grup Edge} }", - "group-name-starts-with": "Grupy Edge, których nazwy zaczynają się od '{{prefix}}'", - "unassign-entity-group-from-edge-title": "Czy na pewno chcesz usunąć przypisanie grupy encji '{{ entityGroupName }}'?", - "unassign-entity-group-from-edge-text": "Po potwierdzeniu grupa encji zostanie usunięta i nie będzie dostępna na urządzeniu Edgeowym.", - "unassign-entity-group-from-edge": "Usuń przypisanie grupy jednostek do Edge", - "unassign-entity-groups-from-edge-title": "Czy na pewno chcesz anulować przypisanie {{count}} grupy obiektów?", - "unassign-entity-groups-from-edge-text": "Po potwierdzeniu grupy encji zostaną anulowane i nie będą dostępne na urządzeniu Edge.", - "unassign-entity-groups-from-edge": "Usuń przypisanie grup jednostek z Edge", - "unassign-scheduler-events-from-edge": "Usuń przypisanie zdarzeń harmonogramu z Edge", - "unassign-scheduler-event-from-edge-title": "Czy na pewno chcesz usunąć przypisanie zdarzenia harmonogramu '{{schedulerEventName}}'?", - "unassign-scheduler-event-from-edge-text": "Po potwierdzeniu zdarzenie harmonogramu zostanie anulowane i nie będzie dostępne na urządzeniu Edge.", - "unassign-scheduler-events-from-edge-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 zdarzenie planisty} other {# zdarzeń planisty} }?", - "unassign-scheduler-events-from-edge-text": "Po potwierdzeniu wszystkie wybrane zdarzenia harmonogramu zostaną usunięte i nie będą dostępne na urządzeniu Edge.", + "select-group-to-add": "Wybierz grupę docelową, aby dodać wybrane instancje Edge", + "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybrane instancje Edge", + "remove-edges-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 instancję Edge} one {# instancję Edge} few {# instancje Edge} other {# instancji Edge} } z grupy '{entityGroup}'?", + "group": "Grupa instancji Edge", + "list-of-groups": "{count, plural, =1 {Jedna grupa instancji Edge} one {Lista # grupy instancji Edge} few {Lista # grup instancji Edge} other {Lista # grup instancji Edge} }", + "group-name-starts-with": "Grupy instancji Edge, których nazwy zaczynają się od „{{prefix}}”", + "unassign-entity-group-from-edge-title": "Czy na pewno chcesz anulować przypisanie grupy obiektów „{{ entityGroupName }}”?", + "unassign-entity-group-from-edge-text": "Po potwierdzeniu grupa obiektów nie będzie już przypisana do instancji Edge i nie będzie na niej dostępna.", + "unassign-entity-group-from-edge": "Anuluj przypisanie grupy obiektów do instancji Edge", + "unassign-entity-groups-from-edge-title": "Czy na pewno chcesz anulować przypisanie wybranych grup obiektów ({{count}})?", + "unassign-entity-groups-from-edge-text": "Po potwierdzeniu grupy obiektów nie będą już przypisane do instancji Edge i nie będą na niej dostępne.", + "unassign-entity-groups-from-edge": "Anuluj przypisanie grup obiektów do instancji Edge", + "unassign-scheduler-events-from-edge": "Anuluj przypisanie zdarzeń harmonogramu do instancji Edge", + "unassign-scheduler-event-from-edge-title": "Czy na pewno chcesz anulować przypisanie zdarzenia harmonogramu „{{schedulerEventName}}”?", + "unassign-scheduler-event-from-edge-text": "Po potwierdzeniu zdarzenie harmonogramu nie będzie już przypisane do instancji Edge i nie będzie na niej dostępne.", + "unassign-scheduler-events-from-edge-title": "Czy na pewno chcesz anulować przypisanie {count, plural, =1 {1 zdarzenia harmonogramu} one {# zdarzenia harmonogramu} few {# zdarzeń harmonogramu} other {# zdarzeń harmonogramu} }?", + "unassign-scheduler-events-from-edge-text": "Po potwierdzeniu wszystkie wybrane zdarzenia harmonogramu nie będą już przypisane do instancji Edge i nie będą na niej dostępne.", "manage-user-groups": "Zarządzaj grupami użytkowników", "manage-asset-groups": "Zarządzaj grupami zasobów", "manage-device-groups": "Zarządzaj grupami urządzeń", - "manage-dashboard-groups": "Zarządzaj grupami paneli", - "manage-entity-view-groups": "Zarządzaj grupami widoków encji", + "manage-dashboard-groups": "Zarządzaj grupami pulpitów", + "manage-entity-view-groups": "Zarządzaj grupami widoków obiektów", "manage-scheduler-events": "Zarządzaj zdarzeniami harmonogramu", "manage-integrations": "Zarządzaj integracjami", - "assign-scheduler-event-to-edge-title": "Przypisz zdarzenia harmonogramu do Edge", - "assign-scheduler-event-to-edge-text": "Wybierz zdarzenia harmonogramu, które chcesz przypisać do urządzenia Edge", - "assign-entity-groups-to-edge-text": "Wybierz grupy elementów, które chcesz przypisać do Edge", - "assign-integration-to-edge-title": "Przypisz integracje do Edge", - "assign-integration-to-edge-text": "Wybierz integracje, które chcesz przypisać do urządzenia Edge", - "missing-attributes-title": "Edge ma brakujące atrybuty", - "missing-attributes-text": "Integracje przypisane do Edge mają symbole zastępcze atrybutów, które nie są dostępne na tej Edge.

Lista brakujących atrybutów Edge:
{{missingEdgeAttributes}}", - "missing-all-related-attributes-title": "Edge mają brakujące atrybuty", - "missing-all-related-attributes-text": "Edge powiązane z integracją nie mają atrybutów, które są obecne w konfiguracji integracji jako symbole zastępcze atrybutów.

Lista brakujących atrybutów Edge:
{{missingEdgeAttributes}}", - "quick-overview-widget-header": "{{edgeName}} szybki przegląd" + "assign-scheduler-event-to-edge-title": "Przypisz zdarzenia harmonogramu do instancji Edge", + "assign-scheduler-event-to-edge-text": "Wybierz zdarzenia harmonogramu, które chcesz przypisać do instancji Edge", + "assign-entity-groups-to-edge-text": "Wybierz grupy obiektów, które chcesz przypisać do instancji Edge", + "assign-integration-to-edge-title": "Przypisz integracje do instancji Edge", + "assign-integration-to-edge-text": "Wybierz integracje, które chcesz przypisać do instancji Edge", + "missing-attributes-title": "W instancji Edge brakuje atrybutów", + "missing-attributes-text": "Integracje przypisane do instancji Edge mają symbole zastępcze atrybutów, które nie są dostępne na tej instancji Edge.

Lista brakujących atrybutów Edge:
{{missingEdgeAttributes}}", + "missing-all-related-attributes-title": "W instancjach Edge brakuje atrybutów", + "missing-all-related-attributes-text": "Instancje Edge powiązane z integracją nie mają atrybutów, które są obecne w konfiguracji integracji jako symbole zastępcze atrybutów.

Lista brakujących atrybutów Edge:
{{missingEdgeAttributes}}", + "quick-overview-widget-header": "Szybki przegląd: {{edgeName}}", + "upgrade-instructions": "Instrukcje uaktualnienia", + "managed-application": "Aplikacja zarządzana", + "app-upgrade-available": "Dostępne uaktualnienie", + "connected": "Połączono", + "disconnected": "Rozłączono", + "auto-provision": "Automatyczna aprowizacja", + "auto-provision-title": "Automatyczna aprowizacja instancji Edge", + "auto-provision-subtitle": "Wygeneruj polecenie Docker run — instancja Edge i jej Agent zostaną utworzone automatycznie po wykonaniu polecenia na maszynie docelowej.", + "auto-provision-step-select": "Profil Agent", + "auto-provision-step-script": "Skrypt aprowizacji", + "auto-provision-agent-profile-label": "Profil Agent", + "auto-provision-agent-profile-placeholder": "Wybierz lub utwórz profil Agent", + "auto-provision-no-eligible-profiles": "Nie znaleziono odpowiednich profili. Użyj przycisku po prawej, aby utworzyć nowy.", + "auto-provision-create-profile": "Utwórz profil", + "auto-provision-validating": "Sprawdzanie profilu Agent…", + "auto-provision-valid": "Gotowe do aprowizacji — do profilu „{{profile}}” przypisano profil aplikacji Edge.", + "auto-provision-invalid-strategy": "Strategia aprowizacji tego profilu nie instaluje aplikacji automatycznie. Wybierz profil ze strategią automatycznej instalacji.", + "auto-provision-invalid-no-edge-app-profile": "Do tego profilu nie przypisano profilu aplikacji Edge. Użyj przycisku, aby go przypisać.", + "auto-provision-info-title": "Jak to działa", + "auto-provision-info-body": "Po utworzeniu profilu Agent generowane jest polecenie Docker run. Po uruchomieniu go na maszynie docelowej platforma ThingsBoard automatycznie tworzy instancję Agent — oraz powiązany z nią obiekt Edge — przy użyciu danych uwierzytelniających osadzonych w poleceniu. Instancja Edge jest konfigurowana automatycznie na podstawie profilu aplikacji przypisanego do profilu Agent. Ręczne tworzenie instancji Edge nie jest wymagane.", + "auto-provision-success-message": "Profil Agent jest gotowy. Uruchom polecenie na dowolnej maszynie docelowej, aby aprowizować nową instancję Edge.", + "auto-provision-script-hint": "Uruchom to polecenie na każdej maszynie, która ma stać się instancją Edge. Każde uruchomienie aprowizuje jedną parę Agent + Edge.", + "auto-provision-open-profile": "Otwórz profil", + "auto-provision-no-script": "W tym profilu brakuje danych uwierzytelniających aprowizacji. Otwórz profil, aby wygenerować je ponownie." + }, + "agent": { + "agents": "Instancje Agent", + "agent-profiles": "Profile Agent", + "app-profiles": "Profile aplikacji", + "templates": "Szablony", + "agent-templates": "Szablony Agent", + "add": "Dodaj instancję Agent", + "add-agent-text": "Dodaj nową instancję Agent", + "auto-provision": "Automatyczna aprowizacja", + "auto-provision-title": "Automatyczna aprowizacja instancji Agent", + "auto-provision-step-select": "Profil Agent", + "auto-provision-step-script": "Skrypt aprowizacji", + "auto-provision-valid": "Gotowe do aprowizacji — profil „{{profile}}” ma włączoną aprowizację.", + "auto-provision-info-title": "Jak to działa", + "auto-provision-info-body": "Po utworzeniu profilu Agent generowane jest polecenie Docker run. Po uruchomieniu go na maszynie docelowej platforma ThingsBoard automatycznie tworzy instancję Agent przy użyciu danych uwierzytelniających osadzonych w poleceniu. Instancja Agent jest konfigurowana automatycznie na podstawie profilu Agent. Ręczne tworzenie instancji Agent nie jest wymagane.", + "auto-provision-success-message": "Profil Agent jest gotowy. Uruchom polecenie na dowolnej maszynie docelowej, aby przeprowadzić aprowizację nowej instancji Agent.", + "auto-provision-script-hint": "Uruchom to polecenie na każdej maszynie, na której ma działać instancja Agent. Każde uruchomienie to aprowizacja jednej instancji Agent.", + "add-profile": "Dodaj profil Agent", + "add-app-profile": "Dodaj profil aplikacji", + "add-application": "Dodaj aplikację", + "agent-details": "Szczegóły instancji Agent", + "profile-details": "Szczegóły profilu Agent", + "app-profile-details": "Szczegóły profilu aplikacji", + "template-details": "Szczegóły szablonu Agent", + "application-details": "Szczegóły aplikacji", + "no-agents-text": "Nie znaleziono instancji Agent", + "no-agent-profiles-text": "Nie znaleziono profili Agent", + "no-app-profiles-text": "Nie znaleziono profili aplikacji", + "no-templates-text": "Nie znaleziono szablonów Agent", + "no-applications-text": "Nie znaleziono aplikacji", + "no-events-text": "Nie znaleziono zdarzeń", + "search": "Szukaj instancji Agent", + "search-profiles": "Szukaj profili Agent", + "search-app-profiles": "Szukaj profili aplikacji", + "search-templates": "Szukaj szablonów", + "search-applications": "Szukaj aplikacji", + "search-events": "Szukaj zdarzeń", + "selected-agents": "Wybrano { count, plural, one {# instancję Agent} few {# instancje Agent} other {# instancji Agent} }", + "selected-agent-profiles": "Wybrano { count, plural, one {# profil Agent} few {# profile Agent} other {# profili Agent} }", + "selected-app-profiles": "Wybrano { count, plural, =1 {1 profil aplikacji} one {# profil aplikacji} few {# profile aplikacji} other {# profili aplikacji} }", + "selected-applications": "Wybrano { count, plural, =1 {1 aplikację} one {# aplikację} few {# aplikacje} other {# aplikacji} }", + "name": "Nazwa", + "name-required": "Nazwa jest wymagana.", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", + "routing-key": "Klucz routingu", + "secret": "Sekret", + "description": "Opis", + "profile-name": "Nazwa profilu", + "profile-name-placeholder": "Produkcyjne instancje Agent", + "profile-name-required": "Nazwa profilu jest wymagana.", + "provision-type": "Typ aprowizacji", + "provision-key": "Klucz aprowizacji", + "provision-secret": "Sekret aprowizacji", + "app-type": "Typ aplikacji", + "current-version": "Bieżąca wersja", + "next-version": "Następna wersja", + "assigned-to-customer": "Przypisany do klienta", + "assign-to-customer": "Przypisz do klienta", + "unassign-from-customer": "Anuluj przypisanie do klienta", + "assign-agents-to-customer": "Przypisz instancje Agent do klienta", + "assign-to-customer-text": "Wybierz klienta, do którego chcesz przypisać instancje Agent", + "unassign-agents-from-customer": "Anuluj przypisanie instancji Agent do klienta", + "delete": "Usuń instancję Agent", + "delete-profile": "Usuń profil", + "set-default-profile": "Ustaw profil Agent jako domyślny", + "set-default-profile-title": "Czy na pewno chcesz ustawić profil Agent „{{profileName}}” jako domyślny?", + "set-default-profile-text": "Po potwierdzeniu profil Agent zostanie oznaczony jako domyślny i będzie używany dla nowych instancji Agent bez określonego profilu.", + "default-profile": "Domyślny", + "agent-profile-required": "Profil Agent jest wymagany.", + "edit-profile": "Edytuj profil Agent", + "no-agent-profiles-found": "Nie znaleziono profili Agent", + "no-agent-profiles-matching": "Nie znaleziono profili Agent pasujących do „{{entity}}”", + "create-new-agent-profile": "Utwórz nowy profil Agent", + "add-profile-step-details": "Szczegóły profilu", + "add-profile-step-app-profiles": "Profile aplikacji", + "add-profile-app-profiles-hint-title": "Dlaczego warto przypisać profile aplikacji?", + "add-profile-app-profiles-hint": "Przypisane profile aplikacji sterują operacjami zbiorczymi (aktualizacja, uaktualnienie, usuwanie) na aplikacjach, które się do nich odwołują — aplikacjach zarządzanych przez instancje Agent korzystające z profilu „{{profileName}}”. Wybierz istniejące profile aplikacji lub utwórz nowe bezpośrednio tutaj.", + "application-profiles": "Profile aplikacji", + "create-new-application-profile": "Utwórz nowy profil aplikacji", + "create-new": "Utwórz nowy", + "delete-app-profile": "Usuń profil aplikacji", + "copy-profile-id": "Kopiuj ID profilu", + "profile-id-copied-message": "ID profilu zostało skopiowane do schowka", + "app-profile-wizard-title": "Utwórz profil aplikacji", + "app-profile-wizard-edit-title": "Aktualizuj profil aplikacji", + "app-update-current-config": "Bieżąca konfiguracja aplikacji", + "app-update-future-config": "Docelowa konfiguracja aplikacji", + "app-update-edit-profile": "Aktualizuj profil", + "app-update-compare-hint": "Porównanie tylko do odczytu bieżącej konfiguracji tej aplikacji (po lewej) i konfiguracji, którą otrzyma z przypisanego profilu, ze scalonymi danymi uwierzytelniającymi (po prawej).", + "app-install-custom-config": "Zaawansowane", + "app-install-from-profile": "Domyślne", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "ThingsBoard Agent instaluje, uaktualnia i monitoruje to wdrożenie zdalnie z chmury — bez ręcznych poleceń Docker i bez konserwacji na maszynie docelowej.", + "deploy-select-agent-step": "Wybierz instancję Agent", + "deploy-intro": "Wdróż na zdalnej maszynie za pomocą aplikacji ThingsBoard Agent. Wybierz istniejącą instancję Agent działającą na maszynie docelowej lub utwórz nową.", + "deploy-agent": "Agent", + "deploy-create-new": "Utwórz nową", + "deploy-no-agents": "Nie znaleziono instancji Agent", + "deploy-no-agents-matching": "Brak instancji Agent pasujących do „{{entity}}”", + "deploy-already-managed": "Ten obiekt jest już zarządzany przez aplikację Agent „{{name}}”.", + "deploy-open-agent": "Przejdź do instancji Agent", + "deploy-open-app": "Przejdź do aplikacji Agent", + "deploy-install-step": "Zainstaluj", + "deploy-status-hero": "ThingsBoard Agent instaluje, uaktualnia i monitoruje to wdrożenie zdalnie z chmury — bez ręcznych poleceń Docker i bez konserwacji na maszynie docelowej.", + "deploy-status-online-title": "Twoja instancja Agent jest online", + "deploy-status-offline-title": "Twoja instancja Agent jest offline", + "deploy-status-managing": "zarządza tym wdrożeniem. Nic więcej nie musisz tutaj robić.", + "deploy-status-managing-for": "zarządza tym wdrożeniem od {{duration}}. Nic więcej nie musisz tutaj robić.", + "deploy-status-offline-desc": "nie odpowiada w tej chwili. Połączenie zostanie wznowione automatycznie, gdy instancja Agent ponownie się połączy.", + "deploy-status-duration-days": "{{count}} d.", + "deploy-status-duration-hours": "{{count}} godz.", + "deploy-status-duration-minutes": "{{count}} min", + "deploy-status-healthy": "Sprawny", + "deploy-status-unhealthy": "Offline", + "deploy-status-need-reinstall": "Potrzebna ponowna instalacja?", + "deploy-status-show-install": "Pokaż polecenie instalacji", + "deploy-status-hide-install": "Ukryj", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "Urządzenie Agent zarządzające tym wdrożeniem — telemetria i cykl życia.", + "deploy-status-card-app-title": "Aplikacja Agent", + "deploy-status-card-app-desc": "Aplikacja uruchomiona przez tę instancję Agent — usługi, status i logi.", + "deploy-status-card-events-title": "Zdarzenia Agent", + "deploy-status-card-events-desc": "Bieżący strumień instalacji, uaktualnień, ponownych uruchomień i błędów.", + "deploy-status-edge-ui-title": "Otwórz interfejs ThingsBoard Edge", + "deploy-status-edge-ui-desc": "Po uruchomieniu usługi Edge otwórz interfejs webowy Edge pod adresem http://localhost:8080 lub http://localhost:18080, jeśli w poprzednim kroku zmieniono konfigurację portu powiązania HTTP. Zaloguj się, używając danych uwierzytelniających tenanta z lokalnego serwera ThingsBoard lub z ThingsBoard Cloud.", + "app-install-select-profile": "Profil aplikacji", + "app-install-no-profiles": "Nie znaleziono profili aplikacji", + "app-install-virtual-profile-badge": "Predefiniowany", + "app-install-virtual-profile-hint": "Ten profil jeszcze nie istnieje. Zostanie utworzony automatycznie na podstawie szablonu, gdy go wybierzesz.", + "app-install-profile-materialize-failed": "Nie udało się utworzyć predefiniowanego profilu aplikacji.", + "quick-start-title": "Szybki start — predefiniowane profile", + "quick-start-subtitle": "Utwórz gotowy profil Edge lub Gateway jednym kliknięciem. Konfiguracja nie jest wymagana.", + "quick-start-filter-all": "Wszystkie", + "quick-start-all-created": "Utworzono wszystkie predefiniowane profile.", + "quick-start-no-match": "Żaden predefiniowany profil nie pasuje do tego filtra.", + "quick-start-profile-created": "Utworzono profil aplikacji „{{profileName}}”", + "add-profile-assignments-load-failed": "Nie udało się załadować obecnie przypisanych profili aplikacji. Zapisanie pozostawi istniejące przypisania bez zmian.", + "app-profile-wizard-cta": "Utwórz profil", + "app-profile-wizard-confirm-info": "Profil aplikacji zostanie utworzony z wybranym szablonem i konfiguracją compose. Możesz go później zmienić na stronie szczegółów profilu.", + "app-profile-name": "Nazwa profilu", + "app-profile-name-placeholder-edge": "Profil aplikacji Edge dla silosu", + "app-profile-name-placeholder-gateway": "Profil aplikacji Gateway dla silosu", + "app-profile-name-placeholder-generic": "Profil aplikacji dla silosu", + "app-profile-step-save": "Zapisz profil", + "app-profile-description": "Opis", + "copy-id": "Kopiuj ID instancji Agent", + "copy-routing-key": "Kopiuj klucz routingu", + "copy-secret": "Kopiuj sekret", + "copy-provision-key": "Kopiuj klucz aprowizacji", + "copy-provision-secret": "Kopiuj sekret aprowizacji", + "id-copied-message": "ID instancji Agent zostało skopiowane do schowka", + "routing-key-copied-message": "Klucz routingu został skopiowany do schowka", + "secret-copied-message": "Sekret został skopiowany do schowka", + "provision-key-copied-message": "Klucz aprowizacji został skopiowany do schowka", + "provision-secret-copied-message": "Sekret aprowizacji został skopiowany do schowka", + "delete-agent-title": "Czy na pewno chcesz usunąć instancję Agent „{{agentName}}”?", + "delete-agent-text": "Uwaga, po potwierdzeniu Agent i wszystkie powiązane dane zostaną bezpowrotnie utracone.", + "delete-agents-title": "Czy na pewno chcesz usunąć { count, plural, one {# instancję Agent} few {# instancje Agent} other {# instancji Agent} }?", + "delete-agents-text": "Uwaga, po potwierdzeniu wszystkie wybrane instancje Agent zostaną usunięte, a wszystkie powiązane dane zostaną bezpowrotnie utracone.", + "unassign-agent-title": "Czy na pewno chcesz anulować przypisanie instancji Agent „{{agentName}}”?", + "unassign-agent-text": "Po potwierdzeniu instancja Agent nie będzie już przypisana do klienta i nie będzie dla niego dostępna.", + "unassign-agents-title": "Czy na pewno chcesz anulować przypisanie { count, plural, other {# instancji Agent} }?", + "unassign-agents-text": "Po potwierdzeniu wszystkie wybrane instancje Agent nie będą już przypisane do klienta i nie będą dla niego dostępne.", + "delete-profile-title": "Czy na pewno chcesz usunąć profil „{{profileName}}”?", + "delete-profile-text": "Uwaga, po potwierdzeniu profilu i wszystkich powiązanych danych nie będzie można odzyskać.", + "delete-profiles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 profil} few {# profile} other {# profili} }?", + "delete-profiles-text": "Uwaga, po potwierdzeniu wszystkie wybrane profile zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "delete-app-profile-title": "Czy na pewno chcesz usunąć profil aplikacji „{{profileName}}”?", + "delete-app-profile-text": "Uwaga, po potwierdzeniu nie będzie można odzyskać profilu aplikacji ani żadnych powiązanych danych.", + "delete-app-profiles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 profil aplikacji} few {# profile aplikacji} other {# profili aplikacji} }?", + "delete-app-profiles-text": "Uwaga, po potwierdzeniu wszystkie wybrane profile aplikacji zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "status": "Status", + "online": "Online", + "offline": "Offline", + "app-errors": "Błędy", + "app-errors-recent": "Ostatnie zdarzenia błędów ({{count}}):", + "app-errors-open-events": "Kliknij, aby otworzyć kartę zdarzeń", + "online-hint": "Agent jest obecnie połączony z platformą", + "offline-hint": "Agent nie jest połączony z platformą", + "agent-profile": "Profil Agent", + "no-profile": "Brak profilu", + "applications": "Aplikacje", + "manage-applications": "Zarządzaj aplikacjami", + "app-name": "Nazwa", + "app-template": "Szablon", + "app-units": "Jednostki", + "app-origin": "Pochodzenie", + "app-profile-in-sync": "Zgodność z profilem aplikacji", + "app-profile-in-sync-yes": "Zsynchronizowana z profilem aplikacji", + "app-profile-in-sync-no": "Brak synchronizacji z profilem aplikacji", + "app-profile-in-sync-na": "Nie przypisano profilu aplikacji", + "app-upgrade-to": "Uaktualnij do {{version}}", + "app-restart": "Uruchom ponownie", + "app-upgrade": "Uaktualnij", + "app-delete": "Usuń", + "app-update": "Aktualizuj", + "app-update-title": "Zaktualizować {{name}}?", + "app-update-text": "Wyślij zapisaną konfigurację do instancji Agent. Agent ponownie wdroży aplikację, korzystając z najnowszego zapisanego pliku compose.", + "app-version-upgrade-available-title": "Dostępne uaktualnienie", + "app-version-mismatch-title": "Niezgodność wersji szablonu", + "app-assign-upgrade-available-text": "Profil „{{profileName}}” korzysta z wersji szablonu {{profileVersion}}, a ta aplikacja — z wersji {{appVersion}}. Dla tej aplikacji dostępne jest uaktualnienie do wersji {{profileVersion}}. Bezpośrednie przypisanie profilu przełączy ją na wersję {{profileVersion}} bez wykonania kroków uaktualnienia (np. skryptów uaktualnienia bazy danych). Aby bezpiecznie zmienić wersję, użyj akcji „Uaktualnij”.", + "app-assign-version-mismatch-text": "Profil „{{profileName}}” korzysta z wersji szablonu {{profileVersion}}, ale ta aplikacja jest w wersji {{appVersion}}. Przypisanie go przełączy aplikację na wersję {{profileVersion}} bez wykonania jakichkolwiek kroków uaktualnienia lub obniżenia wersji i może pozostawić ją w niespójnym stanie. Aby bezpiecznie zmienić wersję, użyj akcji „Uaktualnij”.", + "app-assign-anyway": "Przypisz mimo to", + "app-assign-upgrade-first": "Najpierw uaktualnij", + "app-update-drift-title": "Wersja przypisanego profilu jest inna", + "app-update-drift-text": "Przypisany profil „{{profileName}}” korzysta z wersji szablonu {{profileVersion}}, a ta aplikacja — z wersji {{appVersion}}. Aktualizacja ponownie wdroży aplikację z jej bieżącą konfiguracją — konfiguracja profilu nie zostanie zastosowana. Aby przejść na wersję {{profileVersion}}, użyj akcji „Uaktualnij”.", + "app-update-anyway": "Aktualizuj mimo to", + "app-profile-drifted-hint": "Profil korzysta z wersji szablonu {{version}}. „Aktualizuj” jej nie zastosuje — użyj „Uaktualnij”.", + "app-arguments-profile-managed-hint": "Niestandardowymi argumentami zarządza przypisany profil aplikacji. Edytuj je na stronie profilu.", + "app-current-version": "Bieżąca wersja", + "app-profile-version": "Wersja profilu", + "app-name-required": "Nazwa aplikacji jest wymagana.", + "app-compose": "Konfiguracja Docker Compose", + "arguments": "Niestandardowe argumenty", + "arguments-hint-prefix": "Symbole zastępcze rozwiązywane podczas wdrażania. Odwołuj się do nich w pliku compose jako", + "arguments-empty": "Nie zdefiniowano niestandardowych argumentów.", + "arguments-empty-read-title": "Nie zdefiniowano niestandardowych argumentów", + "arguments-empty-read-hint": "Plik compose jest wdrażany z wartościami bez zmian.", + "arguments-empty-write-title": "Brak niestandardowych argumentów", + "arguments-empty-write-hint": "Dodaj symbol zastępczy, aby podczas wdrażania wstawić do pliku compose wartość atrybutu lub telemetrii obiektu.", + "argument-settings": "Ustawienia argumentu", + "argument-add": "Dodaj argument", + "argument-remove": "Usuń argument", + "argument-name": "Nazwa", + "argument-name-required": "Nazwa argumentu jest wymagana.", + "argument-name-pattern": "Dozwolone są tylko litery, cyfry i podkreślenia.", + "argument-name-duplicate": "Nazwa argumentu jest już używana.", + "argument-referenced-as": "Odwołuj się do niego w konfiguracji Docker Compose jako", + "argument-source": "Typ źródła", + "argument-target-entity": "Obiekt docelowy", + "argument-source-agent": "Agent", + "argument-source-owner": "Właściciel", + "argument-source-related-entity": "Powiązany obiekt", + "argument-source-tenant": "Bieżący tenant", + "argument-source-device": "Urządzenie", + "argument-source-asset": "Zasób", + "argument-source-customer": "Klient", + "argument-source-edge": "Edge", + "argument-source-entity-device": "Urządzenie", + "argument-source-entity-asset": "Zasób", + "argument-source-entity-customer": "Klient", + "argument-source-entity-edge": "Edge", + "argument-value-type": "Typ wartości", + "argument-value-type-attribute": "Atrybut", + "argument-value-type-latest-telemetry": "Najnowsza telemetria", + "argument-scope": "Zakres atrybutu", + "argument-type-server-attribute": "Atrybut serwera", + "argument-type-shared-attribute": "Atrybut współdzielony", + "argument-type-client-attribute": "Atrybut klienta", + "argument-key": "Klucz", + "argument-attribute-key": "Klucz atrybutu", + "argument-telemetry-key": "Klucz najnowszej telemetrii", + "argument-key-required": "Klucz jest wymagany.", + "argument-default-value": "Domyślna wartość", + "argument-format": "Format wartości", + "argument-format-string": "Tekst", + "argument-format-json": "JSON", + "argument-format-hint-json": "„JSON” wstawia tablice/obiekty/liczby bez zmian, ale tylko wtedy, gdy symbol zastępczy stanowi całą wartość.", + "argument-format-hint-embedded": "Jeśli symbol zastępczy jest osadzony w ciągu znaków, ten wybór jest ignorowany, a wartość jest zawsze wstawiana jako tekst w cudzysłowie.", + "argument-format-hint-text": "„Tekst” zawsze wstawia ciąg znaków w cudzysłowie.", + "app-compose-creds-overridden-hint": "Pola danych uwierzytelniających w pliku compose są zarządzane przez powiązany obiekt i zostaną nadpisane przy zapisie. Aby je zmienić, przypisz obiekt ponownie.", + "app-profile-compose-creds-hint": "Pola danych uwierzytelniających w pliku compose są zarządzane przez powiązany obiekt i zostaną nadpisane przy zapisie. Aby je zmienić, przypisz obiekt podczas tworzenia/edycji aplikacji.", + "app-related-entity": "Powiązany obiekt", + "app-related-entity-none": "Nie znaleziono pasujących obiektów", + "app-related-entity-none-create": "Nie znaleziono pasujących obiektów. Użyj przycisku „Utwórz nowy”, aby go utworzyć.", + "app-related-entity-required": "Powiązany obiekt jest wymagany dla aplikacji Edge i Gateway.", + "app-step-applied-stage-hint": "Zmiany wprowadzone tutaj są stosowane na etapie „{{stage}}” na instancji Agent.", + "app-restart-title": "Uruchomić ponownie {{name}}?", + "app-restart-text": "Agent ponownie wykona kroki uruchamiania aplikacji. Istniejące dane i konfiguracja zostaną zachowane.", + "app-assign-compare-title": "Przypisz profil aplikacji", + "app-assign-compare-hint": "Przypisanie profilu „{{profileName}}” zastąpi konfigurację compose aplikacji „{{appName}}”. Przejrzyj powyższe zmiany i potwierdź.", + "app-assign-compare-cta": "Przypisz profil", + "app-upgrade-title": "Uaktualnij aplikację", + "app-upgrade-step1": "Przejrzyj zmiany", + "app-upgrade-step2": "Skonfiguruj i potwierdź", + "app-upgrade-heading": "Uaktualnianie {{name}}: {{from}} → {{to}}", + "app-upgrade-template-new": "Szablon ({{version}}) — nowy", + "app-upgrade-current": "Twój plik compose (bieżący z automatycznie scalonym nowym obrazem)", + "app-upgrade-diff-hint": "Porównanie obok siebie: lewy panel pokazuje nowy szablon w surowej postaci, a prawy panel — Twój bieżący plik compose z automatycznie scalonym nowym obrazem. Przejrzyj różnice przed kontynuowaniem.", + "app-upgrade-steps-list": "Kroki uaktualnienia, które zostaną wykonane:", + "app-upgrade-backup-volumes-hint": "Wybierz woluminy, których kopię zapasową należy utworzyć przed uaktualnieniem. Kopie zapasowe umożliwiają automatyczne wycofanie zmian, jeśli uaktualnienie się nie powiedzie.", + "app-upgrade-no-volumes": "Nie wykryto woluminów w konfiguracji compose.", + "app-upgrade-summary-versions": "Uaktualnienie", + "app-upgrade-summary-volumes-label": "Woluminy do kopii zapasowej", + "app-upgrade-summary-volumes": "{ count, plural, =1 {1 wybrany} one {# wybrany} few {# wybrane} other {# wybranych} }", + "app-upgrade-rollback-info": "Jeśli którykolwiek krok się nie powiedzie, Agent automatycznie przywróci poprzednią wersję przy użyciu woluminów z kopii zapasowej.", + "app-upgrade-cta": "Uaktualnij", + "app-upgrade-loading": "Ładowanie szablonu…", + "app-upgrade-no-template": "Aplikacja nie ma ustawionego szablonu; nie można jej uaktualnić.", + "app-upgrade-no-next-version": "Nowsza wersja szablonu nie jest dostępna.", + "app-upgrade-load-failed": "Nie udało się załadować szablonu uaktualnienia.", + "app-upgrade-merge-failed": "Nie udało się obliczyć podglądu uaktualnienia.", + "app-compose-invalid-yaml": "Konfiguracja Docker Compose nie jest prawidłowym dokumentem YAML. Popraw ją przed zapisaniem.", + "app-profile-saved-title": "Zapisano profil aplikacji", + "app-profile-saved-propagation-text": "Aplikacje już przypisane do tego profilu nie zostały zaktualizowane automatycznie. Aby zastosować zmiany, uruchom zbiorczą aktualizację/uaktualnienie na stronie profilu Agent lub zaktualizuj każdą aplikację osobno na jej stronie.", + "app-upgrade-profile-step": "Uaktualnienie profilu", + "app-upgrade-profile-loading": "Ładowanie profilu…", + "app-upgrade-profile-name": "Profil", + "app-upgrade-profile-current": "Plik Compose profilu (bieżący z automatycznie scalonym nowym obrazem)", + "app-upgrade-profile-hint": "Ta aplikacja jest powiązana z profilem, który nadal wskazuje poprzednią wersję szablonu. Najpierw uaktualnij profil, aby aplikacja mogła przyjąć nową konfigurację.", + "app-upgrade-profile-cta": "Uaktualnij profil", + "app-profile-load-failed": "Nie udało się załadować profilu aplikacji.", + "app-install-title": "Zainstaluj aplikację", + "app-install-on-agent": "na instancji Agent {{name}}", + "app-install-pick-type": "Wybierz, co chcesz wdrożyć na tej instancji Agent.", + "app-install-step1": "Wybierz typ", + "app-install-step3": "Przejrzyj i dostosuj", + "app-install-step4": "Zapisz aplikację", + "app-install-type-generic": "Ogólna", + "app-install-type-generic-desc": "Wdróż dowolną aplikację Docker Compose", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "Wdróż ThingsBoard Edge", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "Wdróż ThingsBoard Gateway", + "app-install-name": "Nazwa aplikacji", + "app-install-yaml": "Konfiguracja Docker Compose", + "app-compose-template-select": "Szablon Compose", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "Hybrydowy", + "compose-type-in-memory": "W pamięci", + "app-install-diff-template": "Szablon — tylko do odczytu", + "app-install-diff-editable": "Twój plik compose — edytowalny, zostanie zapisany", + "app-install-diff-hint": "Lewy panel pokazuje nieprzetworzony szablon compose. Edytuj prawy panel, aby go dostosować; zapisywana jest tylko prawa strona.", + "app-diff-sync-scroll": "Synchronizuj przewijanie paneli", + "app-diff-read-only": "Tylko do odczytu", + "app-install-cred-title": "Dane uwierzytelniające", + "app-install-cred-hint": "Podczas korzystania z profilu można edytować tylko te pola. Ich wartości są zapisywane z powrotem w podglądzie compose poniżej.", + "app-install-cred-routing-key": "Klucz routingu", + "app-install-cred-routing-secret": "Sekret routingu", + "app-install-cred-security-type": "Typ zabezpieczeń", + "app-install-cred-security-access-token": "Token dostępu", + "app-install-cred-security-username-password": "Nazwa użytkownika / hasło", + "app-install-cred-access-token": "Token dostępu", + "app-install-cred-client-id": "Identyfikator klienta", + "app-install-cred-username": "Nazwa użytkownika", + "app-install-cred-password": "Hasło", + "app-install-pull-images": "Pobierz obrazy przed uruchomieniem", + "app-image-pull-policy-if-not-present": "Jeśli brak", + "app-image-pull-policy-always": "Zawsze", + "app-install-cta": "Zapisz", + "app-update-wizard-title": "Aktualizuj aplikację", + "app-update-cta": "Aktualizuj", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "Propozycja (scalona z szablonem) — tylko do odczytu", + "app-update-diff-current": "Bieżący plik compose — edytowalny, zostanie zapisany", + "app-update-diff-hint": "Przejrzyj proponowane zmiany po lewej. Użyj strzałek między panelami, aby scalić wybrane fragmenty z bieżącym plikiem compose po prawej. Zapisywana jest tylko prawa strona.", + "app-update-cred-hint": "Aplikacje zarządzane przez profil pokazują tutaj tylko pola danych uwierzytelniających. Pozostałe zmiany w pliku compose wprowadza się w profilu.", + "app-profile-outdated-hint": "Konfiguracja profilu jest nieaktualna. Uruchom „Aktualizuj”, aby pobrać ją ponownie.", + "app-project-name": "Nazwa projektu", + "app-update-skip-profile-refetch": "Pomiń ponowne pobranie konfiguracji profilu", + "app-update-skip-profile-refetch-hint": "Po zaznaczeniu aplikacja Agent zachowuje bieżący plik compose i stosowane są tylko powyższe wartości danych uwierzytelniających. Użyj tej opcji, aby wymienić dane uwierzytelniające lub — gdy powyższa zasada pobierania jest ustawiona na „Zawsze” — ponownie pobrać najnowsze obrazy, bez uwzględniania nowszej konfiguracji profilu.", + "app-update-skip-profile-refetch-drift-hint": "Przypisany profil ma wersję szablonu {{version}} — „Aktualizuj” nie zastosuje jego konfiguracji. Aplikacja zachowuje bieżący plik compose; stosowane są tylko powyższe wartości danych uwierzytelniających. Użyj „Uaktualnij”, aby przejść na inną wersję.", + "app-install-confirm-info": "Agent pobierze i uruchomi kontenery. Postęp możesz śledzić na karcie „Zdarzenia”.", + "app-install-loading-template": "Ładowanie szablonu…", + "app-install-template-failed": "Nie udało się załadować szablonu aplikacji.", + "app-install-merge-failed": "Nie udało się obliczyć scalonego podglądu.", + "app-delete-title-header": "Usuń aplikację", + "app-delete-warning": "Czy na pewno chcesz usunąć „{{name}}”? Spowoduje to zatrzymanie i usunięcie wszystkich kontenerów na maszynie zdalnej.", + "app-delete-remove-volumes": "Usuń również woluminy", + "app-delete-remove-volumes-hint": "Ostrzeżenie: spowoduje to trwałe usunięcie wszystkich danych przechowywanych w woluminach aplikacji.", + "app-delete-no-volumes": "Nie wykryto woluminów w konfiguracji compose.", + "app-delete-cta": "Usuń", + "agents-count": "Instancje Agent", + "profiles-count": "Profile", + "template": "Szablon", + "previous-version": "Poprzednia wersja", + "config-type": "Typ konfiguracji", + "install-instructions": "Instrukcje instalacji", + "install-instructions-hint": "Uruchom następujące polecenie na maszynie docelowej, aby uruchomić instancję Agent. Instancja Agent połączy się z serwerem ThingsBoard i pojawi się jako Online.", + "install-instructions-replace-hint": "Po połączeniu instancja Agent pojawi się jako Online na liście instancji Agent.", + "install-step-docker": "Upewnij się, że Docker jest zainstalowany na maszynie docelowej", + "install-step-run": "Uruchom kontener Agent", + "install-command-copied-message": "Polecenie instalacji zostało skopiowane do schowka", + "agent-credentials": "Dane uwierzytelniające instancji Agent", + "agent-created-successfully": "Agent został pomyślnie utworzony", + "go-to-agent": "Przejdź do instancji Agent", + "app-type-generic": "Ogólna", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "Konfiguracja", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "Najnowszy profil aplikacji Edge", + "preset-gateway-description": "Najnowszy profil aplikacji Gateway", + "preset-edge-gateway-description": "Oba najnowsze profile aplikacji", + "preset-name-edge": "Profil Agent dla Edge", + "preset-name-gateway": "Profil Agent dla Gateway", + "preset-name-edge-gateway": "Profil Agent dla Edge + Gateway", + "preset-advanced": "Zaawansowane", + "preset-advanced-description": "Ustaw strategię aprowizacji i wybierz lub utwórz profile aplikacji", + "preset-advanced-configure": "Konfiguruj", + "preset-summary-title": "Ustawienie wstępne: {{label}}", + "preset-summary-body": "Tworzy profil Agent z przypisanymi aplikacjami {{apps}} i strategią aprowizacji „jedna aplikacja na typ”.", + "preset-summary-apps-two": "{{first}} i {{second}}", + "preset-templates-load-failed": "Nie udało się załadować najnowszych szablonów aplikacji dla: {{types}}. Ustawienia wstępne, które ich wymagają, są wyłączone.", + "app-type-required": "Typ aplikacji jest wymagany.", + "provision-type-disabled": "Wyłączona", + "provision-type-no-auto-install": "Tylko aprowizacja instancji Agent", + "provision-type-per-app-type": "Jedna aplikacja na typ", + "provision-type-per-app-profile": "Jedna aplikacja na przypisany profil", + "provisioning-strategy": "Strategia aprowizacji", + "provisioning-strategy-label": "Strategia: {{strategy}}", + "provision-type-disabled-description": "Aprowizacja instancji Agent jest wyłączona. Wybierz strategię aprowizacji, aby włączyć automatyczną rejestrację instancji Agent. Po włączeniu instancje Agent mogą rejestrować się samodzielnie za pomocą współdzielonego klucza i sekretu aprowizacji — bez potrzeby ręcznego tworzenia każdej instancji Agent.", + "provision-type-no-auto-install-description": "Gdy nowa instancja Agent przechodzi aprowizację z tym profilem, serwer rejestruje ją, ale nie instaluje automatycznie żadnych aplikacji. Przypisane profile aplikacji są ignorowane podczas aprowizacji — aplikacje można zainstalować na instancji Agent ręcznie.", + "provision-type-per-app-type-description": "Gdy nowa instancja Agent przechodzi aprowizację z tym profilem, serwer automatycznie tworzy aplikacje na podstawie przypisanych profili aplikacji. Aplikacje Edge/Gateway są instalowane tylko wtedy, gdy instancja Agent nie ma jeszcze aplikacji tego typu (co najwyżej jedna danego typu na instancję Agent); aplikacje ogólne są dopasowywane według profilu (jedna aplikacja na profil na instancję Agent). Na przykład przy dwóch przypisanych profilach Edge i dwóch profilach ogólnych instancja Agent otrzyma jedną aplikację Edge i dwie aplikacje ogólne. Jeśli typ aplikacji wymaga powiązanego obiektu (np. instancja Edge lub urządzenie Gateway), serwer spróbuje go utworzyć i przypisać.", + "provision-type-per-app-profile-description": "Gdy nowa instancja Agent przechodzi aprowizację z tym profilem, serwer automatycznie tworzy aplikacje na podstawie przypisanych profili aplikacji. Każda aplikacja jest instalowana tylko wtedy, gdy instancja Agent nie ma jeszcze pasującej — aplikacje Edge/Gateway są dopasowywane według szablonu lub profilu źródłowego (jedna na szablon na instancję Agent); aplikacje ogólne są dopasowywane według profilu (jedna aplikacja na profil na instancję Agent). Na przykład przy dwóch przypisanych profilach Edge instancja Agent otrzyma dwie aplikacje Edge, jeśli profile są oparte na różnych szablonach, ale tylko jedną, jeśli mają ten sam szablon. Jeśli typ aplikacji wymaga powiązanego obiektu (np. instancja Edge lub urządzenie Gateway), serwer spróbuje go utworzyć i przypisać.", + "agent-profile-created": "Utworzono profil Agent", + "agent-profile-created-hint": "Uruchom to polecenie na każdej maszynie, na której chcesz wdrożyć instancję Agent. Każda instancja Agent:", + "agent-profile-created-step-1": "Automatycznie zarejestruje się na serwerze przy użyciu danych uwierzytelniających aprowizacji", + "agent-profile-created-step-2": "Otrzyma unikalny klucz routingu i sekret do trwałego połączenia", + "agent-profile-created-step-3": "Automatycznie zainstaluje aplikacje zdefiniowane w przypisanych profilach aplikacji", + "provisioning-credentials": "Dane uwierzytelniające aprowizacji", + "provisioning": "Aprowizacja instancji Agent", + "docker-run-command": "Polecenie Docker run", + "assigned-profiles": "Profile aplikacji", + "assign-profile": "Przypisz profil", + "unassign-profile": "Anuluj przypisanie profilu", + "no-profiles-assigned": "Do tego profilu nie przypisano jeszcze żadnych profili aplikacji.", + "go-to-profile": "Przejdź do profilu", + "profiles-bulk-hint": "Ta akcja zbiorcza dotyczy wszystkich aplikacji pasujących do profilu „{{appProfile}}”, których instancja Agent używa profilu „{{agentProfile}}”", + "auto-install-template-dedup-note": "Strategia aprowizacji tego profilu Agent włącza automatyczną instalację. Gdy instancja Agent przechodzi automatyczną aprowizację, każdy z poniższych profili jest instalowany tylko wtedy, gdy instancja Agent nie ma jeszcze pasującej aplikacji. Profile Edge/Gateway są dopasowywane według szablonu lub profilu źródłowego (jedna na szablon na instancję Agent); profile ogólne są dopasowywane według profilu (jedna aplikacja na profil na instancję Agent).", + "auto-install-per-type-note": "Strategia aprowizacji tego profilu Agent włącza automatyczną instalację. Gdy instancja Agent przechodzi automatyczną aprowizację, poniższe profile Edge/Gateway są instalowane tylko wtedy, gdy instancja Agent nie ma jeszcze aplikacji tego typu (co najwyżej jedna danego typu na instancję Agent); profile ogólne są dopasowywane według profilu (jedna aplikacja na profil na instancję Agent).", + "app-profile": "Profil aplikacji", + "no-profiles-available": "Brak kolejnych profili do przypisania.", + "unassign-profile-confirm": "Czy na pewno chcesz anulować przypisanie profilu aplikacji „{{profile}}” do tego profilu Agent?", + "relate-on-auto-discovery": "Powiąż przy automatycznym wykrywaniu", + "relate-on-auto-discovery-tooltip": "Przypisz ten profil aplikacji do wszystkich nowych automatycznie wykrytych aplikacji z pasującymi obrazami Edge/Gateway.", + "relate-on-auto-discovery-confirm-title": "Czy na pewno chcesz kontynuować?", + "relate-on-auto-discovery-enable-confirm": "Nowym automatycznie wykrytym aplikacjom z obrazem Edge/Gateway pasującym do szablonu „{{profile}}” zostanie automatycznie przypisany ten profil aplikacji. W przypadku niezgodności konfiguracji konfiguracja profilu (compose) nadpisze automatycznie wykrytą konfigurację aplikacji (compose).", + "relate-on-auto-discovery-disable-confirm": "Nowym automatycznie wykrytym aplikacjom pasującym do szablonu „{{profile}}” nie będzie już automatycznie przypisywany ten profil aplikacji. Istniejące przypisania pozostaną bez zmian.", + "provisioning-saved": "Zapisano ustawienia aprowizacji", + "bulk-actions": "Akcje zbiorcze", + "assigned-applications": "Przypisane aplikacje", + "application-profiles-and-bulk-actions": "Profile aplikacji i akcje zbiorcze", + "recent-bulk-actions": "Ostatnie akcje zbiorcze", + "no-recent-bulk-actions": "Brak akcji zbiorczych dla tego profilu aplikacji.", + "executions": "Wykonania", + "view-bulk-action-details": "Otwórz pełne szczegóły", + "agents-reporting-success": "{{ok}}/{{total}} instancji Agent zgłasza powodzenie", + "bulk-action-type": "Akcja", + "bulk-action-status": "Status", + "bulk-action-counts": "Przesłane", + "bulk-action-error": "Błąd", + "bulk-action-details": "Szczegóły akcji zbiorczej", + "bulk-restart": "Zbiorczy restart", + "bulk-update": "Zbiorcza aktualizacja", + "bulk-upgrade": "Zbiorcze uaktualnienie", + "bulk-delete": "Zbiorcze usuwanie", + "bulk-restart-title": "Zbiorczy restart — {{profile}}", + "bulk-update-title": "Zbiorcza aktualizacja — {{profile}}", + "bulk-upgrade-title": "Zbiorcze uaktualnienie — {{profile}}", + "bulk-delete-title": "Zbiorcze usuwanie — {{profile}}", + "bulk-action-title": "Akcja zbiorcza", + "bulk-restart-cta": "Uruchom ponownie wszystkie", + "bulk-update-cta": "Aktualizuj wszystkie", + "bulk-upgrade-cta": "Uaktualnij wszystkie", + "bulk-delete-cta": "Usuń wszystkie", + "bulk-preview": "Podgląd", + "bulk-preview-total": "Łącznie aplikacji", + "bulk-preview-eligible": "Kwalifikujące się", + "bulk-preview-skipped": "Pominięte", + "bulk-skipped-version-mismatch": "Pominięto — niezgodność wersji szablonu", + "bulk-skipped-active-event": "Pominięto — trwa już inna operacja", + "bulk-skipped-rate-limit": "Pominięto — przekroczono limit szybkości zdarzeń", + "bulk-skipped-error": "Pominięto — błąd podczas oceny aplikacji", + "bulk-skipped-more": "…i {{count}} więcej — zobacz szczegóły uruchomienia", + "bulk-no-eligible": "Żadna aplikacja nie kwalifikuje się do tej operacji.", + "bulk-backup-volumes-hint": "Wybierz woluminy, których kopię zapasową należy utworzyć przed uaktualnieniem. Wprowadzone wartości dotyczą każdej kwalifikującej się aplikacji.", + "bulk-no-volumes-in-profile": "Plik compose profilu nie zawiera woluminów.", + "bulk-submitted": "Przesłane", + "bulk-skipped": "Pominięte", + "bulk-processing-started": "Rozpoczęto przetwarzanie", + "bulk-events": "Zdarzenia", + "bulk-event-current-step": "Bieżący krok", + "bulk-event-updated": "Zaktualizowano", + "bulk-event-filter-status": "Status", + "bulk-event-filter-all": "Wszystkie", + "bulk-no-events": "Nie znaleziono zdarzeń dla tej akcji zbiorczej.", + "no-bulk-actions": "Nie ma jeszcze akcji zbiorczych.", + "origin-installed": "Zainstalowana", + "origin-discovered": "Wykryta", + "origin-auto-provisioned": "Aprowizowana automatycznie", + "event-action-install": "Instalacja", + "event-action-update": "Aktualizacja", + "event-action-delete": "Usunięcie", + "event-action-restart": "Restart", + "event-action-rollback": "Wycofanie", + "event-action-upgrade": "Uaktualnienie", + "event-action-agent-upgrade": "Uaktualnienie instancji Agent", + "event-status-pending": "Oczekujące", + "event-status-queued": "W kolejce", + "event-status-processing": "Przetwarzanie", + "event-status-finished": "Zakończone", + "event-status-error": "Błąd", + "event-status-start-failed": "Niepowodzenie uruchomienia", + "bulk-status-queued": "W kolejce", + "bulk-status-in-progress": "W toku", + "bulk-status-started": "Uruchomiono", + "bulk-status-start-failed": "Niepowodzenie uruchomienia", + "unit-type-container": "Kontener", + "unit-type-volume": "Wolumin", + "unit-type-network": "Sieć", + "app-events": "Zdarzenia", + "app-metrics": "Metryki", + "app-copy-id": "Kopiuj ID aplikacji", + "app-id-copied-message": "ID aplikacji zostało skopiowane do schowka", + "app-upgrade-available": "Dostępne uaktualnienie: {{version}}", + "app-unit-identifier": "Identyfikator", + "app-unit-image": "Obraz", + "app-unit-state": "Stan", + "app-unit-filter": "Filtr jednostek", + "app-unit-filter-with-values": "Filtr: {{values}}", + "app-unit-logs": "Logi kontenera", + "app-unit-view-logs": "Wyświetl logi kontenera", + "filter-all-count": "Wszystkie ({{count}})", + "filter-errors-count": "Błędy ({{count}})", + "filter-running-count": "Działające ({{count}})", + "log-agent-offline-paused": "Agent offline · strumień wstrzymany", + "log-agent-online": "Agent online", + "log-back-to-application": "Powrót do aplikacji", + "log-buffered": "+ {{count}} w buforze", + "log-chip-app": "Aplikacja", + "log-clear": "Wyczyść log", + "log-clear-highlight": "Wyczyść wyróżnienie", + "log-copy-all": "Kopiuj wszystko", + "log-copy-all-lines": "Kopiuj wszystkie wiersze logu", + "log-download": "Pobierz log", + "log-dropped": "Odrzucone: {{count}}", + "log-dropped-hint": "Wiersze logu odrzucone przez instancję Agent, zanim dotarły do tego podglądu", + "log-dropped-total": "Łączna liczba odrzuconych wierszy", + "log-follow-latest": "Śledź najnowsze", + "log-gap": "{ count, plural, one {Odrzucono # fragment logu} few {Odrzucono # fragmenty logu} other {Odrzucono # fragmentów logu} } (osiągnięto limit bufora)", + "log-highlight": "Wyróżnij…", + "log-highlight-lines": "Wyróżnij wiersze logu", + "log-jump-to-latest": "Przejdź do najnowszych", + "log-lines-unit": "{ count, plural, one {wiersz} few {wiersze} other {wierszy} }", + "log-live": "Na żywo", + "log-pause-resume-stream": "Wstrzymaj lub wznów strumień", + "log-pause-stream": "Wstrzymaj strumień", + "log-paused": "Wstrzymano", + "log-resume-stream": "Wznów strumień", + "log-stream-paused": "Strumień wstrzymany", + "log-waiting": "Oczekiwanie na wiersze logu…", + "metrics-all-containers": "Wszystkie kontenery", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "cpuPercent {{percent}}% z {{cores}} rdzeni (limit {{cap}}%)", + "metrics-disk": "Dysk", + "metrics-memory": "Pamięć", + "metrics-show-charts": "Pokaż wykresy", + "metrics-updated-at": "Zaktualizowano o {{time}}", + "metrics-used-of-total": "{{used}} z {{total}} ({{percent}}%)", + "metrics-volumes": "Woluminy", + "stats-done": "Zakończone: {{count}}", + "stats-error": "Błędy: {{count}}", + "stats-pending": "Oczekujące: {{count}}", + "stats-running": "W toku: {{count}}", + "app-no-units": "Nie znaleziono jednostek.", + "app-no-events": "Nie znaleziono zdarzeń.", + "app-event-app-name": "Aplikacja", + "app-event-agent-name": "Agent", + "app-event-action": "Akcja", + "app-event-status": "Status wykonania", + "app-event-execution": "Wykonanie", + "app-event-execution-not-started": "Nie rozpoczęto", + "app-event-execution-started": "Rozpoczęto", + "app-event-execution-delivery-failed": "Dostarczenie nie powiodło się", + "app-event-filter": "Filtr zdarzeń", + "app-event-filter-with-values": "Filtr: {{values}}", + "app-event-current-activity": "Bieżąca aktywność", + "app-event-show-error": "Pokaż błąd", + "app-event-error-title": "Błąd zdarzenia", + "upgrade-agent-action": "Uaktualnij instancję Agent", + "image": "Obraz", + "version-unknown": "nie zgłoszono", + "up-to-date": "Aktualny", + "upgrade-to": "Uaktualnij do {{version}}", + "upgrade-agent-title": "Uaktualnij instancję Agent", + "upgrade-agent-text": "Agent {{agentName}} zastąpi własny kontener obrazem poniżej. Przez cały czas pozostaje osiągalny, a polecenia aplikacji są wstrzymane do zakończenia uaktualnienia.", + "upgrade-agent-hint": "Opublikowano nowszy obraz Agent", + "upgrade-agent-hint-unavailable": "Brak informacji o nowszym obrazie Agent — Agent może być już aktualny lub nie udało się ustalić jego wersji", + "upgrade-current-image": "Bieżący obraz", + "upgrade-target-image": "Obraz docelowy", + "upgrade-target-image-hint": "Tag lub referencja przypięta do digestu, np. thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "Obraz docelowy jest wymagany.", + "agent-upgrade-subject": "Uaktualnienie Agent", + "agent-upgrade-subject-label": "Akcja", + "agent-upgrade-step-prepare": "Przygotuj kontener zastępczy", + "agent-upgrade-step-finalize": "Przekaż działanie i usuń poprzedni kontener", + "app-event-progress-title": "Postęp zdarzenia", + "app-event-progress-loading": "Wczytywanie szablonu...", + "app-event-progress-load-failed": "Nie udało się wczytać postępu zdarzenia.", + "app-event-progress-no-template": "Z tą aplikacją nie powiązano żadnego szablonu.", + "app-event-step-completed": "Ukończono", + "app-event-step-processing": "Przetwarzanie", + "app-event-step-error": "Niepowodzenie", + "app-event-step-waiting": "Oczekiwanie", + "app-event-current-step": "Bieżący krok", + "app-event-created": "Utworzono", + "app-event-updated": "Zaktualizowano", + "app-event-cancel": "Anuluj", + "app-event-cancel-title": "Anulować zdarzenie?", + "app-event-cancel-text": "Trwające zdarzenie zostanie anulowane na instancji Agent.", + "app-event-view-in-events": "Wyświetl w zdarzeniach", + "app-save-update-hint-title": "Zapisano zmiany", + "app-save-update-hint": "Zmiany zostały zapisane na platformie ThingsBoard, ale instancja Agent nadal działa z poprzednią konfiguracją. Kliknij przycisk akcji „Aktualizuj” dla tej aplikacji, aby zastosować zmiany na instancji Agent.", + "app-save-update-hint-action": "Aktualizuj teraz", + "app-deleted": "Usunięto aplikację", + "group": "Grupa instancji Agent", + "list-of-groups": "{ count, plural, =1 {Jedna grupa instancji Agent} one {Lista # grupy instancji Agent} other {Lista # grup instancji Agent} }", + "group-name-starts-with": "Grupy instancji Agent, których nazwy zaczynają się od „{{prefix}}”", + "application-group": "Grupa aplikacji", + "list-of-application-groups": "{ count, plural, =1 {Jedna grupa aplikacji} one {Lista # grupy aplikacji} other {Lista # grup aplikacji} }", + "application-group-name-starts-with": "Grupy aplikacji, których nazwy zaczynają się od „{{prefix}}”", + "all": "Wszystkie", + "all-agents": "Wszystkie instancje Agent", + "groups": "Grupy", + "shared": "Współdzielone" }, "edge-event": { - "type-dashboard": "Panel", + "type-dashboard": "Pulpit", "type-asset": "Zasób", "type-device": "Urządzenie", "type-device-profile": "Profil urządzenia", @@ -2330,228 +4304,310 @@ "type-edge": "Edge", "type-user": "Użytkownik", "type-tenant": "Tenant", - "type-tenant-profile": "Tenant Profile", + "type-tenant-profile": "Profil tenanta", "type-customer": "Klient", "type-relation": "Relacja", "type-widgets-bundle": "Pakiet widżetów", "type-widgets-type": "Typ widżetów", "type-admin-settings": "Ustawienia administratora", - "type-ota-package": "Ota Package", - "type-queue": "Queue", - "type-scheduler-event": "Wydarzenie w harmonogramie", - "type-white-labeling": "White Labeling", - "type-login-white-labeling": "Logowanie White Labeling", + "type-ota-package": "Pakiet OTA", + "type-queue": "Kolejka", + "type-scheduler-event": "Zdarzenie harmonogramu", + "type-white-labeling": "Branding", + "type-login-white-labeling": "Branding strony logowania", "type-custom-translation": "Tłumaczenie niestandardowe", "type-role": "Rola", - "type-group-permission": "Zezwolenie grupowe", + "type-group-permission": "Uprawnienie grupy", "type-integration": "Integracja", - "type-converter": "Przetwornik", - "action-type-added": "Dodany", + "type-converter": "Konwerter", + "action-type-added": "Dodano", "action-type-deleted": "Usunięto", "action-type-updated": "Zaktualizowano", - "action-type-post-attributes": "Atrybuty postów", + "action-type-post-attributes": "Wysłanie atrybutów", "action-type-attributes-updated": "Zaktualizowano atrybuty", - "action-type-attributes-deleted": "Atrybuty usunięte", - "action-type-timeseries-updated": "Zaktualizowano serie czasowe", + "action-type-attributes-deleted": "Usunięto atrybuty", + "action-type-timeseries-updated": "Zaktualizowano szeregi czasowe", "action-type-credentials-updated": "Zaktualizowano dane uwierzytelniające", - "action-type-assigned-to-customer": "Przypisane do Klienta", - "action-type-unassigned-from-customer": "Nieprzypisane od klienta", - "action-type-relation-add-or-update": "Dodaj lub zaktualizuj relację", - "action-type-relation-deleted": "Relacja usunięta", - "action-type-rpc-call": "Zadzwoń do RPC", + "action-type-assigned-to-customer": "Przypisano do klienta", + "action-type-unassigned-from-customer": "Anulowano przypisanie do klienta", + "action-type-relation-add-or-update": "Dodanie lub aktualizacja relacji", + "action-type-relation-deleted": "Usunięto relację", + "action-type-rpc-call": "Wywołanie RPC", "action-type-alarm-ack": "Potwierdzenie alarmu", - "action-type-alarm-clear": "Alarm usunięty", - "action-type-alarm-assigned": "Alarm Assigned", - "action-type-alarm-unassigned": "Alarm Unassigned", - "action-type-assigned-to-edge": "Przypisany do Edge", - "action-type-unassigned-from-edge": "Nieprzypisane do Edge", - "action-type-credentials-request": "Żądanie poświadczeń", - "action-type-entity-merge-request": "Żądanie połączenia jednostek", - "action-type-added-to-entity-group": "Dodano do grupy jednostek", - "action-type-removed-from-entity-group": "Usunięto z grupy jednostek", + "action-type-alarm-clear": "Wyczyszczenie alarmu", + "action-type-alarm-assigned": "Alarm przypisany", + "action-type-alarm-unassigned": "Anulowano przypisanie alarmu", + "action-type-assigned-to-edge": "Przypisano do instancji Edge", + "action-type-unassigned-from-edge": "Anulowano przypisanie do instancji Edge", + "action-type-credentials-request": "Żądanie danych uwierzytelniających", + "action-type-entity-merge-request": "Żądanie scalenia obiektów", + "action-type-added-to-entity-group": "Dodano do grupy obiektów", + "action-type-removed-from-entity-group": "Usunięto z grupy obiektów", "action-type-change-owner": "Zmiana właściciela", - "action-type-relations-deleted": "Relacje usunięte" + "connected": "Połączono", + "disconnected": "Rozłączono" }, "error": { - "unable-to-connect": "Nie można połączyć się z serwerem! ", + "data-export-failed": "Eksport danych nie powiódł się: nie można ustalić trybu wdrożenia. Spróbuj ponownie.", + "unable-to-connect": "Nie można połączyć się z serwerem! Sprawdź połączenie z internetem.", "unhandled-error-code": "Nieobsługiwany kod błędu: {{errorCode}}", "unknown-error": "Nieznany błąd" }, "entity": { "entity": "Obiekt", "entities": "Obiekty", + "devices-and-assets": "Urządzenia i zasoby", + "data-processing": "Przetwarzanie danych", "entities-count": "Liczba obiektów", "alarms-count": "Liczba alarmów", "aliases": "Aliasy obiektów", - "aliases-short": "Aliases", - "entity-alias": "Alias obiektów", + "aliases-short": "Aliasy", + "entity-alias": "Alias obiektu", "unable-delete-entity-alias-title": "Nie można usunąć aliasu obiektu", - "unable-delete-entity-alias-text": "Alias obiektu '{{entityAlias}}' nie może zostać usunięty, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", - "duplicate-alias-error": "Znaleziono zduplikowany alias '{{alias}}'.
Aliasy obiektu muszą być unikalne w obrębie panelu kontrolnego.", - "missing-entity-filter-error": "Brakuje filtra dla aliasu '{{alias}}'.", - "configure-alias": "Skonfiguruj '{{alias}}' Alias", + "unable-delete-entity-alias-text": "Nie można usunąć aliasu obiektu „{{entityAlias}}”, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", + "unable-delete-entity-alias-text-components": "Nie można usunąć aliasu obiektu „{{entityAlias}}”, ponieważ jest używany przez następujące komponenty:
{{widgetsList}}", + "duplicate-alias-error": "Znaleziono zduplikowany alias „{{alias}}”.
Aliasy obiektów muszą być unikalne w obrębie pulpitu.", + "missing-entity-filter-error": "Brakuje filtra dla aliasu „{{alias}}”.", + "configure-alias": "Skonfiguruj alias „{{alias}}”", "alias": "Alias", "alias-required": "Alias obiektu jest wymagany.", "remove-alias": "Usuń alias obiektu", "add-alias": "Dodaj alias obiektu", - "entity-list": "Lista obiektu", + "edit-alias": "Edytuj alias obiektu", + "entity-list": "Lista obiektów", "entity-type": "Typ obiektu", - "entity-types": "Typy obiektu", - "entity-type-list": "Lista typów obiektu", + "entity-types": "Typy obiektów", + "entity-type-list": "Lista typów obiektów", "any-entity": "Dowolny obiekt", - "add-entity-type": "Add entity type", + "add-entity-type": "Dodaj typ obiektu", "enter-entity-type": "Wpisz typ obiektu", - "no-entities-matching": "Nie znaleziono obiektu pasujących do '{{entity}}'.", - "no-entity-types-matching": "Nie znaleziono typów obiektu pasujących do '{{entityType}}'", + "no-entities-matching": "Nie znaleziono obiektów pasujących do „{{entity}}”.", + "no-entities-text": "Nie znaleziono obiektów", + "no-entity-types-matching": "Nie znaleziono typów obiektów pasujących do „{{entityType}}”.", "name-starts-with": "Wyrażenie nazwy", - "help-text": "Użyj „%” w zależności od potrzeb: „%entity_name_contains%”, „%entity_name_ends”, „entity_starts_with”.", + "help-text": "Użyj „%” w zależności od potrzeb: „%entity_name_contains%”, „%entity_name_ends”, „entity_starts_with%”.", "use-entity-name-filter": "Użyj filtra", - "entity-list-empty": "Nie wybrano żadnych obiektu.", - "entity-type-list-required": "At least one entity type should be selected.", + "entity-list-empty": "Nie wybrano żadnych obiektów.", + "entity-type-list-required": "Należy wybrać co najmniej jeden typ obiektu.", "entity-name-filter-required": "Filtr nazwy obiektu jest wymagany.", - "entity-name-filter-no-entity-matched": "Nie znaleziono obiektu zaczynających się od '{{entity}}'.", - "all-subtypes": "Wszystko", + "entity-name-filter-no-entity-matched": "Nie znaleziono obiektów zaczynających się od „{{entity}}”.", + "all-subtypes": "Wszystkie", "select-entities": "Wybierz obiekty", "no-aliases-found": "Nie znaleziono aliasów.", - "no-alias-matching": "'{{alias}}' nie znaleziono.", + "no-alias-matching": "Nie znaleziono „{{alias}}”.", "create-new-alias": "Utwórz nowy!", - "create-new": "Create new", + "create-new": "Utwórz nowy", "key": "Klucz", "key-name": "Nazwa klucza", "no-keys-found": "Nie znaleziono kluczy.", - "no-key-matching": "'{{key}}' nie znaleziono.", + "no-key-matching": "Nie znaleziono „{{key}}”.", "create-new-key": "Utwórz nowy!", "type": "Typ", "type-required": "Typ obiektu jest wymagany.", "type-device": "Urządzenie", "type-devices": "Urządzenia", - "list-of-devices": "{count, plural, =1 {Jedno urządzenie} other {Lista # urządzeń} }", - "device-name-starts-with": "Urządzenia, których nazwy zaczynają się od '{{prefix}}'", + "list-of-devices": "{count, plural, =1 {Jedno urządzenie} few {Lista # urządzeń} other {Lista # urządzeń} }", + "device-name-starts-with": "Urządzenia, których nazwy zaczynają się od „{{prefix}}”", "type-device-profile": "Profil urządzenia", "type-device-profiles": "Profile urządzeń", - "clear-selected-profiles": "Clear selected profiles", - "list-of-device-profiles": "{count, plural, =1 {Profil jednego urządzenia} other {Lista profili # urządzeń} }", - "device-profile-name-starts-with": "Profile urządzeń, których nazwy zaczynają się od '{{prefix}}'", + "clear-selected-profiles": "Wyczyść wybrane profile", + "list-of-device-profiles": "{count, plural, =1 {Jeden profil urządzenia} few {Lista # profili urządzeń} other {Lista # profili urządzeń} }", + "device-profile-name-starts-with": "Profile urządzeń, których nazwy zaczynają się od „{{prefix}}”", "type-asset-profile": "Profil zasobu", "type-asset-profiles": "Profile zasobów", - "list-of-asset-profiles": "{count, plural, =1 {Jeden profil zasobu} other {Lista profili # zasobów} }", - "asset-profile-name-starts-with": "Profile zasobów, których nazwy zaczynają się od '{{prefix}}'", + "list-of-asset-profiles": "{count, plural, =1 {Jeden profil zasobu} few {Lista # profili zasobów} other {Lista # profili zasobów} }", + "asset-profile-name-starts-with": "Profile zasobów, których nazwy zaczynają się od „{{prefix}}”", "type-asset": "Zasób", "type-assets": "Zasoby", - "list-of-assets": "{count, plural, =1 {Jeden zasób} other {Lista # zasobów} }", - "asset-name-starts-with": "Zasoby, których nazwy zaczynają się od '{{prefix}}'", + "list-of-assets": "{count, plural, =1 {Jeden zasób} few {Lista # zasobów} other {Lista # zasobów} }", + "asset-name-starts-with": "Zasoby, których nazwy zaczynają się od „{{prefix}}”", "type-entity-view": "Widok obiektu", - "type-entity-views": "Widoki obiektu", - "list-of-entity-views": "{count, plural, =1 {Widok jednego obiektu} other {Lista # widoków obiektu} }", - "entity-view-name-starts-with": "Widoki obiektu, których nazwy zaczynają się od '{{prefix}}'", + "type-entity-views": "Widoki obiektów", + "list-of-entity-views": "{count, plural, =1 {Jeden widok obiektu} few {Lista # widoków obiektów} other {Lista # widoków obiektów} }", + "entity-view-name-starts-with": "Widoki obiektów, których nazwy zaczynają się od „{{prefix}}”", "type-rule": "Reguła", "type-rules": "Reguły", - "list-of-rules": "{count, plural, =1 {Jedna reguła} other {Lista # reguł} }", - "rule-name-starts-with": "Reguły, których nazwy zaczynają się od '{{prefix}}'", + "list-of-rules": "{count, plural, =1 {Jedna reguła} few {Lista # reguł} other {Lista # reguł} }", + "rule-name-starts-with": "Reguły, których nazwy zaczynają się od „{{prefix}}”", "type-plugin": "Wtyczka", "type-plugins": "Wtyczki", - "list-of-plugins": "{count, plural, =1 {Jedna wtyczka} other {Lista # wtyczek} }", - "plugin-name-starts-with": "Wtyczki, których nazwy zaczynają się od '{{prefix}}'", + "list-of-plugins": "{count, plural, =1 {Jedna wtyczka} few {Lista # wtyczek} other {Lista # wtyczek} }", + "plugin-name-starts-with": "Wtyczki, których nazwy zaczynają się od „{{prefix}}”", "type-tenant": "Tenant", - "type-tenants": "Tenant", - "list-of-tenants": "{count, plural, =1 {Jeden tenant} other {Lista # tenantów} }", - "tenant-name-starts-with": "Tenanci, których nazwy zaczynają się na '{{prefix}}'", + "type-tenants": "Tenanty", + "list-of-tenants": "{count, plural, =1 {Jeden tenant} few {Lista # tenantów} other {Lista # tenantów} }", + "tenant-name-starts-with": "Tenanty, których nazwy zaczynają się od „{{prefix}}”", "type-tenant-profile": "Profil tenanta", "type-tenant-profiles": "Profile tenantów", - "list-of-tenant-profiles": "{count, plural, =1 {Profil jednego tenanta} other {Lista # profili tenantów} }", - "tenant-profile-name-starts-with": "Profile tenantów, których nazwy zaczynają się od '{{prefix}}'", + "list-of-tenant-profiles": "{count, plural, =1 {Jeden profil tenanta} few {Lista # profili tenantów} other {Lista # profili tenantów} }", + "tenant-profile-name-starts-with": "Profile tenantów, których nazwy zaczynają się od „{{prefix}}”", "type-customer": "Klient", "type-customers": "Klienci", - "list-of-customers": "{count, plural, =1 {Jeden klient} other {Lista # klientów} }", - "customer-name-starts-with": "Klienci, których imiona zaczynają się na '{{prefix}}'", + "list-of-customers": "{count, plural, =1 {Jeden klient} few {Lista # klientów} other {Lista # klientów} }", + "customer-name-starts-with": "Klienci, których nazwy zaczynają się od „{{prefix}}”", "type-user": "Użytkownik", "type-users": "Użytkownicy", - "list-of-users": "{count, plural, =1 {Jeden użytkownik} other {Lista # użytkowników} }", - "user-name-starts-with": "Użytkownicy, których nazwy zaczynają się od '{{prefix}}'", - "type-dashboard": "Panel", - "type-dashboards": "Panele", - "list-of-dashboards": "{count, plural, =1 {Jeden panel} other {Lista # paneli} }", - "dashboard-name-starts-with": "Panele, których nazwy zaczynają się od '{{prefix}}'", + "list-of-users": "{count, plural, =1 {Jeden użytkownik} few {Lista # użytkowników} other {Lista # użytkowników} }", + "user-name-starts-with": "Użytkownicy, których nazwy zaczynają się od „{{prefix}}”", + "type-dashboard": "Pulpit", + "type-dashboards": "Pulpity", + "list-of-dashboards": "{count, plural, =1 {Jeden pulpit} few {Lista # pulpitów} other {Lista # pulpitów} }", + "dashboard-name-starts-with": "Pulpity, których nazwy zaczynają się od „{{prefix}}”", "type-alarm": "Alarm", "type-alarms": "Alarmy", - "list-of-alarms": "{count, plural, =1 {Jeden alarm} other {Lista # alarmów} }", - "alarm-name-starts-with": "Alarmy, których nazwy zaczynają się od '{{prefix}}'", + "list-of-alarms": "{count, plural, =1 {Jeden alarm} few {Lista # alarmów} other {Lista # alarmów} }", + "alarm-name-starts-with": "Alarmy, których nazwy zaczynają się od „{{prefix}}”", "type-rulechain": "Łańcuch reguł", "type-rulechains": "Łańcuchy reguł", - "list-of-rulechains": "{count, plural, =1 {Jeden łańcuch reguł} other {Lista # łańcuchów reguł} }", - "rulechain-name-starts-with": "Łańcuchy reguł, których nazwy zaczynają się od '{{prefix}}'", - "type-scheduler-event": "Zdarzenie planisty", - "type-scheduler-events": "Zdarzenia planisty", - "list-of-scheduler-events": "{count, plural, =1 {Jedno zdarzenie planisty} other {Lista # zdarzeń planisty} }", - "scheduler-event-name-starts-with": "Zdarzenia planisty, których nazwy zaczynają się od '{{prefix}}'", + "list-of-rulechains": "{count, plural, =1 {Jeden łańcuch reguł} few {Lista # łańcuchów reguł} other {Lista # łańcuchów reguł} }", + "rulechain-name-starts-with": "Łańcuchy reguł, których nazwy zaczynają się od „{{prefix}}”", + "type-scheduler-event": "Zdarzenie harmonogramu", + "type-scheduler-events": "Zdarzenia harmonogramu", + "list-of-scheduler-events": "{count, plural, =1 {Jedno zdarzenie harmonogramu} few {Lista # zdarzeń harmonogramu} other {Lista # zdarzeń harmonogramu} }", + "scheduler-event-name-starts-with": "Zdarzenia harmonogramu, których nazwy zaczynają się od „{{prefix}}”", "type-blob-entity": "Obiekt typu blob", "type-blob-entities": "Obiekty typu blob", - "list-of-blob-entities": "{count, plural, =1 {Jeden obiekt typu blob} other {Lista # obiektów typu blob} }", - "blob-entity-name-starts-with": "Obiekty typu blob, których nazwy zaczynają się od '{{prefix}}'", + "list-of-blob-entities": "{count, plural, =1 {Jeden obiekt typu blob} few {Lista # obiektów typu blob} other {Lista # obiektów typu blob} }", + "blob-entity-name-starts-with": "Obiekty typu blob, których nazwy zaczynają się od „{{prefix}}”", + "type-report-template": "Szablon raportu", + "type-report-templates": "Szablony raportów", + "list-of-report-templates": "{ count, plural, =1 {Jeden szablon raportu} one {# szablon raportu} few {Lista # szablonów raportów} many {Lista # szablonów raportów} other {Lista # szablonów raportów} }", + "report-template-name-starts-with": "Szablony raportów, których nazwy zaczynają się od „{{prefix}}”", + "type-report": "Raport", + "type-reports": "Raporty", + "list-of-reports": "{ count, plural, =1 {Jeden raport} one {# raport} few {Lista # raportów} many {Lista # raportów} other {Lista # raportów} }", + "report-name-starts-with": "Raporty, których nazwy zaczynają się od „{{prefix}}”", "type-rulenode": "Węzeł reguły", "type-rulenodes": "Węzły reguł", - "list-of-rulenodes": "{count, plural, =1 {Jeden węzeł reguły} other {Lista # węzłów reguł} }", - "rulenode-name-starts-with": "Węzły reguł, których nazwy zaczynają się od '{{prefix}}'", - "type-current-customer": "Aktualny klient", - "type-current-tenant": "Aktualny tenant", - "type-current-user": "Aktualny użytkownik", - "type-current-user-owner": "Aktualny właściciel użytkownika", + "list-of-rulenodes": "{count, plural, =1 {Jeden węzeł reguły} few {Lista # węzłów reguł} other {Lista # węzłów reguł} }", + "rulenode-name-starts-with": "Węzły reguł, których nazwy zaczynają się od „{{prefix}}”", + "type-api-key": "Klucz API", + "type-api-keys": "Klucze API", + "type-current-customer": "Bieżący klient", + "type-current-tenant": "Bieżący tenant", + "type-current-user": "Bieżący użytkownik", + "type-current-user-owner": "Właściciel bieżącego użytkownika", + "type-calculated-field": "Pole obliczeniowe", + "type-calculated-fields": "Pola obliczeniowe", + "type-admin-settings": "Ustawienia administratora", + "type-ai-model": "Model AI", + "type-ai-models": "Modele AI", "type-widgets-bundle": "Pakiet widżetów", - "type-widgets-bundles": "Pakiety widgetów", - "list-of-widgets-bundles": "{count, plural, =1 {Jeden pakiet widżetów} other {Lista # pakietów widżetów} }", - "type-widget-type": "Widget type", - "type-widget-types": "Widget types", - "list-of-widget-types": "{ count, plural, =1 {One widget type} other {List of # widget types} }", + "type-widgets-bundles": "Pakiety widżetów", + "list-of-widgets-bundles": "{count, plural, =1 {Jeden pakiet widżetów} few {Lista # pakietów widżetów} other {Lista # pakietów widżetów} }", + "type-widget": "Widżet", + "type-widgets": "Widżety", + "list-of-widgets": "{ count, plural, =1 {Jeden widżet} few {Lista # widżetów} other {Lista # widżetów} }", "search": "Wyszukaj obiekty", - "selected-entities": "Wybrano {count, plural, =1 {1 obiekt} other {# obiektów} }", + "selected-entities": "Wybrano {count, plural, =1 {1 obiekt} few {# obiekty} other {# obiektów} }", "entity-name": "Nazwa obiektu", "entity-label": "Etykieta obiektu", "details": "Szczegóły obiektu", - "no-entities-prompt": "Nie znaleziono żadnych obiektu", - "no-data": "brak danych do wyświetlenia", + "no-entities-prompt": "Nie znaleziono żadnych obiektów", + "no-data": "Brak danych do wyświetlenia", + "show-all-columns": "Pokaż wszystkie", "columns-to-display": "Kolumny do wyświetlenia", "type-api-usage-state": "Stan użycia interfejsu API", - "type-entity-group": "Grupa obiektu", + "type-entity-group": "Grupa obiektów", + "type-entity-groups": "Grupy obiektów", "type-converter": "Konwerter danych", "type-converters": "Konwertery danych", - "list-of-converters": "{count, plural, =1 {Jeden konwerter danych} other {Lista # konwerterów danych} }", - "converter-name-starts-with": "Konwertery danych, których nazwy zaczynają się od '{{prefix}}'", + "list-of-converters": "{count, plural, =1 {Jeden konwerter danych} few {Lista # konwerterów danych} other {Lista # konwerterów danych} }", + "converter-name-starts-with": "Konwertery danych, których nazwy zaczynają się od „{{prefix}}”", "type-integration": "Integracja", "type-integrations": "Integracje", - "list-of-integrations": "{count, plural, =1 {Jedna integracja} other {Lista # integracji} }", - "integration-name-starts-with": "Integracje, których nazwy zaczynają się od '{{prefix}}'", + "list-of-integrations": "{count, plural, =1 {Jedna integracja} few {Lista # integracji} other {Lista # integracji} }", + "integration-name-starts-with": "Integracje, których nazwy zaczynają się od „{{prefix}}”", "type-role": "Rola", "type-roles": "Role", - "list-of-roles": "{count, plural, =1 {Jedna rola} other {Lista # ról} }", - "role-name-starts-with": "Role, których nazwy zaczynają się od '{{prefix}}'", - "type-group-permission": "Zezwolenie grupowe", + "list-of-roles": "{count, plural, =1 {Jedna rola} few {Lista # ról} other {Lista # ról} }", + "role-name-starts-with": "Role, których nazwy zaczynają się od „{{prefix}}”", + "type-group-permission": "Uprawnienie grupy", "type-edge": "Edge", - "type-edges": "Edge", - "list-of-edges": "{count, plural, =1 {Jeden Edge} other {Lista # Edgeów} }", - "edge-name-starts-with": "Edge, których nazwy zaczynają się od '{{prefix}}'", - "type-tb-resource": "Biblioteka", + "type-edges": "Instancje Edge", + "list-of-edges": "{count, plural, =1 {Jedna instancja Edge} few {Lista # instancji Edge} other {Lista # instancji Edge} }", + "edge-name-starts-with": "Instancje Edge, których nazwy zaczynają się od „{{prefix}}”", + "type-agent": "Agent", + "type-agents": "Instancje Agent", + "list-of-agents": "{ count, plural, =1 {Jedna instancja Agent} few {Lista # instancji Agent} other {Lista # instancji Agent} }", + "agent-name-starts-with": "Instancje Agent, których nazwy zaczynają się od „{{prefix}}”", + "type-agent-profile": "Profil Agent", + "type-agent-profiles": "Profile Agent", + "list-of-agent-profiles": "{ count, plural, =1 {Jeden profil Agent} few {Lista # profili Agent} other {Lista # profili Agent} }", + "agent-profile-name-starts-with": "Profile Agent, których nazwy zaczynają się od „{{prefix}}”", + "type-agent-application": "Aplikacja", + "type-agent-applications": "Aplikacje", + "list-of-agent-applications": "{ count, plural, =1 {Jedna aplikacja} few {Lista # aplikacji} other {Lista # aplikacji} }", + "agent-application-name-starts-with": "Aplikacje, których nazwy zaczynają się od „{{prefix}}”", + "type-agent-app-profile": "Profil aplikacji", + "type-agent-app-profiles": "Profile aplikacji", + "list-of-agent-app-profiles": "{ count, plural, =1 {Jeden profil aplikacji} few {Lista # profili aplikacji} other {Lista # profili aplikacji} }", + "agent-app-profile-name-starts-with": "Profile aplikacji, których nazwy zaczynają się od „{{prefix}}”", + "type-agent-app-event": "Zdarzenie aplikacji Agent", + "type-agent-app-events": "Zdarzenia aplikacji Agent", + "type-agent-app-unit": "Jednostka aplikacji Agent", + "type-agent-app-units": "Jednostki aplikacji Agent", + "type-agent-bulk-action": "Akcja zbiorcza", + "type-agent-bulk-actions": "Akcje zbiorcze", + "version-conflict": { + "message": "Czy chcesz nadpisać istniejącą wersję, czy odrzucić zmiany i wczytać najnowszą wersję?", + "link": "Możesz pobrać swoją wersję obiektu {{entityType}} przez ten", + "overwrite": "Nadpisz wersję", + "discard": "Odrzuć zmiany" + }, + "type-tb-resource": "Plik", + "type-tb-resources": "Pliki", + "list-of-tb-resources": "{ count, plural, =1 {Jeden plik} one {Lista # pliku} other {Lista # plików} }", "type-ota-package": "Pakiet OTA", + "type-ota-packages": "Pakiety OTA", + "list-of-ota-packages": "{ count, plural, =1 {Jeden pakiet OTA} one {Lista # pakietu OTA} other {Lista # pakietów OTA} }", + "type-task": "Zadanie", + "type-tasks": "Zadania", + "list-of-tasks": "{ count, plural, =1 {Jedno zadanie} one {Lista # zadania} other {Lista # zadań} }", "type-rpc": "RPC", "type-queue": "Kolejka", + "type-queue-stats": "Statystyki kolejki", + "type-queues-stats": "Statystyki kolejek", "type-notification": "Powiadomienie", - "type-notification-rule": "Zasada powiadamiania", - "type-notification-rules": "Notification rules", - "list-of-notification-rules": "{ count, plural, =1 {One notification rule} other {List of # notification rules} }", + "type-notification-rule": "Reguła powiadomień", + "type-notification-rules": "Reguły powiadomień", + "list-of-notification-rules": "{ count, plural, =1 {Jedna reguła powiadomień} few {Lista # reguł powiadomień} other {Lista # reguł powiadomień} }", "type-notification-target": "Odbiorca powiadomienia", - "type-notification-targets": "Notification recipients", - "list-of-notification-targets": "{ count, plural, =1 {One notification recipient} other {List of # notification recipients} }", + "type-notification-targets": "Odbiorcy powiadomień", + "list-of-notification-targets": "{ count, plural, =1 {Jeden odbiorca powiadomień} few {Lista # odbiorców powiadomień} other {Lista # odbiorców powiadomień} }", "type-notification-request": "Żądanie powiadomienia", "type-notification-template": "Szablon powiadomienia", - "type-notification-templates": "Notification templates", - "list-of-notification-templates": "{ count, plural, =1 {One notification template} other {List of # notification templates} }", + "type-notification-templates": "Szablony powiadomień", + "list-of-notification-templates": "{ count, plural, =1 {Jeden szablon powiadomienia} few {Lista # szablonów powiadomień} other {Lista # szablonów powiadomień} }", + "link": "link", "customer-name": "Nazwa klienta", "sub-customer-name": "Nazwa podklienta", "parent-customer-name": "Nazwa klienta nadrzędnego", - "parent-sub-customer-name": "Nazwa nadrzędnego klienta podrzędnego", + "parent-sub-customer-name": "Nazwa nadrzędnego podklienta", "include-customer-entities": "Uwzględnij obiekty klientów", "include-sub-customer-entities": "Uwzględnij obiekty podklientów", "groups": "Grupy", - "entity-type-list-empty": "Nie wybrano typów obiektu." + "type-oauth2-client": "Klient OAuth 2.0", + "type-oauth2-clients": "Klienci OAuth 2.0", + "list-of-oauth2-clients": "{ count, plural, =1 {Jeden klient OAuth 2.0} one {Lista # klienta OAuth 2.0} other {Lista # klientów OAuth 2.0} }", + "type-domain": "Domena", + "type-domains": "Domeny", + "list-of-domains": "{ count, plural, =1 {Jedna domena} one {Lista # domeny} other {Lista # domen} }", + "type-mobile-app": "Aplikacja mobilna", + "type-mobile-apps": "Aplikacje mobilne", + "list-of-mobile-apps": "{ count, plural, =1 {Jedna aplikacja mobilna} one {Lista # aplikacji mobilnej} other {Lista # aplikacji mobilnych} }", + "type-mobile-app-bundle": "Pakiet mobilny", + "type-mobile-app-bundles": "Pakiety mobilne", + "list-of-mobile-app-bundles": "{ count, plural, =1 {Jeden pakiet mobilny} one {Lista # pakietu mobilnego} other {Lista # pakietów mobilnych} }", + "type-secret-storage": "Magazyn sekretów", + "limit-reached": "Osiągnięto limit", + "limit-reached-text": "Osiągnięto limit {{ entities }}. Aby dodać więcej, poproś administratora systemu o zwiększenie limitu {{ entity }}.", + "request-limit-increase": "Poproś o zwiększenie limitu", + "request-sysadmin-text": "Czy jesteś administratorem systemu?", + "login-here": "Zaloguj się tutaj", + "to-increase-limit": "aby zwiększyć limit.", + "increase-limit-request-sent-title": "Wysłaliśmy do administratora systemu automatyczną prośbę o zwiększenie limitu", + "increase-limit-request-sent-text": "Daj administratorowi trochę czasu na rozpatrzenie prośby i zaktualizowanie ustawień. Aby zobaczyć zmiany, może być konieczne odświeżenie tej strony." }, "entity-group": { "entity-group": "Grupa obiektów", @@ -2563,56 +4619,60 @@ "column-title": "Tytuł", "default-sort-order": "Domyślny porządek sortowania", "default-sort-order-required": "Domyślny porządek sortowania jest wymagany.", - "hide-in-mobile-view": "Komórka ukryta", + "disable-sorting": "Wyłącz sortowanie", + "hide-in-mobile-view": "Ukryj w widoku mobilnym", "use-cell-style-function": "Użyj funkcji stylu komórki", "use-cell-content-function": "Użyj funkcji zawartości komórki", "edit-column": "Edytuj kolumnę", "column-details": "Szczegóły kolumny", - "actions": "działania", + "actions": "Akcje", "settings": "Ustawienia", - "search": "Wyszukaj grupy obiektu", - "delete": "Usuń grupę obiektu", + "search": "Wyszukaj grupy obiektów", + "delete": "Usuń grupę obiektów", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "description": "Opis", "add": "Dodaj grupę obiektów", "open-entity-group": "Otwórz grupę obiektów", "add-entity-group-text": "Dodaj nową grupę obiektów", "no-entity-groups-text": "Nie znaleziono grup obiektów", "entity-group-details": "Szczegóły grupy obiektów", - "selected-entity-groups": "Wybrano {count, plural, =1 {1 grupę obiektów} other {# grup obiektów} }", + "selected-entity-groups": "Wybrano {count, plural, =1 {1 grupę obiektów} few {# grupy obiektów} other {# grup obiektów} }", "delete-entity-groups": "Usuń grupy obiektów", - "delete-entity-group-title": "Czy na pewno chcesz usunąć grupę obiektów '{{entityGroupName}}'?", - "delete-entity-group-text": "Bądź ostrożny, po potwierdzeniu grupy obiektów i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-entity-groups-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 grupę obiektów} other {# grup obiektów} }?", - "delete-entity-groups-action-title": "Usuń {count, plural, =1 {1 grupę obiektów} other {# grup obiektów} }", + "delete-entity-group-title": "Czy na pewno chcesz usunąć grupę obiektów „{{entityGroupName}}”?", + "delete-entity-group-text": "Uważaj, po potwierdzeniu nie będzie można odzyskać grupy obiektów ani żadnych powiązanych danych.", + "delete-entity-groups-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 grupę obiektów} few {# grupy obiektów} other {# grup obiektów} }?", + "delete-entity-groups-action-title": "Usuń {count, plural, =1 {1 grupę obiektów} few {# grupy obiektów} other {# grup obiektów} }", "delete-entity-groups-text": "Uważaj, po potwierdzeniu wszystkie wybrane grupy obiektów zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", "device-groups": "Grupy urządzeń", "shared-device-groups": "Współdzielone grupy urządzeń", "asset-groups": "Grupy zasobów", "shared-asset-groups": "Współdzielone grupy zasobów", "customer-groups": "Grupy klientów", - "shared-customer-groups": "Wspólne grupy klientów", + "shared-customer-groups": "Współdzielone grupy klientów", "device-group": "Grupa urządzeń", "asset-group": "Grupa zasobów", "user-group": "Grupa użytkowników", "user-groups": "Grupy użytkowników", "customer-group": "Grupa klientów", "entity-view-groups": "Grupy widoków obiektów", - "shared-entity-view-groups": "Grupy widoków encji udostępnionych", - "entity-view-group": "Grupa widoków encji", - "edge-groups": "Grupy Edge", - "shared-edge-groups": "Wspólne grupy Edge", - "edge-group": "Grupa Edge", - "dashboard-groups": "Grupy paneli", - "shared-dashboard-groups": "Udostępnione grupy paneli", - "dashboard-group": "Grupa paneli", - "fetch-more": "Zdobądź więcej", + "shared-entity-view-groups": "Współdzielone grupy widoków obiektów", + "entity-view-group": "Grupa widoków obiektów", + "edge-groups": "Grupy instancji Edge", + "shared-edge-groups": "Współdzielone grupy instancji Edge", + "edge-group": "Grupa instancji Edge", + "dashboard-groups": "Grupy pulpitów", + "shared-dashboard-groups": "Współdzielone grupy pulpitów", + "dashboard-group": "Grupa pulpitów", + "agent-groups": "Grupy instancji Agent", + "shared-agent-groups": "Współdzielone grupy instancji Agent", + "agent-group": "Grupa instancji Agent", + "fetch-more": "Wczytaj więcej", "column-type": { "column-type": "Typ kolumny", "client-attribute": "Atrybut klienta", - "shared-attribute": "Wspólny atrybut", + "shared-attribute": "Atrybut współdzielony", "server-attribute": "Atrybut serwera", "timeseries": "Szereg czasowy", "entity-field": "Pole obiektu" @@ -2624,14 +4684,14 @@ "type": "Typ", "device_profile": "Profil urządzenia", "asset_profile": "Profil zasobu", - "assigned_customer": "Przypisany Klient", - "authority": "Autorytet", + "assigned_customer": "Przypisany klient", + "authority": "Poziom uprawnień", "first_name": "Imię", "last_name": "Nazwisko", "email": "E-mail", "title": "Tytuł", "country": "Kraj", - "state": "Państwo", + "state": "Stan/prowincja", "city": "Miasto", "address": "Adres", "address2": "Adres 2", @@ -2645,75 +4705,81 @@ "none": "Brak" }, "details-mode": { - "on-row-click": "Kliknij wiersz", - "on-action-button-click": "Kliknij przycisk szczegółów", + "on-row-click": "Po kliknięciu wiersza", + "on-action-button-click": "Po kliknięciu przycisku szczegółów", "disabled": "Wyłączony" }, - "change-owner": "Zmiana właściciela", + "change-owner": "Zmień właściciela", "select-target-owner": "Wybierz właściciela docelowego", - "no-owners-matching": "Nie znaleziono pasujących właścicieli do '{{owner}}'", - "target-owner-required": "Właściciel obiektu docelowego jest wymagany.", - "confirm-change-owner-title": "Czy na pewno chcesz zmienić właściciela dla {count, plural, =1 {1 wybranego obiektu} other {# wybranych obiektów} }?", + "no-owners-matching": "Nie znaleziono właścicieli pasujących do „{{owner}}”.", + "no-owners-text": "Nie znaleziono właścicieli", + "target-owner-required": "Właściciel docelowy jest wymagany.", + "confirm-change-owner-title": "Czy na pewno chcesz zmienić właściciela dla {count, plural, =1 {1 wybranego obiektu} few {# wybranych obiektów} other {# wybranych obiektów} }?", "confirm-change-owner-text": "Uważaj, po potwierdzeniu wszystkie wybrane obiekty zostaną usunięte z bieżącego właściciela i umieszczone w grupie „Wszystkie” docelowego właściciela.", "add-to-group": "Dodaj do grupy", - "move-to-group": "Przejdź do grupy", - "select-entity-group": "Wybierz grupę jednostek", - "no-entity-groups-matching": "Brak grup jednostek pasujących do '{{entityGroup}}' zostały znalezione.", + "move-to-group": "Przenieś do grupy", + "select-entity-group": "Wybierz grupę obiektów", + "no-entity-groups-matching": "Nie znaleziono grup obiektów pasujących do „{{entityGroup}}”.", "create-new-entity-group": "Utwórz nową!", - "target-entity-group-required": "Docelowa grupa jednostek jest wymagana.", + "target-entity-group-required": "Docelowa grupa obiektów jest wymagana.", "select-user-group": "Wybierz grupę użytkowników", - "no-user-groups-matching": "Brak grup użytkowników pasujących do '{{entityGroup}}' zostały znalezione.", + "no-user-groups-matching": "Nie znaleziono grup użytkowników pasujących do „{{entityGroup}}”.", "target-user-group-required": "Docelowa grupa użytkowników jest wymagana.", "remove-from-group": "Usuń z grupy", "group-table-title": "Tytuł tabeli grupowej", - "enable-search": "Włącz wyszukiwanie jednostek", - "enable-add": "Włącz dodawanie jednostek", - "enable-delete": "Włącz usuwanie jednostek", - "enable-selection": "Włącz wybór elementów", + "enable-search": "Włącz wyszukiwanie obiektów", + "enable-add": "Włącz dodawanie obiektów", + "enable-delete": "Włącz usuwanie obiektów", + "enable-selection": "Włącz wybór obiektów", "enable-group-transfer": "Włącz działania związane z transferem grupowym", "display-pagination": "Wyświetl paginację", "default-page-size": "Domyślny rozmiar strony", + "page-step-count": "Liczba kroków", + "page-step-increment": "Przyrost kroku strony", + "page-step-count-format-message": "Wartość powinna być liczbą całkowitą z zakresu od 1 do 100.", + "page-step-increment-format-message": "Wartość powinna być liczbą całkowitą większą lub równą 1.", "enable-assignment-actions": "Włącz akcje przypisania", "enable-credentials-management": "Włącz zarządzanie danymi uwierzytelniającymi", - "enable-login-as-user": "Włącz logowanie jako akcję użytkownika", + "enable-login-as-user": "Włącz akcję „Zaloguj jako użytkownik”", "enable-users-management": "Włącz zarządzanie użytkownikami", "enable-customers-management": "Włącz zarządzanie klientami", "enable-assets-management": "Włącz zarządzanie zasobami", "enable-devices-management": "Włącz zarządzanie urządzeniami", - "enable-entity-views-management": "Włącz zarządzanie widokami encji", - "enable-edges-management": "Włącz zarządzanie Edge", - "enable-dashboards-management": "Włącz zarządzanie panelami", + "enable-entity-views-management": "Włącz zarządzanie widokami obiektów", + "enable-edges-management": "Włącz zarządzanie instancjami Edge", + "enable-dashboards-management": "Włącz zarządzanie pulpitami", "enable-scheduler-events-management": "Włącz zarządzanie zdarzeniami harmonogramu", - "open-details-on": "Otwórz szczegóły obiektu na", - "select-existing": "Wybierz istniejącą grupę jednostek", - "create-new": "Utwórz nową grupę jednostek", - "new-entity-group-name": "Nowa nazwa grupy jednostek", - "entity-group-list": "Lista grup jednostek", - "entity-group-list-empty": "Nie wybrano grup jednostek.", - "name-starts-with": "Nazwa grupy jednostek zaczyna się od", - "entity-group-name-filter-required": "Filtr nazwy grupy jednostek jest wymagany.", + "open-details-on": "Otwieranie szczegółów obiektu", + "select-existing": "Wybierz istniejącą grupę obiektów", + "create-new": "Utwórz nową grupę obiektów", + "new-entity-group-name": "Nazwa nowej grupy obiektów", + "entity-group-list": "Lista grup obiektów", + "entity-group-list-empty": "Nie wybrano grup obiektów.", + "name-starts-with": "Nazwa grupy obiektów zaczyna się od", + "entity-group-name-filter-required": "Filtr nazwy grupy obiektów jest wymagany.", "roles": "Role", "permissions": "Uprawnienia", "public": "Publiczny", - "entity-group-public": "Grupa jednostek jest publiczna", - "make-public": "Upublicznij grupę encji", - "make-private": "Ustaw grupę encji jako prywatną", - "make-public-entity-group-title": "Czy na pewno chcesz utworzyć grupę encji '{{entityGroupName}}' „publiczny”?", + "entity-group-public": "Grupa obiektów jest publiczna", + "make-public": "Upublicznij grupę obiektów", + "make-private": "Ustaw grupę obiektów jako prywatną", + "make-public-entity-group-title": "Czy na pewno chcesz upublicznić grupę obiektów „{{entityGroupName}}”?", "make-public-entity-group-text": "Po zatwierdzeniu grupa obiektów i wszystkie jej obiekty zostaną upublicznione i dostępne dla innych.", - "make-private-entity-group-title": "Czy na pewno chcesz utworzyć grupę encji '{{entityGroupName}}'prywatny?", - "make-private-entity-group-text": "Po potwierdzeniu grupa encji i wszystkie jej encje staną się prywatne i nie będą dostępne dla innych.", - "share": "Udostępnij grupę jednostek", - "copyId": "Skopiuj identyfikator grupy jednostek", - "idCopiedMessage": "Identyfikator grupy jednostek został skopiowany do schowka", - "entity-group-name": "Nazwa grupy jednostek", + "make-private-entity-group-title": "Czy na pewno chcesz ustawić grupę obiektów „{{entityGroupName}}” jako prywatną?", + "make-private-entity-group-text": "Po potwierdzeniu grupa obiektów i wszystkie jej obiekty staną się prywatne i nie będą dostępne dla innych.", + "share": "Udostępnij grupę obiektów", + "copyId": "Kopiuj identyfikator grupy obiektów", + "idCopiedMessage": "Identyfikator grupy obiektów został skopiowany do schowka", + "entity-group-name": "Nazwa grupy obiektów", "all-users": "Wszyscy użytkownicy", "owner": "Właściciel", "owner-required": "Właściciel jest wymagany.", - "manage-owner-and-groups": "Zarządzaj właścicielami i grupami", + "manage-owner-and-groups": "Zarządzaj właścicielem i grupami", "owner-and-groups": "Właściciel i grupy" }, "entity-field": { - "created-time": "Stworzony czas", + "additional-info": "Dodatkowe informacje", + "created-time": "Czas utworzenia", "name": "Nazwa", "type": "Typ", "first-name": "Imię", @@ -2721,7 +4787,7 @@ "email": "E-mail", "title": "Tytuł", "country": "Kraj", - "state": "Państwo", + "state": "Stan/prowincja", "city": "Miasto", "address": "Adres", "address2": "Adres 2", @@ -2730,42 +4796,47 @@ "label": "Etykieta", "configuration": "Konfiguracja", "schedule": "Harmonogram", - "originatorId": "Identyfikator nadawcy", - "originatorType": "Typ inicjatora" + "originatorId": "Identyfikator inicjatora", + "originatorType": "Typ inicjatora", + "queue-name": "Nazwa kolejki", + "service-id": "ID usługi", + "owner-name": "Nazwa właściciela", + "owner-type": "Typ właściciela", + "format": "Format" }, "entity-view": { - "all": "Wszystko", + "all": "Wszystkie", "all-entity-views": "Wszystkie widoki obiektów", "groups": "Grupy", - "shared": "Wspólny", + "shared": "Współdzielone", "entity-view": "Widok obiektu", "entity-view-required": "Widok obiektu jest wymagany.", "entity-views": "Widoki obiektów", - "management": "Zarządzanie widokiem obiektu", + "management": "Zarządzanie widokami obiektów", "view-entity-views": "Wyświetl widoki obiektów", "entity-view-alias": "Alias widoku obiektu", "aliases": "Aliasy widoków obiektów", - "no-alias-matching": "Nie znaleziono '{{alias}}'.", + "no-alias-matching": "Nie znaleziono „{{alias}}”.", "no-aliases-found": "Nie znaleziono aliasów.", - "no-key-matching": "Nie znaleziono '{{key}}'.", + "no-key-matching": "Nie znaleziono „{{key}}”.", "no-keys-found": "Nie znaleziono kluczy.", "create-new-alias": "Utwórz nowy!", "create-new-key": "Utwórz nowy!", - "duplicate-alias-error": "Znaleziono zduplikowany alias '{{alias}}'.
Aliasy widoków obiektów muszą być unikalne w panelu.", - "configure-alias": "Skonfiguruj alias '{{alias}}'", - "no-entity-views-matching": "Nie znaleziono widoków obiektów pasujących do '{{entity}}'.", + "duplicate-alias-error": "Znaleziono zduplikowany alias „{{alias}}”.
Aliasy widoków obiektów muszą być unikalne w obrębie pulpitu.", + "configure-alias": "Skonfiguruj alias „{{alias}}”", + "no-entity-views-matching": "Nie znaleziono widoków obiektów pasujących do „{{entity}}”.", "public": "Publiczny", "alias": "Alias", "alias-required": "Alias widoku obiektu jest wymagany.", "remove-alias": "Usuń alias widoku obiektu", "add-alias": "Dodaj alias widoku obiektu", "name-starts-with": "Wyrażenie nazwy widoku obiektu", - "help-text": "Użyj „%” w zależności od potrzeb: „%entity-view_name_contains%”, „%entity-view_name_ends”, „entity-view_starts_with”.", + "help-text": "Użyj „%” w zależności od potrzeb: „%entity-view_name_contains%”, „%entity-view_name_ends”, „entity-view_starts_with%”.", "entity-view-list": "Lista widoków obiektów", "use-entity-view-name-filter": "Użyj filtra", "entity-view-list-empty": "Nie wybrano żadnych widoków obiektów.", "entity-view-name-filter-required": "Filtr nazwy widoku obiektu jest wymagany.", - "entity-view-name-filter-no-entity-view-matched": "Nie znaleziono widoków obiektów zaczynających się od '{{entityView}}'.", + "entity-view-name-filter-no-entity-view-matched": "Nie znaleziono widoków obiektów zaczynających się od „{{entityView}}”.", "add": "Dodaj widok obiektu", "entity-view-public": "Widok obiektu jest publiczny", "assign-to-customer": "Przypisz do klienta", @@ -2777,133 +4848,137 @@ "add-entity-view-text": "Dodaj nowy widok obiektu", "delete": "Usuń widok obiektu", "assign-entity-views": "Przypisz widoki obiektów", - "assign-entity-views-text": "Przypisz {count, plural, =1 {1 widok obiektu} other {# widoków obiektów} }", + "assign-entity-views-text": "Przypisz {count, plural, =1 {1 widok obiektu} few {# widoki obiektów} other {# widoków obiektów} } do klienta", "delete-entity-views": "Usuń widoki obiektów", "make-public": "Ustaw widok obiektu jako publiczny", "make-private": "Ustaw widok obiektu jako prywatny", - "unassign-from-customer": "Usuń przypisanie od klienta", - "unassign-entity-views": "Usuń przypisanie widoków obiektów", - "unassign-entity-views-action-title": "Anuluj przypisanie {count, plural, =1 {1 widoku obiektu} other {# widoków obiektów} }", + "unassign-from-customer": "Anuluj przypisanie do klienta", + "unassign-entity-views": "Anuluj przypisanie widoków obiektów", + "unassign-entity-views-action-title": "Anuluj przypisanie {count, plural, =1 {1 widoku obiektu} few {# widoków obiektów} other {# widoków obiektów} } do klienta", "assign-new-entity-view": "Przypisz nowy widok obiektu", - "delete-entity-view-title": "Czy na pewno chcesz usunąć widok obiektu '{{entityViewName}}'?", - "delete-entity-view-text": "Bądź ostrożny, po potwierdzeniu widok obiektu i wszystkie związane z nim dane nie będzie można odzyskać.", - "delete-entity-views-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 widok obiektu} other {# widoków obiektów} }?", - "delete-entity-views-action-title": "Usuń {count, plural, =1 {1 widok obiektu} other {# widoków obiektów} }", - "delete-entity-views-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane widoki obiektów zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "make-public-entity-view-title": "Czy na pewno chcesz uczynić widok obiektu '{{entityViewName}}' publicznym?", + "delete-entity-view-title": "Czy na pewno chcesz usunąć widok obiektu „{{entityViewName}}”?", + "delete-entity-view-text": "Uważaj, po potwierdzeniu widoku obiektu ani powiązanych z nim danych nie będzie można odzyskać.", + "delete-entity-views-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 widok obiektu} few {# widoki obiektów} other {# widoków obiektów} }?", + "delete-entity-views-action-title": "Usuń {count, plural, =1 {1 widok obiektu} few {# widoki obiektów} other {# widoków obiektów} }", + "delete-entity-views-text": "Uważaj, po potwierdzeniu wszystkie wybrane widoki obiektów zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "make-public-entity-view-title": "Czy na pewno chcesz upublicznić widok obiektu „{{entityViewName}}”?", "make-public-entity-view-text": "Po potwierdzeniu widok obiektu i wszystkie jego dane zostaną upublicznione i dostępne dla innych.", - "make-private-entity-view-title": "Czy na pewno chcesz uczynić widok obiektu '{{entityViewName}}' prywatnym?", + "make-private-entity-view-title": "Czy na pewno chcesz ustawić widok obiektu „{{entityViewName}}” jako prywatny?", "make-private-entity-view-text": "Po potwierdzeniu widok obiektu i wszystkie jego dane staną się prywatne i nie będą dostępne dla innych.", - "unassign-entity-view-title": "Czy na pewno chcesz cofnąć przypisanie widoku obiektu '{{entityViewName}}'?", - "unassign-entity-view-text": "Po potwierdzeniu widok obiektu zostanie usunięty i nie będzie dostępny dla klienta.", - "unassign-entity-view": "Usuń przypisanie widoku obiektu", - "unassign-entity-views-title": "Czy na pewno chcesz cofnąć przypisanie { count, plural, =1 {1 widoku obiektu} other {# widoków obiektów} }?", - "unassign-entity-views-text": "Po potwierdzeniu wszystkie wybrane widoki obiektów zostaną usunięte i nie będą dostępne dla klienta.", + "unassign-entity-view-title": "Czy na pewno chcesz anulować przypisanie widoku obiektu „{{entityViewName}}”?", + "unassign-entity-view-text": "Po potwierdzeniu widok obiektu nie będzie już przypisany do klienta i nie będzie dla niego dostępny.", + "unassign-entity-view": "Anuluj przypisanie widoku obiektu", + "unassign-entity-views-title": "Czy na pewno chcesz anulować przypisanie { count, plural, =1 {1 widoku obiektu} few {# widoków obiektów} other {# widoków obiektów} }?", + "unassign-entity-views-text": "Po potwierdzeniu wszystkie wybrane widoki obiektów nie będą już przypisane do klienta i nie będą dla niego dostępne.", "entity-view-type": "Typ widoku obiektu", "entity-view-type-required": "Typ widoku obiektu jest wymagany.", "select-entity-view-type": "Wybierz typ widoku obiektu", "enter-entity-view-type": "Wprowadź typ widoku obiektu", "any-entity-view": "Dowolny widok obiektu", - "no-entity-view-types-matching": "Nie znaleziono typów widoków obiektów pasujących do '{{entitySubtype}}'.", + "no-entity-view-types-matching": "Nie znaleziono typów widoków obiektów pasujących do „{{entitySubtype}}”.", "entity-view-type-list-empty": "Nie wybrano typów widoków obiektów.", "entity-view-types": "Typy widoków obiektów", "created-time": "Czas utworzenia", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", - "type-max-length": "Typ widoku obiektu powinien być mniejszy niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", + "type-max-length": "Typ widoku obiektu powinien mieć mniej niż 256 znaków", "description": "Opis", "events": "Zdarzenia", "details": "Szczegóły", - "copyId": "Skopiuj identyfikator widoku obiektu", + "copyId": "Kopiuj identyfikator widoku obiektu", "idCopiedMessage": "Identyfikator widoku obiektu został skopiowany do schowka", "assignedToCustomer": "Przypisany do klienta", "unable-entity-view-device-alias-title": "Nie można usunąć aliasu widoku obiektu", - "unable-entity-view-device-alias-text": "Alias urządzenia '{{entityViewAlias}}' nie może zostać usunięty, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", + "unable-entity-view-device-alias-text": "Nie można usunąć aliasu urządzenia „{{entityViewAlias}}”, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", "select-entity-view": "Wybierz widok obiektu", - "start-date": "Data rozpoczęcia", "start-ts": "Czas rozpoczęcia", - "end-date": "Data końcowa", - "end-ts": "Czas końcowy", + "end-ts": "Czas zakończenia", "date-limits": "Limity dat", "client-attributes": "Atrybuty klienta", - "shared-attributes": "Atrybuty wspólne", + "shared-attributes": "Atrybuty współdzielone", "server-attributes": "Atrybuty serwera", "timeseries": "Szereg czasowy", "client-attributes-placeholder": "Atrybuty klienta", - "shared-attributes-placeholder": "Atrybuty wspólne", + "shared-attributes-placeholder": "Atrybuty współdzielone", "server-attributes-placeholder": "Atrybuty serwera", "timeseries-placeholder": "Szereg czasowy", "target-entity": "Obiekt docelowy", "attributes-propagation": "Propagacja atrybutów", - "attributes-propagation-hint": "Widok obiektu automatycznie skopiuje określone atrybuty z obiektu docelowego za każdym razem, gdy zapiszesz lub zaktualizujesz ten widok obiektu. Ze względu na wydajność atrybuty obiektu docelowego nie są propagowane do widoku obiektu przy każdej zmianie atrybutu. Możesz włączyć automatyczną propagację, konfigurując węzeł reguły „skopiuj, aby wyświetlić” w łańcuchu reguł i łącząc wiadomości „Opublikuj atrybuty” i „Atrybuty zaktualizowane” z nowym węzłem reguły.", + "attributes-propagation-hint": "Widok obiektu automatycznie skopiuje określone atrybuty z obiektu docelowego za każdym razem, gdy zapiszesz lub zaktualizujesz ten widok obiektu. Ze względu na wydajność atrybuty obiektu docelowego nie są propagowane do widoku obiektu przy każdej zmianie atrybutu. Możesz włączyć automatyczną propagację, konfigurując węzeł reguły „copy to view” w łańcuchu reguł i łącząc wiadomości „Post attributes” i „Attributes Updated” z nowym węzłem reguły.", "timeseries-data": "Dane szeregów czasowych", "timeseries-data-hint": "Skonfiguruj klucze danych szeregów czasowych obiektu docelowego, które będą dostępne w widoku obiektu. Dane szeregów czasowych są tylko do odczytu.", "select-group-to-add": "Wybierz grupę docelową, aby dodać wybrane widoki obiektów", "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybrane widoki obiektów", - "remove-entity-views-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 widok obiektu} other {# widoków obiektów} } z grupy '{{entityGroup}}'?", + "remove-entity-views-from-group": "Czy na pewno chcesz usunąć {count, plural, =1 {1 widok obiektu} few {# widoki obiektów} other {# widoków obiektów} } z grupy '{{entityGroup}}'?", "group": "Grupa widoków obiektów", - "list-of-groups": "{count, plural, =1 {Jedna grupa widoków obiektów} other {Lista # grup widoków obiektów} }", - "group-name-starts-with": "Grupy widoków obiektów, których nazwy zaczynają się od '{{prefix}}'", + "list-of-groups": "{count, plural, =1 {Jedna grupa widoków obiektów} few {Lista # grup widoków obiektów} other {Lista # grup widoków obiektów} }", + "group-name-starts-with": "Grupy widoków obiektów, których nazwy zaczynają się od „{{prefix}}”", "search": "Wyszukaj widoki obiektów", - "selected-entity-views": "Wybrano {count, plural, =1 {1 widok obiektu} other {# widoków obiektów} }", - "assign-entity-view-to-edge": "Przypisz widoki obiektów do Edge", - "assign-entity-view-to-edge-text": "Wybierz widoki obiektów, które chcesz przypisać do Edge", - "unassign-entity-view-from-edge-title": "Czy na pewno chcesz cofnąć przypisanie widoku obiektu '{{entityViewName}}'?", - "unassign-entity-view-from-edge-text": "Po potwierdzeniu widok obiektu zostanie usunięty i nie będzie dostępny dla Edge.", - "unassign-entity-views-from-edge-action-title": "Anuluj przypisanie {count, plural, =1 {1 widoku obiektu} other {# widoków obiektów} } do Edge", - "unassign-entity-view-from-edge": "Usuń przypisanie widoku obiektu", - "unassign-entity-views-from-edge-title": "Czy na pewno chcesz cofnąć przypisanie {count, plural, =1 {1 widoku obiektu} other {# widoków obiektów} }?", - "unassign-entity-views-from-edge-text": "Po potwierdzeniu wszystkie wybrane widoki obiektów zostaną anulowane i nie będą dostępne dla urządzenia Edge." + "selected-entity-views": "Wybrano {count, plural, =1 {1 widok obiektu} few {# widoki obiektów} other {# widoków obiektów} }", + "assign-entity-view-to-edge": "Przypisz widoki obiektów do instancji Edge", + "assign-entity-view-to-edge-text": "Wybierz widoki obiektów, które chcesz przypisać do instancji Edge", + "unassign-entity-view-from-edge-title": "Czy na pewno chcesz anulować przypisanie widoku obiektu „{{entityViewName}}”?", + "unassign-entity-view-from-edge-text": "Po potwierdzeniu widok obiektu nie będzie już przypisany do instancji Edge i nie będzie dla niej dostępny.", + "unassign-entity-views-from-edge-action-title": "Anuluj przypisanie {count, plural, =1 {1 widoku obiektu} few {# widoków obiektów} other {# widoków obiektów} } do instancji Edge", + "unassign-entity-view-from-edge": "Anuluj przypisanie widoku obiektu", + "unassign-entity-views-from-edge-title": "Czy na pewno chcesz anulować przypisanie {count, plural, =1 {1 widoku obiektu} few {# widoków obiektów} other {# widoków obiektów} }?", + "unassign-entity-views-from-edge-text": "Po potwierdzeniu wszystkie wybrane widoki obiektów nie będą już przypisane do instancji Edge i nie będą dla niej dostępne." }, "event": { - "events": "Wydarzenia", - "event-type": "Typ wydarzenia", + "events": "Zdarzenia", + "event-type": "Typ zdarzenia", "events-filter": "Filtr zdarzeń", "clean-events": "Wyczyść zdarzenia", "type-error": "Błąd", - "type-lc-event": "Wydarzenie cyklu życia", - "type-stats": "Statystyka", - "type-debug-converter": "Debug", - "type-debug-integration": "Debug", - "type-debug-rule-node": "Debug", - "type-debug-rule-chain": "Debug", - "no-events-prompt": "Nie znaleziono żadnych wydarzeń", + "type-lc-event": "Zdarzenie cyklu życia", + "type-stats": "Statystyki", + "type-debug-converter": "Debugowanie", + "type-debug-integration": "Debugowanie", + "type-debug-rule-node": "Debugowanie", + "type-debug-rule-chain": "Debugowanie", + "type-debug-calculated-field": "Debugowanie", + "arguments": "Argumenty", + "result": "Wynik", + "no-events-prompt": "Nie znaleziono żadnych zdarzeń", "error": "Błąd", + "errors": "Błędy", "alarm": "Alarm", - "event-time": "Czas wydarzenia", - "server": "serwer", - "body": "Ciało", - "method": "metoda", + "event-time": "Czas zdarzenia", + "server": "Serwer", + "body": "Treść", + "method": "Metoda", "type": "Typ", - "in": "W", - "out": "Na zewnątrz", + "in": "Wejście", + "out": "Wyjście", "metadata": "Metadane", "message": "Wiadomość", "entity": "Obiekt", "message-id": "ID wiadomości", - "copy-message-id": "Skopiuj identyfikator wiadomości", + "copy-message-id": "Kopiuj identyfikator wiadomości", "message-type": "Typ wiadomości", "data-type": "Typ danych", "relation-type": "Typ relacji", "data": "Dane", - "event": "Wydarzenie", + "event": "Zdarzenie", "status": "Status", "success": "Powodzenie", + "warning": "Ostrzeżenie", + "warnings": "Ostrzeżenia", "failed": "Niepowodzenie", "messages-processed": "Wiadomości przetworzone", "max-messages-processed": "Maksymalna liczba przetworzonych wiadomości", - "min-messages-processed": "Przetworzona minimalna liczba wiadomości", + "min-messages-processed": "Minimalna liczba przetworzonych wiadomości", "errors-occurred": "Wystąpiły błędy", - "max-errors-occurred": "Wystąpiło maksimum błędów", - "min-errors-occurred": "Wystąpiło minimum błędów", + "max-errors-occurred": "Maksymalna liczba błędów", + "min-errors-occurred": "Minimalna liczba błędów", "min-value": "Minimalna wartość to 0.", - "all-events": "Wszystko", + "all-events": "Wszystkie", "has-error": "Zawiera błąd", - "entity-id": "Identyfikator jednostki", - "copy-entity-id": "Skopiuj identyfikator jednostki", - "entity-type": "Typ encji", - "clear-filter": "Czysty filtr", + "entity-id": "Identyfikator obiektu", + "copy-entity-id": "Kopiuj identyfikator obiektu", + "entity-type": "Typ obiektu", + "clear-filter": "Wyczyść filtr", "clear-request-title": "Wyczyść wszystkie zdarzenia", "clear-request-text": "Czy na pewno chcesz wyczyścić wszystkie zdarzenia?", "started": "Rozpoczęto", @@ -2912,7 +4987,7 @@ }, "extension": { "extensions": "Rozszerzenia", - "selected-extensions": "Wybrano {count, plural, =1 {1 rozszerzenie} other {# rozszerzeń} }", + "selected-extensions": "Wybrano {count, plural, =1 {1 rozszerzenie} few {# rozszerzenia} other {# rozszerzeń} }", "type": "Typ", "key": "Klucz", "value": "Wartość", @@ -2920,14 +4995,14 @@ "extension-id": "Identyfikator rozszerzenia", "extension-type": "Typ rozszerzenia", "transformer-json": "JSON *", - "unique-id-required": "Bieżący identyfikator rozszerzenia już istnieje.", + "unique-id-required": "Rozszerzenie o tym identyfikatorze już istnieje.", "delete": "Usuń rozszerzenie", "add": "Dodaj rozszerzenie", "edit": "Edytuj rozszerzenie", "view": "Wyświetl rozszerzenie", - "delete-extension-title": "Czy na pewno chcesz usunąć rozszerzenie '{{extensionId}}'?", - "delete-extension-text": "Bądź ostrożny, po potwierdzeniu rozszerzenia i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-extensions-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 rozszerzenie} other {# rozszerzeń} }?", + "delete-extension-title": "Czy na pewno chcesz usunąć rozszerzenie „{{extensionId}}”?", + "delete-extension-text": "Uważaj, po potwierdzeniu rozszerzenia i wszystkich powiązanych danych nie będzie można odzyskać.", + "delete-extensions-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 rozszerzenie} few {# rozszerzenia} other {# rozszerzeń} }?", "delete-extensions-text": "Uważaj, po potwierdzeniu wszystkie wybrane rozszerzenia zostaną usunięte.", "converters": "Konwertery", "converter-id": "Identyfikator konwertera", @@ -2938,8 +5013,8 @@ "add-config": "Dodaj konfigurację konwertera", "device-name-expression": "Wyrażenie nazwy urządzenia", "device-type-expression": "Wyrażenie typu urządzenia", - "custom": "Zwyczaj", - "to-double": "Podwoić", + "custom": "Niestandardowy", + "to-double": "Na typ double", "transformer": "Transformator", "json-required": "Transformator JSON jest wymagany.", "json-parse": "Nie można przeanalizować pliku JSON transformatora.", @@ -2949,17 +5024,17 @@ "timeseries": "Szereg czasowy", "add-timeseries": "Dodaj szeregi czasowe", "field-required": "To pole jest wymagane", - "brokers": "Brokerzy", + "brokers": "Brokery", "add-broker": "Dodaj brokera", "host": "Host", "port": "Port", - "port-range": "Port powinien należeć do zakresu od 1 do 65535.", - "ssl": "Ssl", + "port-range": "Port powinien mieścić się w zakresie od 1 do 65535.", + "ssl": "SSL", "credentials": "Dane uwierzytelniające", "username": "Nazwa użytkownika", "password": "Hasło", "retry-interval": "Interwał ponawiania prób w milisekundach", - "sas": "Podpis dostępu współdzielonego", + "sas": "Shared Access Signature", "anonymous": "Anonimowy", "basic": "Podstawowy", "pem": "PEM", @@ -2969,16 +5044,16 @@ "no-file": "Nie wybrano pliku.", "drop-file": "Upuść plik lub kliknij, aby wybrać plik do przesłania.", "mapping": "Mapowanie", - "topic-filter": "Filtr tematyczny", + "topic-filter": "Filtr tematów", "converter-type": "Typ konwertera", - "converter-json": "Jsona", + "converter-json": "JSON", "json-name-expression": "Wyrażenie JSON nazwy urządzenia", "topic-name-expression": "Wyrażenie tematu nazwy urządzenia", "json-type-expression": "Wyrażenie JSON typu urządzenia", "topic-type-expression": "Wyrażenie tematu typu urządzenia", "attribute-key-expression": "Wyrażenie klucza atrybutu", "attr-json-key-expression": "Wyrażenie JSON klucza atrybutu", - "attr-topic-key-expression": "Atrybut kluczowego wyrażenia tematu", + "attr-topic-key-expression": "Wyrażenie tematu klucza atrybutu", "request-id-expression": "Wyrażenie identyfikatora żądania", "request-id-json-expression": "Wyrażenie JSON identyfikatora żądania", "request-id-topic-expression": "Wyrażenie tematu identyfikatora żądania", @@ -2986,13 +5061,13 @@ "value-expression": "Wyrażenie wartości", "topic": "Temat", "timeout": "Limit czasu w milisekundach", - "converter-json-required": "Konwerter json jest wymagany.", - "converter-json-parse": "Nie można przeanalizować konwertera JSON.", + "converter-json-required": "JSON konwertera jest wymagany.", + "converter-json-parse": "Nie można przeanalizować JSON konwertera.", "filter-expression": "Wyrażenie filtru", - "connect-requests": "Połącz żądania", - "add-connect-request": "Dodaj prośbę o połączenie", - "disconnect-requests": "Rozłącz żądania", - "add-disconnect-request": "Dodaj prośbę o rozłączenie", + "connect-requests": "Żądania połączenia", + "add-connect-request": "Dodaj żądanie połączenia", + "disconnect-requests": "Żądania rozłączenia", + "add-disconnect-request": "Dodaj żądanie rozłączenia", "attribute-requests": "Żądania atrybutów", "add-attribute-request": "Dodaj żądanie atrybutu", "attribute-updates": "Aktualizacje atrybutów", @@ -3002,16 +5077,16 @@ "device-name-filter": "Filtr nazw urządzeń", "attribute-filter": "Filtr atrybutów", "method-filter": "Filtr metody", - "request-topic-expression": "Poproś o wyrażenie tematu", + "request-topic-expression": "Wyrażenie tematu żądania", "response-timeout": "Limit czasu odpowiedzi w milisekundach", - "topic-expression": "Wyrażenie tematyczne", + "topic-expression": "Wyrażenie tematu", "client-scope": "Zakres klienta", "add-device": "Dodaj urządzenie", "opc-server": "Serwery", "opc-add-server": "Dodaj serwer", - "opc-add-server-prompt": "Proszę dodać serwer", + "opc-add-server-prompt": "Dodaj serwer", "opc-application-name": "Nazwa aplikacji", - "opc-application-uri": "Nazwa aplikacji", + "opc-application-uri": "URI aplikacji", "opc-scan-period-in-seconds": "Okres skanowania w sekundach", "opc-security": "Bezpieczeństwo", "opc-identity": "Tożsamość", @@ -3021,12 +5096,12 @@ "opc-keystore-location": "Lokalizacja *", "opc-keystore-password": "Hasło", "opc-keystore-alias": "Alias", - "opc-keystore-key-password": "Kluczowe hasło", + "opc-keystore-key-password": "Hasło klucza", "opc-device-node-pattern": "Wzór węzła urządzenia", "opc-device-name-pattern": "Wzorzec nazwy urządzenia", - "modbus-server": "Serwery/niewolnicy", - "modbus-add-server": "Dodaj serwer/podrzędny", - "modbus-add-server-prompt": "Proszę dodać serwer/podrzędny", + "modbus-server": "Serwery/urządzenia podrzędne", + "modbus-add-server": "Dodaj serwer/urządzenie podrzędne", + "modbus-add-server-prompt": "Dodaj serwer/urządzenie podrzędne", "modbus-transport": "Transport", "modbus-tcp-reconnect": "Automatycznie połącz ponownie", "modbus-rtu-over-tcp": "RTU przez TCP", @@ -3035,28 +5110,28 @@ "modbus-parity": "Parytet", "modbus-baudrate": "Szybkość transmisji", "modbus-databits": "Bity danych", - "modbus-stopbits": "Zatrzymaj bity", + "modbus-stopbits": "Bity stopu", "modbus-databits-range": "Bity danych powinny mieścić się w zakresie od 7 do 8.", "modbus-stopbits-range": "Bity stopu powinny należeć do zakresu od 1 do 2.", "modbus-unit-id": "Identyfikator jednostki", "modbus-unit-id-range": "Identyfikator jednostki powinien mieścić się w zakresie od 1 do 247.", "modbus-device-name": "Nazwa urządzenia", "modbus-poll-period": "Okres odpytywania (ms)", - "modbus-attributes-poll-period": "Atrybuty Okres odpytywania (ms)", + "modbus-attributes-poll-period": "Okres odpytywania atrybutów (ms)", "modbus-timeseries-poll-period": "Okres odpytywania szeregów czasowych (ms)", "modbus-poll-period-range": "Okres odpytywania powinien mieć wartość dodatnią.", - "modbus-tag": "Etykietka", - "modbus-function": "Funkcjonować", - "modbus-register-address": "Adres rejestracyjny", + "modbus-tag": "Tag", + "modbus-function": "Funkcja", + "modbus-register-address": "Adres rejestru", "modbus-register-address-range": "Adres rejestru powinien mieścić się w zakresie od 0 do 65535.", "modbus-register-bit-index": "Indeks bitowy", "modbus-register-bit-index-range": "Indeks bitowy powinien mieścić się w zakresie od 0 do 15.", - "modbus-register-count": "Liczba zarejestrowanych", + "modbus-register-count": "Liczba rejestrów", "modbus-register-count-range": "Liczba rejestrów powinna mieć wartość dodatnią.", "modbus-byte-order": "Kolejność bajtów", "sync": { "status": "Status", - "sync": "Synchronizuj", + "sync": "Zsynchronizowano", "not-sync": "Brak synchronizacji", "last-sync-time": "Czas ostatniej synchronizacji", "not-available": "Niedostępne" @@ -3064,14 +5139,14 @@ "export-extensions-configuration": "Eksportuj konfigurację rozszerzeń", "import-extensions-configuration": "Importuj konfigurację rozszerzeń", "import-extensions": "Importuj rozszerzenia", - "import-extension": "Rozszerzenie importu", - "export-extension": "Rozszerzenie eksportu", + "import-extension": "Importuj rozszerzenie", + "export-extension": "Eksportuj rozszerzenie", "file": "Plik rozszerzeń", "invalid-file-error": "Nieprawidłowy plik rozszerzenia", "text": "TEKST", "json": "JSON", - "binary": "DWÓJKOWY", - "hex": "KLĄTWA" + "binary": "BINARNY", + "hex": "HEX" }, "feature": { "advanced-features": "Zaawansowane funkcje" @@ -3084,53 +5159,58 @@ "duplicate-filter": "Filtr o tej samej nazwie już istnieje.", "filters": "Filtry", "unable-delete-filter-title": "Nie można usunąć filtra", - "unable-delete-filter-text": "Filtruj '{{filter}}' nie może zostać usunięty, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", - "duplicate-filter-error": "Znaleziono zduplikowany filtr '{{filter}}'.
Filtry muszą być unikalne w panelu kontrolnym.", - "missing-key-filters-error": "Brak kluczowych filtrów dla filtra '{{filter}}'.", + "unable-delete-filter-text": "Nie można usunąć filtra „{{filter}}”, ponieważ jest używany przez następujące widżety:
{{widgetsList}}", + "unable-delete-filter-text-components": "Nie można usunąć filtra „{{filter}}”, ponieważ jest używany przez następujące komponenty:
{{widgetsList}}", + "duplicate-filter-error": "Znaleziono zduplikowany filtr „{{filter}}”.
Filtry muszą być unikalne w obrębie pulpitu.", + "missing-key-filters-error": "Brak filtrów kluczy dla filtra „{{filter}}”.", "filter": "Filtr", - "editable": "Edytowalne", + "editable": "Edytowalny", + "editable-hint": "Zezwól użytkownikowi na zmianę wartości filtra na pulpitach.", "no-filters-found": "Nie znaleziono filtrów.", "no-filter-text": "Nie określono filtra", - "add-filter-prompt": "Proszę dodać filtr", - "no-filter-matching": "'{{filter}}' nie znaleziono.", + "add-filter-prompt": "Dodaj filtr", + "no-filter-matching": "Nie znaleziono „{{filter}}”.", "create-new-filter": "Utwórz nowy!", - "create-new": "Create new", + "create-new": "Utwórz nowy", "filter-required": "Filtr jest wymagany.", "operation": { "operation": "Operacja", "equal": "równy", - "not-equal": "nie równe", - "starts-with": "zaczynać z", - "ends-with": "kończy się", + "not-equal": "nierówny", + "starts-with": "zaczyna się od", + "ends-with": "kończy się na", "contains": "zawiera", "not-contains": "nie zawiera", - "greater": "Lepszy niż", - "less": "mniej niż", + "greater": "większy niż", + "less": "mniejszy niż", "greater-or-equal": "większy lub równy", "less-or-equal": "mniejszy lub równy", - "and": "I", - "or": "Lub", - "in": "W", + "and": "i", + "or": "lub", + "in": "w", "not-in": "nie w" }, "ignore-case": "zignoruj wielkość liter", "value": "Wartość", "remove-filter": "Usuń filtr", - "duplicate-filter-action": "Zduplikowany filtr", + "duplicate-filter-action": "Duplikuj filtr", "preview": "Podgląd filtra", "no-filters": "Nie skonfigurowano żadnych filtrów", "add-filter": "Dodaj filtr", "add-complex-filter": "Dodaj złożony filtr", - "add-complex": "Dodaj kompleks", + "add-complex": "Dodaj złożony", "complex-filter": "Złożony filtr", "edit-complex-filter": "Edytuj złożony filtr", "edit-filter-user-params": "Edytuj parametry użytkownika predykatu filtra", - "filter-user-params": "Filtruj parametry użytkownika predykatu", + "filter-user-params": "Parametry użytkownika predykatu filtra", "user-parameters": "Parametry użytkownika", "display-label": "Etykieta do wyświetlenia", - "order-priority": "Priorytet zamówienia pola", - "key-filter": "Filtr kluczowy", - "key-filters": "Kluczowe filtry", + "custom-label": "Niestandardowa etykieta", + "custom-label-hint": "Włącz, aby ustawić własną etykietę filtra. Po wyłączeniu etykieta zostanie wygenerowana automatycznie.", + "order-priority": "Kolejność wyświetlania", + "key-filter": "Filtr kluczy", + "key-filters": "Filtry kluczy", + "or-conditions-disabled": "Warunki OR między filtrami kluczy zostały wyłączone przez administratora systemu.", "key-name": "Nazwa klucza", "key-name-required": "Nazwa klucza jest wymagana.", "key-type": { @@ -3138,29 +5218,33 @@ "attribute": "Atrybut", "timeseries": "Szereg czasowy", "entity-field": "Pole obiektu", - "constant": "Stały" + "constant": "Stała", + "client-attribute": "Atrybut klienta", + "server-attribute": "Atrybut serwera", + "shared-attribute": "Atrybut współdzielony" }, "value-type": { "value-type": "Typ wartości", - "string": "Strunowy", + "string": "Ciąg znaków", "numeric": "Numeryczny", "boolean": "Wartość logiczna", "date-time": "Data i godzina" }, "value-type-required": "Typ wartości klucza jest wymagany.", "key-value-type-change-title": "Czy na pewno chcesz zmienić typ wartości klucza?", - "key-value-type-change-message": "Jeśli potwierdzisz nowy typ wartości, wszystkie wprowadzone filtry kluczowe zostaną usunięte.", - "no-key-filters": "Nie skonfigurowano żadnych filtrów kluczowych", + "key-value-type-change-message": "Jeśli potwierdzisz nowy typ wartości, wszystkie wprowadzone filtry kluczy zostaną usunięte.", + "no-key-filters": "Nie skonfigurowano żadnych filtrów kluczy", "add-key-filter": "Dodaj filtr kluczy", - "remove-key-filter": "Usuń kluczowy filtr", + "remove-key-filter": "Usuń filtr kluczy", "edit-key-filter": "Edytuj filtr kluczy", "date": "Data", "time": "Czas", - "current-tenant": "Obecny najemca", - "current-customer": "Obecny klient", - "current-user": "Aktualny użytkownik", + "current-tenant": "Bieżący tenant", + "current-customer": "Bieżący klient", + "current-user": "Bieżący użytkownik", "current-device": "Bieżące urządzenie", "default-value": "Domyślna wartość", + "default-comma-separated-values": "Domyślne wartości rozdzielone przecinkami", "dynamic-source-type": "Typ źródła dynamicznego", "dynamic-value": "Wartość dynamiczna", "no-dynamic-value": "Brak wartości dynamicznej", @@ -3168,38 +5252,67 @@ "switch-to-dynamic-value": "Przełącz na wartość dynamiczną", "switch-to-default-value": "Przełącz na wartość domyślną", "inherit-owner": "Dziedzicz po właścicielu", - "source-attribute-not-set": "Jeśli atrybut źródła nie jest ustawiony" + "source-attribute-not-set": "Jeśli atrybut źródła nie jest ustawiony", + "unit": "Jednostka" }, "fullscreen": { "expand": "Rozwiń do pełnego ekranu", - "exit": "Wyłączyć tryb pełnoekranowy", + "exit": "Zamknij tryb pełnoekranowy", "toggle": "Przełącz tryb pełnoekranowy", "fullscreen": "Pełny ekran" }, "function": { - "function": "Funkcjonować" + "function": "Funkcja" }, "gateway": { - "create-new-gateway": "Utwórz nowy gateway", - "create-new-gateway-text": "Czy na pewno chcesz utworzyć nowy gateway o nazwie: '{{gatewayName}}'?", - "gateway": "Wejście", - "gateway-exists": "Urządzenie o tej samej nazwie już istnieje.", + "create-new-gateway": "Utwórz nowe urządzenie Gateway", + "create-new-gateway-text": "Czy na pewno chcesz utworzyć nowe urządzenie Gateway o nazwie „{{gatewayName}}”?", + "launch-command": "Polecenie uruchomienia", + "launch-choose-subtitle": "Wybierz sposób uruchomienia IoT Gateway dla {{name}} z danymi uwierzytelniającymi wybranego urządzenia.", + "launch-recommended": "Zalecane", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "Instaluj, uaktualniaj, uruchamiaj ponownie i monitoruj zdalnie z chmury — bez SSH i ręcznych poleceń.", + "launch-agent-point-install": "Zdalna instalacja jednym kliknięciem", + "launch-agent-point-upgrade": "Wysyłaj uaktualnienia z chmury", + "launch-agent-point-restart": "Automatyczny restart i przywracanie działania", + "launch-agent-point-monitor": "Monitorowanie stanu na żywo", + "launch-agent-point-bulk": "Operacje zbiorcze na stronie profilu Agent", + "launch-agent-action": "Wdróż za pomocą instancji Agent", + "launch-docker-title": "Ręcznie przez Docker Compose", + "launch-docker-desc": "Pobierz plik compose i uruchom go samodzielnie na maszynie docelowej.", + "launch-docker-point-up": "Uruchom docker compose up", + "launch-docker-point-control": "Pełna kontrola ręczna", + "launch-docker-point-updates": "Samodzielnie zarządzasz aktualizacjami", + "launch-docker-point-access": "Bezpośredni dostęp do urządzenia", + "launch-docker-action": "Pokaż instrukcje", + "launch-back": "Wstecz", "gateway-name": "Nazwa Gateway", - "gateway-name-required": "Nazwa Gateway'a jest wymagana.", - "gateway-saved": "Konfiguracja Gatewey'a została pomyślnie zapisana.", - "no-gateway-found": "Nie znaleziono gateway'a.", - "no-gateway-matching": " '{{item}}' nie znaleziono." + "gateway-name-required": "Nazwa Gateway jest wymagana.", + "gateways": "Urządzenia Gateway", + "no-gateway-found": "Nie znaleziono urządzenia Gateway.", + "no-gateway-matching": " Nie znaleziono „{{item}}”.", + "auto-provision": "Automatyczna aprowizacja", + "add-gateway": "Dodaj urządzenie Gateway", + "auto-provision-title": "Automatyczna aprowizacja urządzenia Gateway", + "auto-provision-info-title": "Jak to działa", + "auto-provision-info-body": "Po utworzeniu profilu Agent generowane jest polecenie Docker run. Po jego wykonaniu na maszynie docelowej platforma ThingsBoard automatycznie tworzy instancję Agent — wraz z powiązanym z nią urządzeniem Gateway — przy użyciu danych uwierzytelniających osadzonych w poleceniu. Konfiguracja Gateway odbywa się automatycznie na podstawie profilu aplikacji przypisanego do profilu Agent. Ręczne tworzenie urządzenia Gateway nie jest wymagane.", + "auto-provision-step-select": "Profil Agent", + "auto-provision-step-script": "Skrypt aprowizacji", + "auto-provision-valid": "Gotowe do aprowizacji — „{{profile}}” ma przypisany profil aplikacji GATEWAY.", + "auto-provision-invalid-no-edge-app-profile": "Ten profil nie ma przypisanego profilu aplikacji GATEWAY. Użyj przycisku, aby go przypisać.", + "auto-provision-success-message": "Profil Agent jest gotowy. Uruchom polecenie na dowolnej maszynie docelowej, aby aprowizować nowe urządzenie Gateway.", + "auto-provision-script-hint": "Uruchom to polecenie na każdej maszynie, która ma stać się urządzeniem Gateway. Każde uruchomienie aprowizuje jedną parę Agent + Gateway." }, "grid": { "delete-item-title": "Czy na pewno chcesz usunąć ten element?", - "delete-item-text": "Bądź ostrożny, po potwierdzeniu tego elementu i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-items-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 pozycję} other {# pozycji} }?", - "delete-items-action-title": "Usuń {count, plural, =1 {1 pozycję} other {# pozycji} }", - "delete-items-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane elementy zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "add-item-text": "Dodaj nową pozycję", + "delete-item-text": "Uważaj, po potwierdzeniu tego elementu i wszystkich powiązanych danych nie będzie można odzyskać.", + "delete-items-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 element} few {# elementy} other {# elementów} }?", + "delete-items-action-title": "Usuń {count, plural, =1 {1 element} few {# elementy} other {# elementów} }", + "delete-items-text": "Uważaj, po potwierdzeniu wszystkie wybrane elementy zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "add-item-text": "Dodaj nowy element", "no-items-text": "Nie znaleziono żadnych elementów", - "item-details": "Szczegóły Przedmiotu", - "delete-item": "Usuń przedmiot", + "item-details": "Szczegóły elementu", + "delete-item": "Usuń element", "delete-items": "Usuń elementy", "scroll-to-top": "Przewiń na górę" }, @@ -3213,20 +5326,76 @@ "logout": "Wyloguj", "menu": "Menu", "avatar": "Awatar", - "open-user-menu": "Otwórz menu użytkownika" + "open-user-menu": "Otwórz menu użytkownika", + "go-to": "Przejdź do...", + "crumbs-more": "+{{more}} więcej w pasujących sekcjach", + "no-matches": "Brak dopasowań" }, "file-input": { "browse-file": "Przeglądaj plik", "browse-files": "Przeglądaj pliki" }, + "image": { + "images": "Obrazy", + "gallery": "Galeria obrazów", + "search": "Szukaj obrazu", + "selected-images": "Wybrano { count, plural, =1 {1 obraz} one {# obraz} few {# obrazy} other {# obrazów} }", + "created-time": "Czas utworzenia", + "name": "Nazwa", + "name-required": "Nazwa jest wymagana.", + "resolution": "Rozdzielczość", + "size": "Rozmiar", + "system": "System", + "download-image": "Pobierz obraz", + "export-image": "Eksportuj obraz do JSON", + "import-image": "Importuj obraz z JSON", + "upload-image": "Prześlij obraz", + "edit-image": "Edytuj obraz", + "image-details": "Szczegóły obrazu", + "no-images": "Nie znaleziono obrazów", + "delete-image": "Usuń obraz", + "delete-image-title": "Czy na pewno chcesz usunąć obraz „{{imageTitle}}”?", + "delete-image-text": "Uważaj, po potwierdzeniu nie będzie można odzyskać obrazu.", + "delete-images-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 obraz} one {# obraz} few {# obrazy} other {# obrazów} }?", + "delete-images-text": "Uważaj, po potwierdzeniu wszystkie wybrane obrazy zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "list-mode": "Widok listy", + "grid-mode": "Widok siatki", + "image-preview": "Podgląd obrazu", + "update-image": "Aktualizuj obraz", + "export-failed-error": "Nie można wyeksportować obrazu: {{error}}", + "image-json-file": "Plik JSON obrazu", + "invalid-image-json-file-error": "Nie można zaimportować obrazu z JSON: nieprawidłowa struktura danych JSON obrazu.", + "image-is-in-use": "Obraz jest używany przez inne obiekty", + "images-are-in-use": "Obrazy są używane przez inne obiekty", + "image-is-in-use-text": "Obraz „{{title}}” nie został usunięty, ponieważ jest używany przez następujące obiekty:", + "images-are-in-use-text": "Nie wszystkie obrazy zostały usunięte, ponieważ są używane przez inne obiekty.
Powiązane obiekty możesz wyświetlić, klikając przycisk Odwołania w odpowiednim wierszu obrazu.
Jeśli nadal chcesz usunąć te obrazy, wybierz je w tabeli poniżej i kliknij przycisk Usuń wybrane.", + "delete-image-in-use-text": "Jeśli nadal chcesz usunąć obraz, kliknij przycisk Usuń mimo to.", + "system-entities": "Obiekty systemowe:", + "entities": "obiekty:", + "references": "Odwołania", + "include-system-images": "Uwzględnij obrazy systemowe", + "clear-image": "Wyczyść obraz", + "no-image": "Brak obrazu", + "no-image-selected": "Nie wybrano obrazu", + "browse-from-gallery": "Przeglądaj galerię", + "set-link": "Ustaw link", + "image-link": "Link do obrazu", + "link": "Link", + "copy-image-link": "Kopiuj link do obrazu", + "embed-image": "Osadź obraz", + "embed-to-html": "Osadź w HTML", + "embed-to-html-hint": "Ta funkcja sprawi, że link będzie dostępny dla każdego nieautoryzowanego użytkownika.", + "embed-to-html-text": "Korzystając z poniższego fragmentu kodu, możesz osadzić obraz w komponentach opartych na czystym HTML.
Do takich komponentów należą widżety kart HTML, funkcje zawartości komórek itp.", + "embed-to-angular-template": "Osadź w szablonie Angular HTML", + "embed-to-angular-template-text": "Korzystając z poniższego fragmentu kodu, możesz osadzić obraz w szablonie Angular HTML, który będzie używany przez komponenty.
Do takich komponentów należą widżet Markdown, sekcja HTML w edytorze widżetów, akcje niestandardowe itp." + }, "image-input": { "drop-images-or": "Przeciągnij i upuść obrazy lub", - "drag-and-drop": "Drag & Drop", - "or": "or", - "browse": "Browse", + "drag-and-drop": "Przeciągnij i upuść", + "or": "lub", + "browse": "Przeglądaj", "no-images": "Nie wybrano żadnych obrazów", - "images": "Obrazy", - "drop-image-or": "Przeciągnij i upuść obraz lub" + "images": "Obrazy" }, "import": { "no-file": "Nie wybrano pliku", @@ -3240,19 +5409,19 @@ "column-example": "Przykładowe dane wartości", "column-key": "Klucz atrybutu/telemetrii", "credentials": "Dane uwierzytelniające", - "csv-delimiter": "Ogranicznik CSV", - "csv-first-line-header": "Pierwsza linia zawiera nazwy kolumn", + "csv-delimiter": "Separator CSV", + "csv-first-line-header": "Pierwszy wiersz zawiera nazwy kolumn", "csv-update-data": "Zaktualizuj atrybuty/telemetrię", "details": "Szczegóły", "import-csv-number-columns-error": "Plik powinien zawierać co najmniej dwie kolumny", - "import-csv-invalid-format-error": "Nieprawidłowy format pliku. {{line}}'", + "import-csv-invalid-format-error": "Nieprawidłowy format pliku. Wiersz: „{{line}}”", "column-type": { "name": "Nazwa", "type": "Typ", "label": "Etykieta", "column-type": "Typ kolumny", "client-attribute": "Atrybut klienta", - "shared-attribute": "Wspólny atrybut", + "shared-attribute": "Atrybut współdzielony", "server-attribute": "Atrybut serwera", "timeseries": "Szereg czasowy", "entity-field": "Pole obiektu", @@ -3269,59 +5438,59 @@ "client-identity": "Tożsamość klienta LwM2M", "client-key": "Klucz klienta LwM2M", "client-cert": "Klucz publiczny klienta LwM2M", - "bootstrap-server-security-mode": "Tryb bezpieczeństwa serwera startowego LwM2M", - "bootstrap-server-secret-key": "Tajny klucz serwera startowego LwM2M", - "bootstrap-server-public-key-id": "Klucz publiczny lub identyfikator serwera ładowania początkowego LwM2M", + "bootstrap-server-security-mode": "Tryb zabezpieczeń serwera Bootstrap LwM2M", + "bootstrap-server-secret-key": "Tajny klucz serwera Bootstrap LwM2M", + "bootstrap-server-public-key-id": "Klucz publiczny lub identyfikator serwera Bootstrap LwM2M", "lwm2m-server-security-mode": "Tryb bezpieczeństwa serwera LwM2M", "lwm2m-server-secret-key": "Tajny klucz serwera LwM2M", "lwm2m-server-public-key-id": "Klucz publiczny lub identyfikator serwera LwM2M" }, "snmp": { - "host": "SNMP host", - "port": "SNMP port", - "version": "SNMP version (v1, v2c or v3)", - "community-string": "SNMP community string" + "host": "Host SNMP", + "port": "Port SNMP", + "version": "Wersja SNMP (v1, v2c lub v3)", + "community-string": "Ciąg community SNMP" }, "isgateway": "Czy Gateway", - "activity-time-from-gateway-device": "Czas aktywności z Gateway", + "activity-time-from-gateway-device": "Czas aktywności z urządzenia Gateway", "description": "Opis", "edge-license-key": "Klucz licencyjny", "cloud-endpoint": "Punkt końcowy w chmurze", "routing-key": "Klucz Edge", - "secret": "Edge secret" + "secret": "Sekret Edge" }, "stepper-text": { "select-file": "Wybierz plik", - "configuration": "Importuj konfigurację", + "configuration": "Konfiguracja importu", "column-type": "Wybierz typ kolumn", "creat-entities": "Tworzenie nowych obiektów" }, "message": { - "create-entities": "{{count}} pomyślnie utworzono nowe obiekty.", - "update-entities": "{{count}} elementy zostały pomyślnie zaktualizowane.", + "create-entities": "Pomyślnie utworzono nowe obiekty: {{count}}.", + "update-entities": "Pomyślnie zaktualizowano obiekty: {{count}}.", "error-entities": "Wystąpił błąd przy tworzeniu {{count}} obiektów." } }, "integration": { "integration": "Integracja", "integrations": "Integracje", - "integrations-center": "Centrum Integracji", + "integrations-center": "Centrum integracji", "select-integration": "Wybierz integrację", - "no-integrations-matching": "Nie znaleziono integracji pasujących do '{{entity}}'.", + "no-integrations-matching": "Nie znaleziono integracji pasujących do „{{entity}}”.", "integration-required": "Integracja jest wymagana", "delete": "Usuń integrację", "management": "Zarządzanie integracjami", "add-integration-text": "Dodaj nową integrację", "no-integrations-text": "Nie znaleziono integracji", - "data-convertor-name": "{{convertorType}} data converter for {{integrationName}}", - "integration-name": "{{integrationType}} integration", - "selected-integrations": "Wybrano {count, plural, =1 {1 integrację} other {# integracji} }", - "delete-integration-title": "Czy na pewno chcesz usunąć integrację '{{integrationName}}'?", - "delete-integration-text": "Bądź ostrożny, po potwierdzeniu integracji i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-integrations-title": "Czy na pewno chcesz usunąć {count, plural, =1 {1 integrację} other {# integracji} }?", - "delete-integrations-action-title": "Usuń {count, plural, =1 {1 integrację} other {# integracji} }", + "data-convertor-name": "Konwerter danych {{convertorType}} dla {{integrationName}}", + "integration-name": "Integracja {{integrationType}}", + "selected-integrations": "Wybrano { count, plural, =1 {1 integrację} one {# integrację} few {# integracje} other {# integracji} }", + "delete-integration-title": "Czy na pewno chcesz usunąć integrację „{{integrationName}}”?", + "delete-integration-text": "Uwaga, po potwierdzeniu integracja i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-integrations-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 integrację} one {# integrację} few {# integracje} other {# integracji} }?", + "delete-integrations-action-title": "Usuń { count, plural, =1 {1 integrację} one {# integrację} few {# integracje} other {# integracji} }", "delete-integrations-text": "Uważaj, po potwierdzeniu wszystkie wybrane integracje zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "events": "Wydarzenia", + "events": "Zdarzenia", "enabled": "Włącz integrację", "allow-create-devices-or-assets": "Zezwalaj na tworzenie urządzeń lub zasobów", "all-types": "Wszystkie typy integracji", @@ -3329,20 +5498,20 @@ "search": "Wyszukaj integracje", "integration-details": "Szczegóły integracji", "details": "Szczegóły", - "copyId": "Skopiuj identyfikator integracji", + "copyId": "Kopiuj identyfikator integracji", "idCopiedMessage": "Identyfikator integracji został skopiowany do schowka", "debug-mode": "Tryb debugowania", "enable-security": "Włącz zabezpieczenia", "enable-security-new": "Włącz zabezpieczenia automatycznych aktualizacji tokenów", "headers-filter": "Filtr nagłówków", - "header": "nagłówek", + "header": "Nagłówek", "no-headers-filter": "Brak filtra nagłówków", - "downlink-url": "Adres URL łącza w dół", - "downlink-url-required": "Adres URL łącza w dół jest wymagany", + "downlink-url": "Adres URL downlink", + "downlink-url-required": "Adres URL downlink jest wymagany", "create-loriot-output": "Utwórz dane wyjściowe aplikacji Loriot", - "send-downlink": "Wyślij łącze w dół", - "allow-downlink": "Allow downlink", - "server": "serwer", + "send-downlink": "Wyślij wiadomość downlink", + "allow-downlink": "Zezwalaj na wiadomości downlink", + "server": "Serwer", "server-required": "Serwer jest wymagany", "domain": "Domena", "app-id": "Identyfikator aplikacji", @@ -3350,29 +5519,30 @@ "app-token": "Token dostępu do aplikacji", "app-token-required": "Token dostępu do aplikacji jest wymagany", "email": "E-mail", - "email-required": "email jest wymagany", + "email-required": "E-mail jest wymagany", "application-uri": "URI aplikacji", - "as-id": "JAKO ID", + "as-id": "Identyfikator AS", "as-id-required": "Identyfikator AS jest wymagany.", "as-key": "Klucz AS", "as-key-required": "Klucz AS jest wymagany.", "client-id-new": "Identyfikator klienta", "client-id-new-required": "Identyfikator klienta jest wymagany (login).", - "client-secret": "Sekret Klienta", + "client-secret": "Sekret klienta", "client-secret-required": "Sekret klienta jest wymagany (hasło).", "max-time-diff-in-seconds": "Maksymalna różnica czasu (sekundy)", "max-time-diff-in-seconds-required": "Maksymalna różnica czasu jest wymagana.", - "created-time": "Stworzony czas", + "created-time": "Czas utworzenia", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "description": "Opis", "base-url": "Bazowy adres URL", - "base-url-required": "Podstawowy adres URL jest wymagany", + "base-url-required": "Bazowy adres URL jest wymagany", "security-key": "Klucz bezpieczeństwa", + "skip": "Pomiń", "http-endpoint": "Adres URL punktu końcowego HTTP", "replace-no-content-to-ok": "Zmień status odpowiedzi z „Brak treści” na „OK”", - "copy-http-endpoint-url": "Skopiuj adres URL punktu końcowego HTTP", + "copy-http-endpoint-url": "Kopiuj adres URL punktu końcowego HTTP", "http-endpoint-url-copied-message": "Adres URL punktu końcowego HTTP został skopiowany do schowka", "host": "Host", "host-required": "Host jest wymagany.", @@ -3385,19 +5555,20 @@ "custom-host-required": "Niestandardowy host jest wymagany.", "port": "Port", "port-required": "Port jest wymagany.", - "port-range": "Port powinien należeć do zakresu od 1 do 65535.", + "endpoint": "Punkt końcowy", + "port-range": "Port powinien mieścić się w zakresie od 1 do 65535.", "connect-timeout": "Limit czasu połączenia (s)", "connect-timeout-required": "Limit czasu połączenia jest wymagany.", "connect-timeout-range": "Limit czasu połączenia powinien mieścić się w zakresie od 1 do 200.", "client-id": "Identyfikator klienta", "client-id-required": "Identyfikator klienta jest wymagany.", - "client-id-hint": "Wskazówka: opcjonalne. ", + "client-id-hint": "Wskazówka: opcjonalne. Pozostaw puste, aby identyfikator klienta został wygenerowany automatycznie. Zachowaj ostrożność, podając identyfikator klienta. Większość brokerów MQTT nie zezwala na wiele połączeń z tym samym identyfikatorem klienta. Aby połączyć się z takimi brokerami, Twój identyfikator klienta MQTT musi być unikalny.", "max-bytes-in-message": "Maksymalna liczba bajtów w wiadomości", "max-bytes-in-message-range": "Maksymalna liczba bajtów w wiadomości powinna mieścić się w zakresie od 1 do 256000000.", - "device-id": "Identyfikator urzadzenia", + "device-id": "Identyfikator urządzenia", "device-id-required": "Identyfikator urządzenia jest wymagany.", "device-id-range": "Identyfikator urządzenia powinien mieścić się w zakresie od 1 do 65535 znaków.", - "device-id-pattern": "Identyfikator urządzenia powinien składać się z cyfr oraz wielkich i małych liter. ", + "device-id-pattern": "Identyfikator urządzenia powinien składać się z cyfr oraz wielkich i małych liter. [MQTT-3.1.3-5]", "group-id": "Identyfikator grupy", "group-id-required": "Identyfikator grupy jest wymagany.", "topics": "Tematy", @@ -3406,39 +5577,52 @@ "routing-keys-required": "Klucz routingu jest wymagany.", "queue": "Kolejka", "queue-required": "Nazwa kolejki jest wymagana.", - "durable": "Wytrzymały", - "exclusive": "Ekskluzywny", + "durable": "Trwała", + "exclusive": "Wyłączna", "autoDelete": "Automatyczne usuwanie", "exchange-name": "Nazwa wymiany", - "exchange-name-required": "Nazwa giełdy jest wymagana.", - "downlink-topic": "Temat łącza w dół", - "connection-timeout": "Przekroczono limit czasu połączenia, ms", + "exchange-name-required": "Nazwa wymiany jest wymagana.", + "downlink-topic": "Temat downlink", + "connection-timeout": "Limit czasu połączenia, ms", "connection-timeout-min": "Nieprawidłowa wartość limitu czasu połączenia.", - "handshake-timeout": "Przekroczono limit czasu uzgadniania, ms", + "handshake-timeout": "Limit czasu uzgadniania, ms", "handshake-timeout-min": "Nieprawidłowa wartość limitu czasu uzgadniania.", - "virtual-host": "Wirtualny gospodarz", - "rabbit-mq-poll-interval": "Interwał ankiety, ms", + "virtual-host": "Wirtualny host", + "rabbit-mq-poll-interval": "Interwał odpytywania, ms", "rabbit-mq-poll-interval-min": "Nieprawidłowa wartość interwału odpytywania.", "application-server-url": "Adres URL serwera aplikacji", "application-server-url-required": "Adres URL serwera aplikacji jest wymagany.", "application-server-api-token": "Token API serwera aplikacji", "application-server-api-token-required": "Token API serwera aplikacji jest wymagany.", - "use-api-four-plus": "Use API for ChirpStack 4+", - "bootstrap-servers": "Serwery startowe", - "bootstrap-servers-required": "Serwery startowe są wymagane.", - "poll-interval": "Interwał ankiety", - "poll-interval-required": "Interwał sondowania jest wymagany.", + "use-api-four-plus": "Użyj API dla ChirpStack 4+", + "bootstrap-servers": "Serwery Bootstrap", + "bootstrap-servers-required": "Serwery Bootstrap są wymagane.", + "poll-interval": "Interwał odpytywania", + "poll-interval-required": "Interwał odpytywania jest wymagany.", "poll-interval-min-value": "Wartość interwału odpytywania nie może być mniejsza niż 1", "auto-create-topics": "Automatyczne tworzenie tematów", "clean-session": "Czysta sesja", "enable-ssl": "Włącz protokół SSL", "credentials": "Dane uwierzytelniające", - "credentials-type": "Typ poświadczeń", - "credentials-type-required": "Typ danych logowania jest wymagany.", + "credentials-type": "Typ danych uwierzytelniających", + "credentials-type-required": "Typ danych uwierzytelniających jest wymagany.", + "downlink-credentials": "Dane uwierzytelniające downlink", "username": "Nazwa użytkownika", "username-required": "Nazwa użytkownika jest wymagana.", "password": "Hasło", "password-required": "Hasło jest wymagane.", + "destination-shared-secret": "Współdzielony sekret miejsca docelowego", + "destination-shared-secret-required": "Współdzielony sekret miejsca docelowego jest wymagany", + "kpn-security-header": "Nagłówek zabezpieczeń (X-Things-Secret)", + "kpn-security-header-hint": "Wartość wygenerowana w miejscu docelowym ThingsBoard w KPN Things", + "kpn-security-header-duplicate": "Ustaw X-Things-Secret w polu Nagłówek zabezpieczeń, a nie jako dodatkowy filtr nagłówków", + "kpn-https-destination-settings": "Ustawienia miejsca docelowego HTTPS", + "kpn-destination-shared-secret-hint": "Tylko dla miejsca docelowego HTTPS w KPN Things. Pozostaw puste dla miejsca docelowego ThingsBoard", + "kpn-additional-headers-filter": "Filtr dodatkowych nagłówków", + "kpn-additional-headers-filter-hint": "Żądania muszą zawierać każdy nagłówek z pasującą wartością", + "kpn-no-security-warning": "Żądania do tego punktu końcowego nie są uwierzytelniane. Dodaj nagłówek zabezpieczeń wygenerowany w KPN Things.", + "customer-id": "ID klienta", + "api-id": "ID API", "azure-ca-cert": "Plik certyfikatu urzędu certyfikacji", "ca-cert": "Plik certyfikatu urzędu certyfikacji", "private-key": "Plik klucza prywatnego", @@ -3449,32 +5633,32 @@ "drop-file-or": "Przeciągnij i upuść plik lub", "check-connection": "Sprawdź połączenie", "check-success": "Połączenie nawiązane.", - "topic-filters": "Filtry tematyczne", + "topic-filters": "Filtry tematów", "remove-topic-filter": "Usuń filtr tematu", "add-topic-filter": "Dodaj filtr tematu", - "add-topic-filter-prompt": "Proszę dodać filtr tematyczny", + "add-topic-filter-prompt": "Dodaj filtr tematu", "topic": "Temat", - "mqtt-qos": "Jakość usług", - "mqtt-qos-required": "QoS is required", - "mqtt-qos-range": "QoS values range is from 0 to 2", + "mqtt-qos": "QoS", + "mqtt-qos-required": "QoS jest wymagany", + "mqtt-qos-range": "Zakres wartości QoS wynosi od 0 do 2", "mqtt-qos-at-most-once": "Co najwyżej raz", "mqtt-qos-at-least-once": "Przynajmniej raz", "mqtt-qos-exactly-once": "Dokładnie raz", - "downlink-topic-pattern": "Wzór tematu łącza w dół", - "downlink-topic-pattern-required": "Wzór tematu łącza w dół jest wymagany.", + "downlink-topic-pattern": "Wzór tematu downlink", + "downlink-topic-pattern-required": "Wzór tematu downlink jest wymagany.", "retained-message": "Zachowane", "aws-access-key-id": "Identyfikator klucza dostępu AWS", "aws-secret-access-key": "Tajny klucz dostępu AWS", "aws-region": "Region", "aws-iot-endpoint": "Punkt końcowy AWS IoT", "aws-iot-endpoint-required": "Punkt końcowy AWS IoT jest wymagany.", - "aws-iot-credentials": "Poświadczenia AWS IoT", + "aws-iot-credentials": "Dane uwierzytelniające AWS IoT", "aws-sqs-polling-period-in-seconds": "Okres odpytywania w sekundach", "aws-sqs-queue-url": "Adres URL kolejki SQS", "aws-sqs-queue-url-required": "Adres URL kolejki SQS jest wymagany", "aws-sqs-access-key-id-required": "Identyfikator klucza dostępu jest wymagany", "aws-sqs-secret-access-key-required": "Tajny klucz dostępu jest wymagany", - "application-credentials": "Poświadczenia aplikacji", + "application-credentials": "Dane uwierzytelniające aplikacji", "api-key": "Klucz API", "api-key-required": "Klucz API jest wymagany.", "api-key-format": "Nieprawidłowy format klucza API.", @@ -3493,15 +5677,21 @@ "connection-parameters": "Parametry połączenia", "service-bus-namespace-name": "Nazwa przestrzeni nazw Service Bus", "service-bus-namespace-name-required": "Nazwa przestrzeni nazw Service Bus jest wymagana.", - "connection-string": "Napis połączenia", + "connection-string": "Parametry połączenia", "consumer-group": "Grupa konsumencka", - "connection-string-required": "Wymagany napis połączenia!", + "connection-string-required": "Parametry połączenia są wymagane!", "event-hub-name": "Nazwa centrum zdarzeń", "event-hub-name-required": "Nazwa centrum zdarzeń jest wymagana.", - "event-iot-hub-name-required": "Nazwa Iot Hub jest wymagana dla łącza w dół", - "sas-key-name": "Nazwa klucza SAS-owego", - "sas-key-name-required": "Nazwa klucza SAS-owego jest wymagana.", - "sas-key": "Klucz SAS-owy", + "event-iot-hub-name-required": "Nazwa IoT Hub jest wymagana dla wiadomości downlink", + "enable-persistent-checkpoints": "Włącz trwałe punkty kontrolne", + "enable-persistent-checkpoints-hint": "Włącz, aby Azure Blob Storage wznawiał przetwarzanie od ostatniego punktu kontrolnego po ponownym uruchomieniu. Wyłącz, aby zawsze zaczynać od najnowszego zdarzenia.", + "storage-connection-string": "Parametry połączenia magazynu", + "storage-connection-string-required": "Parametry połączenia magazynu są wymagane!", + "container-name": "Nazwa kontenera", + "container-name-required": "Nazwa kontenera jest wymagana", + "sas-key-name": "Nazwa klucza SAS", + "sas-key-name-required": "Nazwa klucza SAS jest wymagana.", + "sas-key": "Klucz SAS", "sas-key-required": "Klucz SAS jest wymagany.", "iot-hub-name": "Nazwa IoT Hub", "hostname": "Nazwa hosta", @@ -3514,9 +5704,9 @@ "select-integration-type": "Wybierz typ integracji", "type-required": "Typ integracji jest wymagany.", "type-not-found": "Nie znaleziono typu integracji", - "uplink-converter": "Konwerter danych łącza zwrotnego", - "uplink-converter-required": "Konwerter danych łącza zwrotnego jest wymagany.", - "downlink-converter": "Konwerter danych łącza w dół", + "uplink-converter": "Konwerter uplink", + "uplink-converter-required": "Konwerter uplink jest wymagany.", + "downlink-converter": "Konwerter downlink", "type-http": "HTTP", "type-http-description": "Protokół przesyłania plików tekstowych lub multimedialnych.", "type-ocean-connect": "OceanConnect", @@ -3524,58 +5714,59 @@ "type-sigfox": "SigFox", "type-sigfox-description": "Lekki protokół do obsługi małych transmisji danych.", "type-thingpark": "ThingPark", - "type-thingpark-description": "Protokół warstwy transportowej zorientowanej na komunikaty.", - "type-loriot": "Loriota", + "type-thingpark-description": "ThingPark to platforma łączności IoT firmy Actility.", + "type-loriot": "Loriot", "type-loriot-description": "Rozproszona infrastruktura LoRaWAN.", - "type-thingpark-enterprise": "Firma ThingPark", + "type-thingpark-enterprise": "ThingParkEnterprise", "type-thingpark-enterprise-description": "Platforma komunikacyjna dla sieci LPWA.", "type-tmobile-iot-cdp": "iotcreators.com (T-Mobile – IoT CDP)", "type-tmobile-iot-cdp-description": "Usługa łączności mobilnej IoT.", "type-mqtt": "MQTT", - "type-mqtt-description": "Protokół sieciowy maszyna do maszyny.", + "type-mqtt-description": "Protokół sieciowy do komunikacji między maszynami.", "type-aws-iot": "AWS IoT", "type-aws-iot-description": "Usługi zarządzania, przechowywania i analizy.", "type-aws-sqs": "AWS SQS", "type-aws-sqs-description": "W pełni zarządzana usługa kolejkowania wiadomości.", "type-aws-kinesis": "AWS Kinesis", "type-aws-kinesis-description": "Usługa strumieni wideo i danych w czasie rzeczywistym.", - "type-ibm-watson-iot": "IBM Watson IoT", - "type-ibm-watson-iot-description": "W pełni zarządzana usługa hostowana w chmurze.", "type-ttn": "The Things Stack Community", "type-ttn-description": "Otwarta i zdecentralizowana sieć LoRaWAN.", "type-tti": "The Things Stack Industries", "type-tti-description": "Oprogramowanie do obsługi prywatnych sieci LoRaWAN na dużą skalę.", + "type-things-stack": "The Things Stack", "type-chirpstack": "ChirpStack", "type-chirpstack-description": "Serwer konfiguracji sieci LoRaWAN.", "type-particle": "Particle", - "type-particle-description": "IoT enablement platform-as-a-service.", - "type-azure-event-hub": "Centrum zdarzeń platformy Azure", + "type-particle-description": "Platforma umożliwiająca wdrażanie IoT w modelu PaaS.", + "type-kpn": "KPN Things", + "type-kpn-description": "Platforma IoT dostarczana przez KPN, oferująca niezawodną łączność i rozwiązania do zarządzania danymi dla urządzeń IoT.", + "type-azure-event-hub": "Azure Event Hub", "type-azure-event-hub-description": "Platforma do strumieniowego przesyłania dużych zbiorów danych i usługa pozyskiwania zdarzeń.", - "type-azure-iot-hub": "Centrum IoT platformy Azure", + "type-azure-iot-hub": "Azure IoT Hub", "type-azure-iot-hub-description": "Usługa przesyłania wiadomości hostowana w chmurze.", "type-opc-ua": "OPC-UA", - "type-opc-ua-description": "Wieloplatformowa platforma do wymiany danych z czujników do aplikacji w chmurze.", - "type-custom": "custom", + "type-opc-ua-description": "Wieloplatformowy protokół wymiany danych z czujników do aplikacji w chmurze.", + "type-custom": "Niestandardowa", "type-coap": "CoAP", - "type-coap-description": "Protokół sieciowy maszyna do maszyny dla urządzeń z ograniczeniami.", + "type-coap-description": "Protokół sieciowy do komunikacji między maszynami, przeznaczony dla urządzeń o ograniczonych zasobach.", "type-udp": "UDP", - "type-udp-description": "Protokół warstwy transportowej zorientowanej na komunikaty.", + "type-udp-description": "Protokół warstwy transportowej zorientowany na wiadomości.", "type-tcp": "TCP", "type-tcp-description": "Protokół zorientowany na połączenie.", "type-kafka": "Kafka", - "type-kafka-description": "Analityka przesyłania strumieniowego, platforma do przesyłania strumieniowego integracji danych.", + "type-kafka-description": "Platforma przesyłania strumieniowego do analityki strumieniowej i integracji danych.", "type-rabbitmq": "RabbitMQ", "type-rabbitmq-description": "Broker wiadomości obsługujący wiele protokołów przesyłania wiadomości.", - "type-pubsub": "Pub/sub", + "type-pubsub": "Pub/Sub", "type-pubsub-description": "Usługa asynchronicznej komunikacji między aplikacjami.", "type-apache-pulsar": "Apache Pulsar", - "type-apache-pulsar-description": "Rozproszona platforma do przesyłania wiadomości i przesyłania strumieniowego między pubami.", + "type-apache-pulsar-description": "Rozproszona platforma do przesyłania wiadomości w modelu publikacja–subskrypcja i przesyłania strumieniowego.", "type-tuya": "Tuya", - "type-tuya-description": "Wiadomości hostowane w chmurze. ", - "type-azure-service-bus": "Magistrala usług platformy Azure", - "type-azure-service-bus-description": "W pełni zarządzany korporacyjny broker komunikatów z kolejkami komunikatów i tematami publikowania i subskrybowania.", + "type-tuya-description": "Hostowana w chmurze platforma do przesyłania wiadomości i obsługi urządzeń.", + "type-azure-service-bus": "Azure Service Bus", + "type-azure-service-bus-description": "W pełni zarządzany korporacyjny broker wiadomości z kolejkami wiadomości i tematami publikowania i subskrybowania.", "opc-ua-application-name": "Nazwa aplikacji", - "opc-ua-application-uri": "Nazwa aplikacji", + "opc-ua-application-uri": "URI aplikacji", "opc-ua-scan-period-in-seconds": "Okres skanowania w sekundach", "opc-ua-scan-period-in-seconds-required": "Okres skanowania jest wymagany", "opc-ua-timeout": "Limit czasu w milisekundach", @@ -3585,7 +5776,7 @@ "opc-ua-identity": "Tożsamość", "opc-ua-identity-required": "Tożsamość jest wymagana", "opc-ua-keystore": "Magazyn kluczy", - "add-opc-ua-keystore-prompt": "Proszę dodać plik magazynu kluczy", + "add-opc-ua-keystore-prompt": "Dodaj plik magazynu kluczy", "opc-ua-keystore-required": "Magazyn kluczy jest wymagany", "opc-ua-type": "Typ", "opc-ua-keystore-type": "Typ", @@ -3595,10 +5786,10 @@ "opc-ua-keystore-password-required": "Hasło jest wymagane", "opc-ua-keystore-alias": "Alias", "opc-ua-keystore-alias-required": "Alias jest wymagany", - "opc-ua-keystore-key-password": "Kluczowe hasło", + "opc-ua-keystore-key-password": "Hasło klucza", "opc-ua-keystore-key-password-required": "Hasło klucza jest wymagane", "opc-ua-mapping": "Mapowanie", - "add-opc-ua-mapping-prompt": "Proszę dodać mapowanie", + "add-opc-ua-mapping-prompt": "Dodaj mapowanie", "opc-ua-mapping-type": "Typ mapowania", "opc-ua-mapping-type-required": "Typ mapowania jest wymagany", "opc-ua-device-node-pattern": "Wzorzec węzła urządzenia", @@ -3618,10 +5809,10 @@ "kinesis-application-name": "Nazwa aplikacji (domyślnie jest równa nazwie strumienia)", "kinesis-initial-position-in-stream": "Początkowa pozycja w strumieniu", "kinesis-initial-position-in-stream-required": "Wymagana pozycja początkowa w strumieniu", - "kinesis-max-records": "Maksymalne rekordy", + "kinesis-max-records": "Maksymalna liczba rekordów", "kinesis-max-records-required": "Maksymalna liczba rekordów jest wymagana", "kinesis-max-records-length-range": "Maksymalna długość rekordów powinna mieścić się w zakresie od 1 do 10000", - "kinesis-request-timeout": "Żądaj limitu czasu w sekundach", + "kinesis-request-timeout": "Limit czasu żądania w sekundach", "kinesis-request-timeout-required": "Limit czasu żądania jest wymagany", "other-properties": "Inne właściwości", "subscription-tags": "Tagi subskrypcji", @@ -3630,36 +5821,39 @@ "add-subscription-tag-prompt": "Dodaj tag subskrypcji", "key": "Klucz", "path": "Ścieżka", + "opc-ua-path-hint": "Ścieżka musi odpowiadać węzłowi znajdującemu się pod węzłem urządzenia: jego BrowseName bez prefiksu przestrzeni nazw (np. MySwitch, a nie 2:MySwitch) lub, jeśli NodeId węzła typu string zawiera nazwę urządzenia, części NodeId po nazwie urządzenia i separatorze (np. dla NodeId ns=2;s=Device1.MySwitch ścieżka to MySwitch).", + "opc-ua-path-whitespace-warning": "Ścieżka zaczyna się lub kończy spacją. Zostanie dopasowana tylko wtedy, gdy nazwa węzła zawiera te same spacje.", + "opc-ua-path-trailing-dot-warning": "Ścieżka kończy się kropką. Zostanie dopasowana tylko wtedy, gdy nazwa węzła kończy się kropką.", "required": "Wymagany", - "integration-key": "Klucz integracyjny", - "copy-integration-key": "Skopiuj klucz integracji", + "integration-key": "Klucz integracji", + "copy-integration-key": "Kopiuj klucz integracji", "integration-key-copied-message": "Klucz integracji został skopiowany do schowka", "integration-secret": "Sekret integracji", - "copy-integration-secret": "Skopiuj sekret integracji", + "copy-integration-secret": "Kopiuj sekret integracji", "integration-secret-copied-message": "Sekret integracji został skopiowany do schowka", "execute-remotely": "Wykonuj zdalnie", "remote": "Zdalny", "handler-configuration": "Konfiguracja modułu obsługi", - "handler-configuration-type": "Typ obsługi", + "handler-configuration-type": "Typ modułu obsługi", "so-broadcast": "Włącz rozgłaszanie - integracja akceptuje pakiety adresów rozgłoszeniowych", "so-keepalive-option": "Włącz wysyłanie komunikatów podtrzymujących działanie w gniazdach zorientowanych na połączenie", "so-reuse-addr": "Powiąż proces z portem", "tcp-no-delay": "Wymusza wysyłanie danych przez gniazdo bez buforowania (wyłącz algorytm buforowania Nagle'a)", - "fail-fast": "Zgłoszony wyjątek, gdy dekoder zauważy, że długość ramki przekracza maksymalny rozmiar", - "strip-delimiter": "Ogranicznik pasków", + "fail-fast": "Zgłaszaj wyjątek, gdy tylko dekoder wykryje, że długość ramki przekroczy maksymalny rozmiar", + "strip-delimiter": "Usuwaj separator", "length-field-offset": "Przesunięcie pola długości", "length-field-offset-required": "Przesunięcie pola długości jest wymagane.", "length-field-offset-range": "Przesunięcie pola długości powinno mieścić się w zakresie od 0 do 8.", - "length-field-length": "Długość Długość pola", - "length-field-length-required": "Długość Długość pola jest wymagana.", - "length-field-length-range": "Długość pola Długość powinna mieścić się w zakresie od 0 do 8.", + "length-field-length": "Długość pola długości", + "length-field-length-required": "Długość pola długości jest wymagana.", + "length-field-length-range": "Długość pola długości powinna mieścić się w zakresie od 0 do 8.", "length-adjustment": "Regulacja długości (wartość kompensacji dodana do wartości pola długości)", "length-adjustment-required": "Regulacja długości jest wymagana.", "length-adjustment-range": "Regulacja długości powinna mieścić się w zakresie od 0 do 8.", "byte-order": "Kolejność bajtów w polu długości", - "initial-bytes-to-strip": "Liczba pierwszych bajtów do usunięcia z zdekodowanej ramki", - "initial-bytes-to-strip-required": "Liczba pierwszych bajtów do usunięcia z zdekodowanej ramki jest wymagana.", - "initial-bytes-to-strip-range": "Liczba pierwszych bajtów do usunięcia z zdekodowanej ramki powinna mieścić się w zakresie od 0 do 8.", + "initial-bytes-to-strip": "Liczba pierwszych bajtów do usunięcia ze zdekodowanej ramki", + "initial-bytes-to-strip-required": "Liczba pierwszych bajtów do usunięcia ze zdekodowanej ramki jest wymagana.", + "initial-bytes-to-strip-range": "Liczba pierwszych bajtów do usunięcia ze zdekodowanej ramki powinna mieścić się w zakresie od 0 do 8.", "so-backlog-option": "Maksymalna liczba oczekujących połączeń na gnieździe", "so-backlog-option-required": "Maksymalna liczba oczekujących połączeń na gnieździe jest wymagana.", "so-backlog-option-range": "Maksymalna liczba oczekujących połączeń w gnieździe powinna mieścić się w zakresie od 1 do 65535.", @@ -3673,12 +5867,15 @@ "charset-name-required": "Nazwa zestawu znaków jest wymagana.", "message-separator": "Separator wiadomości", "message-separator-required": "Separator wiadomości jest wymagany.", + "message-separator-type": "Typ separatora wiadomości", + "separator": "Separator", + "separator-required": "Separator jest wymagany.", "character-sequence": "Sekwencja znaków", "character-sequence-required": "Sekwencja znaków jest wymagana.", "max-frame-length": "Maksymalna długość ramki (w bajtach)", "max-frame-length-required": "Maksymalna długość ramki (w bajtach) jest wymagana.", "max-frame-length-range": "Maksymalna długość ramki (w bajtach) powinna mieścić się w zakresie od 1 do 65535.", - "handler-type": "Typ obsługi", + "handler-type": "Typ modułu obsługi", "message-size": "Rozmiar wiadomości", "message-size-required": "Rozmiar wiadomości jest wymagany.", "service-url": "Adres URL usługi", @@ -3689,11 +5886,22 @@ "max-num-messages-required": "Maksymalna liczba wiadomości jest wymagana.", "max-num-bytes": "Maksymalna liczba bajtów", "max-num-bytes-required": "Wymagana maksymalna liczba bajtów.", + "model": "Model", + "select-model": "Wybierz model", + "model-not-found": "Nie znaleziono modelu", + "model-required": "Model jest wymagany", + "model-not-valid": "Wymagany wybór: musisz wybrać model z listy rozwijanej.", + "vendor": "Producent", + "select-vendor": "Wybierz producenta", + "vendor-not-found": "Nie znaleziono producenta", + "vendor-required": "Producent jest wymagany", + "vendor-not-valid": "Wymagany wybór: musisz wybrać producenta z listy rozwijanej.", + "library": "Biblioteka", "timeout-in-ms": "Limit czasu w milisekundach", "timeout-in-ms-required": "Limit czasu w milisekundach jest wymagany.", "user-id": "Identyfikator użytkownika", "user-id-required": "Identyfikator użytkownika jest wymagany.", - "token": "Znak", + "token": "Token", "token-required": "Token jest wymagany.", "project-id": "Identyfikator projektu", "project-id-required": "Identyfikator projektu jest wymagany.", @@ -3702,52 +5910,53 @@ "service-account-key": "Plik klucza konta usługi", "service-account-key-required": "Plik klucza konta usługi jest wymagany.", "tcp": { - "system-line-separator": "Separator linii systemowych", + "system-line-separator": "Systemowy separator wierszy", "nul-delimiter": "Separator Nul", + "custom-separator": "Niestandardowy separator", "byte-order-little-endian": "Little Endian", "byte-order-big-endian": "Big Endian" }, "cache-size": "Rozmiar pamięci podręcznej", - "cache-time-to-live": "Czas działania pamięci podręcznej w minutach", + "cache-time-to-live": "Czas życia pamięci podręcznej w minutach", "min-cache-size": "Rozmiar pamięci podręcznej nie może być mniejszy niż 0", "min-cache-time-to-live": "Czas życia pamięci podręcznej nie może być mniejszy niż 0", - "max-cache-time-to-live": "Nieprawidłowy czas aktywności pamięci podręcznej. Wybierz wartość z zakresu od 0 do 525600", - "coap-security-mode": "Tryb Bezpieczny", + "max-cache-time-to-live": "Nieprawidłowy czas życia pamięci podręcznej. Wybierz wartość z zakresu od 0 do 525600", + "coap-security-mode": "Tryb zabezpieczeń", "coap-security-mode-required": "Tryb zabezpieczeń CoAP jest wymagany", - "coap-security-mode-no-secure": "NIE BEZPIECZNIE", + "coap-security-mode-no-secure": "BEZ ZABEZPIECZEŃ", "coap-security-mode-dtls": "DTLS", "coap-security-mode-mixed": "MIESZANY", "coap-endpoint": "Adres URL punktu końcowego CoAP", "coap-endpoint-url-copied-message": "Adres URL punktu końcowego CoAP został skopiowany do schowka", - "copy-coap-endpoint-url": "Skopiuj adres URL punktu końcowego CoAP", - "copy-coap-dtls-endpoint-url": "Skopiuj adres URL punktu końcowego CoAP DTLS", - "coap-dtls-base-url": "Podstawowy adres URL DTLS", - "coap-dtls-base-url-required": "Podstawowy adres URL DTLS jest wymagany", + "copy-coap-endpoint-url": "Kopiuj adres URL punktu końcowego CoAP", + "copy-coap-dtls-endpoint-url": "Kopiuj adres URL punktu końcowego CoAP DTLS", + "coap-dtls-base-url": "Bazowy adres URL DTLS", + "coap-dtls-base-url-required": "Bazowy adres URL DTLS jest wymagany", "coap-dtls-endpoint": "Adres URL punktu końcowego CoAP DTLS", "coap-dtls-endpoint-url-copied-message": "Adres URL punktu końcowego CoAP DTLS został skopiowany do schowka", - "unassign-integration-title": "Czy na pewno chcesz anulować przypisanie integracji '{{integrationName}}'?", - "unassign-integration-from-edge-text": "Po potwierdzeniu integracja zostanie anulowana i nie będzie dostępna z Edge.", - "unassign-integrations-from-edge-title": "Czy na pewno chcesz usunąć przypisanie {count, plural, =1 {1 integracji} other {# integracji} }?", - "unassign-integrations-from-edge-text": "Po potwierdzeniu wszystkie wybrane integracje zostaną usunięte i nie będą dostępne na Edge.", - "unassign-integrations": "Usuń przypisanie integracji", - "edge-placeholder-hint": "Możesz użyć symbolu zastępczego ${{ATTRIBUTE_KEY}} aby zastąpić pole integracji wartością atrybutu z konkretnego obiektu Edge. Na przykład, 'Edge A' ma atrybut 'baseUrl' wynoszący 'http://localhost:9999'. Możesz ustawić {{baseUrl}} jako jedno z pól integracji i zostanie ono zastąpione przez 'http://localhost:9999” podczas przypisywania tej integracji do 'Edge A'. Dodatkowo, jeśli 'Edge A' atrybut 'baseUrl' zostanie zaktualizowany - integracja z nową zaktualizowaną wartością będzie automatycznie zapewniona 'Edge A'.", + "unassign-integration-title": "Czy na pewno chcesz anulować przypisanie integracji „{{integrationName}}”?", + "unassign-integration-from-edge-text": "Po potwierdzeniu integracja nie będzie już przypisana do instancji Edge i nie będzie dla niej dostępna.", + "unassign-integrations-from-edge-title": "Czy na pewno chcesz anulować przypisanie { count, plural, =1 {1 integracji} one {# integracji} few {# integracji} other {# integracji} }?", + "unassign-integrations-from-edge-text": "Po potwierdzeniu wszystkie wybrane integracje nie będą już przypisane do instancji Edge i nie będą dla niej dostępne.", + "unassign-integrations": "Anuluj przypisanie integracji", + "edge-placeholder-hint": "Możesz użyć symbolu zastępczego ${{ATTRIBUTE_KEY}}, aby zastąpić pole integracji wartością atrybutu określonej instancji Edge. Na przykład instancja „Edge A” ma atrybut „baseUrl” o wartości „http://localhost:9999”. Możesz ustawić ${{baseUrl}} jako jedno z pól integracji, a podczas przypisywania tej integracji do „Edge A” zostanie ono zastąpione wartością „http://localhost:9999”. Ponadto, jeśli atrybut „baseUrl” instancji „Edge A” zostanie zaktualizowany, integracja z nową wartością zostanie automatycznie aprowizowana na „Edge A”.", "status": { "status": "Status", "active": "Aktywny", "disabled": "Wyłączony", - "failed": "Błąd", - "pending": "Aż do" + "failed": "Niepowodzenie", + "pending": "Oczekujący" }, "daily-activity": "Dzienna aktywność", "enable-debug-mode": "Włącz tryb debugowania", "disable-debug-mode": "Wyłącz tryb debugowania", "advanced-settings": "Zaawansowane ustawienia", "basic-settings": "Podstawowe ustawienia", - "existing-converter": "Select existing", - "new-converter": "Create new", + "existing-converter": "Wybierz istniejący", + "new-converter": "Utwórz nowy", "connection": "Połączenie", "connected": "Połączony", - "not-connected": "Nie połączony", + "not-connected": "Niepołączony", "environment": "Środowisko", "environment-required": "Środowisko jest wymagane.", "region-cn": "Chiny", @@ -3758,25 +5967,649 @@ "topic-name-required": "Nazwa tematu jest wymagana", "sub-name": "Nazwa subskrypcji", "sub-name-required": "Nazwa subskrypcji jest wymagana", - "downlink-connection-string": "Parametry połączenia łącza w dół", - "downlink-connection-string-required": "Parametry połączenia łącza w dół są wymagane", - "downlink-topic-name": "Nazwa tematu łącza w dół", - "downlink-topic-name-required": "Nazwa tematu łącza w dół jest wymagana", - "client-id-range": "Identyfikator klienta powinien zawierać się w zakresie od 1 do 23 znaków. ", - "client-id-pattern": "Identyfikator klienta powinien składać się z cyfr, wielkich i małych liter. ", - "existing-uplink-converter": "Wybierz istniejący konwerter danych łącza zwrotnego", - "new-uplink-converter": "Utwórz nowy konwerter danych łącza zwrotnego", - "existing-downlink-converter": "Wybierz istniejący konwerter danych łącza w dół", - "new-downlink-converter": "Utwórz nowy konwerter danych łącza w dół" + "downlink-connection-string": "Parametry połączenia downlink", + "downlink-connection-string-required": "Parametry połączenia downlink są wymagane", + "downlink-topic-name": "Nazwa tematu downlink", + "downlink-topic-name-required": "Nazwa tematu downlink jest wymagana" + }, + "scada": { + "symbols": "Symbole SCADA", + "search": "Szukaj symbolu", + "selected-symbols": "Wybrano { count, plural, =1 {1 symbol} one {# symbol} few {# symbole} other {# symboli} }", + "download-symbol": "Pobierz symbol SCADA", + "export-symbol": "Eksportuj symbol SCADA do pliku JSON", + "import-symbol": "Importuj symbol SCADA z pliku JSON", + "upload-symbol": "Prześlij symbol SCADA", + "update-symbol": "Aktualizuj symbol SCADA", + "edit-symbol": "Edytuj symbol SCADA", + "symbol-details": "Szczegóły symbolu SCADA", + "mode-svg": "SVG", + "mode-xml": "XML", + "no-symbols": "Nie znaleziono symboli", + "show-hidden-elements": "Pokaż ukryte elementy", + "hide-hidden-elements": "Ukryj ukryte elementy", + "delete-symbol": "Usuń symbol SCADA", + "delete-symbol-title": "Czy na pewno chcesz usunąć symbol SCADA „{{imageTitle}}”?", + "delete-symbol-text": "Uważaj, po potwierdzeniu symbolu SCADA nie będzie można odzyskać.", + "delete-symbols-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 symbol SCADA} one {# symbol SCADA} few {# symbole SCADA} other {# symboli SCADA} }?", + "delete-symbols-text": "Uważaj, po potwierdzeniu wszystkie wybrane symbole SCADA zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "include-system-symbols": "Uwzględnij symbole systemowe", + "symbol-preview": "Podgląd symbolu", + "general": "Ogólne", + "tags": "Tagi", + "properties": "Właściwości", + "title": "Tytuł", + "description": "Opis", + "search-tags": "Szukaj tagów", + "widget-size": "Rozmiar widżetu", + "cols": "kolumny", + "rows": "wiersze", + "state-render-function": "Funkcja renderowania stanu", + "preview": "Podgląd", + "preview-widget-action-text": "Pomyślnie wywołano akcję widżetu „{{type}}”!", + "no-symbol": "Brak symbolu SCADA", + "no-symbol-selected": "Nie wybrano symbolu SCADA", + "clear-symbol": "Wyczyść symbol SCADA", + "browse-symbol-from-gallery": "Wybierz symbol SCADA z galerii", + "zoom-in": "Powiększ", + "zoom-out": "Pomniejsz", + "create-widget": "Utwórz widżet", + "create-widget-from-symbol": "Utwórz widżet z symbolu SCADA", + "hidden": "ukryty", + "tag": { + "tag": "Tag", + "on-click-action": "Akcja po kliknięciu", + "no-tags": "Nie skonfigurowano tagów", + "delete-tag-text": "Czy na pewno chcesz usunąć tag
{{tag}} z elementu {{elementType}}?", + "update-tag": "Aktualizuj tag", + "enter-tag": "Wprowadź tag", + "tag-settings": "Ustawienia tagu", + "remove-tag": "Usuń tag", + "add-tag": "Dodaj tag" + }, + "behavior": { + "behavior": "Zachowanie", + "id": "ID", + "name": "Nazwa", + "type": "Typ", + "no-behaviors": "Nie skonfigurowano zachowań", + "add-behavior": "Dodaj zachowanie", + "type-action": "Akcja", + "type-value": "Wartość", + "type-widget-action": "Akcja widżetu", + "behavior-settings": "Ustawienia zachowania", + "remove-behavior": "Usuń zachowanie", + "hint": "Podpowiedź", + "group-title": "Tytuł grupy", + "value-type": "Typ wartości", + "default-value": "Domyślna wartość", + "true-label": "Etykieta wartości „Prawda”", + "false-label": "Etykieta wartości „Fałsz”", + "state-label": "Etykieta stanu", + "default-payload": "Domyślny ładunek", + "not-unique-behavior-ids-error": "Identyfikatory zachowań muszą być unikalne!", + "default-settings": "Domyślne ustawienia" + }, + "symbol": { + "symbol": "Symbol SCADA", + "fluid-presence": "Obecność płynu", + "fluid-presence-hint": "Wskazuje, czy w rurze jest płyn.", + "fluid-present": "Płyn obecny", + "present": "Obecny", + "absent": "Nieobecny", + "flow-presence": "Obecność przepływu", + "flow-presence-hint": "Wskazuje, czy płyn przepływa w rurze.", + "flow-present": "Przepływ obecny", + "flow-direction": "Kierunek przepływu", + "flow-direction-hint": "Wskazuje kierunek przepływu płynu.", + "forward": "Do przodu", + "reverse": "Do tyłu", + "flow-animation-speed": "Szybkość animacji przepływu", + "flow-animation-speed-hint": "Wartość typu double określająca szybkość animacji przepływu. 1 - normalna szybkość, 0 - brak animacji, < 1 - wolniejsza animacja, > 1 - szybsza animacja.", + "leak": "Wyciek", + "leak-hint": "Wskazuje, czy w rurze występuje wyciek.", + "leak-present": "Występuje wyciek", + "fluid-color": "Kolor płynu", + "pipe-color": "Kolor rury", + "horizontal-pipe": "Rura pozioma", + "vertical-pipe": "Rura pionowa", + "horizontal-fluid-color": "Kolor płynu w rurze poziomej", + "vertical-fluid-color": "Kolor płynu w rurze pionowej", + "left-pipe": "Lewa rura", + "right-pipe": "Prawa rura", + "top-pipe": "Górna rura", + "bottom-pipe": "Dolna rura", + "left-fluid-color": "Kolor płynu w lewej rurze", + "right-fluid-color": "Kolor płynu w prawej rurze", + "top-fluid-color": "Kolor płynu w górnej rurze", + "bottom-fluid-color": "Kolor płynu w dolnej rurze", + "display": "Wyświetlacz", + "display-format": "Format wyświetlania", + "value": "Wartość", + "decimals": "Miejsca dziesiętne", + "units": "Jednostki", + "flow-meter-value-hint": "Wartość zmiennoprzecinkowa wyświetlana na wyświetlaczu przepływomierza", + "value-hint": "Wartość zmiennoprzecinkowa określająca bieżącą wartość", + "running": "Praca", + "running-hint": "Wskazuje, czy komponent jest w stanie pracy.", + "warning-state": "Stan ostrzeżenia", + "warning": "Ostrzeżenie", + "warning-click": "Kliknięcie ostrzeżenia", + "warning-state-hint": "Wskazuje, czy komponent jest w stanie ostrzeżenia.", + "critical-state": "Stan krytyczny", + "critical": "Krytyczny", + "critical-click": "Kliknięcie stanu krytycznego", + "critical-state-hint": "Wskazuje, czy komponent jest w stanie krytycznym.", + "critical-state-animation": "Animacja stanu krytycznego", + "critical-state-animation-hint": "Określa, czy włączyć animację migania, gdy komponent jest w stanie krytycznym.", + "warning-critical-state-animation": "Animacja stanu ostrzeżenia/krytycznego", + "warning-critical-state-animation-hint": "Określa, czy włączyć animację migania, gdy komponent jest w stanie ostrzeżenia lub krytycznym.", + "animation": "Animacja", + "broken": "Uszkodzony", + "broken-hint": "Wskazuje, czy komponent jest uszkodzony.", + "on-display-click": "Po kliknięciu wyświetlacza", + "on-display-click-hint": "Akcja wywoływana, gdy użytkownik kliknie wyświetlacz.", + "pipe": "Rura", + "default-border-color": "Domyślny kolor obramowania", + "active-border-color": "Kolor aktywnego obramowania", + "warning-border-color": "Kolor obramowania ostrzeżenia", + "critical-border-color": "Kolor obramowania stanu krytycznego", + "background-color": "Kolor tła", + "rotation-animation-speed": "Prędkość animacji obrotu", + "rotation-animation-speed-hint": "Wartość zmiennoprzecinkowa określająca szybkość animacji obrotu. 1 - normalna szybkość, 0 - brak animacji, < 1 - wolniejsza animacja, > 1 - szybsza animacja.", + "on-click": "Po kliknięciu", + "on-click-hint": "Akcja wywoływana, gdy użytkownik kliknie komponent.", + "connectors-positions": "Położenie złączy", + "right-connector": "Prawe złącze", + "right-top-connector": "Prawe górne złącze", + "right-bottom-connector": "Prawe dolne złącze", + "left-connector": "Lewe złącze", + "left-top-connector": "Lewe górne złącze", + "left-bottom-connector": "Lewe dolne złącze", + "top-left-connector": "Górne lewe złącze", + "top-right-connector": "Górne prawe złącze", + "top-connector": "Górne złącze", + "bottom-connector": "Dolne złącze", + "running-color": "Kolor pracy", + "stopped-color": "Kolor zatrzymania", + "stopped": "Zatrzymany", + "warning-color": "Kolor ostrzeżenia", + "critical-color": "Kolor stanu krytycznego", + "opened": "Otwarty", + "opened-hint": "Wskazuje, czy komponent jest w stanie otwartym.", + "open": "Otwórz", + "open-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby otworzyć komponent.", + "close": "Zamknij", + "close-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby zamknąć komponent.", + "close-state-animation": "Animacja stanu zamkniętego", + "close-state-animation-hint": "Określa, czy włączyć animację migania, gdy komponent jest w stanie zamkniętym.", + "opened-color": "Kolor stanu otwartego", + "closed-color": "Kolor stanu zamkniętego", + "opened-rotation-angle": "Kąt obrotu w stanie otwartym", + "closed-rotation-angle": "Kąt obrotu w stanie zamkniętym", + "tank-capacity": "Pojemność zbiornika", + "tank-capacity-hint": "Wartość typu double określająca całkowitą pojemność zbiornika.", + "current-volume": "Bieżąca objętość", + "current-volume-hint": "Wartość typu double określająca bieżącą zajętą objętość.", + "tank-color": "Kolor zbiornika", + "value-box": "Pole wartości", + "value-text": "Tekst wartości", + "scale": "Skala", + "transparent-mode": "Tryb przezroczysty", + "major-ticks": "Główne znaczniki", + "intervals": "Interwały", + "major-ticks-color": "Kolor głównych znaczników", + "normal": "Normalny", + "minor-ticks": "Pomocnicze znaczniki", + "minor-ticks-color": "Kolor pomocniczych znaczników", + "temperature": "Temperatura", + "temperature-hint": "Wartość typu double określająca bieżącą temperaturę.", + "update-temperature": "Aktualizacja temperatury", + "update-temperature-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby zmienić bieżącą temperaturę.", + "run": "Uruchom", + "run-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby uruchomić komponent.", + "stop": "Zatrzymaj", + "stop-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby zatrzymać komponent.", + "temperature-step": "Krok zmiany temperatury", + "heat-pump-color": "Kolor pompy ciepła", + "power-button-background": "Tło przycisku zasilania", + "value-box-background": "Tło pola wartości", + "value-units": "Jednostki wartości", + "enable-units-scale": "Włącz jednostki na skali", + "filtration-mode": "Tryb filtracji", + "filtration-mode-hint": "Wartość całkowita wskazująca bieżący tryb filtracji.", + "filtration-mode-update": "Stan aktualizacji trybu filtracji", + "filtration-mode-update-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby zmienić bieżący tryb filtracji.", + "filter-mode": "Filtracja", + "waste-mode": "Spust", + "backwash-mode": "Płukanie wsteczne", + "recirculate-mode": "Cyrkulacja", + "rinse-mode": "Płukanie", + "closed-mode": "Zamknięty", + "sand-filter-color": "Kolor filtra piaskowego", + "mode-box-background": "Tło pola trybu", + "border-color": "Kolor obramowania", + "label-color": "Kolor etykiety", + "water-leak-hint": "Wskazuje, czy występuje wyciek.", + "default-color": "Domyślny kolor", + "leak-color": "Kolor wycieku", + "full-value": "Pełna wartość", + "full-value-hint": "Wartość typu double oznaczająca pełną wartość.", + "label": "Etykieta", + "icon": "Ikona", + "button-color": "Kolor przycisku", + "on-label": "Tekst etykiety „Włączony”", + "off-label": "Tekst etykiety „Wyłączony”", + "arrow-presence": "Obecność strzałki", + "arrow-presence-hint": "Wskazuje, czy w łączniku jest strzałka.", + "arrow-present": "Strzałka obecna", + "arrow-direction": "Kierunek przepływu", + "arrow-direction-hint": "Wskazuje kierunek przepływu.", + "flow-animation": "Obecność przepływu", + "flow-animation-hint": "Wskazuje, czy w łączniku płynie ciecz.", + "flow": "Przepływ", + "flow-line": "Linia", + "flow-line-style": "Styl linii", + "flow-style-hint": "Ustaw wartości kreski i odstępu tak, aby ich suma była podzielna przez 100 bez reszty, co zapewni idealną synchronizację animacji.", + "flow-dash-cap": "Zakończenie kreski", + "dash-cap-butt": "Płaskie", + "dash-cap-round": "Zaokrąglone", + "dash-cap-square": "Kwadratowe", + "dash": "Kreska", + "gap": "Odstęp", + "main-line": "Linia główna", + "line": "Linia", + "line-color": "Kolor linii", + "arrow-color": "Kolor strzałki", + "target-value": "Wartość docelowa", + "target-value-hint": "Wskazuje punkt docelowy na skali.", + "min-max-value": "Wartość min. i maks.", + "min-value": "Min.", + "max-value": "Maks.", + "progress-bar": "Pasek postępu", + "progress-arrow": "Strzałka postępu", + "warning-scale-color": "Kolor skali ostrzeżenia", + "critical-scale-color": "Kolor skali krytycznej", + "scale-color": "Kolor skali", + "target": "Cel", + "high-warning-state": "Stan wysokiego ostrzeżenia", + "show-high-warning-scale": "Pokaż skalę wysokiego ostrzeżenia", + "high-warning-scale": "Skala wysokiego ostrzeżenia", + "high-warning-state-hint": "Wartość typu double wskazuje zakres wysokiego ostrzeżenia aż do wysokiej wartości krytycznej lub wartości maks.", + "low-warning-state": "Niski stan ostrzegawczy", + "show-low-warning-scale": "Pokaż skalę niskiego stanu ostrzegawczego", + "low-warning-scale": "Skala niskiego stanu ostrzegawczego", + "low-warning-state-hint": "Wartość zmiennoprzecinkowa określa niski zakres ostrzegawczy aż do niskiej wartości krytycznej lub wartości minimalnej.", + "high-critical-state": "Wysoki stan krytyczny", + "show-high-critical-scale": "Pokaż skalę wysokiego stanu krytycznego", + "high-critical-scale": "Skala wysokiego stanu krytycznego", + "high-critical-state-hint": "Wartość zmiennoprzecinkowa określa wysoki zakres krytyczny aż do maksymalnej wartości skali.", + "low-critical-state": "Niski stan krytyczny", + "show-low-critical-scale": "Pokaż niski stan krytyczny", + "low-critical-scale": "Niski stan krytyczny", + "low-critical-state-hint": "Wartość zmiennoprzecinkowa określa niski zakres krytyczny aż do minimalnej wartości skali.", + "filter-color": "Kolor filtra", + "colors": "Kolory", + "indicator-colors": "Kolory wskaźnika", + "enabled": "Włączony", + "disabled": "Wyłączony", + "on": "WŁ.", + "off": "WYŁ.", + "on-off-state": "Stan wł./wył.", + "on-off-state-hint": "Wskazuje, czy komponent jest w stanie włączonym czy wyłączonym.", + "on-update-state": "Aktualizacja stanu na włączony", + "on-update-state-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby zmienić stan na włączony.", + "off-update-state": "Aktualizacja stanu na wyłączony", + "off-update-state-hint": "Akcja wywoływana, gdy użytkownik kliknie, aby zmienić stan na wyłączony.", + "voltage": "Napięcie", + "input-voltage": "Napięcie wejściowe", + "input-voltage-hint": "Wartość typu double wskazuje wartość napięcia wejściowego.", + "output-voltage": "Napięcie wyjściowe", + "output-voltage-hint": "Wartość typu double wskazuje wartość napięcia wyjściowego.", + "first-phase-voltage": "Napięcie pierwszej fazy", + "second-phase-voltage": "Napięcie drugiej fazy", + "third-phase-voltage": "Napięcie trzeciej fazy", + "phase-voltage-hint": "Wartość typu double wskazuje wartość napięcia bieżącej fazy", + "voltage-hint": "Wartość typu double wskazuje bieżące napięcie", + "current-voltage": "Bieżące napięcie", + "phase-indicator-color": "Kolor wskaźnika fazy", + "measured": "Zmierzone", + "measured-hint": "Wartość typu double wskazuje zużycie energii w kilowatogodzinach", + "day-rate": "Taryfa dzienna", + "night-rate": "Taryfa nocna", + "off-peak-rate": "Taryfa pozaszczytowa", + "peak-rate": "Taryfa szczytowa", + "export-rate": "Taryfa eksportowa", + "operating-mode": "Tryb pracy", + "bypass-mode": "Bypass", + "operating-mode-hint": "Wartość całkowita wskazująca bieżący tryb pracy (0 - OFF, 1 - ON, 2 - BYPASS)", + "connected": "Połączony", + "connected-hint": "Wskazuje, czy komponent jest w stanie połączonym.", + "disconnected": "Rozłączony", + "indicator": "Wskaźnik", + "operation-mode": "Tryb pracy", + "operation-mode-hint": "Wskazuje, czy falownik pracuje w trybie sieciowym, czy w trybie falownika.", + "operation-mode-indicators-color": "Kolor wskaźników trybu pracy", + "mains-on-mode": "Sieć włączona", + "inverter-on-mode": "Falownik włączony", + "charging-mode": "Tryb ładowania", + "charging-mode-hint": "Wartość całkowita wskazująca bieżący tryb ładowania (1 - Ładowanie główne, 2 - Absorpcja, 3 - Podtrzymanie)", + "charging-mode-indicators-color": "Kolor wskaźników trybu ładowania", + "inverter-faults": "Usterki", + "inverter-fault-indicators-color": "Kolor wskaźników usterek", + "overload-fault": "Przeciążenie", + "overload-fault-hint": "Wskazuje, czy falownik jest przeciążony.", + "low-battery-fault": "Niski poziom baterii", + "low-battery-fault-hint": "Wskazuje, czy bateria jest nadmiernie rozładowana.", + "temperature-fault": "Temperatura", + "temperature-fault-hint": "Wskazuje, czy w falowniku występuje wysoka temperatura.", + "triangle": "Trójkąt", + "socket": "Gniazdo", + "left-button": "Lewy przycisk", + "right-button": "Prawy przycisk", + "alarm-colors": "Kolory alarmów", + "hook-color": "Kolor haka" + } }, "item": { - "selected": "Wybrany" + "type-widget": "Widżet", + "type-widget-plural": "Widżety", + "type-solution-template": "Szablon rozwiązania", + "type-solution-template-plural": "Szablony rozwiązań", + "type-calculated-field": "Pole obliczeniowe", + "type-calculated-field-plural": "Pola obliczeniowe", + "type-alarm-rule": "Reguła alarmu", + "type-alarm-rule-plural": "Reguły alarmów", + "type-rule-chain": "Łańcuch reguł", + "type-rule-chain-plural": "Łańcuchy reguł", + "type-device": "Urządzenie", + "type-device-plural": "Urządzenia" }, - "js-func": { - "no-return-error": "Funkcja musi zwracać wartość!", - "return-type-mismatch": "Funkcja musi zwracać wartość '{{type}}' typ!", - "tidy": "Czysty", - "mini": "Mini" + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "Generuj losową wartość", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "Odkryj gotowe do użycia", + "and-devices": "& urządzenia", + "search-placeholder": "Szukaj w IoT Hub...", + "search": "Szukaj...", + "search-published-items": "Szukaj opublikowanych elementów...", + "see-all-results": "Zobacz wszystkie wyniki", + "see-all-results-for": "Zobacz wszystkie wyniki ({{ count }}) dla „{{ search }}”", + "see-results-for": "Zobacz wyniki dla „{{ search }}”", + "no-search-results": "Nie znaleziono wyników dla „{{ search }}”", + "no-items-available": "Brak dostępnych elementów", + "search-results": "Wyniki wyszukiwania", + "search-results-for": "Wyniki wyszukiwania dla ", + "try-adjusting-search": "Spróbuj zmienić kryteria wyszukiwania", + "add-widget-from-iot-hub": "Dodaj widżet z IoT Hub", + "all-widgets": "Wszystkie widżety", + "all-iot-hub-widgets": "Wszystkie widżety IoT Hub", + "installed-from-iot-hub": "Zainstalowano z IoT Hub", + "item-link-unavailable": "Element niedostępny", + "include-deprecated": "Uwzględnij przestarzałe", + "widget-category-value": "Widżety: {{ category }}", + "search-categories": "Szukaj kategorii...", + "search-in-category": "Szukaj widżetów...", + "search-bundles": "Szukaj pakietów...", + "search-widgets": "Szukaj widżetów...", + "add-item-from-iot-hub": "Dodaj z IoT Hub: {{ type }}", + "add-from-iot-hub": "Dodaj z IoT Hub", + "filters": "Filtry", + "type": "Typ", + "items-per-page": "Elementów na stronę", + "filter": "Filtr", + "clear-filters": "Wyczyść filtry", + "available": "Dostępne", + "items-page-desc-widgets": "Rozpocznij swoją przygodę z IoT dzięki wstępnie skonfigurowanym widżetom zaprojektowanym dla Twojej branży. Natychmiast wdrażaj sprawdzone architektury i skup energię na tym, co najważniejsze: na Twojej unikalnej logice biznesowej.", + "items-page-desc-solution-templates": "Kompletne pakiety rozwiązań IoT z pulpitami, łańcuchami reguł i konfiguracjami urządzeń. Zacznij od sprawdzonych architektur.", + "items-page-desc-calculated-fields": "Użyj wstępnie skonfigurowanych pól obliczeniowych, aby automatyzować złożone wskaźniki, takie jak efektywność paliwowa czy współczynnik mocy. Pomiń ręczne tworzenie logiki i utrzymuj pulpity przejrzyste i użyteczne.", + "items-page-desc-alarm-rules": "Użyj gotowych szablonów reguł alarmów, aby wykrywać krytyczne stany, takie jak niski poziom baterii, przekroczenie progów czy przejście urządzeń w tryb offline. Pomiń pisanie logiki reguł i reaguj na incydenty w chwili, gdy wystąpią.", + "items-page-desc-rule-chains": "Od zaawansowanego przetwarzania danych po płynne integracje z API: szablony łańcuchów reguł zapewniają fundament architektury potrzebny do skalowania bez budowania od zera.", + "items-page-desc-devices": "Przeglądaj bibliotekę urządzeń i znajdź wstępnie skonfigurowane szablony łączności, które wdrożysz w kilka minut, aby natychmiast podłączyć swój sprzęt.", + "device-library": "Biblioteka urządzeń", + "most-popular-in-iot-hub": "Najpopularniejsze w IoT Hub", + "upgrade-required-title": "Wymagane uaktualnienie platformy ThingsBoard", + "upgrade-required-message": "Ten element wymaga platformy ThingsBoard w wersji {{minVersion}} lub nowszej. Obecnie używasz wersji {{currentVersion}}. Uaktualnij swoją instancję, aby go zainstalować.", + "upgrade-instance": "Uaktualnij instancję", + "become-creator-text": "Prześlij swoje szablony do ThingsBoard IoT Hub, aby zdobyć wyróżnienie i zaprezentować swoje rozwiązania naszej globalnej społeczności.", + "contribute": "Współtwórz", + "creator-profile": "Profil twórcy", + "title-widgets": "Widżety", + "title-calculated-fields": "Pola obliczeniowe", + "title-alarm-rules": "Reguły alarmów", + "title-rule-chains": "Łańcuchy reguł", + "title-devices": "Urządzenia", + "title-solution-templates": "Szablony rozwiązań", + "subtitle-widgets": "Przeglądaj widżety społeczności do swoich pulpitów", + "subtitle-solution-templates": "Przeglądaj kompletne pakiety rozwiązań IoT", + "subtitle-calculated-fields": "Przeglądaj szablony pól obliczeniowych", + "subtitle-alarm-rules": "Przeglądaj szablony reguł alarmów", + "subtitle-rule-chains": "Przeglądaj szablony łańcuchów reguł", + "subtitle-devices": "Przeglądaj konfiguracje urządzeń", + "search-solution-templates": "Szukaj szablonów rozwiązań...", + "search-calculated-fields": "Szukaj pól obliczeniowych...", + "search-alarm-rules": "Szukaj reguł alarmów...", + "search-rule-chains": "Szukaj łańcuchów reguł...", + "search-devices": "Szukaj urządzeń...", + "sort-most-relevant": "Najtrafniejsze", + "sort-most-installed": "Najczęściej instalowane", + "sort-newest": "Najnowsze", + "sort-name": "Nazwa (A-Z)", + "type-filter-label": "Typ", + "verified-creators-only": "Tylko zweryfikowani twórcy", + "category": "Kategoria", + "use-case": "Zastosowanie", + "vendor": "Producent", + "view-setup-guide": "Wyświetl instrukcję konfiguracji", + "hardware-type": "Typ sprzętu", + "connectivity": "Łączność", + "clear-all-filters": "Wyczyść wszystkie filtry", + "clear-all": "Wyczyść wszystko", + "results-count": "Wyniki: {{count}}", + "unable-to-load": "Nie można załadować", + "unable-to-load-text": "Wystąpił problem podczas ładowania elementów. Spróbuj ponownie.", + "network-server-unavailable": "Sieć lub serwer niedostępne", + "network-server-unavailable-text": "Nie udało się połączyć z katalogiem. Spróbuj ponownie za chwilę.", + "try-again": "Spróbuj ponownie", + "retry": "Ponów", + "no-items-found": "Nie znaleziono elementów", + "no-items-found-text": "Spróbuj zmienić wyszukiwanie lub filtry.", + "no-widgets-found": "Nie znaleziono widżetów", + "browse-tip-prefix": "Nie możesz znaleźć tego, czego potrzebujesz?", + "browse-tip-link": "Przeglądaj IoT Hub", + "browse-tip-suffix": "w poszukiwaniu kolejnych widżetów.", + "creator": "Twórca", + "manage": "Zarządzaj", + "details": "Szczegóły", + "become-a-creator": "Zostań twórcą", + "back-to-iot-hub": "Wróć do IoT Hub", + "verified-creator": "Zweryfikowany twórca", + "published-items": "Opublikowane elementy", + "by-creator": "autor: {{name}}", + "installs": "instalacji", + "more": "więcej", + "categories": "Kategorie", + "use-cases": "Zastosowania", + "changelog": "Lista zmian", + "created-by": "Autor: {{name}}", + "install-confirm": "Czy chcesz zainstalować {{name}} v{{version}}?", + "install-confirm-title": "Czy chcesz zainstalować „{{name}}”?", + "install-desc": "Instalacja spowoduje automatyczne utworzenie i skonfigurowanie niezbędnych elementów w Twoim tenancie", + "install-success-desc": "Pomyślnie zainstalowano „{{name}}”", + "remove": "Usuń", + "remove-confirm-title": "Czy chcesz usunąć „{{name}}”?", + "remove-desc": "Usunięcie spowoduje również usunięcie zainstalowanego obiektu i powiązanych z nim elementów w Twoim tenancie", + "remove-desc-solution-template": "Usunięcie tego szablonu rozwiązania spowoduje również usunięcie wszystkich utworzonych obiektów, w tym pulpitów, łańcuchów reguł, urządzeń i innych powiązanych elementów w Twoim tenancie", + "remove-anyway": "Usuń mimo to", + "select-entity-for-cf": "Wybierz obiekt dla pola obliczeniowego „{{name}}”", + "select-entity-for-alarm-rule": "Wybierz obiekt dla reguły alarmu „{{name}}”", + "rule-chain-install-subtitle": "Instalacja automatycznie tworzy łańcuch reguł w Twoim tenancie. Opcjonalnie ustaw go jako domyślny dla profilu, aby obiekty tego profilu kierowały przez niego wiadomości.", + "rule-chain-set-as-profile-default-toggle": "Ustaw jako domyślny łańcuch reguł profilu", + "rule-chain-set-as-profile-default-tooltip": "Jeśli opcja jest włączona, wszystkie obiekty wybranego profilu będą kierować wiadomości przez ten łańcuch reguł.", + "rule-chain-overwrite-title": "Czy chcesz zastąpić istniejący domyślny łańcuch reguł?", + "rule-chain-overwrite-body": "Profil {{profile}} używa obecnie {{existing}} jako domyślnego łańcucha reguł. Instalacja zastąpi go tym łańcuchem reguł.", + "rule-chain-overwrite-replace": "Zastąp", + "install": "Zainstaluj", + "open": "Otwórz", + "built-in": "Wbudowany", + "built-in-lookup-failed-title": "Nie można sprawdzić tego komponentu", + "built-in-lookup-failed-text": "Nie udało się sprawdzić, czy „{{name}}” już istnieje w tej instancji. Nic nie zainstalowano — spróbuj ponownie.", + "built-in-missing-title": "Niedostępne w tej instancji", + "built-in-missing-text": "Element „{{name}}” jest standardowo dostarczany z platformą ThingsBoard, ale nie ma go w tej instancji — mógł zostać usunięty przez administratora systemu. Zamiast tego możesz go zainstalować z IoT Hub.", + "connect": "Połącz", + "connect-device": "Podłącz urządzenie", + "installing": "Instalowanie...", + "installing-title": "Instalowanie „{{name}}”", + "installed": "Zainstalowano", + "install-success": "Pomyślnie zainstalowano {{name}}", + "install-success-title": "Instalacja zakończona pomyślnie", + "install-success-message": "Pomyślnie zainstalowano „{{name}}” v{{version}}.", + "install-error": "Nie udało się zainstalować {{name}}", + "solution-install-title": "Szablon rozwiązania został pomyślnie zainstalowany", + "solution-instructions": "Instrukcje rozwiązania", + "goto-main-dashboard": "Przejdź do głównego pulpitu", + "install-error-title": "Instalacja nie powiodła się", + "install-error-message": "Nie udało się zainstalować „{{name}}”.", + "install-dependency-error": "Nie udało się zainstalować zależności „{{name}}”: {{error}}", + "install-plan-title": "Zainstaluj „{{name}}” wraz z zależnościami", + "install-plan-will-install": "Liczba elementów do zainstalowania: {{count}}.", + "install-plan-will-update": "Liczba elementów już zainstalowanych, które zostaną pominięte: {{count}}.", + "install-plan-missing-warning": "Liczba wymaganych elementów, których nie znaleziono w marketplace: {{count}}. „{{ name }}” może bez nich nie działać w pełni.", + "install-plan-status-will": "Do zainstalowania", + "install-plan-status-installed": "Już zainstalowano", + "install-plan-status-missing": "Brak", + "install-plan-confirm": "Zainstaluj", + "install-partial-title": "Zainstalowano z ostrzeżeniami", + "install-partial-desc": "Zainstalowano „{{name}}”, ale brakowało niektórych wymaganych elementów.", + "install-rollback-partial": "Niektórych elementów zainstalowanych przed wystąpieniem błędu nie udało się usunąć automatycznie i może być konieczne ich ręczne usunięcie.", + "check-for-updates": "Sprawdź aktualizacje", + "updates": "Aktualizacje", + "up-to-date": "Aktualne", + "update": "Aktualizuj", + "update-to-version": "Aktualizuj do v {{ version }}", + "update-item-title": "Aktualizuj element", + "update-confirm": "Czy zaktualizować „{{name}}” do wersji {{version}}?", + "update-confirm-title": "Czy zaktualizować „{{name}}”?", + "update-desc": "Aktualizacja zastąpi bieżącą wersję najnowszą i ponownie skonfiguruje powiązane obiekty w Twoim tenancie", + "update-desc-solution-template": "Aktualizacja tego szablonu rozwiązania usunie i ponownie utworzy wszystkie utworzone przez niego obiekty, w tym pulpity, łańcuchy reguł, urządzenia i inne powiązane obiekty w Twoim tenancie. Wszystkie wprowadzone w nich zmiany zostaną utracone", + "update-success-desc": "Pomyślnie zaktualizowano „{{name}}”", + "updating": "Aktualizowanie...", + "update-success-title": "Aktualizacja zakończona pomyślnie", + "update-success-message": "Zaktualizowano „{{name}}” do wersji {{version}}.", + "entity-modified-title": "Zmodyfikowano obiekt", + "entity-modified-text": "Obiekt typu {{type}} został zmodyfikowany lokalnie. Czy nadal chcesz go zaktualizować?", + "update-error-title": "Aktualizacja nie powiodła się", + "update-error-message": "Nie udało się zaktualizować „{{name}}”.", + "update-error": "Nie udało się zaktualizować {{name}}", + "most-popular": "Najpopularniejsze", + "all": "Wszystkie", + "installed-items": "Zainstalowane elementy", + "installed-items-for": "Zainstalowane elementy dla „{{name}}”", + "search-installed-items": "Szukaj zainstalowanych elementów...", + "item-name": "Nazwa", + "item-type": "Typ", + "item-version": "Wersja", + "installed-date": "Zainstalowano", + "no-installed-items": "Nie znaleziono zainstalowanych elementów", + "no-installed-items-text": "Spróbuj zmienić wyszukiwanie lub filtry.", + "remove-installed-item-title": "Usuń zainstalowany element", + "remove-installed-item-text": "Czy na pewno chcesz usunąć „{{name}}”? Zainstalowany obiekt również zostanie usunięty.", + "installed-item-removed": "Usunięto „{{name}}”", + "installed-item-remove-error": "Nie udało się usunąć „{{name}}”", + "open-installed-entity": "Otwórz zainstalowany obiekt", + "view-item-details": "Wyświetl szczegóły elementu", + "review-device-instructions": "Przejrzyj instrukcje dotyczące urządzenia", + "open-item-type": "Otwórz: {{type}}", + "back-to-marketplace": "Wróć do Marketplace", + "device-install-select-connectivity": "Wybierz metodę połączenia dla swojego urządzenia", + "connection-method": "Metoda połączenia", + "step-prerequisites": "Wymagania wstępne", + "step-configuration": "Konfiguracja", + "step-provisioning": "Aprowizacja", + "device-install-step-error": "Niepowodzenie", + "device-install-step-pending": "Oczekuje", + "device-install-step-running": "Tworzenie...", + "device-install-step-success": "Utworzono", + "device-install-step-type-DASHBOARD": "Pulpit", + "device-install-step-type-DEVICE": "Urządzenie", + "device-install-step-type-DEVICE_PROFILE": "Profil urządzenia", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Konektor Gateway", + "device-install-step-type-RULE_CHAIN": "Łańcuch reguł", + "device-install-step-type-UPLINK_CONVERTER": "Konwerter uplink", + "device-install-step-type-DOWNLINK_CONVERTER": "Konwerter downlink", + "device-install-step-type-INTEGRATION": "Integracja", + "use-secret": "Użyj sekretu", + "use-plain-text": "Użyj zwykłego tekstu", + "device-install-conflict-exists": "{{type}} o tej nazwie już istnieje", + "device-install-use-existing": "Użyj istniejącego", + "device-install-overwrite": "Nadpisz", + "device-install-create-copy": "Utwórz kopię", + "device-install-resolution-created": "Utworzono", + "device-install-resolution-use-existing": "Użyto istniejącego", + "device-install-resolution-overwrite": "Nadpisano", + "device-install-resolution-create-copy": "Utworzono kopię", + "device-install-title": "Połącz „{{name}}”", + "device-installing-title": "Instalowanie „{{name}}”", + "done": "Gotowe", + "in-progress": "W toku", + "item-detail": "Element IoT Hub", + "unpublished-warning-title": "Nieopublikowana zawartość", + "unpublished-warning-text": "To jest podgląd nieopublikowanej zawartości. Nie została ona sprawdzona przez IoT Hub. Instalowanie niezweryfikowanej zawartości może stwarzać zagrożenia dla bezpieczeństwa i stabilności — kontynuuj tylko wtedy, gdy ufasz twórcy.", + "unpublished-warning-confirm": "Rozumiem ryzyko, kontynuuj", + "unpublished-preview": "Nieopublikowany podgląd", + "deep-link-invalid-id": "Nieprawidłowy link do elementu IoT Hub.", + "deep-link-not-found": "Ten element IoT Hub nie istnieje lub został usunięty.", + "deep-link-fetch-failed": "Nie udało się załadować elementu IoT Hub. Spróbuj ponownie.", + "export-to-iot-hub": "Eksportuj do IoT Hub" + }, + "item-data": { + "widget-type-timeseries": "Szereg czasowy", + "widget-type-latest": "Najnowsze", + "widget-type-rpc": "Sterowanie", + "widget-type-alarm": "Alarm", + "widget-type-static": "Statyczny", + "cf-type-simple": "Prosty", + "cf-type-script": "Skrypt", + "cf-type-geofencing": "Geofencing", + "cf-type-alarm": "Alarm", + "cf-type-propagation": "Propagacja", + "cf-type-related-entities-aggregation": "Agregacja powiązanych obiektów", + "cf-type-entity-aggregation": "Agregacja obiektu", + "rule-chain-type-core": "Podstawowy", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "Wzbogacanie", + "node-type-filter": "Filtr", + "node-type-transformation": "Transformacja", + "node-type-action": "Akcja", + "node-type-analytics": "Analityka", + "node-type-external": "Zewnętrzne", + "node-type-flow": "Przepływ", + "node-type-unknown": "Nieznany" + }, + "js-func": { + "no-return-error": "Funkcja musi zwracać wartość!", + "return-type-mismatch": "Funkcja musi zwracać wartość typu „{{type}}”!", + "tidy": "Uporządkuj", + "mini": "Minifikuj", + "modules": "Moduły", + "remove-module": "Usuń moduł", + "no-modules": "Nie skonfigurowano modułów", + "add-module": "Dodaj moduł", + "module-alias": "Alias", + "invalid-module-alias-name": "Nieprawidłowa nazwa aliasu", + "module-resource": "Plik modułu JS", + "not-unique-module-aliases-error": "Aliasy modułów muszą być unikalne!", + "show-module-info": "Pokaż informacje o module", + "show-module-source-code": "Pokaż kod źródłowy modułu", + "module-members": "Elementy modułu", + "module-no-members": "Moduł nie ma eksportowanych elementów", + "module-load-error": "Błąd ładowania modułu", + "source-code": "Kod źródłowy", + "source-code-load-error": "Błąd ładowania kodu źródłowego", + "no-js-module-text": "Nie znaleziono modułów JS", + "no-js-module-matching": "Nie znaleziono modułów JS pasujących do „{{module}}”." }, "key-val": { "key": "Klucz", @@ -3786,9 +6619,11 @@ "no-data": "Brak wpisów" }, "layout": { + "switch-to-html-page-title": "Przełączyć na stronę HTML?", + "switch-to-html-page-text": "Strona HTML zastępuje siatkę widżetów tego stanu. { count, plural, one {# widżet umieszczony w jego układach zostanie usunięty} few {# widżety umieszczone w jego układach zostaną usunięte} other {# widżetów umieszczonych w jego układach zostanie usuniętych} } z tego stanu.", "layout": "Układ", - "layouts": "Layouts", - "manage": "Zarządzaj układem panelu", + "layouts": "Układy", + "manage": "Zarządzaj układami", "settings": "Ustawienia układu", "color": "Kolor", "main": "Główny", @@ -3799,26 +6634,33 @@ "fixed-width": "Stała szerokość (px)", "left-width": "Lewa kolumna (%)", "right-width": "Prawa kolumna (%)", - "pick-fixed-side": "Naprawiono stronę: ", + "pick-fixed-side": "Stała strona: ", "layout-fixed-width": "Stała szerokość (px)", - "value-min-error": "Wartość musi być zatem większa {{min}}{{unit}}", - "value-max-error": "Wartość musi być wtedy mniejsza {{max}}{{unit}}", + "value-min-error": "Wartość musi być większa niż {{min}}{{unit}}", + "value-max-error": "Wartość musi być mniejsza niż {{max}}{{unit}}", "layout-fixed-width-required": "Stała szerokość jest wymagana", - "right-width-percentage-required": "Odpowiedni procent jest wymagany", - "left-width-percentage-required": "Lewy procent jest wymagany", - "divider": "Rozdziel panel", + "right-width-percentage-required": "Procent prawej kolumny jest wymagany", + "left-width-percentage-required": "Procent lewej kolumny jest wymagany", + "divider": "Podział", "right-side": "Układ prawej strony", - "left-side": "Układ lewej strony" + "left-side": "Układ lewej strony", + "add-new-breakpoint": "Dodaj nowy punkt przełamania", + "breakpoint": "Punkt przełamania", + "breakpoints": "Punkty przełamania", + "copy-from": "Kopiuj z", + "size": "Rozmiar", + "delete-breakpoint-title": "Czy na pewno chcesz usunąć punkt przełamania „{{name}}”?", + "delete-breakpoint-text": "Uwaga: po potwierdzeniu nie będzie można przywrócić punktu przełamania, a ustawienia powrócą do domyślnego punktu przełamania." }, "legend": { "direction": "Kierunek legendy", "position": "Pozycja legendy", - "show-values": "Show values", - "min-option": "Min", - "max-option": "Max", - "average-option": "Average", - "total-option": "Total", - "latest-option": "Latest", + "show-values": "Pokaż wartości", + "min-option": "Min.", + "max-option": "Maks.", + "average-option": "Średnia", + "total-option": "Razem", + "latest-option": "Najnowsza", "sort-legend": "Sortuj klucze danych w legendzie", "show-max": "Pokaż wartość maksymalną", "show-min": "Pokaż wartość minimalną", @@ -3827,10 +6669,15 @@ "show-latest": "Pokaż najnowszą wartość", "settings": "Ustawienia legendy", "min": "min", - "max": "maks", - "avg": "śr", - "total": "całkowity", + "max": "maks.", + "avg": "śr.", + "total": "razem", "latest": "najnowszy", + "Min": "Min.", + "Max": "Maks.", + "Avg": "Śr.", + "Total": "Razem", + "Latest": "Najnowsze", "comparison-time-ago": { "previousInterval": "(poprzedni interwał)", "customInterval": "(interwał niestandardowy)", @@ -3838,186 +6685,415 @@ "weeks": "(tydzień temu)", "months": "(miesiąc temu)", "years": "(rok temu)" - } + }, + "column-title": "Tytuł kolumny", + "label": "Etykieta", + "value": "Wartość" }, "login": { - "login": "Zaloguj sie", + "login": "Zaloguj się", "request-password-reset": "Poproś o zresetowanie hasła", "reset-password": "Zresetuj hasło", - "create-password": "Stwórz hasło", + "create-password": "Utwórz hasło", "two-factor-authentication": "Uwierzytelnianie dwuskładnikowe", "passwords-mismatch-error": "Wpisane hasła muszą być takie same!", "password-again": "Hasło ponownie", + "sign-in": "Zaloguj się", "username": "Nazwa użytkownika (e-mail)", "remember-me": "Zapamiętaj mnie", - "forgot-password": "Zapomniałeś hasła?", - "password-reset": "Resetowania hasła", - "expired-password-reset-message": "Twoje dane uwierzytelniające wygasły! ", + "forgot-password": "Nie pamiętasz hasła?", + "password-reset": "Resetowanie hasła", + "expired-password-reset-message": "Twoje hasło wygasło!\nWprowadź nowe hasło.", "new-password": "Nowe hasło", "new-password-again": "Potwierdź nowe hasło", "password-link-sent-message": "Link resetujący został wysłany", "email": "E-mail", + "invalid-email-format": "Nieprawidłowy format adresu e-mail.", "no-account": "Nie masz konta?", "create-account": "Utwórz konto", - "login-with": "Zaloguj się z {{name}}", - "or": "Lub", + "sign-in-with": "Zaloguj się przez {{name}}", + "sign-in-to-your-account": "Zaloguj się na swoje konto", + "or": "lub", "error": "Błąd logowania", - "verify-your-identity": "Zweryfikować Twoją tożsamość", + "verify-your-identity": "Zweryfikuj swoją tożsamość", "select-way-to-verify": "Wybierz sposób weryfikacji", "resend-code": "Wyślij kod ponownie", - "resend-code-wait": "Wyślij kod ponownie za { time, plural, =1 {1 sekunda} other { # sekundy } }", + "resend-code-wait": "Wyślij kod ponownie za { time, plural, =1 {1 sekundę} one {# sekundę} few {# sekundy} many {# sekund} other {# sekundy} }", "try-another-way": "Spróbuj w inny sposób", "totp-auth-description": "Wprowadź kod zabezpieczający z aplikacji uwierzytelniającej.", "totp-auth-placeholder": "Kod", - "sms-auth-description": "Kod zabezpieczający został wysłany na Twój telefon pod adresem {{contact}}.", + "sms-auth-description": "Kod zabezpieczający został wysłany na Twój numer telefonu {{contact}}.", "sms-auth-placeholder": "Kod SMS", - "email-auth-description": "Kod zabezpieczający został wysłany na Twój adres e-mail pod adresem {{contact}}.", + "email-auth-description": "Kod zabezpieczający został wysłany na Twój adres e-mail {{contact}}.", "email-auth-placeholder": "Kod e-mail", "backup-code-auth-description": "Wprowadź jeden ze swoich kodów zapasowych.", - "backup-code-auth-placeholder": "Kod zapasowy" + "backup-code-auth-placeholder": "Kod zapasowy", + "version-mask": "{{name}} v.{{version}}", + "activation-link-expired": "Link aktywacyjny wygasł", + "activation-link-expired-message": "Link do aktywacji Twojego profilu wygasł. Możesz wrócić do strony logowania, aby otrzymać nowy e-mail.", + "reset-password-link-expired": "Link do resetowania hasła wygasł", + "reset-password-link-expired-message": "Link do resetowania Twojego hasła wygasł. Możesz wrócić do strony logowania, aby otrzymać nowy e-mail.", + "two-fa": "Uwierzytelnianie dwuskładnikowe", + "two-fa-required": "Uwierzytelnianie dwuskładnikowe jest wymagane", + "set-up-verification-method": "Skonfiguruj metodę weryfikacji, aby kontynuować", + "set-up-verification-method-login": "Skonfiguruj metodę weryfikacji lub zaloguj się", + "enable-authenticator-app": "Włącz aplikację uwierzytelniającą", + "enable-authenticator-app-description": "Wprowadź kod zabezpieczający z Twojej aplikacji uwierzytelniającej", + "enable-authenticator-sms": "Włącz uwierzytelnianie SMS", + "enable-authenticator-sms-description": "Wprowadź 6-cyfrowy kod, który właśnie wysłaliśmy na ", + "enable-authenticator-email": "Włącz uwierzytelnianie e-mail", + "enable-authenticator-email-description": "Kod zabezpieczający został wysłany na Twój adres e-mail ", + "enter-key-manually": "lub wprowadź ręcznie ten 32-cyfrowy klucz:", + "continue": "Kontynuuj", + "confirm": "Potwierdź", + "authenticator-app-success": "Aplikacja uwierzytelniająca została pomyślnie włączona", + "authenticator-app-success-description": "Przy następnym logowaniu konieczne będzie podanie kodu uwierzytelniania dwuskładnikowego", + "authenticator-sms-success": "Uwierzytelnianie SMS zostało pomyślnie włączone", + "authenticator-sms-success-description": "Przy następnym logowaniu pojawi się prośba o wprowadzenie kodu zabezpieczającego, który zostanie wysłany na numer telefonu", + "authenticator-email-success": "Uwierzytelnianie e-mail zostało pomyślnie włączone", + "authenticator-email-success-description": "Przy następnym logowaniu pojawi się prośba o wprowadzenie kodu zabezpieczającego, który zostanie wysłany na Twój adres e-mail", + "authenticator-backup-code-success": "Kod zapasowy został pomyślnie włączony", + "authenticator-backup-code-success-description": "Przy następnym logowaniu pojawi się prośba o wprowadzenie kodu zabezpieczającego lub użycie jednego z kodów zapasowych.", + "add-verification-method": "Dodaj metodę weryfikacji", + "get-backup-code": "Uzyskaj kod zapasowy", + "copy-key": "Kopiuj klucz", + "send-code": "Wyślij kod", + "email-label": "E-mail", + "email-description": "Wprowadź adres e-mail, który posłuży jako metoda uwierzytelniania.", + "sms-description": "Wprowadź numer telefonu, który posłuży jako metoda uwierzytelniania.", + "backup-code-description": "Wydrukuj kody, aby mieć je pod ręką, gdy będą potrzebne do zalogowania się na konto. Każdego kodu zapasowego możesz użyć tylko raz.", + "backup-code-warn": "Po opuszczeniu tej strony nie będzie można ponownie wyświetlić tych kodów. Przechowuj je w bezpiecznym miejscu, korzystając z poniższych opcji.", + "download-txt": "Pobierz (txt)", + "print": "Drukuj", + "verification-code": "6-cyfrowy kod", + "verification-code-invalid": "Nieprawidłowy format kodu weryfikacyjnego", + "verification-code-incorrect": "Kod weryfikacyjny jest nieprawidłowy", + "verification-code-many-request": "Zbyt wiele żądań sprawdzenia kodu weryfikacyjnego", + "scan-qr-code": "Zeskanuj ten kod QR w aplikacji weryfikacyjnej", + "phone-input": { + "phone-input-label": "Numer telefonu", + "phone-input-required": "Numer telefonu jest wymagany", + "phone-input-validation": "Numer telefonu jest nieprawidłowy lub niemożliwy", + "phone-input-pattern": "Nieprawidłowy numer telefonu. Wymagany format E.164, np. {{phoneNumber}}", + "phone-input-hint": "Numer telefonu w formacie E.164, np. {{phoneNumber}}" + } }, "signup": { "firstname": "Imię", "lastname": "Nazwisko", "email": "E-mail", - "signup": "Zapisz się", - "create-password": "Stwórz hasło", + "signup": "Zarejestruj się", + "create-password": "Utwórz hasło", "repeat-password": "Powtórz swoje hasło", "have-account": "Posiadasz już konto?", "signin": "Zaloguj się", "no-captcha-message": "Musisz potwierdzić, że nie jesteś robotem", "password-length-message": "Twoje hasło musi mieć co najmniej 6 znaków", "email-verification": "Weryfikacja adresu e-mail", - "email-verification-message": "Na podany adres e-mail została wysłana wiadomość e-mail zawierająca szczegóły weryfikacji.
Aby dokończyć procedurę rejestracji, postępuj zgodnie z instrukcjami zawartymi w wiadomości e-mail.
Uwaga: jeśli nie widziałeś wiadomości e-mail przez jakiś czas, sprawdź folder „spam” lub spróbuj wysłać wiadomość ponownie, klikając przycisk „Wyślij ponownie”.", + "email-verification-message": "Na podany adres e-mail została wysłana wiadomość e-mail zawierająca szczegóły weryfikacji.
Aby dokończyć procedurę rejestracji, postępuj zgodnie z instrukcjami zawartymi w wiadomości e-mail.
Uwaga: jeśli wiadomość e-mail długo nie dociera, sprawdź folder „spam” lub spróbuj wysłać wiadomość ponownie, klikając przycisk „Wyślij ponownie”.", "account-activation-title": "Aktywacja konta", "account-activated": "Konto zostało pomyślnie aktywowane!", "account-activated-text": "Gratulacje!
Twoje konto zostało aktywowane.", "resend": "Wyślij ponownie", "inactive-user-exists-title": "Nieaktywny użytkownik już istnieje", "inactive-user-exists-text": "Istnieje już zarejestrowany użytkownik z niezweryfikowanym adresem e-mail.
Kliknij przycisk „Wyślij ponownie”, jeśli chcesz ponownie wysłać wiadomość weryfikacyjną.", - "activating-account": "Aktywuję konto...", - "activating-account-text": "Twoje konto jest obecnie aktywowane. Czekaj...", + "activating-account": "Aktywowanie konta...", + "activating-account-text": "Trwa aktywacja Twojego konta. Czekaj...", "accept-privacy-policy": "Zaakceptuj Politykę prywatności", "accept": "Akceptuj", + "and": "i", "privacy-policy": "Polityka prywatności", "accept-privacy-policy-message": "Musisz zaakceptować naszą Politykę prywatności", "recaptcha-title": "reCAPTCHA", "terms-of-use": "Warunki użytkowania", - "accept-terms-of-use-message": "Musisz zaakceptować nasze Warunki użytkowania" + "accept-terms-of-use-message": "Musisz zaakceptować nasze Warunki użytkowania", + "accept-privacy-policy-and-terms-of-use-message": "Musisz zaakceptować naszą Politykę prywatności i Warunki użytkowania", + "firstname-max-length": "Imię powinno mieć mniej niż 256 znaków", + "lastname-max-length": "Nazwisko powinno mieć mniej niż 256 znaków", + "firstname-required": "Imię jest wymagane", + "lastname-required": "Nazwisko jest wymagane" + }, + "mobile": { + "add-application": "Dodaj aplikację", + "app-id": "ID App Site Association", + "app-id-required": "ID App Site Association jest wymagany", + "app-id-pattern": "Nieprawidłowy format ID App Site Association", + "app-store-link": "Link do App Store", + "app-store-link-required": "Link do App Store jest wymagany", + "application-details": "Szczegóły aplikacji", + "application-package": "Pakiet aplikacji", + "application-secret": "Klucz tajny aplikacji", + "application-secret-required": "Klucz tajny aplikacji jest wymagany", + "application": "Aplikacja", + "applications": "Aplikacje", + "copy-app-id": "Kopiuj ID aplikacji", + "copy-app-store-link": "Kopiuj link do App Store", + "copy-application-package": "Kopiuj pakiet aplikacji", + "copy-application-secret": "Kopiuj klucz tajny aplikacji", + "copy-google-play-link": "Kopiuj link do Google Play", + "copy-sha256-certificate-fingerprints": "Kopiuj odciski palca certyfikatu SHA256", + "delete-application": "Usuń aplikację", + "delete-application-button-text": "Rozumiem konsekwencje, usuń aplikację", + "delete-application-text": "Tej akcji nie można cofnąć. Spowoduje to trwałe usunięcie Twojej aplikacji.
Jeśli nie chcesz usuwać jej trwale, możesz tymczasowo zawiesić aplikację.
Aby mimo to usunąć aplikację, wpisz „{{phrase}}” w celu potwierdzenia.", + "delete-application-title-short": "Czy na pewno chcesz usunąć aplikację „{{name}}”?", + "delete-application-text-short": "Uważaj, po potwierdzeniu aplikacje i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-application-phrase": "usuń aplikację", + "delete-applications-bundle-text": "Uważaj, po potwierdzeniu pakiet mobilny i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-applications-bundle-title": "Czy na pewno chcesz usunąć pakiet mobilny „{{bundleName}}”?", + "generate-application-secret": "Wygeneruj klucz tajny aplikacji", + "google-play-link": "Link do Google Play", + "google-play-link-required": "Link do Google Play jest wymagany", + "latest-version": "Najnowsza wersja", + "min-version": "Minimalna wersja", + "invalid-version-pattern": "Nieprawidłowy format wersji. Użyj formatu: major.minor.patch (np. 1.0.0).", + "mobile-center": "Centrum mobilne", + "mobile-apps": "Aplikacje mobilne", + "mobile-package": "Pakiet aplikacji", + "mobile-package-max-length": "Pakiet aplikacji powinien mieć mniej niż 256 znaków", + "mobile-package-required": "Pakiet aplikacji jest wymagany.", + "mobile-package-pattern": "Nieprawidłowy format pakietu aplikacji", + "mobile-package-title": "Tytuł aplikacji", + "mobile-package-title-max-length": "Tytuł aplikacji powinien mieć mniej niż 256 znaków", + "no-application": "Nie znaleziono aplikacji", + "no-bundles": "Nie znaleziono pakietów", + "platform-type": "Typ platformy", + "search-application": "Szukaj aplikacji", + "search-bundles": "Szukaj pakietów", + "set": "Ustaw", + "sha256-certificate-fingerprints": "Odciski palca certyfikatu SHA256", + "sha256-certificate-fingerprints-required": "Odciski palca certyfikatu SHA256 są wymagane", + "sha256-certificate-fingerprints-pattern": "Nieprawidłowy format odcisku palca certyfikatu SHA256", + "show-hidden-pages": "Pokaż ukryte strony", + "status": "Status", + "status-type": { + "deprecated": "Przestarzała", + "draft": "Wersja robocza", + "published": "Opublikowana", + "suspended": "Zawieszona" + }, + "store-information": "Informacje o sklepie", + "version-information": "Informacje o wersji", + "min-version-release-notes": "Informacje o wydaniu wersji minimalnej", + "latest-version-release-notes": "Informacje o wydaniu najnowszej wersji", + "bundle": "Pakiet", + "bundles": "Pakiety", + "add-bundle": "Dodaj pakiet", + "title": "Tytuł", + "title-required": "Tytuł jest wymagany", + "title-cannot-contain-only-spaces": "Tytuł nie może zawierać wyłącznie spacji", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", + "oauth-clients": "Klienci OAuth 2.0", + "android-app": "Aplikacja Android", + "android-application": "Aplikacja Android", + "ios-app": "Aplikacja iOS", + "ios-application": "Aplikacja iOS", + "invalid-store-link": "Nieprawidłowy link do sklepu", + "enable-oauth": "Włącz OAuth 2.0", + "enable-self-registration": "Włącz samodzielną rejestrację", + "edit-bundle": "Edytuj pakiet", + "description": "Opis", + "basic-settings": "Ustawienia podstawowe", + "no-application-matching": "Nie znaleziono aplikacji pasujących do „{{entity}}”.", + "no-bundle-matching": "Nie znaleziono pakietów pasujących do „{{entity}}”.", + "application-required": "Aplikacja jest wymagana.", + "bundle-required": "Pakiet jest wymagany.", + "no-application-text": "Nie znaleziono aplikacji", + "no-bundle-text": "Nie znaleziono pakietów", + "layout": "Układ", + "pages": "Strony", + "hide-all-pages": "Ukryj wszystkie strony", + "reset-to-default-pages": "Resetuj do domyślnych stron", + "add-specific-page": "Dodaj określoną stronę", + "visible": "Widoczna", + "hidden": "Ukryta", + "reset-to-page-default": "Resetuj stronę do ustawień domyślnych", + "mobile-599": "Telefon (maks. 599px)", + "tablet-959": "Tablet (maks. 959px)", + "max-element-number": "Maks. liczba elementów", + "page-name": "Nazwa strony", + "page-name-required": "Nazwa strony jest wymagana.", + "page-name-cannot-contain-only-spaces": "Nazwa strony nie może zawierać wyłącznie spacji.", + "page-name-max-length": "Nazwa strony powinna mieć mniej niż 256 znaków", + "page-type": "Typ strony", + "pages-types": { + "dashboard": "Pulpit", + "web-view": "Widok WWW", + "custom": "Niestandardowa" + }, + "url": "URL", + "invalid-url-format": "Nieprawidłowy format URL", + "path": "Ścieżka", + "invalid-path-format": "Nieprawidłowy format ścieżki", + "custom-page": "Strona niestandardowa", + "edit-page": "Edytuj stronę", + "edit-custom-page": "Edytuj stronę niestandardową", + "delete-page": "Usuń stronę", + "qr-code-widget": "Widżet kodu QR", + "type-here": "Wpisz tutaj", + "configuration-dialog": "Okno dialogowe konfiguracji", + "configuration-app": "Konfiguracja aplikacji", + "configuration-step": { + "prepare-environment-title": "Przygotuj środowisko programistyczne", + "prepare-environment-text": "Aplikacja mobilna Flutter ThingsBoard wymaga Flutter SDK. Postępuj zgodnie z instrukcjami, aby skonfigurować Flutter SDK.", + "get-source-code-title": "Pobierz kod źródłowy aplikacji", + "get-source-code-text": "Kod źródłowy aplikacji mobilnej Flutter ThingsBoard możesz pobrać, klonując go z repozytorium GitHub:", + "configure-app-settings-title": "Skonfiguruj ustawienia aplikacji", + "configure-app-settings-text": "Pobierz plik konfiguracyjny i umieść go w katalogu głównym projektu sklonowanego w poprzednim kroku.", + "download-file": "Pobierz plik", + "run-app-title": "Uruchom aplikację", + "run-app-text": "Uruchom aplikację zgodnie z opisem w Twoim IDE.\nJeśli używasz terminala, uruchom aplikację za pomocą następującego polecenia:", + "more-information": "Szczegółowe informacje znajdziesz w naszej dokumentacji „Pierwsze kroki”.", + "getting-started": "Pierwsze kroki" + }, + "self-registration": { + "add-field": "Dodaj pole", + "advanced-settings": "Zaawansowane ustawienia", + "captcha-properties": "Właściwości CAPTCHA", + "customer-group": "Grupa klientów", + "customer-title-prefix": "Prefiks tytułu klienta", + "field-type": "Typ pola", + "label": "Etykieta", + "no-customer-groups-matching": "Nie znaleziono grup klientów pasujących do „{{entityGroup}}”.", + "page-title": "Tytuł strony", + "page-title-required": "Tytuł strony jest wymagany.", + "page-title-cannot-contain-only-spaces": "Tytuł strony nie może zawierać wyłącznie spacji", + "page-title-max-length": "Tytuł strony powinien mieć mniej niż 256 znaków", + "redirect-settings": "Ustawienia przekierowania", + "registration-form-field": "Pola formularza rejestracji", + "remove-registration-field": "Usuń pole rejestracji", + "required": "Wymagane", + "self-registration": "Samodzielna rejestracja", + "reset-self-registration-title": "Czy na pewno chcesz zresetować ustawienia samodzielnej rejestracji do domyślnych?", + "reset-self-registration-text": "Uwaga, po potwierdzeniu wszystkie ustawienia zostaną utracone i nie będzie można ich odzyskać." + } + }, + "monitor": { + "monitor": "Monitor" }, "notification": { "ai-assistant-initial-prompt-placeholder": "Opisz, co chcesz skonfigurować...", "ai-assistant-example-explain-label": "Jak działają powiadomienia", "ai-assistant-example-explain-message": "Wyjaśnij, jak działają powiadomienia w ThingsBoard.", - "ai-assistant-example-inactivity-label": "E-mail o offline urządzenia", + "ai-assistant-example-inactivity-label": "E-mail o urządzeniu offline", "ai-assistant-example-inactivity-message": "Utwórz regułę powiadomień, która wyśle mi e-mail, gdy jedno z moich urządzeń stanie się nieaktywne.", "action-button": "Przycisk akcji", - "action-type": "Rodzaj działania", + "action-type": "Typ akcji", "active": "Aktywny", "add-notification-recipients-group": "Dodaj grupę odbiorców powiadomień", "add-notification-template": "Dodaj szablon powiadomienia", "add-recipient": "Dodaj odbiorcę", "add-recipients": "Dodaj odbiorców", "add-rule": "Dodaj regułę", - "add-stage": "Dodaj scenę", + "add-stage": "Dodaj etap", "add-template": "Dodaj szablon", "after": "Po", "alarm-assignment-trigger-settings": "Ustawienia wyzwalacza przypisania alarmu", - "alarm-comment-trigger-settings": "Ustawienia wyzwalania komentarza alarmowego", - "alarm-trigger-settings": "Ustawienia wyzwalania alarmu", - "all": "Wszystko", + "alarm-comment-trigger-settings": "Ustawienia wyzwalacza komentarza do alarmu", + "alarm-trigger-settings": "Ustawienia wyzwalacza alarmu", + "all": "Wszystkie", "api-feature-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich funkcji interfejsu API", "api-usage-trigger-settings": "Ustawienia wyzwalacza użycia interfejsu API", "new-platform-version-trigger-settings": "Ustawienia wyzwalacza nowej wersji platformy", - "rate-limits-trigger-settings": "Exceeded rate limits trigger settings", - "at-least-one-should-be-selected": "Należy wybrać przynajmniej jeden", + "rate-limits-trigger-settings": "Ustawienia wyzwalacza przekroczenia limitów szybkości", + "task-processing-failure-trigger-settings": "Ustawienia wyzwalacza niepowodzenia przetwarzania zadań", + "resources-shortage-trigger-settings": "Ustawienia wyzwalacza niedoboru zasobów", + "at-least-one-should-be-selected": "Należy wybrać przynajmniej jedną", "basic-settings": "Podstawowe ustawienia", - "button-text": "Przycisk tekstowy", + "button-text": "Tekst przycisku", "button-text-required": "Tekst przycisku jest wymagany", - "button-text-max-length": "Długość tekst przycisku powinna być mniejsza lub równa {{ length }} znaków", - "compose": "Komponuj", + "button-text-max-length": "Tekst przycisku powinien mieć nie więcej niż {{ length }} znaków", + "compose": "Treść", "conversation": "Rozmowa", - "conversation-required": "Rozmowa jest konieczna", - "copy-notification-template": "Skopiuj szablon powiadomienia", - "copy-rule": "Skopiuj regułę", - "copy-template": "Skopiuj szablon", - "create-new": "Stwórz nowe", + "conversation-required": "Rozmowa jest wymagana", + "copy-notification-template": "Kopiuj szablon powiadomienia", + "copy-rule": "Kopiuj regułę", + "copy-template": "Kopiuj szablon", + "create-new": "Utwórz nowy", "created": "Utworzony", + "customize-messages": "Dostosuj wiadomości", + "cpu-threshold": "Próg CPU", "delete-notification-text": "Uważaj, po potwierdzeniu powiadomienia nie będzie można odzyskać.", "delete-notification-title": "Czy na pewno chcesz usunąć powiadomienie?", - "delete-notifications-text": "Bądź ostrożny, po potwierdzeniu powiadomienia staną się nie do odzyskania.", - "delete-notifications-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 przypomnienie} other {# przypomnień} }?", + "delete-notifications-text": "Uważaj, po potwierdzeniu powiadomień nie będzie można odzyskać.", + "delete-notifications-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 powiadomienie} one {# powiadomienie} few {# powiadomienia} other {# powiadomień} }?", "delete-recipient-text": "Uważaj, po potwierdzeniu odbiorcy nie będzie można odzyskać.", - "delete-recipient-title": "Czy na pewno chcesz usunąć odbiorcę {{recipientName}}'?", - "delete-recipients-text": "Bądź ostrożny, po potwierdzeniu odbiorcy staną się niemożliwi do odzyskania.", - "delete-recipients-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 odbiorcę} other {# odbiorców} }?", - "delete-request-text": "Bądź ostrożny, po tym jak prośba o potwierdzenie stanie się niemożliwa do odzyskania.", - "delete-request-title": "Czy na pewno chcesz usunąć rządanie?", - "delete-requests-text": "Bądź ostrożny, po tym jak prośby o potwierdzenie staną się nie do odzyskania.", - "delete-requests-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 rządanie} other {# rządań} }?", - "delete-rule-text": "Bądź ostrożny, gdy reguła potwierdzenia stanie się niemożliwa do odzyskania.", - "delete-rule-title": "Czy na pewno chcesz usunąć regułę '{{ruleName}}'?", - "delete-rules-text": "Bądź ostrożny, po tym jak zasady potwierdzenia staną się nie do odzyskania.", - "delete-rules-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 regułę} other {# reguł} }?", - "delete-template-text": "Zachowaj ostrożność, ponieważ szablon potwierdzenia stanie się niemożliwy do odzyskania.", - "delete-template-title": "Czy na pewno chcesz usunąć szablon '{{templateName}}'?", - "delete-templates-text": "Bądź ostrożny, gdy szablony potwierdzeń staną się nie do odzyskania.", - "delete-templates-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 szablon} other {# szablonów} }?", + "delete-recipient-title": "Czy na pewno chcesz usunąć odbiorcę „{{recipientName}}”?", + "delete-recipients-text": "Uważaj, po potwierdzeniu nie będzie można odzyskać odbiorców.", + "delete-recipients-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 odbiorcę} one {# odbiorcę} few {# odbiorców} other {# odbiorców} }?", + "delete-request-text": "Uważaj, po potwierdzeniu żądania nie będzie można odzyskać.", + "delete-request-title": "Czy na pewno chcesz usunąć żądanie?", + "delete-requests-text": "Uważaj, po potwierdzeniu żądań nie będzie można odzyskać.", + "delete-requests-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 żądanie} one {# żądanie} few {# żądania} other {# żądań} }?", + "delete-rule-text": "Uważaj, po potwierdzeniu reguły nie będzie można odzyskać.", + "delete-rule-title": "Czy na pewno chcesz usunąć regułę „{{ruleName}}”?", + "delete-rules-text": "Uważaj, po potwierdzeniu reguł nie będzie można odzyskać.", + "delete-rules-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 regułę} one {# regułę} few {# reguły} other {# reguł} }?", + "delete-template-text": "Uważaj, po potwierdzeniu nie będzie można odzyskać szablonu.", + "delete-template-title": "Czy na pewno chcesz usunąć szablon „{{templateName}}”?", + "delete-templates-text": "Uważaj, po potwierdzeniu szablonów nie będzie można odzyskać.", + "delete-templates-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 szablon} one {# szablon} few {# szablony} other {# szablonów} }?", "deleted": "Usunięto", "delivery-method": { - "delivery-method": "Sposób przesyłu", + "delivery-method": "Metoda dostarczania", "email": "E-mail", "email-preview": "Podgląd powiadomienia e-mail", "slack": "Slack", "slack-preview": "Podgląd powiadomień Slacka", "microsoft-teams": "Microsoft Teams", - "microsoft-teams-preview": "Microsoft Teams notification preview", + "microsoft-teams-preview": "Podgląd powiadomienia Microsoft Teams", "sms": "SMS", "sms-preview": "Podgląd powiadomień SMS", - "web": "Sieć", - "web-preview": "Podgląd powiadomień internetowych" + "web": "Web", + "web-preview": "Podgląd powiadomień internetowych", + "mobile-app": "Aplikacja mobilna", + "mobile-app-preview": "Podgląd powiadomienia w aplikacji mobilnej" }, - "delivery-method-not-configure-click": "Metoda dostawy nie jest skonfigurowana. ", - "delivery-method-not-configure-contact": "Metoda dostawy nie jest skonfigurowana. ", - "delivery-methods": "metody dostarczania", + "delivery-method-not-configure-click": "Metoda dostarczania nie jest skonfigurowana. Kliknij, aby skonfigurować.", + "delivery-method-not-configure-contact": "Metoda dostarczania nie jest skonfigurowana. Skontaktuj się z administratorem systemu.", + "delivery-methods": "Metody dostarczania", + "attach-report": "Dołącz raport", + "attach-report-hint": "Wygeneruj plik raportu i dołącz go do wiadomości e-mail lub wiadomości w Slacku. Obecnie dostępne tylko dla metod dostarczania „E-mail” i „Slack”.", "description": "Opis", - "device-activity-trigger-settings": "Ustawienia aktywnego wyzwalacza urządzenia", + "device-activity-trigger-settings": "Ustawienia wyzwalacza aktywności urządzenia", "device-list-rule-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich urządzeń", "device-profiles-list-rule-hint": "Jeśli pole będzie puste, wyzwalacz zostanie zastosowany do wszystkich profili urządzeń", "disabled": "Wyłączony", + "edge-trigger-settings": "Ustawienia wyzwalacza Edge", + "edge-list-rule-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich instancji Edge", "edit-notification-recipients-group": "Edytuj grupę odbiorców powiadomień", "edit-notification-template": "Edytuj szablon powiadomienia", "edit-rule": "Edytuj regułę", "edit-template": "Edytuj szablon", "enabled": "Włączony", - "entities-limit-trigger-settings": "Ustawienia wyzwalacza ograniczania obiektów", + "entities-limit-trigger-settings": "Ustawienia wyzwalacza limitu obiektów", "entity-action-trigger-settings": "Ustawienia wyzwalacza akcji obiektu", "entity-type": "Typ obiektu", "escalation-chain": "Łańcuch eskalacji", "failed-send": "Niepowodzenie wysyłania", - "fails": "{ count, plural, =1 {1 niepowodzenie} other {# niepowodzeń} }", + "fails": "{ count, plural, =1 {1 niepowodzenie} one {# niepowodzenie} few {# niepowodzenia} other {# niepowodzeń} }", "filter": "Filtr", "first-recipient": "Pierwszy odbiorca", "inactive": "Nieaktywny", "inbox": "Skrzynka odbiorcza", "notification-inbox": "Powiadomienia / Skrzynka odbiorcza", - "input-field-support-templatization": "Szablonowanie obsługi pola wejściowego.", + "input-field-support-templatization": "Pole wejściowe obsługuje szablonowanie.", "input-fields-support-templatization": "Pola wejściowe obsługują szablonowanie.", "integration-action-trigger-settings": "Ustawienia wyzwalacza zdarzeń integracji", "integration-list-rule-hint": "Jeśli pole będzie puste, wyzwalacz zostanie zastosowany do wszystkich integracji", "link": "Link", "link-required": "Link jest wymagany", + "link-max-length": "Link powinien mieć nie więcej niż {{ length }} znaków", "link-type": { - "dashboard": "Otwórz Panel", + "dashboard": "Otwórz pulpit", "link": "Otwórz łącze URL" }, - "loading-notifications": "Loading notifications...", + "loading-notifications": "Ładowanie powiadomień...", "management": "Zarządzanie powiadomieniami", "mark-all-as-read": "Oznacz wszystkie jako przeczytane", "mark-as-read": "Oznacz jako przeczytane", "message": "Wiadomość", "message-required": "Wiadomość jest wymagana", - "message-max-length": "Komunikat powinien być mniejszy lub równy {{ length }} znaków", + "message-max-length": "Wiadomość powinna mieć nie więcej niż {{ length }} znaków", "name": "Nazwa", "name-required": "Nazwa jest wymagana", "new-notification": "Nowe powiadomienie", @@ -4025,42 +7101,48 @@ "no-notification-request": "Brak żądania powiadomienia", "no-notification-templates": "Nie znaleziono szablonów powiadomień", "no-notifications-yet": "Nie ma jeszcze żadnych powiadomień", - "no-recipients-notification": "Brak powiadomienia odbiorców", + "no-recipients-notification": "Brak odbiorców powiadomień", + "no-recipients-matching": "Nie znaleziono odbiorców pasujących do „{{entity}}”.", + "no-recipients-text": "Nie znaleziono odbiorcy", "no-rule": "Nie skonfigurowano żadnej reguły", - "no-rules-notification": "Brak powiadomienia o zasadach", - "no-severity-found": "Nie znaleziono powagi", - "no-severity-matching": "'{{severity}}' nie znaleziono.", - "no-template-matching": "Brak dopasowania zasobów '{{template}}' zostały znalezione.", + "no-rules-notification": "Brak reguł powiadomień", + "no-severity-found": "Nie znaleziono ważności", + "no-severity-matching": "Nie znaleziono „{{severity}}”.", + "no-template-matching": "Nie znaleziono szablonów pasujących do „{{template}}”.", + "create-new-template": "Utwórz nowy!", "not-found-slack-recipient": "Nie znaleziono odbiorcy Slacka", "notification": "Powiadomienie", + "notifications": "Powiadomienia", "notification-center": "Centrum powiadomień", + "notification-tap-action": "Akcja po dotknięciu powiadomienia", + "notification-tap-action-hint": "Jeśli opcja nie jest włączona, zostanie użyty domyślny pulpit alarmów", "notify": "powiadom", "notify-again": "Powiadom ponownie", "notify-alarm-action": { "acknowledged": "Alarm potwierdzony", "assigned": "Alarm przypisany", - "cleared": "Alarm usunięty", + "cleared": "Alarm wyczyszczony", "created": "Utworzono alarm", - "severity-changed": "Zmieniono wagę alarmu", - "unassigned": "Alarm nieprzypisany" + "severity-changed": "Zmieniono ważność alarmu", + "unassigned": "Anulowano przypisanie alarmu" }, - "notify-on": "Powiadom dalej", + "notify-on": "Powiadamiaj o", "notify-on-comment-update": "Powiadom o aktualizacji komentarza", - "notify-on-required": "Powiadomienie jest wymagane", + "notify-on-required": "Pole „Powiadamiaj o” jest wymagane", "notify-on-unassign": "Powiadom o anulowaniu przypisania", "notify-only-integrations-errors": "Powiadamiaj tylko o błędzie", "notify-only-user-comments": "Powiadamiaj tylko o komentarzach użytkowników", "only-rule-chain-lifecycle-failures": "Tylko awarie cyklu życia łańcucha reguł", "only-rule-node-lifecycle-failures": "Tylko awarie cyklu życia węzła reguły", "platform-users": "Użytkownicy platformy", - "rate-limits": "Rate limits", - "rate-limits-hint": "If the field is empty, the trigger will be applied to all rate limits", + "ram-threshold": "Próg RAM", + "rate-limits": "Limity szybkości", + "rate-limits-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich limitów szybkości", "recipient": "Odbiorca", "recipient-group": "Grupa odbiorców", "recipient-type": { - "affected-tenant-administrators": "Dotknięci administratorzy Tenanta", - "affected-user": "Dotknięty użytkownik", - "affected-user-hint": "Dotknięta wskazówka dla użytkownika", + "affected-tenant-administrators": "Administratorzy tenanta, których to dotyczy", + "affected-user": "Użytkownik, którego to dotyczy", "all-users": "Wszyscy użytkownicy", "customer-users": "Użytkownicy klientów", "system-administrators": "Administratorzy systemu", @@ -4069,88 +7151,103 @@ "user-group-list": "Lista grup użytkowników", "user-list": "Lista użytkowników", "user-role": "Rola użytkownika", - "users-entity-owner": "Użytkownicy właściciela obiektu", - "users-entity-owner-hint": "Użytkownicy podpowiedzi właściciela obiektu" + "users-entity-owner": "Użytkownicy właściciela obiektu" }, "recipients": "Odbiorcy", + "notification-recipient": "Odbiorca powiadomienia", + "notification-recipient-required": "Odbiorca powiadomienia jest wymagany.", "notification-recipients": "Powiadomienia / Odbiorcy", - "recipients-count": "{ count, plural, =1 {1 odbiorca} other {# odbiorców} }", - "recipients-required": "Odbiorcy są potrzebni", - "refresh-allow-delivery-method": "Odśwież zezwól na metodę dostawy", - "request-search": "Poproś o wyszukiwanie", + "recipients-count": "{ count, plural, =1 {1 odbiorca} one {# odbiorca} few {# odbiorców} other {# odbiorców} }", + "recipients-required": "Odbiorcy są wymagani", + "refresh-allow-delivery-method": "Odśwież dostępne metody dostarczania", + "request-search": "Szukaj żądań", "request-status": { "processing": "Przetwarzanie", - "scheduled": "Zaplanowany", + "scheduled": "Zaplanowano", "sent": "Wysłano" }, - "review": "Recenzja", + "review": "Przegląd", "rule": "Reguła", "rule-chain-list-rule-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich łańcuchów reguł", - "rule-engine-events-trigger-settings": "Ustawienia wyzwalania zdarzeń silnika reguł", + "rule-engine-events-trigger-settings": "Ustawienia wyzwalacza zdarzeń silnika reguł", "rule-engine-filter": "Filtr silnika reguł", "rule-name": "Nazwa reguły", "rule-name-required": "Nazwa jest wymagana", - "rule-disable": "Disable notification rule", - "rule-enable": "Enable notification rule", + "rule-disable": "Wyłącz regułę powiadomień", + "rule-enable": "Włącz regułę powiadomień", "rule-node-filter": "Filtr węzła reguły", - "rules": "Zasady", - "notification-rules": "Powiadomienia / Zasady", + "rules": "Reguły", + "notification-rules": "Powiadomienia / Reguły", "scheduler-later": "Zaplanuj na później", "search-notification": "Wyszukaj powiadomienia", "search-recipients": "Wyszukaj odbiorców", - "search-rules": "Zasady wyszukiwania", + "search-rules": "Szukaj reguł", "search-templates": "Wyszukaj szablony", "see-documentation": "Zobacz dokumentację", - "selected-notifications": "Wybrano { count, plural, =1 {1 powiadomienie} other {# powiadomień} }", - "selected-recipients": "Wybrano { count, plural, =1 {1 odbiorcę} other {# odbiorców} }", - "selected-requests": "Wybrano { count, plural, =1 {1 rządanie} other {# rządań} }", - "selected-rules": "Wybrano { count, plural, =1 {1 zasadę} other {# zasad} }", - "selected-template": "Wybrano { count, plural, =1 {1 szablon} other {# szablonów} }", + "selected-notifications": "Wybrano { count, plural, =1 {1 powiadomienie} one {# powiadomienie} few {# powiadomienia} other {# powiadomień} }", + "selected-recipients": "Wybrano { count, plural, =1 {1 odbiorcę} one {# odbiorcę} few {# odbiorców} other {# odbiorców} }", + "selected-requests": "Wybrano { count, plural, =1 {1 żądanie} one {# żądanie} few {# żądania} other {# żądań} }", + "selected-rules": "Wybrano { count, plural, =1 {1 regułę} one {# regułę} few {# reguły} other {# reguł} }", + "selected-template": "Wybrano { count, plural, =1 {1 szablon} one {# szablon} few {# szablony} other {# szablonów} }", "send-notification": "Wyślij powiadomienie", "sent": "Wysłano", + "setup": "Konfiguracja", "notification-sent": "Powiadomienia / Wysłane", - "set-entity-from-notification": "Ustaw obiekt z powiadomienia na stan panelu", - "slack-chanel-type": "Typ kanału slack", + "set-entity-from-notification": "Ustaw obiekt z powiadomienia w stanie pulpitu", + "slack-chanel-type": "Typ kanału Slack", "slack-chanel-types": { - "direct": "Wiadomość docelowa", + "direct": "Wiadomość bezpośrednia", "private-channel": "Kanał prywatny", "public-channel": "Kanał publiczny" }, "start-from-scratch": "Zacznij od początku", "status": "Status", - "stop-escalation-alarm-status-become": "Zatrzymaj eskalację stanu alarmowego:", + "stop-escalation-alarm-status-become": "Zatrzymaj eskalację, gdy status alarmu zmieni się na:", + "storage-threshold": "Próg pamięci masowej", "subject": "Temat", "subject-required": "Temat jest wymagany", + "subject-max-length": "Temat powinien mieć maksymalnie {{ length }} znaków", "template": "Szablon", "template-name": "Nazwa szablonu", "template-required": "Szablon jest wymagany", "template-type": { "alarm": "Alarm", "alarm-assignment": "Przypisanie alarmu", - "alarm-comment": "Komentarz alarmowy", + "alarm-comment": "Komentarz do alarmu", "api-usage-limit": "Limit wykorzystania API", "device-activity": "Aktywność urządzenia", "entities-limit": "Limit obiektów", + "entities-limit-increase-request": "Prośba o zwiększenie limitu obiektów", + "addon-access-error": "Błąd dostępu do dodatku/funkcji", + "addon-access-request": "Prośba o dostęp do dodatku/funkcji", + "plan-upgrade-request": "Prośba o uaktualnienie planu", "entity-action": "Działanie obiektu", "general": "Ogólny", "integration-lifecycle-event": "Zdarzenie cyklu życia integracji", "rule-engine-lifecycle-event": "Zdarzenie cyklu życia silnika reguł", "rule-node": "Węzeł reguły", "new-platform-version": "Nowa wersja platformy", - "rate-limits": "Exceeded rate limits" + "rate-limits": "Przekroczenie limitów szybkości", + "edge-communication-failure": "Błąd komunikacji z instancją Edge", + "edge-connection": "Połączenie instancji Edge", + "task-processing-failure": "Błąd przetwarzania zadania", + "resources-shortage": "Niedobór zasobów systemowych", + "report-generated": "Raport wygenerowany", + "user-activated": "Użytkownik aktywowany", + "user-registered": "Użytkownik zarejestrowany" }, "templates": "Szablony", "notification-templates": "Powiadomienia / Szablony", "tenant-profiles-list-rule-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich profili tenantów", - "tenants-list-rule-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich Tenantów", + "tenants-list-rule-hint": "Jeśli pole jest puste, wyzwalacz zostanie zastosowany do wszystkich tenantów", "threshold": "Próg", - "theme-color": "Theme color", + "theme-color": "Kolor motywu", "time": "Czas", "track-rule-node-events": "Śledź zdarzenia węzła reguły", "trigger": { "alarm": "Alarm", "alarm-assignment": "Przypisanie alarmu", - "alarm-comment": "Komentarz alarmowy", + "alarm-comment": "Komentarz do alarmu", "api-usage-limit": "Limit wykorzystania API", "device-activity": "Aktywność urządzenia", "entities-limit": "Limit obiektów", @@ -4158,39 +7255,47 @@ "integration-lifecycle-event": "Zdarzenie cyklu życia integracji", "rule-engine-lifecycle-event": "Zdarzenie cyklu życia silnika reguł", "new-platform-version": "Nowa wersja platformy", - "rate-limits": "Exceeded rate limits", + "rate-limits": "Przekroczenie limitów szybkości", + "edge-connection": "Połączenie instancji Edge", + "edge-communication-failure": "Błąd komunikacji z instancją Edge", + "task-processing-failure": "Błąd przetwarzania zadania", + "resources-shortage": "Niedobór zasobów systemowych", "trigger": "Wyzwalacz", "trigger-required": "Wyzwalacz jest wymagany" }, "type": "Typ", "unread": "Nieprzeczytane", "updated": "Zaktualizowane", + "use-deprecated-webhook-connectors": "Użyj przestarzałych konektorów Webhook", + "use-old-api": "Użyj starego API", "use-template": "Użyj szablonu", "view-all": "Pokaż wszystkie", "view-notification-recipients-group": "Wyświetl grupę odbiorców powiadomień", "view-notification-template": "Wyświetl szablon powiadomienia", - "view-rule": "Zobacz regułę", + "view-rule": "Wyświetl regułę", "warning": "Ostrzeżenie", - "webhook-url": "Webhook URL", - "webhook-url-required": "Webhook URL is required", - "channel-name": "Channel name", - "channel-name-required": "Channel name is required", + "webhook-url": "Adres URL webhooka", + "webhook-url-required": "Adres URL webhooka jest wymagany", + "workflow-url": "URL przepływu pracy", + "workflow-url-required": "URL przepływu pracy jest wymagany", + "channel-name": "Nazwa kanału", + "channel-name-required": "Nazwa kanału jest wymagana", "settings": { - "notification-settings": "Notification settings", - "reset-all": "Reset all settings", - "reset-all-title": "Are you sure you want to reset form?", - "reset-all-text": "After the confirmation, the settings form will reset to the default value and save.", - "type": "Type", - "enable-all": "Enable all", - "disable-all": "Disable all", - "delivery-not-configured": "Delivery method is not configured" + "notification-settings": "Ustawienia powiadomień", + "reset-all": "Resetuj wszystkie ustawienia", + "reset-all-title": "Czy na pewno chcesz zresetować formularz?", + "reset-all-text": "Po potwierdzeniu formularz ustawień zostanie zresetowany do wartości domyślnych i zapisany.", + "type": "Typ", + "enable-all": "Włącz wszystkie", + "disable-all": "Wyłącz wszystkie", + "delivery-not-configured": "Metoda dostarczania nie jest skonfigurowana" } }, "ota-update": { "add": "Dodaj pakiet", "assign-firmware": "Przypisane oprogramowanie sprzętowe", "assign-firmware-required": "Przypisane oprogramowanie sprzętowe jest wymagane", - "assign-software": "Przydzielone oprogramowanie", + "assign-software": "Przypisane oprogramowanie", "assign-software-required": "Przypisane oprogramowanie jest wymagane", "auto-generate-checksum": "Automatycznie generuj sumę kontrolną", "cant-applied-group-all": "Nie można zastosować do grupy Wszystkie", @@ -4198,21 +7303,22 @@ "checksum-hint": "Jeśli suma kontrolna jest pusta, zostanie wygenerowana automatycznie", "checksum-algorithm": "Algorytm sumy kontrolnej", "checksum-copied-message": "Suma kontrolna pakietu została skopiowana do schowka", - "change-firmware": "Zmiana oprogramowania sprzętowego może spowodować aktualizację { count, plural, =1 {1 urządzenia} other {# urządzeń} }.", - "change-software": "Zmiana oprogramowania może spowodować aktualizację { count, plural, =1 {1 urządzenia} other {# urządzeń} }.", + "change-firmware": "Zmiana oprogramowania sprzętowego może spowodować aktualizację { count, plural, =1 {1 urządzenia} one {# urządzenia} few {# urządzeń} other {# urządzeń} }.", + "change-software": "Zmiana oprogramowania może spowodować aktualizację { count, plural, =1 {1 urządzenia} one {# urządzenia} few {# urządzeń} other {# urządzeń} }.", + "change-ota-setting-title": "Czy na pewno chcesz zmienić ustawienia OTA?", "chose-compatible-device-profile": "Przesłany pakiet będzie dostępny tylko dla urządzeń z wybranym profilem.", "chose-firmware-distributed-device": "Wybierz oprogramowanie sprzętowe, które będzie dystrybuowane na urządzenia", "chose-software-distributed-device": "Wybierz oprogramowanie, które będzie dystrybuowane na urządzenia", "content-type": "Typ zawartości", - "copy-checksum": "Skopiuj sumę kontrolną", - "copy-direct-url": "Skopiuj bezpośredni adres URL", - "copyId": "Skopiuj identyfikator pakietu", + "copy-checksum": "Kopiuj sumę kontrolną", + "copy-direct-url": "Kopiuj bezpośredni adres URL", + "copyId": "Kopiuj identyfikator pakietu", "copied": "Skopiowano!", "delete": "Usuń pakiet", "delete-ota-update-text": "Uważaj, po potwierdzeniu aktualizacji OTA nie będzie można odzyskać.", - "delete-ota-update-title": "Czy na pewno chcesz usunąć aktualizację OTA {{title}}'?", + "delete-ota-update-title": "Czy na pewno chcesz usunąć aktualizację OTA „{{title}}”?", "delete-ota-updates-text": "Uważaj, po potwierdzeniu wszystkie wybrane aktualizacje OTA zostaną usunięte.", - "delete-ota-updates-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 OTA update} other {# OTA updates} }?", + "delete-ota-updates-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 aktualizację OTA} one {# aktualizację OTA} few {# aktualizacje OTA} other {# aktualizacji OTA} }?", "description": "Opis", "direct-url": "Bezpośredni adres URL", "direct-url-copied-message": "Bezpośredni adres URL pakietu został skopiowany do schowka", @@ -4224,21 +7330,22 @@ "file-size": "Rozmiar pliku", "file-size-bytes": "Rozmiar pliku w bajtach", "idCopiedMessage": "Identyfikator pakietu został skopiowany do schowka", - "no-firmware-matching": "Nie znaleziono kompatybilnych pakietów aktualizacji oprogramowania sprzętowego OTA pasujących do '{{entity}}'.", + "no-firmware-matching": "Nie znaleziono kompatybilnych pakietów aktualizacji oprogramowania sprzętowego OTA pasujących do „{{entity}}”.", "no-firmware-text": "Brak kompatybilnych pakietów aktualizacji oprogramowania sprzętowego OTA.", "no-packages-text": "Nie znaleziono pakietów", - "no-software-matching": "Nie znaleziono kompatybilnych pakietów aktualizacji oprogramowania OTA pasujących do '{{entity}}'.", + "no-software-matching": "Nie znaleziono kompatybilnych pakietów aktualizacji oprogramowania OTA pasujących do „{{entity}}”.", "no-software-text": "Brak kompatybilnych pakietów aktualizacji oprogramowania OTA.", "ota-update": "Aktualizacja OTA", "ota-update-details": "Szczegóły aktualizacji OTA", "ota-updates": "Aktualizacje OTA", + "package-file": "Plik pakietu", "package-type": "Typ pakietu", "packages-repository": "Repozytorium pakietów", "search": "Wyszukaj pakiety", - "selected-package": "Wybrano { count, plural, =1 {1 pakiet} other {# pakietów} }", + "selected-package": "Wybrano { count, plural, =1 {1 pakiet} one {# pakiet} few {# pakiety} other {# pakietów} }", "title": "Tytuł", "title-required": "Tytuł jest wymagany.", - "title-max-length": "Tytuł powinien być mniejszy niż 256", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", "types": { "firmware": "Oprogramowanie sprzętowe", "software": "Oprogramowanie" @@ -4248,26 +7355,26 @@ "version": "Wersja", "version-required": "Wersja jest wymagana.", "version-tag": "Oznaczenie wersji", - "version-tag-hint": "Tag niestandardowy powinien odpowiadać wersji pakietu zgłaszanej przez Twoje urządzenie.", - "version-max-length": "Wersja powinna być mniejsza niż 256", + "version-tag-hint": "Oznaczenie wersji powinno odpowiadać wersji pakietu zgłaszanej przez Twoje urządzenie.", + "version-max-length": "Wersja powinna mieć mniej niż 256 znaków", "warning-after-save-no-edit": "Po przesłaniu pakietu nie będzie można modyfikować tytułu, wersji, profilu urządzenia ani typu pakietu." }, "position": { - "top": "Początek", - "bottom": "Koniec", - "left": "Lewy", - "right": "Prawy" + "top": "Na górze", + "bottom": "Na dole", + "left": "Po lewej", + "right": "Po prawej" }, "profile": { "profile": "Profil", "last-login-time": "Ostatnie logowanie", "change-password": "Zmień hasło", - "current-password": "Aktualne hasło", - "copy-jwt-token": "Skopiuj token JWT", - "jwt-token": "token JWT", + "current-password": "Bieżące hasło", + "copy-jwt-token": "Kopiuj token JWT", + "jwt-token": "Token JWT", "token-valid-till": "Token jest ważny do", "tokenCopiedSuccessMessage": "Token JWT został skopiowany do schowka", - "tokenCopiedWarnMessage": "Token JWT wygasł! Odświerz stronę" + "tokenCopiedWarnMessage": "Token JWT wygasł! Odśwież stronę." }, "profiles": { "profiles": "Profile" @@ -4275,49 +7382,49 @@ "security": { "security": "Bezpieczeństwo", "general-settings": "Ogólne ustawienia zabezpieczeń", - "access-token": "Access token", - "access-token-required": "Access token is required", - "clientId": "Client ID", - "clientId-required": "Client ID is required", - "username": "Username", - "username-required": "Username is required", - "ca-cert": "CA certificate", + "access-token": "Token dostępu", + "access-token-required": "Token dostępu jest wymagany", + "clientId": "Identyfikator klienta", + "clientId-required": "Identyfikator klienta jest wymagany", + "username": "Nazwa użytkownika", + "username-required": "Nazwa użytkownika jest wymagana", + "ca-cert": "Certyfikat CA", "2fa": { "2fa": "Uwierzytelnianie dwuskładnikowe", - "2fa-description": "Uwierzytelnianie dwuskładnikowe chroni Twoje konto przed nieautoryzowanym dostępem. Wszystko co musisz zrobić, to wpisać kod bezpieczeństwa przy logowaniu.", + "2fa-description": "Uwierzytelnianie dwuskładnikowe chroni Twoje konto przed nieautoryzowanym dostępem. Wystarczy, że podczas logowania wpiszesz kod zabezpieczający.", "authenticate-with": "Możesz uwierzytelnić się za pomocą:", "disable-2fa-provider-text": "Wyłączanie {{name}} sprawi, że Twoje konto będzie mniej bezpieczne", "disable-2fa-provider-title": "Czy na pewno chcesz wyłączyć {{name}}?", - "get-new-code": "Zdobądź nowy kod", + "get-new-code": "Uzyskaj nowy kod", "main-2fa-method": "Użyj jako głównej metody uwierzytelniania dwuskładnikowego", "dialog": { - "activation-step-description-email": "Przy następnym logowaniu zostaniesz poproszony o podanie kodu zabezpieczającego, który zostanie wysłany na Twój adres e-mail.", - "activation-step-description-sms": "Przy następnym logowaniu zostaniesz poproszony o podanie kodu zabezpieczającego, który zostanie wysłany na numer telefonu.", + "activation-step-description-email": "Przy następnym logowaniu pojawi się prośba o podanie kodu zabezpieczającego, który zostanie wysłany na Twój adres e-mail.", + "activation-step-description-sms": "Przy następnym logowaniu pojawi się prośba o podanie kodu zabezpieczającego, który zostanie wysłany na numer telefonu.", "activation-step-description-totp": "Przy następnym logowaniu konieczne będzie podanie dwuskładnikowego kodu uwierzytelniającego.", "activation-step-label": "Aktywacja", - "backup-code-description": "Wydrukuj kody, aby mieć je pod ręką, gdy będziesz musiał ich użyć do zalogowania się na swoje konto. ", - "backup-code-warn": "Po opuszczeniu tej strony kody te nie będą mogły zostać wyświetlone ponownie. ", + "backup-code-description": "Wydrukuj kody, aby mieć je pod ręką, gdy będą potrzebne do zalogowania się na konto. Każdego kodu zapasowego możesz użyć tylko raz.", + "backup-code-warn": "Po opuszczeniu tej strony nie będzie można ponownie wyświetlić tych kodów. Przechowuj je w bezpiecznym miejscu, korzystając z poniższych opcji.", "download-txt": "Pobierz (txt)", - "email-step-description": "Wpisz adres e-mail, który będzie używany jako moduł uwierzytelniający.", + "email-step-description": "Wprowadź adres e-mail, który posłuży jako metoda uwierzytelniania.", "email-step-label": "E-mail", - "enable-email-title": "Włącz uwierzytelnianie poczty e-mail", + "enable-email-title": "Włącz uwierzytelnianie przez e-mail", "enable-sms-title": "Włącz uwierzytelnianie SMS", "enable-totp-title": "Włącz aplikację uwierzytelniającą", "enter-verification-code": "Wpisz tutaj 6-cyfrowy kod", "get-backup-code-title": "Uzyskaj kod zapasowy", "next": "Dalej", - "scan-qr-code": "Zeskanuj ten kod QR za pomocą aplikacji weryfikacyjnej", + "scan-qr-code": "Zeskanuj ten kod QR w aplikacji weryfikacyjnej", "send-code": "Wyślij kod", - "sms-step-description": "Wprowadź numer telefonu, który będzie używany jako moduł uwierzytelniający.", + "sms-step-description": "Wprowadź numer telefonu, który posłuży jako metoda uwierzytelniania.", "sms-step-label": "Numer telefonu", "success": "Sukces!", "totp-step-description-install": "Możesz zainstalować aplikacje takie jak Google Authenticator, Authy lub Duo.", "totp-step-description-open": "Otwórz aplikację uwierzytelniającą na swoim telefonie komórkowym.", - "totp-step-label": "Ściągnij aplikację", + "totp-step-label": "Pobierz aplikację", "verification-code": "6-cyfrowy kod", "verification-code-invalid": "Nieprawidłowy format kodu weryfikacyjnego", "verification-code-incorrect": "Kod weryfikacyjny jest nieprawidłowy", - "verification-code-many-request": "Zbyt wiele próśb o sprawdzenie kodu weryfikacyjnego", + "verification-code-many-request": "Zbyt wiele żądań sprawdzenia kodu weryfikacyjnego", "verification-step-description": "Wpisz 6-cyfrowy kod, który właśnie wysłaliśmy na adres {{address}}", "verification-step-label": "Weryfikacja" }, @@ -4325,139 +7432,203 @@ "email": "E-mail", "email-description": "Do uwierzytelnienia użyj kodu zabezpieczającego wysłanego na Twój adres e-mail.", "email-hint": "Kody uwierzytelniające wysyłane są e-mailem na adres {{ info }}", - "sms": "SMS-em", - "sms-description": "Użyj telefonu do uwierzytelnienia. Wyślemy ci kod bezpieczeństwa SMS-em przy logowaniu", + "sms": "SMS", + "sms-description": "Użyj telefonu do uwierzytelnienia. Przy logowaniu wyślemy Ci kod zabezpieczający SMS-em.", "sms-hint": "Kody uwierzytelniające wysyłane są SMS-em na {{ info }}", "totp": "Aplikacja uwierzytelniająca", - "totp-description": "Do uwierzytelniania użyj aplikacji takich jak Google Authenticator, Authy lub Duo na swoim telefonie. ", - "totp-hint": "Aplikacja Authenticator jest skonfigurowana dla Twojego konta", + "totp-description": "Do uwierzytelniania użyj na swoim telefonie aplikacji takich jak Google Authenticator, Authy lub Duo. Aplikacja wygeneruje kod zabezpieczający do logowania.", + "totp-hint": "Aplikacja uwierzytelniająca jest skonfigurowana dla Twojego konta", "backup_code": "Kod zapasowy", "backup-code-description": "Te jednorazowe kody do wydrukowania umożliwiają logowanie się, gdy nie masz przy sobie telefonu, na przykład podczas podróży.", - "backup-code-hint": "{{ info }} kody jednorazowe są w tym momencie aktywne" + "backup-code-hint": "Aktywne kody jednorazowe: {{ info }}" } }, "password-requirement": { "at-least": "Co najmniej:", - "character": "{ count, plural, =1 {1 znak} other {# znaków} }", - "digit": "{ count, plural, =1 {1 cyfra} other {# cyfr} }", + "character": "{ count, plural, =1 {1 znak} one {# znak} few {# znaki} other {# znaków} }", + "digit": "{ count, plural, =1 {1 cyfra} one {# cyfra} few {# cyfry} other {# cyfr} }", + "password-tooltip-min-length": "Minimalna liczba znaków: {{minimumLength}}", + "password-tooltip-max-length": "Maksymalna liczba znaków: {{maximumLength}}", + "password-tooltip-uppercase": "Wielkie litery: {{minimumUppercaseLetters}}", + "password-tooltip-lowercase": "Małe litery: {{minimumLowercaseLetters}}", + "password-tooltip-digit": "Cyfry: {{minimumDigits}}", + "password-tooltip-special-characters": "Znaki specjalne: {{minimumSpecialCharacters}}", "incorrect-password-try-again": "Niepoprawne hasło. Spróbuj jeszcze raz", - "lowercase-letter": "{ count, plural, =1 {1 mała litera} other {# małych liter} }", + "lowercase-letter": "{ count, plural, =1 {1 mała litera} one {# mała litera} few {# małe litery} other {# małych liter} }", "new-passwords-not-match": "Nowe hasło nie pasuje", "password-should-not-contain-spaces": "Twoje hasło nie powinno zawierać spacji", "password-not-meet-requirements": "Hasło nie spełnia wymagań", "password-requirements": "Wymagania dotyczące hasła", "password-should-difference": "Nowe hasło powinno różnić się od obecnego", - "special-character": "{ count, plural, =1 {1 znak specjalny} other {# znaków specjalnych} }", - "uppercase-letter": "{ count, plural, =1 {1 duża litera} other {# dużych liter} }" + "special-character": "{ count, plural, =1 {1 znak specjalny} one {# znak specjalny} few {# znaki specjalne} other {# znaków specjalnych} }", + "uppercase-letter": "{ count, plural, =1 {1 wielka litera} one {# wielka litera} few {# wielkie litery} other {# wielkich liter} }", + "at-most": "Co najwyżej:" } }, "relation": { "relations": "Relacje", "direction": "Kierunek", - "clear-relation-type": "Clear relation type", + "clear-relation-type": "Wyczyść typ relacji", "search-direction": { - "FROM": "Z", + "FROM": "Od", "TO": "Do" }, "direction-type": { - "FROM": "z", + "FROM": "od", "TO": "do" }, "from-relations": "Relacje wychodzące", "to-relations": "Relacje przychodzące", - "selected-relations": "Wybrano { count, plural, =1 {1 relację} other {# relacji} }", + "selected-relations": "Wybrano { count, plural, =1 {1 relację} one {# relację} few {# relacje} other {# relacji} }", "type": "Typ", - "to-entity-type": "Do typu obiektu", - "to-entity-name": "Do nazwy obiektu", - "from-entity-type": "Z typu obiektu", - "from-entity-name": "Od nazwy obiektu", + "to-entity-type": "Typ obiektu docelowego", + "to-entity-name": "Nazwa obiektu docelowego", + "from-entity-type": "Typ obiektu źródłowego", + "from-entity-name": "Nazwa obiektu źródłowego", "to-entity": "Do obiektu", "from-entity": "Od obiektu", "delete": "Usuń relację", "relation-type": "Typ relacji", "relation-type-required": "Typ relacji jest wymagany.", - "relation-type-max-length": "Typ relacji powinien być mniejszy niż 256", + "relation-type-max-length": "Typ relacji powinien mieć mniej niż 256 znaków", "any-relation-type": "Dowolny typ", "add": "Dodaj relację", "edit": "Edytuj relację", - "view": "Zobacz relację", - "delete-to-relation-title": "Czy na pewno chcesz usunąć relację z obiektem '{{entityName}}'?", - "delete-to-relation-text": "Uważaj, po potwierdzeniu obiekt '{{entityName}}' nie będzie powiązany z obecnym obiektem.", - "delete-to-relations-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 relację} other {# relacji} }?", + "view": "Wyświetl relację", + "delete-to-relation-title": "Czy na pewno chcesz usunąć relację z obiektem „{{entityName}}”?", + "delete-to-relation-text": "Uważaj, po potwierdzeniu obiekt „{{entityName}}” nie będzie powiązany z bieżącym obiektem.", + "delete-to-relations-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 relację} one {# relację} few {# relacje} other {# relacji} }?", "delete-to-relations-text": "Uważaj, po potwierdzeniu wszystkie wybrane relacje zostaną usunięte, a odpowiadające im obiekty nie będą powiązane z bieżącym obiektem.", - "delete-from-relation-title": "Czy na pewno chcesz usunąć relację z obiektu '{{entityName}}'?", - "delete-from-relation-text": "Uważaj, po potwierdzeniu bieżący obiekt nie będzie powiązany z obiektem '{{entityName}}'.", - "delete-from-relations-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 relację} other {# relacji} }?", - "delete-from-relations-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane relacje zostaną usunięte, a bieżący obiekt nie będzie powiązana z odpowiednimi obiektami.", + "delete-from-relation-title": "Czy na pewno chcesz usunąć relację z obiektu „{{entityName}}”?", + "delete-from-relation-text": "Uważaj, po potwierdzeniu bieżący obiekt nie będzie powiązany z obiektem „{{entityName}}”.", + "delete-from-relations-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 relację} one {# relację} few {# relacje} other {# relacji} }?", + "delete-from-relations-text": "Uważaj, po potwierdzeniu wszystkie wybrane relacje zostaną usunięte, a bieżący obiekt nie będzie powiązany z odpowiednimi obiektami.", "remove-relation-filter": "Usuń filtr relacji", - "remove-filter": "Remove filter", + "remove-filter": "Usuń filtr", "add-relation-filter": "Dodaj filtr relacji", - "any-relation": "Dowolny związek", + "any-relation": "Dowolna relacja", "relation-filters": "Filtry relacji", + "relation-filter": "Filtr relacji", "additional-info": "Dodatkowe informacje (JSON)", - "invalid-additional-info": "Nie można przeanalizować dodatkowych informacji json.", - "no-relations-text": "Nie znaleziono żadnych relacji" + "invalid-additional-info": "Nie można przeanalizować dodatkowych informacji JSON.", + "no-relations-text": "Nie znaleziono żadnych relacji", + "not": "Nie", + "copy-type": "Kopiuj typ" }, "resource": { - "add": "Dodaj bibliotekę", - "all-types": "All", - "copyId": "Skopiuj identyfikator biblioteki", - "delete": "Usuń bibliotekę", - "delete-resource-text": "Bądź ostrożny, po potwierdzeniu biblioteka stanie się niemożliwa do odzyskania.", - "delete-resource-title": "Czy na pewno chcesz usunąć bibliotekę '{{resourceTitle}}'?", - "delete-resources-action-title": "Usuń { count, plural, =1 {1 bibliotekę} other {# bibliotek} }", - "delete-resources-text": "Pamiętaj, że wybrane biblioteki, nawet jeśli są używane w profilach urządzeń, zostaną usunięte.", - "delete-resources-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 bibliotekę} other {# bibliotek} }?", - "download": "Pobierz bibliotekę", - "drop-file": "Upuść plik bibliotek lub kliknij, aby wybrać plik do przesłania.", - "drop-resource-file-or": "Przeciągnij i upuść plik bibliotek lub", - "empty": "Biblioteka jest pusta", + "add": "Dodaj plik", + "all-types": "Wszystkie", + "copyId": "Kopiuj identyfikator pliku", + "delete": "Usuń plik", + "delete-resource-text": "Uważaj, po potwierdzeniu pliku nie będzie można odzyskać.", + "delete-resource-title": "Czy na pewno chcesz usunąć plik „{{resourceTitle}}”?", + "delete-resources-action-title": "Usuń { count, plural, =1 {1 plik} one {# plik} few {# pliki} other {# plików} }", + "delete-resources-text": "Pamiętaj, że wybrane pliki zostaną usunięte, nawet jeśli są używane w profilach urządzeń.", + "delete-resources-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 plik} one {# plik} few {# pliki} other {# plików} }?", + "download": "Pobierz plik", + "drop-file": "Upuść plik lub kliknij, aby wybrać plik do przesłania.", + "drop-resource-file-or": "Przeciągnij i upuść plik lub", + "empty": "Plik jest pusty", "file-name": "Nazwa pliku", - "idCopiedMessage": "Identyfikator biblioteki został skopiowany do schowka", - "no-resource-matching": "Nie znaleziono bibliotek pasujących do '{{widgetsBundle}}'.", - "no-resource-text": "Nie znaleziono bibliotek", + "idCopiedMessage": "Identyfikator pliku został skopiowany do schowka", + "no-resource-matching": "Nie znaleziono plików pasujących do „{{widgetsBundle}}”.", + "no-resource-text": "Nie znaleziono plików", "open-widgets-bundle": "Otwórz pakiet widżetów", - "resource": "Biblioteka", - "resource-library-details": "Szczegóły bibliotek", - "resource-type": "Typ biblioteki", - "resources-library": "Biblioteka bibliotek", - "search": "Przeszukaj biblioteki", - "selected-resources": "Wybrano { count, plural, =1 {1 bibliotekę} other {# bibliotek} }", + "resource": "Plik", + "resource-file": "Plik", + "resource-files": "Pliki", + "resource-library-details": "Szczegóły pliku", + "resource-type": "Typ pliku", + "resources-library": "Biblioteka plików", + "files": "Pliki", + "search": "Szukaj plików", + "selected-resources": "Wybrano { count, plural, =1 {1 plik} one {# plik} few {# pliki} other {# plików} }", "system": "System", "title": "Tytuł", "title-required": "Tytuł jest wymagany.", - "title-max-length": "Tytuł powinien być mniejszy niż 256", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", "type": { "jks": "JKS", - "js-module": "JS module", - "lwm2m-model": "LWM2M model", - "pkcs-12": "PKCS #12" + "js-module": "Moduł JS", + "lwm2m-model": "Model LWM2M", + "pkcs-12": "PKCS #12", + "general": "Ogólne" + }, + "resource-sub-type": "Podtyp", + "sub-type": { + "image": "Obraz", + "scada-symbol": "Symbol SCADA", + "extension": "Rozszerzenie", + "module": "Moduł" + }, + "resource-is-in-use": "Plik jest używany przez inne obiekty", + "resources-are-in-use": "Pliki są używane przez inne obiekty", + "resource-is-in-use-text": "Plik „{{title}}” nie został usunięty, ponieważ jest używany przez następujące obiekty:", + "resources-are-in-use-text": "Nie wszystkie pliki zostały usunięte, ponieważ są używane przez inne obiekty.
Powiązane obiekty możesz wyświetlić, klikając przycisk Odwołania w odpowiednim wierszu pliku.
Jeśli nadal chcesz usunąć te pliki, zaznacz je w tabeli poniżej i kliknij przycisk Usuń zaznaczone.", + "delete-resource-in-use-text": "Jeśli nadal chcesz usunąć plik, kliknij przycisk Usuń mimo to." + }, + "javascript": { + "add": "Dodaj skrypt JavaScript", + "delete": "Usuń skrypt JavaScript", + "delete-javascript-resource-text": "Uwaga: po potwierdzeniu skryptu JavaScript nie będzie można odzyskać.", + "delete-javascript-resource-title": "Czy na pewno chcesz usunąć skrypt JavaScript „{{resourceTitle}}”?", + "delete-javascript-resources-action-title": "Usuń {count, plural, one {# skrypt JavaScript} few {# skrypty JavaScript} other {# skryptów JavaScript} }", + "delete-javascript-resources-text": "Pamiętaj, że wybrane skrypty JavaScript zostaną usunięte, nawet jeśli są używane w funkcjach JavaScript.", + "delete-javascript-resources-title": "Czy na pewno chcesz usunąć {count, plural, one {# skrypt JavaScript} few {# skrypty JavaScript} other {# skryptów JavaScript} }?", + "delete-javascript-resource-in-use-text": "Jeśli nadal chcesz usunąć skrypt JavaScript, kliknij przycisk Usuń mimo to.", + "download": "Pobierz skrypt JavaScript", + "upload-from-file": "Prześlij skrypt JavaScript z pliku", + "resource-file": "Plik skryptu JavaScript", + "drop-file": "Upuść plik JavaScript lub kliknij, aby wybrać plik do przesłania.", + "drop-resource-file-or": "Przeciągnij i upuść plik JavaScript lub", + "javascript-library": "Biblioteka JavaScript", + "javascript-type": "Typ JavaScript", + "scripts": "Skrypty", + "script-type": "Typ skryptu", + "javascript-resource-details": "Szczegóły skryptu JavaScript", + "javascript-resource-is-in-use": "Skrypt JavaScript jest używany przez inne obiekty", + "javascript-resources-are-in-use": "Skrypty JavaScript są używane przez inne obiekty", + "javascript-resource-is-in-use-text": "Skrypt JavaScript „{{title}}” nie został usunięty, ponieważ jest używany przez następujące obiekty:", + "javascript-resources-are-in-use-text": "Nie wszystkie skrypty JavaScript zostały usunięte, ponieważ są używane przez inne obiekty.
Powiązane obiekty możesz wyświetlić, klikając przycisk Odwołania w wierszu danego skryptu.
Jeśli nadal chcesz usunąć te skrypty JavaScript, zaznacz je w tabeli poniżej i kliknij przycisk Usuń zaznaczone.", + "search": "Szukaj skryptów JavaScript", + "selected-javascript-resources": "Wybrano {count, plural, one {# skrypt JavaScript} few {# skrypty JavaScript} other {# skryptów JavaScript} }", + "no-javascript-resource-text": "Nie znaleziono skryptów JavaScript", + "all-types": "Wszystkie", + "module-script": "Skrypt modułu" + }, + "rpc": { + "error": { + "target-device-is-not-set": "Urządzenie docelowe nie jest ustawione!", + "invalid-target-entity": "Polecenia RPC nie są obsługiwane przez obiekt {{entityType}}.", + "failed-to-resolve-target-device": "Nie udało się ustalić urządzenia docelowego!", + "request-timeout": "Przekroczono limit czasu żądania", + "rpc-http-error": "Błąd: {{status}} - {{statusText}}" } }, "rulechain": { "rulechain": "Łańcuch reguł", "rulechain-events": "Zdarzenia łańcucha reguł", "rulechains": "Łańcuchy reguł", - "root": "Źródło", + "root": "Główny", "delete": "Usuń łańcuch reguł", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "description": "Opis", "add": "Dodaj łańcuch reguł", - "set-root": "Utwórz katalog główny łańcucha reguł", - "set-root-rulechain-title": "Czy na pewno chcesz utworzyć łańcuch reguł '{{ruleChainName}}' źródło?", - "set-root-rulechain-text": "Po potwierdzeniu łańcuch reguł stanie się rootem i będzie obsługiwał wszystkie przychodzące komunikaty transportowe.", - "delete-rulechain-title": "Czy na pewno chcesz usunąć łańcuch reguł '{{ruleChainName}}'?", - "delete-rulechain-text": "Bądź ostrożny, po potwierdzeniu łańcucha reguł i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-rulechains-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 łańcuch reguł} other {# łańcuchów reguł} }?", - "delete-rulechains-action-title": "Usuń { count, plural, =1 {1 łańcuch reguł} other {# łańcuchów reguł} }", - "delete-rulechains-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane łańcuchy reguł zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", + "set-root": "Ustaw jako główny łańcuch reguł", + "set-root-rulechain-title": "Czy na pewno chcesz ustawić łańcuch reguł „{{ruleChainName}}” jako główny?", + "set-root-rulechain-text": "Po potwierdzeniu łańcuch reguł stanie się głównym łańcuchem reguł i będzie obsługiwał wszystkie przychodzące wiadomości transportowe.", + "delete-rulechain-title": "Czy na pewno chcesz usunąć łańcuch reguł „{{ruleChainName}}”?", + "delete-rulechain-text": "Uważaj, po potwierdzeniu łańcucha reguł i wszystkich powiązanych danych nie będzie można odzyskać.", + "delete-rulechains-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 łańcuch reguł} one {# łańcuch reguł} few {# łańcuchy reguł} other {# łańcuchów reguł} }?", + "delete-rulechains-action-title": "Usuń { count, plural, =1 {1 łańcuch reguł} one {# łańcuch reguł} few {# łańcuchy reguł} other {# łańcuchów reguł} }", + "delete-rulechains-text": "Uważaj, po potwierdzeniu wszystkie wybrane łańcuchy reguł zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", "add-rulechain-text": "Dodaj nowy łańcuch reguł", "no-rulechains-text": "Nie znaleziono łańcuchów reguł", "rulechain-details": "Szczegóły łańcucha reguł", "details": "Szczegóły", - "events": "Wydarzenia", + "events": "Zdarzenia", "system": "System", "import": "Importuj łańcuch reguł", "export": "Eksportuj łańcuch reguł", @@ -4465,51 +7636,62 @@ "create-new-rulechain": "Utwórz nowy łańcuch reguł", "rulechain-file": "Plik łańcucha reguł", "invalid-rulechain-file-error": "Nie można zaimportować łańcucha reguł: Nieprawidłowa struktura danych łańcucha reguł.", - "copyId": "Skopiuj identyfikator łańcucha reguł", + "rulechain-not-found-warning": "Nie znaleziono domyślnego łańcucha reguł. Profil został zapisany bez niego — możesz go przypisać w ustawieniach profilu.", + "copyId": "Kopiuj identyfikator łańcucha reguł", "idCopiedMessage": "Identyfikator łańcucha reguł został skopiowany do schowka", "select-rulechain": "Wybierz łańcuch reguł", - "no-rulechains-matching": "Nie znaleziono łańcuchów regół pasujących do '{{entity}}'.", + "no-rulechains-matching": "Nie znaleziono łańcuchów reguł pasujących do „{{entity}}”.", "rulechain-required": "Łańcuch reguł jest wymagany", "management": "Zarządzanie regułami", "debug-mode": "Tryb debugowania", "search": "Przeszukaj łańcuchy reguł", - "selected-rulechains": "Wybrano { count, plural, =1 {1 łańcuch reguł} other {# łańcuchów reguł} }", + "selected-rulechains": "Wybrano { count, plural, =1 {1 łańcuch reguł} one {# łańcuch reguł} few {# łańcuchy reguł} other {# łańcuchów reguł} }", "open-rulechain": "Otwórz łańcuch reguł", - "edge-template-root": "Katalog główny szablonu", - "assign-to-edge": "Przypisz do Edge", + "edge-template-root": "Główny dla szablonu", + "assign-to-edge": "Przypisz do instancji Edge", "edge-rulechain": "Łańcuch reguł Edge", - "unassign-rulechain-from-edge-text": "Po potwierdzeniu łańcuch reguł zostanie usunięty i nie będzie dostępny na urządzeniu Edge.", - "unassign-rulechains-from-edge-title": "Czy na pewno chcesz anulować przypisanie { count, plural, =1 {1 łańcucha reguł} other {# łańcuchów reguł} }?", - "unassign-rulechains-from-edge-text": "Po potwierdzeniu wszystkie wybrane łańcuchy reguł zostaną anulowane i nie będą dostępne na urządzeniu Edge.", - "assign-rulechain-to-edge-title": "Przypisz łańcuch(y) reguł do Edge", - "assign-rulechain-to-edge-text": "Wybierz łańcuchy reguł, które chcesz przypisać do Edge", - "set-edge-template-root-rulechain": "Utwórz łańcuch reguł jako główny szablon Edge", - "set-edge-tscheduler-eventemplate-root-rulechain": "Utwórz łańcuch reguł jako główny szablon Edge", - "set-edge-template-root-rulechain-title": "Czy na pewno chcesz utworzyć łańcuch reguł '{{ruleChainName}}' Katalog główny szablonu Edge?", - "set-edge-template-root-rulechain-text": "Po potwierdzeniu łańcuch reguł stanie się głównym szablonem Edge i będzie głównym łańcuchem reguł dla nowo utworzonych Edge.", - "invalid-rulechain-type-error": "Nie można zaimportować łańcucha reguł: nieprawidłowy typ łańcucha reguł. {{expectedRuleChainType}}.", - "set-auto-assign-to-edge": "Przypisz łańcuch reguł do Edge podczas tworzenia", - "set-auto-assign-to-edge-title": "Czy na pewno chcesz przypisać łańcuch reguł Edge '{{ruleChainName}}' do Edge podczas tworzenia?", - "set-auto-assign-to-edge-text": "Po potwierdzeniu łańcuch reguł Edge zostanie automatycznie przypisany do Edge podczas tworzenia.", - "unset-auto-assign-to-edge": "Nie przypisuj łańcucha reguł do Edge podczas tworzenia", - "unset-auto-assign-to-edge-title": "Czy na pewno nie chcesz przypisać łańcucha reguł Edge '{{ruleChainName}}' do Edge podczas tworzenia?", - "unset-auto-assign-to-edge-text": "Po potwierdzeniu łańcuch reguł Edge nie będzie już automatycznie przypisywany do Edge podczas tworzenia.", - "unassign-rulechain-title": "Czy na pewno chcesz usunąć przypisanie łańcucha reguł '{{ruleChainName}}'?", - "unassign-rulechains": "Usuń przypisanie łańcuchów reguł" + "unassign-rulechain-from-edge-text": "Po potwierdzeniu łańcuch reguł nie będzie już przypisany do instancji Edge i nie będzie dla niej dostępny.", + "unassign-rulechains-from-edge-title": "Czy na pewno chcesz anulować przypisanie { count, plural, =1 {1 łańcucha reguł} one {# łańcucha reguł} few {# łańcuchów reguł} other {# łańcuchów reguł} }?", + "unassign-rulechains-from-edge-text": "Po potwierdzeniu wszystkie wybrane łańcuchy reguł nie będą już przypisane do instancji Edge i nie będą dla niej dostępne.", + "assign-rulechain-to-edge-title": "Przypisz łańcuchy reguł do instancji Edge", + "assign-rulechain-to-edge-text": "Wybierz łańcuchy reguł, które chcesz przypisać do instancji Edge", + "set-edge-template-root-rulechain": "Ustaw jako główny łańcuch reguł szablonu Edge", + "set-edge-tscheduler-eventemplate-root-rulechain": "Ustaw jako główny łańcuch reguł szablonu Edge", + "set-edge-template-root-rulechain-title": "Czy na pewno chcesz ustawić łańcuch reguł „{{ruleChainName}}” jako główny łańcuch reguł szablonu Edge?", + "set-edge-template-root-rulechain-text": "Po potwierdzeniu łańcuch reguł stanie się głównym łańcuchem reguł szablonu Edge i będzie głównym łańcuchem reguł dla nowo utworzonych instancji Edge.", + "invalid-rulechain-type-error": "Nie można zaimportować łańcucha reguł: nieprawidłowy typ łańcucha reguł. Oczekiwany typ: {{expectedRuleChainType}}.", + "set-auto-assign-to-edge": "Przypisuj łańcuch reguł do instancji Edge podczas ich tworzenia", + "set-auto-assign-to-edge-title": "Czy na pewno chcesz przypisywać łańcuch reguł Edge „{{ruleChainName}}” do instancji Edge podczas ich tworzenia?", + "set-auto-assign-to-edge-text": "Po potwierdzeniu łańcuch reguł Edge będzie automatycznie przypisywany do instancji Edge podczas ich tworzenia.", + "unset-auto-assign-to-edge": "Nie przypisuj łańcucha reguł do instancji Edge podczas ich tworzenia", + "unset-auto-assign-to-edge-title": "Czy na pewno nie chcesz przypisywać łańcucha reguł Edge „{{ruleChainName}}” do instancji Edge podczas ich tworzenia?", + "unset-auto-assign-to-edge-text": "Po potwierdzeniu łańcuch reguł Edge nie będzie już automatycznie przypisywany do instancji Edge podczas ich tworzenia.", + "unassign-rulechain-title": "Czy na pewno chcesz anulować przypisanie łańcucha reguł „{{ruleChainName}}”?", + "unassign-rulechains": "Anuluj przypisanie łańcuchów reguł", + "add-note": "Dodaj notatkę", + "paste-note": "Wklej notatkę", + "note": "Notatka", + "edit-note": "Edytuj notatkę", + "note-content": "Treść Markdown/HTML", + "note-details": "Szczegóły notatki", + "note-background-color": "Kolor tła", + "note-border": "Obramowanie", + "note-apply-default-markdown-style": "Zastosuj domyślny styl Markdown", + "note-custom-css": "CSS treści notatki" }, "rulenode": { "rule-node-events": "Zdarzenia węzła reguły", "details": "Szczegóły", - "events": "Wydarzenia", + "events": "Zdarzenia", "search": "Wyszukaj węzły", "open-node-library": "Otwórz bibliotekę węzłów", - "close-node-library": "Close node library", + "close-node-library": "Zamknij bibliotekę węzłów", "add": "Dodaj węzeł reguły", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "type": "Typ", - "rule-node-description": "Rule node description", + "rule-node-description": "Opis węzła reguły", "delete": "Usuń węzeł reguły", "select-all-objects": "Wybierz wszystkie węzły i połączenia", "deselect-all-objects": "Odznacz wszystkie węzły i połączenia", @@ -4517,10 +7699,11 @@ "delete-selected": "Usuń wybrane", "create-nested-rulechain": "Utwórz zagnieżdżony łańcuch reguł", "select-all": "Zaznacz wszystko", - "copy-selected": "Skopiuj wybrane", + "copy-selected": "Kopiuj wybrane", "deselect-all": "Odznacz wszystkie", "rulenode-details": "Szczegóły węzła reguły", "debug-mode": "Tryb debugowania", + "singleton": "Singleton", "configuration": "Konfiguracja", "link": "Połączenie", "link-details": "Szczegóły połączenia węzła reguły", @@ -4529,10 +7712,10 @@ "link-label-required": "Etykieta połączenia jest wymagana.", "custom-link-label": "Niestandardowa etykieta połączenia", "custom-link-label-required": "Niestandardowa etykieta połączenia jest wymagana.", - "link-labels": "Etykiety połaczeń", + "link-labels": "Etykiety połączeń", "link-labels-required": "Etykiety połączeń są wymagane.", "no-link-labels-found": "Nie znaleziono etykiet połączeń", - "no-link-label-matching": "Nie znaleziono '{{label}}'.", + "no-link-label-matching": "Nie znaleziono „{{label}}”.", "create-new-link-label": "Utwórz nowy!", "type-filter": "Filtr", "type-filter-details": "Filtruj wiadomości przychodzące według skonfigurowanych warunków", @@ -4551,15 +7734,16 @@ "type-flow": "Przepływ", "type-flow-details": "Organizuje przepływ wiadomości", "type-input": "Wejście", - "type-input-details": "Logiczne wejście łańcucha reguł przekazuje przychodzące wiadomości do następnego powiązanego węzła reguł", + "type-input-details": "Logiczne wejście łańcucha reguł; przekazuje przychodzące wiadomości do następnego powiązanego węzła reguły", "type-unknown": "Nieznany", - "type-unknown-details": "Nierozwiązany węzeł reguły", - "directive-is-not-loaded": "Zdefiniowana dyrektywa konfiguracyjna '{{directiveName}}' jest niedostępne.", - "ui-resources-load-error": "Nie udało się załadować bibliotek interfejsu konfiguracyjnego.", - "invalid-target-rulechain": "Nie można rozwiązać docelowego łańcucha reguł!", - "test-script-function": "Funkcja skryptu testowego", - "script-lang-java-script": "Java Script", + "type-unknown-details": "Nierozpoznany węzeł reguły", + "directive-is-not-loaded": "Zdefiniowana dyrektywa konfiguracyjna „{{directiveName}}” jest niedostępna.", + "ui-resources-load-error": "Nie udało się załadować zasobów interfejsu konfiguracji.", + "invalid-target-rulechain": "Nie można ustalić docelowego łańcucha reguł!", + "test-script-function": "Testowanie funkcji skryptu", + "script-lang-java-script": "JavaScript", "script-lang-tbel": "TBEL", + "script-lang-js": "JS", "message": "Wiadomość", "message-type": "Typ wiadomości", "select-message-type": "Wybierz typ wiadomości", @@ -4567,51 +7751,1003 @@ "metadata": "Metadane", "metadata-required": "Wpisy metadanych nie mogą być puste.", "output": "Wyjście", - "test": "Test", + "test": "Testuj", "help": "Pomoc", - "test-with-this-message": "{{test}} with this message", - "description": "Opis" + "reset-debug-settings": "Resetuj ustawienia debugowania we wszystkich węzłach", + "test-with-this-message": "{{test}} z tą wiadomością", + "queue-hint": "Wybierz kolejkę do przekazywania wiadomości do innej kolejki. Domyślnie używana jest kolejka „Main”.", + "queue-singleton-hint": "Wybierz kolejkę do przekazywania wiadomości w środowiskach wieloinstancyjnych. Domyślnie używana jest kolejka „Main”." + }, + "rule-node-config": { + "id": "ID", + "additional-info": "Dodatkowe informacje", + "advanced-settings": "Zaawansowane ustawienia", + "create-entity-if-not-exists": "Utwórz nowy obiekt, jeśli nie istnieje", + "create-entity-if-not-exists-hint": "Jeśli włączone, zostanie utworzony nowy obiekt o określonych parametrach, chyba że już istnieje. Istniejące obiekty zostaną użyte bez zmian do utworzenia relacji.", + "select-device-connectivity-event": "Wybierz zdarzenie łączności urządzenia", + "entity-name-pattern": "Wzorzec nazwy", + "device-name-pattern": "Nazwa urządzenia", + "asset-name-pattern": "Nazwa zasobu", + "entity-view-name-pattern": "Nazwa widoku obiektu", + "customer-title-pattern": "Tytuł klienta", + "dashboard-name-pattern": "Tytuł pulpitu", + "user-name-pattern": "E-mail użytkownika", + "edge-name-pattern": "Nazwa instancji Edge", + "entity-name-pattern-required": "Wzorzec nazwy jest wymagany", + "entity-name-pattern-hint": "Pole wzorca nazwy obsługuje szablony. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, oraz ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "copy-message-type": "Kopiuj typ wiadomości", + "entity-type-pattern": "Wzorzec typu", + "entity-type-pattern-required": "Wzorzec typu jest wymagany", + "message-type-value": "Wartość typu wiadomości", + "message-type-value-required": "Wartość typu wiadomości jest wymagana", + "message-type-value-max-length": "Wartość typu wiadomości powinna mieć mniej niż 256 znaków", + "output-message-type": "Wyjściowy typ wiadomości", + "entity-cache-expiration": "Czas wygaśnięcia pamięci podręcznej obiektów (s)", + "entity-cache-expiration-hint": "Określa maksymalny czas przechowywania znalezionych rekordów obiektów. Wartość 0 oznacza, że rekordy nigdy nie wygasną.", + "entity-cache-expiration-required": "Czas wygaśnięcia pamięci podręcznej obiektów jest wymagany.", + "entity-cache-expiration-range": "Czas wygaśnięcia pamięci podręcznej obiektów powinien być większy lub równy 0.", + "customer-name-pattern": "Tytuł klienta", + "customer-name-pattern-required": "Tytuł klienta jest wymagany", + "customer-name-pattern-hint": "Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, i ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "create-customer-if-not-exists": "Utwórz nowego klienta, jeśli nie istnieje", + "unassign-from-customer": "Anuluj przypisanie do określonego klienta, jeśli inicjatorem jest pulpit", + "unassign-from-customer-tooltip": "Tylko pulpity mogą być przypisane do wielu klientów jednocześnie. \\nJeśli inicjatorem wiadomości jest pulpit, musisz jawnie podać tytuł klienta, do którego przypisanie chcesz anulować.", + "customer-cache-expiration": "Czas wygaśnięcia pamięci podręcznej klientów (s)", + "customer-cache-expiration-hint": "Określa maksymalny czas przechowywania znalezionych rekordów klientów. Wartość 0 oznacza, że rekordy nigdy nie wygasną.", + "customer-cache-expiration-required": "Czas wygaśnięcia pamięci podręcznej klientów jest wymagany.", + "customer-cache-expiration-range": "Czas wygaśnięcia pamięci podręcznej klientów powinien być większy lub równy 0.", + "interval-start": "Początek interwału", + "interval-end": "Koniec interwału", + "time-unit": "Jednostka czasu", + "fetch-mode": "Tryb pobierania", + "order-by-timestamp": "Sortuj według znacznika czasu", + "limit": "Limit", + "limit-hint": "Minimalna wartość limitu to 2, maksymalna — 1000. Jeśli chcesz pobrać pojedynczy wpis, wybierz tryb pobierania „Pierwsza” lub „Ostatnia”.", + "limit-required": "Limit jest wymagany.", + "limit-range": "Limit powinien mieścić się w zakresie od 2 do 1000.", + "time-unit-milliseconds": "Milisekundy", + "time-unit-seconds": "Sekundy", + "time-unit-minutes": "Minuty", + "time-unit-hours": "Godziny", + "time-unit-days": "Dni", + "time-value-range": "Dozwolony zakres od 1 do 2147483647.", + "start-interval-value-required": "Początek interwału jest wymagany.", + "end-interval-value-required": "Koniec interwału jest wymagany.", + "filter": "Filtr", + "switch": "Przełącznik", + "math-templatization-tooltip": "To pole obsługuje szablony. Użyj $[messageKey], aby pobrać wartość z wiadomości, oraz ${metadataKey}, aby pobrać wartość z metadanych.", + "add-message-type": "Dodaj typ wiadomości", + "select-message-types-required": "Należy wybrać co najmniej jeden typ wiadomości.", + "select-message-types": "Wybierz typy wiadomości", + "no-message-types-found": "Nie znaleziono typów wiadomości", + "no-message-type-matching": "Nie znaleziono „{{messageType}}”.", + "create-new-message-type": "Utwórz nowy.", + "message-types-required": "Typy wiadomości są wymagane.", + "client-attributes": "Atrybuty klienta", + "shared-attributes": "Atrybuty współdzielone", + "server-attributes": "Atrybuty serwera", + "attributes-keys": "Klucze atrybutów", + "attributes-keys-required": "Klucze atrybutów są wymagane", + "attributes-scope": "Zakres atrybutów", + "attributes-scope-value": "Wartość zakresu atrybutów", + "attributes-scope-value-copy": "Kopiuj wartość zakresu atrybutów", + "attributes-scope-hint": "Użyj klucza metadanych „scope”, aby dynamicznie ustawiać zakres atrybutu dla każdej wiadomości. Jeśli zostanie podany, zastępuje zakres ustawiony w konfiguracji.", + "notify-device": "Wymuś powiadomienie urządzenia", + "send-attributes-updated-notification": "Wyślij powiadomienie o aktualizacji atrybutów", + "send-attributes-updated-notification-hint": "Wyślij powiadomienie o zaktualizowanych atrybutach jako osobną wiadomość do kolejki silnika reguł.", + "send-attributes-deleted-notification": "Wyślij powiadomienie o usunięciu atrybutów", + "send-attributes-deleted-notification-hint": "Wyślij powiadomienie o usuniętych atrybutach jako osobną wiadomość do kolejki silnika reguł.", + "update-attributes-only-on-value-change": "Zapisuj atrybuty tylko przy zmianie wartości", + "update-attributes-only-on-value-change-hint": "Aktualizuje atrybuty przy każdej wiadomości przychodzącej, niezależnie od tego, czy ich wartość się zmieniła. Zwiększa wykorzystanie API i obniża wydajność.", + "update-attributes-only-on-value-change-hint-enabled": "Aktualizuje atrybuty tylko wtedy, gdy ich wartość się zmieniła. Jeśli wartość się nie zmieniła, znacznik czasu atrybutu nie zostanie zaktualizowany ani nie zostanie wysłane powiadomienie o zmianie atrybutu.", + "fetch-credentials-to-metadata": "Pobierz dane uwierzytelniające do metadanych", + "notify-device-on-update-hint": "Jeśli włączone, wymusza powiadomienie urządzenia o aktualizacji atrybutów współdzielonych. Jeśli wyłączone, sposób powiadamiania zależy od parametru „notifyDevice” z metadanych wiadomości przychodzącej. Aby wyłączyć powiadomienie, metadane wiadomości muszą zawierać parametr „notifyDevice” ustawiony na „false”. W każdym innym przypadku powiadomienie zostanie wysłane do urządzenia.", + "notify-device-on-delete-hint": "Jeśli włączone, wymusza powiadomienie urządzenia o usunięciu atrybutów współdzielonych. Jeśli wyłączone, sposób powiadamiania zależy od parametru „notifyDevice” z metadanych wiadomości przychodzącej. Aby włączyć powiadomienie, metadane wiadomości muszą zawierać parametr „notifyDevice” ustawiony na „true”. W każdym innym przypadku powiadomienie nie zostanie wysłane do urządzenia.", + "latest-timeseries": "Klucze najnowszych danych szeregów czasowych", + "timeseries-keys": "Klucze szeregów czasowych", + "timeseries-keys-required": "Należy wybrać co najmniej jeden klucz szeregu czasowego.", + "add-timeseries-key": "Dodaj klucz szeregu czasowego", + "add-message-field": "Dodaj pole wiadomości", + "relation-search-parameters": "Parametry wyszukiwania relacji", + "relation-parameters": "Parametry relacji", + "add-metadata-field": "Dodaj pole metadanych", + "data-keys": "Nazwy pól wiadomości", + "copy-from": "Kopiuj z", + "data-to-metadata": "Dane do metadanych", + "metadata-to-data": "Metadane do danych", + "use-regular-expression-hint": "Użyj wyrażenia regularnego, aby kopiować klucze według wzorca.\n\nWskazówki:\nNaciśnij „Enter”, aby zakończyć wprowadzanie nazwy pola.\nNaciśnij „Backspace”, aby usunąć nazwę pola. Obsługiwanych jest wiele nazw pól.", + "interval": "Interwał", + "interval-required": "Interwał jest wymagany", + "interval-hint": "Interwał deduplikacji w sekundach.", + "interval-min-error": "Minimalna dozwolona wartość to 1", + "max-pending-msgs": "Maks. liczba oczekujących wiadomości", + "max-pending-msgs-hint": "Maksymalna liczba wiadomości przechowywanych w pamięci dla każdego unikalnego ID deduplikacji.", + "max-pending-msgs-required": "Maks. liczba oczekujących wiadomości jest wymagana", + "max-pending-msgs-max-error": "Maksymalna dozwolona wartość to 1000", + "max-pending-msgs-min-error": "Minimalna dozwolona wartość to 1", + "max-retries": "Maks. liczba ponownych prób", + "max-retries-required": "Maks. liczba ponownych prób jest wymagana", + "max-retries-hint": "Maksymalna liczba ponownych prób umieszczenia zdeduplikowanych wiadomości w kolejce. Między próbami stosowane jest 10-sekundowe opóźnienie", + "max-retries-max-error": "Maksymalna dozwolona wartość to 100", + "max-retries-min-error": "Minimalna dozwolona wartość to 0", + "strategy": "Strategia", + "strategy-required": "Strategia jest wymagana", + "strategy-all-hint": "Zwróć wszystkie wiadomości, które nadeszły w okresie deduplikacji, jako jedną wiadomość z tablicą JSON. Każdy element reprezentuje obiekt z wewnętrznymi właściwościami msg i metadata.", + "strategy-first-hint": "Zwróć pierwszą wiadomość, która nadeszła w okresie deduplikacji.", + "strategy-last-hint": "Zwróć ostatnią wiadomość, która nadeszła w okresie deduplikacji.", + "first": "Pierwsza", + "last": "Ostatnia", + "all": "Wszystkie", + "output-msg-type-hint": "Typ wiadomości będącej wynikiem deduplikacji.", + "queue-name-hint": "Nazwa kolejki, w której zostanie opublikowany wynik deduplikacji.", + "keys": "Klucze", + "keys-required": "Klucze są wymagane", + "rename-keys-in": "Zmień nazwy kluczy w", + "data": "Dane", + "message": "Wiadomość", + "metadata": "Metadane", + "current-key-name": "Bieżąca nazwa klucza", + "key-name-required": "Nazwa klucza jest wymagana", + "new-key-name": "Nowa nazwa klucza", + "new-key-name-required": "Nowa nazwa klucza jest wymagana", + "metadata-keys": "Nazwy pól metadanych", + "json-path-expression": "Wyrażenie ścieżki JSON", + "json-path-expression-required": "Wyrażenie ścieżki JSON jest wymagane", + "json-path-expression-hint": "JSONPath określa ścieżkę do elementu lub zbioru elementów w strukturze JSON. „$” oznacza główny obiekt lub główną tablicę.", + "relations-query": "Zapytanie o relacje", + "device-relations-query": "Zapytanie o relacje urządzenia", + "max-relation-level": "Maks. poziom relacji", + "max-relation-level-error": "Wartość powinna być większa niż 0 lub pozostać nieokreślona.", + "max-relation-level-invalid": "Wartość powinna być liczbą całkowitą.", + "relation-type": "Typ relacji", + "relation-type-pattern": "Wzorzec typu relacji", + "relation-type-pattern-required": "Wzorzec typu relacji jest wymagany", + "relation-types-list": "Typy relacji do propagacji", + "relation-types-list-hint": "Jeśli nie wybrano typów relacji do propagacji, alarmy będą propagowane bez filtrowania według typu relacji.", + "unlimited-level": "Nieograniczony poziom", + "latest-telemetry": "Najnowsza telemetria", + "add-telemetry-key": "Dodaj klucz telemetrii", + "delete-from": "Usuń z", + "use-regular-expression-delete-hint": "Użyj wyrażenia regularnego, aby usuwać klucze według wzorca.\n\nWskazówki:\nNaciśnij „Enter”, aby zakończyć wprowadzanie nazwy pola.\nNaciśnij „Backspace”, aby usunąć nazwę pola.\nObsługiwanych jest wiele nazw pól.", + "fetch-into": "Pobierz do", + "attr-mapping": "Mapowanie atrybutów:", + "source-attribute": "Klucz atrybutu źródłowego", + "source-attribute-required": "Klucz atrybutu źródłowego jest wymagany.", + "source-telemetry": "Klucz telemetrii źródłowej", + "source-telemetry-required": "Klucz telemetrii źródłowej jest wymagany.", + "target-key": "Klucz docelowy", + "target-key-required": "Klucz docelowy jest wymagany.", + "attr-mapping-required": "Należy określić co najmniej jeden wpis mapowania.", + "fields-mapping": "Mapowanie pól", + "fields-mapping-hint": "Jeśli pole wiadomości jest ustawione na $entityId, ID inicjatora wiadomości zostanie zapisane w określonej kolumnie tabeli.", + "relations-query-config-direction-suffix": "inicjatora", + "profile-name": "Nazwa profilu", + "fetch-circle-parameter-info-from-metadata-hint": "Pole metadanych „{{perimeterKeyName}}” powinno być zdefiniowane w następującym formacie: {\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", + "fetch-poligon-parameter-info-from-metadata-hint": "Pole metadanych „{{perimeterKeyName}}” powinno być zdefiniowane w następującym formacie: [[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", + "short-templatization-tooltip": "Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, oraz ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "fields-mapping-required": "Należy określić co najmniej jedno mapowanie pola.", + "at-least-one-field-required": "Co najmniej jedno pole wejściowe musi zawierać wartość.", + "originator-fields-sv-map-hint": "Pola kluczy docelowych obsługują szablony. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, oraz ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "sv-map-hint": "Tylko pola kluczy docelowych obsługują szablony. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, oraz ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "source-field": "Pole źródłowe", + "source-field-required": "Pole źródłowe jest wymagane.", + "originator-source": "Źródło inicjatora", + "new-originator": "Nowy inicjator", + "originator-customer": "Klient", + "originator-tenant": "Tenant", + "originator-related": "Powiązany obiekt", + "originator-alarm-originator": "Inicjator alarmu", + "originator-entity": "Obiekt według wzorca nazwy", + "clone-message": "Klonuj wiadomość", + "no-owners-matching": "Nie znaleziono właścicieli pasujących do „{{entity}}”.", + "owner-required": "Właściciel jest wymagany.", + "owner": "Właściciel", + "owner-of-entity-group": "Właściciel grupy obiektów", + "entity-group": "Grupa obiektów", + "transform": "Przekształć", + "default-ttl": "Domyślny TTL", + "default-ttl-required": "Domyślny TTL jest wymagany.", + "default-ttl-hint": "Węzeł reguły pobierze wartość czasu życia (TTL) z metadanych wiadomości. Jeśli wartość nie jest podana, używany jest TTL określony w konfiguracji. Jeśli wartość jest ustawiona na 0, zostanie zastosowany TTL z konfiguracji profilu tenanta.", + "default-ttl-zero-hint": "TTL nie zostanie zastosowany, jeśli jego wartość jest ustawiona na 0.", + "min-default-ttl-message": "Dozwolony jest tylko minimalny TTL równy 0.", + "generation-parameters": "Parametry generowania", + "message-count": "Limit generowanych wiadomości (0 - bez limitu)", + "message-count-required": "Limit generowanych wiadomości jest wymagany.", + "min-message-count-message": "Dozwolona jest tylko minimalna liczba wiadomości równa 0.", + "period-seconds": "Okres w sekundach", + "period-seconds-required": "Okres jest wymagany.", + "generation-frequency-seconds": "Częstotliwość generowania w sekundach", + "generation-frequency-required": "Częstotliwość generowania jest wymagana.", + "min-generation-frequency-message": "Dozwolone minimum to 1 sekunda.", + "script-lang-tbel": "TBEL", + "script-lang-js": "JS", + "use-metadata-period-in-seconds-patterns": "Użyj wzorca okresu w sekundach", + "use-metadata-period-in-seconds-patterns-hint": "Jeśli zaznaczono, węzeł reguły użyje wzorca interwału okresu w sekundach z metadanych lub danych wiadomości, przyjmując, że interwały są podane w sekundach.", + "period-in-seconds-pattern": "Wzorzec okresu w sekundach", + "period-in-seconds-pattern-required": "Wzorzec okresu w sekundach jest wymagany", + "min-period-seconds-message": "Dozwolony minimalny okres to 1 sekunda.", + "originator": "Inicjator", + "message-body": "Treść wiadomości", + "message-metadata": "Metadane wiadomości", + "generate": "Generuj", + "current-rule-node": "Bieżący węzeł reguły", + "current-tenant": "Bieżący tenant", + "generator-function": "Funkcja generatora", + "test-generator-function": "Testuj funkcję generatora", + "generator": "Generator", + "test-filter-function": "Testuj funkcję filtra", + "test-switch-function": "Testuj funkcję przełączania", + "parent-entity": "Obiekty nadrzędne", + "include-root-entity-to-parent-entities": "Uwzględnij obiekt główny na liście obiektów nadrzędnych", + "test-transformer-function": "Testuj funkcję transformacji", + "transformer": "Transformacja", + "alarm-create-condition": "Warunek utworzenia alarmu", + "test-condition-function": "Testuj funkcję warunku", + "alarm-clear-condition": "Warunek wyczyszczenia alarmu", + "alarm-details-builder": "Kreator szczegółów alarmu", + "test-details-function": "Testuj funkcję szczegółów", + "alarm-type": "Typ alarmu", + "select-entity-types": "Wybierz typy obiektów", + "alarm-type-required": "Typ alarmu jest wymagany.", + "alarm-severity": "Ważność alarmu", + "alarm-severity-required": "Ważność alarmu jest wymagana", + "alarm-severity-pattern": "Wzorzec ważności alarmu", + "alarm-status-filter": "Filtr statusu alarmu", + "alarm-status-list-empty": "Lista statusów alarmu jest pusta", + "no-alarm-status-matching": "Nie znaleziono pasujących statusów alarmu.", + "no-alarm-severity-matching": "Nie znaleziono pasujących poziomów ważności alarmu.", + "propagate": "Propaguj alarm do powiązanych obiektów", + "propagate-to-owner": "Propaguj alarm do właściciela obiektu (klienta lub tenanta)", + "propagate-to-owner-hierarchy": "Propaguj alarm w hierarchii właścicieli obiektu", + "propagate-to-tenant": "Propaguj alarm do tenanta", + "condition": "Warunek", + "details": "Szczegóły", + "to-string": "Konwersja na ciąg znaków", + "test-to-string-function": "Testuj funkcję konwersji na ciąg znaków", + "from-template": "Od", + "from-template-required": "Pole „Od” jest wymagane", + "message-to-metadata": "Z wiadomości do metadanych", + "metadata-to-message": "Z metadanych do wiadomości", + "from-message": "Z wiadomości", + "from-metadata": "Z metadanych", + "to-template": "Do", + "to-template-required": "Szablon „Do” jest wymagany", + "mail-address-list-template-hint": "Lista adresów oddzielonych przecinkami, użyj ${metadataKey} dla wartości z metadanych, $[messageKey] dla wartości z treści wiadomości", + "cc-template": "DW", + "bcc-template": "UDW", + "subject-template": "Temat", + "subject-template-required": "Szablon tematu jest wymagany", + "body-template": "Treść", + "body-template-required": "Szablon treści jest wymagany", + "dynamic-mail-body-type": "Dynamiczny typ treści wiadomości e-mail", + "mail-body-type": "Typ treści wiadomości e-mail", + "body-type-template": "Szablon typu treści", + "reply-routing-configuration": "Konfiguracja routingu odpowiedzi", + "rpc-reply-routing-configuration-hint": "Te parametry konfiguracji określają nazwy kluczy metadanych używanych do identyfikacji usługi, sesji i żądania w celu wysłania odpowiedzi zwrotnej.", + "reply-routing-configuration-hint": "Te parametry konfiguracji określają nazwy kluczy metadanych używanych do identyfikacji usługi i żądania w celu wysłania odpowiedzi zwrotnej.", + "request-id-metadata-attribute": "ID żądania", + "service-id-metadata-attribute": "ID usługi", + "session-id-metadata-attribute": "ID sesji", + "timeout-sec": "Limit czasu w sekundach", + "timeout-required": "Limit czasu jest wymagany", + "min-timeout-message": "Dozwolona jest tylko minimalna wartość limitu czasu równa 0.", + "endpoint-url-pattern": "Wzorzec adresu URL punktu końcowego", + "endpoint-url-pattern-required": "Wzorzec adresu URL punktu końcowego jest wymagany", + "request-method": "Metoda żądania", + "ignore-request-body": "Bez treści żądania", + "request-body-template": "Szablon treści żądania", + "request-body-template-hint": "Użyj ${metadataKey} dla metadanych, $[messageKey] dla wartości wiadomości. Jeśli pole jest puste, jako treść żądania używany jest ładunek wiadomości. Dla ładunków innych niż JSON włącz „Parsuj do zwykłego tekstu”.

Możesz wstawić sekret za pomocą symbolu zastępczego ${secret:name;type:TYPE}, gdzie „name” to identyfikator sekretu, a „type” to TEXT lub TEXT_FILE. Jest to przydatne w polach konfiguracji węzłów reguł, które nie obsługują bezpośrednio opcji „Użyj sekretu”. Przykład: ${secret:tenant password;type:TEXT}.", + "parse-to-plain-text": "Parsuj do zwykłego tekstu", + "parse-to-plain-text-hint": "Jeśli ta opcja jest zaznaczona, treść żądania (ładunek wiadomości lub wynik szablonu treści) zostanie wysłana jako zwykły ciąg tekstowy, a nie sparsowana jako JSON, np. msg = \"Hello,\\t\"world\"\" zostanie sparsowane do Hello, \"world\"", + "read-timeout": "Limit czasu odczytu w milisekundach", + "read-timeout-hint": "Wartość 0 oznacza nieskończony limit czasu", + "max-parallel-requests-count": "Maks. liczba równoległych żądań", + "max-parallel-requests-count-hint": "Wartość 0 oznacza brak limitu przetwarzania równoległego", + "max-response-size": "Maks. rozmiar odpowiedzi (w KB)", + "max-response-size-hint": "Maksymalna ilość pamięci przydzielanej do buforowania danych podczas dekodowania lub kodowania wiadomości HTTP, takich jak ładunki JSON lub XML", + "headers": "Nagłówki", + "headers-hint": "Użyj ${metadataKey} dla wartości z metadanych, $[messageKey] dla wartości z treści wiadomości w polach nagłówka/wartości.

Możesz wstawić sekret za pomocą symbolu zastępczego ${secret:name;type:TYPE}, gdzie „name” to identyfikator sekretu, a „type” to TEXT lub TEXT_FILE. Jest to przydatne w polach konfiguracji węzłów reguł, które nie obsługują bezpośrednio opcji „Użyj sekretu”. Przykład: ${secret:Header;type:TEXT}.", + "header": "Nagłówek", + "header-required": "Nagłówek jest wymagany", + "value": "Wartość", + "value-required": "Wartość jest wymagana", + "topic-pattern": "Wzorzec tematu", + "key-pattern": "Wzorzec klucza", + "key-pattern-hint": "Opcjonalne. Jeśli podano prawidłowy numer partycji, zostanie on użyty podczas wysyłania rekordu. Jeśli nie podano partycji, zostanie użyty klucz. Jeśli nie podano żadnego z nich, partycja zostanie przydzielona metodą round-robin.", + "topic-pattern-required": "Wzorzec tematu jest wymagany", + "topic": "Temat", + "topic-required": "Temat jest wymagany", + "bootstrap-servers": "Serwery Bootstrap", + "bootstrap-servers-required": "Wartość serwerów Bootstrap jest wymagana", + "other-properties": "Inne właściwości", + "other-properties-empty": "Nie skonfigurowano innych właściwości", + "key": "Klucz", + "key-required": "Klucz jest wymagany", + "retries": "Liczba automatycznych ponownych prób w przypadku niepowodzenia", + "min-retries-message": "Minimalna dozwolona liczba ponownych prób to 0.", + "batch-size-bytes": "Rozmiar partii producenta w bajtach", + "min-batch-size-bytes-message": "Minimalny dozwolony rozmiar partii to 0.", + "linger-ms": "Czas lokalnego buforowania (ms)", + "min-linger-ms-message": "Minimalna dozwolona wartość to 0 ms.", + "buffer-memory-bytes": "Maks. rozmiar bufora klienta w bajtach", + "min-buffer-memory-message": "Minimalny dozwolony rozmiar bufora to 0.", + "memory-buffer-size-range": "Rozmiar bufora pamięci musi mieścić się w zakresie od 0 do {{max}} KB", + "acks": "Liczba potwierdzeń", + "topic-arn-pattern": "Wzorzec ARN tematu", + "topic-arn-pattern-required": "Wzorzec ARN tematu jest wymagany", + "aws-access-key-id": "Identyfikator klucza dostępu AWS", + "aws-access-key-id-required": "Identyfikator klucza dostępu AWS jest wymagany", + "aws-secret-access-key": "Tajny klucz dostępu AWS", + "aws-secret-access-key-required": "Tajny klucz dostępu AWS jest wymagany", + "aws-region": "Region AWS", + "aws-region-required": "Region AWS jest wymagany", + "exchange-name-pattern": "Wzorzec nazwy exchange", + "routing-key-pattern": "Wzorzec klucza routingu", + "message-properties": "Właściwości wiadomości", + "host": "Host", + "host-required": "Host jest wymagany", + "port": "Port", + "port-required": "Port jest wymagany", + "port-range": "Port powinien mieścić się w zakresie od 1 do 65535.", + "virtual-host": "Host wirtualny", + "username": "Nazwa użytkownika", + "password": "Hasło", + "automatic-recovery": "Automatyczne odzyskiwanie", + "connection-timeout-ms": "Limit czasu połączenia (ms)", + "min-connection-timeout-ms-message": "Dozwolona jest tylko minimalna wartość 0 ms.", + "handshake-timeout-ms": "Limit czasu uzgadniania połączenia (ms)", + "min-handshake-timeout-ms-message": "Dozwolona jest tylko minimalna wartość 0 ms.", + "client-properties": "Właściwości klienta", + "client-properties-empty": "Nie skonfigurowano właściwości klienta", + "queue-url-pattern": "Wzorzec URL kolejki", + "queue-url-pattern-required": "Wzorzec URL kolejki jest wymagany", + "delay-seconds": "Opóźnienie (sekundy)", + "min-delay-seconds-message": "Dozwolona jest tylko minimalna wartość 0 sekund.", + "max-delay-seconds-message": "Dozwolona jest tylko maksymalna wartość 900 sekund.", + "name": "Nazwa", + "name-required": "Nazwa jest wymagana", + "queue-type": "Typ kolejki", + "sqs-queue-standard": "Standardowa", + "sqs-queue-fifo": "FIFO", + "gcp-project-id": "ID projektu GCP", + "gcp-project-id-required": "ID projektu GCP jest wymagany", + "gcp-service-account-key": "Plik klucza konta usługi GCP", + "gcp-service-account-key-required": "Plik klucza konta usługi GCP jest wymagany", + "pubsub-topic-name": "Nazwa tematu", + "pubsub-topic-name-required": "Nazwa tematu jest wymagana", + "message-attributes": "Atrybuty wiadomości", + "message-attributes-empty": "Nie skonfigurowano atrybutów wiadomości", + "message-attributes-hint": "Użyj ${metadataKey} dla wartości z metadanych, $[messageKey] dla wartości z treści wiadomości w polach nazwy/wartości", + "connect-timeout": "Limit czasu połączenia (s)", + "connect-timeout-required": "Limit czasu połączenia jest wymagany.", + "connect-timeout-range": "Limit czasu połączenia powinien mieścić się w zakresie od 1 do 200.", + "client-id": "Identyfikator klienta", + "client-id-hint": "Opcjonalnie. Pozostaw puste, aby identyfikator klienta został wygenerowany automatycznie. Zachowaj ostrożność przy określaniu identyfikatora klienta. Większość brokerów MQTT nie zezwala na wiele połączeń z tym samym identyfikatorem klienta. Aby połączyć się z takimi brokerami, Twój identyfikator klienta MQTT musi być unikalny. Gdy platforma działa w trybie mikrousług, kopia węzła reguły jest uruchamiana w każdej mikrousłudze. Automatycznie prowadzi to do powstania wielu klientów MQTT z tym samym identyfikatorem i może powodować awarie węzła reguły. Aby uniknąć takich awarii, włącz poniżej opcję „Dodaj identyfikator usługi jako sufiks do identyfikatora klienta”.", + "append-client-id-suffix": "Dodaj identyfikator usługi jako sufiks do identyfikatora klienta", + "client-id-suffix-hint": "Opcjonalnie. Stosowane, gdy „Identyfikator klienta” jest określony jawnie. Jeśli zaznaczono, identyfikator usługi zostanie dodany do identyfikatora klienta jako sufiks. Pomaga uniknąć awarii, gdy platforma działa w trybie mikrousług.", + "device-id": "Identyfikator urządzenia", + "device-id-required": "Identyfikator urządzenia jest wymagany.", + "clean-session": "Czysta sesja", + "enable-ssl": "Włącz SSL", + "credentials": "Dane uwierzytelniające", + "credentials-type": "Typ danych uwierzytelniających", + "credentials-type-required": "Typ danych uwierzytelniających jest wymagany.", + "credentials-anonymous": "Anonimowy", + "credentials-basic": "Podstawowy", + "credentials-pem": "PEM", + "credentials-pem-hint": "Wymagany jest co najmniej plik certyfikatu CA serwera lub para plików: certyfikat klienta i klucz prywatny klienta", + "credentials-sas": "Shared Access Signature", + "secret-placeholder-hint": "Możesz wstawić sekret za pomocą symbolu zastępczego ${secret:name;type:TYPE}, gdzie 'name' to identyfikator sekretu, a 'type' to TEXT lub TEXT_FILE. Jest to przydatne w polach konfiguracji węzłów reguł, które nie obsługują bezpośrednio opcji „Użyj sekretu”. Przykład: ${secret:Header;type:TEXT}", + "sas-key": "Klucz SAS", + "sas-key-required": "Klucz SAS jest wymagany.", + "hostname": "Nazwa hosta", + "hostname-required": "Nazwa hosta jest wymagana.", + "azure-ca-cert": "Plik certyfikatu CA", + "username-required": "Nazwa użytkownika jest wymagana.", + "password-required": "Hasło jest wymagane.", + "ca-cert": "Plik certyfikatu CA serwera", + "private-key": "Plik klucza prywatnego klienta", + "cert": "Plik certyfikatu klienta", + "no-file": "Nie wybrano pliku.", + "drop-file": "Upuść plik lub kliknij, aby wybrać plik do przesłania.", + "private-key-password": "Hasło klucza prywatnego", + "use-system-smtp-settings": "Użyj systemowych ustawień SMTP", + "use-metadata-dynamic-interval": "Użyj dynamicznego interwału", + "metadata-dynamic-interval-hint": "Pola początku i końca interwału obsługują szablony. Pamiętaj, że podstawiona wartość szablonu powinna być podana w milisekundach. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, i ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "use-metadata-interval-patterns-hint": "Jeśli zaznaczono, węzeł reguły używa wzorców początku i końca interwału z metadanych lub danych wiadomości, przyjmując, że interwały są podane w milisekundach.", + "use-message-alarm-data": "Użyj danych alarmu z wiadomości", + "overwrite-alarm-details": "Nadpisz szczegóły alarmu", + "use-alarm-severity-pattern": "Użyj wzorca ważności alarmu", + "check-all-keys": "Sprawdź, czy wszystkie określone pola są obecne", + "check-all-keys-hint": "Jeśli zaznaczono, sprawdza, czy wszystkie określone klucze są obecne w danych i metadanych wiadomości.", + "check-relation-to-specific-entity": "Sprawdź relację z określonym obiektem", + "check-relation-to-specific-entity-tooltip": "Jeśli włączono, sprawdza istnienie relacji z określonym obiektem; w przeciwnym razie sprawdza istnienie relacji z dowolnym obiektem. W obu przypadkach wyszukiwanie relacji opiera się na skonfigurowanym kierunku i typie.", + "check-relation-hint": "Sprawdza istnienie relacji z określonym obiektem lub z dowolnym obiektem na podstawie kierunku i typu relacji.", + "delete-relation-with-specific-entity": "Usuń relację z określonym obiektem", + "delete-relation-with-specific-entity-hint": "Jeśli włączono, usunie relację tylko z jednym określonym obiektem. W przeciwnym razie relacja zostanie usunięta ze wszystkimi pasującymi obiektami.", + "delete-relation-hint": "Usuwa relację od inicjatora wiadomości przychodzącej do określonego obiektu lub listy obiektów na podstawie kierunku i typu.", + "remove-current-relations": "Usuń bieżące relacje", + "remove-current-relations-hint": "Usuwa bieżące relacje inicjatora wiadomości przychodzącej na podstawie kierunku i typu.", + "change-originator-to-related-entity": "Zmień inicjatora na powiązany obiekt", + "change-originator-to-related-entity-hint": "Służy do przetwarzania przesłanej wiadomości jako wiadomości od innego obiektu.", + "start-interval": "Początek interwału", + "end-interval": "Koniec interwału", + "start-interval-required": "Początek interwału jest wymagany.", + "end-interval-required": "Koniec interwału jest wymagany.", + "smtp-protocol": "Protokół", + "smtp-host": "Host SMTP", + "smtp-host-required": "Host SMTP jest wymagany.", + "smtp-port": "Port SMTP", + "smtp-port-required": "Podaj port SMTP.", + "smtp-port-range": "Port SMTP powinien mieścić się w zakresie od 1 do 65535.", + "timeout-msec": "Limit czasu ms", + "min-timeout-msec-message": "Minimalna dozwolona wartość to 0 ms.", + "enter-username": "Wprowadź nazwę użytkownika", + "enter-password": "Wprowadź hasło", + "enable-tls": "Włącz TLS", + "group-name-pattern": "Wzorzec nazwy grupy", + "group-name-pattern-required": "Wzorzec nazwy grupy jest wymagany", + "create-group-if-not-exists": "Utwórz nową grupę, jeśli nie istnieje", + "group-cache-expiration": "Czas wygaśnięcia pamięci podręcznej grup (s)", + "group-cache-expiration-required": "Czas wygaśnięcia pamięci podręcznej grup jest wymagany.", + "group-cache-expiration-range": "Czas wygaśnięcia pamięci podręcznej grup powinien być większy lub równy 0.", + "group-cache-expiration-hint": "Określa maksymalny czas przechowywania znalezionych rekordów grup obiektów. Wartość 0 oznacza, że rekordy nigdy nie wygasają.", + "remove-from-current-groups": "Usuń z bieżących grup", + "use-report-config-from-message": "Użyj konfiguracji raportu z wiadomości", + "use-report-config-from-message-hint": "Jeśli ta opcja jest włączona, węzeł reguły pobierze konfigurację generowania raportu z wiadomości przychodzącej; w przeciwnym razie używana jest konfiguracja określona poniżej.", + "use-system-reports-server": "Użyj systemowego serwera raportów", + "use-system-reports-server-hint": "Jeśli ta opcja jest włączona, węzeł reguły użyje adresu URL punktu końcowego serwera raportów z konfiguracji systemowej; w przeciwnym razie używany jest adres URL określony poniżej.", + "reports-server-endpoint-url": "Adres URL punktu końcowego serwera raportów", + "reports-server-endpoint-url-is-required": "Adres URL punktu końcowego serwera raportów jest wymagany.", + "tls-version": "Wersja TLS", + "enable-proxy": "Włącz proxy", + "use-system-proxy-properties": "Użyj systemowych właściwości proxy", + "proxy-host": "Host proxy", + "proxy-host-required": "Host proxy jest wymagany.", + "proxy-port": "Port proxy", + "proxy-port-required": "Port proxy jest wymagany.", + "proxy-port-range": "Port proxy powinien mieścić się w zakresie od 1 do 65535.", + "proxy-user": "Użytkownik proxy", + "proxy-password": "Hasło proxy", + "numbers-to-template": "Szablon numerów telefonów odbiorców", + "numbers-to-template-required": "Szablon numerów telefonów odbiorców jest wymagany", + "numbers-to-template-hint": "Numery telefonów oddzielone przecinkami, użyj ${metadataKey} dla wartości z metadanych, $[messageKey] dla wartości z treści wiadomości", + "sms-message-template": "Szablon wiadomości SMS", + "sms-message-template-required": "Szablon wiadomości SMS jest wymagany", + "use-system-sms-settings": "Użyj systemowych ustawień dostawcy SMS", + "min-period-0-seconds-message": "Dozwolony jest tylko minimalny okres 0 sekund.", + "max-pending-messages": "Maksymalna liczba oczekujących wiadomości", + "max-pending-messages-required": "Maksymalna liczba oczekujących wiadomości jest wymagana.", + "max-pending-messages-range": "Maksymalna liczba oczekujących wiadomości powinna mieścić się w zakresie od 1 do 100000.", + "aggregation": "Agregacja", + "math-function": "Funkcja agregacji", + "func-min": "Minimum", + "func-max": "Maksimum", + "func-sum": "Suma", + "func-avg": "Średnia", + "func-count": "Liczba", + "func-count-unique": "Liczba unikalnych", + "agg-interval-value": "Wartość interwału agregacji", + "agg-interval-value-required": "Wartość interwału agregacji jest wymagana.", + "agg-interval-time-unit": "Jednostka czasu interwału agregacji", + "auto-create-intervals": "Automatycznie twórz interwały", + "interval-entities": "Obiekty interwałów", + "interval-persistence": "Utrwalanie interwałów", + "interval-persistence-policy": "Polityka utrwalania interwałów", + "interval-persist-policy-on-each-check": "Przy każdym sprawdzeniu", + "interval-persist-policy-on-each-check-after-interval-end": "Przy każdym sprawdzeniu po zakończeniu interwału", + "interval-persist-policy-on-each-message": "Przy każdej wiadomości", + "interval-check-value": "Wartość interwału sprawdzania", + "interval-check-value-required": "Wartość interwału sprawdzania jest wymagana.", + "interval-check-time-unit": "Jednostka czasu interwału sprawdzania", + "interval-ttl-value": "Wartość TTL interwału", + "interval-ttl-value-required": "Wartość TTL interwału jest wymagana.", + "interval-ttl-time-unit": "Jednostka czasu TTL interwału", + "state-persistence": "Utrwalanie stanu", + "state-persistence-policy": "Polityka utrwalania stanu", + "state-persist-policy-on-each-change": "Przy każdej zmianie", + "state-persist-policy-periodically": "Okresowo", + "state-persistence-value": "Wartość utrwalania stanu", + "state-persistence-value-required": "Wartość utrwalania stanu jest wymagana.", + "state-persistence-time-unit": "Jednostka czasu utrwalania stanu", + "target-entity-group": "Docelowa grupa obiektów", + "entity-group-is-message-originator": "Grupa obiektów jest inicjatorem wiadomości", + "originator-types-filter": "Filtr typów inicjatora", + "single-entity": "Pojedynczy obiekt", + "group-of-entities": "Grupa obiektów", + "entities": "Obiekty", + "root-entity": "Obiekt główny", + "child-entities-query": "Zapytanie o obiekty podrzędne", + "child-entities": "Obiekty podrzędne", + "execution-period-value": "Wartość okresu wykonywania", + "execution-period-value-required": "Wartość okresu wykonywania jest wymagana.", + "execution-period-time-unit": "Jednostka czasu okresu wykonywania", + "agg-latest-mappings": "Mapowania agregacji najnowszych wartości", + "mappings": "Mapowania", + "edit-mapping": "Edytuj mapowanie", + "remove-mapping": "Usuń mapowanie", + "add-mapping": "Dodaj mapowanie", + "add-mapping-prompt": "Dodaj mapowanie", + "attribute-scope": "Zakres atrybutów", + "default-value": "Domyślna wartość", + "default-value-required": "Domyślna wartość jest wymagana.", + "target-telemetry": "Telemetria docelowa", + "target-telemetry-required": "Telemetria docelowa jest wymagana.", + "filter-entities": "Filtruj obiekty", + "entity-filter": "Filtr obiektów", + "fetch-entity-attributes": "Pobierz atrybuty obiektu", + "count-alarms-for-child-entities": "Zliczaj alarmy dla obiektów podrzędnych", + "count-alarms-for-propagation-entities": "Zliczaj alarmy dla obiektów propagacji", + "alarms-count-mappings": "Mapowania liczby alarmów", + "propagation-entity-types": "Typy obiektów propagacji", + "propagation-entity-types-info": "Jeśli wybrano typy obiektów propagacji, obiekty propagowane zostaną przefiltrowane według wybranych typów; w przeciwnym razie filtrowanie nie jest stosowane.", + "count-alarms-for-propagation-entities-info": "Jeśli ta opcja jest włączona, alarmy będą zliczane nie tylko dla inicjatora alarmu, ale także dla wszystkich obiektów propagowanych.", + "and": "i", + "all-alarms": "Wszystkie alarmy", + "for": "dla", + "status-filter": "Filtr statusu", + "severity-filter": "Filtr ważności", + "type-filter": "Filtr typów", + "all-statuses": "Wszystkie statusy", + "all-severities": "Wszystkie ważności", + "all-types": "Wszystkie typy", + "add-alarm-status": "+Status alarmu", + "add-alarm-severity": "+Ważność alarmu", + "add-alarm-type": "+Typ alarmu", + "specify-interval": "Określ interwał", + "interval-seconds": "Interwał w sekundach", + "interval-seconds-required": "Interwał jest wymagany.", + "int-range": "Wartość nie może przekraczać maksymalnego limitu liczby całkowitej (2147483648)", + "min-interval-seconds-message": "Minimalny dozwolony interwał to 1 sekunda.", + "output-timeseries-key-prefix": "Prefiks klucza wyjściowego szeregu czasowego", + "output-timeseries-key-prefix-required": "Prefiks klucza wyjściowego szeregu czasowego jest wymagany.", + "separator-hint": "Naciśnij „Enter”, aby zakończyć wprowadzanie danych w polu.", + "owner-type": "Typ właściciela", + "owner-name-pattern": "Tytuł klienta", + "owner-name-pattern-required": "Tytuł klienta jest wymagany", + "create-owner-if-not-exists": "Utwórz nowego klienta, jeśli nie istnieje", + "create-owner-if-not-exists-hint": "Jeśli opcja jest włączona, a klient o podanym tytule nie istnieje, węzeł reguły utworzy nowego klienta jako klienta najwyższego poziomu.", + "create-new-customer-if-not-exists-hint": "Jeśli opcja jest włączona, a klient o podanym tytule nie istnieje, węzeł reguły utworzy nowego klienta.", + "create-owner-on-originator-level": "Utwórz nowego klienta na tym samym poziomie co inicjator wiadomości", + "create-owner-on-originator-level-hint": "Jeśli opcja jest włączona, a właścicielem inicjatora jest tenant, węzeł reguły utworzy klienta najwyższego poziomu. Jeśli opcja jest włączona, a właścicielem inicjatora jest klient, węzeł reguły utworzy jego klienta podrzędnego.", + "owner-cache-expiration": "Czas wygaśnięcia pamięci podręcznej właścicieli (s)", + "owner-cache-expiration-required": "Czas wygaśnięcia pamięci podręcznej właścicieli jest wymagany.", + "owner-cache-expiration-range": "Czas wygaśnięcia pamięci podręcznej właścicieli powinien być większy lub równy 0.", + "owner-cache-expiration-hint": "Określa maksymalny czas przechowywania znalezionych rekordów właścicieli. Wartość 0 oznacza, że rekordy nigdy nie wygasają.", + "select-details": "Wybierz szczegóły", + "entity-details-id": "ID", + "entity-details-title": "Tytuł", + "entity-details-country": "Kraj", + "entity-details-state": "Stan/prowincja", + "entity-details-city": "Miasto", + "entity-details-zip": "Kod pocztowy", + "entity-details-address": "Adres", + "entity-details-address2": "Adres 2", + "entity-details-additional_info": "Dodatkowe informacje", + "entity-details-phone": "Telefon", + "entity-details-email": "E-mail", + "email-sender": "Nadawca e-maila", + "fields-to-check": "Pola do sprawdzenia", + "add-detail": "Dodaj szczegół", + "check-all-keys-tooltip": "Jeśli włączone, sprawdza, czy wszystkie pola wymienione w nazwach pól wiadomości i metadanych występują w wiadomości przychodzącej i jej metadanych.", + "fields-to-check-hint": "Naciśnij „Enter”, aby zakończyć wprowadzanie nazwy pola. Obsługiwanych jest wiele nazw pól.", + "entity-details-list-empty": "Należy wybrać co najmniej jeden szczegół.", + "alarm-status": "Status alarmu", + "alarm-required": "Należy wybrać co najmniej jeden status alarmu.", + "no-entity-details-matching": "Nie znaleziono pasujących szczegółów obiektu.", + "custom-table-name": "Niestandardowa nazwa tabeli", + "custom-table-name-required": "Nazwa tabeli jest wymagana", + "custom-table-hint": "Tabela musi zostać utworzona w Twoim klastrze Cassandra, a jej nazwa musi zaczynać się od prefiksu „cs_tb_”, aby uniknąć wstawiania danych do wspólnych tabel TB. Wprowadź tutaj nazwę tabeli bez prefiksu „cs_tb_”.", + "message-field": "Pole wiadomości", + "message-field-required": "Pole wiadomości jest wymagane.", + "table-col": "Kolumna tabeli", + "table-col-required": "Kolumna tabeli jest wymagana.", + "latitude-field-name": "Nazwa pola szerokości geograficznej", + "longitude-field-name": "Nazwa pola długości geograficznej", + "latitude-field-name-required": "Nazwa pola szerokości geograficznej jest wymagana.", + "longitude-field-name-required": "Nazwa pola długości geograficznej jest wymagana.", + "fetch-perimeter-info-from-metadata": "Pobierz informacje o obszarze z metadanych", + "fetch-perimeter-info-from-metadata-tooltip": "Jeśli typ obszaru jest ustawiony na „Wielokąt”, wartość pola metadanych „{{perimeterKeyName}}” zostanie użyta jako definicja obszaru bez dodatkowego parsowania wartości. W przeciwnym razie, jeśli typ obszaru jest ustawiony na „Koło”, wartość pola metadanych „{{perimeterKeyName}}” zostanie sparsowana w celu wyodrębnienia pól „latitude”, „longitude”, „radius”, „radiusUnit”, które służą do definicji obszaru w kształcie koła.", + "perimeter-key-name": "Nazwa klucza obszaru", + "perimeter-key-name-hint": "Nazwa pola metadanych zawierającego informacje o obszarze.", + "perimeter-key-name-required": "Nazwa klucza obszaru jest wymagana.", + "perimeter-circle": "Koło", + "perimeter-polygon": "Wielokąt", + "perimeter-type": "Typ obszaru", + "circle-center-latitude": "Szerokość geograficzna środka", + "circle-center-latitude-required": "Szerokość geograficzna środka jest wymagana.", + "circle-center-longitude": "Długość geograficzna środka", + "circle-center-longitude-required": "Długość geograficzna środka jest wymagana.", + "range-unit-meter": "Metr", + "range-unit-kilometer": "Kilometr", + "range-unit-foot": "Stopa", + "range-unit-mile": "Mila", + "range-unit-nautical-mile": "Mila morska", + "range-units": "Jednostki zakresu", + "range-units-required": "Jednostki zakresu są wymagane.", + "range": "Zakres", + "range-required": "Zakres jest wymagany.", + "polygon-definition": "Definicja wielokąta", + "polygon-definition-required": "Definicja wielokąta jest wymagana.", + "polygon-definition-hint": "Użyj następującego formatu do ręcznego zdefiniowania wielokąta: [[lat1,lon1],[lat2,lon2], ... ,[latN,lonN]].", + "min-inside-duration": "Minimalny czas przebywania wewnątrz", + "min-inside-duration-value-required": "Minimalny czas przebywania wewnątrz jest wymagany", + "min-inside-duration-time-unit": "Jednostka czasu minimalnego przebywania wewnątrz", + "min-outside-duration": "Minimalny czas przebywania na zewnątrz", + "min-outside-duration-value-required": "Minimalny czas przebywania na zewnątrz jest wymagany", + "min-outside-duration-time-unit": "Jednostka czasu minimalnego przebywania na zewnątrz", + "tell-failure-if-absent": "Zgłoś niepowodzenie", + "tell-failure-if-absent-hint": "Jeśli co najmniej jeden z wybranych kluczy nie istnieje, wiadomość wychodząca zgłosi „Failure”.", + "get-latest-value-with-ts": "Pobierz znacznik czasu dla najnowszych wartości telemetrii", + "get-latest-value-with-ts-hint": "Jeśli zaznaczono, najnowsze wartości telemetrii będą zawierać również znacznik czasu, np.: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", + "ignore-null-strings": "Ignoruj ciągi znaków o wartości null", + "ignore-null-strings-hint": "Jeśli zaznaczono, węzeł reguły będzie ignorować pola obiektu z pustą wartością.", + "aggregate-interval-type": "Typ interwału agregacji", + "aggregate-period-hour": "Godzina", + "aggregate-period-day": "Dzień", + "aggregate-period-week": "Tydzień (pon. - niedz.)", + "aggregate-period-week-sun-sat": "Tydzień (niedz. - sob.)", + "aggregate-period-month": "Miesiąc", + "aggregate-period-year": "Rok", + "aggregate-period-custom": "Niestandardowy", + "add-metadata-key-values-as-kafka-headers": "Dodaj pary klucz-wartość z metadanych wiadomości do nagłówków rekordu Kafka", + "add-metadata-key-values-as-kafka-headers-hint": "Jeśli zaznaczono, pary klucz-wartość z metadanych wiadomości zostaną dodane do nagłówków rekordów wychodzących jako tablice bajtów w predefiniowanym kodowaniu znaków.", + "charset-encoding": "Kodowanie znaków", + "charset-encoding-required": "Kodowanie znaków jest wymagane.", + "charset-us-ascii": "US-ASCII", + "charset-iso-8859-1": "ISO-8859-1", + "charset-utf-8": "UTF-8", + "charset-utf-16be": "UTF-16BE", + "charset-utf-16le": "UTF-16LE", + "charset-utf-16": "UTF-16", + "select-queue-hint": "Nazwę kolejki możesz wybrać z listy rozwijanej lub dodać nazwę niestandardową.", + "device-profile-node-hint": "Przydatne, jeśli masz warunki czasu trwania lub powtórzeń, aby zapewnić ciągłość oceny stanu alarmu.", + "persist-alarm-rules": "Zachowuj stan reguł alarmów", + "persist-alarm-rules-hint": "Jeśli włączone, węzeł reguły będzie zapisywać stan przetwarzania w bazie danych.", + "fetch-alarm-rules": "Pobieraj stan reguł alarmów", + "fetch-alarm-rules-hint": "Jeśli włączone, węzeł reguły przywróci stan przetwarzania podczas inicjalizacji i zapewni zgłaszanie alarmów nawet po ponownym uruchomieniu serwera. W przeciwnym razie stan zostanie przywrócony po nadejściu pierwszej wiadomości z urządzenia.", + "round": "Miejsca dziesiętne", + "round-range": "Liczba miejsc dziesiętnych powinna mieścić się w zakresie od 0 do 15.", + "use-cache": "Użyj pamięci podręcznej dla najnowszej wartości", + "tell-failure-if-delta-is-negative": "Zgłoś niepowodzenie, jeśli delta jest ujemna", + "add-period-between-msgs": "Dodaj okres między wiadomościami", + "search-entity-group-for-tenant-only": "Szukaj grupy obiektów tylko na poziomie tenanta", + "consider-message-originator-as-a-group-owner": "Traktuj inicjatora jako właściciela grupy", + "consider-message-originator-as-a-group-owner-hint": "Domyślnie wyszukiwanie grupy zaczyna się na tym samym poziomie co właściciel inicjatora wiadomości i przechodzi w górę hierarchii aż do poziomu tenanta, jeśli grupa nie zostanie znaleziona. Jeśli opcja jest włączona, a inicjatorem jest tenant lub klient, wyszukiwanie zaczyna się od poziomu inicjatora.", + "input-value-key": "Klucz wartości wejściowej", + "input-value-key-required": "Klucz wartości wejściowej jest wymagany.", + "output-value-key": "Klucz wartości wyjściowej", + "output-value-key-required": "Klucz wartości wyjściowej jest wymagany.", + "number-of-digits-after-floating-point": "Liczba cyfr po przecinku", + "number-of-digits-after-floating-point-range": "Liczba cyfr po przecinku powinna mieścić się w zakresie od 0 do 15.", + "failure-if-delta-negative": "Zgłoś niepowodzenie, jeśli delta jest ujemna", + "failure-if-delta-negative-tooltip": "Węzeł reguły wymusza niepowodzenie przetwarzania wiadomości, jeśli wartość delty jest ujemna.", + "use-caching": "Użyj pamięci podręcznej", + "use-caching-tooltip": "Węzeł reguły zapisze w pamięci podręcznej wartość „{{inputValueKey}}” z wiadomości przychodzącej, aby poprawić wydajność. Pamiętaj, że pamięć podręczna nie zostanie zaktualizowana, jeśli zmienisz wartość „{{inputValueKey}}” w innym miejscu.", + "add-time-difference-between-readings": "Dodaj różnicę czasu między odczytami „{{inputValueKey}}”", + "add-time-difference-between-readings-tooltip": "Jeśli opcja jest włączona, węzeł reguły doda „{{periodValueKey}}” do wiadomości wychodzącej.", + "period-value-key": "Klucz wartości okresu", + "period-value-key-required": "Klucz wartości okresu jest wymagany.", + "general-pattern-hint": "Użyj ${metadataKey} dla wartości z metadanych, $[messageKey] dla wartości z treści wiadomości.", + "alarm-severity-pattern-hint": "Użyj ${metadataKey} dla wartości z metadanych, $[messageKey] dla wartości z treści wiadomości. Ważność alarmu powinna być wartością systemową (CRITICAL, MAJOR itp.)", + "output-node-name-hint": "Nazwa węzła reguły odpowiada typowi relacji wiadomości wyjściowej i służy do przekazywania wiadomości do innych węzłów reguł w wywołującym łańcuchu reguł.", + "use-server-ts": "Użyj znacznika czasu serwera", + "use-server-ts-hint": "Użyj bieżącego znacznika czasu serwera dla danych szeregów czasowych, które nie mają jawnie podanego znacznika czasu. Pomaga to zachować właściwą kolejność podczas przetwarzania wiadomości z wielu źródeł lub gdy wiadomości docierają w niewłaściwej kolejności.", + "kv-map-pattern-hint": "Wszystkie pola wejściowe obsługują szablony. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, oraz ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "kv-map-single-pattern-hint": "Pole wejściowe obsługuje szablony. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, oraz ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "shared-scope": "Zakres współdzielony", + "server-scope": "Zakres serwera", + "client-scope": "Zakres klienta", + "attribute-type": "Atrybut", + "attribute-type-description": "Pobierz wartość atrybutu z bazy danych", + "attribute-type-result-description": "Zapisz wynik jako atrybut obiektu w bazie danych", + "constant-type": "Stała", + "constant-type-description": "Zdefiniuj stałą wartość", + "time-series-type": "Szereg czasowy", + "time-series-type-description": "Pobierz najnowszą wartość szeregu czasowego z bazy danych", + "time-series-type-result-description": "Zapisz wynik jako szereg czasowy obiektu w bazie danych", + "message-body-type": "Wiadomość", + "message-body-type-description": "Pobierz wartość argumentu z wiadomości przychodzącej", + "message-body-type-result-description": "Dodaj wynik do wiadomości wychodzącej", + "message-metadata-type": "Metadane", + "message-metadata-type-description": "Pobierz wartość argumentu z metadanych wiadomości przychodzącej", + "message-metadata-result-description": "Dodaj wynik do metadanych wiadomości wychodzącej", + "argument-tile": "Argumenty", + "no-arguments-prompt": "Nie skonfigurowano argumentów", + "result-title": "Wynik", + "functions-field-input": "Funkcje", + "no-option-found": "Nie znaleziono opcji", + "argument-source-field-input": "Źródło", + "argument-source-field-input-required": "Źródło argumentu jest wymagane.", + "argument-key-field-input": "Klucz", + "argument-key-field-input-required": "Klucz argumentu jest wymagany.", + "constant-value-field-input": "Wartość stała", + "constant-value-field-input-required": "Wartość stała jest wymagana.", + "attribute-scope-field-input": "Zakres atrybutu", + "attribute-scope-field-input-required": "Zakres atrybutu jest wymagany.", + "default-value-field-input": "Domyślna wartość", + "type-field-input": "Typ", + "type-field-input-required": "Typ jest wymagany.", + "key-field-input": "Klucz", + "add-entity-type": "Dodaj typ obiektu", + "add-device-profile": "Dodaj profil urządzenia", + "key-field-input-required": "Klucz jest wymagany.", + "number-floating-point-field-input": "Liczba cyfr po przecinku", + "number-floating-point-field-input-hint": "Użyj 0, aby przekonwertować wynik na liczbę całkowitą", + "add-to-message-field-input": "Dodaj do wiadomości", + "add-to-metadata-field-input": "Dodaj do metadanych", + "custom-expression-field-input": "Wyrażenie matematyczne", + "custom-expression-field-input-required": "Wyrażenie matematyczne jest wymagane", + "custom-expression-field-input-hint": "Określ wyrażenie matematyczne do obliczenia. Domyślne wyrażenie pokazuje, jak przeliczyć stopnie Fahrenheita na stopnie Celsjusza", + "retained-message": "Zachowana", + "attributes-mapping": "Mapowanie atrybutów", + "latest-telemetry-mapping": "Mapowanie najnowszej telemetrii", + "add-mapped-attribute-to": "Dodaj zmapowane atrybuty do", + "add-mapped-latest-telemetry-to": "Dodaj zmapowaną najnowszą telemetrię do", + "add-mapped-fields-to": "Dodaj zmapowane pola do", + "add-selected-details-to": "Dodaj wybrane szczegóły do", + "clear-selected-types": "Wyczyść wybrane typy", + "clear-selected-details": "Wyczyść wybrane szczegóły", + "clear-selected-fields": "Wyczyść wybrane pola", + "clear-selected-keys": "Wyczyść wybrane klucze", + "geofence-configuration": "Konfiguracja geostrefy", + "coordinate-field-names": "Nazwy pól współrzędnych", + "coordinate-field-hint": "Węzeł reguły próbuje pobrać określone pola z wiadomości. Jeśli ich tam nie ma, wyszuka je w metadanych.", + "presence-monitoring-strategy": "Strategia monitorowania obecności", + "presence-monitoring-strategy-on-first-message": "Przy pierwszej wiadomości", + "presence-monitoring-strategy-on-each-message": "Przy każdej wiadomości", + "presence-monitoring-strategy-on-first-message-hint": "Zgłasza status obecności „Inside” lub „Outside” przy pierwszej wiadomości po upływie skonfigurowanego minimalnego czasu od poprzedniej aktualizacji statusu obecności „Entered” lub „Left”.", + "presence-monitoring-strategy-on-each-message-hint": "Zgłasza status obecności „Inside” lub „Outside” przy każdej wiadomości po aktualizacji statusu obecności „Entered” lub „Left”.", + "fetch-credentials-to": "Pobierz dane uwierzytelniające do", + "add-originator-attributes-to": "Dodaj atrybuty inicjatora do", + "originator-attributes": "Atrybuty inicjatora", + "fetch-latest-telemetry-with-timestamp": "Pobierz najnowszą telemetrię ze znacznikiem czasu", + "fetch-latest-telemetry-with-timestamp-tooltip": "Jeśli zaznaczono, najnowsze wartości telemetrii zostaną dodane do metadanych wychodzących wraz ze znacznikiem czasu, np.: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", + "tell-failure": "Zgłoś niepowodzenie, jeśli brakuje któregokolwiek z atrybutów", + "tell-failure-tooltip": "Jeśli co najmniej jeden z wybranych kluczy nie istnieje, wiadomość wychodząca zgłosi „Failure”.", + "created-time": "Czas utworzenia", + "chip-help": "Naciśnij „Enter”, aby zakończyć wprowadzanie wartości „{{inputName}}”. \nNaciśnij „Backspace”, aby usunąć wartość „{{inputName}}”. \nObsługiwanych jest wiele wartości.", + "detail": "szczegół", + "field-name": "nazwa pola", + "device-profile": "profil urządzenia", + "entity-type": "typ obiektu", + "message-type": "typ wiadomości", + "timeseries-key": "klucz szeregu czasowego", + "type": "Typ", + "first-name": "Imię", + "last-name": "Nazwisko", + "label": "Etykieta", + "originator-fields-mapping": "Mapowanie pól inicjatora", + "add-mapped-originator-fields-to": "Dodaj zmapowane pola inicjatora do", + "fields": "Pola", + "skip-empty-fields": "Pomiń puste pola", + "skip-empty-fields-tooltip": "Pola z pustymi wartościami nie zostaną dodane do wiadomości wyjściowej/metadanych wyjściowych.", + "fetch-interval": "Interwał pobierania", + "fetch-strategy": "Strategia pobierania", + "fetch-timeseries-from-to": "Pobieranie szeregów czasowych od {{startInterval}} {{startIntervalTimeUnit}} temu do {{endInterval}} {{endIntervalTimeUnit}} temu.", + "fetch-timeseries-from-to-invalid": "Nieprawidłowy zakres pobierania szeregów czasowych („Początek interwału” powinien być mniejszy niż „Koniec interwału”).", + "use-metadata-dynamic-interval-tooltip": "Jeśli zaznaczono, węzeł reguły użyje dynamicznego początku i końca interwału na podstawie wzorców z wiadomości i metadanych.", + "all-mode-hint": "Jeśli wybrano tryb pobierania „Wszystkie”, węzeł reguły pobierze telemetrię z interwału pobierania z konfigurowalnymi parametrami zapytania.", + "first-mode-hint": "Jeśli wybrano tryb pobierania „Pierwszy”, węzeł reguły pobierze telemetrię najbliższą początkowi interwału pobierania.", + "last-mode-hint": "Jeśli wybrano tryb pobierania „Ostatni”, węzeł reguły pobierze telemetrię najbliższą końcowi interwału pobierania.", + "ascending": "Rosnąco", + "descending": "Malejąco", + "min": "Min.", + "max": "Maks.", + "average": "Średnia", + "sum": "Suma", + "count": "Liczba", + "none": "Brak", + "last-level-relation-tooltip": "Jeśli zaznaczono, węzeł reguły będzie wyszukiwać powiązane obiekty tylko na poziomie ustawionym jako maksymalny poziom relacji.", + "last-level-device-relation-tooltip": "Jeśli zaznaczono, węzeł reguły będzie wyszukiwać powiązane urządzenia tylko na poziomie ustawionym jako maksymalny poziom relacji.", + "data-to-fetch": "Dane do pobrania", + "mapping-of-customers": "Mapowanie danych klienta", + "map-fields-required": "Wszystkie pola mapowania są wymagane.", + "attributes": "Atrybuty", + "related-device-attributes": "Atrybuty powiązanego urządzenia", + "add-selected-attributes-to": "Dodaj wybrane atrybuty do", + "device-profiles": "Profile urządzeń", + "mapping-of-tenant": "Mapowanie danych tenanta", + "add-attribute-key": "Dodaj klucz atrybutu", + "message-template": "Szablon wiadomości", + "message-template-required": "Szablon wiadomości jest wymagany", + "use-system-slack-settings": "Użyj systemowych ustawień Slack", + "slack-api-token": "Token API Slack", + "slack-api-token-required": "Token API Slack jest wymagany", + "deduplication-period-sec": "Okres deduplikacji (s)", + "deduplication-period-sec-required": "Wartość okresu deduplikacji jest wymagana.", + "deduplication-period-sec-range": "Wartość okresu deduplikacji powinna mieścić się w zakresie od 10 do 2147483647.", + "keys-mapping": "mapowanie kluczy", + "add-key": "Dodaj klucz", + "recipients": "Odbiorcy", + "message-subject-and-content": "Temat i treść wiadomości", + "template-rules-hint": "Oba pola wejściowe obsługują szablony. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, i ${metadataKey}, aby wyodrębnić wartość z metadanych wiadomości.", + "originator-customer-desc": "Użyj klienta inicjatora wiadomości przychodzącej jako nowego inicjatora.", + "originator-tenant-desc": "Użyj bieżącego tenanta jako nowego inicjatora.", + "originator-related-entity-desc": "Użyj powiązanego obiektu jako nowego inicjatora. Wyszukiwanie na podstawie skonfigurowanego typu i kierunku relacji.", + "originator-alarm-originator-desc": "Użyj inicjatora alarmu jako nowego inicjatora. Tylko jeśli inicjatorem wiadomości przychodzącej jest obiekt alarmu.", + "originator-entity-by-name-pattern-desc": "Użyj obiektu pobranego z bazy danych jako nowego inicjatora. Wyszukiwanie na podstawie typu obiektu i określonego wzorca nazwy.", + "email-from-template-hint": "Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, i ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "recipients-block-main-hint": "Lista adresów rozdzielonych przecinkami. Wszystkie pola wejściowe obsługują szablony. Użyj $[messageKey], aby wyodrębnić wartość z wiadomości, i ${metadataKey}, aby wyodrębnić wartość z metadanych.", + "search-entity-group-for-tenant-only-hint": "Domyślnie wyszukiwanie grupy zaczyna się na tym samym poziomie co właściciel inicjatora wiadomości i przechodzi w górę hierarchii do poziomu tenanta, jeśli grupa nie zostanie znaleziona. Po włączeniu wyszukiwanie jest ograniczone wyłącznie do poziomu tenanta z pominięciem domyślnego zachowania.", + "entity-group-is-message-originator-hint": "Po włączeniu inicjator wiadomości będzie traktowany jako grupa obiektów używana do pobierania obiektów. W takim przypadku wiadomość przychodząca zostanie przekierowana przez łańcuch Failure, jeśli typ inicjatora wiadomości nie jest grupą obiektów.", + "forward-msg-default-rule-chain": "Przekaż wiadomość do domyślnego łańcucha reguł inicjatora", + "forward-msg-default-rule-chain-tooltip": "Po włączeniu wiadomość zostanie przekazana do domyślnego łańcucha reguł inicjatora lub do łańcucha reguł z konfiguracji, jeśli inicjator nie ma domyślnego łańcucha reguł zdefiniowanego w profilu obiektu.", + "fetch-originators-attributes-customer": "Pobierz atrybuty inicjatora, jeśli inicjator jest klientem", + "fetch-originators-attributes-customer-hint": "Po włączeniu, jeśli inicjatorem wiadomości przychodzącej jest klient, węzeł reguły pobierze dane inicjatora ({{mappingOfCustomers}}) z pominięciem wyszukiwania klienta.", + "parse-originator-if-customer": "Nie zmieniaj inicjatora, jeśli inicjatorem jest klient", + "parse-originator-if-customer-hint": "Jeśli włączone, a inicjatorem wiadomości przychodzącej jest klient, węzeł reguły pominie wyszukiwanie nowego inicjatora i zachowa dotychczasowego.", + "exclude-zero-deltas": "Wyklucz zerowe delty z wiadomości wychodzącej", + "exclude-zero-deltas-hint": "Jeśli włączone, klucz wyjściowy „{{outputValueKey}}” zostanie dodany do wiadomości wychodzącej, gdy jego wartość jest różna od zera.", + "exclude-zero-deltas-time-difference-hint": "Jeśli włączone, klucze wyjściowe „{{outputValueKey}}” i „{{periodValueKey}}” zostaną dodane do wiadomości wychodzącej tylko wtedy, gdy wartość „{{outputValueKey}}” jest różna od zera.", + "search-direction-from": "Od inicjatora do obiektu docelowego", + "search-direction-to": "Od obiektu docelowego do inicjatora", + "del-relation-direction-from": "Od inicjatora", + "del-relation-direction-to": "Do inicjatora", + "target-entity": "Obiekt docelowy", + "function-configuration": "Konfiguracja funkcji", + "function-name": "Nazwa funkcji", + "function-name-required": "Nazwa funkcji jest wymagana.", + "qualifier": "Kwalifikator", + "qualifier-hint": "Jeśli nie określono kwalifikatora, zostanie użyty domyślny kwalifikator „$LATEST”.", + "aws-credentials": "Dane uwierzytelniające AWS", + "connection-timeout": "Limit czasu połączenia", + "connection-timeout-required": "Limit czasu połączenia jest wymagany.", + "connection-timeout-min": "Min. limit czasu połączenia wynosi 0.", + "connection-timeout-hint": "Czas oczekiwania w sekundach na nawiązanie połączenia, po którym próba zostanie przerwana z powodu przekroczenia limitu czasu. Wartość 0 oznacza nieskończoność i nie jest zalecana.", + "request-timeout": "Limit czasu żądania", + "request-timeout-required": "Limit czasu żądania jest wymagany", + "request-timeout-min": "Min. limit czasu żądania wynosi 0", + "request-timeout-hint": "Czas oczekiwania w sekundach na zakończenie żądania, po którym próba zostanie przerwana z powodu przekroczenia limitu czasu. Wartość 0 oznacza nieskończoność i nie jest zalecana.", + "units": "Jednostki", + "tell-failure-aws-lambda": "Zgłoś niepowodzenie, jeśli wykonanie funkcji AWS Lambda zgłosi wyjątek", + "tell-failure-aws-lambda-hint": "Węzeł reguły wymusza niepowodzenie przetwarzania wiadomości, jeśli wykonanie funkcji AWS Lambda zgłosi wyjątek.", + "basic-mode": "Podstawowy", + "advanced-mode": "Zaawansowany", + "url-hint": "Wprowadź URL żądania. Upewnij się, że znaki specjalne są zakodowane procentowo.", + "query-params": "Parametry zapytania", + "query-params-hint": "Dodatkowe parametry zapytania dołączane do URL żądania. Zarówno nazwy, jak i wartości obsługują szablony i po rozwiązaniu szablonu są ściśle kodowane (RFC 3986).", + "query-params-empty": "Nie skonfigurowano parametrów zapytania", + "query-params-name": "Nazwa", + "query-params-value": "Wartość", + "query-params-name-required": "Nazwa jest wymagana", + "query-params-value-required": "Wartość jest wymagana", + "headers-empty": "Nie skonfigurowano nagłówków", + "request-url": "URL żądania", + "url": "URL", + "save-time-series": { + "processing-settings": "Ustawienia przetwarzania", + "processing-settings-hint": "Określ sposób przetwarzania wiadomości przychodzących. Podstawowe ustawienia przetwarzania pozwalają wybrać wstępnie skonfigurowane strategie, a zaawansowane ustawienia pozwalają wybrać osobne strategie przetwarzania dla każdej akcji.", + "advanced-settings-hint": "Zachowaj ostrożność podczas konfigurowania strategii przetwarzania. Niektóre kombinacje mogą prowadzić do nieoczekiwanego działania.", + "strategy": "Strategia", + "deduplication-interval": "Interwał deduplikacji", + "deduplication-interval-required": "Interwał deduplikacji jest wymagany", + "deduplication-interval-min-max-range": "Interwał deduplikacji powinien wynosić co najmniej 1 sekundę i co najwyżej 1 dzień", + "strategy-type": { + "every-message": "Przy każdej wiadomości", + "skip": "Pomiń", + "deduplicate": "Deduplikacja", + "web-sockets-only": "Tylko WebSockets" + }, + "time-series": "Szeregi czasowe", + "latest": "Najnowsze wartości", + "web-sockets": "WebSockets", + "calculated-fields-and-alarm-rules": "Pola obliczeniowe i reguły alarmów" + }, + "save-attribute": { + "processing-settings": "Ustawienia przetwarzania", + "processing-settings-hint": "Określ sposób przetwarzania wiadomości przychodzących. Podstawowe ustawienia przetwarzania pozwalają wybrać wstępnie skonfigurowane strategie, a zaawansowane ustawienia pozwalają wybrać osobne strategie przetwarzania dla każdej akcji.", + "advanced-settings-hint": "Zachowaj ostrożność podczas konfigurowania strategii przetwarzania. Niektóre kombinacje mogą prowadzić do nieoczekiwanego działania.", + "strategy": "Strategia", + "deduplication-interval": "Interwał deduplikacji", + "deduplication-interval-required": "Interwał deduplikacji jest wymagany", + "deduplication-interval-min-max-range": "Interwał deduplikacji powinien wynosić co najmniej 1 sekundę i co najwyżej 1 dzień", + "scope": "Zakres", + "strategy-type": { + "every-message": "Przy każdej wiadomości", + "skip": "Pomiń", + "deduplicate": "Deduplikacja", + "web-sockets-only": "Tylko WebSockets" + }, + "attributes": "Atrybuty" + }, + "key-val": { + "key": "Klucz", + "value": "Wartość", + "see-examples": "Zobacz przykłady.", + "remove-entry": "Usuń wpis", + "remove-mapping-entry": "Usuń wpis mapowania", + "add-mapping-entry": "Dodaj mapowanie", + "add-entry": "Dodaj wpis", + "copy-key-values-from": "Kopiuj pary klucz-wartość z", + "delete-key-values": "Usuń pary klucz-wartość", + "delete-key-values-from": "Usuń pary klucz-wartość z", + "at-least-one-key-error": "Należy wybrać co najmniej jeden klucz.", + "unique-key-value-pair-error": "„{{keyText}}” musi się różnić od „{{valText}}”!" + }, + "mail-body-types": { + "plain-text": "Zwykły tekst", + "html": "HTML", + "dynamic": "Dynamiczny", + "use-body-type-template": "Użyj szablonu typu treści", + "plain-text-description": "Prosty, niesformatowany tekst bez specjalnych stylów i formatowania.", + "html-text-description": "Pozwala używać znaczników HTML do formatowania, linków i obrazów w treści wiadomości e-mail.", + "dynamic-text-description": "Pozwala dynamicznie używać typu treści „Zwykły tekst” lub HTML na podstawie funkcji szablonowania.", + "after-template-evaluation-hint": "Po przetworzeniu szablonu wartość powinna wynosić true dla HTML i false dla zwykłego tekstu." + }, + "ai": { + "ai-model": "Model AI", + "model": "Model", + "ai-model-hint": "Wybierz wstępnie skonfigurowany model AI, który będzie przetwarzać żądania wysyłane przez ten węzeł reguły, lub użyj opcji „Utwórz nowy”, aby skonfigurować nowy.", + "prompt-settings": "Ustawienia promptu", + "prompt-settings-hint": "Opcjonalny prompt systemowy określa ogólną rolę i ograniczenia AI, a prompt użytkownika definiuje konkretne zadanie do wykonania. Oba pola obsługują również szablonowanie.", + "system-prompt": "Prompt systemowy", + "system-prompt-max-length": "Prompt systemowy może mieć maksymalnie 500000 znaków.", + "system-prompt-blank": "Prompt systemowy nie może być pusty.", + "user-prompt": "Prompt użytkownika", + "user-prompt-required": "Prompt użytkownika jest wymagany.", + "user-prompt-max-length": "Prompt użytkownika może mieć maksymalnie 500000 znaków.", + "user-prompt-blank": "Prompt użytkownika nie może być pusty.", + "response-format": "Format odpowiedzi", + "response-text": "Tekst", + "response-json": "JSON", + "response-json-schema": "JSON Schema", + "response-format-hint-TEXT": "Pozwala modelowi generować dowolny tekst, który może, ale nie musi być prawidłowym obiektem JSON. Jeśli dane wyjściowe nie są prawidłowym obiektem JSON, zostaną automatycznie opakowane w obiekt JSON pod kluczem „response”.", + "response-format-hint-JSON": "Model musi wygenerować odpowiedź, która jest prawidłowym dokumentem JSON. Jeśli dane wyjściowe nie są prawidłowym obiektem JSON, zostaną automatycznie opakowane w obiekt JSON pod kluczem „response”.", + "response-format-hint-JSON_SCHEMA": "Model musi wygenerować dokument JSON zgodny z określoną strukturą i typami danych zdefiniowanymi w podanym schemacie. Jeśli dane wyjściowe nie są prawidłowym obiektem JSON, zostaną automatycznie opakowane w obiekt JSON pod kluczem „response”.", + "response-json-schema-hint": "Możesz wprowadzić dowolny prawidłowy schemat JSON Schema, ale ten węzeł reguły obsługuje tylko ograniczony podzbiór jego funkcji. Szczegóły znajdziesz w dokumentacji węzła.", + "response-json-schema-required": "Schemat JSON Schema jest wymagany", + "advanced-settings": "Zaawansowane ustawienia", + "timeout": "Limit czasu", + "timeout-hint": "Maksymalny czas oczekiwania na odpowiedź \nmodelu AI przed przerwaniem żądania.", + "timeout-required": "Limit czasu jest wymagany", + "timeout-validation": "Musi wynosić od 1 sekundy do 10 minut.", + "force-acknowledgement": "Wymuś potwierdzenie", + "force-acknowledgement-hint": "Jeśli ta opcja jest włączona, wiadomość przychodząca jest natychmiast potwierdzana. Odpowiedź modelu jest następnie umieszczana w kolejce jako osobna, nowa wiadomość.", + "ai-resources": "Pliki AI" + } }, "role": { "role": "Rola", "roles": "Role", "management": "Zarządzanie rolami", "view-roles": "Wyświetl role", - "no-roles-matching": "Nie znaleziono ról pasujących do '{{entity}}'.", + "no-roles-matching": "Nie znaleziono ról pasujących do „{{entity}}”.", "role-list": "Lista ról", "role-list-required": "Lista ról jest wymagana", "add": "Dodaj rolę", "view": "Wyświetl rolę", "search": "Szukaj ról", - "selected-roles": "Wybrano { count, plural, =1 {1 rolę} other {# ról} }", + "selected-roles": "Wybrano { count, plural, =1 {1 rolę} one {# rolę} few {# role} other {# ról} }", "no-roles-text": "Nie znaleziono ról", "role-details": "Szczegóły roli", "add-role-text": "Dodaj nową rolę", "delete": "Usuń rolę", "delete-roles": "Usuń role", - "delete-role-title": "Czy na pewno chcesz usunąć rolę '{{roleName}}'?", - "delete-role-text": "Bądź ostrożny, po potwierdzeniu roli i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-roles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 rolę} other {# ról} }?", - "delete-roles-action-title": "Usuń { count, plural, =1 {1 rolę} other {# ról} }", - "delete-roles-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane role zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", + "delete-role-title": "Czy na pewno chcesz usunąć rolę „{{roleName}}”?", + "delete-role-text": "Uwaga, po potwierdzeniu rola i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-roles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 rolę} one {# rolę} few {# role} other {# ról} }?", + "delete-roles-action-title": "Usuń { count, plural, =1 {1 rolę} one {# rolę} few {# role} other {# ról} }", + "delete-roles-text": "Uwaga, po potwierdzeniu wszystkie wybrane role zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", "role-type": "Typ roli", "role-type-required": "Typ roli jest wymagany.", "select-role-type": "Wybierz typ roli", "enter-role-type": "Wpisz typ roli", "any-role": "Dowolna rola", - "no-role-types-matching": "Nie znaleziono typów ról pasujących do '{{entitySubtype}}'.", + "no-role-types-matching": "Nie znaleziono typów ról pasujących do „{{entitySubtype}}”.", "role-type-list-empty": "Nie wybrano typów ról.", "role-types": "Typy ról", - "created-time": "Stworzony czas", + "created-time": "Czas utworzenia", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "description": "Opis", - "events": "Wydarzenia", + "events": "Zdarzenia", "details": "Szczegóły", - "copyId": "Skopiuj identyfikator roli", + "copyId": "Kopiuj identyfikator roli", "idCopiedMessage": "Identyfikator roli został skopiowany do schowka", "permissions": "Uprawnienia", + "excluded-permissions": "Wykluczone uprawnienia", "role-required": "Wymagana rola", "roles-required": "Wymagane role", "display-type": { @@ -4631,34 +8767,38 @@ "user-group-owner": "Właściciel grupy użytkowników", "edit": "Edytuj uprawnienia", "delete": "Usuń uprawnienia", - "selected-group-permissions": "Wybrano { count, plural, =1 {1 grupowe uprawnienie} other {# grupowych uprawnień} }", - "delete-group-permission-title": "Czy na pewno chcesz usunąć uprawnienia grupy {{roleName}}'?", - "delete-group-permission-text": "Bądź ostrożny, po potwierdzeniu uprawnienia grupy i wszystkie powiązane dane staną się nie do odzyskania.", + "selected-group-permissions": "Wybrano { count, plural, =1 {1 uprawnienie grupowe} one {# uprawnienie grupowe} few {# uprawnienia grupowe} other {# uprawnień grupowych} }", + "delete-group-permission-title": "Czy na pewno chcesz usunąć uprawnienie grupowe „{{roleName}}”?", + "delete-group-permission-text": "Uwaga, po potwierdzeniu uprawnienie grupowe i wszystkie powiązane dane zostaną nieodwracalnie utracone.", "delete-group-permission": "Usuń uprawnienia grupy", - "delete-group-permissions-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 grupowe uprawnienie} other {# grupowych uprawnień} }?", - "delete-group-permissions-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane uprawnienia grupowe zostaną usunięte, a odpowiadający im użytkownicy utracą dostęp do określonych bibliotek.", + "delete-group-permissions-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 uprawnienie grupowe} one {# uprawnienie grupowe} few {# uprawnienia grupowe} other {# uprawnień grupowych} }?", + "delete-group-permissions-text": "Uwaga, po potwierdzeniu wszystkie wybrane uprawnienia grupowe zostaną usunięte, a odpowiadający im użytkownicy utracą dostęp do określonych zasobów.", "delete-group-permissions": "Usuń uprawnienia grupy", "add-group-permission": "Dodaj uprawnienia grupy", "edit-group-permission": "Edytuj uprawnienia grupy", "entity-group": "Grupa obiektów", "user-group": "Grupa użytkowników", - "no-owners-matching": "Nie znaleziono właściciela '{{owner}}'.", + "no-owners-matching": "Nie znaleziono właścicieli pasujących do „{{owner}}”.", "target-owner-required": "Właściciel grupy obiektów jest wymagany.", "target-user-group-owner-required": "Właściciel grupy użytkowników jest wymagany.", - "no-group-permissions-text": "Nie znaleziono uprawnień grupy" + "no-group-permissions-text": "Nie znaleziono uprawnień grupy", + "permissions-merge-hint": "W przypadku ról ogólnych zabronione operacje obowiązują tylko w obrębie tej samej roli. Jeśli dowolna inna rola zezwala na operację, dostęp zostanie przyznany." }, "permission": { - "permissions-required": "Należy określić co najmniej jeden wpis uprawnień.", + "permissions-required": "Należy określić co najmniej jedną dozwoloną operację.", + "resource-duplicate": "Ten zasób jest już wybrany", + "operations-required": "Należy określić co najmniej jedną dozwoloną lub zabronioną operację.", + "operation-overlap": "Dozwolone i zabronione operacje nie powinny się pokrywać.", "remove-permission": "Usuń wpis uprawnień", "add-permission": "Dodaj wpis uprawnień", "other": "Inny", "resource": { - "resource": "Biblioteka", - "select-resource": "Wybierz bibliotekę", - "resource-required": "Biblioteka jest wymagana", - "no-resources-matching": "Nie znaleziono biblioteki '{{resource}}'.", + "resource": "Zasób", + "select-resource": "Wybierz zasób", + "resource-required": "Zasób jest wymagany", + "no-resources-matching": "Nie znaleziono zasobów pasujących do „{{resource}}”.", "display-type": { - "ALL": "Wszystko", + "ALL": "Wszystkie", "PROFILE": "Profil", "ADMIN_SETTINGS": "Ustawienia administratora", "ALARM": "Alarm", @@ -4666,8 +8806,8 @@ "DEVICE_PROFILE": "Profil urządzenia", "ASSET": "Zasób", "CUSTOMER": "Klient", - "DASHBOARD": "Panel", - "ENTITY_VIEW": "Widok obiektów", + "DASHBOARD": "Pulpit", + "ENTITY_VIEW": "Widok obiektu", "EDGE": "Edge", "TENANT": "Tenant", "TENANT_PROFILE": "Profil tenanta", @@ -4675,90 +8815,114 @@ "USER": "Użytkownik", "WIDGETS_BUNDLE": "Pakiet widżetów", "WIDGET_TYPE": "Typ widżetu", - "CONVERTER": "Przetwornik", + "CONVERTER": "Konwerter danych", "INTEGRATION": "Integracja", - "SCHEDULER_EVENT": "Zdarzenie planisty", + "SCHEDULER_EVENT": "Zdarzenie harmonogramu", "BLOB_ENTITY": "Obiekt typu Blob", + "REPORT_TEMPLATE": "Szablon raportu", + "REPORT": "Raport", "CUSTOMER_GROUP": "Grupa klientów", "DEVICE_GROUP": "Grupa urządzeń", "ASSET_GROUP": "Grupa zasobów", "USER_GROUP": "Grupa użytkowników", - "ENTITY_VIEW_GROUP": "Grupa widoku obiektów", - "DASHBOARD_GROUP": "Grupa Panelu", + "ENTITY_VIEW_GROUP": "Grupa widoków obiektów", + "DASHBOARD_GROUP": "Grupa pulpitów", "ROLE": "Rola", - "GROUP_PERMISSION": "Zezwolenie grupowe", - "WHITE_LABELING": "White Labeling", - "AUDIT_LOG": "Dziennik kontroli", + "GROUP_PERMISSION": "Uprawnienie grupowe", + "WHITE_LABELING": "Branding", + "AUDIT_LOG": "Dziennik audytu", "API_USAGE_STATE": "Stan użycia interfejsu API", - "TB_RESOURCE": "Biblioteka", + "TB_RESOURCE": "Plik", "EDGE_GROUP": "Grupa Edge", - "OTA_PACKAGE": "Pakiet Ota", + "OTA_PACKAGE": "Pakiet OTA", "QUEUE": "Kolejka", + "QUEUE_STATS": "Statystyki kolejek", "VERSION_CONTROL": "Kontrola wersji", "ASSET_PROFILE": "Profil zasobu", - "NOTIFICATION": "Powiadomienie" + "NOTIFICATION": "Powiadomienie", + "MOBILE_APP_SETTINGS": "Ustawienia widżetu kodu QR", + "MOBILE_APP_BUNDLE": "Pakiet mobilny", + "MOBILE_APP": "Aplikacja mobilna", + "DOMAIN": "Domena", + "OAUTH2_CLIENT": "Klient OAuth 2.0", + "SECRET": "Sekret", + "JOB": "Zadanie", + "AI_MODEL": "Model AI", + "AI": "AI", + "API_KEY": "Klucz API", + "AGENT": "Agent", + "AGENT_GROUP": "Grupa Agent", + "AGENT_PROFILE": "Profil Agent", + "AGENT_APPLICATION": "Aplikacja Agent", + "AGENT_APP_PROFILE": "Profil aplikacji Agent", + "AGENT_APP_UNIT": "Jednostka aplikacji Agent" } }, "operation": { "operation": "Operacja", "operations": "Operacje", + "allowed": "Dozwolone", + "denied": "Zabronione", + "not-set": "Nie ustawiono", "operations-required": "Należy określić co najmniej jedną operację.", "enter-operation": "Wprowadź operację", - "no-operations-matching": "Nie znaleziono operacji '{{operation}}'.", + "no-operations-matching": "Nie znaleziono operacji pasujących do „{{operation}}”.", "display-type": { - "ALL": "Wszystko", - "CREATE": "Stwórz", - "READ": "Czytaj", - "WRITE": "Zapisz", + "ALL": "Wszystkie", + "CREATE": "Utwórz", + "READ": "Odczyt", + "WRITE": "Zapis", "DELETE": "Usuń", - "ASSIGN_TO_CUSTOMER": "Przypisz do Klienta", - "UNASSIGN_FROM_CUSTOMER": "Usuń przypisanie od klienta", - "RPC_CALL": "Zadzwoń do RPC", - "READ_CREDENTIALS": "Przeczytaj dane uwierzytelniające", - "WRITE_CREDENTIALS": "Zapisz dane uwierzytelniające", - "READ_ATTRIBUTES": "Przeczytaj Atrybuty", - "WRITE_ATTRIBUTES": "Zapisz atrybuty", - "READ_TELEMETRY": "Przeczytaj telemetrię", - "WRITE_TELEMETRY": "Zapisz telemetrię", - "CLAIM_DEVICES": "Zgłoś urządzenia", - "IMPERSONATE": "Podszywać się", + "ASSIGN_TO_CUSTOMER": "Przypisz do klienta", + "UNASSIGN_FROM_CUSTOMER": "Anuluj przypisanie do klienta", + "RPC_CALL": "Wywołanie RPC", + "READ_CREDENTIALS": "Odczyt danych uwierzytelniających", + "WRITE_CREDENTIALS": "Zapis danych uwierzytelniających", + "READ_ATTRIBUTES": "Odczyt atrybutów", + "WRITE_ATTRIBUTES": "Zapis atrybutów", + "READ_TELEMETRY": "Odczyt telemetrii", + "WRITE_TELEMETRY": "Zapis telemetrii", + "CLAIM_DEVICES": "Przejmij urządzenia", + "IMPERSONATE": "Zaloguj się jako użytkownik", "CHANGE_OWNER": "Zmiana właściciela", "ADD_TO_GROUP": "Dodaj do grupy", "REMOVE_FROM_GROUP": "Usuń z grupy", "SHARE_GROUP": "Udostępnij grupę", "ASSIGN_TO_TENANT": "Przypisz do tenanta", + "READ_CALCULATED_FIELD": "Odczyt pól obliczeniowych i reguł alarmów", + "WRITE_CALCULATED_FIELD": "Zapis pól obliczeniowych i reguł alarmów", "INVOKE": "Wywołaj" } } }, "scheduler": { - "scheduler": "Planista", - "scheduler-event": "zdarzenie planisty", - "select-scheduler-event": "Wybierz zdarzenie planisty", - "no-scheduler-events-matching": "Nie znaleziono zdarzeń planisty pasujących do '{{entity}}'.", - "scheduler-event-required": "Zdarzenie planisty jest wymagane", + "scheduler": "Harmonogram", + "scheduler-event": "Zdarzenie harmonogramu", + "select-scheduler-event": "Wybierz zdarzenie harmonogramu", + "no-scheduler-events-matching": "Nie znaleziono zdarzeń harmonogramu pasujących do „{{entity}}”.", + "scheduler-event-required": "Zdarzenie harmonogramu jest wymagane", "management": "Zarządzanie harmonogramem", - "scheduler-events": "Harmonogram wydarzeń", - "add-scheduler-event": "Dodaj zdarzenie planisty", - "search-scheduler-events": "Wyszukaj zdarzenia planisty", - "created-time": "Stworzony czas", + "scheduler-events": "Zdarzenia harmonogramu", + "add-scheduler-event": "Dodaj zdarzenie harmonogramu", + "search-scheduler-events": "Wyszukaj zdarzenia harmonogramu", + "created-time": "Czas utworzenia", "name": "Nazwa", - "name-required": "Nazwa jest wymagana.", - "name-max-length": "Nazwa powinna być mniejsza niż 256", + "name-required": "Nazwa jest wymagana", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", "type": "Typ", - "created_customer": "Stworzony przez Klienta", - "edit-scheduler-event": "Edytuj zdarzenie planisty", - "view-scheduler-event": "Wyświetl zdarzenie planisty", - "delete-scheduler-event": "Usuń zdarzenie planisty", - "no-scheduler-events": "Nie znaleziono żadnych wydarzeń planisty", - "selected-scheduler-events": "Wybrano { count, plural, =1 {1 zdarzenie planisty} other {# zdarzeń(ia) planisty} }", - "delete-scheduler-event-title": "Czy na pewno chcesz usunąć zdarzenie planisty '{{schedulerEventName}}'?", - "delete-scheduler-event-text": "Bądź ostrożny, po zdarzeniu planisty potwierdzenia i wszystkich powiązanych danych stanie się niemożliwy do odzyskania.", - "delete-scheduler-events-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 zdarzenie planisty} other {# zdarzeń(ia) planisty} }?", - "delete-scheduler-events-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane zdarzenia planisty zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", - "create": "Utwórz zdarzenie planisty", - "edit": "Edytuj zdarzenie planisty", - "view": "Wyświetl zdarzenie planisty", + "created_customer": "Utworzone przez klienta", + "edit-scheduler-event": "Edytuj zdarzenie harmonogramu", + "view-scheduler-event": "Wyświetl zdarzenie harmonogramu", + "delete-scheduler-event": "Usuń zdarzenie harmonogramu", + "no-scheduler-events": "Nie znaleziono żadnych zdarzeń harmonogramu", + "selected-scheduler-events": "Wybrano { count, plural, =1 {1 zdarzenie harmonogramu} one {# zdarzenie harmonogramu} few {# zdarzenia harmonogramu} other {# zdarzeń harmonogramu} }", + "delete-scheduler-event-title": "Czy na pewno chcesz usunąć zdarzenie harmonogramu „{{schedulerEventName}}”?", + "delete-scheduler-event-text": "Uwaga, po potwierdzeniu zdarzenie harmonogramu i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-scheduler-events-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 zdarzenie harmonogramu} one {# zdarzenie harmonogramu} few {# zdarzenia harmonogramu} other {# zdarzeń harmonogramu} }?", + "delete-scheduler-events-text": "Uwaga, po potwierdzeniu wszystkie wybrane zdarzenia harmonogramu zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "create": "Dodaj zdarzenie harmonogramu", + "edit": "Edytuj zdarzenie harmonogramu", + "view": "Wyświetl zdarzenie harmonogramu", "configuration": "Konfiguracja", "schedule": "Harmonogram", "start-time": "Czas rozpoczęcia", @@ -4766,16 +8930,16 @@ "repeats": "Powtórzenia", "daily": "Codziennie", "every-n-days": "Co N dni", - "every-n-days-text": "Co { days, plural, =1 {dzień} other {# dni} }", + "every-n-days-text": "Co { days, plural, =1 {dzień} one {# dzień} few {# dni} many {# dni} other {# dnia} }", "weekly": "Co tydzień", "every-n-weeks": "Co N tygodni", - "every-n-weeks-text": "Co { weeks, plural, =1 {tydzień} other {# tygodni(e)} }", - "monthly": "Miesięczny", + "every-n-weeks-text": "Co { weeks, plural, =1 {tydzień} one {# tydzień} few {# tygodnie} many {# tygodni} other {# tygodnia} }", + "monthly": "Co miesiąc", "yearly": "Rocznie", "timer": "Oparte na timerze", "repeats-required": "Powtórzenia są wymagane.", "repeat-on": "Powtórz w", - "repeat-every": "Powtarzaj każde", + "repeat-every": "Powtarzaj co", "repeat-every-n-days": "Powtarzaj co N dni", "repeat-days-required": "Liczba dni do powtórzenia jest wymagana.", "invalid-repeat-days-value": "Liczba dni powtarzania musi być dodatnią liczbą całkowitą.", @@ -4797,27 +8961,27 @@ "repeat-on-thursday": "Powtórz w czwartek", "repeat-on-friday": "Powtórz w piątek", "repeat-on-saturday": "Powtórz w sobotę", - "event-type": "Typ wydarzenia", - "select-event-type": "Wybierz typ wydarzenia", - "event-type-required": "Typ wydarzenia jest wymagany.", - "event-type-max-length": "Typ wydarzenia powinien być mniejszy niż 256.", + "event-type": "Typ zdarzenia", + "select-event-type": "Wybierz typ zdarzenia", + "event-type-required": "Typ zdarzenia jest wymagany.", + "event-type-max-length": "Typ zdarzenia powinien mieć mniej niż 256 znaków.", "list-mode": "Widok listy", "calendar-mode": "Widok kalendarza", "calendar-view-type": "Typ widoku kalendarza", "month": "Miesiąc", "week": "Tydzień", "day": "Dzień", - "agenda-week": "Tydzień porządku dziennego", - "agenda-day": "Dzień Agendy", - "list-year": "Wypisz rok", - "list-month": "Wypisz miesiąc", - "list-week": "Wypisz Tydzień", - "list-day": "Wypisz Dzień", + "agenda-week": "Plan tygodnia", + "agenda-day": "Plan dnia", + "list-year": "Lista roczna", + "list-month": "Lista miesięczna", + "list-week": "Lista tygodniowa", + "list-day": "Lista dzienna", "today": "Dzisiaj", - "navigate-before": "Nawiguj przed", + "navigate-before": "Przejdź wstecz", "navigate-next": "Przejdź dalej", "starting-from": "Zaczynając od", - "until": "dopóki", + "until": "do", "on": "w", "sunday": "Niedziela", "monday": "Poniedziałek", @@ -4827,89 +8991,368 @@ "friday": "Piątek", "saturday": "Sobota", "originator": "Inicjator", - "single-entity": "Pojedyńczy obiekt", - "group-of-entities": "Grupa obiektów", + "single-entity": "Pojedynczy obiekt", + "group-entities": "Obiekty grupy", "entities-group-owner": "Właściciel grupy obiektów", - "single-device": "Pojedyncze urządzenie", - "group-of-devices": "Grupa urządzeń", "devices-group-owner": "Właściciel grupy urządzeń", "message-body": "Treść wiadomości", "target": "Cel", - "rpc-method": "metoda", + "rpc-method": "Metoda", "rpc-method-required": "Metoda jest wymagana", - "rpc-method-white-space": "Znak biały jest niedozwolony.", + "rpc-method-white-space": "Białe znaki są niedozwolone.", "rpc-params": "Parametry", - "select-dashboard-state": "Wybierz stan panelu", + "select-dashboard-state": "Wybierz stan pulpitu", "hours": "Godziny", "minutes": "Minuty", "seconds": "Sekundy", "time-interval-required": "Odstęp czasu jest wymagany", "time-unit-required": "Jednostka czasu jest wymagana", - "every-hour": "co { count, plural, =1 {godzinę} other {# godzin(y)} }", - "every-minute": "co { count, plural, =1 {minutę} other {# minut(y)} }", - "every-second": "co { count, plural, =1 {sekundę} other {# sekund(y)} }", - "invalid-time": "Nieprawidłowy czas" + "every-hour": "co { count, plural, =1 {godzinę} one {# godzinę} few {# godziny} many {# godzin} other {# godziny} }", + "every-minute": "co { count, plural, =1 {minutę} one {# minutę} few {# minuty} many {# minut} other {# minuty} }", + "every-second": "co { count, plural, =1 {sekundę} one {# sekundę} few {# sekundy} many {# sekund} other {# sekundy} }", + "invalid-time": "Nieprawidłowy czas", + "rpc-request-timeout": "Limit czasu żądania RPC (ms)", + "rpc-request-persistent": "Trwałe żądanie RPC", + "rpc-request-oneway-command": "Jednokierunkowe żądanie RPC", + "rpc-value-min-error": "Wartość musi być większa niż {{min}} ms.", + "set": "Ustaw", + "rpc-settings": "Ustawienia RPC", + "enabled": "Włącz harmonogram", + "enable": "Włącz", + "disable": "Wyłącz" }, "report": { - "report-config": "Konfiguracja raportu", + "general-report-settings": "Ogólne ustawienia raportu", + "target-dashboard": "Pulpit docelowy", "email-config": "Konfiguracja poczty", - "dashboard-state-param": "Wartość parametru stanu panelu", + "dashboard-state-param": "Wartość parametru stanu pulpitu", "base-url": "Bazowy adres URL", - "base-url-required": "Podstawowy adres URL jest wymagany.", - "use-dashboard-timewindow": "Użyj okna czasowego panelu", + "base-url-required": "Bazowy adres URL jest wymagany.", + "use-dashboard-timewindow": "Użyj okna czasowego pulpitu", + "use-dashboard-timewindow-description": "Jeśli ustawiono, podczas generowania raportu zostanie użyte okno czasowe skonfigurowane w pulpicie docelowym.", "timewindow": "Okno czasowe", - "name-pattern": "Wzór nazwy raportu", + "name-pattern": "Wzorzec nazwy raportu", "name-pattern-required": "Wzorzec nazwy raportu jest wymagany", "type": "Typ raportu", - "use-current-user-credentials": "Użyj aktualnych poświadczeń użytkownika", - "customer-user-credentials": "Poświadczenia użytkownika klienta", - "customer-user-credentials-required": "Poświadczenia użytkownika klienta są wymagane", - "generate-test-report": "Wygeneruj raport z testu", - "send-email": "Wysłać email", + "customer-user-credentials": "Dane uwierzytelniające użytkownika klienta", + "customer-user-credentials-required": "Dane uwierzytelniające użytkownika klienta są wymagane", + "generate-test-report": "Wygeneruj raport testowy", + "send-email": "Wyślij e-mail", "from": "Od", "from-required": "Nadawca jest wymagany.", "to": "Do", "to-required": "Odbiorca jest wymagany.", - "cc": "Dw", + "cc": "DW", "bcc": "UDW", + "cc-description": "Do wiadomości", + "bcc-description": "Ukryte do wiadomości", "subject": "Temat", "subject-required": "Temat jest wymagany.", "body": "Treść", - "body-required": "Treść jest wymagana." + "body-required": "Treść jest wymagana.", + "credentials": "Dane uwierzytelniające", + "preview-report": "Podgląd raportu", + "current-user": "Bieżący użytkownik", + "customer-user": "Użytkownik klienta", + "user-credentials-description": "Dane uwierzytelniające wskazanego użytkownika zostaną użyte do otwarcia interfejsu pulpitu podczas generowania raportu.", + "timezone-description": "Strefa czasowa, w której pulpit docelowy zostanie przedstawiony w raporcie.", + "reporting": "Raportowanie", + "templates": "Szablony", + "report": "Raport", + "reports": "Raporty", + "scheduling": "Planowanie", + "generating-report": "Generowanie raportu...", + "report-details": "Szczegóły raportu", + "add": "Dodaj raport", + "no-reports-text": "Nie znaleziono raportów", + "search": "Szukaj raportów", + "selected-reports": "Wybrano { count, plural, one {# raport} few {# raporty} other {# raportów} }", + "filter-not-set": "Wszystkie", + "delete-report-title": "Czy na pewno chcesz usunąć raport „{{reportName}}”?", + "delete-report-text": "Uwaga, po potwierdzeniu raport i wszystkie powiązane z nim dane zostaną nieodwracalnie utracone.", + "delete-reports-title": "Czy na pewno chcesz usunąć { count, plural, one {# raport} few {# raporty} other {# raportów} }?", + "delete-reports-text": "Uwaga, po potwierdzeniu wszystkie wybrane raporty zostaną usunięte, a wszystkich powiązanych z nimi danych nie będzie można odzyskać.", + "file-name": "Nazwa pliku", + "format": "Format", + "download": "Pobierz raport", + "report-filter": "Filtr raportów", + "no-reports-matching": "Nie znaleziono raportów pasujących do „{{entity}}”.", + "report-required": "Raport jest wymagany", + "generate-report": "Generuj raport", + "generate-report-started": "Rozpoczęto generowanie raportu. Odśwież stronę, jeśli raport się nie pojawi.", + "public-status": "Dostęp publiczny", + "manage-public-access": "Zarządzaj dostępem publicznym", + "public-status-hint": "Po włączeniu każdy, kto ma publiczny link do raportu, może pobrać raport.", + "public-link-text": "Ten raport jest publiczny. Udostępnij poniższy link – każdy, kto go ma, może pobrać raport bez autoryzacji.", + "copy-public-link": "Kopiuj link" + }, + "report-template": { + "report-template": "Szablon raportu", + "report-templates": "Szablony raportów", + "add": "Dodaj szablon raportu", + "search": "Szukaj szablonów raportów", + "template-filter": "Filtr szablonów", + "sub-report": "Podraport", + "no-report-templates-text": "Nie znaleziono szablonów raportów", + "no-sub-reports-text": "Nie znaleziono podraportów", + "select-report-template": "Wybierz szablon raportu", + "open-report-template-new-tab": "Otwórz szablon raportu w nowej karcie", + "select-sub-report": "Wybierz podraport", + "open-subreport-new-tab": "Otwórz podraport w nowej karcie", + "report-template-details": "Szczegóły szablonu raportu", + "selected-report-templates": "Wybrano { count, plural, =1 {1 szablon raportu} one {# szablon raportu} few {# szablony raportów} other {# szablonów raportów} }", + "type-report": "Raport", + "type-sub-report": "Podraport", + "no-report-templates-matching": "Nie znaleziono szablonów raportów pasujących do „{{entity}}”.", + "no-sub-reports-matching": "Nie znaleziono podraportów pasujących do „{{entity}}”.", + "report-template-required": "Szablon raportu jest wymagany", + "sub-report-required": "Podraport jest wymagany", + "delete-report-template-title": "Czy na pewno chcesz usunąć szablon raportu „{{reportTemplateTitle}}”?", + "delete-report-template-text": "Uwaga, po potwierdzeniu szablon raportu i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-report-templates-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 szablon raportu} one {# szablon raportu} few {# szablony raportów} other {# szablonów raportów} }?", + "delete-report-templates-text": "Uwaga, po potwierdzeniu wszystkie wybrane szablony raportów zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "create-new-report-template": "Utwórz nowy szablon raportu", + "import": "Importuj szablon raportu", + "export": "Eksportuj szablon raportu", + "name": "Nazwa", + "name-required": "Nazwa szablonu raportu jest wymagana!", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", + "format": "Format", + "type": "Typ", + "description": "Opis", + "events": "Zdarzenia", + "idCopiedMessage": "ID szablonu raportu zostało skopiowane do schowka", + "open-report-template": "Otwórz szablon raportu", + "delete": "Usuń szablon raportu", + "copyId": "Kopiuj ID szablonu raportu", + "settings": "Ustawienia", + "report-template-settings": "Ustawienia szablonu raportu", + "sub-report-settings": "Ustawienia podraportu", + "file-name-pattern": "Wzorzec nazwy pliku", + "file-name-pattern-required": "Wzorzec nazwy pliku raportu jest wymagany!", + "default-date-format": "Domyślny format daty", + "report-components": "Komponenty raportu", + "search-components": "Szukaj komponentów", + "drop-report-components": "Upuść tutaj komponenty raportu z paska bocznego", + "drop-report-component": "Upuść tutaj komponent raportu", + "header": "Nagłówek", + "header-disabled": "Nagłówek wyłączony", + "first-page-header": "Nagłówek pierwszej strony", + "first-page-header-disabled": "Nagłówek pierwszej strony wyłączony", + "footer": "Stopka", + "footer-disabled": "Stopka wyłączona", + "first-page-footer": "Stopka pierwszej strony", + "first-page-footer-disabled": "Stopka pierwszej strony wyłączona", + "content": "Treść", + "data": "Dane", + "layout": "Układ", + "common-settings": "Ustawienia wspólne", + "page-settings": "Ustawienia strony", + "paper-size": "Rozmiar papieru", + "orientation": "Orientacja", + "orientation-portrait": "Pionowa", + "orientation-landscape": "Pozioma", + "margins": "Marginesy", + "paddings": "Odstępy wewnętrzne", + "left": "Po lewej", + "right": "Po prawej", + "top": "Na górze", + "bottom": "Na dole", + "background": "Tło", + "border": "Obramowanie", + "radius": "Promień", + "insert-update-image": "Wstaw/aktualizuj obraz", + "edit-image": "Edytuj obraz", + "image": "Obraz", + "image-size": "Rozmiar obrazu", + "width": "Szerokość", + "height": "Wysokość", + "preserve-image-proportions": "Zachowaj proporcje obrazu", + "text-style": "Styl tekstu", + "background-color": "Kolor tła", + "alignment": "Wyrównanie", + "horizontal": "Poziomy", + "vertical": "Pionowy", + "dashboard": "Pulpit", + "timewindow": "Okno czasowe", + "export-failed-error": "Nie można wyeksportować szablonu raportu: {{error}}", + "report-template-file": "Plik szablonu raportu", + "invalid-report-template-file-error": "Nie można zaimportować szablonu raportu: nieprawidłowa struktura danych szablonu raportu.", + "collapse": "Zwiń", + "expand": "Rozwiń", + "editor": "Edytor", + "component": { + "group": { + "text-and-images": "Tekst i obrazy", + "data-and-tables": "Dane i tabele", + "charts": "Wykresy", + "branding": "Branding", + "report-info-and-layout": "Informacje o raporcie i układ" + }, + "heading": { + "type": "Nagłówek", + "text": "Tekst", + "height": "Wysokość" + }, + "rich-text": { + "type": "Tekst sformatowany", + "text": "Tekst" + }, + "divider": { + "type": "Separator", + "divider-type": "Typ", + "divider-type-long": "Długi", + "divider-type-short": "Krótki", + "line-type": "Typ linii", + "line-type-solid": "Ciągła", + "line-type-dashed": "Kreskowana", + "line-type-dotted": "Kropkowana", + "line-width": "Grubość linii" + }, + "page-break": { + "type": "Podział strony" + }, + "table": { + "table-heading": "Nagłówek tabeli", + "column-settings": "Ustawienia kolumny", + "column-width": "Szerokość kolumny", + "header": "Nagłówek", + "cell": "Komórka", + "sort-by": "Sortuj według", + "sort-asc": "Rosnąco", + "sort-desc": "Malejąco", + "sort-none": "Brak" + }, + "entity-table": { + "type": "Tabela obiektów" + }, + "timeseries-table": { + "type": "Tabela szeregów czasowych", + "display-timestamp": "Znacznik czasu", + "timestamp-column-settings": "Ustawienia kolumny znacznika czasu" + }, + "alarm-table": { + "type": "Tabela alarmów" + }, + "time-series-chart": { + "type": "Wykres szeregów czasowych", + "no-datasource-configured": "Źródło danych nie jest skonfigurowane dla „{{chartType}}”", + "no-series-configured": "Należy określić co najmniej jedną serię dla „{{chartType}}”" + }, + "latest-chart": { + "no-datasource-configured": "Źródło danych nie jest skonfigurowane dla „{{chartType}}”", + "no-series-configured": "Należy określić co najmniej jedną serię dla „{{chartType}}”" + }, + "line-chart": "Wykres liniowy", + "bar-chart": "Wykres słupkowy", + "point-chart": "Wykres punktowy", + "state-chart": "Wykres stanów", + "bar-chart-with-labels": "Wykres słupkowy z etykietami", + "range-chart": "Wykres zakresów", + "bars": "Słupki", + "pie": "Wykres kołowy", + "doughnut": "Wykres pierścieniowy", + "horizontal-doughnut": "Poziomy wykres pierścieniowy", + "chart": { + "chart-height": "Wysokość wykresu", + "chart-width": "Szerokość wykresu", + "chart-alignment": "Wyrównanie wykresu" + }, + "image": { + "type": "Obraz", + "image-source": "Źródło obrazu", + "source-image": "Obraz", + "source-entity-key": "Klucz obiektu", + "image-url-key": "Klucz URL obrazu", + "image-width": "Szerokość obrazu", + "width-fit-width": "Dopasuj do szerokości", + "width-original": "Oryginalna", + "width-custom": "Niestandardowa", + "image-alignment": "Wyrównanie obrazu", + "alignment-left": "Po lewej", + "alignment-center": "Na środku", + "alignment-right": "Po prawej" + }, + "dashboard": { + "type": "Pulpit", + "no-dashboard": "Nie wybrano pulpitu", + "open-dashboard-new-tab": "Otwórz pulpit w nowej karcie" + }, + "sub-report": { + "type": "Podraport", + "no-sub-report": "Nie wybrano podraportu", + "avoid-page-break-inside": "Unikaj podziału strony wewnątrz" + }, + "split-view": { + "type": "Widok podzielony", + "split-position": "Względna pozycja podziału", + "split-gap": "Odstęp podziału", + "vertical-alignment": "Wyrównanie w pionie", + "left": "Po lewej", + "right": "Po prawej" + }, + "text-section": "Sekcja tekstowa", + "text-image": "Tekst + obraz", + "image-text": "Obraz + tekst", + "logo-heading": "Logo + nagłówek", + "heading-logo": "Nagłówek + logo", + "logo-text": "Logo + tekst", + "text-logo": "Tekst + logo", + "logo-text-2": "Logo + tekst 2", + "footer-1": "Stopka 1", + "footer-2": "Stopka 2", + "footer-3": "Stopka 3", + "page-number": "Numer strony", + "created-time": "Czas utworzenia" + } + }, + "scheduled-report": { + "scheduled-reports": "Raporty okresowe", + "name": "Nazwa", + "schedule": "Harmonogram", + "schedule-report": "Zaplanuj raport", + "delete-scheduled-report-title": "Czy na pewno chcesz usunąć harmonogram raportu „{{scheduledReportTitle}}”?", + "delete-scheduled-report-text": "Uwaga, po potwierdzeniu harmonogram raportu i wszystkie powiązane dane zostaną bezpowrotnie utracone.", + "delete-scheduled-reports-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 harmonogram raportu} one {# harmonogram raportu} few {# harmonogramy raportów} other {# harmonogramów raportów} }?", + "delete-scheduled-reports-text": "Uwaga, po potwierdzeniu wszystkie wybrane harmonogramy raportów zostaną usunięte, a wszystkie powiązane dane zostaną bezpowrotnie utracone.", + "edit": "Edytuj harmonogram raportu", + "search": "Szukaj raportów okresowych", + "no-scheduled-reports-text": "Nie znaleziono raportów okresowych", + "selected-scheduled-reports": "Wybrano { count, plural, =1 {1 harmonogram raportu} one {# harmonogram raportu} few {# harmonogramy raportów} other {# harmonogramów raportów} }" }, "blob-entity": { - "blob-entity": "obiekt typu blob", + "blob-entity": "Obiekt typu BLOB", "select-blob-entity": "Wybierz obiekt BLOB", - "no-blob-entities-matching": "Nie znaleziono obiektów BLOB pasujących do '{{entity}}'", + "no-blob-entities-matching": "Nie znaleziono obiektów BLOB pasujących do „{{entity}}”.", "blob-entity-required": "Obiekt typu BLOB jest wymagany", "files": "Pliki", "search": "Wyszukaj pliki", "clear-search": "Wyczyść wyszukiwanie", "no-blob-entities-prompt": "Nie znaleziono plików", "report": "Raport WWW", - "created-time": "Stworzony czas", + "created-time": "Czas utworzenia", "name": "Nazwa", "type": "Typ", - "created_customer": "Stworzony przez Klienta", - "selected-blob-entities": "{ count, plural, =1 {1 file} other {# files} } wybrane", + "created_customer": "Utworzony przez klienta", + "selected-blob-entities": "Wybrano { count, plural, =1 {1 plik} one {# plik} few {# pliki} other {# plików} }", "download-blob-entity": "Pobierz plik", "delete-blob-entity": "Usuń plik", - "delete-blob-entity-title": "Czy na pewno chcesz usunąć plik '{{blobEntityName}}'?", - "delete-blob-entity-text": "Bądź ostrożny, po przesłaniu pliku potwierdzenia dane staną się nie do odzyskania.", - "delete-blob-entities-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 plik} other {# plików} }", - "delete-blob-entities-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane pliki zostaną usunięte, a wszystkie powiązane dane staną się niemożliwe do odzyskania." + "delete-blob-entity-title": "Czy na pewno chcesz usunąć plik „{{blobEntityName}}”?", + "delete-blob-entity-text": "Uwaga, po potwierdzeniu dane pliku zostaną nieodwracalnie utracone.", + "delete-blob-entities-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 plik} one {# plik} few {# pliki} other {# plików} }?", + "delete-blob-entities-text": "Uwaga, po potwierdzeniu wszystkie wybrane pliki zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone." }, "timezone": { "timezone": "Strefa czasowa", "select-timezone": "Wybierz strefę czasową", - "no-timezones-matching": "Nie znaleziono stref czasowych pasujących do '{{timezone}}'.", + "no-timezones-matching": "Nie znaleziono stref czasowych pasujących do „{{timezone}}”.", "timezone-required": "Strefa czasowa jest wymagana.", "browser-time": "Czas przeglądarki" }, "queue": { "queue-name": "Kolejka", "no-queues-found": "Nie znaleziono kolejek.", - "no-queues-matching": "Brak kolejek pasujących do '{{queue}}'", + "no-queues-matching": "Nie znaleziono kolejek pasujących do „{{queue}}”.", "select-name": "Wybierz nazwę kolejki", "name": "Nazwa", "name-required": "Nazwa kolejki jest wymagana!", @@ -4925,7 +9368,7 @@ "pack-processing-timeout-min-value": "Wartość limitu czasu przetwarzania nie może być mniejsza niż 1", "batch-size-required": "Wielkość partii jest wymagana!", "batch-size-min-value": "Wartość wielkości partii nie może być mniejsza niż 1", - "retries-required": "Ilość ponownych prób jest wymagana!", + "retries-required": "Liczba ponownych prób jest wymagana!", "retries-min-value": "Wartość ponownych prób nie może być ujemna", "failure-percentage-required": "Procent niepowodzeń jest wymagany!", "failure-percentage-min-value": "Wartość procentowa niepowodzeń nie może być mniejsza niż 0", @@ -4934,87 +9377,98 @@ "pause-between-retries-min-value": "Wartość przerwy między ponownymi próbami nie może być mniejsza niż 1", "max-pause-between-retries-required": "Maksymalna przerwa między ponownymi próbami jest wymagana!", "max-pause-between-retries-min-value": "Maksymalna wartość przerwy między ponownymi próbami nie może być mniejsza niż 1", - "submit-strategy-type-required": "Prześlij typ strategii jest wymagany!", + "submit-strategy-type-required": "Typ strategii przesyłania jest wymagany!", "processing-strategy-type-required": "Typ strategii przetwarzania jest wymagany!", "queues": "Kolejki", - "selected-queues": "Wybrano { count, plural, =1 {1 kolejkę} other {# kolejek} }", - "delete-queue-title": "Czy na pewno chcesz usunąć kolejkę {{queueName}}'?", - "delete-queues-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 kolejkę} other {# kolejek} }?", - "delete-queue-text": "Bądź ostrożny, po potwierdzeniu kolejki i wszystkich powiązanych danych nie będzie można odzyskać.", + "selected-queues": "Wybrano { count, plural, =1 {1 kolejkę} one {# kolejkę} few {# kolejki} other {# kolejek} }", + "delete-queue-title": "Czy na pewno chcesz usunąć kolejkę „{{queueName}}”?", + "delete-queues-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 kolejkę} one {# kolejkę} few {# kolejki} other {# kolejek} }?", + "delete-queue-text": "Uwaga, po potwierdzeniu kolejka i wszystkie powiązane dane zostaną nieodwracalnie utracone.", "delete-queues-text": "Po potwierdzeniu wszystkie wybrane kolejki zostaną usunięte i nie będą dostępne.", - "search": "Kolejka wyszukiwania", + "search": "Szukaj kolejek", "add": "Dodaj kolejkę", "details": "Szczegóły kolejki", "topic": "Temat", - "submit-settings": "Prześlij ustawienia", + "submit-settings": "Ustawienia przesyłania", "submit-strategy": "Typ strategii *", "grouping-parameter": "Parametr grupowania", - "processing-settings": "Ponawia próbę przetwarzania ustawień", + "processing-settings": "Ustawienia przetwarzania ponownych prób", "processing-strategy": "Rodzaj przetwarzania *", - "retries-settings": "Ponawia ustawienia", + "retries-settings": "Ustawienia ponownych prób", "polling-settings": "Ustawienia odpytywania", "batch-processing": "Przetwarzanie wsadowe", "poll-interval": "Interwał odpytywania", "partitions": "Partycje", "immediate-processing": "Natychmiastowe przetwarzanie", - "consumer-per-partition": "Wyślij ankietę do każdego konsumenta", + "consumer-per-partition": "Odpytuj o wiadomości osobno dla każdego konsumenta", "consumer-per-partition-hint": "Włącz osobnych konsumentów dla każdej partycji", + "duplicate-msg-to-all-partitions": "Duplikuj wiadomość do wszystkich partycji", "processing-timeout": "Przetwarzanie w ciągu, ms", "batch-size": "Rozmiar partii", "retries": "Liczba ponownych prób (0 – nieograniczona)", - "failure-percentage": "Procent komunikatów o błędach związanych z pominięciem ponownych prób", - "pause-between-retries": "Spróbuj ponownie w ciągu, sek", - "max-pause-between-retries": "Dodatkowa ponowna próba w ciągu, sek", + "failure-percentage": "Odsetek nieudanych wiadomości, przy którym pomijane są ponowne próby, %", + "pause-between-retries": "Ponowna próba w ciągu, s", + "max-pause-between-retries": "Dodatkowa ponowna próba w ciągu, s", "delete": "Usuń kolejkę", - "copyId": "Skopiuj identyfikator kolejki", + "copyId": "Kopiuj identyfikator kolejki", "idCopiedMessage": "Identyfikator kolejki został skopiowany do schowka", "description": "Opis", "description-hint": "Tekst ten będzie wyświetlany w opisie kolejki zamiast wybranej strategii", - "alt-description": "Prześlij strategię: {{submitStrategy}}, Strategia przetwarzania: {{processingStrategy}}", - "custom-properties": "Custom properties", - "custom-properties-hint": "Custom queue (topic) creation properties, e.g. 'retention.ms:604800000;retention.bytes:1048576000'", + "alt-description": "Strategia przesyłania: {{submitStrategy}}, strategia przetwarzania: {{processingStrategy}}", + "custom-properties": "Właściwości niestandardowe", + "custom-properties-hint": "Niestandardowe właściwości tworzenia kolejki (tematu), np. 'retention.ms:604800000;retention.bytes:1048576000'", "strategies": { - "sequential-by-originator-label": "Sekwencja według inicjatora", - "sequential-by-originator-hint": "Nowa wiadomość dla m.in. ", - "sequential-by-tenant-label": "Kolejność według tenanta", + "sequential-by-originator-label": "Sekwencyjny według inicjatora", + "sequential-by-originator-hint": "Nowa wiadomość np. dla urządzenia A nie zostanie przesłana, dopóki poprzednia wiadomość dla urządzenia A nie zostanie potwierdzona", + "sequential-by-tenant-label": "Sekwencyjny według tenanta", "sequential-by-tenant-hint": "Nowa wiadomość dla np. tenanta A nie zostanie wysłana do czasu potwierdzenia poprzedniej wiadomości dla tenanta A", "sequential-label": "Sekwencyjny", "sequential-hint": "Nowa wiadomość nie zostanie przesłana, dopóki poprzednia wiadomość nie zostanie potwierdzona", - "burst-label": "Wybuch", + "burst-label": "Wszystkie naraz", "burst-hint": "Wszystkie wiadomości są przesyłane do łańcuchów reguł w kolejności ich nadejścia", - "batch-label": "Seria", + "batch-label": "Partiami", "batch-hint": "Nowa partia nie zostanie przesłana do czasu potwierdzenia poprzedniej partii", "skip-all-failures-label": "Pomiń wszystkie niepowodzenia", - "skip-all-failures-hint": "Ignoruj ​​wszystkie niepowodzenia", - "skip-all-failures-and-timeouts-label": "Pomiń wszystkie awarie i przekroczenia limitu czasu", - "skip-all-failures-and-timeouts-hint": "Ignoruj ​​wszystkie awarie i przekroczenia limitu czasu", - "retry-all-label": "Spróbuj ponownie", + "skip-all-failures-hint": "Ignoruj wszystkie niepowodzenia", + "skip-all-failures-and-timeouts-label": "Pomiń wszystkie niepowodzenia i przekroczenia limitu czasu", + "skip-all-failures-and-timeouts-hint": "Ignoruj wszystkie niepowodzenia i przekroczenia limitu czasu", + "retry-all-label": "Ponów wszystkie", "retry-all-hint": "Ponów próbę wszystkich wiadomości z pakietu przetwarzania", - "retry-failed-label": "Ponowna próba nie powiodła się", + "retry-failed-label": "Ponów nieudane", "retry-failed-hint": "Ponów próbę dla wszystkich nieudanych wiadomości z pakietu przetwarzania", - "retry-timeout-label": "Przekroczono limit czasu ponownej próby", - "retry-timeout-hint": "Ponów próbę dla wszystkich wiadomości, których przekroczono limit czasu, z pakietu przetwarzania", - "retry-failed-and-timeout-label": "Ponowna próba nie powiodła się i przekroczono limit czasu", + "retry-timeout-label": "Ponów wiadomości z przekroczonym limitem czasu", + "retry-timeout-hint": "Ponów próbę dla wszystkich wiadomości z pakietu przetwarzania, dla których przekroczono limit czasu", + "retry-failed-and-timeout-label": "Ponów nieudane i z przekroczonym limitem czasu", "retry-failed-and-timeout-hint": "Ponów próbę dla wszystkich wiadomości z pakietu przetwarzania, które nie powiodły się i przekroczyły limit czasu" } }, + "queue-statistics": { + "queue-statistics": "Statystyki kolejek", + "no-queue-statistics-matching": "Nie znaleziono statystyk kolejek pasujących do „{{entity}}”.", + "queue-statistics-required": "Statystyki kolejek są wymagane.", + "list-of-queue-statistics": "{ count, plural, =1 {Jedna statystyka kolejki} one {# statystyka kolejki} other {Lista # statystyk kolejek} }", + "selected-queue-statistics": "Wybrano { count, plural, =1 {1 statystykę kolejki} one {# statystykę kolejki} few {# statystyki kolejek} other {# statystyk kolejek} }", + "no-queue-statistics-text": "Nie znaleziono statystyk kolejek", + "queue-statistics-starts-with": "Statystyki kolejek, których nazwy zaczynają się od „{{prefix}}”" + }, "server-error": { "general": "Ogólny błąd serwera", - "authentication": "Błąd autoryzacji", + "authentication": "Błąd uwierzytelniania", "jwt-token-expired": "Token JWT wygasł", "tenant-trial-expired": "Okres próbny tenanta dobiegł końca", - "credentials-expired": "Poświadczenia wygasły", - "permission-denied": "Odmowa pozwolenia", + "credentials-expired": "Dane uwierzytelniające wygasły", + "permission-denied": "Brak uprawnień", "invalid-arguments": "Nieprawidłowe argumenty", - "bad-request-params": "Złe parametry żądania", - "item-not-found": "Nie znaleziono obiektów", - "too-many-requests": "zbyt dużo próśb", - "too-many-updates": "Za dużo aktualizacji (⊙ _ ⊙ )" + "bad-request-params": "Nieprawidłowe parametry żądania", + "item-not-found": "Nie znaleziono elementu", + "too-many-requests": "Zbyt wiele żądań", + "too-many-updates": "Zbyt wiele aktualizacji", + "entities-limit-exceeded": "Przekroczono limit obiektów" }, "tenant": { "tenant": "Tenant", - "tenants": "Tenanci", - "management": "Zarządzanie Tenantami", + "tenants": "Tenanty", + "management": "Zarządzanie tenantami", "add": "Dodaj tenanta", "admins": "Administratorzy", "manage-tenant-admins": "Zarządzaj administratorami tenantów", @@ -5022,59 +9476,60 @@ "add-tenant-text": "Dodaj nowego tenanta", "no-tenants-text": "Nie znaleziono tenantów", "tenant-details": "Dane tenanta", - "title-max-length": "Tytuł powinien być mniejszy niż 256", - "delete-tenant-title": "Czy na pewno chcesz usunąć tenanta '{{tenantTitle}}'?", - "delete-tenant-text": "Bądź ostrożny, po potwierdzeniu tenanta i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-tenants-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 tenanta} other {# tenantów} }?", - "delete-tenants-action-title": "Usuń { count, plural, =1 {1 tenanta} other {# tenantów} }", - "delete-tenants-text": "Bądź ostrożny, po potwierdzeniu wszyscy wybrani tenanci zostaną usunięci, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", + "delete-tenant-title": "Czy na pewno chcesz usunąć tenanta „{{tenantTitle}}”?", + "delete-tenant-text": "Uwaga, po potwierdzeniu tenant i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-tenants-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 tenanta} one {# tenanta} few {# tenanty} other {# tenantów} }?", + "delete-tenants-action-title": "Usuń { count, plural, =1 {1 tenanta} one {# tenanta} few {# tenanty} other {# tenantów} }", + "delete-tenants-text": "Uwaga, po potwierdzeniu wszystkie wybrane tenanty zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", "title": "Tytuł", "title-required": "Tytuł jest wymagany.", "description": "Opis", "details": "Szczegóły", - "events": "Wydarzenia", - "copyId": "Skopiuj identyfikator tenanta", - "idCopiedMessage": "Identyfikator został skopiowany do schowka", + "events": "Zdarzenia", + "copyId": "Kopiuj identyfikator tenanta", + "idCopiedMessage": "Identyfikator tenanta został skopiowany do schowka", "select-tenant": "Wybierz tenanta", - "no-tenants-matching": "Nie znaleziono tenanta '{{entity}}'.", + "no-tenants-matching": "Nie znaleziono tenantów pasujących do „{{entity}}”.", "tenant-required": "Tenant jest wymagany", - "allow-white-labeling": "Zezwalaj na White Labeling", - "allow-customer-white-labeling": "Zezwalaj na White Labeling klienta", - "search": "Wyszukaj tenantów", - "selected-tenants": "Wybrano { count, plural, =1 {1 tenanta} other {# tenantów} }", - "isolated-tb-rule-engine": "Przetwarzanie w izolowanym kontenerze mechanizmu reguł ThingsBoard", - "isolated-tb-rule-engine-details": "Wymaga oddzielnych mikrousług dla każdego izolowanego Tenanta" + "allow-white-labeling": "Zezwalaj na branding", + "allow-customer-white-labeling": "Zezwalaj na branding klienta", + "search": "Szukaj tenantów", + "selected-tenants": "Wybrano { count, plural, =1 {1 tenanta} one {# tenanta} few {# tenanty} other {# tenantów} }", + "isolated-tb-rule-engine": "Używaj izolowanych kolejek silnika reguł ThingsBoard", + "isolated-tb-rule-engine-details": "Każdy tenant będzie miał dedykowane kolejki silnika reguł" }, "tenant-profile": { "tenant-profile": "Profil tenanta", - "tenant-profiles": "Profile Tenantów", + "tenant-profiles": "Profile tenantów", "add": "Dodaj profil tenanta", "add-profile": "Dodaj profil", + "debug": "Debugowanie", "edit": "Edytuj profil tenanta", "tenant-profile-details": "Dane profilu tenanta", - "no-tenant-profiles-text": "Nie znaleziono profili Tenantów", - "name-max-length": "Nazwa powinna być mniejsza niż 256", - "search": "Przeszukaj profile Tenantów", - "selected-tenant-profiles": "Wybrano { count, plural, =1 {1 profil tenanta} other {# profili tenantów} }", - "no-tenant-profiles-matching": "Nie znaleziono profilu tenanta '{{entity}}'.", + "no-tenant-profiles-text": "Nie znaleziono profili tenantów", + "name-max-length": "Nazwa powinna mieć mniej niż 256 znaków", + "search": "Szukaj profili tenantów", + "selected-tenant-profiles": "Wybrano { count, plural, =1 {1 profil tenanta} one {# profil tenanta} few {# profile tenantów} other {# profili tenantów} }", + "no-tenant-profiles-matching": "Nie znaleziono profili tenantów pasujących do „{{entity}}”.", "tenant-profile-required": "Profil tenanta jest wymagany", "idCopiedMessage": "Identyfikator profilu tenanta został skopiowany do schowka", "set-default": "Ustaw profil tenanta jako domyślny", "delete": "Usuń profil tenanta", - "copyId": "Skopiuj identyfikator profilu tenanta", + "copyId": "Kopiuj identyfikator profilu tenanta", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", "data": "Dane profilu", "profile-configuration": "Konfiguracja profilu", "description": "Opis", "default": "Domyślny", - "delete-tenant-profile-title": "Czy na pewno chcesz usunąć profil tenanta '{{tenantProfileName}}'?", - "delete-tenant-profile-text": "Bądź ostrożny, po potwierdzeniu profilu tenanta i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-tenant-profiles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 profil tenanta} other {# profili tenantów} }", - "delete-tenant-profiles-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane profile Tenantów zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", - "set-default-tenant-profile-title": "Czy na pewno chcesz utworzyć profil tenanta '{{tenantProfileName}}' domyślny?", - "set-default-tenant-profile-text": "Po potwierdzeniu profil tenanta zostanie oznaczony jako domyślny i będzie używany dla nowych Tenantów bez określonego profilu.", - "no-tenant-profiles-found": "Nie znaleziono profili Tenantów.", + "delete-tenant-profile-title": "Czy na pewno chcesz usunąć profil tenanta „{{tenantProfileName}}”?", + "delete-tenant-profile-text": "Uwaga, po potwierdzeniu profil tenanta i wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "delete-tenant-profiles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 profil tenanta} one {# profil tenanta} few {# profile tenantów} other {# profili tenantów} }?", + "delete-tenant-profiles-text": "Uwaga, po potwierdzeniu wszystkie wybrane profile tenantów zostaną usunięte, a wszystkie powiązane dane zostaną nieodwracalnie utracone.", + "set-default-tenant-profile-title": "Czy na pewno chcesz ustawić profil tenanta „{{tenantProfileName}}” jako domyślny?", + "set-default-tenant-profile-text": "Po potwierdzeniu profil tenanta zostanie oznaczony jako domyślny i będzie używany dla nowych tenantów bez określonego profilu.", + "no-tenant-profiles-found": "Nie znaleziono profili tenantów.", "create-new-tenant-profile": "Utwórz nowy!", "create-tenant-profile": "Utwórz nowy profil tenanta", "import": "Importuj profil tenanta", @@ -5083,11 +9538,12 @@ "tenant-profile-file": "Plik profilu tenanta", "invalid-tenant-profile-file-error": "Nie można zaimportować profilu tenanta: nieprawidłowa struktura danych profilu tenanta.", "advanced-settings": "Zaawansowane ustawienia", - "entities": "obiekty", + "entities": "Obiekty", "rule-engine": "Silnik reguł", - "time-to-live": "Czas żyć", + "time-to-live": "Czas życia", + "calculated-fields": "Pola obliczeniowe", "alarms-and-notifications": "Alarmy i powiadomienia", - "ota-files-in-bytes": "Pliki OTA w bajtach", + "ota-files-in-bytes": "Pliki", "ws-title": "WS", "unlimited": "(0 - nieograniczony)", "maximum-devices": "Maksymalna liczba urządzeń", @@ -5102,174 +9558,305 @@ "maximum-users": "Maksymalna liczba użytkowników", "maximum-users-required": "Maksymalna liczba użytkowników jest wymagana.", "maximum-users-range": "Maksymalna liczba użytkowników nie może być ujemna", - "maximum-dashboards": "Maksymalna liczba paneli", - "maximum-dashboards-required": "Maksymalna liczba paneli jest wymagana.", - "maximum-dashboards-range": "Maksymalna liczba paneli nie może być ujemna", - "maximum-edges": "Maksymalna liczba krawędzi", - "maximum-edges-required": "Maksymalna liczba krawędzi jest wymagana.", - "maximum-edges-range": "Maksymalna liczba krawędzi nie może być ujemna", + "maximum-dashboards": "Maksymalna liczba pulpitów", + "maximum-dashboards-required": "Maksymalna liczba pulpitów jest wymagana.", + "maximum-dashboards-range": "Maksymalna liczba pulpitów nie może być ujemna", + "maximum-edges": "Maksymalna liczba instancji Edge", + "maximum-edges-required": "Maksymalna liczba instancji Edge jest wymagana.", + "maximum-edges-range": "Maksymalna liczba instancji Edge nie może być ujemna", "maximum-rule-chains": "Maksymalna liczba łańcuchów reguł", "maximum-rule-chains-required": "Maksymalna liczba łańcuchów reguł jest wymagana.", "maximum-rule-chains-range": "Maksymalna liczba łańcuchów reguł nie może być ujemna", "maximum-integrations": "Maksymalna liczba integracji", "maximum-integrations-required": "Maksymalna liczba integracji jest wymagana.", "maximum-integrations-range": "Maksymalna liczba integracji nie może być ujemna", + "maximum-reports": "Maksymalna liczba raportów", + "maximum-reports-required": "Maksymalna liczba raportów jest wymagana.", + "maximum-reports-range": "Maksymalna liczba raportów nie może być ujemna", "maximum-converters": "Maksymalna liczba konwerterów", "maximum-converters-required": "Maksymalna liczba konwerterów jest wymagana.", "maximum-converters-range": "Maksymalna liczba konwerterów nie może być ujemna", - "maximum-scheduler-events": "Maksymalna liczba zdarzeń planisty", - "maximum-scheduler-events-required": "Maksymalna liczba zdarzeń planisty jest wymagana.", - "maximum-scheduler-events-range": "Maksymalna liczba zdarzeń planisty nie może być ujemna", - "maximum-resources-sum-data-size": "Sumaryczny rozmiar plików bibliotek", - "maximum-resources-sum-data-size-required": "Sumaryczny rozmiar plików bibliotek jest wymagany.", - "maximum-resources-sum-data-size-range": "Suma rozmiarów plików bibliotek nie może być ujemna", - "maximum-ota-packages-sum-data-size": "Sumaryczny rozmiar plików pakietu OTA", - "maximum-ota-package-sum-data-size-required": "Sumaryczny rozmiar plików pakietu OTA jest wymagany.", - "maximum-ota-package-sum-data-size-range": "Suma plików pakietu OTA nie może być ujemna", - "rest-requests-for-tenant": "Żądania REST dla Tenanta", - "transport-tenant-telemetry-msg-rate-limit": "Komunikaty telemetryczne Tenanta transportu", - "transport-tenant-telemetry-data-points-rate-limit": "Punkty danych telemetrycznych tenanta transportu", - "transport-device-msg-rate-limit": "Wiadomości z urządzenia transportowego", - "transport-device-telemetry-msg-rate-limit": "Komunikaty telemetryczne urządzenia transportowego", - "transport-device-telemetry-data-points-rate-limit": "Punkty danych telemetrycznych urządzenia transportowego", + "maximum-scheduler-events": "Maksymalna liczba zdarzeń harmonogramu", + "maximum-scheduler-events-required": "Maksymalna liczba zdarzeń harmonogramu jest wymagana.", + "maximum-scheduler-events-range": "Maksymalna liczba zdarzeń harmonogramu nie może być ujemna", + "maximum-agents": "Maksymalna liczba instancji Agent", + "maximum-agents-required": "Maksymalna liczba instancji Agent jest wymagana.", + "maximum-agents-range": "Maksymalna liczba instancji Agent nie może być ujemna", + "maximum-agent-applications": "Maksymalna liczba aplikacji Agent", + "maximum-agent-applications-required": "Maksymalna liczba aplikacji Agent jest wymagana.", + "maximum-agent-applications-range": "Maksymalna liczba aplikacji Agent nie może być ujemna", + "maximum-resources-sum-data-size": "Maksymalny łączny rozmiar plików (bajty)", + "maximum-resources-sum-data-size-required": "Maksymalny łączny rozmiar plików jest wymagany.", + "maximum-resources-sum-data-size-range": "Maksymalny łączny rozmiar plików nie może być ujemny", + "maximum-resource-size": "Maksymalny rozmiar pliku (bajty)", + "maximum-resource-size-required": "Maksymalny rozmiar pliku jest wymagany", + "maximum-resource-size-range": "Maksymalny rozmiar pliku nie może być ujemny", + "maximum-report-size": "Maksymalny rozmiar pliku raportu (bajty)", + "maximum-report-size-required": "Maksymalny rozmiar pliku raportu jest wymagany", + "maximum-report-size-range": "Maksymalny rozmiar pliku raportu nie może być ujemny", + "maximum-ota-packages-sum-data-size": "Maksymalny łączny rozmiar plików pakietów OTA (bajty)", + "maximum-ota-package-sum-data-size-required": "Maksymalny łączny rozmiar plików pakietów OTA jest wymagany.", + "maximum-ota-package-sum-data-size-range": "Maksymalny łączny rozmiar plików pakietów OTA nie może być ujemny", + "maximum-debug-duration-min": "Maksymalny czas debugowania (min)", + "maximum-debug-duration-min-range": "Maksymalny czas debugowania nie może być ujemny", + "rest-requests-for-tenant": "Żądania REST dla tenanta", + "transport-tenant-telemetry-msg-rate-limit": "Transportowe wiadomości telemetrii tenanta", + "transport-tenant-telemetry-data-points-rate-limit": "Transportowe punkty danych telemetrii tenanta", + "transport-device-msg-rate-limit": "Transportowe wiadomości urządzenia", + "transport-device-telemetry-msg-rate-limit": "Transportowe wiadomości telemetrii urządzenia", + "transport-device-telemetry-data-points-rate-limit": "Transportowe punkty danych telemetrii urządzenia", + "transport-gateway-msg-rate-limit": "Transportowe wiadomości urządzeń Gateway", + "transport-gateway-telemetry-msg-rate-limit": "Transportowe wiadomości telemetrii urządzeń Gateway", + "transport-gateway-telemetry-data-points-rate-limit": "Transportowe punkty danych telemetrii urządzeń Gateway", + "transport-gateway-device-msg-rate-limit": "Transportowe wiadomości urządzeń podłączonych przez urządzenie Gateway", + "transport-gateway-device-telemetry-msg-rate-limit": "Transportowe wiadomości telemetrii urządzeń podłączonych przez urządzenie Gateway", + "transport-gateway-device-telemetry-data-points-rate-limit": "Transportowe punkty danych telemetrii urządzeń podłączonych przez urządzenie Gateway", "tenant-entity-export-rate-limit": "Tworzenie wersji obiektów", "tenant-entity-import-rate-limit": "Ładowanie wersji obiektów", "tenant-notification-request-rate-limit": "Żądania powiadomień", - "tenant-notification-requests-per-rule-rate-limit": "Żądania powiadomień według reguły powiadomień", - "integration-msgs-per-tenant-rate-limit": "Tenant integration messages", - "integration-msgs-per-device-rate-limit": "Device integration messages", - "max-transport-messages": "Maksymalna liczba komunikatów transportowych", - "max-transport-messages-required": "Maksymalna liczba komunikatów transportowych jest wymagana.", - "max-transport-messages-range": "Maksymalna liczba komunikatów transportowych nie może być ujemna", + "tenant-notification-requests-per-rule-rate-limit": "Żądania powiadomień na regułę powiadomień", + "integration-msgs-per-tenant-rate-limit": "Wiadomości integracji na tenanta", + "integration-msgs-per-device-rate-limit": "Wiadomości integracji na urządzenie", + "integration-msgs-per-asset-rate-limit": "Wiadomości integracji na zasób", + "max-calculated-fields": "Maksymalna liczba pól obliczeniowych na obiekt", + "max-calculated-fields-range": "Maksymalna liczba pól obliczeniowych na obiekt nie może być ujemna", + "max-calculated-fields-required": "Maksymalna liczba pól obliczeniowych na obiekt jest wymagana", + "max-data-points-per-rolling-arg": "Maks. liczba punktów danych w argumentach kroczących", + "max-data-points-per-rolling-arg-range": "Maks. liczba punktów danych w argumentach kroczących nie może być ujemna", + "max-data-points-per-rolling-arg-required": "Maksymalna liczba punktów danych w argumentach kroczących jest wymagana", + "max-arguments-per-cf": "Maksymalna liczba argumentów na pole obliczeniowe", + "max-arguments-per-cf-range": "Maksymalna liczba argumentów na pole obliczeniowe nie może być ujemna", + "max-arguments-per-cf-required": "Maksymalna liczba argumentów na pole obliczeniowe jest wymagana", + "max-related-level-per-argument": "Maksymalny poziom relacji na argument „Powiązane obiekty”", + "max-related-level-per-argument-range": "Maksymalny poziom relacji na argument „Powiązane obiekty” nie może być mniejszy niż 1", + "max-related-level-per-argument-required": "Maksymalny poziom relacji na argument „Powiązane obiekty” jest wymagany", + "min-allowed-scheduled-update-interval": "Minimalny dozwolony interwał aktualizacji argumentów „Powiązane obiekty” (sekundy)", + "min-allowed-scheduled-update-interval-range": "Minimalny dozwolony interwał aktualizacji nie może być ujemny", + "min-allowed-deduplication-interval": "Minimalny dozwolony interwał deduplikacji (sekundy)", + "min-allowed-deduplication-interval-range": "Wartość minimalnego dozwolonego interwału deduplikacji nie może być ujemna", + "min-allowed-deduplication-interval-required": "Minimalny dozwolony interwał deduplikacji jest wymagany", + "intermediate-aggregation-interval": "Pośredni interwał agregacji (sekundy)", + "intermediate-aggregation-interval-range": "Wartość pośredniego interwału agregacji nie może być mniejsza niż 1", + "intermediate-aggregation-interval-required": "Pośredni interwał agregacji jest wymagany", + "reevaluation-check-interval": "Interwał sprawdzania ponownej oceny (sekundy)", + "reevaluation-check-interval-range": "Wartość interwału sprawdzania ponownej oceny nie może być mniejsza niż 1", + "reevaluation-check-interval-required": "Interwał sprawdzania ponownej oceny jest wymagany", + "alarms-reevaluation-interval": "Interwał ponownej oceny alarmów (sekundy)", + "alarms-reevaluation-interval-range": "Wartość interwału ponownej oceny alarmów nie może być mniejsza niż 1", + "alarms-reevaluation-interval-required": "Interwał ponownej oceny alarmów jest wymagany", + "min-allowed-aggregation-interval": "Minimalny dozwolony interwał agregacji (sekundy)", + "min-allowed-aggregation-interval-range": "Wartość minimalnego dozwolonego interwału agregacji nie może być ujemna", + "min-allowed-aggregation-interval-required": "Minimalny dozwolony interwał agregacji jest wymagany", + "min-allowed-scheduled-update-interval-required": "Minimalny dozwolony interwał aktualizacji jest wymagany", + "max-state-size": "Maksymalny rozmiar stanu w KB", + "max-state-size-range": "Maksymalny rozmiar stanu w KB nie może być ujemny", + "max-state-size-required": "Maksymalny rozmiar stanu w KB jest wymagany", + "max-value-argument-size": "Maksymalny rozmiar argumentu z pojedynczą wartością w KB", + "max-value-argument-size-range": "Maksymalny rozmiar argumentu z pojedynczą wartością w KB nie może być ujemny", + "max-value-argument-size-required": "Maksymalny rozmiar argumentu z pojedynczą wartością w KB jest wymagany", + "max-transport-messages": "Maksymalna liczba wiadomości transportowych", + "max-transport-messages-required": "Maksymalna liczba wiadomości transportowych jest wymagana.", + "max-transport-messages-range": "Maksymalna liczba wiadomości transportowych nie może być ujemna", "max-transport-data-points": "Maksymalna liczba punktów danych dotyczących transportu ", "max-transport-data-points-required": "Maksymalna liczba punktów danych dotyczących transportu jest wymagana.", "max-transport-data-points-range": "Maksymalna liczba punktów danych dotyczących transportu nie może być ujemna", - "max-r-e-executions": "Maksymalna liczba wykonań silnika reguły", - "max-r-e-executions-required": "Maksymalna liczba wykonań mechanizmu reguły jest wymagana.", - "max-r-e-executions-range": "Maksymalna liczba wykonań mechanizmu reguł nie może być ujemna", + "max-r-e-executions": "Maksymalna liczba wykonań silnika reguł", + "max-r-e-executions-required": "Maksymalna liczba wykonań silnika reguł jest wymagana.", + "max-r-e-executions-range": "Maksymalna liczba wykonań silnika reguł nie może być ujemna", "max-j-s-executions": "Maksymalna liczba wykonań JavaScript ", "max-j-s-executions-required": "Maksymalna liczba wykonań JavaScript jest wymagana.", "max-j-s-executions-range": "Maksymalna liczba wykonań JavaScript nie może być ujemna", + "max-tbel-executions": "Maksymalna liczba wykonań TBEL ", + "max-tbel-executions-required": "Maksymalna liczba wykonań TBEL jest wymagana.", + "max-tbel-executions-range": "Maksymalna liczba wykonań TBEL nie może być ujemna", "max-d-p-storage-days": "Maksymalna liczba dni przechowywania punktów danych", "max-d-p-storage-days-required": "Maksymalna liczba dni przechowywania punktów danych jest wymagana.", "max-d-p-storage-days-range": "Maksymalna liczba dni przechowywania punktów danych nie może być ujemna", - "default-storage-ttl-days": "Domyślnie dni TTL przechowywania", - "default-storage-ttl-days-required": "Domyślnie wymagane są dni TTL przechowywania.", - "default-storage-ttl-days-range": "Domyślnie dni TTL magazynu nie mogą być ujemne", - "alarms-ttl-days": "Alarmy TTL dni", - "alarms-ttl-days-required": "Wymagane dni TTL alarmów", - "alarms-ttl-days-days-range": "Dni alarmów TTL nie mogą być ujemne", - "rpc-ttl-days": "Dni RPC TTL", - "rpc-ttl-days-required": "Wymagane dni RPC TTL", - "rpc-ttl-days-days-range": "Dni RPC TTL nie mogą być ujemne", + "default-storage-ttl-days": "Domyślny TTL przechowywania w dniach", + "default-storage-ttl-days-required": "Domyślny TTL przechowywania w dniach jest wymagany.", + "default-storage-ttl-days-range": "Domyślny TTL przechowywania w dniach nie może być ujemny", + "alarms-ttl-days": "TTL alarmów w dniach", + "alarms-ttl-days-required": "TTL alarmów w dniach jest wymagany", + "alarms-ttl-days-days-range": "TTL alarmów w dniach nie może być ujemny", + "rpc-ttl-days": "TTL RPC w dniach", + "rpc-ttl-days-required": "TTL RPC w dniach jest wymagany", + "rpc-ttl-days-days-range": "TTL RPC w dniach nie może być ujemny", + "queue-stats-ttl-days": "TTL statystyk kolejek w dniach", + "queue-stats-ttl-days-required": "TTL statystyk kolejek w dniach jest wymagany", + "queue-stats-ttl-days-range": "TTL statystyk kolejek w dniach nie może być ujemny", + "rule-engine-exceptions-ttl-days": "TTL wyjątków silnika reguł w dniach", + "rule-engine-exceptions-ttl-days-required": "TTL wyjątków silnika reguł w dniach jest wymagany", + "rule-engine-exceptions-ttl-days-range": "TTL wyjątków silnika reguł w dniach nie może być ujemny", + "blob-entity-ttl-days": "TTL obiektów blob w dniach", + "blob-entity-ttl-days-required": "TTL obiektów blob w dniach jest wymagany", + "blob-entity-ttl-days-range": "TTL obiektów blob w dniach nie może być ujemny", + "report-ttl-days": "TTL raportów w dniach", + "report-ttl-days-required": "TTL raportów w dniach jest wymagany", + "report-ttl-days-range": "TTL raportów w dniach nie może być ujemny", "max-rule-node-executions-per-message": "Maksymalna liczba wykonań węzła reguły na wiadomość", - "max-rule-node-executions-per-message-required": "Maksymalna liczba wykonań węzła MRule na komunikat jest wymagana.", - "max-rule-node-executions-per-message-range": "Maksymalna liczba wykonań węzła reguły na komunikat nie może być ujemna", + "max-rule-node-executions-per-message-required": "Maksymalna liczba wykonań węzła reguły na wiadomość jest wymagana.", + "max-rule-node-executions-per-message-range": "Maksymalna liczba wykonań węzła reguły na wiadomość nie może być ujemna", "max-emails": "Maksymalna liczba wysłanych e-maili", "max-emails-required": "Maksymalna liczba wysłanych e-maili jest wymagana.", "max-emails-range": "Maksymalna liczba wysłanych e-maili nie może być ujemna", - "sms-enabled": "SMS enabled", + "sms-enabled": "Wiadomości SMS włączone", "max-sms": "Maksymalna liczba wysłanych SMS-ów", "max-sms-required": "Maksymalna liczba wysłanych SMS-ów jest wymagana.", "max-sms-range": "Maksymalna liczba wysłanych SMS-ów nie może być ujemna", - "max-created-alarms": "Alarmy utworzyły maksymalną liczbę", + "max-created-alarms": "Maksymalna liczba utworzonych alarmów", "max-created-alarms-required": "Maksymalna liczba utworzonych alarmów jest wymagana.", - "max-created-alarms-range": "Maksymalna liczba utworzonych alarmów będzie ujemna", + "max-created-alarms-range": "Maksymalna liczba utworzonych alarmów nie może być ujemna", "no-queue": "Nie skonfigurowano kolejki", "add-queue": "Dodaj kolejkę", "queues-with-count": "Kolejki ({{count}})", - "tenant-rest-limits": "Żądania REST dla Tenanta", + "tenant-rest-limits": "Żądania REST dla tenanta", "customer-rest-limits": "Żądania REST dla klienta", - "incorrect-pattern-for-rate-limits": "Format to oddzielane przecinkami pary pojemności i kropki (w sekundach) z dwukropkiem pomiędzy np. ", + "incorrect-pattern-for-rate-limits": "Format to oddzielone przecinkami pary pojemności i okresu (w sekundach) z dwukropkiem pomiędzy nimi, np. 100:1,2000:60", "too-small-value-zero": "Wartość musi być większa niż 0", "too-small-value-one": "Wartość musi być większa niż 1", "queue-size-is-limited-by-system-configuration": "Rozmiar kolejki jest również ograniczony konfiguracją systemu.", - "cassandra-tenant-limits-configuration": "Zapytanie Cassandry o Tenanta", - "ws-limit-max-sessions-per-tenant": "Maksymalna liczba sesji na Tenanta", + "cassandra-write-tenant-core-limits-configuration": "Zapytania zapisu do bazy Cassandra przez REST API", + "cassandra-read-tenant-core-limits-configuration": "Zapytania odczytu telemetrii z bazy Cassandra przez REST API i WS", + "cassandra-write-tenant-rule-engine-limits-configuration": "Zapytania zapisu telemetrii do bazy Cassandra przez silnik reguł", + "cassandra-read-tenant-rule-engine-limits-configuration": "Zapytania odczytu telemetrii z bazy Cassandra przez silnik reguł", + "ws-limit-max-sessions-per-tenant": "Maksymalna liczba sesji na tenanta", "ws-limit-max-sessions-per-customer": "Maksymalna liczba sesji na klienta", "ws-limit-max-sessions-per-regular-user": "Maksymalna liczba sesji na zwykłego użytkownika", "ws-limit-max-sessions-per-public-user": "Maksymalna liczba sesji na użytkownika publicznego", "ws-limit-queue-per-session": "Maksymalny rozmiar kolejki komunikatów na sesję", - "ws-limit-max-subscriptions-per-tenant": "Maksymalna liczba subskrypcji na Tenanta", + "ws-limit-max-subscriptions-per-tenant": "Maksymalna liczba subskrypcji na tenanta", "ws-limit-max-subscriptions-per-customer": "Maksymalna liczba subskrypcji na klienta", "ws-limit-max-subscriptions-per-regular-user": "Maksymalna liczba subskrypcji na zwykłego użytkownika", "ws-limit-max-subscriptions-per-public-user": "Maksymalna liczba subskrypcji na użytkownika publicznego", "ws-limit-updates-per-session": "Aktualizacje WS na sesję", + "relation-search-entity-limit": "Limit obiektów wyszukiwanych po relacjach", + "relation-search-entity-limit-hint": "Ogranicza liczbę obiektów wyznaczanych na ostatnim poziomie ścieżki relacji. Dotyczy argumentów „Powiązane obiekty” i pól propagacji.", + "relation-search-entity-limit-required": "Limit obiektów wyszukiwanych po relacjach", + "relation-search-entity-limit-range": "Limit obiektów wyszukiwanych po relacjach nie może być mniejszy niż „1”", + "ai": "AI", + "max-ai-credits": "Maksymalna liczba kredytów AI", + "max-ai-credits-required": "Maksymalna liczba kredytów AI jest wymagana.", + "max-ai-credits-range": "Maksymalna liczba kredytów AI nie może być ujemna", "rate-limits": { "add-limit": "Dodaj limit", + "and-also-less-than": "a także mniej niż", "advanced-settings": "Zaawansowane ustawienia", "edit-limit": "Edytuj limit", - "edit-transport-tenant-msg-title": "Edytuj limity szybkości wiadomości tenanta transportu", - "edit-transport-tenant-telemetry-msg-title": "Edytuj limity szybkości komunikatów telemetrycznych Tenanta transportu", - "edit-transport-tenant-telemetry-data-points-title": "Edytuj limity szybkości punktów danych telemetrycznych Tenanta transportu", - "edit-transport-device-msg-title": "Edytuj limity szybkości komunikatów urządzeń transportowych", - "edit-transport-device-telemetry-msg-title": "Edytuj limity szybkości komunikatów telemetrycznych urządzeń transportowych", - "edit-transport-device-telemetry-data-points-title": "Edytuj limity szybkości punktów danych telemetrycznych urządzeń transportowych", - "edit-tenant-rest-limits-title": "Edytuj żądania REST dotyczące limitów stawek Tenanta", - "edit-customer-rest-limits-title": "Edytuj żądania REST dotyczące limitów stawek klienta", + "calculated-field-debug-event-rate-limit": "Zdarzenia debugowania pól obliczeniowych", + "edit-calculated-field-debug-event-rate-limit": "Edytuj limity szybkości zdarzeń debugowania pól obliczeniowych", + "edit-transport-tenant-msg-title": "Edytuj limity szybkości transportowych wiadomości tenanta", + "edit-transport-tenant-telemetry-msg-title": "Edytuj limity szybkości transportowych wiadomości telemetrii tenanta", + "edit-transport-tenant-telemetry-data-points-title": "Edytuj limity szybkości transportowych punktów danych telemetrii tenanta", + "edit-transport-device-msg-title": "Edytuj limity szybkości transportowych wiadomości urządzeń", + "edit-transport-device-telemetry-msg-title": "Edytuj limity szybkości transportowych wiadomości telemetrii urządzeń", + "edit-transport-device-telemetry-data-points-title": "Edytuj limity szybkości transportowych punktów danych telemetrii urządzeń", + "edit-transport-gateway-msg-title": "Edytuj limity szybkości wiadomości transportu urządzeń Gateway", + "edit-transport-gateway-telemetry-msg-title": "Edytuj limity szybkości wiadomości telemetrii transportu urządzeń Gateway", + "edit-transport-gateway-telemetry-data-points-title": "Edytuj limity szybkości punktów danych telemetrii transportu urządzeń Gateway", + "edit-transport-gateway-device-msg-title": "Edytuj limity szybkości wiadomości transportu urządzeń podłączonych do urządzenia Gateway", + "edit-transport-gateway-device-telemetry-msg-title": "Edytuj limity szybkości wiadomości telemetrii transportu urządzeń podłączonych do urządzenia Gateway", + "edit-transport-gateway-device-telemetry-data-points-title": "Edytuj limity szybkości punktów danych telemetrii transportu urządzeń podłączonych do urządzenia Gateway", + "edit-tenant-rest-limits-title": "Edytuj limity szybkości żądań REST dla tenanta", + "edit-customer-rest-limits-title": "Edytuj limity szybkości żądań REST dla klienta", "edit-ws-limit-updates-per-session-title": "Edytuj limity szybkości aktualizacji WS na sesję", - "edit-cassandra-tenant-limits-configuration-title": "Edytuj zapytanie Cassandry dotyczące limitów stawek tenanta", + "edit-cassandra-write-tenant-core-limits-configuration": "Edytuj zapytania Rest API zapisujące do bazy Cassandra", + "edit-cassandra-read-tenant-core-limits-configuration": "Edytuj zapytania Rest API i WS odczytujące telemetrię z bazy Cassandra", + "edit-cassandra-write-tenant-rule-engine-limits-configuration": "Edytuj zapytania silnika reguł zapisujące telemetrię do bazy Cassandra", + "edit-cassandra-read-tenant-rule-engine-limits-configuration": "Edytuj zapytania silnika reguł odczytujące telemetrię z bazy Cassandra", "edit-tenant-entity-export-rate-limit-title": "Edytuj limity szybkości tworzenia wersji obiektu", "edit-tenant-entity-import-rate-limit-title": "Edytuj limity szybkości ładowania wersji obiektu", "edit-tenant-notification-request-rate-limit-title": "Edytuj limity żądań powiadomień", - "edit-tenant-notification-requests-per-rule-rate-limit-title": "Edytuj żądania powiadomień według limitów częstotliwości reguł powiadomień", - "edit-integration-msgs-per-tenant-rate-limit-title": "Edit integration messages per tenant rate limits", - "edit-integration-msgs-per-device-rate-limit-title": "Edit integration messages per device rate limits", + "edit-tenant-notification-requests-per-rule-rate-limit-title": "Edytuj limity szybkości żądań powiadomień na regułę powiadomień", + "edit-integration-msgs-per-tenant-rate-limit-title": "Edytuj limity szybkości wiadomości integracji na tenanta", + "edit-integration-msgs-per-device-rate-limit-title": "Edytuj limity szybkości wiadomości integracji na urządzenie", + "edit-integration-msgs-per-asset-rate-limit-title": "Edytuj limity szybkości wiadomości integracji na zasób", + "edit-edge-events-rate-limit": "Edytuj limity szybkości zdarzeń Edge", + "edit-edge-events-per-edge-rate-limit": "Edytuj limity szybkości zdarzeń Edge na instancję Edge", + "edge-events-rate-limit": "Zdarzenia Edge", + "edge-events-per-edge-rate-limit": "Zdarzenia Edge na instancję Edge", + "edit-edge-uplink-messages-rate-limit": "Edytuj limity szybkości wiadomości uplink Edge", + "edit-edge-uplink-messages-per-edge-rate-limit": "Edytuj limity szybkości wiadomości uplink Edge na instancję Edge", + "edge-uplink-messages-rate-limit": "Wiadomości uplink Edge", + "edge-uplink-messages-per-edge-rate-limit": "Wiadomości uplink Edge na instancję Edge", + "edit-agent-events-rate-limit": "Edytuj limity szybkości zdarzeń Agent", + "edit-agent-events-per-agent-rate-limit": "Edytuj limity szybkości zdarzeń Agent na instancję Agent", + "agent-events-rate-limit": "Zdarzenia Agent", + "agent-events-per-agent-rate-limit": "Zdarzenia Agent na instancję Agent", + "edit-agent-log-chunks-rate-limit": "Edytuj limity szybkości fragmentów logów Agent", + "edit-agent-log-chunks-per-agent-rate-limit": "Edytuj limity szybkości fragmentów logów Agent na instancję Agent", + "agent-log-chunks-rate-limit": "Fragmenty logów Agent", + "agent-log-chunks-per-agent-rate-limit": "Fragmenty logów Agent na instancję Agent", + "ai-chat-requests-rate-limit": "Żądania czatu AI", + "edit-ai-chat-requests-rate-limit": "Edytuj limity szybkości żądań czatu AI", "messages-per": "wiadomości na", - "not-set": "Nie ustawiony", + "not-set": "Nie ustawiono", "number-of-messages": "Liczba wiadomości", "number-of-messages-required": "Liczba wiadomości jest wymagana.", "number-of-messages-min": "Minimalna wartość to 1.", - "preview": "Zapowiedź", - "per-seconds": "Na sekundę", - "per-seconds-required": "Tempo jest wymagane.", + "preview": "Podgląd", + "per-seconds": "Okres (sekundy)", + "per-seconds-required": "Okres jest wymagany.", "per-seconds-min": "Minimalna wartość to 1.", - "rate-limits": "Limity", + "per-seconds-duplicate": "Zduplikowany przedział czasu. Każdy przedział czasu musi być unikalny.", + "rate-limits": "Limity szybkości", "remove-limit": "Usuń limit", - "transport-tenant-msg": "Wiadomości tenanta transportu", - "transport-tenant-telemetry-msg": "Komunikaty telemetryczne Tenanta transportu", - "transport-tenant-telemetry-data-points": "Punkty danych telemetrycznych tenanta transportu", - "transport-device-msg": "Wiadomości z urządzenia transportowego", - "transport-device-telemetry-msg": "Komunikaty telemetryczne urządzenia transportowego", - "transport-device-telemetry-data-points": "Punkty danych telemetrycznych urządzenia transportowego", - "sec": "sek" + "transport-tenant-msg": "Transportowe wiadomości tenanta", + "transport-tenant-telemetry-msg": "Transportowe wiadomości telemetrii tenanta", + "transport-tenant-telemetry-data-points": "Transportowe punkty danych telemetrii tenanta", + "transport-device-msg": "Transportowe wiadomości urządzenia", + "transport-device-telemetry-msg": "Transportowe wiadomości telemetrii urządzenia", + "transport-device-telemetry-data-points": "Transportowe punkty danych telemetrii urządzenia", + "transport-gateway-msg": "Wiadomości transportu urządzenia Gateway", + "transport-gateway-telemetry-msg": "Transportowe wiadomości telemetrii urządzeń Gateway", + "transport-gateway-telemetry-data-points": "Transportowe punkty danych telemetrii urządzeń Gateway", + "transport-gateway-device-msg": "Transportowe wiadomości urządzeń podłączonych przez urządzenie Gateway", + "transport-gateway-device-telemetry-msg": "Transportowe wiadomości telemetrii urządzeń podłączonych przez urządzenie Gateway", + "transport-gateway-device-telemetry-data-points": "Transportowe punkty danych telemetrii urządzeń podłączonych przez urządzenie Gateway", + "sec": "sek." } }, "timeinterval": { - "seconds-interval": "{ seconds, plural, =1 {1 sekunda} other {# sekund(y)} }", - "minutes-interval": "{ minutes, plural, =1 {1 minuta} other {# minut(y)} }", - "hours-interval": "{ hours, plural, =1 {1 godzina} other {# godzin(y)} }", - "days-interval": "{ days, plural, =1 {1 dzień} other {# dni} }", + "seconds-interval": "{ seconds, plural, =1 {1 sekunda} one {# sekunda} few {# sekundy} many {# sekund} other {# sekundy} }", + "minutes-interval": "{ minutes, plural, =1 {1 minuta} one {# minuta} few {# minuty} many {# minut} other {# minuty} }", + "hours-interval": "{ hours, plural, =1 {1 godzina} one {# godzina} few {# godziny} many {# godzin} other {# godziny} }", + "days-interval": "{ days, plural, =1 {1 dzień} one {# dzień} few {# dni} many {# dni} other {# dnia} }", "days": "Dni", "hours": "Godziny", "minutes": "Minuty", "seconds": "Sekundy", "advanced": "Zaawansowane", + "custom": "Niestandardowy", "predefined": { "yesterday": "Wczoraj", "day-before-yesterday": "Przedwczoraj", "this-day-last-week": "Ten dzień w zeszłym tygodniu", "previous-week": "Poprzedni tydzień (niedziela - sobota)", "previous-week-iso": "Poprzedni tydzień (poniedziałek - niedziela)", - "previous-month": "Poprzedni miesiac", + "previous-month": "Poprzedni miesiąc", "previous-quarter": "Poprzedni kwartał", "previous-half-year": "Poprzednie półrocze", "previous-year": "Poprzedni rok", - "current-hour": "Aktualna godzina", + "current-hour": "Bieżąca godzina", "current-day": "Bieżący dzień", - "current-day-so-far": "Do tej pory bieżący dzień", + "current-day-so-far": "Bieżący dzień do tej pory", "current-week": "Bieżący tydzień (niedziela - sobota)", "current-week-iso": "Bieżący tydzień (poniedziałek - niedziela)", - "current-week-so-far": "Dotychczasowy tydzień (niedziela - sobota)", - "current-week-iso-so-far": "Dotychczasowy tydzień (poniedziałek - niedziela)", - "current-month": "Obecny miesiąc", - "current-month-so-far": "Do tej pory bieżący miesiąc", + "current-week-so-far": "Bieżący tydzień do tej pory (niedziela - sobota)", + "current-week-iso-so-far": "Bieżący tydzień do tej pory (poniedziałek - niedziela)", + "current-month": "Bieżący miesiąc", + "current-month-so-far": "Bieżący miesiąc do tej pory", "current-quarter": "Bieżący kwartał", - "current-quarter-so-far": "Do tej pory bieżący kwartał", + "current-quarter-so-far": "Bieżący kwartał do tej pory", "current-half-year": "Bieżące półrocze", - "current-half-year-so-far": "Dotychczasowe półrocze", - "current-year": "Rok bieżący", - "current-year-so-far": "Do tej pory bieżący rok" + "current-half-year-so-far": "Bieżące półrocze do tej pory", + "current-year": "Bieżący rok", + "current-year-so-far": "Bieżący rok do tej pory" + }, + "type": { + "week": "Tydzień (niedz. - sob.)", + "week-iso": "Tydzień (pon. - niedz.)", + "month": "Miesiąc", + "quarter": "Kwartał" } }, "timeunit": { @@ -5280,483 +9867,653 @@ "days": "Dni" }, "timewindow": { - "timewindow": "Timewindow", - "years": "{ years, plural, =1 { rok } other {# lat(a) } }", - "years-short": "{{ years }}y", - "months": "{ months, plural, =1 { miesiąc } other {# miesięcy } }", - "months-short": "{{ months }}M", - "weeks": "{ weeks, plural, =1 { tydzień } other {# tygodni(e) } }", - "weeks-short": "{{ weeks }}w", - "days": "{ days, plural, =1 { dzień } other {# dni } }", + "timewindow": "Okno czasowe", + "timewindow-settings": "Ustawienia okna czasowego", + "years": "{ years, plural, =1 {1 rok } one {# rok } few {# lata } many {# lat } other {# roku } }", + "years-short": "{{ years }}r", + "months": "{ months, plural, =1 {1 miesiąc } one {# miesiąc } few {# miesiące } many {# miesięcy } other {# miesiąca } }", + "months-short": "{{ months }} mies.", + "weeks": "{ weeks, plural, =1 {1 tydzień } one {# tydzień } few {# tygodnie } many {# tygodni } other {# tygodnia } }", + "weeks-short": "{{ weeks }} tyg.", + "days": "{ days, plural, =1 {1 dzień } one {# dzień } few {# dni } many {# dni } other {# dnia } }", "days-short": "{{ days }}d", - "hours": "{ hours, plural, =0 { 0 godzin } =1 {1 godzina } other {# godzin(y) } }", - "hr": "{{ hr }} godz", + "hours": "{ hours, plural, =0 { 0 godzin } =1 {1 godzina } one {# godzina } few {# godziny } many {# godzin } other {# godziny } }", + "hr": "{{ hr }} godz.", "hr-short": "{{ hr }}h", - "minutes": "{ minutes, plural, =0 { 0 minut } =1 {1 minuta } other {# minut(y) } }", + "minutes": "{ minutes, plural, =0 { 0 minut } =1 {1 minuta } one {# minuta } few {# minuty } many {# minut } other {# minuty } }", "min": "{{ min }} min", - "min-short": "{{ min }}m", - "seconds": "{ seconds, plural, =0 { 0 sekund } =1 {1 sekunda } other {# sekund(y) } }", - "sec": "{{ sec }} sek", + "min-short": "{{ min }}min", + "seconds": "{ seconds, plural, =0 { 0 sekund } =1 {1 sekunda } one {# sekunda } few {# sekundy } many {# sekund } other {# sekundy } }", + "sec": "{{ sec }} sek.", "sec-short": "{{ sec }}s", "short": { - "days": "{ days, plural, =1 { dzień } other {# dni } }", - "hours": "{ hours, plural, =1 {1 godzina } other {# godzin(y) } }", + "years": "{ years, plural, =1 {1 rok } one {# rok } few {# lata } many {# lat } other {# roku } }", + "days": "{ days, plural, =1 {1 dzień } one {# dzień } few {# dni } many {# dni } other {# dnia } }", + "hours": "{ hours, plural, =1 {1 godzina } one {# godzina } few {# godziny } many {# godzin } other {# godziny } }", "minutes": "{{minutes}} min ", - "seconds": "{{seconds}} sek " + "seconds": "{{seconds}} sek. ", + "milliseconds": "{{milliseconds}} ms" }, "realtime": "Czas rzeczywisty", "history": "Historia", - "last-prefix": "ostatni", - "period": "Od {{ startTime }} Do {{ endTime }}", + "last-prefix": "ostatni okres:", + "period": "Od {{ startTime }} do {{ endTime }}", "edit": "Edytuj okno czasowe", "date-range": "Zakres dat", "for-all-time": "Cały dotychczasowy okres", - "last": "Ostatni(e)", + "last": "Ostatnie", "time-period": "Okres czasu", - "hide": "Ukrywać", + "hide": "Ukryj", "interval": "Interwał", "just-now": "W tej chwili", - "just-now-lower": "just now", + "just-now-lower": "przed chwilą", "ago": "temu", - "style": "Timewindow style", - "icon": "Icon", - "icon-position": "Icon position", - "icon-position-left": "Left", - "icon-position-right": "Right", - "font": "Font", - "color": "Color", - "displayTypePrefix": "Display Realtime/History prefix", - "preview": "Preview" + "style": "Styl okna czasowego", + "icon": "Ikona", + "icon-position": "Pozycja ikony", + "icon-position-left": "Po lewej", + "icon-position-right": "Po prawej", + "font": "Czcionka", + "color": "Kolor", + "displayTypePrefix": "Wyświetlaj prefiks „Czas rzeczywisty”/„Historia”", + "preview": "Podgląd", + "relative": "Względny", + "range": "Zakres", + "hide-timewindow-section": "Ukryj sekcję okna czasowego przed użytkownikami końcowymi", + "hide-last-interval": "Ukryj ostatni interwał przed użytkownikami końcowymi", + "hide-relative-interval": "Ukryj interwał względny przed użytkownikami końcowymi", + "hide-fixed-interval": "Ukryj stały interwał przed użytkownikami końcowymi", + "hide-aggregation": "Ukryj agregację przed użytkownikami końcowymi", + "hide-group-interval": "Ukryj interwał grupowania przed użytkownikami końcowymi", + "hide-max-values": "Ukryj wartości maksymalne przed użytkownikami końcowymi", + "hide-timezone": "Ukryj strefę czasową przed użytkownikami końcowymi", + "disable-custom-interval": "Wyłącz wybór niestandardowego interwału", + "edit-aggregation-functions-list": "Edytuj listę funkcji agregacji", + "edit-aggregation-functions-list-hint": "Można określić listę dostępnych opcji.", + "allowed-aggregation-functions": "Dozwolone funkcje agregacji", + "edit-intervals-list": "Edytuj listę interwałów", + "allowed-agg-intervals": "Interwały grupowania", + "default-agg-interval": "Domyślny interwał grupowania", + "edit-intervals-list-hint": "Można określić listę dostępnych opcji interwałów.", + "edit-grouping-intervals-list-hint": "Można skonfigurować listę interwałów grupowania i domyślny interwał grupowania.", + "all": "Wszystkie", + "save-current-settings-as-default": "Zapisz bieżące ustawienia jako domyślne okno czasowe", + "hide-option-from-end-users": "Ukryj opcję przed użytkownikami końcowymi" + }, + "tooltip": { + "trigger": "Wyzwalacz", + "trigger-point": "Punkt", + "trigger-axis": "Oś", + "label": "Etykieta", + "value": "Wartość", + "date": "Data", + "show-date-time-interval": "Pokaż przedział daty i czasu", + "show-date-time-interval-hint": "Pokaż przedział daty i czasu zgodnie z agregacją danych.", + "hide-zero-tooltip-values": "Ukryj wartości zerowe", + "show-stack-total": "Pokaż łączną wartość w trybie stosu", + "background-color": "Kolor tła", + "background-blur": "Rozmycie tła" }, "unit": { - "millimeter": "Millimeter", - "centimeter": "Centimeter", - "angstrom": "Angstrom", - "nanometer": "Nanometer", - "micrometer": "Micrometer", - "meter": "Meter", - "kilometer": "Kilometer", - "inch": "Inch", - "foot": "Foot", - "yard": "Yard", - "mile": "Mile", - "nautical-mile": "Nautical Mile", - "astronomical-unit": "Astronomical Unit", - "reciprocal-metre": "Reciprocal Metre", - "meter-per-meter": "Meter per meter", + "set-unit-conversion": "Ustaw przeliczanie jednostek", + "unit-settings": { + "unit-settings": "Ustawienia jednostki", + "source-unit": "Jednostka źródłowa", + "source-unit-hint": "To jest jednostka zapisanej wartości. Jednostka, z której przeliczasz. Wprowadź symbol używany w Twoich danych źródłowych (np. m, km, ft, in).", + "target-metric-unit": "Docelowa jednostka metryczna", + "target-metric-unit-hint": "Wybierz jednostkę metryczną (SI), na którą ma zostać przeliczona wartość źródłowa (np. cm, mm, km).", + "target-imperial-unit": "Docelowa jednostka imperialna", + "target-imperial-unit-hint": "Wybierz jednostkę imperialną, na którą ma zostać przeliczona wartość źródłowa (np. in, ft, yd).", + "target-hybrid-unit": "Docelowa jednostka hybrydowa", + "target-hybrid-unit-hint": "Wybierz jednostkę hybrydową, na którą ma zostać przeliczona wartość źródłowa (np. cm, in, km). Jednostki hybrydowe łączą jednostki metryczne lub imperialne.", + "enable-unit-conversion": "Włącz przeliczanie jednostek", + "enable-unit-conversion-hint": "Włącz, aby aktywować przeliczanie. Gdy przełącznik jest wyłączony, wartość źródłowa jest przekazywana bez zmian. Przełącznik jest niedostępny, jeśli w danej grupie miar jest tylko jedna jednostka (np. Strumień świetlny, AQI)." + }, + "unit-system": "System jednostek", + "unit-system-type": { + "AUTO": "Automatyczny", + "METRIC": "Metryczny", + "IMPERIAL": "Imperialny", + "HYBRID": "Hybrydowy" + }, + "measures": { + "absorbed-dose-rate": "Moc dawki pochłoniętej", + "acceleration": "Przyspieszenie", + "acidity": "Kwasowość", + "air-quality-index": "Indeks jakości powietrza", + "amount-of-substance": "Liczność materii", + "angle": "Kąt", + "angular-acceleration": "Przyspieszenie kątowe", + "area": "Powierzchnia", + "area-density": "Gęstość powierzchniowa", + "capacitance": "Pojemność elektryczna", + "catalytic-activity": "Aktywność katalityczna", + "catalytic-concentration": "Stężenie katalityczne", + "charge": "Ładunek", + "current-density": "Gęstość prądu", + "data-transfer-rate": "Szybkość transmisji danych", + "density": "Gęstość", + "digital": "Dane cyfrowe", + "dimension-ratio": "Stosunek wymiarów", + "dynamic-viscosity": "Lepkość dynamiczna", + "earthquake-magnitude": "Magnituda trzęsienia ziemi", + "electric-charge-density": "Gęstość ładunku elektrycznego", + "electric-current": "Prąd elektryczny", + "electric-dipole-moment": "Elektryczny moment dipolowy", + "electric-field-strength": "Natężenie pola elektrycznego", + "electric-flux": "Strumień elektryczny", + "electric-permittivity": "Przenikalność elektryczna", + "electric-polarizability": "Polaryzowalność elektryczna", + "electrical-conductance": "Konduktancja elektryczna", + "electrical-conductivity": "Przewodność elektryczna właściwa", + "energy": "Energia", + "energy-density": "Gęstość energii", + "force": "Siła", + "frequency": "Częstotliwość", + "fuel-efficiency": "Efektywność paliwowa", + "heat-capacity": "Pojemność cieplna", + "illuminance": "Natężenie oświetlenia", + "inductance": "Indukcyjność", + "kinematic-viscosity": "Lepkość kinematyczna", + "length": "Długość", + "light-exposure": "Naświetlenie", + "linear-charge-density": "Liniowa gęstość ładunku", + "logarithmic-ratio": "Stosunek logarytmiczny", + "luminous-efficacy": "Skuteczność świetlna", + "luminous-flux": "Strumień świetlny", + "luminous-intensity": "Światłość", + "magnetic-field-gradient": "Gradient pola magnetycznego", + "magnetic-flux": "Strumień magnetyczny", + "magnetic-flux-density": "Indukcja magnetyczna", + "magnetic-moment": "Moment magnetyczny", + "magnetic-permeability": "Przenikalność magnetyczna", + "mass": "Masa", + "mass-fraction": "Ułamek masowy", + "molar-concentration": "Stężenie molowe", + "molar-energy": "Energia molowa", + "molar-heat-capacity": "Molowa pojemność cieplna", + "molar-mass": "Masa molowa", + "number-concentration": "Stężenie liczbowe", + "parts-per-million": "Części na milion", + "power": "Moc", + "power-density": "Gęstość mocy", + "pressure": "Ciśnienie", + "radiance": "Luminancja energetyczna", + "radiant-intensity": "Natężenie promieniowania", + "radiation-dose": "Dawka promieniowania", + "radioactive-decay": "Rozpad promieniotwórczy", + "radioactivity": "Promieniotwórczość", + "radioactivity-concentration": "Stężenie promieniotwórcze", + "reciprocal-length": "Odwrotność długości", + "resistance": "Rezystancja", + "reynolds-number": "Liczba Reynoldsa", + "signal-level": "Poziom sygnału", + "solid-angle": "Kąt bryłowy", + "specific-energy": "Energia właściwa", + "specific-heat-capacity": "Ciepło właściwe", + "specific-humidity": "Wilgotność właściwa", + "specific-volume": "Objętość właściwa", + "speed": "Prędkość", + "surface-charge-density": "Gęstość powierzchniowa ładunku", + "surface-tension": "Napięcie powierzchniowe", + "temperature": "Temperatura", + "thermal-conductivity": "Przewodność cieplna", + "time": "Czas", + "torque": "Moment obrotowy", + "turbidity": "Mętność", + "voltage": "Napięcie", + "volume": "Objętość", + "volume-flow": "Przepływ objętościowy" + }, + "millimeter": "Milimetr", + "centimeter": "Centymetr", + "decimeter": "Decymetr", + "angstrom": "Angstrem", + "nanometer": "Nanometr", + "micrometer": "Mikrometr", + "meter": "Metr", + "kilometer": "Kilometr", + "inch": "Cal", + "foot": "Stopa", + "foot-us": "Stopa (geodezyjna USA)", + "yard": "Jard", + "mile": "Mila", + "nautical-mile": "Mila morska", + "astronomical-unit": "Jednostka astronomiczna", + "reciprocal-metre": "Odwrotność metra", + "meter-per-meter": "Metr na metr", "steradian": "Steradian", - "thou": "Thou", - "barleycorn": "Barleycorn", - "hand": "Hand", - "chain": "Chain", + "thou": "Tysięczna cala", + "barleycorn": "Ziarno jęczmienia", + "hand": "Dłoń", + "chain": "Łańcuch", "furlong": "Furlong", - "league": "League", - "fathom": "Fathom", - "cable": "Cable", - "link": "Link", - "rod": "Rod", + "league": "Liga", + "fathom": "Sążeń", + "cable": "Kabel", + "link": "Ogniwo", + "rod": "Pręt", "nanogram": "Nanogram", - "microgram": "Microgram", - "milligram": "Milligram", + "microgram": "Mikrogram", + "milligram": "Miligram", "gram": "Gram", "kilogram": "Kilogram", - "tonne": "Tonne", - "ounce": "Ounce", - "pound": "Pound", - "stone": "Stone", - "hundredweight-count": "Hundredweight count", - "short-tons": "Short tons", + "tonne": "Tona", + "ounce": "Uncja", + "pound": "Funt", + "stone": "Kamień", + "hundredweight-count": "Cetnar", + "short-tons": "Tona krótka", "dalton": "Dalton", - "grain": "Grain", - "drachm": "Drachm", - "quarter": "Quarter", + "grain": "Gran", + "drachm": "Drachma", + "quarter": "Kwarter", "slug": "Slug", - "carat": "Carat", - "cubic-millimeter": "Cubic Millimeter", - "cubic-centimeter": "Cubic Centimeter", - "cubic-meter": "Cubic Meter/s", - "cubic-kilometer": "Cubic Kilometers", - "microliter": "Microliter", - "milliliter": "Milliliter", - "liter": "Liter", - "hectoliter": "Hectolitre", - "cubic-inch": "Cubic Inch", - "cubic-foot": "Cubic Foot", - "cubic-yard": "Cubic Yards", - "fluid-ounce": "Fluid Ounce", - "pint": "Pint", - "quart": "Quart", - "gallon": "Gallon", - "oil-barrels": "Oil Barrels", - "cubic-meter-per-kilogram": "Cubic Meter per Kilogram", + "carat": "Karat", + "cubic-millimeter": "Milimetr sześcienny", + "cubic-centimeter": "Centymetr sześcienny", + "cubic-meter": "Metr sześcienny", + "cubic-kilometer": "Kilometr sześcienny", + "microliter": "Mikrolitr", + "milliliter": "Mililitr", + "liter": "Litr", + "hectoliter": "Hektolitr", + "cubic-inch": "Cal sześcienny", + "cubic-foot": "Stopa sześcienna", + "cubic-yard": "Jard sześcienny", + "fluid-ounce": "Uncja płynu", + "fluid-ounce-per-second": "Uncja płynu na sekundę", + "pint": "Pinta", + "quart": "Kwarta", + "gallon": "Galon", + "oil-barrels": "Baryłka ropy", + "cubic-meter-per-kilogram": "Metr sześcienny na kilogram", "gill": "Gill", "hogshead": "Hogshead", - "teaspoon": "Teaspoon", - "tablespoon": "Tablespoon", - "cup": "Cup", - "celsius": "Celsius", - "kelvin": "Kelvin", - "rankine": "Rankine", - "fahrenheit": "Fahrenheit", - "percent": "Percent", - "meter-per-second": "Meter per Second", - "kilometer-per-hour": "Kilometer per Hour", - "foot-per-second": "Foot per Second", - "mile-per-hour": "Mile per Hour", - "knot": "Knot", - "millimeters-per-minute": "Millimeters per minute", - "kilometer-per-hour-squared": "Kilometer per hour squared", - "foot-per-second-squared": "Foot per second squared", - "pascal": "Pascal", - "kilopascal": "Kilopascal", - "megapascal": "Megapascal", - "gigapascal": "Gigapascal", - "millibar": "Millibar", + "teaspoon": "Łyżeczka", + "tablespoon": "Łyżka stołowa", + "cup": "Szklanka", + "celsius": "Stopień Celsjusza", + "kelvin": "Kelwin", + "rankine": "Stopień Rankine'a", + "fahrenheit": "Stopień Fahrenheita", + "percent": "Procent", + "meter-per-second": "Metr na sekundę", + "kilometer-per-hour": "Kilometr na godzinę", + "foot-per-second": "Stopa na sekundę", + "foot-per-minute": "Stopa na minutę", + "mile-per-hour": "Mila na godzinę", + "knot": "Węzeł", + "inch-per-second": "Cal na sekundę", + "inch-per-hour": "Cal na godzinę", + "millimeters-per-minute": "Milimetr na minutę", + "meter-per-minute": "Metr na minutę", + "kilometer-per-hour-squared": "Kilometr na godzinę do kwadratu", + "foot-per-second-squared": "Stopa na sekundę do kwadratu", + "pascal": "Paskal", + "kilopascal": "Kilopaskal", + "megapascal": "Megapaskal", + "gigapascal": "Gigapaskal", + "millibar": "Milibar", "bar": "Bar", "kilobar": "Kilobar", - "newton": "Newton", - "newton-meter": "Newton meter", - "foot-pounds": "Foot-pounds", - "inch-pounds": "Inch-pounds", - "newton-per-meter": "Newton per meter", - "atmospheres": "Atmospheres", - "pounds-per-square-inch": "Pounds per Square Inch", - "torr": "Torr", - "inches-of-mercury": "Inches of Mercury", - "pascal-per-square-meter": "Pascal per Square Meter", - "pound-per-square-inch": "Pound per Square Inch", - "newton-per-square-meter": "Newton per Square Meter", - "kilogram-force-per-square-meter": "Kilogram-force per Square Meter", - "pascal-per-square-centimeter": "Pascal per Square Centimeter", - "ton-force-per-square-inch": "Ton-force per Square Inch", - "kilonewton-per-square-meter": "Kilonewton per Square Meter", - "newton-per-square-millimeter": "Newton per Square Millimeter", - "microjoule": "Microjoule", - "millijoule": "Millijoule", - "joule": "Joule", - "kilojoule": "Kilojoule", - "megajoule": "Megajoule", - "gigajoule": "Gigajoule", - "watt-hour": "Watt-hour", - "kilowatt-hour": "Kilowatt-hour", - "electron-volts": "Electron volts", - "joules-per-coulomb": "Joules per Coulomb", - "british-thermal-unit": "British Thermal Units", - "foot-pound": "Foot-pound", - "calorie": "Calorie", - "small-calorie": "Small Calorie", - "kilocalorie": "Kilocalorie", - "joule-per-kelvin": "Joule per Kelvin", - "joule-per-kilogram-kelvin": "Joule per Kilogram-Kelvin", - "joule-per-kilogram": "Joule per Kilogram", - "watt-per-meter-kelvin": "Watt per Meter-Kelvin", - "joule-per-cubic-meter": "Joule per Cubic Meter", - "therm": "Therm", - "electric-dipole-moment": "Electric Dipole Moment", - "magnetic-dipole-moment": "Magnetic Dipole Moment", - "debye": "Debye", - "coulomb-per-square-meter-per-volt": "Coulomb per Square Meter per Volt", - "milliwatt": "Milliwatt", - "microwatt": "Microwatt", - "watt": "Watt", - "kilowatt": "Kilowatt", - "megawatt": "Megawatt", - "gigawatt": "Gigawatt", - "metric-horsepower": "Metric Horsepower", - "milliwatt-per-square-centimeter": "Milliwatts per square centimeter", - "watt-per-square-centimeter": "Watts per square centimeter", - "kilowatt-per-square-centimeter": "Kilowatts per square centimeter", - "milliwatt-per-square-meter": "Milliwatts per square meter", - "watt-per-square-meter": "Watts per square meter", - "kilowatt-per-square-meter": "Kilowatts per square meter", - "watt-per-square-inch": "Watts per square inch", - "kilowatt-per-square-inch": "Kilowatts per square inch", - "horsepower": "Horsepower", - "btu-per-hour": "British thermal units/hour", - "coulomb": "Coulomb", - "millicoulomb": "Millicoulombs", - "microcoulomb": "Microcoulomb", - "picocoulomb": "Picocoulomb", - "coulomb-per-meter": "Coulomb per meter", - "coulomb-per-cubic-meter": "Coulomb per Cubic Meter", - "coulomb-per-square-meter": "Coulomb per Square Meter", - "square-millimeter": "Square Millimeter", - "square-centimeter": "Square Centimeter", - "square-meter": "Square Meter", - "hectare": "Hectare", - "square-kilometer": "Square Kilometer", - "square-inch": "Square Inch", - "square-foot": "Square Foot", - "square-yard": "Square Yard", - "acre": "Acre", - "square-mile": "Square Mile", - "are": "Are", + "newton": "Niuton", + "newton-meter": "Niutonometr", + "foot-pounds": "Funtostopa", + "inch-pounds": "Calofunt", + "newton-per-meter": "Niuton na metr", + "atmospheres": "Atmosfera", + "pounds-per-square-inch": "Funty na cal kwadratowy", + "kilopound-per-square-inch": "Kilofunt na cal kwadratowy", + "torr": "Tor", + "inches-of-mercury": "Cale słupa rtęci", + "pascal-per-square-meter": "Paskal na metr kwadratowy", + "pound-per-square-inch": "Funt na cal kwadratowy", + "newton-per-square-meter": "Niuton na metr kwadratowy", + "kilogram-force-per-square-meter": "Kilogram-siła na metr kwadratowy", + "pascal-per-square-centimeter": "Paskal na centymetr kwadratowy", + "ton-force-per-square-inch": "Tona-siła na cal kwadratowy", + "kilonewton-per-square-meter": "Kiloniuton na metr kwadratowy", + "newton-per-square-millimeter": "Niuton na milimetr kwadratowy", + "microjoule": "Mikrodżul", + "millijoule": "Milidżul", + "joule": "Dżul", + "kilojoule": "Kilodżul", + "megajoule": "Megadżul", + "gigajoule": "Gigadżul", + "watt-hour": "Watogodzina", + "watt-minute": "Watominuta", + "kilowatt-hour": "Kilowatogodzina", + "milliwatt-hour": "Miliwatogodzina", + "megawatt-hour": "Megawatogodzina", + "gigawatt-hour": "Gigawatogodzina", + "electron-volts": "Elektronowolt", + "joules-per-coulomb": "Dżul na kulomb", + "british-thermal-unit": "Brytyjska jednostka ciepła", + "thousand-british-thermal-unit": "Tysiąc brytyjskich jednostek ciepła", + "million-british-thermal-unit": "Milion brytyjskich jednostek ciepła", + "foot-pound": "Stopofunt", + "calorie": "Kaloria", + "small-calorie": "Mała kaloria", + "kilocalorie": "Kilokaloria", + "joule-per-kelvin": "Dżul na kelwin", + "joule-per-kilogram-kelvin": "Dżul na kilogram-kelwin", + "joule-per-kilogram": "Dżul na kilogram", + "watt-per-meter-kelvin": "Wat na metr-kelwin", + "joule-per-cubic-meter": "Dżul na metr sześcienny", + "therm": "Term", + "electric-dipole-moment": "Elektryczny moment dipolowy", + "magnetic-dipole-moment": "Magnetyczny moment dipolowy", + "debye": "Debaj", + "coulomb-per-square-meter-per-volt": "Kulomb na metr kwadratowy na wolt", + "milliwatt": "Miliwat", + "microwatt": "Mikrowat", + "watt": "Wat", + "kilowatt": "Kilowat", + "megawatt": "Megawat", + "gigawatt": "Gigawat", + "metric-horsepower": "Metryczny koń mechaniczny", + "milliwatt-per-square-centimeter": "Miliwat na centymetr kwadratowy", + "watt-per-square-centimeter": "Wat na centymetr kwadratowy", + "kilowatt-per-square-centimeter": "Kilowat na centymetr kwadratowy", + "milliwatt-per-square-meter": "Miliwat na metr kwadratowy", + "watt-per-square-meter": "Wat na metr kwadratowy", + "kilowatt-per-square-meter": "Kilowat na metr kwadratowy", + "watt-per-square-inch": "Wat na cal kwadratowy", + "kilowatt-per-square-inch": "Kilowat na cal kwadratowy", + "horsepower": "Koń mechaniczny", + "btu-per-hour": "Brytyjska jednostka ciepła na godzinę", + "btu-per-second": "Brytyjska jednostka ciepła na sekundę", + "btu-per-day": "Brytyjska jednostka ciepła na dzień", + "mbtu-per-hour": "Tysiąc brytyjskich jednostek ciepła na godzinę", + "mbtu-per-second": "Tysiąc brytyjskich jednostek ciepła na sekundę", + "mbtu-per-day": "Tysiąc brytyjskich jednostek ciepła na dzień", + "mmbtu-per-hour": "Milion brytyjskich jednostek ciepła na godzinę", + "mmbtu-per-second": "Milion brytyjskich jednostek ciepła na sekundę", + "mmbtu-per-day": "Milion brytyjskich jednostek ciepła na dzień", + "foot-pound-per-second": "Stopofunt na sekundę", + "coulomb": "Kulomb", + "millicoulomb": "Milikulomb", + "microcoulomb": "Mikrokulomb", + "nanocoulomb": "Nanokulomb", + "picocoulomb": "Pikokulomb", + "coulomb-per-meter": "Kulomb na metr", + "coulomb-per-cubic-meter": "Kulomb na metr sześcienny", + "coulomb-per-square-meter": "Kulomb na metr kwadratowy", + "square-millimeter": "Milimetr kwadratowy", + "square-centimeter": "Centymetr kwadratowy", + "square-meter": "Metr kwadratowy", + "hectare": "Hektar", + "square-kilometer": "Kilometr kwadratowy", + "square-inch": "Cal kwadratowy", + "square-foot": "Stopa kwadratowa", + "square-yard": "Jard kwadratowy", + "acre": "Akr", + "square-mile": "Mila kwadratowa", + "are": "Ar", "barn": "Barn", - "circular-inch": "Circular Inch", - "milliampere-hour": "Milliampere-hour", - "milliampere-hour-tags": "electric current, current flow, electric charge, current capacity, flow of electricity, electrical flow, milliampere-hour, milliampere-hours, mAh", - "ampere-hours": "Ampere-hours", - "ampere-hours-tags": "electric current, current flow, electric charge, current capacity, flow of electricity, electrical flow, ampere, ampere-hours, Ah", - "kiloampere-hours": "Kiloampere-hours", - "kiloampere-hours-tags": "electric current, current flow, electric charge, current capacity, flow of electricity, electrical flow, kiloampere-hours, kiloampere-hour, kAh", - "nanoampere": "Nanoampere", - "nanoampere-tags": "current, amperes, nanoampere, nA", - "picoampere": "Picoampere", - "picoampere-tags": "current, amperes, picoampere, pA", - "microampere": "Microampere", - "microampere-tags": "electric current, microampere, microamperes, μA", - "milliampere": "Milliampere", - "milliampere-tags": "electric current, milliampere, milliamperes, mA", - "ampere": "Ampere", - "ampere-tags": "electric current, current flow, flow of electricity, electrical flow, ampere, amperes, amperage, A", - "kiloamperes": "Kiloamperes", - "kiloamperes-tags": "electric current, current flow, kiloamperes, kA", - "microampere-per-square-centimeter": "Microampere per square centimeter", - "microampere-per-square-centimeter-tags": "Current density, microampere per square centimeter, µA/cm²", - "ampere-per-square-meter": "Ampere per Square Meter", - "ampere-per-square-meter-tags": "current density, current per unit area, ampere per square meter, A/m²", - "ampere-per-meter": "Ampere per Meter", - "ampere-per-meter-tags": "magnetic field strength, magnetic field intensity, ampere per meter, A/m", - "oersted": "Oersted", - "oersted-tags": "magnetic field, oersted, Oe", - "bohr-magneton": "Bohr Magneton", - "bohr-magneton-tags": "atomic physics, magnetic moment, bohr magneton, μB", - "ampere-meter-squared": "Ampere-Meter Squared", - "ampere-meter-squared-tags": "magnetic moment, dipole moment, ampere-meter squared, A·m²", - "ampere-meter": "Ampere-Meter", - "ampere-meter-tags": "magnetic field, current loop, ampere-meter, A·m", - "nanovolt": "Nanovolt", - "picovolt": "Picovolt", - "millivolts": "Millivolts", - "microvolts": "Microvolts", - "volt": "Volt", - "kilovolts": "Kilovolts", - "dbmV": "dBmV", - "volt-meter": "Volt-Meter", - "kilovolt-meter": "Kilovolt-Meter", - "megavolt-meter": "Megavolt-Meter", - "microvolt-meter": "Microvolt-Meter", - "millivolt-meter": "Millivolt-Meter", - "nanovolt-meter": "Nanovolt-Meter", - "ohm": "Ohm", - "microohm": "Microohm", - "milliohm": "Milliohm", - "kilohm": "Kilohm", - "megohm": "Megohm", - "gigohm": "Gigohm", - "hertz": "Hertz", - "kilohertz": "Kilohertz", - "megahertz": "Megahertz", - "gigahertz": "Gigahertz", - "rpm": "Revolutions Per Minute", - "candela-per-square-meter": "Candela per square meter", - "candela": "Candela", + "circular-inch": "Cal kołowy", + "milliampere-hour": "Miliamperogodzina", + "ampere-hours": "Amperogodzina", + "kiloampere-hours": "Kiloamperogodzina", + "nanoampere": "Nanoamper", + "picoampere": "Pikoamper", + "microampere": "Mikroamper", + "milliampere": "Miliamper", + "ampere": "Amper", + "kiloampere": "Kiloamper", + "megaampere": "Megaamper", + "gigaampere": "Gigaamper", + "microampere-per-square-centimeter": "Mikroamper na centymetr kwadratowy", + "ampere-per-square-meter": "Amper na metr kwadratowy", + "ampere-per-meter": "Amper na metr", + "oersted": "Ersted", + "bohr-magneton": "Magneton Bohra", + "ampere-meter-squared": "Amper-metr kwadratowy", + "nanovolt": "Nanowolt", + "picovolt": "Pikowolt", + "millivolt": "Miliwolt", + "microvolt": "Mikrowolt", + "volt": "Wolt", + "kilovolt": "Kilowolt", + "megavolt": "Megawolt", + "dbmV": "Decybel względem miliwolta", + "dbm": "Decybel względem miliwata", + "volt-meter": "Wolt-metr", + "kilovolt-meter": "Kilowolt-metr", + "megavolt-meter": "Megawolt-metr", + "microvolt-meter": "Mikrowolt-metr", + "millivolt-meter": "Miliwolt-metr", + "nanovolt-meter": "Nanowolt-metr", + "ohm": "Om", + "microohm": "Mikroom", + "milliohm": "Miliom", + "kilohm": "Kiloom", + "megohm": "Megaom", + "gigohm": "Gigaom", + "millihertz": "Miliherc", + "hertz": "Herc", + "kilohertz": "Kiloherc", + "megahertz": "Megaherc", + "gigahertz": "Gigaherc", + "terahertz": "Teraherc", + "rpm": "Obroty na minutę", + "candela-per-square-meter": "Kandela na metr kwadratowy", + "candela": "Kandela", "lumen": "Lumen", - "lux": "Lux", - "foot-candle": "Foot-candle", - "lumen-per-square-meter": "Lumen per square meter", - "lux-second": "Lux second", - "lumen-second": "Lumen second", - "lumens-per-watt": "Lumens per watt", - "absorbance": "Absorbance", - "mole": "Mole", - "nanomole": "Nanomole", - "micromole": "MicroMole", - "millimole": "Millimole", - "kilomole": "Kilomole", - "mole-per-cubic-meter": "Mole per Cubic Meter", - "rssi": "RSSI", - "ppm": "Parts Per Million", - "ppb": "Parts Per Billion", - "micrograms-per-cubic-meter": "Micrograms per Cubic Meter", + "lux": "Luks", + "foot-candle": "Stopa-świeca", + "lumen-per-square-meter": "Lumen na metr kwadratowy", + "lux-second": "Luksosekunda", + "lumen-second": "Lumenosekunda", + "lumens-per-watt": "Lumen na wat", + "mole": "Mol", + "nanomole": "Nanomol", + "micromole": "Mikromol", + "millimole": "Milimol", + "kilomole": "Kilomol", + "mole-per-cubic-meter": "Mol na metr sześcienny", + "rssi": "Wskaźnik siły odbieranego sygnału", + "ppm": "Części na milion", + "ppb": "Części na miliard", + "micrograms-per-cubic-meter": "Mikrogram na metr sześcienny", "aqi": "AQI", - "gram-per-cubic-meter": "Gram per cubic meter", - "gram-per-kilogram": "Specific Humidity", - "millimeters-per-second": "Millimeters per second", + "gram-per-cubic-meter": "Gram na metr sześcienny", + "gram-per-kilogram": "Wilgotność właściwa", + "millimeters-per-second": "Milimetr na sekundę", "neper": "Neper", "bel": "Bel", - "decibel": "Decibel", - "meters-per-second-squared": "Meters per second squared", - "becquerel": "Becquerel", - "curie": "Curie", - "gray": "Gray", - "sievert": "Sievert", - "roentgen": "Roentgen", - "cps": "Counts per Second", + "decibel": "Decybel", + "meters-per-second-squared": "Metr na sekundę do kwadratu", + "becquerel": "Bekerel", + "curie": "Kiur", + "gray": "Grej", + "sievert": "Siwert", + "roentgen": "Rentgen", + "cps": "Zliczenia na sekundę", "rad": "Rad", "rem": "Rem", - "dps": "Disintegrations per second", + "dps": "Rozpady na sekundę", "rutherford": "Rutherford", - "coulombs-per-kilogram": "Coulombs per kilogram", - "becquerels-per-cubic-meter": "Becquerels per cubic meter", - "curies-per-liter": "Curies per liter", - "becquerels-per-second": "Becquerels per second", - "curies-per-second": "Curies per second", - "gy-per-second": "Gray per Second", - "watt-per-steradian": "Watt per Steradian", - "watt-per-square-metre-steradian": "Watt per Square Metre-Steradian", - "ph-level": "pH Level", - "turbidity": "Turbidity", - "mg-per-liter": "Milligrams per liter", - "microsiemens-per-centimeter": "Microsiemens per centimeter", - "millisiemens-per-meter": "Millisiemens per meter", - "siemens-per-meter": "Siemens per meter", - "kilogram-per-cubic-meter": "Kilogram per cubic meter", - "gram-per-cubic-centimeter": "Gram per cubic centimeter", - "kilogram-per-square-meter": "Kilogram per square metre", - "milligram-per-milliliter": "Milligram per milliliter", - "pound-per-cubic-foot": "Pound per cubic foot", - "ounces-per-cubic-inch": "Ounces per cubic inch", - "tons-per-cubic-yard": "Tons per cubic yard", - "particle-density": "Particle density", - "kilometers-per-liter": "Kilometers per liter", - "miles-per-gallon": "Miles per gallon", - "liters-per-100-km": "Liters per 100 km", - "gallons-per-mile": "Gallons per mile", - "liters-per-hour": "Liters per hour", - "gallons-per-hour": "Gallons per hour", - "beats-per-minute": "Beats per minute", - "millimeters-of-mercury": "Millimeters of mercury", - "milligrams-per-deciliter": "Milligrams per deciliter", - "g-force": "G-force", - "kilonewton": "Kilonewton", - "kilogram-force": "Kilogram-Force", - "pound-force": "Pound-Force", - "kilopound-force": "Kilopound-Force", - "dyne": "Dyne", + "coulombs-per-kilogram": "Kulomb na kilogram", + "becquerels-per-cubic-meter": "Bekerel na metr sześcienny", + "curies-per-liter": "Kiur na litr", + "becquerels-per-second": "Bekerel na sekundę", + "curies-per-second": "Kiur na sekundę", + "gy-per-second": "Grej na sekundę", + "watt-per-steradian": "Wat na steradian", + "watt-per-square-metre-steradian": "Wat na metr kwadratowy i steradian", + "ph-level": "Poziom pH", + "turbidity": "Mętność", + "mg-per-liter": "Miligram na litr", + "microsiemens-per-centimeter": "Mikrosimens na centymetr", + "millisiemens-per-meter": "Milisimens na metr", + "siemens-per-meter": "Simens na metr", + "kilogram-per-cubic-meter": "Kilogram na metr sześcienny", + "gram-per-cubic-centimeter": "Gram na centymetr sześcienny", + "kilogram-per-square-meter": "Kilogram na metr kwadratowy", + "milligram-per-milliliter": "Miligram na mililitr", + "milligram-per-cubic-meter": "Miligram na metr sześcienny", + "pound-per-cubic-foot": "Funt na stopę sześcienną", + "ounces-per-cubic-inch": "Uncja na cal sześcienny", + "tons-per-cubic-yard": "Tona na jard sześcienny", + "particle-density": "Gęstość cząstek", + "kilometers-per-liter": "Kilometr na litr", + "miles-per-gallon": "Mila na galon", + "liters-per-100-km": "Litr na 100 km", + "gallons-per-mile": "Galon na milę", + "liters-per-hour": "Litr na godzinę", + "gallons-per-hour": "Galon na godzinę", + "beats-per-minute": "Uderzenia na minutę", + "millimeters-of-mercury": "Milimetr słupa rtęci", + "milligrams-per-deciliter": "Miligram na decylitr", + "g-force": "Przeciążenie g", + "kilonewton": "Kiloniuton", + "kilogram-force": "Kilogram-siła", + "pound-force": "Funt-siła", + "kilopound-force": "Kilofunt-siła", + "dyne": "Dyna", "poundal": "Poundal", "kip": "Kip", "gal": "Gal", - "gravity": "Gravity", - "hectopascal": "Hectopascal", - "atmosphere": "Atmosphere", - "millibars": "Millibars", - "inch-of-mercury": "One inch of mercury", - "richter-scale": "Richter Scale", - "second": "Second", - "minute": "Minute", - "hour": "Hour", - "day": "Day", - "week": "Week", - "month": "Month", - "year": "Year", - "cubic-foot-per-minute": "Cubic Foot Per Minute", - "cubic-meters-per-hour": "Cubic Meters Per Hour", - "cubic-meters-per-second": "Cubic Meters Per Second", - "liter-per-second": "Liter Per Second", - "liter-per-minute": "Liter Per Minute", - "gallons-per-minute": "Gallons Per Minute", - "cubic-foot-per-second": "Cubic foot per second", - "milliliters-per-minute": "Milliliters per minute", + "gravity": "Przyspieszenie ziemskie", + "hectopascal": "Hektopaskal", + "atmosphere": "Atmosfera", + "millibars": "Milibar", + "inch-of-mercury": "Cal słupa rtęci", + "richter-scale": "Skala Richtera", + "nanosecond": "Nanosekunda", + "microsecond": "Mikrosekunda", + "millisecond": "Milisekunda", + "second": "Sekunda", + "minute": "Minuta", + "hour": "Godzina", + "day": "Dzień", + "week": "Tydzień", + "month": "Miesiąc", + "year": "Rok", + "cubic-foot-per-minute": "Stopa sześcienna na minutę", + "cubic-meters-per-hour": "Metr sześcienny na godzinę", + "cubic-meters-per-second": "Metr sześcienny na sekundę", + "cubic-meters-per-minute": "Metr sześcienny na minutę", + "liter-per-second": "Litr na sekundę", + "liter-per-minute": "Litr na minutę", + "gallons-per-minute": "Galon na minutę", + "cubic-foot-per-second": "Stopa sześcienna na sekundę", + "milliliters-per-minute": "Mililitr na minutę", + "cubic-decimeter-per-second": "Decymetr sześcienny na sekundę", "bit": "Bit", - "byte": "Byte", - "kilobyte": "Kilobyte", - "megabyte": "Megabyte", - "gigabyte": "Gigabyte", - "terabyte": "Terabyte", - "petabyte": "Petabyte", - "exabyte": "Exabyte", - "zettabyte": "Zettabyte", - "yottabyte": "Yottabyte", - "bit-per-second": "Bit per second", - "kilobit-per-second": "Kilobit per second", - "megabit-per-second": "Megabit per second", - "gigabit-per-second": "Gigabit per second", - "terabit-per-second": "Terabit per second", - "byte-per-second": "Byte per second", - "kilobyte-per-second": "Kilobyte per second", - "megabyte-per-second": "Megabyte per second", - "gigabyte-per-second": "Gigabyte per second", - "degree": "Degree", + "byte": "Bajt", + "kilobyte": "Kilobajt", + "megabyte": "Megabajt", + "gigabyte": "Gigabajt", + "terabyte": "Terabajt", + "petabyte": "Petabajt", + "exabyte": "Eksabajt", + "zettabyte": "Zettabajt", + "yottabyte": "Jottabajt", + "bit-per-second": "Bit na sekundę", + "kilobit-per-second": "Kilobit na sekundę", + "megabit-per-second": "Megabit na sekundę", + "gigabit-per-second": "Gigabit na sekundę", + "terabit-per-second": "Terabit na sekundę", + "byte-per-second": "Bajt na sekundę", + "kilobyte-per-second": "Kilobajt na sekundę", + "megabyte-per-second": "Megabajt na sekundę", + "gigabyte-per-second": "Gigabajt na sekundę", + "degree": "Stopień", "radian": "Radian", - "gradian": "Gradian", - "mil": "Mil", - "revolution": "Revolution", - "siemens": "Siemens", - "millisiemens": "Millisiemens", - "microsiemens": "Microsiemens", - "kilosiemens": "Kilosiemens", - "megasiemens": "Megasiemens", - "gigasiemens": "Gigasiemens", + "gradian": "Grad", + "arcminute": "Minuta kątowa", + "arcsecond": "Sekunda kątowa", + "milliradian": "Miliradian", + "revolution": "Obrót", + "siemens": "Simens", + "millisiemens": "Milisimens", + "microsiemens": "Mikrosimens", + "kilosiemens": "Kilosimens", + "megasiemens": "Megasimens", + "gigasiemens": "Gigasimens", "farad": "Farad", - "millifarad": "Millifarad", - "microfarad": "Microfarad", + "millifarad": "Milifarad", + "microfarad": "Mikrofarad", "nanofarad": "Nanofarad", - "picofarad": "Picofarad", + "picofarad": "Pikofarad", "kilofarad": "Kilofarad", "megafarad": "Megafarad", "gigafarad": "Gigafarad", - "terfarad": "Terfarad", - "farad-per-meter": "Farad per Meter", + "terfarad": "Terafarad", + "farad-per-meter": "Farad na metr", "tesla": "Tesla", - "gauss": "Gauss", - "kilogauss": "Kilogauss", - "millitesla": "Millitesla", - "microtesla": "Microtesla", + "gauss": "Gaus", + "kilogauss": "Kilogaus", + "millitesla": "Militesla", + "microtesla": "Mikrotesla", "nanotesla": "Nanotesla", "kilotesla": "Kilotesla", "megatesla": "Megatesla", - "millitesla-square-meters": "millitesla square meters", + "millitesla-square-meters": "Militesla-metr kwadratowy", "gamma": "Gamma", "lambda": "Lambda", - "square-meter-per-second": "Square meter per second", - "square-centimeter-per-second": "Square centimeter per second", - "stoke": "Stoke", - "centistokes": "Centistokes", - "square-foot-per-second": "Square foot per second", - "square-inch-per-second": "Square inch per second", - "pascal-second": "Pascal-second", - "centipoise": "Centipoise", - "poise": "Poise", - "reynolds": "Reynolds", - "pound-per-foot-hour": "Pound per foot-hour", - "newton-second-per-square-meter": "Newton second per square meter", - "dyne-second-per-square-centimeter": "Dyne second per square centimeter", - "kilogram-per-meter-second": "Kilogram per meter-second", - "tesla-square-meters": "Tesla square meters", - "maxwell": "Maxwell", - "tesla-per-meter": "Tesla per Meter", - "gauss-per-centimeter": "Gauss per Centimeter", + "square-meter-per-second": "Metr kwadratowy na sekundę", + "square-centimeter-per-second": "Centymetr kwadratowy na sekundę", + "stoke": "Stokes", + "centistokes": "Centystokes", + "square-foot-per-second": "Stopa kwadratowa na sekundę", + "square-inch-per-second": "Cal kwadratowy na sekundę", + "pascal-second": "Paskalosekunda", + "centipoise": "Centypuaz", + "poise": "Puaz", + "reynolds": "Liczba Reynoldsa", + "pound-per-foot-hour": "Funt na stopę-godzinę", + "newton-second-per-square-meter": "Niutonosekunda na metr kwadratowy", + "dyne-second-per-square-centimeter": "Dyna-sekunda na centymetr kwadratowy", + "kilogram-per-meter-second": "Kilogram na metr-sekundę", + "tesla-square-meters": "Tesla-metr kwadratowy", + "maxwell": "Makswel", + "tesla-per-meter": "Tesla na metr", + "gauss-per-centimeter": "Gaus na centymetr", "weber": "Weber", - "microweber": "Microweber", - "milliweber": "Milliweber", - "gauss-square-centimeter": "Gauss-Square Centimeter", - "kilogauss-square-centimeter": "Kilogauss-Square Centimeter", - "henry": "Henry", - "millihenry": "Millihenry", - "microhenry": "Microhenry", - "nanohenry": "Nanohenry", - "henry-per-meter": "Henry per Meter", - "tesla-meter-per-ampere": "Tesla Meter per Ampere", - "gauss-per-oersted": "Gauss per Oersted", - "kilogram-per-mole": "Kilogram per mole", - "gram-per-mole": "Gram per mole", - "milligram-per-mole": "Milligram per mole", - "joule-per-mole": "Joule per Mole", - "joule-per-mole-kelvin": "Joule per Mole-Kelvin", - "millivolts-per-meter": "Millivolts per meter", - "volts-per-meter": "Volts per meter", - "kilovolts-per-meter": "Kilovolts per meter", - "radian-per-second": "Radian per second", - "radian-per-second-squared": "Radian per second squared", - "revolutions-per-minute-per-second": "Angular acceleration", - "revolutions-per-minute-per-second-squared": "Angular Acceleration", - "deg-per-second": "deg/s", - "degrees-brix": "Degrees Brix", + "microweber": "Mikroweber", + "milliweber": "Miliweber", + "gauss-square-centimeter": "Gaus-centymetr kwadratowy", + "kilogauss-square-centimeter": "Kilogaus-centymetr kwadratowy", + "henry": "Henr", + "millihenry": "Milihenr", + "microhenry": "Mikrohenr", + "nanohenry": "Nanohenr", + "henry-per-meter": "Henr na metr", + "tesla-meter-per-ampere": "Tesla-metr na amper", + "gauss-per-oersted": "Gaus na ersted", + "kilogram-per-mole": "Kilogram na mol", + "gram-per-mole": "Gram na mol", + "milligram-per-mole": "Miligram na mol", + "joule-per-mole": "Dżul na mol", + "joule-per-mole-kelvin": "Dżul na mol-kelwin", + "millivolts-per-meter": "Miliwolt na metr", + "volts-per-meter": "Wolt na metr", + "kilovolts-per-meter": "Kilowolt na metr", + "radian-per-second": "Radian na sekundę", + "radian-per-second-squared": "Radian na sekundę do kwadratu", + "revolutions-per-minute-per-second": "Przyspieszenie kątowe", + "deg-per-second": "Stopień na sekundę", + "rotation-per-minute": "Obrót na minutę", + "degrees-brix": "Stopień Brixa", "katal": "Katal", - "katal-per-cubic-metre": "Katal per Cubic Metre" + "katal-per-cubic-metre": "Katal na metr sześcienny", + "paris-inch": "Cal paryski" }, "user": { - "all": "Wszystko", + "all": "Wszyscy", "all-users": "Wszyscy użytkownicy", "groups": "Grupy", "user": "Użytkownik", "users": "Użytkownicy", "management": "Zarządzanie użytkownikami", - "customer-users": "Użytkownicy Klienta", - "tenant-admins": "Administratorzy Tenantów", + "customer-users": "Użytkownicy klienta", + "tenant-admins": "Administratorzy tenantów", "sys-admin": "Administrator systemu", - "tenant-admin": "Administrator Tenantów", + "tenant-admin": "Administrator tenanta", "customer": "Klient", "anonymous": "Anonimowy", "add": "Dodaj użytkownika", @@ -5765,47 +10522,47 @@ "no-users-text": "Nie znaleziono użytkowników", "user-details": "Dane użytkownika", "delete-users": "Usuń użytkowników", - "delete-user-title": "Czy na pewno chcesz usunąć użytkownika '{{userEmail}}'?", - "delete-user-text": "Bądź ostrożny, po potwierdzeniu użytkownika i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-users-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 użytkownika} other {# użytkowników} }?", - "delete-users-action-title": "Usuń { count, plural, =1 {1 użytkownika} other {# użytkowników} }?", - "delete-users-text": "Bądź ostrożny, po potwierdzeniu wszyscy wybrani użytkownicy zostaną usunięci, a wszystkie powiązane dane staną się niemożliwe do odzyskania.", + "delete-user-title": "Czy na pewno chcesz usunąć użytkownika „{{userEmail}}”?", + "delete-user-text": "Uwaga: po potwierdzeniu nie będzie można odzyskać użytkownika ani żadnych powiązanych danych.", + "delete-users-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 użytkownika} one {# użytkownika} few {# użytkowników} other {# użytkowników} }?", + "delete-users-action-title": "Usuń { count, plural, =1 {1 użytkownika} one {# użytkownika} few {# użytkowników} other {# użytkowników} }", + "delete-users-text": "Uwaga: po potwierdzeniu wszyscy wybrani użytkownicy zostaną usunięci, a wszystkich powiązanych danych nie będzie można odzyskać.", "activation-email-sent-message": "E-mail aktywacyjny został pomyślnie wysłany!", "resend-activation": "Wyślij ponownie aktywację", "email": "E-mail", - "email-required": "Email jest wymagany.", - "invalid-email-format": "Niewłaściwy format wiadomości email.", + "email-required": "E-mail jest wymagany.", + "invalid-email-format": "Nieprawidłowy format adresu e-mail.", "first-name": "Imię", "last-name": "Nazwisko", "description": "Opis", - "default-dashboard": "Domyślny panel", + "default-dashboard": "Domyślny pulpit", "always-fullscreen": "Zawsze na pełnym ekranie", "select-user": "Wybierz użytkownika", - "no-users-matching": "Brak użytkowników pasujących do '{{entity}}' zostały znalezione.", + "no-users-matching": "Nie znaleziono użytkowników pasujących do „{{entity}}”.", "user-required": "Użytkownik jest wymagany", "activation-method": "Metoda aktywacji", "display-activation-link": "Wyświetl link aktywacyjny", "send-activation-mail": "Wyślij e-mail aktywacyjny", "activation-link": "Link aktywacyjny użytkownika", - "activation-link-text": "Aby aktywować użytkownika, użyj poniższych opcji link aktywacyjny :", - "copy-activation-link": "Skopiuj link aktywacyjny", + "activation-link-text": "Aby aktywować użytkownika, użyj następującego linku aktywacyjnego (wygasa za {{activationLinkTtl}}) :", + "copy-activation-link": "Kopiuj link aktywacyjny", "activation-link-copied-message": "Link aktywacyjny użytkownika został skopiowany do schowka", "details": "Szczegóły", "login-as-tenant-admin": "Zaloguj się jako administrator tenanta", - "login-as-customer-user": "Zaloguj się jako użytkownik-klient", + "login-as-customer-user": "Zaloguj się jako użytkownik klienta", "select-group-to-add": "Wybierz grupę docelową, aby dodać wybranych użytkowników", "select-group-to-move": "Wybierz grupę docelową, aby przenieść wybranych użytkowników", - "remove-users-from-group": "Czy na pewno chcesz usunąć { count, plural, =1 {1 użytkownika} other {# użytkowników} } z grupy {{entityGroup}}'?", + "remove-users-from-group": "Czy na pewno chcesz usunąć { count, plural, =1 {1 użytkownika} one {# użytkownika} few {# użytkowników} other {# użytkowników} } z grupy '{{entityGroup}}'?", "group": "Grupa użytkowników", - "list-of-groups": "{ count, plural, =1 {Lista zawierająca jednego użytkownika} other {Lista # użytkowników} }", - "group-name-starts-with": "Grupy użytkowników, których nazwy zaczynają się od '{{prefix}}'", + "list-of-groups": "{ count, plural, =1 {Jedna grupa użytkowników} one {Lista # grupy użytkowników} few {Lista # grup użytkowników} other {Lista # grup użytkowników} }", + "group-name-starts-with": "Grupy użytkowników, których nazwy zaczynają się od „{{prefix}}”", "search": "Wyszukaj użytkowników", - "selected-users": "Wybrano { count, plural, =1 {1 użytkownika} other {# użytkowników} }", + "selected-users": "Wybrano { count, plural, =1 {1 użytkownika} one {# użytkownika} few {# użytkowników} other {# użytkowników} }", "disable-account": "Wyłącz konto użytkownika", "enable-account": "Włącz konto użytkownika", "enable-account-message": "Konto użytkownika zostało pomyślnie włączone!", "disable-account-message": "Konto użytkownika zostało pomyślnie wyłączone!", - "copyId": "Skopiuj identyfikator użytkownika", + "copyId": "Kopiuj identyfikator użytkownika", "idCopiedMessage": "Identyfikator użytkownika został skopiowany do schowka", "user-list": "Lista użytkowników", "user-list-required": "Lista użytkowników jest wymagana" @@ -5838,42 +10595,46 @@ "search": "Wyszukaj wersje", "branch": "Gałąź", "default": "Domyślny", - "select-branch": "Wybierz Gałąź", + "select-branch": "Wybierz gałąź", "branch-required": "Gałąź jest wymagana", "create-entity-version": "Utwórz wersję obiektu", "version-name": "Nazwa wersji", "version-name-required": "Nazwa wersji jest wymagana", "author": "Autor", - "export-relations": "Relacje eksportowe", + "export-relations": "Eksportuj relacje", "export-attributes": "Eksportuj atrybuty", "export-credentials": "Eksportuj dane uwierzytelniające", "export-group-entities": "Eksportuj obiekty grupy", "export-roles": "Eksportuj role", + "export-calculated-fields": "Eksportuj pola obliczeniowe \ni reguły alarmów", + "export-alarm-rules": "Eksportuj reguły alarmów", "entity-versions": "Wersje obiektu", "versions": "Wersje", - "created-time": "Stworzony czas", + "created-time": "Czas utworzenia", "version-id": "Identyfikator wersji", "no-entity-versions-text": "Nie znaleziono wersji obiektu", "no-versions-text": "Nie znaleziono wersji", - "copy-full-version-id": "Skopiuj identyfikator pełnej wersji", + "copy-full-version-id": "Kopiuj pełny identyfikator wersji", "create-version": "Utwórz wersję", "creating-version": "Tworzenie wersji... Proszę czekać", "nothing-to-commit": "Brak zmian do zatwierdzenia", "restore-version": "Przywróć wersję", - "restore-entity-from-version": "Przywróć obiekt z wersji '{{versionName}}'", + "restore-entity-from-version": "Przywróć obiekt z wersji „{{versionName}}”", "restoring-entity-version": "Przywracanie wersji obiektu... Proszę czekać", "load-relations": "Załaduj relacje", "load-attributes": "Załaduj atrybuty", "load-credentials": "Załaduj dane uwierzytelniające", + "load-calculated-fields": "Załaduj pola obliczeniowe i reguły alarmów", + "load-alarm-rules": "Załaduj reguły alarmów", "load-group-entities": "Załaduj obiekty grupy", "load-roles": "Załaduj role", - "compare-with-current": "Porównaj z aktualnym", - "diff-entity-with-version": "Porównaj z wersją obiektu '{{versionName}}'", + "compare-with-current": "Porównaj z bieżącą wersją", + "diff-entity-with-version": "Porównaj z wersją obiektu „{{versionName}}”", "previous-difference": "Poprzednia różnica", "next-difference": "Następna różnica", - "current": "Aktualny", - "differences": "{ count, plural, =1 {1 różnica} other {# różnic} }", - "create-entities-version": "Utwórz wersję obiektu", + "current": "Bieżąca wersja", + "differences": "{ count, plural, =1 {1 różnica} one {# różnica} few {# różnice} other {# różnic} }", + "create-entities-version": "Utwórz wersję obiektów", "default-sync-strategy": "Domyślna strategia synchronizacji", "sync-strategy-merge": "Połącz", "sync-strategy-overwrite": "Nadpisz", @@ -5881,168 +10642,244 @@ "entities-to-restore": "Obiekty do przywrócenia", "sync-strategy": "Strategia synchronizacji", "all-entities": "Wszystkie obiekty", - "no-entities-to-export-prompt": "Proszę określić obiekty do wyeksportowania", - "no-entities-to-restore-prompt": "Proszę określić obiekty do przywrócenia", + "no-entities-to-export-prompt": "Określ obiekty do wyeksportowania", + "no-entities-to-restore-prompt": "Określ obiekty do przywrócenia", "add-entity-type": "Dodaj typ obiektu", "remove-all": "Usuń wszystko", - "version-create-result": "Dodano { added, plural, =0 {0 obiektów} =1 {1 obiekt} other {# obiektów} }.
Zmodyfikowano { modified, plural, =0 {0 obiektów} =1 {1 obiekt} other {# obiektów} }.
Usunięto{ removed, plural, =0 {0 obiektów} =1 {1 obiekt} other {# obiektów} }.", + "version-create-result": "Dodano { added, plural, =0 {0 obiektów} =1 {1 obiekt} one {# obiekt} few {# obiekty} other {# obiektów} }.
Zmodyfikowano { modified, plural, =0 {0 obiektów} =1 {1 obiekt} one {# obiekt} few {# obiekty} other {# obiektów} }.
Usunięto { removed, plural, =0 {0 obiektów} =1 {1 obiekt} one {# obiekt} few {# obiekty} other {# obiektów} }.", "remove-other-entities": "Usuń inne obiekty", "find-existing-entity-by-name": "Znajdź istniejący obiekt według nazwy", - "restore-entities-from-version": "Przywróć obiekty z wersji '{{versionName}}'", + "restore-entities-from-version": "Przywróć obiekty z wersji „{{versionName}}”", "restoring-entities-from-version": "Przywracanie obiektów... Proszę czekać", "no-entities-restored": "Nie przywrócono żadnych obiektów", - "created": "{{created}} utworzone", - "updated": "{{updated}} zaktualizowane", - "deleted": "{{deleted}} usunięte", - "groups-created": "Stworzono { created, plural, =1 {1 grupę} other {# grup(y)} }", - "groups-updated": "Zaktualizowano { updated, plural, =1 {1 grupę} other {# grup(y)} }", - "groups-deleted": "Usunięto { deleted, plural, =1 {1 grupę} other {# grup(y)} }", - "remove-other-entities-confirm-text": "Bądź ostrożny! To permanentnie usunie wszystkie obecne obiekty
nie występujące w wersji, którą chcesz przywrócić.

Proszę wpisać remove other entities aby potwierdzić.", + "created": "utworzono {{created}}", + "updated": "zaktualizowano {{updated}}", + "deleted": "usunięto {{deleted}}", + "groups-created": "utworzono { created, plural, =1 {1 grupę} one {# grupę} few {# grupy} other {# grup} }", + "groups-updated": "zaktualizowano { updated, plural, =1 {1 grupę} one {# grupę} few {# grupy} other {# grup} }", + "groups-deleted": "usunięto { deleted, plural, =1 {1 grupę} one {# grupę} few {# grupy} other {# grup} }", + "remove-other-entities-confirm-text": "Uwaga! Spowoduje to trwałe usunięcie wszystkich bieżących obiektów,
których nie ma w wersji, którą chcesz przywrócić.

Wpisz „remove other entities”, aby potwierdzić.", "auto-commit-to-branch": "automatyczne zatwierdzenie do gałęzi {{ branch }}", - "default-create-entity-version-name": "{{entityName}} aktualizacja", - "sync-strategy-merge-hint": "Tworzy lub aktualizuje wybrane obiekty w repozytorium. niezmodyfikowany.", - "sync-strategy-overwrite-hint": "Tworzy lub aktualizuje wybrane obiekty w repozytorium. usunięte.", - "device-credentials-conflict": "Nie udało się załadować urządzenia z zewnętrznym identyfikatorem {{entityId}}
ze względu na te same dane uwierzytelniające, które znajdują się już w bazie danych dla innego urządzenia.
Proszę rozważyć wyłączenie załaduj dane uwierzytelniające ustawienie w formularzu przywracania.", - "missing-referenced-entity": "Nie udało się załadować {{sourceEntityTypeName}} z identyfikatorem zewnętrznym {{sourceEntityId}}
ponieważ brakuje odniesień {{targetEntityTypeName}} z identyfikatorem {{targetEntityId}}.", + "default-create-entity-version-name": "Aktualizacja {{entityName}}", + "sync-strategy-merge-hint": "Tworzy lub aktualizuje wybrane obiekty w repozytorium. Pozostałe obiekty w repozytorium nie są modyfikowane.", + "sync-strategy-overwrite-hint": "Tworzy lub aktualizuje wybrane obiekty w repozytorium. Wszystkie pozostałe obiekty w repozytorium są usuwane.", + "device-credentials-conflict": "Nie udało się załadować urządzenia z zewnętrznym identyfikatorem {{entityId}},
ponieważ te same dane uwierzytelniające są już zapisane w bazie danych dla innego urządzenia.
Rozważ wyłączenie ustawienia Załaduj dane uwierzytelniające w formularzu przywracania.", + "missing-referenced-entity": "Nie udało się załadować obiektu typu {{sourceEntityTypeName}} z identyfikatorem zewnętrznym {{sourceEntityId}},
ponieważ odwołuje się on do nieistniejącego obiektu typu {{targetEntityTypeName}} z identyfikatorem {{targetEntityId}}.", "add-entity-groups": "Dodaj grupy obiektów", "entity-groups": "Grupy obiektów", - "integration-routing-key-conflict": "Nie udało się załadować integracji z zewnętrznym identyfikatorem {{entityId}}
ponieważ ten sam klucz integracji jest już obecny w bazie danych dla innej integracji.
Proszę rozważyć włączenie opcji automatycznie wygeneruj klucz integracyjny w formularzu przywracania.", + "integration-routing-key-conflict": "Nie udało się załadować integracji z zewnętrznym identyfikatorem {{entityId}},
ponieważ ten sam klucz integracji jest już obecny w bazie danych dla innej integracji.
Rozważ włączenie opcji Automatycznie generuj klucz integracyjny w formularzu przywracania.", "auto-generate-integration-key": "Automatycznie generuj klucz integracyjny", - "runtime-failed": "Nieudana: {{message}}", - "auto-commit-settings-read-only-hint": "Funkcja automatycznego zatwierdzania nie działa z włączoną opcją tylko do odczytu w ustawieniach repozytorium." + "runtime-failed": "Błąd: {{message}}", + "auto-commit-settings-read-only-hint": "Funkcja automatycznego zatwierdzania nie działa z włączoną opcją tylko do odczytu w ustawieniach repozytorium.", + "rollback-on-error": "Wycofaj zmiany w razie błędu", + "rollback-on-error-hint": "Jeśli masz dużą liczbę obiektów do przywrócenia, rozważ wyłączenie tej opcji, aby zwiększyć wydajność.\n Uwaga: jeśli podczas ładowania wersji wystąpi błąd, już zapisane obiekty (wraz z relacjami, atrybutami itp.) pozostaną bez zmian" + }, + "task": { + "add-task-type": "+Typ zadania", + "cancel-anyway": "Anuluj mimo to", + "cancel-task": "Anuluj zadanie", + "cancel-task-calculated-field-reprocessing-text": "Dotychczas przetworzone dane zostaną zapisane, elementy w kolejce zostaną anulowane", + "cancel-task-calculated-field-reprocessing-title": "Czy na pewno chcesz anulować ponowne przetwarzanie?", + "cancel-task-report-text": "Generowanie raportu zostanie anulowane, plik raportu nie zostanie utworzony", + "cancel-task-report-title": "Czy na pewno chcesz anulować generowanie raportu?", + "cancel-tasks-text": "Czy na pewno chcesz anulować wybrane zadania?", + "cancel-tasks-title": "Anuluj { count, plural, =1 {1 zadanie} few {# zadania} other {# zadań} }", + "delete-task-text": "Ta akcja usunie zadanie z listy, ale Twoje dane pozostaną nienaruszone", + "delete-task-title": "Czy na pewno chcesz usunąć to zadanie?", + "delete-tasks-text": "Czy na pewno chcesz usunąć wybrane zadania?", + "delete-tasks-title": "Usuń { count, plural, =1 {1 zadanie} few {# zadania} other {# zadań} }", + "discarded": "Odrzucone", + "entity": "Obiekt", + "info": "Informacje", + "failed": "Niepowodzenie", + "no-tasks-prompt": "Nie znaleziono zadań", + "parameters": "Parametry", + "progress": "Postęp", + "reprocess": "{ count, plural, =0 {Przetwórz ponownie} =1 {Przetwórz ponownie} other {Przetwórz ponownie nieudane obiekty} }", + "retry": "Ponów", + "search": "Szukaj zadania", + "selected-tasks": "Wybrano { count, plural, one {# zadanie} few {# zadania} other {# zadań} }", + "selected-tasks-are-finished": "Te zadania są już zakończone", + "selected-tasks-are-progress": "Te zadania są obecnie w toku", + "status": "Status", + "successful": "Pomyślne", + "task-info": "Informacje o zadaniu", + "task-manager": "Menedżer zadań", + "task-parameters": "Parametry zadania", + "task-status": { + "cancelled": "Anulowane", + "completed": "Zakończone", + "failed": "Niepowodzenie", + "pending": "Oczekujące", + "queued": "W kolejce", + "running": "Wykonywane" + }, + "task-type": { + "any": "Dowolny typ", + "calculated-field-reprocessing": "Ponowne przetwarzanie pola obliczeniowego", + "report": "Generowanie raportu" + }, + "task-filter": "Filtr zadań", + "task-filter-params": "Filtr: {{ filterParams }}", + "tasks-status-list": "Lista statusów zadań", + "tasks-type-list": "Lista typów zadań", + "time-taken": "Czas trwania", + "total-entities": "Łączna liczba obiektów", + "type": "Typ", + "report-generate-successfully": "Pomyślnie wygenerowano raport", + "report-generate-in-progress": "Trwa generowanie raportu", + "generate-report-canceled": "Anulowano generowanie raportu" }, "widget": { "widget-library": "Biblioteka widżetów", "widget-bundle": "Pakiet widżetów", "all-bundles": "Wszystkie pakiety", "select-widgets-bundle": "Wybierz pakiet widżetów", - "widgets": "Widgets", - "all-widgets": "All widgets", - "widget": "Widget", - "select-widget": "Select widget", - "no-widgets-matching": "No widgets matching '{{entity}}' were found.", - "no-widgets": "No widgets yet", - "no-widgets-text": "No widgets found", - "management": "Zarządzanie widgetami", + "installed": "Zainstalowane", + "widgets": "Widżety", + "all-widgets": "Wszystkie widżety", + "widget": "Widżet", + "select-widget": "Wybierz widżet", + "no-widgets-matching": "Nie znaleziono widżetów pasujących do „{{entity}}”.", + "no-widgets": "Nie ma jeszcze widżetów", + "no-widgets-text": "Nie znaleziono widżetów", + "management": "Zarządzanie widżetami", "editor": "Edytor widżetów", - "widget-type-not-found": "Problem z ładowaniem konfiguracji widgetu.
Prawdopodobnie powiązany\n typ widżetu został usunięty.", + "confirm-to-exit-editor-html": "Masz niezapisane ustawienia widżetu.
Czy na pewno chcesz opuścić tę stronę?", + "widget-type-not-found": "Problem z ładowaniem konfiguracji widżetu.
Prawdopodobnie powiązany\n typ widżetu został usunięty.", "widget-type-load-error": "Widżet nie został załadowany z powodu następujących błędów:", "remove": "Usuń widżet", - "delete": "Delete widget", + "delete": "Usuń widżet", "edit": "Edytuj widżet", - "edit-widget-type": "Edit widget type", - "remove-widget-title": "Czy na pewno chcesz usunąć widżet '{{widgetTitle}}'?", - "remove-widget-text": "Po potwierdzeniu widżetu i wszystkich powiązanych danych nie będzie można odzyskać.", + "remove-widget-title": "Czy na pewno chcesz usunąć widżet „{{widgetTitle}}”?", + "remove-widget-text": "Po potwierdzeniu nie będzie można odzyskać widżetu ani żadnych powiązanych danych.", + "replace-reference-with-widget-copy": "Zastąp odwołanie kopią widżetu", "timeseries": "Szereg czasowy", "search-data": "Wyszukaj dane", "no-data-found": "Nie znaleziono danych", "latest": "Najnowsze wartości", "rpc": "Widżet sterujący", "alarm": "Widżet alarmowy", - "static": "Widget statyczny", + "static": "Widżet statyczny", + "timeseries-short": "szereg czasowy", + "latest-short": "najnowsze", + "rpc-short": "sterowanie", + "alarm-short": "alarm", + "static-short": "statyczny", + "type-timeseries": "Szereg czasowy", + "type-latest": "Najnowsze", + "type-rpc": "Sterowanie", + "type-alarm": "Alarm", + "type-static": "Statyczny", "select-widget-type": "Wybierz typ widżetu", - "missing-widget-title-error": "Tytuł widgetu musi zostać określony!", + "missing-widget-title-error": "Tytuł widżetu musi zostać określony!", "widget-saved": "Widżet został zapisany", - "unable-to-save-widget-error": "Nie można zapisać widżetu! ", + "unable-to-save-widget-error": "Nie można zapisać widżetu! Widżet zawiera błędy!", "save": "Zapisz widżet", "saveAs": "Zapisz widżet jako", - "move": "Move widget", - "save-widget-type-as": "Zapisz typ widżetu jako", - "save-widget-type-as-text": "Proszę podać nowy tytuł widżetu i/lub wybrać docelowy pakiet widżetów", + "move": "Przenieś widżet", + "save-widget-as": "Zapisz widżet jako", + "save-widget-as-text": "Wprowadź nowy tytuł widżetu", "toggle-fullscreen": "Przełącz tryb pełnoekranowy", - "run": "Uruchom widget", - "widget-title": "Widget title", - "title": "Tytul widzeta", - "title-required": "Tytuł widgetu jest wymagany.", - "title-max-length": "Title should be less than 256", + "run": "Uruchom widżet", + "widget-title": "Tytuł widżetu", + "title": "Tytuł", + "title-required": "Tytuł widżetu jest wymagany.", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", "system": "System", - "type": "Typ widgetu", - "resources": "Biblioteki", + "type": "Typ widżetu", + "resources": "Zasoby", "resource-url": "Adres URL JavaScript/CSS", + "resource-is-extension": "Jest rozszerzeniem", "remove-resource": "Usuń zasób", "add-resource": "Dodaj zasób", "html": "HTML", - "tidy": "Tidy", + "tidy": "Uporządkuj", "css": "CSS", - "settings-schema": "Schemat ustawień", - "datakey-settings-schema": "Schemat ustawień klucza danych", - "latest-datakey-settings-schema": "Najnowszy schemat ustawień klucza danych", - "widget-settings": "Ustawienia widgetu", + "settings-form": "Formularz ustawień", + "data-key-settings-form": "Formularz ustawień klucza danych", + "latest-data-key-settings-form": "Formularz ustawień klucza najnowszych danych", + "widget-settings": "Ustawienia widżetu", "description": "Opis", + "tags": "Tagi", "image-preview": "Podgląd obrazu", - "settings-form-selector": "Ustawienia selektora formularza", + "settings-form-selector": "Selektor formularza ustawień", "data-key-settings-form-selector": "Selektor formularza ustawień klucza danych", - "latest-data-key-settings-form-selector": "Selektor formularza najnowszych ustawień klucza danych", - "all": "All", - "actual": "Actual", - "deprecated": "Deprecated", - "has-basic-mode": "Has basic mode", - "basic-mode-form-selector": "Basic mode form selector", - "basic-mode": "Basic", - "advanced-mode": "Advanced", + "latest-data-key-settings-form-selector": "Selektor formularza ustawień klucza najnowszych danych", + "all": "Wszystkie", + "actual": "Aktualne", + "scada": "Symbol SCADA", + "deprecated": "Przestarzałe", + "has-basic-mode": "Ma tryb podstawowy", + "basic-mode-form-selector": "Selektor formularza trybu podstawowego", + "basic-mode": "Podstawowy", + "advanced-mode": "Zaawansowany", "javascript": "JavaScript", "js": "JS", - "remove-widget-type-title": "Czy na pewno chcesz usunąć typ widżetu '{{widgetName}}'?", - "remove-widget-type-text": "Po potwierdzeniu typu widżetu i wszystkich powiązanych danych nie będzie można odzyskać.", - "remove-widget-type": "Usuń typ widżetu", - "widget-types": "Widget Types", - "delete-widget-type-title": "Are you sure you want to delete the widget type '{{widgetTypeName}}'?", - "delete-widget-type-text": "After the confirmation the widget and all related data will become unrecoverable.", - "delete-widget-types-title": "Are you sure you want to delete { count, plural, =1 {1 widget type} other {# widget types} }?", - "delete-widget-types-text": "Be careful, after the confirmation all selected widget types will be removed and all related data will become unrecoverable.", - "delete-widget-type": "Delete widget type", - "add-widget-type": "Dodaj nowy typ widżetu", - "widget-type-load-failed-error": "Nie udało się załadować typu widżetu!", + "delete-widget-title": "Czy na pewno chcesz usunąć widżet „{{widgetName}}”?", + "delete-widget-text": "Po potwierdzeniu nie będzie można odzyskać widżetu ani żadnych powiązanych danych.", + "delete-widgets-title": "Czy na pewno chcesz usunąć { count, plural, one {# widżet} few {# widżety} other {# widżetów} }?", + "delete-widgets-text": "Uwaga, po potwierdzeniu wszystkie wybrane widżety zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "delete-widget": "Usuń widżet", "widget-template-load-failed-error": "Nie udało się załadować szablonu widżetu!", - "details": "Details", - "widget-type-details": "Widget type details", + "details": "Szczegóły", + "widget-details": "Szczegóły widżetu", "add": "Dodaj widżet", - "no-widget-types-text": "No widget types found", - "search-widget-types": "Search widget types", - "selected-widget-types": "{ count, plural, =1 {1 widget type} other {# widget types} } selected", + "add-existing-widget": "Dodaj istniejący widżet", + "add-new-widget": "Dodaj nowy widżet", + "search-widgets": "Szukaj widżetów", + "selected-widgets": "Wybrano { count, plural, one {# widżet} few {# widżety} other {# widżetów} }", "undo": "Cofnij zmiany w widżecie", "export": "Eksportuj widżet", + "export-prompt": "Osadź obrazy i pliki widżetu", + "export-widgets": "Eksportuj widżety", + "export-widgets-prompt": "Osadź obrazy i pliki widżetów", "export-data": "Eksportuj dane widżetu", "export-to-csv": "Eksportuj dane do pliku CSV...", "export-to-excel": "Eksportuj dane do formatu XLS...", "export-to-excel-xlsx": "Eksportuj dane do XLSX...", + "import": "Importuj widżet", "no-data": "Brak danych do wyświetlenia w widżecie", "data-overflow": "Widżet wyświetla {{count}} z {{total}} obiektów", "alarm-data-overflow": "Widżet wyświetla alarmy dla {{allowedEntities}} (maksymalnie dozwolonych) obiektów z {{totalEntities}} obiektów", "search": "Wyszukaj widżet", - "filter": "Typ filtra widgetu", + "filter": "Typ filtra widżetu", "loading-widgets": "Ładowanie widżetów...", - "widget-template-error": "Nieprawidłowy szablon HTML widgetu." + "widget-template-error": "Nieprawidłowy szablon HTML widżetu.", + "reference": "Odwołanie" }, "widget-action": { - "header-button": "Przycisk nagłówka widgetu", - "open-dashboard-state": "Przejdź do nowego stanu panelu", - "update-dashboard-state": "Zaktualizuj bieżący stan panelu", - "open-dashboard": "Przejdź do innego panelu", + "header-button": "Przycisk nagłówka widżetu", + "do-nothing": "Nic nie rób", + "open-dashboard-state": "Przejdź do nowego stanu pulpitu", + "update-dashboard-state": "Zaktualizuj bieżący stan pulpitu", + "open-dashboard": "Przejdź do innego pulpitu", "custom": "Akcja niestandardowa", "custom-pretty": "Akcja niestandardowa (z szablonem HTML)", - "custom-pretty-error-title": "Niestandardowy błąd okna dialogowego", + "custom-pretty-error-title": "Błąd niestandardowego okna dialogowego", "custom-pretty-template-error": "Nieprawidłowy niestandardowy szablon okna dialogowego.", - "custom-pretty-controller-error": "Wystąpił błąd podczas oceniania niestandardowej funkcji okna dialogowego.", + "custom-pretty-controller-error": "Wystąpił błąd podczas wykonywania funkcji niestandardowego okna dialogowego.", "mobile-action": "Akcja mobilna", - "target-dashboard-state": "Docelowy stan panelu", - "target-dashboard-state-required": "Docelowy stan panelu jest wymagany", + "target-dashboard-state": "Docelowy stan pulpitu", + "target-dashboard-state-required": "Docelowy stan pulpitu jest wymagany", "set-entity-from-widget": "Ustaw obiekt z widżetu", - "target-dashboard": "Docelowy panel", - "open-right-layout": "Otwórz prawy układ panelu (widok mobilny)", - "state-display-type": "Opcja wyświetlania stanu panelu", + "target-dashboard": "Docelowy pulpit", + "select-target-dashboard": "Wybierz pulpit docelowy", + "target-dashboard-required": "Pulpit docelowy jest wymagany.", + "open-right-layout": "Otwórz prawy układ pulpitu (widok mobilny)", + "state-display-type": "Opcja wyświetlania stanu pulpitu", "open-normal": "Normalna", "open-in-separate-dialog": "Otwórz w osobnym oknie dialogowym", "open-in-popover": "Otwórz w wyskakującym okienku", "dialog-title": "Tytuł okna dialogowego", - "dialog-hide-dashboard-toolbar": "Ukryj pasek narzędzi panelu w oknie dialogowym", + "dialog-hide-dashboard-toolbar": "Ukryj pasek narzędzi pulpitu w oknie dialogowym", "dialog-width": "Szerokość okna dialogowego w procentach w stosunku do szerokości rzutni", "dialog-height": "Wysokość okna dialogowego w procentach w stosunku do wysokości rzutni", "dialog-size-range-error": "Wartość procentowa rozmiaru okna dialogowego powinna mieścić się w przedziale od 1 do 100.", - "popover-preferred-placement": "Preferowane miejsce wyskakujące", + "popover-preferred-placement": "Preferowane położenie wyskakującego okienka", "popover-placement-top": "Na górze", "popover-placement-topLeft": "Na górze po lewej", - "popover-placement-topRight": "Na górze po lewej", + "popover-placement-topRight": "Na górze po prawej", "popover-placement-right": "Po prawej", "popover-placement-rightTop": "Po prawej na górze", "popover-placement-rightBottom": "Po prawej na dole", @@ -6052,107 +10889,238 @@ "popover-placement-left": "Po lewej", "popover-placement-leftTop": "Po lewej na górze", "popover-placement-leftBottom": "Po lewej na dole", - "popover-hide-on-click-outside": "Ukryj wyskakujące okienko po kliknięciu zewnętrznym", - "popover-hide-dashboard-toolbar": "Ukryj pasek narzędzi panelu w wyskakującym okienku", - "popover-width": "Szerokość wyskakującego okienka w jednostkach przeglądarki (np. 100px, 25vw)", - "popover-height": "Wysokość wyskakującego okienka w jednostkach przeglądarki (np. 100px, 25vh)", + "popover-hide-on-click-outside": "Ukryj wyskakujące okienko po kliknięciu poza nim", + "popover-hide-dashboard-toolbar": "Ukryj pasek narzędzi pulpitu w wyskakującym okienku", + "popover-width": "Szerokość wyskakującego okienka", + "popover-height": "Wysokość wyskakującego okienka", "popover-style": "Styl wyskakującego okienka", "open-new-browser-tab": "Otwórz w nowej karcie przeglądarki", + "open-URL": "Otwórz URL", + "URL": "URL", + "url-required": "URL jest wymagany.", "mobile": { + "device-provision": "Aprowizacja urządzenia", "action-type": "Typ akcji mobilnej", + "select-action-type": "Wybierz typ akcji mobilnej", "action-type-required": "Typ akcji mobilnej jest wymagany", - "take-picture-from-gallery": "Zrób zdjęcie z galerii", + "take-picture-from-gallery": "Wybierz zdjęcie z galerii", "take-photo": "Zrób zdjęcie", "map-direction": "Otwórz wskazówki na mapie", "map-location": "Otwórz lokalizację na mapie", "scan-qr-code": "Skanuj kod QR", - "make-phone-call": "Wykonaj telefon", + "make-phone-call": "Wykonaj połączenie telefoniczne", "get-location": "Uzyskaj lokalizację telefonu", - "take-screenshot": "Zrób zrzut ekranu" + "take-screenshot": "Zrób zrzut ekranu", + "handle-provision-success-function": "Funkcja obsługi pomyślnej aprowizacji", + "get-location-function": "Funkcja pobierania lokalizacji", + "process-launch-result-function": "Funkcja przetwarzania wyniku uruchomienia", + "get-phone-number-function": "Funkcja pobierania numeru telefonu", + "process-image-function": "Funkcja przetwarzania obrazu", + "process-qr-code-function": "Funkcja przetwarzania kodu QR", + "process-location-function": "Funkcja przetwarzania lokalizacji", + "handle-empty-result-function": "Funkcja obsługi pustego wyniku", + "handle-error-function": "Funkcja obsługi błędu", + "handle-non-mobile-fallback-function": "Funkcja obsługi trybu zastępczego poza aplikacją mobilną", + "save-to-gallery": "Zapisz w „Galerii obrazów”", + "provision-type": "Typ aprowizacji", + "auto": "Automatycznie", + "wi-fi": "Wi-Fi", + "ble": "BLE", + "soft-ap": "Soft AP", + "save-to-entity": "Zapisz lokalizację w obiekcie", + "target-panel-title": "Cel", + "target-save-to": "Zapisz w", + "target-mode-entity": "Obiekt", + "target-current-entity": "Obiekt ze źródła danych widżetu", + "target-current-user": "Bieżący użytkownik", + "target-entity-alias": "Alias obiektu", + "target-from-attribute": "Z atrybutu", + "target-entity-alias-name": "Nazwa aliasu", + "target-entity-alias-name-required": "Nazwa aliasu jest wymagana", + "target-attribute-source": "Odczytaj atrybut z", + "target-attribute-key": "Klucz atrybutu serwera", + "target-attribute-key-required": "Klucz atrybutu serwera jest wymagany", + "target-attribute-value-hint": "Atrybut musi zawierać ID obiektu w postaci obiektu z oboma polami, na przykład {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. Zwykły ciąg ID nie jest akceptowany.", + "location-save-failed": "Nie udało się zapisać lokalizacji: {{error}}", + "start-live-location": "Rozpocznij śledzenie lokalizacji na żywo", + "stop-live-location": "Zatrzymaj śledzenie lokalizacji na żywo", + "accuracy": "Dokładność", + "accuracy-hint": "Kompromis między dokładnością każdej pozycji a zużyciem baterii podczas śledzenia.", + "accuracy-high": "Wysoka", + "accuracy-high-hint": "Używa GPS do określenia najdokładniejszej pozycji, około 5 m. Najlepsza do śledzenia pojazdów lub pracowników terenowych, ale najszybciej rozładowuje baterię.", + "accuracy-balanced": "Zrównoważona", + "accuracy-balanced-hint": "Używa sieci Wi-Fi i stacji bazowych, przełączając się na GPS tylko w razie potrzeby, około 40 m. Dobre ustawienie domyślne do okresowego zgłaszania lokalizacji przy umiarkowanym zużyciu baterii.", + "accuracy-low": "Niska", + "accuracy-low-hint": "Używa wyłącznie stacji bazowych, około 500 m lub mniej dokładnie. Najlepsza do określania obecności na poziomie miasta przez długi czas przy minimalnym zużyciu baterii.", + "live-location-advanced-settings": "Zaawansowane ustawienia", + "distance-filter": "Ogranicz aktualizacje według przebytej odległości", + "distance-filter-hint": "Pomija aktualizacje, dopóki urządzenie nie przemieści się co najmniej o tę odległość od ostatnio zgłoszonej pozycji.", + "distance-filter-value": "Odległość", + "distance-filter-value-min": "Odległość powinna wynosić co najmniej 1 metr", + "distance-filter-value-pattern": "Odległość powinna być liczbą całkowitą", + "distance-filter-value-required": "Odległość jest wymagana", + "interval": "Ogranicz aktualizacje interwałem czasowym", + "interval-hint": "Nowa pozycja jest pobierana nie częściej niż w tym interwale. Bez tego ustawienia aktualizacje napływają tak często, jak zgłasza je urządzenie.", + "interval-value": "Interwał", + "interval-value-min": "Interwał powinien wynosić co najmniej 1 sekundę", + "interval-value-required": "Interwał jest wymagany", + "max-duration": "Zatrzymaj śledzenie po upływie maksymalnego czasu trwania", + "max-duration-hint": "Śledzenie zatrzymuje się automatycznie po upływie tego czasu od jego rozpoczęcia.", + "max-duration-value": "Czas trwania", + "max-duration-value-min": "Czas trwania powinien wynosić co najmniej 1 minutę", + "max-duration-value-required": "Czas trwania jest wymagany" + }, + "location": { + "saved-keys": "Klucze zapisywane w obiekcie", + "argument": "Argument", + "key-name": "Klucz danych", + "value-type": "Typ", + "add-key": "Dodaj klucz", + "remove-key": "Usuń klucz", + "duplicate-key-names": "Klucze danych powinny być unikalne", + "key-latitude": "Szerokość geograficzna", + "key-longitude": "Długość geograficzna", + "key-accuracy": "Dokładność", + "key-altitude": "Wysokość", + "key-speed": "Prędkość", + "key-heading": "Kierunek", + "key-gps-active": "GPS aktywny", + "key-gps-tracked-by": "GPS śledzony przez użytkownika", + "value-type-attribute": "Atrybut serwera", + "value-type-timeseries": "Szereg czasowy", + "error-no-current-entity": "Akcja widżetu nie ma bieżącego obiektu", + "error-no-current-user": "Nie można określić bieżącego użytkownika", + "error-save-failed": "Nieoczekiwany błąd serwera", + "error-permission-denied": "Brak uprawnień", + "error-alias-not-found": "Nie znaleziono aliasu obiektu „{{alias}}” na pulpicie", + "error-alias-not-resolved": "Nie udało się ustalić obiektu dla aliasu „{{alias}}”", + "error-attribute-not-found": "Nie znaleziono atrybutu „{{key}}” w obiekcie źródłowym", + "error-attribute-not-object": "Atrybut „{{key}}” nie jest identyfikatorem obiektu. Oczekiwano obu pól entityType i id, na przykład {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "W atrybucie „{{key}}” brakuje pola entityType lub id identyfikatora obiektu", + "error-attribute-unknown-entity-type": "Atrybut „{{key}}” odwołuje się do nieznanego typu obiektu „{{entityType}}”", + "error-unknown-target-type": "Nieznane źródło obiektu docelowego „{{type}}”" + }, + "save-browser-location": "Zapisz lokalizację przeglądarki", + "browser-location": { + "location-saved": "Zapisano lokalizację przeglądarki", + "location-save-failed": "Nie udało się zapisać lokalizacji przeglądarki: {{error}}", + "error-unsupported": "Ta przeglądarka nie obsługuje wykrywania lokalizacji", + "error-insecure-context": "Lokalizacja przeglądarki wymaga bezpiecznego połączenia (HTTPS)", + "error-permission-denied": "Odmówiono dostępu do lokalizacji", + "error-position-unavailable": "Bieżąca lokalizacja jest niedostępna", + "error-timeout": "Przekroczono limit czasu podczas pobierania bieżącej lokalizacji" + }, + "custom-action-function": "Funkcja akcji niestandardowej", + "custom-pretty-function": "Funkcja akcji niestandardowej (z szablonem HTML)", + "map-item-type": "Typ elementu mapy", + "map-item": { + "marker": "Znacznik", + "polygon": "Wielokąt", + "rectangle": "Prostokąt", + "circle": "Koło", + "polyline": "Linia łamana" + }, + "place-map-item": "Umieść element mapy", + "map-item-tooltip": { + "customize-map-item-tooltips": "Dostosuj podpowiedzi elementów mapy", + "place-marker": "Umieść znacznik", + "start-draw-rectangle": "Zacznij rysować prostokąt", + "finish-draw-rectangle": "Zakończ rysowanie prostokąta", + "start-draw-polygon": "Zacznij rysować wielokąt", + "continue-draw-polygon": "Kontynuuj rysowanie wielokąta", + "finish-draw-polygon": "Zakończ rysowanie wielokąta", + "start-draw-circle": "Zacznij rysować koło", + "finish-draw-circle": "Zakończ rysowanie koła", + "start-draw-polyline": "Zacznij rysować linię łamaną", + "finish-draw-polyline": "Zakończ rysowanie linii łamanej" } }, "widgets-bundle": { - "current": "Aktualny pakiet", + "current": "Bieżący pakiet", "widgets-bundles": "Pakiety widżetów", - "widgets-bundle-widgets": "Widgets Bundle Widgets", + "widgets-bundle-widgets": "Widżety pakietu widżetów", "add": "Dodaj pakiet widżetów", "delete": "Usuń pakiet widżetów", "title": "Tytuł", "title-required": "Tytuł jest wymagany.", - "title-max-length": "Tytuł powinien być mniejszy niż 256", + "title-max-length": "Tytuł powinien mieć mniej niż 256 znaków", "description": "Opis", "image-preview": "Podgląd obrazu", + "scada": "Pakiet widżetów SCADA", + "order": "Kolejność", "add-widgets-bundle-text": "Dodaj nowy pakiet widżetów", "no-widgets-bundles-text": "Nie znaleziono pakietów widżetów", "empty": "Pakiet widżetów jest pusty", "details": "Szczegóły", "widgets-bundle-details": "Szczegóły pakietu widżetów", - "delete-widgets-bundle-title": "Czy na pewno chcesz usunąć pakiet widżetów '{{widgetsBundleTitle}}'?", - "delete-widgets-bundle-text": "Bądź ostrożny, po potwierdzeniu pakietu widżetów i wszystkich powiązanych danych nie będzie można odzyskać.", - "delete-widgets-bundles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 pakiet} other {# pakietów} } widżetów?", - "delete-widgets-bundles-action-title": "Usuń { count, plural, =1 {1 pakiet} other {# pakietów} } widżetów", - "delete-widgets-bundles-text": "Bądź ostrożny, po potwierdzeniu wszystkie wybrane pakiety widżetów zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", - "no-widgets-bundles-matching": "Nie znaleziono pakietów widżetów pasujących do '{{widgetsBundle}}'.", + "delete-widgets-bundle-title": "Czy na pewno chcesz usunąć pakiet widżetów „{{widgetsBundleTitle}}”?", + "delete-widgets-bundle-text": "Uwaga: po potwierdzeniu nie będzie można odzyskać pakietu widżetów ani żadnych powiązanych danych.", + "delete-widgets-bundles-title": "Czy na pewno chcesz usunąć { count, plural, =1 {1 pakiet} one {# pakiet} few {# pakiety} other {# pakietów} } widżetów?", + "delete-widgets-bundles-action-title": "Usuń { count, plural, =1 {1 pakiet} one {# pakiet} few {# pakiety} other {# pakietów} } widżetów", + "delete-widgets-bundles-text": "Uwaga: po potwierdzeniu wszystkie wybrane pakiety widżetów zostaną usunięte, a wszystkich powiązanych danych nie będzie można odzyskać.", + "no-widgets-bundles-matching": "Nie znaleziono pakietów widżetów pasujących do „{{widgetsBundle}}”.", "widgets-bundle-required": "Pakiet widżetów jest wymagany.", "system": "System", "import": "Importuj pakiet widżetów", "export": "Eksportuj pakiet widżetów", - "export-widgets-bundle-widgets-prompt": "Include bundle widget types in exported data (otherwise only referenced widget type FQNs will be exported)", + "export-widgets-bundle-widgets-prompt": "Uwzględnij widżety pakietu w eksportowanych danych (w przeciwnym razie zostaną wyeksportowane tylko FQN przywoływanych widżetów)", "export-failed-error": "Nie można wyeksportować pakietu widżetów: {{error}}", "create-new-widgets-bundle": "Utwórz nowy pakiet widżetów", "widgets-bundle-file": "Plik pakietu widżetów", "invalid-widgets-bundle-file-error": "Nie można zaimportować pakietu widżetów: Nieprawidłowa struktura danych pakietu widżetów.", "search": "Wyszukaj pakiety widżetów", - "selected-widgets-bundles": "Wybrano { count, plural, =1 {1 pakiet} other {# pakietów} } widżetów", + "selected-widgets-bundles": "Wybrano { count, plural, =1 {1 pakiet} one {# pakiet} few {# pakiety} other {# pakietów} } widżetów", "open-widgets-bundle": "Otwórz pakiet widżetów", - "loading-widgets-bundles": "Ładowanie pakietów widżetów..." + "loading-widgets-bundles": "Ładowanie pakietów widżetów...", + "create-new": "Utwórz nowy pakiet widżetów" }, "widget-config": { "data": "Dane", "settings": "Ustawienia", "advanced": "Zaawansowane", "appearance": "Wygląd", - "widget-card": "Widget card", - "mobile": "Mobile", + "widget-card": "Karta widżetu", + "mobile": "Widok mobilny", "title": "Tytuł", "title-tooltip": "Podpowiedź tytułu", - "general-settings": "Ustawienia główne", + "general-settings": "Ustawienia ogólne", "display-title": "Wyświetl tytuł widżetu", - "card-title": "Card title", - "drop-shadow": "Rzuć cień", + "card-title": "Tytuł karty", + "drop-shadow": "Cień", "enable-fullscreen": "Włącz pełny ekran", "enable-data-export": "Włącz eksport danych", - "data-export": "Data export", + "data-export": "Eksport danych", "background-color": "Kolor tła", "text-color": "Kolor tekstu", - "border-radius": "Border radius", - "padding": "Wyściółka", + "border-radius": "Promień obramowania", + "padding": "Dopełnienie", "margin": "Margines", - "widget-style": "Styl widgetu", - "widget-css": "Widżet CSS", + "widget-style": "Styl widżetu", + "widget-css": "CSS widżetu", "title-style": "Styl tytułu", "mobile-mode-settings": "Tryb mobilny", "order": "Kolejność", "height": "Wysokość", "mobile-hide": "Ukryj widżet w trybie mobilnym", - "desktop-hide": "Ukryj widżet w trybie panelu", + "desktop-hide": "Ukryj widżet w trybie desktopowym", "units": "Specjalny symbol wyświetlany obok wartości", - "units-by-default": "Units by default", - "decimals": "Liczba cyfr po zmiennoprzecinkowym", - "decimals-by-default": "Decimals by default", - "default-data-key-parameter-hint": "This parameter applies to all widget values unless overridden by data key configuration", - "units-short": "Units", - "decimals-short": "Decimals", - "decimals-suffix": "decimals", + "units-by-default": "Domyślne jednostki", + "decimals": "Liczba cyfr po przecinku", + "decimals-by-default": "Domyślna liczba cyfr po przecinku", + "default-data-key-parameter-hint": "Ten parametr dotyczy wszystkich wartości widżetu, chyba że zostanie nadpisany w konfiguracji klucza danych", + "units-short": "Jednostki", + "decimals-short": "Miejsca dziesiętne", + "decimals-suffix": "po przecinku", + "digits-suffix": "cyfr", "timewindow": "Okno czasowe", - "use-dashboard-timewindow": "Użyj okna czasowego panelu", - "use-widget-timewindow": "Use widget timewindow", + "use-dashboard-timewindow": "Użyj okna czasowego pulpitu", + "use-widget-timewindow": "Użyj okna czasowego widżetu", "display-timewindow": "Wyświetl okno czasowe", "legend": "Legenda", "display-legend": "Wyświetl legendę", "datasources": "Źródła danych", - "datasource": "Datasource", - "maximum-datasources": "Maksymalnie { count, plural, =1 {1 źródło danych jest dozwolone} other {# źródeł danych jest dozwolonych} }", + "datasource": "Źródło danych", + "maximum-datasources": "Maksymalnie { count, plural, =1 {1 źródło danych jest dozwolone.} one {# źródło danych jest dozwolone.} few {# źródła danych są dozwolone} other {# źródeł danych jest dozwolonych} }", "timeseries-key-error": "Należy określić co najmniej jeden klucz danych szeregu czasowego", "datasource-type": "Typ", "datasource-parameters": "Parametry", @@ -6160,103 +11128,282 @@ "add-datasource": "Dodaj źródło danych", "target-device": "Urządzenie docelowe", "alarm-source": "Źródło alarmu", - "actions": "Działania", - "action": "Działanie", + "actions": "Akcje", + "action": "Akcja", "add-action": "Dodaj akcję", - "search-actions": "Szukaj działań", - "no-actions-text": "Nie znaleziono żadnych działań", + "search-actions": "Szukaj akcji", + "no-actions-text": "Nie znaleziono akcji", + "import-actions": "Importuj akcje", + "export-actions": "Eksportuj akcje", + "export-action": "Eksportuj akcję", + "duplicate-action": "Duplikuj akcję", + "copy-action": "Kopiuj akcję", + "copy-all-actions": "Kopiuj wszystkie akcje", + "action-copied": "Skopiowano akcję", + "actions-copied": "Skopiowano akcje", + "paste-actions": "Wklej akcje", + "clear-actions": "Wyczyść wszystkie akcje", + "clear-actions-title": "Wyczyść wszystkie akcje", + "clear-actions-text": "Czy na pewno chcesz usunąć wszystkie akcje widżetu?", + "actions-file": "Plik akcji widżetu", + "actions-json-content": "Zawartość JSON akcji", + "invalid-actions-file-error": "Nie można zaimportować akcji widżetu: nieprawidłowa struktura danych akcji widżetu.", + "import-actions-imported": "{ count, plural, =0 {Nie zaimportowano żadnych akcji} =1 {Zaimportowano 1 akcję} one {Zaimportowano # akcję} few {Zaimportowano # akcje} other {Zaimportowano # akcji} }", + "paste-actions-pasted": "{ count, plural, =0 {Nie wklejono żadnych akcji} =1 {Wklejono 1 akcję} one {Wklejono # akcję} few {Wklejono # akcje} other {Wklejono # akcji} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {Nie zduplikowano żadnych akcji} =1 {Zduplikowano 1 akcję} one {Zduplikowano # akcję} few {Zduplikowano # akcje} other {Zduplikowano # akcji} }", + "import-actions-skipped": "{ count, plural, =1 {Pominięto 1 akcję, ponieważ nie ma zastosowania lub jest już skonfigurowana dla tego widżetu} one {Pominięto # akcję, ponieważ nie ma zastosowania lub jest już skonfigurowana dla tego widżetu} few {Pominięto # akcje, ponieważ nie mają zastosowania lub są już skonfigurowane dla tego widżetu} other {Pominięto # akcji, ponieważ nie mają zastosowania lub są już skonfigurowane dla tego widżetu} }", + "import-actions-columns-reset": "{ count, plural, =1 {1 akcja kliknięcia komórki nie ma przypisanej kolumny. Edytuj akcję, aby przypisać kolumnę.} one {# akcja kliknięcia komórki nie ma przypisanej kolumny. Edytuj akcję, aby przypisać kolumnę.} few {# akcje kliknięcia komórki nie mają przypisanej kolumny. Edytuj akcje, aby przypisać kolumnę.} other {# akcji kliknięcia komórki nie ma przypisanej kolumny. Edytuj akcje, aby przypisać kolumnę.} }", "action-source": "Źródło akcji", - "action-source-required": "Źródło działania jest wymagane.", + "select-action-source": "Wybierz źródło akcji", + "action-source-required": "Źródło akcji jest wymagane.", + "column-index": "Indeks kolumny", + "select-column-index": "Wybierz indeks kolumny", + "column-index-required": "Indeks kolumny jest wymagany.", + "entity-group-row-click-hint": "Aby użyć akcji niestandardowej „Po kliknięciu wiersza”, upewnij się, że opcja „Otwórz szczegóły obiektu po” na karcie ustawień jest ustawiona na dowolną wartość inną niż „Po kliknięciu wiersza”.", + "not-set": "Nie ustawiono", "action-name": "Nazwa", - "action-name-required": "Nazwa działania jest wymagana.", - "action-name-not-unique": "Istnieje już inna akcja o tej samej nazwie.
Nazwa akcji powinna być unikalna w obrębie tego samego źródła akcji.", + "action-name-required": "Nazwa akcji jest wymagana.", + "action-name-not-unique": "Istnieje już inna akcja o tej samej nazwie.\nNazwa akcji powinna być unikalna w obrębie tego samego źródła akcji.", "action-icon": "Ikona", + "header-button": { + "button-settings": "Ustawienia przycisku", + "button-type": "Typ przycisku", + "button-type-basic": "Podstawowy", + "button-type-raised": "Uniesiony", + "button-type-stroked": "Konturowy", + "button-type-flat": "Płaski", + "button-type-icon": "Ikona", + "button-type-mini-fab": "FAB", + "colors": "Kolory", + "color": "Kolor", + "background": "Tło", + "border": "Obramowanie", + "advanced-button-style": "Zaawansowany styl przycisku", + "button-style": "Styl przycisku" + }, "show-hide-action-using-function": "Pokaż/ukryj akcję za pomocą funkcji", + "show-action-function": "Funkcja pokazywania akcji", "action-type": "Typ", - "action-type-required": "Typ działania jest wymagany.", + "action-type-required": "Typ akcji jest wymagany.", "edit-action": "Edytuj akcję", "delete-action": "Usuń akcję", - "delete-action-title": "Usuń akcję widgetu", - "delete-action-text": "Czy na pewno chcesz usunąć akcję widgetu o nazwie '{{actionName}}'?", + "delete-action-title": "Usuń akcję widżetu", + "delete-action-text": "Czy na pewno chcesz usunąć akcję widżetu o nazwie „{{actionName}}”?", "title-icon": "Ikona tytułu", "display-icon": "Wyświetl ikonę tytułu", - "card-icon": "Card icon", + "card-icon": "Ikona karty", + "icon": "Ikona", "icon-color": "Kolor ikony", "icon-size": "Rozmiar ikony", "advanced-settings": "Zaawansowane ustawienia", "data-settings": "Ustawienia danych", - "limits": "Limits", - "no-data-display-message": "Alternatywny komunikat \"Brak danych do wyświetlenia\"", + "limits": "Limity", + "no-data-display-message": "Alternatywny komunikat „Brak danych do wyświetlenia”", "data-page-size": "Maksymalna liczba obiektów na źródło danych", - "settings-component-not-found": "Nie znaleziono komponentu formularza ustawień dla selektora '{{selector}}'", - "preview": "Preview", - "set": "Set", - "set-message": "Set message", - "advanced-title-style": "Advanced title style", - "card-style": "Card style", - "text": "Text", - "background": "Background", - "advanced-widget-style": "Advanced widget style", - "card-buttons": "Card buttons", - "show-card-buttons": "Show card buttons", - "card-border-radius": "Card border radius", - "card-appearance": "Card appearance", - "color": "Color" + "settings-component-not-found": "Nie znaleziono komponentu formularza ustawień dla selektora „{{selector}}”", + "preview": "Podgląd", + "set": "Ustaw", + "set-message": "Ustaw komunikat", + "advanced-title-style": "Zaawansowany styl tytułu", + "card-style": "Styl karty", + "text": "Tekst", + "background": "Tło", + "advanced-widget-style": "Zaawansowany styl widżetu", + "card-buttons": "Przyciski karty", + "show-card-buttons": "Pokaż przyciski karty", + "card-border-radius": "Promień obramowania karty", + "card-padding": "Dopełnienie karty", + "card-appearance": "Wygląd karty", + "color": "Kolor", + "tooltip": "Podpowiedź", + "units-required": "Jednostka jest wymagana.", + "list-layout": "Układ listy", + "layout": "Układ", + "resize-options": "Opcje zmiany rozmiaru", + "resizable": "Możliwość zmiany rozmiaru", + "preserve-aspect-ratio": "Zachowaj proporcje" }, "widget-type": { "import": "Importuj typ widżetu", "export": "Eksportuj typ widżetu", - "export-widget-types": "Export widget types", "export-failed-error": "Nie można wyeksportować typu widżetu: {{error}}", - "create-new-widget-type": "Utwórz nowy typ widżetu", - "widget-type-file": "Plik typu widżetu", - "invalid-widget-type-file-error": "Nie można zaimportować typu widżetu: Nieprawidłowa struktura danych typu widżetu." + "widget-file": "Plik widżetu", + "invalid-widget-file-error": "Nie można zaimportować widżetu: nieprawidłowa struktura danych widżetu." }, "self-registration": { - "self-registration": "Rejestracja własna", + "self-registration": "Samodzielna rejestracja", "self-registration-url": "Adres URL samodzielnej rejestracji", - "captcha-version": "wersja reCAPTCHA", - "captcha-action": "nazwa akcji wpisu reCAPTCHA", + "captcha-version": "Wersja reCAPTCHA", + "captcha-action": "Nazwa akcji reCAPTCHA w logach", "captcha-site-key": "Klucz witryny reCAPTCHA", - "captcha-secret-key": "tajny klucz reCAPTCHA", + "captcha-site-key-required": "Klucz witryny Captcha jest wymagany.", + "captcha-site-key-cannot-contain-only-spaces": "Klucz witryny Captcha nie może zawierać wyłącznie spacji", + "captcha-site-key-max-length": "Klucz witryny Captcha powinien być krótszy niż 256 znaków", + "captcha-secret-key": "Tajny klucz reCAPTCHA", + "captcha-secret-key-required": "Tajny klucz Captcha jest wymagany.", + "captcha-secret-key-cannot-contain-only-spaces": "Tajny klucz Captcha nie może zawierać wyłącznie spacji", + "captcha-secret-key-max-length": "Tajny klucz Captcha powinien być krótszy niż 256 znaków", + "project-id": "ID projektu", + "project-id-required": "Identyfikator projektu jest wymagany.", + "android-key": "Klucz Android", + "android-key-required": "Klucz Android jest wymagany.", + "ios-key": "Klucz iOS", + "ios-key-required": "Klucz iOS jest wymagany.", + "notification-recipient": "Odbiorca powiadomień", + "notification-recipient-required": "Odbiorca powiadomienia jest wymagany.", "privacy-policy-text": "Tekst polityki prywatności", "terms-of-use-text": "Tekst Regulaminu", - "text-message-page": "Wiadomość tekstowa do strony rejestracji", + "text-message-page": "Tekst komunikatu na stronie rejestracji", "enable-mobile-self-registration": "Włącz samodzielną rejestrację z poziomu aplikacji mobilnej", - "mobile-self-registration-title": "Ustawienia samodzielnej rejestracji aplikacji mobilnej", + "mobile-self-registration-title": "Ustawienia samodzielnej rejestracji w aplikacji mobilnej", "mobile-package": "Pakiet aplikacji", - "mobile-package-placeholder": "Np.: moja.przykładowa.aplikacja", - "mobile-package-hint": "Dla Androida: Twój własny, unikalny identyfikator aplikacji. Dla iOS: Identyfikator pakietu produktów.", + "mobile-package-placeholder": "Np.: my.example.app", + "mobile-package-hint": "Dla Androida: Twój własny, unikalny identyfikator aplikacji. Dla iOS: identyfikator pakietu produktu.", "mobile-package-required": "Pakiet aplikacji jest wymagany", - "mobile-app-secret": "Sekret aplikacji", - "invalid-mobile-app-secret": "Klucz tajny aplikacji może zawierać wyłącznie znaki alfanumeryczne i mieć długość od 16 do 2048 znaków.", - "copy-mobile-app-secret": "Skopiuj sekret aplikacji", + "mobile-app-secret": "Tajny klucz aplikacji", + "invalid-mobile-app-secret": "Tajny klucz aplikacji może zawierać wyłącznie znaki alfanumeryczne i mieć długość od 16 do 2048 znaków.", + "copy-mobile-app-secret": "Kopiuj tajny klucz aplikacji", "mobile-app-scheme": "Schemat adresu URL aplikacji", - "mobile-app-scheme-placeholder": "Np.: przykladowyschemat", + "mobile-app-scheme-placeholder": "Np.: customscheme", "mobile-app-scheme-required": "Schemat adresu URL aplikacji jest wymagany", + "mobile-app-scheme-cannot-contain-only-spaces": "Schemat URL aplikacji nie może zawierać wyłącznie spacji", + "mobile-app-scheme-max-length": "Schemat URL aplikacji powinien być krótszy niż 256 znaków", "mobile-app-host": "Nazwa hosta adresu URL aplikacji", - "mobile-app-host-placeholder": "Np.: moja.aplikacja.host", + "mobile-app-host-placeholder": "Np.: my.app.host", "mobile-app-host-required": "Nazwa hosta adresu URL aplikacji jest wymagana", - "show-privacy-policy": "Pokaż Politykę Prywatności", - "show-terms-of-use": "Pokaż Warunki użytkowania", + "mobile-app-host-cannot-contain-only-spaces": "Nazwa hosta URL aplikacji nie może zawierać wyłącznie spacji", + "mobile-app-host-max-length": "Nazwa hosta URL aplikacji powinna mieć mniej niż 256 znaków", + "show-privacy-policy": "Pokaż politykę prywatności", + "show-terms-of-use": "Pokaż regulamin", "domain-settings": "Ustawienia domeny", - "general-settings": "Ustawienia główne" + "general-settings": "Ustawienia ogólne", + "recaptcha-enterprise-service-account-file": "Plik JSON z danymi uwierzytelniającymi konta reCAPTCHA Enterprise", + "select-recaptcha-enterprise-service-account-file": "Przeciągnij i upuść plik z danymi uwierzytelniającymi Twojego konta" }, - "solution-template": { - "solution-template": "Szablon rozwiązania", - "solution-templates": "Szablony rozwiązań", - "management": "Zarządzaj szablonami rozwiązań", - "details": "Szczegóły", - "install": "Instaluj", - "level": "Poziom", - "install-title": "Pomyślnie zainstalowano szablon rozwiązania", - "install-failed-title": "Instalacja szablonu rozwiązania nie powiodła się", - "instructions": "Instrukcje", - "goto-main-dashboard": "Przejdź do głównego panelu", - "delete": "Usuń", - "delete-solution-title": "Czy na pewno chcesz usunąć rozwiązanie '{{solutionTitle}}'?", - "delete-solution-text": "Bądź ostrożny, po potwierdzeniu rozwiązania i wszystkich powiązanych danych nie będzie można odzyskać.", - "installing": "Instaluję szablon rozwiązania..." + "solution-creator": { + "ai-solution-creator": "Kreator rozwiązań AI", + "describe-solution-you-want": "Opisz rozwiązanie, które chcesz utworzyć", + "enter-your-prompt": "Wprowadź prompt", + "target": "Cel", + "install-solution": "Zainstaluj", + "solution-overview": "Przegląd rozwiązania: {{ name }}", + "dashboards-overview": "Przegląd pulpitów: {{ name }}", + "entity-profile": "Profil obiektu", + "entity-profiles": "Profile obiektów", + "name": "Nazwa", + "iam": "IAM", + "iam-full": "Zarządzanie tożsamością i dostępem", + "table-view": "Tabela", + "schema-view": "Schemat", + "iam-info": "Informacje o IAM", + "operation": { + "C": "Utwórz", + "R": "Odczytaj", + "U": "Aktualizuj", + "D": "Usuń" + }, + "alarm-info": "Informacje o alarmie", + "description": "Opis", + "data": "Dane", + "entity-info": "Informacje o obiekcie", + "calculated-field-info": "Informacje o polu obliczeniowym", + "field-type": "Typ pola", + "scope": "Zakres", + "delete-alarm-title": "Czy chcesz usunąć ten sugerowany alarm?", + "delete-alarm-text": "Ten alarm, zasugerowany na podstawie Twojego opisu, nie zostanie dodany do proponowanej wersji rozwiązania.
Alarmy możesz zawsze później edytować lub ręcznie utworzyć ponownie. Tej akcji nie można cofnąć.", + "basic-mode": "Podstawowy", + "advanced-mode": "Zaawansowany", + "create-solution": "Utwórz rozwiązanie", + "go-dashboard-manager": "Dalej: projekt pulpitu", + "success-generate-title": "Rozwiązanie jest gotowe!", + "success-generate-sub-title": "Możesz je zainstalować na swoim koncie, klikając przycisk poniżej", + "success-generate-install-title": "Rozwiązanie zostało zainstalowane!", + "success-generate-install-sub-title": "Aby edytować rozwiązanie, najpierw odinstaluj istniejącą instancję", + "main-title": "Cześć! Jestem Twoim asystentem AI", + "sub-title": "Pomagam Ci przekształcić Twoje wymagania w w pełni funkcjonalne rozwiązanie IoT.\nPo prostu opisz, co chcesz osiągnąć, a ja zajmę się resztą.", + "solutions": "Rozwiązania", + "new-solution": "Nowe rozwiązanie", + "uninstall-solution": "Odinstaluj", + "uninstall-solution-dialog-title": "Czy na pewno chcesz odinstalować „{{ name }}”?", + "uninstall-solution-dialog-text": "Wszystkie powiązane obiekty i pulpity zostaną usunięte z Twojego konta", + "uninstall-solution-dialog-confirm": "Tak, odinstaluj", + "delete-solution-title": "Czy na pewno chcesz usunąć „{{ name }}”?", + "delete-solution-text": "Wszystkie Twoje dane zostaną utracone", + "delete-solution-confirm": "Tak, usuń", + "copy-solution": "Kopiuj rozwiązanie", + "expand-sidebar": "Rozwiń panel boczny", + "collapse-sidebar": "Zwiń panel boczny", + "solution-id": "ID rozwiązania", + "solution-id-required": "ID rozwiązania jest wymagane", + "rename-solution-title": "Zmień nazwę tego rozwiązania", + "generate-again": "Wygeneruj ponownie", + "skip-interview": "Pomiń wywiad", + "update-solution": "Aktualizuj rozwiązanie", + "finish-edit": "Zakończ edycję", + "lorawan-tracking": "Śledzenie LoRaWAN", + "smart-parking": "Inteligentny parking", + "weather-monitoring": "Monitorowanie pogody", + "water-metering": "Pomiar zużycia wody", + "coffee-machine-monitoring": "Monitorowanie ekspresów do kawy", + "fleet-geofencing": "Geofencing floty", + "more-examples": "Więcej przykładów", + "hide": "Ukryj", + "solution-info": "Informacje o rozwiązaniu", + "solution-info-with-name": "Informacje o rozwiązaniu: {{ name }}", + "status": "Status", + "only-failures": "Tylko niepowodzenia", + "failed-create-entity": "Nie udało się utworzyć obiektu", + "failed-install-entity": "Nie udało się zainstalować obiektu", + "copy-id": "Kopiuj ID", + "id-copied-message": "ID rozwiązania zostało skopiowane do schowka", + "credits": "Kredyty", + "info": "Informacje", + "main-dashboard": "Pulpit główny", + "view-as": "Wyświetl jako {{ name }}", + "generated-by-calculated-field-name": "Wygenerowano przez pole obliczeniowe „{{ name }}”", + "estimate-wait-time": "Szacowany czas oczekiwania: ~{{ time }}", + "analyzing-your-request": "Analizowanie Twojego zapytania...", + "condition": "Warunek", + "installing": "Instalowanie rozwiązania...", + "step-architecture-design": "Projekt architektury", + "step-dashboard-design": "Projekt pulpitu", + "step-solution-installation": "Instalacja rozwiązania", + "step-reading-device-data": "Odczytywanie danych urządzenia…", + "step-analyzing-telemetry-attributes": "Analizowanie telemetrii i atrybutów…", + "step-selecting-widgets": "Wybieranie widżetów dla Twoich danych…", + "step-configuring-titles-units-ranges": "Konfigurowanie tytułów, jednostek i zakresów…", + "step-designing-layout": "Projektowanie układu…", + "step-arranging-widgets": "Rozmieszczanie widżetów na pulpicie…", + "generate-dashboard": "Wygeneruj pulpit", + "generate-dashboard-with-ai": "Wygeneruj pulpit za pomocą AI", + "no-telemetry-title": "Nie znaleziono danych telemetrii", + "no-telemetry-message": "To urządzenie nie wysłało jeszcze żadnej telemetrii.\nNajpierw wyślij telemetrię z urządzenia, a następnie wygeneruj pulpit.", + "send-telemetry": "Wyślij telemetrię", + "step-loading-updating-entities": "Aktualizowanie obiektów…", + "step-loading-restructuring-roles": "Restrukturyzowanie ról…", + "step-loading-rebuilding-alarm-rules": "Przebudowywanie reguł alarmów…", + "step-loading-reassembling-dashboards": "Ponowne składanie pulpitów…", + "step-loading-updating-solution": "Aktualizowanie Twojego rozwiązania…", + "step-loading-designing-dashboards-structure": "Projektowanie struktury pulpitów…", + "step-loading-designing-dashboards-states": "Projektowanie stanów pulpitów…", + "step-loading-designing-widgets": "Projektowanie widżetów…", + "step-loading-adding-finishing-touches": "Dodawanie ostatnich szlifów…", + "step-loading-evaluating-solution-changes": "Ocenianie zmian w rozwiązaniu…", + "step-loading-reevaluating-use-cases": "Ponowne ocenianie przypadków użycia…", + "step-loading-finalizing": "Finalizowanie…", + "step-loading-creating-entities": "Tworzenie obiektów…", + "step-loading-configuring-devices": "Konfigurowanie urządzeń…", + "step-loading-setting-up-relations": "Konfigurowanie relacji…", + "step-loading-structuring-access-controls": "Porządkowanie kontroli dostępu…", + "step-loading-building-calculated-fields": "Tworzenie pól obliczeniowych…", + "step-loading-building-alarm-rules": "Tworzenie reguł alarmów…", + "step-loading-assembling-dashboards": "Składanie pulpitów…", + "step-loading-preparing-states": "Przygotowywanie stanów…", + "step-loading-initializing-solution": "Inicjowanie rozwiązania…", + "ai-credits": "Kredyty AI", + "ai-credits-update": "Zmień plan", + "ai-credits-usage": "Kredyty AI: wykorzystano {{ used }} z {{ max }}", + "ai-credits-description": "W tym miesiącu wykorzystano {{ used }} z {{ max }} Twoich kredytów AI. Limit zostanie zresetowany {{ date }}. Aby zwiększyć limit kredytów AI, skontaktuj się z administratorem systemu." }, "markdown": { "edit": "Edytuj", @@ -6265,32 +11412,35 @@ "copied": "Skopiowano!" }, "white-labeling": { - "white-labeling": "Dostosuj wygląd", - "white-labeling-general": "Dostosuj ogólny wygląd", - "login-white-labeling": "Zaloguj się do dodtosowywania wyglądu", - "general": "Ogólny", - "login": "Zaloguj sie", + "white-labeling": "Branding", + "white-labeling-general": "Ogólny branding", + "login-white-labeling": "Branding strony logowania", + "general": "Ogólne", + "login": "Logowanie", "preview": "Podgląd", "app-title": "Tytuł aplikacji", "favicon": "Ikona strony internetowej", - "favicon-description": "Obraz *.ico, *.gif lub *.png o maksymalnym rozmiarze {{kbSize}} KB.", - "favicon-size-error": "Obraz witryny jest za duży. {{kbSize}} KB.", - "favicon-type-error": "Nieprawidłowy format pliku obrazu witryny internetowej. ", - "drop-favicon-image": "Upuść obraz ikony witryny internetowej lub kliknij, aby wybrać plik do przesłania.", - "drop-favicon-image-or": "Przeciągnij i upuść obraz ikony witryny internetowej lub", - "no-favicon-image": "Nie wybrano żadnej ikony", + "favicon-desc": "Ikona na karcie przeglądarki i w zakładkach. PNG lub ICO, zalecany rozmiar 32×32 px", "logo": "Logo", - "logo-description": "Dowolny obraz o maksymalnym rozmiarze {{kbSize}} KB.", - "logo-size-error": "Obraz logo jest za duży. {{kbSize}} KB.", - "logo-type-error": "Nieprawidłowy format pliku logo. ", - "drop-logo-image": "Upuść obraz logo lub kliknij, aby wybrać plik do przesłania.", - "drop-logo-image-or": "Przeciągnij i upuść obraz logo lub", - "no-logo-image": "Nie wybrano logo", + "logo-desc": "SVG lub PNG, wysokość co najmniej 96px, do 200 KB", "logo-height": "Wysokość logo, px", + "logo-height-desc": "Skaluje logo proporcjonalnie i wyśrodkowuje je. W przypadku wysokich logo zwiększ wysokość (do 200px)", + "collapsed-logo": "Logo zwiniętego paska bocznego", + "collapsed-logo-desc": "Kwadratowy obraz SVG lub PNG, co najmniej 48×48 px, do 100 KB", + "appearance": "Wygląd", + "application-shell": "Powłoka aplikacji", + "application-shell-desc": "Wybierz, jak kolor podstawowy jest stosowany do paska bocznego, paska aplikacji i nagłówków stron", + "light": "Jasny", + "primary": "Podstawowy", "primary-palette": "Podstawowa paleta", + "primary-palette-desc": "Główny kolor marki. Pasek boczny, pasek aplikacji, nagłówki stron, przyciski, linki i aktywne elementy menu", "accent-palette": "Paleta akcentów", + "accent-palette-desc": "Pola wyboru, przyciski opcji, przełączniki, suwaki, paski postępu i plakietki", "customize-palette": "Dostosuj", "advanced-css": "Zaawansowany CSS", + "advanced-css-desc": "Niestandardowy CSS do precyzyjnego dostosowania dowolnego elementu interfejsu poza paletami — ikon, czcionek, teł, pasków przewijania i innych. Zmiany obowiązują na całej platformie, więc używaj go ostrożnie. Dla zaawansowanych użytkowników", + "add-custom-css": "Dodaj niestandardowy CSS", + "edit-custom-css": "Edytuj niestandardowy CSS", "edit-palette": "Edytuj paletę", "save-palette": "Zapisz paletę", "primary-background": "Podstawowe tło", @@ -6299,79 +11449,282 @@ "hue2": "ODCIEŃ 2", "hue3": "ODCIEŃ 3", "page-background-color": "Kolor tła strony", + "page-background-color-desc": "Wypełnia główny obszar treści za stronami", "dark-foreground": "Ciemny pierwszy plan", + "dark-foreground-desc": "Przyciemnia tekst i ikony na stronie logowania. Używaj przy jasnym tle", "domain-name": "Nazwa domeny", "base-url": "Bazowy adres URL", "prohibit-different-url": "Zabroń używania nazwy hosta z nagłówków żądań klienta", - "prohibit-different-url-hint": "To ustawienie powinno być włączone w środowiskach produkcyjnych. Może powodować problemy bezpiczeństwa w przypadku wyłączenia", + "prohibit-different-url-hint": "To ustawienie powinno być włączone w środowiskach produkcyjnych. Po wyłączeniu może powodować problemy z bezpieczeństwem", "help-link-base-url": "Bazowy adres URL linków pomocy", + "help-link-base-url-desc": "Bazowy adres URL Twojego zewnętrznego portalu dokumentacji. Tutaj użytkownicy są przekierowywani do szczegółowych przewodników", "ui-help-base-url": "Bazowy adres URL pomocy interfejsu użytkownika", + "ui-help-base-url-desc": "Adres URL repozytorium źródłowego, z którego system dynamicznie pobiera i wyświetla krótkie podpowiedzi w aplikacji", "enable-help-links": "Włącz linki pomocy", + "enable-help-links-desc": "Wyświetla kontekstowe ikony pomocy (?) w całym interfejsie platformy", "error-verification-url": "Nazwa domeny nie powinna zawierać symboli „/” i „:”. Przykład: thingsboard.io", + "show-connectivity-dialog": "Pokaż okno dialogowe łączności", + "show-connectivity-dialog-desc": "Wyświetla okno dialogowe łączności urządzenia z instrukcjami połączenia po utworzeniu urządzenia", + "override-trendz-add-on-name": "Zastąp nazwę dodatku analitycznego Trendz", + "override-trendz-add-on-name-desc": "Zmienia nazwę dodatku „Trendz” na „Zaawansowana analityka” na całej platformie", + "show-platform-name-version-bottom-left-corner": "Pokaż nazwę i wersję platformy w lewym dolnym rogu", "show-platform-name-version": "Pokaż nazwę i wersję platformy", "platform-name": "Nazwa platformy", - "platform-version": "Wersja platformowa", + "platform-version": "Wersja platformy", "version-mask": "{{name}} v.{{version}}", "position": { - "label": "Nazwa platformy i pozycja wersji", + "label": "Położenie nazwy i wersji platformy", "under-logo": "Pod logo", "bottom": "Na dole formularza logowania" }, - "base-url-required": "Podstawowy adres URL jest wymagany." - }, - "widgets":{ - "background":{ - "background":"Tło", - "background-settings":"Ustawienia tła", - "background-type-image":"Obraz", - "background-type-color":"Kolor", - "image-url":"URL obrazu", - "overlay":"Nakładka", - "enable-overlay":"Włącz nakładkę", - "blur":"Rozmycie", - "preview":"Podgląd" - }, - "bar-chart":{ - "bar-appearance":"Wygląd słupka", - "label-on-bar":"Etykieta na słupku", - "value-on-bar":"Wartość na słupku", - "bar-chart-style":"Styl wykresu słupkowego" + "reset-white-label-title": "Czy na pewno chcesz zresetować ustawienia brandingu do wartości domyślnych?", + "reset-white-label-text": "Uwaga, po potwierdzeniu wszystkie dostosowane ustawienia zostaną utracone i nie będzie można ich odzyskać.", + "reset-login-white-label-title": "Czy na pewno chcesz zresetować ustawienia brandingu strony logowania do wartości domyślnych?", + "reset-login-white-label-text": "Uwaga, po potwierdzeniu wszystkie dostosowane ustawienia zostaną utracone i nie będzie można ich odzyskać.", + "app-title-max-length": "Tytuł aplikacji powinien mieć mniej niż 256 znaków", + "logo-and-titles": "Logo i tytuły", + "interface-options": "Opcje interfejsu", + "domain": "Domena", + "base-url-required": "Bazowy adres URL jest wymagany" + }, + "widgets": { + "mobile-app-qr-code": { + "configuration-hint": "Konfiguracja zależy od widżetu kodu QR aplikacji mobilnej w głównych ustawieniach platformy", + "get-it-on-google-play": "Pobierz z Google Play", + "download-on-the-app-store": "Pobierz z App Store" + }, + "action-button": { + "behavior": "Zachowanie", + "on-click": "Po kliknięciu", + "on-click-hint": "Akcja wywoływana po kliknięciu przycisku", + "first-button-click": "Kliknięcie pierwszego przycisku", + "first-button-click-hint": "Akcja po naciśnięciu pierwszego przycisku.", + "second-button-click": "Kliknięcie drugiego przycisku", + "second-button-click-hint": "Akcja po naciśnięciu drugiego przycisku.", + "button-click-hint": "Akcja po naciśnięciu widżetu." + }, + "command-button": { + "behavior": "Zachowanie", + "on-click": "Po kliknięciu", + "on-click-hint": "Akcja wykonywana po kliknięciu przycisku." + }, + "power-button": { + "behavior": "Zachowanie", + "power-on": "Włączenie zasilania", + "power-on-hint": "Akcja wykonywana w celu włączenia komponentu.", + "power-off": "Wyłączenie zasilania", + "power-off-hint": "Akcja wykonywana w celu wyłączenia komponentu.", + "on-label": "Wł.", + "off-label": "Wył.", + "layout": "Układ", + "layout-default": "Domyślny", + "layout-simplified": "Uproszczony", + "layout-outlined": "Konturowy", + "layout-default-volume": "Domyślny.Przestrzenny", + "layout-simplified-volume": "Uproszczony.Przestrzenny", + "layout-outlined-volume": "Konturowy.Przestrzenny", + "layout-default-icon": "Domyślny.Ikona", + "layout-simplified-icon": "Uproszczony.Ikona", + "layout-outlined-icon": "Konturowy.Ikona", + "main": "Kolor główny", + "background": "Kolor kontrastowy", + "button-icon-on": "Ikona przycisku „Wł.”", + "button-icon-off": "Ikona przycisku „Wył.”", + "power-on-colors": "Kolory stanu „Wł.”", + "power-off-colors": "Kolory stanu „Wył.”", + "disabled-colors": "Kolory stanu wyłączonego", + "button": "Przycisk" + }, + "toggle-button": { + "behavior": "Zachowanie", + "checked": "Zaznaczony", + "unchecked": "Niezaznaczony", + "check": "Włącz", + "check-hint": "Akcja wykonywana w celu włączenia komponentu.", + "uncheck": "Wyłącz", + "uncheck-hint": "Akcja wykonywana w celu wyłączenia komponentu.", + "auto-scale": "Automatyczne skalowanie", + "horizontal-fill": "Wypełnienie poziome", + "vertical-fill": "Wypełnienie pionowe", + "button-appearance": "Wygląd przycisku" + }, + "segmented-button": { + "layout": "Układ", + "layout-squared": "Kwadratowy", + "layout-rounded": "Zaokrąglony", + "card-border": "Obramowanie karty", + "button-appearance": "Wygląd przycisku", + "first": "Pierwszy", + "second": "Drugi", + "color-styles": "Style kolorów", + "selected": "Wybrany", + "unselected": "Niewybrany" + }, + "button": { + "layout": "Układ", + "outlined": "Z obramowaniem", + "filled": "Wypełniony", + "underlined": "Podkreślony", + "basic": "Podstawowy", + "auto-scale": "Automatyczne skalowanie", + "label": "Etykieta", + "icon": "Ikona", + "border-radius": "Promień obramowania", + "color-palette": "Paleta kolorów", + "main": "Kolor główny", + "background": "Kolor kontrastowy", + "border": "Obramowanie", + "custom-styles": "Style niestandardowe", + "clear-style": "Wyczyść styl", + "shadow": "Cień", + "enabled": "Włączony", + "disabled": "Wyłączony", + "preview": "Podgląd", + "copy-style-from": "Kopiuj styl z" + }, + "value-stepper": { + "behavior": "Zachowanie", + "simplified": "Uproszczony", + "filled": "Wypełniony", + "outlined": "Z obramowaniem", + "volume": "Przestrzenny", + "initial-state": "Stan początkowy", + "initial-state-hint": "Akcja pobierająca wartość początkową.", + "disabled-state": "Stan wyłączony", + "disabled-state-hint": "Skonfiguruj warunek, przy którym komponent jest wyłączony.", + "right-button-click": "Kliknięcie prawego przycisku", + "right-button-click-hint": "Akcja po naciśnięciu prawego przycisku.", + "left-button-click": "Kliknięcie lewego przycisku", + "left-button-click-hint": "Akcja po naciśnięciu lewego przycisku.", + "auto-scale": "Automatyczne skalowanie", + "value-range": "Zakres", + "min-range": "Min.", + "max-range": "Maks.", + "value-increment-decrement-step": "Krok zwiększania/zmniejszania wartości", + "value": "Wartość", + "value-box-background": "Tło pola wartości", + "border": "Obramowanie", + "button-appearance": "Wygląd przycisku", + "left": "Po lewej", + "right": "Po prawej", + "left-button": "Lewy przycisk", + "right-button": "Prawy przycisk", + "icon": "Ikona", + "color-palette": "Paleta kolorów", + "main": "Kolor główny", + "background": "Kolor kontrastowy", + "button-icon-on": "Ikona przycisku „Wł.”", + "button-on-colors": "Kolory zasilania „Wł.”", + "disabled-colors": "Kolory stanu wyłączonego" + }, + "button-state": { + "activated-state": "Stan aktywowany", + "activated-state-hint": "Skonfiguruj warunek, przy którym przycisk jest aktywny.", + "disabled-state": "Stan wyłączony", + "disabled-state-hint": "Skonfiguruj warunek, przy którym przycisk jest wyłączony.", + "selected-state": "Wybór przycisku", + "selected-state-hint": "Skonfiguruj warunek, przy którym przycisk jest wybrany.", + "enabled": "Włączony", + "hovered": "Po najechaniu", + "pressed": "Wciśnięty", + "activated": "Aktywowany", + "disabled": "Wyłączony", + "initial": "Pierwszy przycisk", + "first": "Pierwszy", + "second": "Drugi" + }, + "background": { + "background": "Tło", + "background-settings": "Ustawienia tła", + "background-type-image": "Obraz", + "background-type-color": "Kolor", + "image-url": "URL obrazu", + "overlay": "Nakładka", + "enable-overlay": "Włącz nakładkę", + "blur": "Rozmycie", + "preview": "Podgląd" + }, + "bar-chart": { + "bar-appearance": "Wygląd słupka", + "label-on-bar": "Etykieta na słupku", + "value-on-bar": "Wartość na słupku", + "bar-chart-style": "Styl wykresu słupkowego", + "bar-axis": "Oś słupków" + }, + "polar-area-chart": { + "polar-axis": "Oś biegunowa", + "start-angle": "Kąt początkowy", + "polar-area-chart-style": "Styl wykresu biegunowego obszarowego" }, "battery-level": { - "layout": "Layout", - "layout-vertical-solid": "Vertical. Solid", - "layout-horizontal-solid": "Horizontal. Solid", - "layout-vertical-divided": "Vertical. Divided", - "layout-horizontal-divided": "Horizontal. Divided", - "icon": "Icon", - "value": "Value", - "auto-scale": "Auto scale", - "battery-level-color": "Battery level color", - "battery-shape-color": "Battery shape color", - "battery-level-card-style": "Battery level card style" + "layout": "Układ", + "layout-vertical-solid": "Pionowy. Jednolity", + "layout-horizontal-solid": "Poziomy. Jednolity", + "layout-vertical-divided": "Pionowy. Podzielony", + "layout-horizontal-divided": "Poziomy. Podzielony", + "icon": "Ikona", + "value": "Wartość", + "auto-scale": "Automatyczne skalowanie", + "battery-level-color": "Kolor poziomu baterii", + "battery-shape-color": "Kolor kształtu baterii", + "battery-level-card-style": "Styl karty poziomu baterii", + "sections-count": "Liczba sekcji" + }, + "signal-strength": { + "value": "Wartość", + "last-update": "Ostatnia aktualizacja", + "no-signal": "Brak sygnału", + "layout": "Układ", + "layout-wifi": "Wi-Fi", + "layout-cellular-bar": "Pasek sieci komórkowej", + "icon": "Ikona", + "date": "Data", + "active-bars-color": "Kolor aktywnych słupków sygnału", + "inactive-bars-color": "Kolor nieaktywnych słupków sygnału", + "signal-strength-card-style": "Styl karty siły sygnału", + "no-signal-rssi-value": "Wartość RSSI dla „Brak sygnału”" + }, + "status-widget": { + "behavior": "Zachowanie", + "layout": "Układ", + "layout-default": "Domyślny", + "layout-center": "Wyśrodkowany", + "layout-icon": "Ikona", + "on": "Włączony", + "off": "Wyłączony", + "label": "Etykieta", + "status": "Status", + "icon": "Ikona", + "color-palette": "Paleta kolorów", + "disabled-color-palette": "Paleta kolorów w stanie wyłączonym", + "primary": "Podstawowy", + "primary-color-hint": "Kolor ikony i etykiety", + "secondary": "Pomocniczy", + "secondary-color-hint": "Kolor statusu", + "background": "Tło" }, "chart": { "common-settings": "Wspólne ustawienia", - "enable-stacking-mode": "Włącz tryb układania", - "selection": "Time range selection", - "enable-selection-mode": "Enable selection mode", + "enable-stacking-mode": "Włącz tryb skumulowany", + "selection": "Wybór zakresu czasu", + "enable-selection-mode": "Włącz tryb zaznaczania", "line-shadow-size": "Rozmiar cienia linii", "display-smooth-lines": "Wyświetl gładkie (zakrzywione) linie", - "default-bar-width": "Domyślna szerokość paska dla danych niezagregowanych (milisekundy)", - "bar-alignment": "Wyrównanie paska", + "default-bar-width": "Domyślna szerokość słupka dla danych niezagregowanych (milisekundy)", + "bar-alignment": "Wyrównanie słupka", "bar-alignment-left": "Do lewej", "bar-alignment-right": "Do prawej", - "bar-alignment-center": "Do środka", - "default-font": "Default font", + "bar-alignment-center": "Na środku", + "default-font": "Domyślna czcionka", "default-font-size": "Domyślny rozmiar czcionki", "default-font-color": "Domyślny kolor czcionki", "thresholds-line-width": "Domyślna szerokość linii dla wszystkich progów", "tooltip-settings": "Ustawienia podpowiedzi", - "tooltip": "Tooltip", + "tooltip": "Podpowiedź", "show-tooltip": "Pokaż podpowiedź", - "hover-individual-points": "Najedź kursorem na poszczególne punkty", - "show-cumulative-values": "Pokaż wartości skumulowane w trybie układania", - "hide-zero-false-values": "Ukryj wartości zerowe/fałszywe w podpowiedzi", + "hover-individual-points": "Podpowiedź dla pojedynczych punktów", + "show-cumulative-values": "Pokaż wartości skumulowane w trybie skumulowanym", + "hide-zero-false-values": "Ukryj w podpowiedzi wartości zerowe i „fałsz”", "tooltip-value-format-function": "Funkcja formatu wartości podpowiedzi", "grid-settings": "Ustawienia siatki", "show-vertical-lines": "Pokaż pionowe linie", @@ -6401,12 +11754,12 @@ "time-for-comparison-years": "Rok temu", "time-for-comparison-custom-interval": "Niestandardowy interwał", "custom-interval-value": "Niestandardowa wartość interwału (ms)", - "comparison-x-axis-settings": "Porównanie ustawień osi X", + "comparison-x-axis-settings": "Ustawienia osi X porównania", "axis-position": "Pozycja osi", "axis-position-top": "Góra (domyślnie)", - "axis-position-bottom": "Spód", + "axis-position-bottom": "Dół", "custom-legend-settings": "Niestandardowe ustawienia legendy", - "enable-custom-legend": "Włącz niestandardową legendę (pozwoli to na użycie wartości atrybutów/szeregów czasowych w kluczowych etykietach)", + "enable-custom-legend": "Włącz niestandardową legendę (pozwoli to na użycie wartości atrybutów/szeregów czasowych w etykietach kluczy)", "key-name": "Nazwa klucza", "key-name-required": "Nazwa klucza jest wymagana", "key-type": "Typ klucza", @@ -6420,98 +11773,175 @@ "data-is-hidden-by-default": "Dane są domyślnie ukryte", "disable-data-hiding": "Wyłącz ukrywanie danych", "remove-from-legend": "Usuń klucz danych z legendy", - "exclude-from-stacking": "Wyklucz z układania (dostępne w trybie \"Układanie\")", + "exclude-from-stacking": "Wyklucz ze skumulowania (dostępne w trybie „Skumulowany”)", "line-settings": "Ustawienia linii", "show-line": "Pokaż linię", "fill-line": "Wypełnij linię", - "fill-line-opacity": "Wypełnij krycie", + "fill-line-opacity": "Krycie wypełnienia", "points-settings": "Ustawienia punktów", "show-points": "Pokaż punkty", "points-line-width": "Szerokość linii punktów", "points-radius": "Promień punktów", - "point-shape": "Kształt punktowy", + "point-shape": "Kształt punktu", "point-shape-circle": "Koło", "point-shape-cross": "Krzyż", - "point-shape-diamond": "Diament", + "point-shape-diamond": "Romb", "point-shape-square": "Kwadrat", "point-shape-triangle": "Trójkąt", "point-shape-custom": "Funkcja niestandardowa", "point-shape-draw-function": "Funkcja rysowania kształtu punktu", "show-separate-axis": "Pokaż osobną oś", - "axis-position-left": "Lewy", - "axis-position-right": "Prawy", + "axis-position-left": "Po lewej", + "axis-position-right": "Po prawej", "thresholds": "Progi", "no-thresholds": "Nie skonfigurowano żadnych progów", "add-threshold": "Dodaj nowy próg", "show-values-for-comparison": "Pokaż wartości historyczne dla porównania", "comparison-values-label": "Etykieta wartości historycznych", - "comparison-line-color": "Comparison line color", + "comparison-line-color": "Kolor linii porównania", "threshold-settings": "Ustawienia progów", "use-as-threshold": "Użyj wartości klucza jako progu", "threshold-line-width": "Szerokość linii progu", "threshold-color": "Kolor progu", - "common-pie-settings": "Typowe ustawienia ciast", + "common-pie-settings": "Wspólne ustawienia wykresu kołowego", "radius": "Promień", "inner-radius": "Promień wewnętrzny", "tilt": "Nachylenie", - "common-pie-settings-range-error": "Value should be in range from 0 to 1", - "stroke-settings": "Ustawienia soku", + "common-pie-settings-range-error": "Wartość powinna mieścić się w zakresie od 0 do 1", + "stroke-settings": "Ustawienia obrysu", "width-pixels": "Szerokość (piksele)", "show-labels": "Pokaż etykiety", "animation-settings": "Ustawienia animacji", - "animated-pie": "Włącz animację kołową (eksperymentalnie)", + "animated-pie": "Włącz animację wykresu kołowego (eksperymentalna)", "border-settings": "Ustawienia obramowania", - "border-width": "Szerokość granicy", - "border-color": "Kolor ramki", + "border-width": "Szerokość obramowania", + "border-color": "Kolor obramowania", "legend-settings": "Ustawienia legendy", "display-legend": "Wyświetl legendę", "labels-font-color": "Kolor czcionki etykiet", - "series": "Series", - "add-series": "Add series", - "series-settings": "Series settings", - "remove-series": "Remove series", - "no-series": "No series configured", - "no-series-error": "At least one series should be specified", - "chart-appearance": "Chart appearance", - "vertical-grid-lines": "Vertical grid lines", - "horizontal-grid-lines": "Horizontal grid lines", - "chart-background": "Chart background", - "grid-lines-color": "Grid lines color", - "border": "Border", - "axis": "Axis", - "vertical-axis": "Vertical axis", - "ticks": "Ticks", - "horizontal-axis": "Horizontal axis" + "series": "Serie", + "add-series": "Dodaj serię", + "series-settings": "Ustawienia serii", + "remove-series": "Usuń serię", + "no-series": "Nie skonfigurowano żadnych serii", + "no-series-error": "Należy określić co najmniej jedną serię", + "chart-appearance": "Wygląd wykresu", + "vertical-grid-lines": "Pionowe linie siatki", + "horizontal-grid-lines": "Poziome linie siatki", + "chart-background": "Tło wykresu", + "grid-lines-color": "Kolor linii siatki", + "border": "Obramowanie", + "axis": "Oś", + "vertical-axis": "Oś pionowa", + "ticks": "Znaczniki osi", + "horizontal-axis": "Oś pozioma", + "shape-empty-circle": "Puste koło", + "shape-circle": "Koło", + "shape-rect": "Prostokąt", + "shape-round-rect": "Zaokrąglony prostokąt", + "shape-triangle": "Trójkąt", + "shape-diamond": "Romb", + "shape-pin": "Pinezka", + "shape-arrow": "Strzałka", + "shape-none": "Brak", + "line-type-solid": "Ciągła", + "line-type-dashed": "Kreskowana", + "line-type-dotted": "Kropkowana", + "label-position-top": "Na górze", + "label-position-bottom": "Na dole", + "label-position-outside": "Na zewnątrz", + "label-position-inside": "Wewnątrz", + "fill": "Wypełnienie", + "fill-type-none": "Brak", + "fill-type-solid": "Jednolite", + "fill-type-opacity": "Krycie", + "fill-type-gradient": "Gradient", + "background": "Tło", + "opacity": "Krycie", + "gradient-stops": "Punkty gradientu", + "gradient-start": "początek", + "gradient-end": "koniec", + "animation": { + "animation": "Animacja", + "animation-threshold": "Próg animacji", + "animation-duration": "Czas trwania animacji", + "animation-easing": "Wygładzanie animacji", + "animation-delay": "Opóźnienie animacji", + "update-animation-duration": "Czas trwania animacji aktualizacji", + "update-animation-easing": "Wygładzanie animacji aktualizacji", + "update-animation-delay": "Opóźnienie animacji aktualizacji" + }, + "chart-axis": { + "limit": "Limit", + "source": "Źródło", + "key-value": "Klucz / Wartość", + "value-required": "Wartość jest wymagana.", + "entity-key-required": "Klucz obiektu jest wymagany.", + "key-required": "Klucz jest wymagany.", + "scale-limits": "Limity skali", + "scale-appearance": "Wygląd skali", + "scale": "Skala", + "scale-min": "Min.", + "scale-max": "Maks.", + "scale-auto": "Automatycznie" + }, + "bar": { + "show-border": "Pokaż obramowanie", + "border-width": "Szerokość obramowania", + "border-radius": "Promień obramowania", + "bar-width": "Szerokość słupka", + "label": "Etykieta", + "label-hint": "Wyświetl etykietę nad słupkiem.", + "series-label-hint": "Wyświetl etykietę z wartością nad słupkiem.", + "label-background": "Tło etykiety" + } }, "color": { - "color-settings": "Color settings", - "color-type-constant": "Constant", - "color-type-range": "Range", - "color-type-function": "Function", - "color": "Color", - "value-range": "Value range", - "from": "From", - "to": "To", - "color-function": "Color function" + "color-settings": "Ustawienia koloru", + "color-type-constant": "Stały", + "color-type-gradient": "Gradient", + "color-type-range": "Zakres", + "color-type-function": "Funkcja", + "color": "Kolor", + "value-range": "Zakres wartości", + "from": "Od", + "to": "Do", + "color-function": "Funkcja koloru", + "copy-color-settings-from": "Kopiuj ustawienia koloru z", + "copy-from": "Kopiuj z", + "settings-type": "Typ ustawień", + "basic-mode": "Podstawowy", + "advanced-mode": "Zaawansowany", + "entity-alias": "Alias obiektu", + "entity-attribute": "Atrybut obiektu", + "gradient-color": "Kolor gradientu", + "gradient-color-min": "Kolor", + "gradient-start": "Kolor początkowy gradientu", + "gradient-start-min": "Początek", + "gradient-end": "Kolor końcowy gradientu", + "gradient-end-min": "Koniec", + "start-value": "Wartość początkowa", + "end-value": "Wartość końcowa", + "gradient-type": "Typ gradientu" }, "dashboard-state": { - "dashboard-state-settings": "Ustawienia stanu panelu", - "dashboard-state": "Identyfikator stanu panelu", - "autofill-state-layout": "Dopełnienie do wysokości strony - domyślnie", + "dashboard-state-settings": "Ustawienia stanu pulpitu", + "dashboard-state": "Identyfikator stanu pulpitu", + "autofill-state-layout": "Domyślnie wypełniaj wysokość układu stanu", "default-margin": "Domyślny margines widżetów", "default-background-color": "Domyślny kolor tła", - "sync-parent-state-params": "Synchronizuj parametry stanu z nadrzędnym panelem" + "sync-parent-state-params": "Synchronizuj parametry stanu z nadrzędnym pulpitem" }, "date-range-navigator": { "date-range-picker-settings": "Ustawienia selektora zakresu dat", "hide-date-range-picker": "Ukryj selektor zakresu dat", "picker-one-panel": "Selektor zakresu dat w jednym panelu", "picker-auto-confirm": "Automatyczne potwierdzenie wyboru zakresu dat", - "picker-show-template": "Szablon pokaż selektor zakresu dat", + "picker-show-template": "Pokaż szablony w selektorze zakresu dat", "first-day-of-week": "Pierwszy dzień tygodnia", "interval-settings": "Ustawienia interwałów", "hide-interval": "Ukryj interwał", - "initial-interval": "Początkowy odstęp", + "initial-interval": "Początkowy interwał", "interval-hour": "Godzina", "interval-day": "Dzień", "interval-week": "Tydzień", @@ -6559,13 +11989,13 @@ "Date Range Template": "Szablon zakresu dat", "Today": "Dzisiaj", "Yesterday": "Wczoraj", - "This Week": "W tym tygodniu", + "This Week": "Ten tydzień", "Last Week": "Zeszły tydzień", "This Month": "Ten miesiąc", - "Last Month": "W zeszłym miesiącu", + "Last Month": "Zeszły miesiąc", "Year": "Rok", - "This Year": "W tym roku", - "Last Year": "Ostatni rok", + "This Year": "Ten rok", + "Last Year": "Zeszły rok", "Date picker": "Selektor dat", "Hour": "Godzina", "Day": "Dzień", @@ -6580,16 +12010,24 @@ "Ok": "OK" } }, + "doughnut": { + "doughnut-appearance": "Wygląd wykresu pierścieniowego", + "layout": "Układ", + "layout-default": "Domyślny", + "layout-with-total": "Z sumą", + "central-total-value": "Wartość łączna w środku", + "doughnut-card-style": "Styl karty wykresu pierścieniowego" + }, "entities-hierarchy": { "hierarchy-data-settings": "Ustawienia danych hierarchii", "relations-query-function": "Funkcja zapytania o relacje węzłów", - "has-children-function": "Węzeł ma funkcję potomną", + "has-children-function": "Funkcja sprawdzająca, czy węzeł ma elementy podrzędne", "node-state-settings": "Ustawienia stanu węzła", "node-opened-function": "Domyślna funkcja otwierania węzła", - "node-disabled-function": "Funkcja węzła wyłączona", + "node-disabled-function": "Funkcja wyłączenia węzła", "display-settings": "Ustawienia wyświetlania", "node-icon-function": "Funkcja ikony węzła", - "node-text-function": "Funkcja tekstowa węzła", + "node-text-function": "Funkcja tekstu węzła", "sort-settings": "Ustawienia sortowania", "nodes-sort-function": "Funkcja sortowania węzłów" }, @@ -6597,35 +12035,40 @@ "display-default-title": "Wyświetl tytuł domyślny" }, "gateway": { - "general-settings": "Ustawienia główne", - "widget-title": "Tytul widzeta", + "general-settings": "Ustawienia ogólne", + "widget-title": "Tytuł widżetu", "default-archive-file-name": "Domyślna nazwa pliku archiwum", - "device-type-for-new-gateway": "Typ urządzenia dla nowej bramy", + "device-type-for-new-gateway": "Typ urządzenia dla nowego urządzenia Gateway", "messages-settings": "Ustawienia wiadomości", - "save-config-success-message": "Wiadomość SMS o pomyślnym zapisaniu konfiguracji bramy", - "device-name-exists-message": "Wiadomość SMS, gdy urządzenie o podanej nazwie już istnieje", - "gateway-title": "Formularz bramy", + "save-config-success-message": "Tekst komunikatu o pomyślnym zapisaniu konfiguracji Gateway", + "device-name-exists-message": "Tekst komunikatu, gdy urządzenie o podanej nazwie już istnieje", + "gateway-title": "Formularz Gateway", "read-only": "Tylko do odczytu", - "events-title": "Tytuł formularza zdarzenia bramy", + "events-title": "Tytuł formularza zdarzeń Gateway", "events-filter": "Filtr zdarzeń", "event-key-contains": "Klucz zdarzenia zawiera...", - "show-connector": "Show for the connector", - "connector-state-param-key": "Connector state parameter key", - "message": "Message", - "created-time": "Created time" + "show-connector": "Pokaż dla konektora", + "connector-state-param-key": "Klucz parametru stanu konektora", + "message": "Wiadomość", + "level": "Poziom", + "created-time": "Czas utworzenia" }, "gauge": { "default-color": "Domyślny kolor", - "radial-gauge-settings": "Ustawienia miernika promieniowego", + "radial-gauge-settings": "Ustawienia miernika kołowego", "ticks-settings": "Ustawienia znaczników", "min-value": "Minimalna wartość", "max-value": "Maksymalna wartość", + "min-value-short": "min.", + "max-value-short": "maks.", "start-ticks-angle": "Startowy kąt znaczników", "ticks-angle": "Kąt znaczników", + "major-ticks": "Główne znaczniki", "major-ticks-count": "Liczba głównych znaczników", "major-ticks-color": "Kolor głównych znaczników", - "minor-ticks-count": "Liczba pobocznych znaczników", - "minor-ticks-color": "Kolor pobocznych znaczników", + "minor-ticks": "Pomocnicze znaczniki", + "minor-ticks-count": "Liczba pomocniczych znaczników", + "minor-ticks-color": "Kolor pomocniczych znaczników", "tick-numbers-font": "Czcionka liczb znaczników", "unit-title-settings": "Ustawienia tytułu jednostki", "show-unit-title": "Pokaż tytuł jednostki", @@ -6635,8 +12078,15 @@ "units-font": "Czcionka tekstu jednostki", "value-box-settings": "Ustawienia pola wartości", "show-value-box": "Pokaż pole wartości", + "value-box": "Pole wartości", "value-int": "Liczba cyfr całkowitej części wartości", - "value-font": "Wartość czcionki tekstu", + "value-text": "Tekst wartości", + "value-text-shadow": "Cień tekstu wartości", + "value-font": "Czcionka tekstu wartości", + "rect-stroke-color-start": "Kolor obrysu prostokąta - początek gradientu", + "rect-stroke-color-end": "Kolor obrysu prostokąta - koniec gradientu", + "background-color": "Kolor tła", + "shadow-color": "Kolor cienia", "value-box-rect-stroke-color": "Kolor obrysu prostokąta pola wartości", "value-box-rect-stroke-color-end": "Kolor obrysu prostokąta pola wartości — koniec gradientu", "value-box-background-color": "Kolor tła pola wartości", @@ -6644,12 +12094,13 @@ "plate-settings": "Ustawienia tarczy", "show-plate-border": "Pokaż obramowanie tarczy", "plate-color": "Kolor tarczy", - "needle-settings": "Ustawienia igły", - "needle-circle-size": "Rozmiar okręgu igły", - "needle-color": "Kolor igły", - "needle-color-end": "Kolor igły - gradient końcowy", - "needle-color-shadow-up": "Górna połowa koloru cienia igły", - "needle-color-shadow-down": "Kolor igły w cieniu", + "needle-settings": "Ustawienia wskazówki", + "needle-circle-size": "Rozmiar koła wskazówki", + "needle-color": "Kolor wskazówki", + "needle-color-start": "Kolor wskazówki - początek gradientu", + "needle-color-end": "Kolor wskazówki - koniec gradientu", + "needle-color-shadow-up": "Kolor cienia górnej połowy wskazówki", + "needle-color-shadow-down": "Cień rzucany", "highlights-settings": "Ustawienia wyróżnień", "highlights-width": "Szerokość wyróżnień", "highlights": "Wyróżnienia", @@ -6660,46 +12111,53 @@ "add-highlight": "Dodaj wyróżnienie", "animation-settings": "Ustawienia animacji", "enable-animation": "Włącz animację", + "animation-duration-rule": "Czas trwania i reguła animacji", "animation-duration": "Czas trwania animacji", - "animation-rule": "Zasada animacji", + "animation-rule": "Reguła animacji", "animation-linear": "Liniowa", - "animation-quad": "Kwadrat", - "animation-quint": "Kwinta", + "animation-quad": "Kwadratowa", + "animation-quint": "Piątego stopnia", "animation-cycle": "Cykl", "animation-bounce": "Odbicie", - "animation-elastic": "Elastyczny", - "animation-dequad": "Dekwadrat", - "animation-dequint": "Dekwinta", - "animation-decycle": "Decykl", - "animation-debounce": "Deodbicie", - "animation-delastic": "Delastyczny", + "animation-elastic": "Elastyczna", + "animation-dequad": "Kwadratowa odwrócona", + "animation-dequint": "Piątego stopnia odwrócona", + "animation-decycle": "Cykl odwrócony", + "animation-debounce": "Odbicie odwrócone", + "animation-delastic": "Elastyczna odwrócona", "linear-gauge-settings": "Ustawienia miernika liniowego", + "bar-stroke": "Obrys paska", "bar-stroke-width": "Szerokość obrysu paska", "bar-stroke-color": "Kolor obrysu paska", - "bar-background-color": "Kolor tła paska wskaźników", + "bar-background-color": "Kolor tła paska - początek gradientu", "bar-background-color-end": "Kolor tła paska - koniec gradientu", "progress-bar-color": "Kolor paska postępu", + "progress-bar": "Pasek postępu", + "progress-bar-color-start": "Kolor paska postępu - początek gradientu", "progress-bar-color-end": "Kolor paska postępu - koniec gradientu", "major-ticks-names": "Nazwy głównych znaczników", "show-stroke-ticks": "Pokaż obrys znaczników", "major-ticks-font": "Czcionka głównych znaczników", - "border-color": "Kolor ramki", - "border-width": "Szerokość ramki", - "needle-circle-color": "Kolor okręgu igły", + "border-color": "Kolor obramowania", + "border-width": "Szerokość obramowania", + "needle-circle": "Koło wskazówki", + "needle-circle-color": "Kolor koła wskazówki", "animation-target": "Cel animacji", - "animation-target-needle": "Igła", + "animation-target-needle": "Wskazówka", "animation-target-plate": "Tarcza", - "common-settings": "Zwykłe ustawienia miernika", + "common-settings": "Wspólne ustawienia miernika", "gauge-type": "Typ miernika", "gauge-type-arc": "Łuk", - "gauge-type-donut": "Pączek", + "gauge-type-donut": "Pierścień", "gauge-type-horizontal-bar": "Poziomy pasek", "gauge-type-vertical-bar": "Pionowy pasek", - "donut-start-angle": "Kąt rozpoczęcia", + "donut-start-angle": "Kąt początkowy (stopnie)", "bar-settings": "Ustawienia paska miernika", "relative-bar-width": "Względna szerokość paska", - "neon-glow-brightness": "Jasność efektu blasku neonu, (0-100), 0 - wyłączenie efektu", - "stripes-thickness": "Grubość pasków, 0 - brak pasków", + "neon-glow-brightness": "Jasność efektu poświaty neonu (0-100)", + "neon-glow-brightness-hint": "0 - wyłącz efekt", + "stripes-thickness": "Grubość pasków", + "stripes-thickness-hint": "0 - brak pasków", "rounded-line-cap": "Wyświetl zaokrąglony koniec linii", "bar-color-settings": "Ustawienia koloru paska", "use-precise-level-color-values": "Używaj precyzyjnych poziomów kolorów", @@ -6709,7 +12167,7 @@ "add-bar-color": "Dodaj kolor paska", "from": "Od", "to": "Do", - "fixed-level-colors": "Kolory pasków przy użyciu wartości Edge", + "fixed-level-colors": "Kolory paska według wartości granicznych", "gauge-title-settings": "Ustawienia tytułu miernika", "show-gauge-title": "Pokaż tytuł miernika", "gauge-title": "Tytuł miernika", @@ -6717,10 +12175,10 @@ "unit-title-and-timestamp-settings": "Ustawienia tytułu jednostki i znacznika czasu", "show-timestamp": "Pokaż znacznik czasu wartości", "timestamp-format": "Format znacznika czasu", - "label-font": "Czcionka etykiety wyświetlana pod wartością", + "label-font": "Czcionka etykiety wyświetlanej pod wartością", "value-settings": "Ustawienia wartości", "show-value": "Pokaż tekst wartości", - "min-max-settings": "Minimalne/maksymalne ustawienia etykiet", + "min-max-settings": "Ustawienia etykiet minimum i maksimum", "show-min-max": "Pokaż wartości minimalne i maksymalne", "min-max-font": "Czcionka etykiet minimalnych i maksymalnych", "show-ticks": "Pokaż znaczniki", @@ -6728,7 +12186,27 @@ "tick-color": "Kolor znacznika", "tick-values": "Wartości znacznika", "no-tick-values": "Nie skonfigurowano żadnych wartości znaczników", - "add-tick-value": "Dodaj wartość znacznika" + "add-tick-value": "Dodaj wartość znacznika", + "gauge-appearance": "Wygląd miernika", + "units-title": "Tytuł jednostek", + "value": "Wartość", + "ticks": "Znaczniki", + "arrow-and-scale-color": "Domyślny kolor strzałki i skali", + "scale-settings": "Ustawienia skali", + "scale": "Skala", + "scale-color": "Kolory skali", + "compass-appearance": "Wygląd kompasu", + "label": "Etykieta", + "labels": "Etykiety", + "label-style": "Styl etykiety", + "simple-gauge-type": "Typ", + "gauge-bar-background": "Tło paska miernika", + "bar-color": "Kolor paska", + "min-and-max-value": "Wartość min. i maks.", + "min-and-max-label": "Etykieta min. i maks.", + "font": "Czcionka", + "tick-width-and-color": "Szerokość i kolor znaczników", + "min-max-validation-text": "Maksymalna wartość musi być większa niż minimalna wartość" }, "gpio": { "pin": "Pin", @@ -6745,7 +12223,7 @@ "method-name": "Nazwa metody", "method-body": "Ciało metody", "gpio-status-change-request": "Żądanie zmiany statusu GPIO", - "parse-gpio-status-function": "Przeanalizuj funkcję statusu gpio", + "parse-gpio-status-function": "Funkcja parsowania statusu GPIO", "gpio-leds": "Diody GPIO", "no-gpio-leds": "Nie skonfigurowano żadnych diod GPIO", "add-gpio-led": "Dodaj diodę GPIO" @@ -6757,10 +12235,10 @@ "input-widgets": { "attribute-not-allowed": "W tym widżecie nie można używać parametru atrybutu", "blocked-location": "Geolokalizacja jest zablokowana w Twojej przeglądarce", - "claim-device": "Przypisz urządzenie", - "claim-failed": "Nie udało się przypisać urządzenia!", + "claim-device": "Przejmij urządzenie", + "claim-failed": "Nie udało się przejąć urządzenia!", "claim-not-found": "Urządzenie nie zostało znalezione!", - "claim-successful": "Urządzenie zostało pomyślnie przypisane!", + "claim-successful": "Urządzenie zostało pomyślnie przejęte!", "date": "Data", "device-name": "Nazwa urządzenia", "device-name-required": "Nazwa urządzenia jest wymagana", @@ -6774,7 +12252,7 @@ "longitude": "Długość geograficzna", "min-value-error": "Wartość minimalna to {{value}}", "max-value-error": "Maksymalna wartość to {{value}}", - "not-allowed-entity": "Wybrany obiekt nie może mieć wspólnych atrybutów", + "not-allowed-entity": "Wybrany obiekt nie może mieć atrybutów współdzielonych", "no-attribute-selected": "Nie wybrano żadnego atrybutu", "no-datakey-selected": "Nie wybrano klucza danych", "no-coordinate-specified": "Nie określono klucza danych dla szerokości/długości geograficznej", @@ -6783,39 +12261,39 @@ "no-support-geolocation": "Twoja przeglądarka nie obsługuje geolokalizacji", "no-support-web-camera": "Twoja przeglądarka nie obsługuje kamer", "enable-https-use-widget": "Aby korzystać z tego widżetu, włącz protokół HTTPS", - "no-found-your-camera": "Nie można znaleźć aparatu", + "no-found-your-camera": "Nie można znaleźć kamery", "no-permission-camera": "Użytkownik odmówił pozwolenia / Ta witryna nie ma uprawnień do korzystania z kamery", "no-timeseries-selected": "Nie wybrano szeregów czasowych", "secret-key": "Tajny klucz", "secret-key-required": "Tajny klucz jest wymagany", "switch-attribute-value": "Zmień wartość atrybutu obiektu", - "switch-camera": "Przełącz aparat", + "switch-camera": "Przełącz kamerę", "switch-timeseries-value": "Zmień wartość szeregu czasowego obiektu", "take-photo": "Zrób zdjęcie", "time": "Czas", - "timeseries-not-allowed": "W tym widżecie nie można używać parametru Timeseries", + "timeseries-not-allowed": "W tym widżecie nie można używać parametru szeregu czasowego", "update-failed": "Aktualizacja nie powiodła się", "update-successful": "Aktualizacja powiodła się", "update-attribute": "Aktualizuj atrybut", - "update-timeseries": "Zaktualizuj szeregi czasowe", + "update-timeseries": "Aktualizuj szeregi czasowe", "value": "Wartość", - "general-settings": "Ustawienia główne", - "widget-title": "Tytul widżetu", - "claim-button-label": "Przypisywnie etykiety przycisku", - "show-secret-key-field": "Pokaż pole wejściowe 'Tajny klucz'", + "general-settings": "Ustawienia ogólne", + "widget-title": "Tytuł widżetu", + "claim-button-label": "Etykieta przycisku przejęcia", + "show-secret-key-field": "Pokaż pole wprowadzania „Tajny klucz”", "labels-settings": "Ustawienia etykiet", "show-labels": "Pokaż etykiety", "device-name-label": "Etykieta pola wprowadzania nazwy urządzenia", "secret-key-label": "Etykieta pola wprowadzania tajnego klucza", "messages-settings": "Ustawienia wiadomości", - "claim-device-success-message": "Wiadomość tekstowa o pomyślnym przypisaniu urządzenia", - "claim-device-not-found-message": "Wiadomość tekstowa w przypadku nie znalezienia urządzenia", - "claim-device-failed-message": "Wiadomość tekstowa z informacją o nieudanym przypisaniu urządzenia", + "claim-device-success-message": "Tekst komunikatu o pomyślnym przejęciu urządzenia", + "claim-device-not-found-message": "Tekst komunikatu, gdy nie znaleziono urządzenia", + "claim-device-failed-message": "Tekst komunikatu o nieudanym przejęciu urządzenia", "claim-device-name-required-message": "Komunikat o błędzie „Wymagana nazwa urządzenia”", "claim-device-secret-key-required-message": "Komunikat o błędzie „Wymagany tajny klucz”", "relations-settings": "Ustawienia relacji", "relate-device-to-state-entity": "Powiąż urządzenie z obiektem bieżącego stanu", - "relate-direction": "Kierunek odniesienia", + "relate-direction": "Kierunek relacji", "relate-direction-from": "Od", "relate-direction-to": "Do", "relation-type": "Typ relacji", @@ -6824,23 +12302,23 @@ "required": "Wymagany", "required-error-message": "Komunikat o błędzie „Wymagany”", "show-result-message": "Pokaż komunikat o wynikach", - "integer-field-settings": "Ustawienia pola całkowitego", + "integer-field-settings": "Ustawienia pola liczby całkowitej", "min-value": "Wartość minimalna", "max-value": "Wartość maksymalna", - "double-field-settings": "Ustawienia podwójnego pola", + "double-field-settings": "Ustawienia pola liczby zmiennoprzecinkowej", "text-field-settings": "Ustawienia pola tekstowego", "min-length": "Minimalna długość", "max-length": "Maksymalna długość", "checkbox-settings": "Ustawienia pola wyboru", - "true-label": "Sprawdzona etykieta", - "false-label": "Niesprawdzona etykieta", + "true-label": "Etykieta stanu zaznaczonego", + "false-label": "Etykieta stanu niezaznaczonego", "image-input-settings": "Ustawienia wejścia obrazu", "display-preview": "Wyświetl podgląd", - "display-clear-button": "Przycisk czyszczenia wyświetlacza", + "display-clear-button": "Wyświetl przycisk czyszczenia", "display-apply-button": "Wyświetl przycisk zastosowania", "display-discard-button": "Wyświetl przycisk odrzucania", "datetime-field-settings": "Ustawienia pola daty/godziny", - "display-time-input": "Wyświetl wprowadzony czas", + "display-time-input": "Wyświetl pole wprowadzania czasu", "latitude-key-name": "Nazwa klucza szerokości geograficznej", "longitude-key-name": "Nazwa klucza długości geograficznej", "show-get-location-button": "Pokaż przycisk „Pobierz aktualną lokalizację”", @@ -6851,25 +12329,25 @@ "input-fields-alignment": "Wyrównanie pól wejściowych", "input-fields-alignment-column": "Kolumna (domyślna)", "input-fields-alignment-row": "Wiersz", - "layout": "Layout", - "row-gap": "Gap between rows in pixels", - "column-gap": "Gap between columns in pixels", + "layout": "Układ", + "row-gap": "Odstęp między wierszami w pikselach", + "column-gap": "Odstęp między kolumnami w pikselach", "latitude-field-required": "Wymagane pole szerokości geograficznej", "longitude-field-required": "Wymagane pole długości geograficznej", "attribute-settings": "Ustawienia atrybutów", - "widget-mode": "Tryb widgetu", + "widget-mode": "Tryb widżetu", "widget-mode-update-attribute": "Aktualizuj atrybut", - "widget-mode-update-timeseries": "Zaktualizuj szeregi czasowe", + "widget-mode-update-timeseries": "Aktualizuj szeregi czasowe", "attribute-scope": "Zakres atrybutu", "attribute-scope-server": "Atrybut serwera", - "attribute-scope-shared": "Wspólny atrybut", + "attribute-scope-shared": "Atrybut współdzielony", "value-required": "Wymagana wartość", "image-settings": "Ustawienia obrazu", "image-format": "Format obrazu", - "image-format-jpeg": "JPG", + "image-format-jpeg": "JPEG", "image-format-png": "PNG", "image-format-webp": "WEBP", - "image-quality": "Jakość obrazu korzystająca z kompresji stratnej, np. JPEG i WebP", + "image-quality": "Jakość obrazu", "max-image-width": "Maksymalna szerokość obrazu", "max-image-height": "Maksymalna wysokość obrazu", "action-buttons": "Przyciski akcji", @@ -6889,7 +12367,7 @@ "hide-input-field": "Ukryj pole wprowadzania", "datakey-type": "Typ klucza danych", "datakey-type-server": "Atrybut serwera (domyślny)", - "datakey-type-shared": "Wspólny atrybut", + "datakey-type-shared": "Atrybut współdzielony", "datakey-type-timeseries": "Szereg czasowy", "datakey-value-type": "Typ wartości klucza danych", "datakey-value-type-string": "Łańcuch znaków", @@ -6901,25 +12379,26 @@ "datakey-value-type-date-time": "Data i czas", "datakey-value-type-date": "Data", "datakey-value-type-time": "Czas", - "datakey-value-type-select": "Wybierz", - "datakey-value-type-color": "Color", + "datakey-value-type-select": "Lista wyboru", + "datakey-value-type-radio": "Przycisk opcji", + "datakey-value-type-color": "Kolor", "value-is-required": "Wartość jest wymagana", "ability-to-edit-attribute": "Możliwość edycji atrybutu", "ability-to-edit-attribute-editable": "Edytowalne (domyślne)", "ability-to-edit-attribute-disabled": "Wyłączone", "ability-to-edit-attribute-readonly": "Tylko do odczytu", - "disable-on-datakey-name": "Wyłącz w przypadku fałszywej wartości innego klucza danych (podaj nazwę klucza danych)", - "field-appearance": "Field appearance", - "appearance-fill": "Fill", - "appearance-outline": "Outline", - "subscript-sizing": "Subscript sizing", - "subscript-sizing-fixed": "Fixed", - "subscript-sizing-dynamic": "Dynamic", - "slide-toggle-settings": "Ustawienia przełączania suwaka", - "slide-toggle-label-position": "Przesuń przełącznik pozycji etykiety", + "disable-on-datakey-name": "Wyłącz, gdy inny klucz danych ma wartość „fałsz” (podaj nazwę klucza danych)", + "field-appearance": "Wygląd pola", + "appearance-fill": "Wypełnienie", + "appearance-outline": "Kontur", + "subscript-sizing": "Rozmiar obszaru podpowiedzi", + "subscript-sizing-fixed": "Stały", + "subscript-sizing-dynamic": "Dynamiczny", + "slide-toggle-settings": "Ustawienia przełącznika suwakowego", + "slide-toggle-label-position": "Położenie etykiety przełącznika suwakowego", "slide-toggle-label-position-after": "Po", "slide-toggle-label-position-before": "Przed", - "select-options": "Wybierz opcje", + "select-options": "Opcje wyboru", "no-select-options": "Nie skonfigurowano opcji wyboru", "add-select-option": "Dodaj opcję wyboru", "numeric-field-settings": "Ustawienia pola numerycznego", @@ -6934,34 +12413,46 @@ "use-custom-icon": "Użyj niestandardowej ikony", "input-cell-icon": "Ikona wyświetlana przed komórką wejściową", "value-conversion-settings": "Ustawienia konwersji wartości", - "get-value-settings": "Uzyskaj ustawienia wartości", + "get-value-settings": "Ustawienia pobierania wartości", "use-get-value-function": "Użyj funkcji getValue", - "get-value-function": "funkcja getValue", - "set-value-settings": "Ustaw ustawienia wartości", + "get-value-function": "Funkcja getValue", + "set-value-settings": "Ustawienia zapisu wartości", "use-set-value-function": "Użyj funkcji setValue", - "set-value-function": "funkcja setValue", + "set-value-function": "Funkcja setValue", "json-invalid": "Wartość JSON ma nieprawidłowy format", "title": "Tytuł", - "cancel-button-label": "Etykieta przycisku „Anuluj”" + "cancel-button-label": "Etykieta przycisku „Anuluj”", + "radio-button-settings": "Ustawienia przycisków opcji", + "color": "Kolor", + "columns": "Kolumny", + "radio-options": "Opcje wyboru", + "no-radio-options": "Nie skonfigurowano opcji wyboru", + "add-radio-option": "Dodaj opcję wyboru", + "radio-label-position": "Położenie etykiety", + "radio-label-position-before": "Przed", + "radio-label-position-after": "Po", + "save-image": "Zapisz obraz", + "save-to-gallery": "Automatycznie zapisuj przechwycone obrazy w Galerii obrazów", + "public-image": "Udostępnia obraz każdemu nieautoryzowanemu użytkownikowi" }, "invalid-qr-code-text": "Nieprawidłowy tekst wejściowy dla kodu QR. Wartość wpisana powinna być łańcuchem znaków", "qr-code": { - "use-qr-code-text-function": "Użyj funkcji tekstowej kodu QR", + "use-qr-code-text-function": "Użyj funkcji tekstu kodu QR", "qr-code-text-pattern": "Wzór tekstu kodu QR (np. '${entityName} | ${keyName} – jakiś tekst.')", - "qr-code-text-pattern-hint": "Wzorzec tekstu kodu QR wykorzystuje wartość pierwszego znalezionego klucza w obiektach w aliasie obiektu", + "qr-code-text-pattern-hint": "Wzór tekstu kodu QR wykorzystuje wartość pierwszego znalezionego klucza w obiektach w aliasie obiektu.", "qr-code-text-pattern-required": "Wymagany jest wzór tekstu kodu QR", "qr-code-text-function": "Funkcja tekstu kodu QR" }, "label-widget": { "label-pattern": "Wzór", - "label-pattern-hint": "Podpowiedź: np. 'Text ${keyName} units.' or ${#<key index>} units'", + "label-pattern-hint": "Podpowiedź: np. 'Tekst ${keyName} jednostki.' lub ${#<key index>} jednostki'", "label-pattern-required": "Wzór jest wymagany", "label-position": "Pozycja (procent w stosunku do tła)", "x-pos": "X", "y-pos": "Y", "background-color": "Kolor tła", "font-settings": "Ustawienia czcionki", - "background-image": "Zdjęcie w tle", + "background-image": "Obraz tła", "labels": "Etykiety", "no-labels": "Nie skonfigurowano żadnych etykiet", "add-label": "Dodaj etykietę" @@ -6970,10 +12461,10 @@ "title": "Tytuł", "navigation-path": "Ścieżka nawigacji", "filter-type": "Typ filtra", - "filter-type-all": "Wszystkie przedmioty", + "filter-type-all": "Wszystkie elementy", "filter-type-include": "Uwzględnij elementy", "filter-type-exclude": "Wyklucz elementy", - "items": "Rzeczy", + "items": "Elementy", "enter-urls-to-filter": "Wprowadź adresy URL, aby filtrować..." }, "persistent-table": { @@ -6981,7 +12472,7 @@ "message-type": "Typ wiadomości", "method": "Metoda", "params": "Parametry", - "created-time": "Stworzony czas", + "created-time": "Czas utworzenia", "expiration-time": "Data ważności", "retries": "Ponowne próby", "status": "Status", @@ -6991,18 +12482,18 @@ "details": "Szczegóły", "delete": "Usuń", "delete-request-title": "Usuń trwałe żądanie RPC", - "delete-request-text": "Czy na pewno chcesz usunąć prośbę?", - "details-title": "Szczegóły Identyfikator RPC: ", - "additional-info": "dodatkowe informacje", + "delete-request-text": "Czy na pewno chcesz usunąć żądanie?", + "details-title": "Szczegóły — identyfikator RPC: ", + "additional-info": "Dodatkowe informacje", "response": "Odpowiedź", "any-status": "Dowolny status", - "rpc-status-list": "Lista stanu RPC", - "no-request-prompt": "Brak żądania wyświetlenia", - "send-request": "Wyślij prośbę", + "rpc-status-list": "Lista statusów RPC", + "no-request-prompt": "Brak żądań do wyświetlenia", + "send-request": "Wyślij żądanie", "add-title": "Utwórz trwałe żądanie RPC", "method-error": "Metoda jest wymagana.", "timeout-error": "Minimalna wartość limitu czasu wynosi 5000 (5 sekund).", - "white-space-error": "Znak biały jest niedozwolony.", + "white-space-error": "Białe znaki są niedozwolone.", "rpc-status": { "QUEUED": "W KOLEJCE", "SENT": "WYSŁANO", @@ -7010,67 +12501,88 @@ "SUCCESSFUL": "SUKCES", "TIMEOUT": "KONIEC CZASU", "EXPIRED": "WYGASŁY", - "FAILED": "NIEUDANY" + "FAILED": "NIEPOWODZENIE" }, - "rpc-search-status-all": "WSZYSTKO", + "rpc-search-status-all": "WSZYSTKIE", "message-types": { - "false": "Dwukierunkowe", + "false": "Dwukierunkowa", "true": "Jednokierunkowa" }, - "general-settings":"Ustawienia ogólne", - "enable-filter":"Włącz filtr", - "enable-sticky-header":"Wyświetl nagłówek podczas przewijania", - "enable-sticky-action":"Wyświetl kolumnę akcji podczas przewijania", - "display-request-details":"Wyświetl szczegóły żądania", - "allow-send-request":"Zezwalaj na wysyłanie żądań RPC", - "allow-delete-request":"Zezwalaj na usuwanie żądań", - "columns-settings":"Ustawienia kolumn", - "display-columns":"Wyświetlane kolumny", - "column":"Kolumna", - "no-columns-found":"Nie znaleziono kolumn", - "no-columns-matching":"'{{column}}' nie znaleziono." - }, - "range-chart":{ - "chart":"Wykres", - "data-zoom":"Powiększenie danych", - "range-colors":"Kolory zakresu", - "out-of-range-color":"Kolor poza zakresem", - "fill-area":"Wypełnij obszar", - "range-chart-style":"Styl wykresu zakresu" + "general-settings": "Ustawienia ogólne", + "enable-filter": "Włącz filtr", + "enable-sticky-header": "Wyświetl nagłówek podczas przewijania", + "enable-sticky-action": "Wyświetl kolumnę akcji podczas przewijania", + "display-request-details": "Wyświetl szczegóły żądania", + "allow-send-request": "Zezwalaj na wysyłanie żądań RPC", + "allow-delete-request": "Zezwalaj na usuwanie żądań", + "columns-settings": "Ustawienia kolumn", + "display-columns": "Kolumny do wyświetlenia", + "column": "Kolumna", + "no-columns-found": "Nie znaleziono kolumn", + "no-columns-matching": "Nie znaleziono kolumny „{{column}}”." + }, + "range-chart": { + "chart": "Wykres", + "data-zoom": "Powiększenie danych", + "range-chart-appearance": "Wygląd wykresu zakresu", + "range-colors": "Kolory zakresu", + "out-of-range-color": "Kolor poza zakresem", + "show-range-thresholds": "Pokaż progi zakresu", + "range-thresholds-settings": "Ustawienia progów zakresu", + "fill-area": "Wypełnij obszar", + "fill-area-opacity": "Krycie wypełnienia obszaru", + "range-chart-style": "Styl wykresu zakresu" + }, + "knob": { + "behavior": "Zachowanie", + "initial-value": "Wartość początkowa", + "initial-value-hint": "Akcja pobierająca wartość początkową pokrętła.", + "on-value-change": "Przy zmianie wartości", + "on-value-change-hint": "Akcja wywoływana po zmianie wartości pokrętła.", + "range": "Zakres", + "min": "Min.", + "max": "Maks.", + "value": "Wartość", + "fallback-initial-value": "Rezerwowa wartość początkowa" }, "rpc": { "value-settings": "Ustawienia wartości", "initial-value": "Wartość początkowa", - "retrieve-value-settings": "Pobierz ustawienia wartości włączenia/wyłączenia", + "initial-value-hint": "Określa wartość początkową przed otrzymaniem pierwszej wartości.", + "initial-led-state": "Początkowy stan diody LED", + "initial-led-state-hint": "Określa początkowy stan diody LED przed otrzymaniem pierwszej wartości.", + "on": "Wł.", + "off": "Wył.", + "retrieve-value-settings": "Ustawienia pobierania wartości włączenia/wyłączenia", "retrieve-value-method": "Pobierz wartość za pomocą metody", - "retrieve-value-method-none": "Nie odzyskuj", + "retrieve-value-method-none": "Nie pobieraj", "retrieve-value-method-rpc": "Wywołaj metodę pobierania wartości RPC", - "retrieve-value-method-attribute": "Subskrybuj atrybut", - "retrieve-value-method-timeseries": "Subskrybuj serie czasowe", + "retrieve-value-method-attribute": "Subskrybuj aktualizacje atrybutu", + "retrieve-value-method-timeseries": "Subskrybuj aktualizacje szeregu czasowego", "attribute-value-key": "Klucz atrybutu", - "timeseries-value-key": "Klucz do serii czasowych", + "timeseries-value-key": "Klucz szeregu czasowego", "get-value-method": "Metoda pobierania wartości RPC", - "parse-value-function": "Przeanalizuj funkcję wartości", - "update-value-settings": "Zaktualizuj ustawienia wartości", + "parse-value-function": "Funkcja parsowania wartości", + "update-value-settings": "Ustawienia aktualizacji wartości", "set-value-method": "Metoda wartości zadanej RPC", - "convert-value-function": "Konwertuj funkcję wartości", + "convert-value-function": "Funkcja konwersji wartości", "rpc-settings": "Ustawienia RPC", "request-timeout": "Limit czasu żądania RPC (ms)", - "persistent-rpc-settings": "Trwałe ustawienia RPC", - "request-persistent": "Żądanie RPC trwałe", - "persistent-polling-interval": "Interwał odpytywania (ms) w celu uzyskania trwałej odpowiedzi na polecenie RPC", - "common-settings": "Podstawowe ustawienia", - "switch-title": "Zmień tytuł", + "persistent-rpc-settings": "Ustawienia trwałego RPC", + "request-persistent": "Trwałe żądanie RPC", + "persistent-polling-interval": "Interwał odpytywania (ms) w celu pobrania odpowiedzi na trwałe polecenie RPC", + "common-settings": "Ustawienia ogólne", + "switch-title": "Tytuł przełącznika", "show-on-off-labels": "Pokaż etykiety włączania/wyłączania", - "slide-toggle-label": "Przesuń etykietę przełączania", + "slide-toggle-label": "Etykieta przełącznika suwakowego", "label-position": "Pozycja etykiety", "label-position-before": "Przed", "label-position-after": "Po", "slider-color": "Kolor suwaka", "slider-color-primary": "Podstawowy", "slider-color-accent": "Akcent", - "slider-color-warn": "Ostrzegaj", - "button-style": "Styl guzika", + "slider-color-warn": "Ostrzeżenie", + "button-style": "Styl przycisku", "button-raised": "Podniesiony przycisk", "button-primary": "Kolor podstawowy", "button-background-color": "Kolor tła przycisku", @@ -7079,7 +12591,7 @@ "button-label": "Etykieta przycisku", "device-attribute-scope": "Zakres atrybutów urządzenia", "server-attribute": "Atrybut serwera", - "shared-attribute": "Wspólny atrybut", + "shared-attribute": "Atrybut współdzielony", "device-attribute-parameters": "Parametry atrybutów urządzenia", "is-one-way-command": "Jest poleceniem jednokierunkowym", "rpc-method": "Metoda RPC", @@ -7087,32 +12599,389 @@ "show-rpc-error": "Pokaż błąd wykonania polecenia RPC", "led-title": "Tytuł diody LED", "led-color": "Kolor diody LED", - "check-status-settings": "Sprawdź ustawienia stanu", + "check-status-settings": "Ustawienia sprawdzania stanu", "perform-rpc-status-check": "Wykonaj sprawdzenie stanu urządzenia RPC", "retrieve-led-status-value-method": "Pobierz wartość stanu diody LED za pomocą metody", "led-status-value-attribute": "Atrybut urządzenia zawierający wartość stanu diody LED", "led-status-value-timeseries": "Szereg czasowy urządzenia zawierający wartość stanu diody LED", "check-status-method": "Metoda sprawdzania stanu urządzenia przez RPC", - "parse-led-status-value-function": "Przeanalizuj funkcję wartości stanu diody LED", - "knob-title": "Tytuł pokrętła", - "min-value": "Minimalna wartość", - "max-value": "Maksymalna wartość" + "parse-led-status-value-function": "Funkcja parsowania wartości stanu diody LED", + "knob-title": "Tytuł pokrętła" }, "maps": { + "map-type": { + "type": "Typ mapy", + "map": "Mapa", + "image": "Obraz" + }, + "image": { + "image-source": "Źródło obrazu", + "image-source-image": "Obraz", + "image-source-entity-key": "Klucz obiektu", + "source-entity-alias": "Alias obiektu źródłowego", + "image-url-key": "Klucz URL obrazu", + "image-url-key-required": "Klucz URL obrazu jest wymagany" + }, + "control": { + "map-controls": "Elementy sterujące mapy", + "position": "Pozycja", + "position-topleft": "U góry po lewej", + "position-topright": "U góry po prawej", + "position-bottomleft": "Na dole po lewej", + "position-bottomright": "Na dole po prawej", + "zoom-actions": "Akcje powiększania", + "zoom-scroll": "Przewijanie", + "zoom-double-click": "Dwukrotne kliknięcie", + "zoom-control-buttons": "Przyciski sterowania", + "scale": "Skala", + "scale-metric": "Metryczna", + "scale-imperial": "Imperialna", + "switch-to-drag-mode-using-button": "Przełącz na tryb przeciągania za pomocą przycisku" + }, + "timeline": { + "control-panel": "Panel sterowania osią czasu", + "time-step": "Krok czasu", + "speed-options": "Opcje prędkości", + "timestamp": "Znacznik czasu", + "snap-to-real-location": "Przyciągaj do rzeczywistej lokalizacji", + "location-snap-filter-function": "Funkcja filtra przyciągania lokalizacji", + "no-trips-data-available": "Brak danych o trasach" + }, + "map-action": { + "map-action-buttons": "Przyciski akcji mapy", + "label": "Etykieta", + "icon": "Ikona", + "color": "Kolor", + "action": "Akcja", + "add-button": "Dodaj przycisk", + "no-action-buttons-configured": "Nie skonfigurowano przycisków akcji", + "remove-action-button": "Usuń przycisk akcji", + "map-action-button": "Przycisk akcji mapy", + "button-requires": "Przycisk wymaga etykiety lub ikony" + }, + "common": { + "common-map-settings": "Wspólne ustawienia mapy", + "fit-map-bounds": "Dopasuj granice mapy, aby objąć wszystkie znaczniki", + "default-map-center-position": "Domyślna pozycja środka mapy", + "default-map-zoom-level": "Domyślny poziom powiększenia mapy", + "entities-limit": "Limit obiektów do załadowania" + }, + "layer": { + "label": "Etykieta", + "layer": "Warstwa", + "layers": "Warstwy", + "map-layers": "Warstwy mapy", + "add-layer": "Dodaj warstwę", + "layer-settings": "Ustawienia warstwy", + "remove-layer": "Usuń warstwę", + "no-layers": "Nie skonfigurowano warstw", + "roadmap": "Mapa drogowa", + "satellite": "Satelita", + "hybrid": "Hybryda", + "webgl-not-available": "Wybrana warstwa mapy wymaga do wyświetlenia akceleracji graficznej. Włącz opcję „Akceleracja sprzętowa” w ustawieniach przeglądarki lub przełącz się na inną warstwę.", + "reference": { + "reference-layer": "Warstwa referencyjna", + "no-layer": "Brak warstwy", + "openstreetmap-hybrid": "OpenStreetMap Hybrid", + "world-edition-hybrid": "World Edition Hybrid", + "enhanced-contrast-hybrid": "Enhanced Contrast Hybrid" + }, + "provider": { + "provider": "Dostawca", + "openstreet": { + "title": "OpenStreet", + "mapnik": "Mapnik", + "hot": "HOT", + "esri-street": "WorldStreetMap", + "esri-topo": "WorldTopoMap", + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" + }, + "google": { + "title": "Google", + "roadmap": "Mapa drogowa", + "satellite": "Satelita", + "hybrid": "Hybryda", + "terrain": "Teren" + }, + "here": { + "title": "HERE", + "normal-day": "Normalny dzienny", + "normal-night": "Normalny nocny", + "hybrid-day": "Hybrydowy dzienny", + "terrain-day": "Terenowy dzienny" + }, + "tencent": { + "title": "Tencent", + "normal": "Normalny", + "satellite": "Satelita", + "terrain": "Teren" + }, + "custom": { + "title": "Niestandardowy", + "tile-url": "URL kafelków", + "style-url": "URL stylu", + "vector-tiles": "Kafelki wektorowe", + "vector-tiles-hint": "Włącz, gdy używasz URL stylu od dostawców takich jak OpenFreeMap lub MapTiler.", + "attribution": "Tekst praw autorskich", + "attribution-hint": "Wyświetlany na dole mapy. Wymagany przez większość dostawców kafelków." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" + } + }, + "credentials": { + "credentials": "Dane uwierzytelniające", + "api-key": "Klucz API" + } + }, + "overlays": { + "overlays": "Nakładki", + "overlays-hint": "Skonfiguruj źródła danych, wygląd, zachowanie, opcje edycji i grupowanie obiektów mapy", + "trips": "Trasy", + "markers": "Znaczniki", + "polygons": "Wielokąty", + "circles": "Okręgi", + "polylines": "Linie łamane" + }, + "data-layer": { + "source": "Źródło", + "filter": "Filtr", + "additional-data-keys": "Dodatkowe klucze danych", + "additional-datasources": "Dodatkowe źródła danych", + "additional-datasources-hint": "Źródło danych do odczytu atrybutów lub telemetrii obiektów niewyświetlanych na mapie, dostępne w funkcjach nakładek mapy.", + "more-datasources": "Więcej źródeł danych", + "data-keys": "Klucze danych", + "add-datasource": "Dodaj źródło danych", + "no-datasources": "Nie skonfigurowano źródeł danych", + "remove-datasource": "Usuń źródło danych", + "behavior": "Zachowanie", + "on-click": "Po kliknięciu", + "on-click-hint": "Akcja wywoływana, gdy użytkownik kliknie element mapy.", + "groups": "Grupy", + "groups-hint": "Lista nazw grup przypisanych do nakładki, używana do przełączania jej widoczności na mapie.", + "color": "Kolor", + "color-settings": "Ustawienia koloru", + "color-type-constant": "Stały", + "color-type-range": "Zakres", + "color-type-function": "Funkcja", + "color-range-source-key": "Klucz źródłowy zakresu kolorów", + "color-range-source-key-required": "Klucz źródłowy zakresu kolorów jest wymagany", + "color-range": "Zakres kolorów", + "color-function": "Funkcja koloru", + "label": "Etykieta", + "tooltip": "Podpowiedź", + "pattern-type-pattern": "Wzór", + "pattern-type-function": "Funkcja", + "label-pattern": "Etykieta (przykłady wzorców: '${entityName}', '${entityName}: (Tekst ${keyName} jednostki.)' )", + "label-function": "Funkcja etykiety", + "tooltip-pattern": "Podpowiedź (np. 'Tekst ${keyName} jednostki.' lub Tekst linku)", + "tooltip-function": "Funkcja podpowiedzi", + "tooltip-trigger": "Wyzwalacz podpowiedzi", + "tooltip-trigger-click": "Pokaż podpowiedź po kliknięciu", + "tooltip-trigger-hover": "Pokaż podpowiedź po najechaniu kursorem", + "auto-close-tooltips": "Automatycznie zamykaj podpowiedzi", + "tooltip-offset": "Przesunięcie podpowiedzi", + "tooltip-offset-horizontal": "Poziome", + "tooltip-offset-vertical": "Pionowe", + "tooltip-tag-actions": "Akcje tagów", + "add-tooltip-tag-action": "Dodaj akcję tagu", + "edit-tooltip-tag-action": "Edytuj akcję tagu", + "remove-tooltip-tag-action": "Usuń akcję tagu", + "action-add": "Dodaj", + "action-edit": "Edytuj", + "action-move": "Przenieś", + "action-remove": "Usuń", + "edit-instruments": "Narzędzia", + "persist-location-attribute-scope": "Zakres atrybutu do zapisu lokalizacji", + "enable-snapping": "Włącz przyciąganie do innych wierzchołków w celu precyzyjnego rysowania", + "enable-snapping-hint": "Automatycznie wyrównuje nowe punkty do istniejących kształtów, aby rysowanie było łatwiejsze i dokładniejsze.", + "drag-drop-mode": "Tryb przeciągania i upuszczania", + "trip": { + "no-trips": "Nie skonfigurowano tras", + "add-trip": "Dodaj trasę", + "trip-configuration": "Konfiguracja trasy", + "remove-trip": "Usuń trasę" + }, + "marker": { + "marker": "Znacznik", + "latitude-key": "Klucz szerokości geograficznej", + "longitude-key": "Klucz długości geograficznej", + "x-pos-key": "Klucz pozycji X", + "y-pos-key": "Klucz pozycji Y", + "latitude-key-required": "Klucz szerokości geograficznej jest wymagany", + "longitude-key-required": "Klucz długości geograficznej jest wymagany", + "x-pos-key-required": "Klucz pozycji X jest wymagany", + "y-pos-key-required": "Klucz pozycji Y jest wymagany", + "no-markers": "Nie skonfigurowano znaczników", + "add-marker": "Dodaj znacznik", + "marker-configuration": "Konfiguracja znacznika", + "remove-marker": "Usuń znacznik", + "marker-type": "Typ znacznika", + "marker-type-shape": "Kształt", + "marker-type-icon": "Ikona", + "marker-type-image": "Obraz", + "shape": "Kształt", + "icon": "Ikona", + "image": "Obraz", + "marker-shapes": "Kształty znacznika", + "marker-icon": "Ikona znacznika", + "marker-appearance": "Wygląd znacznika", + "marker-image": "Obraz znacznika", + "marker-image-type-image": "Obraz", + "marker-image-type-function": "Funkcja", + "custom-marker-image-size": "Niestandardowy rozmiar obrazu znacznika", + "marker-image-function": "Funkcja obrazu znacznika", + "marker-images": "Obrazy znaczników", + "marker-offset": "Przesunięcie znacznika", + "offset-horizontal": "Poziome", + "offset-vertical": "Pionowe", + "rotate-marker": "Obróć znacznik", + "offset-angle": "Kąt przesunięcia", + "position-conversion": "Konwersja pozycji", + "position-conversion-function": "Funkcja konwersji pozycji, która powinna zwracać współrzędne x,y jako wartości typu double, każda z zakresu od 0 do 1", + "clustering": { + "use-map-markers-clustering": "Użyj klastrowania znaczników mapy", + "zoom-on-cluster-click": "Powiększ po kliknięciu klastra", + "max-zoom": "Maksymalny poziom powiększenia, przy którym znacznik może należeć do klastra (0 - 18)", + "max-radius": "Maksymalny promień obejmowany przez klaster", + "zoom-animation": "Animacja znaczników przy zmianie przybliżenia", + "bounds-on-cluster-mouse-over": "Granice znaczników po najechaniu kursorem na klaster", + "spiderfy-max-zoom-level": "Rozsuń znaczniki przy maksymalnym poziomie powiększenia (aby zobaczyć wszystkie znaczniki klastra)", + "load-optimization": "Optymalizacja ładowania", + "chunked-load": "Dodawaj znaczniki partiami, aby strona się nie zawieszała", + "lazy-load": "Używaj leniwego ładowania przy dodawaniu znaczników", + "use-cluster-marker-color-function": "Użyj funkcji koloru znaczników klastrów", + "marker-color-function": "Funkcja koloru znacznika" + }, + "edit": "Edytuj znacznik", + "remove-marker-for": "Usuń znacznik dla „{{entityName}}”", + "place-marker": "Umieść znacznik", + "place-marker-hint": "Kliknij, aby umieścić znacznik", + "place-marker-hint-with-entity": "Kliknij, aby umieścić obiekt „{{entityName}}”" + }, + "path": { + "path": "Ścieżka", + "path-decorator": "Dekorator ścieżki", + "decorator-symbol": "Symbol dekoratora", + "decorator-symbol-arrow-head": "Strzałka", + "decorator-symbol-dash": "Kreska", + "decorator-arrangement": "Rozmieszczenie dekoratora", + "decorator-offset": "Początek", + "decorator-end-offset": "Koniec", + "decorator-repeat": "Powtarzanie" + }, + "points": { + "points": "Punkty", + "point-tooltip": "Podpowiedź punktu" + }, + "shape": { + "fill": "Wypełnienie", + "fill-type-color": "Kolor", + "fill-type-stripe": "Paski", + "fill-type-image": "Obraz", + "color": "Kolor", + "stripe": "Pasek", + "image": "Obraz", + "stroke": "Obrys", + "fill-image": "Obraz wypełnienia", + "fill-image-type-image": "Obraz", + "fill-image-type-function": "Funkcja", + "preserve-aspect-ratio": "Zachowaj proporcje", + "opacity": "Krycie", + "angle": "Kąt obrotu", + "scale": "Skala", + "fill-image-function": "Funkcja obrazu wypełnienia kształtu", + "fill-images": "Obrazy wypełnienia kształtu", + "stripe-pattern": "Wzór pasków", + "first-stripe": "Pierwszy pasek", + "second-stripe": "Drugi pasek" + }, + "polygon": { + "polygon-key": "Klucz wielokąta", + "polygon-key-required": "Klucz wielokąta jest wymagany", + "no-polygons": "Nie skonfigurowano wielokątów", + "add-polygon": "Dodaj wielokąt", + "polygon-configuration": "Konfiguracja wielokąta", + "remove-polygon": "Usuń wielokąt", + "edit": "Edytuj wielokąt", + "remove-polygon-for": "Usuń wielokąt dla „{{entityName}}”", + "cut": "Wytnij obszar wielokąta", + "rotate": "Obróć wielokąt", + "draw-rectangle": "Narysuj prostokąt", + "draw-polygon": "Narysuj wielokąt", + "polygon-place-first-point-cut-hint": "Kliknij, aby umieścić pierwszy punkt", + "continue-polygon-cut-hint": "Kliknij, aby kontynuować rysowanie", + "finish-polygon-cut-hint": "Kliknij pierwszy znacznik, aby zakończyć i zapisać", + "polygon-place-first-point-hint": "Wielokąt: kliknij, aby umieścić pierwszy punkt", + "polygon-place-first-point-hint-with-entity": "Wielokąt dla „{{entityName}}”: kliknij, aby umieścić pierwszy punkt", + "continue-polygon-hint": "Wielokąt: kliknij, aby kontynuować rysowanie", + "continue-polygon-hint-with-entity": "Wielokąt dla „{{entityName}}”: kliknij, aby kontynuować rysowanie", + "finish-polygon-hint": "Wielokąt: kliknij pierwszy znacznik, aby zakończyć rysowanie", + "finish-polygon-hint-with-entity": "Wielokąt dla „{{entityName}}”: kliknij pierwszy znacznik, aby zakończyć i zapisać", + "rectangle-place-first-point-hint": "Prostokąt: kliknij, aby umieścić pierwszy punkt", + "rectangle-place-first-point-hint-with-entity": "Prostokąt dla „{{entityName}}”: kliknij, aby umieścić pierwszy punkt", + "finish-rectangle-hint": "Prostokąt: kliknij, aby zakończyć rysowanie", + "finish-rectangle-hint-with-entity": "Prostokąt dla „{{entityName}}”: kliknij, aby zakończyć i zapisać" + }, + "circle": { + "circle-key": "Klucz koła", + "circle-key-required": "Klucz koła jest wymagany", + "no-circles": "Nie skonfigurowano kół", + "add-circle": "Dodaj koło", + "circle-configuration": "Konfiguracja koła", + "remove-circle": "Usuń koło", + "edit": "Edytuj koło", + "remove-circle-for": "Usuń koło dla „{{entityName}}”", + "draw-circle": "Narysuj koło", + "place-circle-center-hint-with-entity": "Koło dla „{{entityName}}”: kliknij, aby umieścić środek koła", + "place-circle-center-hint": "Koło: kliknij, aby umieścić środek koła", + "finish-circle-hint-with-entity": "Koło dla „{{entityName}}”: kliknij, aby zakończyć i zapisać koło", + "finish-circle-hint": "Koło: kliknij, aby zakończyć rysowanie" + }, + "polyline": { + "polyline-key": "Klucz polilinii", + "polyline-key-required": "Klucz polilinii jest wymagany", + "no-polylines": "Nie skonfigurowano polilinii", + "add-polylines": "Dodaj polilinię", + "polyline-configuration": "Konfiguracja polilinii", + "remove-polyline": "Usuń polilinię", + "edit": "Edytuj polilinię", + "cut": "Wytnij obszar polilinii", + "rotate": "Obróć polilinię", + "remove-polyline-for": "Usuń polilinię dla „{{entityName}}”", + "draw-polyline": "Narysuj polilinię", + "polyline-place-first-point-hint-with-entity": "Polilinia dla „{{entityName}}”: kliknij, aby umieścić pierwszy punkt", + "polyline-place-first-point-hint": "Polilinia: kliknij, aby umieścić pierwszy punkt", + "finish-polyline-hint-with-entity": "Polilinia dla „{{entityName}}”: kliknij, aby zakończyć rysowanie", + "finish-polyline-hint": "Polilinia: kliknij, aby zakończyć rysowanie", + "polyline-place-first-point-cut-hint": "Kliknij, aby umieścić pierwszy punkt", + "finish-polyline-cut-hint": "Kliknij pierwszy znacznik, aby zakończyć i zapisać" + }, + "select-entity": "Wybierz obiekt", + "select-entity-hint": "Wskazówka: po wybraniu kliknij na mapie, aby ustawić pozycję" + }, "select-entity": "Wybierz obiekt", - "select-entity-hint": "Wskazówka: po dokonaniu wyboru kliknij na mapę, aby ustawić pozycję", + "select-entity-hint": "Wskazówka: po wybraniu kliknij na mapie, aby ustawić pozycję", "tooltips": { - "placeMarker": "Kliknij, aby umieścić obiekt '{{entityName}}'", - "firstVertex": "Poligon dla '{{entityName}}': kliknij, aby umieścić pierwszy punkt", + "placeMarker": "Kliknij, aby umieścić obiekt „{{entityName}}”", + "firstVertex": "Poligon dla „{{entityName}}”: kliknij, aby umieścić pierwszy punkt", "firstVertex-cut": "Kliknij, aby umieścić pierwszy punkt", - "continueLine": "Poligon dla '{{entityName}}': kliknij, aby kontynuować rysowanie", + "continueLine": "Poligon dla „{{entityName}}”: kliknij, aby kontynuować rysowanie", "continueLine-cut": "Kliknij, aby kontynuować rysowanie", "finishLine": "Aby zakończyć, kliknij dowolny istniejący znacznik", - "finishPoly": "Poligon dla '{{entityName}}': kliknij pierwszy znacznik, aby zakończyć i zapisać", + "finishPoly": "Poligon dla „{{entityName}}”: kliknij pierwszy znacznik, aby zakończyć i zapisać", "finishPoly-cut": "Kliknij pierwszy znacznik, aby zakończyć i zapisać", - "finishRect": "Poligon dla '{{entityName}}': kliknij, aby zakończyć i zapisać", - "startCircle": "Okrąg dla '{{entityName}}': kliknij, aby umieścić środek okręgu", - "finishCircle": "Okrąg dla '{{entityName}}': kliknij, aby zakończyć okrąg", + "finishRect": "Poligon dla „{{entityName}}”: kliknij, aby zakończyć i zapisać", + "startCircle": "Okrąg dla „{{entityName}}”: kliknij, aby umieścić środek okręgu", + "finishCircle": "Okrąg dla „{{entityName}}”: kliknij, aby zakończyć okrąg", "placeCircleMarker": "Kliknij, aby umieścić znacznik okręgu" }, "actions": { @@ -7127,7 +12996,7 @@ "drawCircleButton": "Utwórz okrąg", "drawRectButton": "Utwórz prostokąt", "editButton": "Tryb edycji", - "dragButton": "Tryb przeciągnij i upuść", + "dragButton": "Tryb przeciągania i upuszczania", "cutButton": "Wytnij obszar poligonu", "deleteButton": "Usuń", "drawCircleMarkerButton": "Utwórz znacznik okręgu", @@ -7135,12 +13004,12 @@ }, "map-provider-settings": "Ustawienia dostawcy map", "map-provider": "Dostawca map", - "map-provider-google": "Google maps", - "map-provider-openstreet": "OpenStreet maps", - "map-provider-here": "HERE maps", - "map-provider-image": "Image map", - "map-provider-tencent": "Tencent maps", - "openstreet-provider": "OpenStreet map provider", + "map-provider-google": "Mapy Google", + "map-provider-openstreet": "Mapy OpenStreet", + "map-provider-here": "Mapy HERE", + "map-provider-image": "Mapa z obrazu", + "map-provider-tencent": "Mapy Tencent", + "openstreet-provider": "Dostawca map OpenStreet", "openstreet-provider-mapnik": "OpenStreetMap.Mapnik (Domyślny)", "openstreet-provider-hot": "OpenStreetMap.HOT", "openstreet-provider-esri-street": "Esri.WorldStreetMap", @@ -7149,7 +13018,7 @@ "openstreet-provider-cartodb-positron": "CartoDB.Positron", "openstreet-provider-cartodb-dark-matter": "CartoDB.DarkMatter", "use-custom-provider": "Użyj niestandardowego dostawcy", - "custom-provider-tile-url": "Niestandardowy kafelek URL dostawcy", + "custom-provider-tile-url": "URL kafelków niestandardowego dostawcy", "google-maps-api-key": "Klucz API Google Maps", "default-map-type": "Domyślny typ mapy", "google-map-type-roadmap": "Mapa drogowa", @@ -7157,26 +13026,23 @@ "google-map-type-hybrid": "Hybrydowy", "google-map-type-terrain": "Teren", "map-layer": "Warstwa mapy", - "here-map-normal-day": "HERE.normalDay (Domyślne)", + "here-map-normal-day": "HERE.normalDay (Domyślna)", "here-map-normal-night": "HERE.normalNight", "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", - "credentials": "dane uwierzytelniające", - "here-app-id": "TUTAJ identyfikator aplikacji", - "here-app-code": "TUTAJ kod aplikacji", - "here-api-key": "TUTAJ klucz API", - "here-use-new-version-api-3": "Użyj wersji API 3", + "credentials": "Dane uwierzytelniające", + "here-api-key": "Klucz API HERE", "tencent-maps-api-key": "Klucz API Tencent Maps", "tencent-map-type-roadmap": "Mapa drogowa", "tencent-map-type-satelite": "Satelita", "tencent-map-type-hybrid": "Hybrydowy", "image-map-background": "Tło mapy obrazu", "image-map-background-from-entity-attribute": "Pobierz tło mapy obrazu z atrybutu obiektu", - "image-url-source-entity-alias": "Alias ​​obiektu źródłowej adresu URL obrazu", - "image-url-source-entity-attribute": "Atrybut obiektu źródłowej adresu URL obrazu", - "common-map-settings": "Typowe ustawienia mapy", - "x-pos-key-name": "Nazwa klawisza pozycji X", - "y-pos-key-name": "Nazwa klawisza pozycji Y", + "image-url-source-entity-alias": "Alias obiektu źródłowego adresu URL obrazu", + "image-url-source-entity-attribute": "Atrybut obiektu źródłowego adresu URL obrazu", + "common-map-settings": "Ogólne ustawienia mapy", + "x-pos-key-name": "Nazwa klucza pozycji X", + "y-pos-key-name": "Nazwa klucza pozycji Y", "latitude-key-name": "Nazwa klucza szerokości geograficznej", "longitude-key-name": "Nazwa klucza długości geograficznej", "default-map-zoom-level": "Domyślny poziom powiększenia mapy (0 - 20)", @@ -7184,13 +13050,13 @@ "disable-scroll-zooming": "Wyłącz powiększanie podczas przewijania", "disable-double-click-zooming": "Wyłącz powiększanie za pomocą podwójnego kliknięcia", "disable-zoom-control-buttons": "Wyłącz przyciski sterowania zoomem", - "fit-map-bounds": "Dopasuj granice mapy, aby pokryć wszystkie znaczniki", + "fit-map-bounds": "Dopasuj granice mapy, aby objąć wszystkie znaczniki", "use-default-map-center-position": "Użyj domyślnej pozycji środkowej mapy", "entities-limit": "Limit obiektów do załadowania", "markers-settings": "Ustawienia znaczników", "marker-offset-x": "Przesunięcie znacznika X względem pozycji pomnożonej przez szerokość znacznika", "marker-offset-y": "Przesunięcie znacznika Y względem pozycji pomnożonej przez wysokość znacznika", - "position-function": "Funkcja konwersji pozycji powinna zwracać współrzędne x, y w postaci liczby zmiennoprzecinkowej podwójnej precyji od 0 do 1 każda", + "position-function": "Funkcja konwersji pozycji, która powinna zwracać współrzędne x,y jako wartości typu double, każda z zakresu od 0 do 1", "draggable-marker": "Przeciągany znacznik", "label": "Etykieta", "show-label": "Pokaż etykietę", @@ -7200,8 +13066,8 @@ "tooltip": "Podpowiedź", "show-tooltip": "Pokaż podpowiedź", "show-tooltip-action": "Akcja służąca do wyświetlania podpowiedzi", - "show-tooltip-action-click": "Pokaż podpowiedź po kliknięciu (domyślne)", - "show-tooltip-action-hover": "Pokaż podpowiedź po najechaniu myszką", + "show-tooltip-action-click": "Pokaż podpowiedź po kliknięciu (domyślnie)", + "show-tooltip-action-hover": "Pokaż podpowiedź po najechaniu kursorem", "auto-close-tooltips": "Automatyczne zamykanie podpowiedzi", "use-tooltip-function": "Użyj funkcji podpowiedzi", "tooltip-pattern": "Podpowiedź (np. „Tekst ${keyName} jednostki.” lub tekst linku')", @@ -7226,11 +13092,11 @@ "use-polygon-label-function": "Użyj funkcji etykiety poligonu", "polygon-label-pattern": "Etykieta poligonu (przykłady wzorców: '${entityName}', '${entityName}: (Tekst ${keyName} jednostki.)' )", "polygon-label-function": "Funkcja etykiety poligonu", - "polygon-tooltip": "Etykietka poligonu", + "polygon-tooltip": "Podpowiedź poligonu", "show-polygon-tooltip": "Pokaż podpowiedź poligonu", - "auto-close-polygon-tooltips": "Automatyczne zamykanie etykiet poligonu", + "auto-close-polygon-tooltips": "Automatyczne zamykanie podpowiedzi poligonu", "use-polygon-tooltip-function": "Użyj funkcji podpowiedzi poligonu", - "polygon-tooltip-pattern": "Etykietka narzędzia (np. „Tekst ${keyName} jednostki.” lub tekst linku')", + "polygon-tooltip-pattern": "Podpowiedź (np. „Tekst ${keyName} jednostki.” lub tekst linku)", "polygon-tooltip-function": "Funkcja podpowiedzi poligonu", "polygon-color": "Kolor poligonu", "polygon-opacity": "Nieprzezroczystość poligonu", @@ -7239,23 +13105,23 @@ "polygon-stroke": "Obrys poligonu", "stroke-color": "Kolor obrysu", "stroke-opacity": "Nieprzezroczystość obrysu", - "stroke-weight": "Waga obrysu", + "stroke-weight": "Grubość obrysu", "use-polygon-stroke-color-function": "Użyj funkcji koloru obrysu poligonu", "polygon-stroke-color-function": "Funkcja koloru obrysu poligonu", - "circle-settings": "Ustawienia kręgu", + "circle-settings": "Ustawienia okręgu", "show-circle": "Pokaż okrąg", "circle-key-name": "Nazwa klucza okręgu", "enable-circle-edit": "Włącz edycję okręgu", "circle-label": "Etykieta okręgu", "show-circle-label": "Pokaż etykietę okręgu", "use-circle-label-function": "Użyj funkcji etykiety okręgu", - "circle-label-pattern": "Etykieta okrągła (przykłady wzorów: '${entityName}', '${entityName}: (Tekst ${keyName} obiektu.)' )", + "circle-label-pattern": "Etykieta okręgu (przykłady wzorców: '${entityName}', '${entityName}: (Tekst ${keyName} jednostki.)' )", "circle-label-function": "Funkcja etykiety okręgu", - "circle-tooltip": "Okrągła podpowiedź", + "circle-tooltip": "Podpowiedź okręgu", "show-circle-tooltip": "Pokaż podpowiedź okręgu", - "auto-close-circle-tooltips": "Automatyczne zamykanie podpowiedzi w okręgu", + "auto-close-circle-tooltips": "Automatyczne zamykanie podpowiedzi okręgu", "use-circle-tooltip-function": "Użyj funkcji podpowiedzi okręgu", - "circle-tooltip-pattern": "Etykietka narzędzia (np. „Tekst ${keyName} obiektu.” lub tekst linku')", + "circle-tooltip-pattern": "Podpowiedź (np. „Tekst ${keyName} jednostki.” lub tekst linku)", "circle-tooltip-function": "Funkcja podpowiedzi okręgu", "circle-fill-color": "Kolor wypełnienia okręgu", "circle-fill-color-opacity": "Nieprzezroczystość koloru wypełnienia okręgu", @@ -7265,16 +13131,16 @@ "use-circle-stroke-color-function": "Użyj funkcji koloru obrysu okręgu", "circle-stroke-color-function": "Funkcja koloru obrysu okręgu", "markers-clustering-settings": "Ustawienia grupowania znaczników", - "use-map-markers-clustering": "Użyj grupowania znaczników mapy", + "use-map-markers-clustering": "Użyj klastrowania znaczników mapy", "zoom-on-cluster-click": "Powiększ po kliknięciu klastra", - "max-cluster-zoom": "Maksymalny poziom powiększenia, gdy znacznik może być częścią klastra (0–18)", + "max-cluster-zoom": "Maksymalny poziom powiększenia, przy którym znacznik może należeć do klastra (0 - 18)", "max-cluster-radius-pixels": "Maksymalny promień, jaki będzie obejmował klaster w pikselach", "cluster-zoom-animation": "Pokaż animację na znacznikach podczas powiększania", "show-markers-bounds-on-cluster-mouse-over": "Pokaż granice znaczników, gdy najedziesz myszką na klaster", - "spiderfy-max-zoom-level": "Rozrzedź na maksymalnym poziomie powiększenia (aby zobaczyć wszystkie znaczniki klastrów)", - "load-optimization": "Optymalizacja obciążenia", - "cluster-chunked-loading": "Do dodawania znaczników używaj fragmentów, aby strona się nie zawieszała", - "cluster-markers-lazy-load": "Do dodawania znaczników używaj leniwego ładowania", + "spiderfy-max-zoom-level": "Rozsuń znaczniki przy maksymalnym poziomie powiększenia (aby zobaczyć wszystkie znaczniki klastra)", + "load-optimization": "Optymalizacja ładowania", + "cluster-chunked-loading": "Dodawaj znaczniki partiami, aby strona się nie zawieszała", + "cluster-markers-lazy-load": "Używaj leniwego ładowania przy dodawaniu znaczników", "editor-settings": "Ustawienia edytora", "enable-snapping": "Włącz przyciąganie do innych wierzchołków w celu precyzyjnego rysowania", "init-draggable-mode": "Zainicjuj mapę w trybie przeciągania", @@ -7282,7 +13148,7 @@ "hide-draw-buttons": "Ukryj przyciski rysowania", "hide-edit-buttons": "Ukryj przyciski edycji", "hide-remove-button": "Ukryj przycisk usuwania", - "route-map-settings": "Ustawienia mapy drogowej", + "route-map-settings": "Ustawienia mapy trasy", "trip-animation-settings": "Ustawienia animacji podróży", "normalization-step": "Krok normalizacji danych (ms)", "tooltip-background-color": "Kolor tła podpowiedzi", @@ -7298,7 +13164,7 @@ "use-path-decorator": "Użyj dekoratora ścieżek", "decorator-symbol": "Symbol dekoratora", "decorator-symbol-arrow-head": "Strzałka", - "decorator-symbol-dash": "Kropla", + "decorator-symbol-dash": "Kreska", "decorator-symbol-size": "Rozmiar symbolu dekoratora (px)", "use-path-decorator-custom-color": "Użyj niestandardowego koloru dekoratora ścieżek", "decorator-custom-color": "Kolor niestandardowy dekoratora", @@ -7307,96 +13173,248 @@ "decorator-repeat": "Powtórzenie dekoratora", "points-settings": "Ustawienia punktów", "show-points": "Pokaż punkty", - "point-color": "Kolor punktowy", + "point-color": "Kolor punktu", "point-size": "Rozmiar punktu (px)", "use-point-color-function": "Użyj funkcji koloru punktu", "point-color-function": "Funkcja koloru punktu", "use-point-as-anchor": "Użyj punktu jako kotwicy", - "point-as-anchor-function": "Punkt jako funkcja kotwicy", + "point-as-anchor-function": "Funkcja punktu jako kotwicy", "independent-point-tooltip": "Niezależna podpowiedź dotycząca punktu", - "clustering-markers": "Markery grupujące", + "clustering-markers": "Grupowanie znaczników", "use-icon-create-function": "Użyj funkcji koloru znaczników", "marker-color-function": "Funkcja koloru znacznika" }, "markdown": { - "use-markdown-text-function": "Użyj funkcji markdown/wartości HTML", - "markdown-text-function": "Funkcja Markdown/wartości HTML", + "use-markdown-text-function": "Użyj funkcji wartości Markdown/HTML", + "markdown-text-function": "Funkcja wartości Markdown/HTML", "markdown-text-pattern": "Wzorzec Markdown/HTML (markdown lub HTML ze zmiennymi, np. „${entityName} lub ${keyName} - jakiś tekst.”)", - "apply-default-markdown-style": "Zastosuj domyślny styl przeceny", + "apply-default-markdown-style": "Zastosuj domyślny styl Markdown", "markdown-css": "Markdown/HTML CSS" }, "simple-card": { - "label": "Label", + "label": "Etykieta", "label-position": "Pozycja etykiety", "label-position-left": "Po lewej", "label-position-top": "Na górze" }, + "single-switch": { + "behavior": "Zachowanie", + "layout": "Układ", + "layout-right": "Po prawej", + "layout-left": "Po lewej", + "layout-centered": "Pośrodku", + "auto-scale": "Automatyczne skalowanie", + "label": "Etykieta", + "icon": "Ikona", + "switch-color": "Kolor przełącznika", + "on": "Wł.", + "off": "Wył.", + "disabled": "Wyłączony", + "tumbler-color": "Kolor gałki", + "on-label": "Etykieta włączenia", + "off-label": "Etykieta wyłączenia", + "switch": "Przełącznik" + }, + "slider": { + "behavior": "Zachowanie", + "initial-value": "Wartość początkowa", + "initial-value-hint": "Akcja pobierająca wartość początkową suwaka.", + "on-value-change": "Przy zmianie wartości", + "on-value-change-hint": "Akcja wywoływana po zmianie wartości suwaka.", + "layout": "Układ", + "layout-default": "Domyślny", + "layout-extended": "Rozszerzony", + "layout-simplified": "Uproszczony", + "auto-scale": "Automatyczne skalowanie", + "icon": "Ikona", + "value": "Wartość", + "range": "Zakres", + "min": "min.", + "max": "maks.", + "range-ticks": "Znaczniki zakresu", + "tick-marks": "Znaczniki podziałki", + "colors": "Kolory", + "main": "Główny", + "background": "Tło", + "left-icon": "Ikona po lewej", + "right-icon": "Ikona po prawej", + "slider": "Suwak" + }, "value-card": { - "layout": "Layout", - "layout-square": "Square", - "layout-vertical": "Vertical", - "layout-centered": "Centered", - "layout-simplified": "Simplified", - "layout-horizontal": "Horizontal", - "layout-horizontal-reversed": "Horizontal reversed", - "label": "Label", - "icon": "Icon", - "value": "Value", - "date": "Date", - "value-card-style": "Value card style" + "layout": "Układ", + "layout-square": "Kwadrat", + "layout-vertical": "Pionowy", + "layout-centered": "Wyśrodkowany", + "layout-simplified": "Uproszczony", + "layout-horizontal": "Poziomy", + "layout-horizontal-reversed": "Poziomy odwrócony", + "label": "Etykieta", + "icon": "Ikona", + "value": "Wartość", + "date": "Data", + "value-card-style": "Styl karty wartości", + "auto-scale": "Automatyczne skalowanie" + }, + "label-card": { + "auto-scale": "Automatyczne skalowanie", + "label": "Etykieta", + "icon": "Ikona", + "label-card-style": "Styl karty etykiety" + }, + "label-value-card": { + "value": "Wartość", + "label-value-card-style": "Styl karty etykiety i wartości" + }, + "liquid-level-card": { + "layout-simple": "Prosty", + "layout-percentage": "Procentowy", + "layout-absolute": "Bezwzględny", + "layout": "Układ", + "background-overlay": "Nakładka tła wartości", + "total-volume": "Całkowita objętość", + "total-volume-units": "Jednostki całkowitej objętości", + "tank": "Zbiornik", + "shape": "Kształt", + "datasource-units": "Jednostki źródłowe", + "widget-units": "Jednostki widżetu", + "decimals": "Miejsca dziesiętne", + "liquid": "Ciecz", + "liquid-color": "Kolor cieczy", + "value": "Wartość", + "value-font": "Czcionka wartości", + "level": "Poziom", + "last-update": "Ostatnia aktualizacja", + "shape-by-attribute": "Ustaw kształt zbiornika według nazwy atrybutu", + "tooltip-background": "Kolor tła", + "background-blur": "Rozmycie tła", + "tank-color": "Kolor zbiornika", + "static": "Statyczny", + "see-examples": "Zobacz przykłady", + "attribute": "Atrybut", + "shape-type": "Typ", + "v-oval": "Owal pionowy", + "v-cylinder": "Walec pionowy", + "v-capsule": "Kapsuła pionowa", + "rectangle": "Prostokąt", + "h-oval": "Owal poziomy", + "h-ellipse": "Elipsa pozioma", + "h-dish-ends": "Poziomy z dennicami talerzowymi", + "h-cylinder": "Walec poziomy", + "h-capsule": "Kapsuła pozioma", + "h-elliptical_2_1": "Poziomy eliptyczny 2:1", + "icon": "Ikona karty", + "title": "Tytuł karty", + "units": "Jednostki", + "color-and-font": "Kolor i czcionka", + "shape-attribute-name": "Nazwa atrybutu", + "total-volume-required": "Całkowita objętość jest wymagana.", + "attribute-name-required": "Nazwa atrybutu jest wymagana.", + "attribute-key-not-set": "Nie ustawiono klucza atrybutu „{{attributeName}}”", + "attribute-key-invalid": "Klucz atrybutu „{{attributeName}}” jest nieprawidłowy" }, "aggregated-value-card": { - "subtitle": "Subtitle", - "chart": "Chart", - "values": "Values", - "value-appearance": "Value appearance", - "position": "Position", - "position-center": "Center", - "position-right-top": "Right top", - "position-right-bottom": "Right bottom", - "position-left-top": "Left top", - "position-left-bottom": "Left bottom", - "font": "Font", - "color": "Color", - "arrow": "Arrow", - "display-up-down-arrow": "Display Up/Down arrow", - "add-value": "Add value", - "remove-value": "Remove value", - "no-values": "No values configured", - "aggregation": "Aggregation", - "aggregated-value-card-style": "Aggregated value card style" + "subtitle": "Podtytuł", + "chart": "Wykres", + "values": "Wartości", + "value-appearance": "Wygląd wartości", + "position": "Pozycja", + "position-center": "Na środku", + "position-right-top": "Po prawej na górze", + "position-right-bottom": "Po prawej na dole", + "position-left-top": "Po lewej na górze", + "position-left-bottom": "Po lewej na dole", + "font": "Czcionka", + "color": "Kolor", + "arrow": "Strzałka", + "display-up-down-arrow": "Wyświetl strzałkę w górę/w dół", + "add-value": "Dodaj wartość", + "remove-value": "Usuń wartość", + "no-values": "Nie skonfigurowano żadnych wartości", + "aggregation": "Agregacja", + "aggregated-value-card-style": "Styl karty wartości zagregowanej", + "auto-scale": "Automatyczne skalowanie" + }, + "value-chart-card": { + "layout": "Układ", + "layout-left": "Po lewej", + "layout-right": "Po prawej", + "auto-scale": "Automatyczne skalowanie", + "icon": "Ikona", + "value": "Wartość", + "chart": "Wykres", + "value-chart-card-style": "Styl karty wartości z wykresem" + }, + "progress-bar": { + "layout": "Układ", + "layout-default": "Domyślny", + "layout-simplified": "Uproszczony", + "auto-scale": "Automatyczne skalowanie", + "icon": "Ikona", + "value": "Wartość", + "range": "Zakres", + "min": "Min.", + "max": "Maks.", + "range-ticks": "Znaczniki zakresu", + "bar": "Pasek", + "bar-color": "Kolor paska", + "bar-background": "Tło paska", + "progress-bar-card-style": "Styl karty paska postępu" + }, + "notification": { + "max-notification-display": "Maksymalna liczba wyświetlanych powiadomień", + "counter": "Licznik", + "counter-hint": "Licznik będzie wyświetlany, jeśli opcja „Tytuł widżetu” jest włączona", + "icon": "Ikona", + "counter-value": "Wartość", + "counter-color": "Kolor", + "notification-button": "Przyciski powiadomień", + "button-view-all": "Wyświetl wszystkie", + "button-filter": "Filtr", + "type-filter": "Filtr typów", + "button-mark-read": "Oznacz wszystkie jako przeczytane", + "notification-types": "Typy powiadomień", + "notification-type": "Typ powiadomienia", + "search-type": "Wyszukaj typ", + "any-type": "Dowolny typ" }, "alarm-count": { - "alarm-count-card-style": "Alarm count card style" + "alarm-count-card-style": "Styl karty liczby alarmów" }, "entity-count": { - "entity-count-card-style": "Entity count card style" + "entity-count-card-style": "Styl karty liczby obiektów" }, "count": { - "layout": "Layout", - "layout-column": "Column", - "layout-row": "Row", - "label": "Label", - "icon": "Icon", - "icon-background": "Icon background", - "value": "Value", - "chevron": "Chevron" + "layout": "Układ", + "layout-column": "Kolumna", + "layout-row": "Wiersz", + "label": "Etykieta", + "icon": "Ikona", + "icon-background": "Tło ikony", + "value": "Wartość", + "chevron": "Szewron", + "auto-scale": "Automatyczne skalowanie" }, "table": { "common-table-settings": "Wspólne ustawienia tabeli", "enable-search": "Włącz wyszukiwanie", "enable-sticky-header": "Zawsze wyświetlaj nagłówek", - "enable-sticky-action": "Zawsze wyświetlaj kolumnę działań", - "hidden-cell-button-display-mode": "Tryb wyświetlania akcji przycisków ukrytych komórek", - "show-empty-space-hidden-action": "Pokaż pustą przestrzeń zamiast działania przycisku ukrytej komórki", + "enable-sticky-action": "Zawsze wyświetlaj kolumnę akcji", + "hidden-cell-button-display-mode": "Tryb wyświetlania ukrytych przycisków akcji w komórkach", + "show-empty-space-hidden-action": "Pokaż puste miejsce zamiast ukrytego przycisku akcji w komórce", "dont-reserve-space-hidden-action": "Nie rezerwuj miejsca na ukryte przyciski akcji", - "display-timestamp": "Wyświetl kolumnę sygnatury czasowej", - "display-milliseconds": "Wyświetl znacznik czasu w milisekundach", + "display-timestamp": "Znacznik czasu", + "include-timestamp-in-export": "Uwzględnij kolumnę znacznika czasu w eksporcie", + "timestamp-column-name": "Znacznik czasu", "display-pagination": "Wyświetl paginację", "default-page-size": "Domyślny rozmiar strony", + "page-step-settings": "Ustawienia kroku strony", + "page-step-count": "Liczba kroków", + "page-step-increment": "Przyrost kroku", + "page-step-count-format-message": "Wartość powinna być liczbą całkowitą z zakresu od 1 do 100.", + "page-step-increment-format-message": "Wartość powinna być liczbą całkowitą większą lub równą 1.", "use-entity-label-tab-name": "Użyj etykiety obiektu w nazwie karty", - "hide-empty-lines": "Ukryj puste linie", - "row-style": "Styl rzędu", + "hide-empty-lines": "Ukryj puste wiersze", + "row-style": "Styl wiersza", "use-row-style-function": "Użyj funkcji stylu wiersza", "row-style-function": "Funkcja stylu wiersza", "cell-style": "Styl komórki", @@ -7404,11 +13422,12 @@ "cell-style-function": "Funkcja stylu komórki", "cell-content": "Zawartość komórki", "use-cell-content-function": "Użyj funkcji zawartości komórki", + "use-cell-content-function-on-export": "Użyj funkcji zawartości komórki podczas eksportu", "cell-content-function": "Funkcja zawartości komórki", - "show-latest-data-column": "Pokaż ostatnią kolumnę danych", - "latest-data-column-order": "Najnowsza kolejność kolumn danych", + "show-latest-data-column": "Pokaż kolumnę najnowszych danych", + "latest-data-column-order": "Kolejność kolumny najnowszych danych", "entities-table-title": "Tytuł tabeli obiektów", - "enable-select-column-display": "Włącz wybrane kolumny do wyświetlenia", + "enable-select-column-display": "Włącz wybór kolumn do wyświetlenia", "display-entity-name": "Wyświetl kolumnę z nazwą obiektu", "entity-name-column-title": "Tytuł kolumny z nazwą obiektu", "display-entity-label": "Wyświetl kolumnę etykiety obiektu", @@ -7434,40 +13453,245 @@ "enable-alarm-filter": "Włącz filtr alarmowy", "display-alarm-details": "Wyświetl szczegóły alarmu", "allow-alarms-ack": "Zezwalaj na potwierdzanie alarmów", - "allow-alarms-clear": "Zezwól na usunięcie alarmów", - "display-alarm-activity": "Wyświetl aktywność alarmową", + "allow-alarms-clear": "Zezwalaj na czyszczenie alarmów", + "display-alarm-activity": "Wyświetl aktywność alarmu", "allow-alarms-assign": "Zezwalaj na przypisywanie alarmów", "blob-entities-table-title": "Tytuł tabeli obiektów BLOB", - "display-created-time": "Wyświetl utworzoną kolumnę czasu", - "display-type": "Kolumna typu wyświetlania", + "display-created-time": "Wyświetl kolumnę czasu utworzenia", + "display-type": "Wyświetl kolumnę typu", "display-customer": "Wyświetl kolumnę klienta", - "no-data-display-message": "Alternatywny komunikat „Brak danych do wyświetlenia”.", + "display-columns": "Wyświetlane kolumny", + "no-data-display-message": "Alternatywny komunikat „Brak danych do wyświetlenia”", "force-default-blob-entity-type": "Wymuś domyślny typ obiektu typu BLOB", - "scheduler-events-table-title": "Tytuł tabeli zdarzeń planisty", + "scheduler-events-table-title": "Tytuł tabeli zdarzeń harmonogramu", "force-default-event-type": "Wymuś domyślny typ zdarzenia", - "columns": "Columns", - "column-settings": "Column settings", - "remove-column": "Remove column", - "add-column": "Add column", - "no-columns": "No columns configured", - "columns-to-display": "Columns to display", - "table-header": "Table header", - "header-buttons": "Header buttons", - "table-buttons": "Table buttons", - "pagination": "Pagination", - "rows": "Rows", - "timeseries-column-error": "At least one timeseries column should be specified", - "table-tabs": "Table tabs", - "show-cell-actions-menu-mobile": "Show cell actions dropdown menu in mobile mode" + "columns": "Kolumny", + "column-settings": "Ustawienia kolumn", + "remove-column": "Usuń kolumnę", + "add-column": "Dodaj kolumnę", + "no-columns": "Nie skonfigurowano żadnych kolumn", + "columns-to-display": "Kolumny do wyświetlenia", + "table-header": "Nagłówek tabeli", + "header-buttons": "Przyciski nagłówka", + "table-buttons": "Przyciski tabeli", + "pagination": "Stronicowanie", + "rows": "Wiersze", + "timeseries-column-error": "Należy określić co najmniej jedną kolumnę szeregów czasowych", + "alarm-column-error": "Należy określić co najmniej jedną kolumnę alarmu", + "table-tabs": "Karty tabeli", + "show-cell-actions-menu-mobile": "Pokaż menu rozwijane akcji komórki w trybie mobilnym", + "disable-sorting": "Wyłącz sortowanie", + "sort-by": "Sortuj karty według", + "sort-timestamp-option": "Czas utworzenia" + }, + "latest-chart": { + "total": "Razem", + "auto-scale": "Automatyczne skalowanie", + "clockwise-layout": "Układ zgodny z ruchem wskazówek zegara", + "sort-series": "Sortuj serie według etykiety", + "tooltip-value-type-absolute": "Bezwzględna", + "tooltip-value-type-percentage": "Procentowa" + }, + "pie-chart": { + "pie-chart-appearance": "Wygląd wykresu kołowego", + "label": "Etykieta", + "border": "Obramowanie", + "radius": "Promień", + "pie-chart-card-style": "Styl karty wykresu kołowego" + }, + "radar-chart": { + "radar-appearance": "Wygląd wykresu radarowego", + "shape": "Kształt", + "shape-polygon": "Wielokąt", + "shape-circle": "Koło", + "color": "Kolor", + "line": "Linia", + "points": "Punkty", + "points-label": "Etykieta punktów", + "radar-axis": "Oś radaru", + "axis-label": "Etykieta osi", + "ticks-label": "Etykieta podziałki", + "radar-chart-style": "Styl wykresu radarowego", + "max-axes-scaling": "Skalowanie osi do maksimum", + "max-axes-scaling-hint": "Wybierz, czy każda oś radaru ma własną wartość maksymalną (Oddzielnie), czy wszystkie osie współdzielą najwyższą wartość na podstawie zestawu danych widżetu (Wspólnie).", + "separate": "Oddzielnie", + "common": "Wspólnie" + }, + "time-series-chart": { + "chart": "Wykres", + "chart-style": "Styl wykresu", + "data-zoom": "Powiększanie danych", + "data-zoom-update-timewindow": "Aktualizuj okno czasowe przy powiększaniu", + "reset-timewindow": "Powrót do pierwotnego okna czasowego", + "stack-mode": "Tryb skumulowany", + "stack-mode-hint": "Układa serie na wykresie w stos. Serie o tej samej jednostce będą umieszczane jedna na drugiej.", + "axes": "Osie", + "y-axes": "Osie Y", + "line-type": "Typ linii", + "line-width": "Szerokość linii", + "type-line": "Linia", + "type-bar": "Słupek", + "type-point": "Punkt", + "no-aggregation-bar-width-strategy": "Strategia szerokości słupków dla danych niezagregowanych", + "no-aggregation-bar-width-strategy-group": "Grupowo", + "no-aggregation-bar-width-strategy-separate": "Oddzielnie", + "bar-group-width": "Szerokość grupy słupków", + "bar-width": "Szerokość słupka", + "bar-width-relative": "Procent okna czasowego", + "bar-width-absolute": "Bezwzględna (ms)", + "comparison": { + "comparison": "Porównanie", + "comparison-hint": "Porównanie działa tylko z danymi historycznymi!", + "show": "Pokaż", + "settings": "Ustawienia porównania", + "show-values-for-comparison": "Pokaż dane historyczne do porównania", + "comparison-values-label": "Etykieta klucza porównania", + "comparison-values-label-auto": "Automatycznie", + "comparison-data-color": "Kolor danych porównania" + }, + "threshold": { + "thresholds": "Progi", + "source": "Źródło", + "key-value": "Klucz / Wartość", + "no-thresholds": "Nie skonfigurowano progów", + "add-threshold": "Dodaj próg", + "type-constant": "Stała", + "type-latest-key": "Klucz", + "type-entity": "Obiekt", + "threshold-settings": "Ustawienia progu", + "remove-threshold": "Usuń próg", + "threshold-value-required": "Wartość progu jest wymagana.", + "key-required": "Klucz jest wymagany.", + "entity-key-required": "Klucz obiektu jest wymagany.", + "line-appearance": "Wygląd linii", + "line-color": "Kolor linii", + "start-symbol": "Symbol początkowy", + "end-symbol": "Symbol końcowy", + "symbol-size": "rozmiar", + "label": "Etykieta", + "label-position-start": "Początek", + "label-position-middle": "Środek", + "label-position-end": "Koniec", + "label-position-inside-start": "Wewnątrz na początku", + "label-position-inside-start-top": "Wewnątrz na początku u góry", + "label-position-inside-start-bottom": "Wewnątrz na początku na dole", + "label-position-inside-middle": "Wewnątrz pośrodku", + "label-position-inside-middle-top": "Wewnątrz pośrodku u góry", + "label-position-inside-middle-bottom": "Wewnątrz pośrodku na dole", + "label-position-inside-end": "Wewnątrz na końcu", + "label-position-inside-end-top": "Wewnątrz na końcu u góry", + "label-position-inside-end-bottom": "Wewnątrz na końcu na dole", + "label-background": "Tło etykiety" + }, + "state": { + "states": "Stany", + "label": "Etykieta", + "ticks-value": "Wartość podziałki", + "source": "Źródło", + "value-range": "Wartość / zakres", + "no-states": "Nie skonfigurowano stanów", + "add-state": "Dodaj stan", + "type-constant": "Stała", + "type-range": "Zakres", + "from": "Od", + "to": "Do", + "remove-state": "Usuń stan" + }, + "grid": { + "grid": "Siatka", + "background-color": "Kolor tła", + "border": "Obramowanie" + }, + "axis": { + "axes": "Osie", + "x-axis": "Oś X", + "y-axis": "Oś Y", + "y-axis-settings": "Ustawienia osi Y", + "comparison-x-axis-settings": "Ustawienia osi X porównania", + "remove-y-axis": "Usuń oś Y", + "id": "ID", + "label": "Etykieta", + "position": "Pozycja", + "position-left": "Po lewej", + "position-right": "Po prawej", + "position-top": "Na górze", + "position-bottom": "Na dole", + "tick-labels": "Etykiety podziałki", + "ticks-formatter-function": "Funkcja formatująca podziałkę", + "ticks-generator-function": "Funkcja generująca podziałkę", + "show-ticks": "Pokaż podziałkę", + "show-line": "Pokaż linię", + "show-split-lines": "Pokaż linie podziału", + "show-split-lines-x-axis-hint": "Jeśli włączone, na wykresie będą wyświetlane linie pionowe.", + "show-split-lines-y-axis-hint": "Jeśli włączone, na wykresie będą wyświetlane linie poziome.", + "ticks-interval": "Interwał podziałki", + "ticks-interval-hint": "Wymuszony interwał podziału osi.", + "split-number": "Liczba podziałów", + "split-number-hint": "Liczba segmentów, na które dzielona jest oś.", + "min": "Min.", + "max": "Maks.", + "show": "Pokaż", + "add-y-axis": "Dodaj oś Y" + }, + "series": { + "legend-settings": "Ustawienia legendy", + "show-in-legend": "Pokaż w legendzie", + "show-in-legend-hint": "Pokaż nazwę serii i dane w legendzie.", + "hidden-by-default": "Domyślnie ukryta", + "hidden-by-default-hint": "Domyślnie ukrywaj serię w legendzie.", + "series-type": "Typ serii", + "type": "Typ", + "type-line": "Linia", + "type-bar": "Słupek", + "line": { + "line": "Linia", + "show-line": "Pokaż linię", + "step-line": "Linia schodkowa", + "step-type-start": "Początek", + "step-type-middle": "Środek", + "step-type-end": "Koniec", + "smooth-line": "Wygładzona linia" + }, + "point": { + "points": "Punkty", + "show-points": "Pokaż punkty", + "point-label": "Etykieta punktu", + "point-label-hint": "Wyświetl etykietę z wartością nad punktem serii.", + "point-label-background": "Tło etykiety punktu", + "point-shape": "Kształt punktu", + "point-size": "Rozmiar punktu" + } + } + }, + "wind-speed-direction": { + "layout": "Układ", + "layout-default": "Domyślny", + "layout-advanced": "Zaawansowany", + "layout-simplified": "Uproszczony", + "values": "Wartości", + "wind-direction": "Kierunek wiatru", + "center-value": "Wartość w środku", + "icon": "Ikona", + "arrow": "Strzałka", + "ticks": "Podziałka", + "labels-type": "Typ etykiet", + "directional-names": "Nazwy kierunków", + "degrees": "Stopnie", + "major-ticks": "Podziałki główne", + "minor-ticks": "Podziałki pomocnicze", + "wind-speed-direction-card-style": "Styl karty prędkości i kierunku wiatru", + "ticks-color": "Kolor podziałek", + "ticks-labels-type": "Typ etykiet podziałek", + "arrow-color": "Kolor strzałki" }, "scheduler": { - "enabled-scheduler-event-views": "Włączono widoki zdarzeń planisty", + "enabled-scheduler-event-views": "Włączone widoki zdarzeń harmonogramu", "enabled-scheduler-event-views-both": "Obydwa", "enabled-scheduler-event-views-list": "Tylko widok listy", "enabled-scheduler-event-views-calendar": "Tylko widok kalendarza", "display-name": "Wyświetlana nazwa", - "type-name": "Wpisz nazwę", - "display-originator-select": "Wyświetl wybór obiektu inicjaującego", + "type-name": "Nazwa typu", + "display-originator-select": "Wyświetl wybór obiektu inicjatora", "display-message-type-select": "Wyświetl wybór typu wiadomości", "display-metadata-table": "Wyświetl tabelę metadanych wiadomości", "configuration-html-template": "Szablon HTML konfiguracji", @@ -7477,20 +13701,96 @@ }, "value-source": { "value-source": "Źródło wartości", - "predefined-value": "Predefiniowana wartość", + "predefined-value": "Stała wartość", "entity-attribute": "Wartość pobrana z atrybutu obiektu", "value": "Wartość", + "value-required": "Wartość jest wymagana.", + "key-required": "Klucz jest wymagany.", + "entity-key-required": "Klucz obiektu jest wymagany.", "source-entity-alias": "Alias obiektu źródłowego", - "source-entity-attribute": "Atrybut obiektu źródłowego" + "source-entity-attribute": "Atrybut obiektu źródłowego", + "type-constant": "Stała", + "type-latest-key": "Klucz", + "type-entity": "Obiekt" + }, + "rpc-state": { + "initial-state": "Stan początkowy", + "initial-state-hint": "Akcja pobierająca stan początkowy (Wł./Wył.) komponentu.", + "disabled-state": "Stan wyłączony", + "disabled-state-hint": "Skonfiguruj warunek, przy którym komponent jest wyłączony.", + "turn-on": "Włącz", + "turn-on-hint": "Akcja wywoływana po przełączeniu suwaka na „Wł.”", + "turn-off": "Wyłącz", + "turn-off-hint": "Akcja wywoływana po przełączeniu suwaka na „Wył.”", + "on": "Wł.", + "off": "Wył.", + "disabled": "Wyłączony" + }, + "value-action": { + "do-nothing": "Nic nie rób", + "execute-rpc": "Wykonaj RPC", + "get-attribute": "Pobierz atrybut", + "set-attribute": "Ustaw atrybut", + "get-time-series": "Pobierz szereg czasowy", + "get-alarm-status": "Pobierz status alarmu", + "get-dashboard-state": "Pobierz ID stanu pulpitu", + "get-dashboard-state-object": "Pobierz obiekt stanu pulpitu", + "add-time-series": "Dodaj szereg czasowy", + "execute-rpc-text": "Wykonaj metodę RPC „{{methodName}}”", + "get-time-series-text": "Użyj szeregu czasowego „{{key}}”", + "get-attribute-text": "Użyj atrybutu „{{key}}”", + "get-alarm-status-text": "Użyj statusu alarmu", + "get-dashboard-state-text": "Użyj stanu pulpitu", + "get-dashboard-state-object-text": "Użyj obiektu stanu pulpitu", + "when-dashboard-state-is-text": "Gdy ID stanu pulpitu to „{{state}}”", + "when-dashboard-state-function-is-text": "Gdy f(ID stanu pulpitu) to „{{state}}”", + "when-dashboard-state-object-function-is-text": "Gdy f(obiekt stanu pulpitu) to „{{state}}”", + "set-attribute-to-value-text": "Ustaw atrybut „{{key}}” na: {{value}}", + "add-time-series-value-text": "Dodaj wartość szeregu czasowego „{{key}}”: {{value}}", + "set-attribute-text": "Ustaw atrybut „{{key}}”", + "add-time-series-text": "Dodaj szereg czasowy „{{key}}”", + "action": "Akcja", + "value": "Wartość", + "init-value-hint": "Wartość, która będzie ustawiona, dopóki urządzenie nie wyśle danych.", + "method": "Metoda", + "method-name-required": "Nazwa metody jest wymagana.", + "request-timeout-ms": "Limit czasu żądania RPC (ms)", + "request-timeout-required": "Limit czasu żądania jest wymagany.", + "min-request-timeout-error": "Wartość limitu czasu żądania powinna być większa lub równa 5000 ms (5 sekund).", + "request-persistent": "Trwałe żądanie RPC", + "persistent-polling-interval": "Interwał odpytywania trwałego żądania (ms)", + "persistent-polling-interval-hint": "Interwał odpytywania (ms) w celu pobrania odpowiedzi na trwałe polecenie RPC", + "persistent-polling-interval-required": "Interwał odpytywania trwałego żądania jest wymagany.", + "min-persistent-polling-interval-error": "Wartość interwału odpytywania trwałego żądania powinna być większa lub równa 1000 ms (1 sekunda).", + "attribute-scope": "Zakres atrybutu", + "attribute-key": "Klucz atrybutu", + "attribute-key-required": "Klucz atrybutu jest wymagany.", + "time-series-key": "Klucz szeregu czasowego", + "time-series-key-required": "Klucz szeregu czasowego jest wymagany.", + "action-result-converter": "Konwerter wyniku akcji", + "converter-none": "Brak", + "converter-function": "Funkcja", + "converter-constant": "Stała", + "converter-value": "Wartość", + "parse-value-function": "Funkcja parsowania wartości", + "state-when-result-is": "„{{state}}”, gdy wynik to", + "parameters": "Parametry", + "convert-value-function": "Funkcja konwersji wartości", + "rpc-params-function": "Funkcja parametrów RPC", + "error": { + "target-entity-is-not-set": "Obiekt docelowy nie jest ustawiony!", + "failed-to-perform-action": "Nie udało się wykonać akcji {{ actionLabel }}.", + "invalid-attribute-scope": "Zakres atrybutów {{scope}} nie jest obsługiwany przez obiekt {{entityType}}." + } }, "widget-font": { - "font-settings": "Font settings", + "font-settings": "Ustawienia czcionki", "font-family": "Rodzina czcionek", "size": "Rozmiar", "relative-font-size": "Względny rozmiar czcionki (w procentach)", "font-style": "Styl", "font-style-normal": "Normalna", - "font-style-italic": "Włoska", + "font-style-italic": "Kursywa", "font-style-oblique": "Skośna", "font-weight": "Grubość", "font-weight-normal": "Normalna", @@ -7499,21 +13799,35 @@ "font-weight-lighter": "Cieńsza", "color": "Kolor", "shadow-color": "Kolor cienia", - "preview": "Preview", - "line-height": "Line height", - "auto": "Auto" + "preview": "Podgląd", + "line-height": "Wysokość linii", + "auto": "Automatyczny" + }, + "alignment": { + "horizontal-alignment": "Wyrównanie poziome", + "vertical-alignment": "Wyrównanie pionowe", + "alignment": "Wyrównanie", + "horizontal": "Poziomy", + "vertical": "Pionowy", + "align-left": "Wyrównaj do lewej", + "align-center": "Wyśrodkuj", + "align-right": "Wyrównaj do prawej", + "justify": "Wyjustuj", + "align-top": "Wyrównaj do góry", + "align-middle": "Wyrównaj do środka", + "align-bottom": "Wyrównaj do dołu" }, "home": { "no-data-available": "Brak dostępnych danych" }, "system-info": { - "cpu": "CPU (procesor)", + "cpu": "CPU", "ram": "Pamięć RAM", "disk": "Dysk", - "cpu-warning-text": "Wysokie wykorzystanie procesora. Zoptymalizuj działanie systemu aby zapobiec awarii systemu.", - "cpu-critical-text": "Krytycznie wysokie użycie procesora. Zoptymalizuj działanie systemu aby zapobiec awarii systemu.", - "ram-warning-text": "Kończy się rezerwa pamięci RAM. Zoptymalizuj działanie systemu, lub zwiększ pamięć RAM aby zapobiec awarii systemu.", - "ram-critical-text": "Krytycznie niska rezerwa pamięci RAM. Zoptymalizuj działanie systemu, lub zwiększ pamięć RAM aby zapobiec awarii systemu.", + "cpu-warning-text": "Wysokie wykorzystanie CPU. Zoptymalizuj działanie systemu, aby zapobiec jego awarii.", + "cpu-critical-text": "Krytycznie wysokie użycie CPU. Zoptymalizuj działanie systemu, aby zapobiec jego awarii.", + "ram-warning-text": "Kończy się rezerwa pamięci RAM. Aby zapobiec awarii systemu, zoptymalizuj jego działanie lub zwiększ ilość pamięci RAM.", + "ram-critical-text": "Krytycznie niska rezerwa pamięci RAM. Aby zapobiec awarii systemu, zoptymalizuj jego działanie lub zwiększ ilość pamięci RAM.", "disk-warning-text": "Kończy się miejsce na dysku. Aby zapobiec utracie danych, zwolnij lub zwiększ miejsce na dysku.", "disk-critical-text": "Krytycznie mało miejsca na dysku. Aby zapobiec utracie danych, zwolnij lub zwiększ miejsce na dysku." }, @@ -7523,11 +13837,11 @@ "no-data": "Brak danych" }, "transport-messages": { - "title": "Komunikaty transportowe", + "title": "Wiadomości transportowe", "info": "Wszystkie wiadomości pochodzące z urządzeń" }, "activity": { - "title": "Działalność" + "title": "Aktywność" }, "documentation": { "title": "Dokumentacja", @@ -7535,7 +13849,7 @@ "add-link-title": "Dodaj link do dokumentacji", "name": "Nazwa", "name-required": "Nazwa jest wymagana.", - "link": "Połączyć", + "link": "Link", "link-required": "Link jest wymagany.", "columns": "Kolumny" }, @@ -7545,23 +13859,26 @@ "add-link-title": "Dodaj szybki link", "quick-link": "Szybki link", "quick-link-required": "Wymagany jest szybki link.", - "no-links-matching": "Nie znaleziono linku '{{name}}'.", + "no-links-matching": "Nie znaleziono linków pasujących do „{{name}}”.", "columns": "Kolumny" }, + "iot-hub": { + "title-text": "Twórz szybciej dzięki sprawdzonym przez społeczność zasobom z" + }, "recent-dashboards": { - "title": "Panele", + "title": "Pulpity", "last": "Ostatnio oglądane", "starred": "Oznaczone gwiazdką", "name": "Nazwa", "last-viewed": "Ostatnio oglądane", - "no-last-viewed-dashboards": "Jeszcze nie ma ostatnio oglądanych paneli" + "no-last-viewed-dashboards": "Nie ma jeszcze ostatnio oglądanych pulpitów" }, "configured-features": { "title": "Skonfigurowane funkcje", "info": "Stan funkcji wymagających konfiguracji", - "white-labeling-feature": "White labeling", + "white-labeling-feature": "Branding", "email-feature": "E-mail", - "sms-feature": "SMS-em", + "sms-feature": "SMS", "slack-feature": "Slack", "oauth2-feature": "OAuth 2", "2fa-feature": "2FA", @@ -7571,23 +13888,24 @@ "version-info": { "title": "Wersja", "contact-us": "Skontaktuj się z nami", - "current-version": "Obecna wersja", - "current": "Aktualna", + "current-version": "Bieżąca wersja", + "current": "Bieżąca", "available-version": "Dostępna wersja", - "available": "DostępnaS", - "upgrade": "Aktualizacja", + "available": "Dostępna", + "upgrade": "Uaktualnij", "version-is-up-to-date": "Wersja jest aktualna" }, "license-info": { "title": "Informacje o licencji", "view-all": "Pokaż wszystkie", - "license-portal": "Portal licencji", - "devices-info": "{count} / { max, plural, =0 {∞} other {#} } Urządzeń", - "assets-info": "{count} / { max, plural, =0 {∞} other {#} } Zasobów", - "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } Paneli", - "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } Integracji", + "license-portal": "Portal licencyjny", + "devices-info": "{count} / { max, plural, =0 {∞} other {#} } urządzeń", + "assets-info": "{count} / { max, plural, =0 {∞} other {#} } zasobów", + "edges-info": "{count} / { max, plural, =0 {∞} other {#} } instancji Edge", + "dashboards-info": "{count} / { max, plural, =0 {∞} other {#} } pulpitów", + "integrations-info": "{count} / { max, plural, =0 {∞} other {#} } integracji", "community-support": "Pomoc społeczności", - "white-labeling": "White labeling", + "white-labeling": "Branding", "unlimited-datapoints-and-messages": "Nieograniczone punkty danych i wiadomości", "unlimited-api-calls": "Nieograniczone wywołania API" }, @@ -7599,47 +13917,41 @@ "functions": { "title": "Funkcje", "alarms": "Alarmy", - "dashboards": "Panele", - "entities-and-relations": "Obiekty i Relacje", + "dashboards": "Pulpity", + "entities-and-relations": "Obiekty i relacje", "profiles": "Profile", "advanced-features": "Zaawansowane funkcje", "notification-center": "Centrum powiadomień", "api-usage": "Użycie API", "customers": "Klienci", "customers-hierarchy": "Hierarchia klientów", - "roles-and-permissions": "Role i Pozwolenia", + "roles-and-permissions": "Role i uprawnienia", "groups": "Grupy", "integrations": "Integracje", - "solution-templates": "Szablony rozwiązań", - "scheduler": "Planista", - "white-labeling": "White-labeling" + "scheduler": "Harmonogram", + "white-labeling": "Branding" }, "devices": { - "view-docs": "Zobacz dokumenty", + "view-docs": "Zobacz dokumentację", "inactive": "Nieaktywne", "active": "Aktywne", - "total": "Wszystkie" + "total": "Razem" }, "alarms": { "critical": "Krytyczne", - "assigned-to-me": "Przydzielone do mnie", - "total": "Wszystkie" - }, - "solution-templates": { - "title": "Szablony rozwiązań", - "prototype-plan": "Plan prototypu", - "startup-plan": "Plan startowy" + "assigned-to-me": "Przypisane do mnie", + "total": "Razem" }, "getting-started": { "get-started": "Jak zacząć?", - "finish": "Koniec", + "finish": "Zakończ", "done-welcome-title": "Witaj na pokładzie", - "done-welcome-text": "Świetnie sobie z tym poradziłeś!", + "done-welcome-text": "Świetnie Ci poszło!", "sys-admin": { "step1": { - "title": "Stwórz Tenanta i Administratora Tenanta", - "content": "

Tenant to osoba fizyczna lub organizacja posiadająca lub produkująca urządzenia i zasoby.

Administrator Tenanta może tworzyć urządzenia, zasoby, klientów i panele oraz zarządzać nimi w ramach konta Tenanta.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", - "how-to-create-tenant": "Jak stworzyć Tenanta i Administratora Tenanta" + "title": "Utwórz tenanta i administratora tenanta", + "content": "

Tenant to osoba fizyczna lub organizacja, która posiada lub produkuje urządzenia i zasoby. Tenant może mieć wielu użytkowników z rolą administratora tenanta, klientów, urządzenia i zasoby.

Administrator tenanta może tworzyć urządzenia, zasoby, klientów i pulpity oraz zarządzać nimi w ramach konta tenanta.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", + "how-to-create-tenant": "Jak utworzyć tenanta i administratora tenanta" }, "step2": { "title": "Skonfiguruj funkcję: Serwer pocztowy", @@ -7652,9 +13964,9 @@ "how-to-configure-sms-provider": "Jak skonfigurować dostawcę SMS" }, "step4": { - "title": "Skonfiguruj funkcję: White labeling", + "title": "Skonfiguruj funkcję: Branding", "content": "

Z łatwością dostosuj logo i kolorystykę swojej firmy lub produktu bez kodowania i ponownego uruchamiania usługi.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", - "how-to-configure-white-labeling": "Jak white labeling" + "how-to-configure-white-labeling": "Jak skonfigurować branding" }, "step5": { "title": "Skonfiguruj funkcję: 2FA", @@ -7663,24 +13975,24 @@ }, "step6": { "title": "Skonfiguruj funkcję: OAuth 2", - "content": "

Uprość logowanie użytkowników Tenantów i klientów dzięki funkcji pojedynczego logowania za pośrednictwem protokołu OAuth 2.0.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", + "content": "

Uprość logowanie użytkowników tenantów i klientów dzięki funkcji pojedynczego logowania za pośrednictwem protokołu OAuth 2.0.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", "how-to-configure-oauth2": "Jak skonfigurować OAuth 2" }, "step7": { "title": "Skonfiguruj funkcję: Slack", - "content": "

Rozpowszechniaj powiadomienia do użytkowników Tenantów i klientów za pośrednictwem Slacka zgodnie z ustawionymi regułami powiadomień.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", + "content": "

Wysyłaj powiadomienia do użytkowników tenantów i klientów za pośrednictwem Slacka zgodnie z ustawionymi regułami powiadomień.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", "how-to-configure-notifications": "Jak skonfigurować Slacka" } }, "tenant-admin": { "step1": { - "title": "Stwórz urządzenie", - "content": "

Udostępnimy Twoje pierwsze urządzenie na platformie za pośrednictwem interfejsu użytkownika. Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić

", - "how-to-create-device": "Jak stworzyć urządzenie" + "title": "Utwórz urządzenie", + "content": "

Przeprowadźmy aprowizację Twojego pierwszego urządzenia na platformie za pomocą interfejsu użytkownika. Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", + "how-to-create-device": "Jak utworzyć urządzenie" }, "step2": { "title": "Podłącz urządzenie", - "content-before": "

Aby podłączyć urządzenie, musisz uzyskać dane uwierzytelniające urządzenia.

  • Przejdź do tabeli urządzeń
  • Kliknij wiersz urządzenia, aby otworzyć szczegóły urządzenia
  • Naciśnij przycisk „Kopiuj token dostępu”

Użyj prostych poleceń, aby publikować dane za pośrednictwem protokołu HTTP. Nie zapomnij, żeby zastąpić $ACCESS_TOKEN tokenem dostępu twojego urządzenia:

", + "content-before": "

Aby podłączyć urządzenie, musisz uzyskać dane uwierzytelniające urządzenia. Na potrzeby tego przewodnika zalecamy użycie domyślnych, automatycznie wygenerowanych danych uwierzytelniających, czyli tokenu dostępu.

  • Przejdź do tabeli urządzeń
  • Kliknij wiersz urządzenia, aby otworzyć szczegóły urządzenia
  • Naciśnij przycisk „Kopiuj token dostępu”

Użyj prostych poleceń, aby publikować dane za pośrednictwem protokołu HTTP. Nie zapomnij zastąpić $ACCESS_TOKEN tokenem dostępu Twojego urządzenia:

", "ubuntu": { "install-curl": "Zainstaluj cURL dla Ubuntu:" }, @@ -7690,71 +14002,286 @@ "windows": { "install-curl": "Począwszy od systemu Windows 10 b17063, cURL jest dostępny domyślnie." }, - "replace-access-token": "Zastąp $ACCESS_TOKEN tokenem twojego urządzenia:", + "replace-access-token": "Zastąp $ACCESS_TOKEN tokenem Twojego urządzenia:", "content-after": "

Można także używać innych protokołów, takich jak MQTT, CoAP itp.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", "how-to-connect-device": "Jak podłączyć urządzenie" }, "step3": { - "title": "Utwórz panel", - "content": "

Utwórz panel, aby wizualizować dane z obiektów, takich jak zasoby, urządzenia itp.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", - "how-to-create-dashboard": "Jak stworzyć Panel" + "title": "Utwórz pulpit", + "content": "

Utwórz pulpit, aby wizualizować dane z obiektów, takich jak zasoby, urządzenia itp.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", + "how-to-create-dashboard": "Jak utworzyć pulpit" }, "step4": { "title": "Skonfiguruj reguły alarmów", - "alarm-rules": "Zasady alarmowania", - "content": "

Podnieśmy alarm, gdy temperatura osiągnie 25°C.

", + "alarm-rules": "Reguły alarmów", + "content": "

Wywołajmy alarm, gdy temperatura osiągnie 25°C. Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", "how-to-configure-alarm-rules": "Jak skonfigurować reguły alarmów" }, "step5": { "title": "Utwórz alarm", "content-before": "

Aby wywołać alarm, wyślij nową wartość telemetryczną wynoszącą 26°C lub wyższą.

", - "replace-access-token": "Zastąp $ACCESS_TOKEN tokenem twojego urządzenia:", + "replace-access-token": "Zastąp $ACCESS_TOKEN tokenem Twojego urządzenia:", "content-after": "

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", "how-to-create-alarm": "Jak utworzyć alarm" }, "step6": { - "title": "Utwórz klienta i udostępnij panel", - "content": "

Tworząc panele użytkownika końcowego, użytkownik klient może widzieć tylko swoje własne urządzenia, a dane innych klientów zostaną ukryte.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", - "how-to-create-customer-and-share-dashboard": "Jak utworzyć Klienta i udostępnić Panel" + "title": "Utwórz klienta i udostępnij pulpit", + "content": "

Dzięki pulpitom dla użytkowników końcowych użytkownik klienta widzi tylko swoje własne urządzenia, a dane innych klientów są ukryte.

Postępuj zgodnie z dokumentacją, aby dowiedzieć się, jak to zrobić:

", + "how-to-create-customer-and-share-dashboard": "Jak utworzyć klienta i udostępnić pulpit" } } + }, + "html-container": { + "java-script": "JavaScript", + "js-function": "Funkcja JavaScript", + "html": "HTML", + "angular-html-template": "Szablon HTML Angular", + "css": "CSS", + "container-type": "Typ kontenera", + "type-plain": "Czysty HTML", + "type-angular": "Angular", + "resources": "Zasoby", + "no-resources": "Nie skonfigurowano zasobów" + }, + "api-usage": { + "api-usage": "Użycie API", + "label": "Etykieta", + "state-name": "Nazwa stanu", + "status": "Status", + "status-required": "Status jest wymagany.", + "limit": "Maks. limit", + "limit-required": "Maks. limit jest wymagany.", + "current-number": "Bieżąca liczba", + "current-number-required": "Bieżąca liczba jest wymagana.", + "add-key": "Dodaj klucz", + "no-key": "Brak klucza", + "delete-key": "Usuń klucz", + "target-dashboard-state": "Docelowy stan pulpitu", + "go-to-main-state": "Przejdź do widoku domyślnego" } }, "icon": { "icon": "Ikona", - "icons": "Icons", + "icons": "Ikony", + "custom": "Niestandardowe", "select-icon": "Wybierz ikonę", - "material-icons": "Ikony materialne", + "material-icons": "Material icons", "show-all": "Pokaż wszystkie ikony", - "search-icon": "Search icon", - "no-icons-found": "No icons found for '{{iconSearch}}'" + "search-icon": "Wyszukaj ikonę", + "no-icons-found": "Nie znaleziono ikon dla „{{iconSearch}}”" }, "subscription": { "entity-limit-text": "Możesz jednak uaktualnić swój plan subskrypcji, aby zwiększyć swoje limity.", "upgrade-your-plan": "Uaktualnij plan subskrypcji", - "white-labeling-feature": "Funkcja white labeling", - "white-labeling-text-full": "Zmień nazwę interfejsu internetowego platformy ThingsBoard za pomocą logo Twojej firmy lub produktu oraz schematu kolorów w 2 minuty.

Usuń opcję „Powered By” w stopce panelu.
Nie jest wymagane kodowanie ani ponowne uruchamianie usługi. Pozwól także swoim klientom na White Labeling swoich interfejsów", - "enable-white-labeling": "Włącz teraz funkcję white labeling, aktualizując swój plan subskrypcji!", - "read-more": "Czytaj więcej", - "white-labeling-video-text": "Obejrzyj samouczek wideo poniżej, aby zobaczyć, jak działa ta funkcja!" + "license-management": "Zarządzanie licencjami", + "perpetual-license": "Licencja wieczysta", + "subscription": "Subskrypcja", + "perpetual": "Wieczysta", + "manage-license": "Zarządzaj licencją", + "updated-ago": "Zaktualizowano {{ago}}", + "usage-and-limits": "Wykorzystanie i limity", + "add-ons": "Dodatki", + "included": "Uwzględnione", + "not-included": "Nieuwzględnione", + "add-to-license": "Dodaj do licencji", + "change-key-title": "Przechodzisz na inną licencję?", + "change-key-text": "Przejdź na inną licencję lub aktywuj wdrożenie odizolowane od sieci za pomocą klucza offline.", + "enter-key": "Wprowadź klucz", + "enter-license-key": "Wprowadź klucz licencyjny", + "applying-key-text": "Zastosowanie klucza zmienia zakres licencji tego wdrożenia.", + "keys-issued-text": "Klucze wydaje {{licensePortal}}. Zaloguj się na dowolnym urządzeniu, aby stamtąd skopiować klucz.", + "check-key": "Sprawdź klucz", + "checking-key": "Sprawdzanie klucza...", + "current": "Bieżący", + "this-key": "Ten klucz", + "replace-license": "Zastąp licencję", + "new-license-applied": "Zastosowano nowy klucz licencyjny.", + "updates-and-support-until": "Aktualizacje i wsparcie do {{date}}.", + "next-charge-and-due-date": "Następne obciążenie {{total}} w dniu {{date}}, termin płatności {{dueDate}}.", + "refresh-license-info": "Odśwież informacje o licencji", + "non-production-mode": "Tryb deweloperski — wyłącznie do użytku nieprodukcyjnego", + "non-production-mode-details": "Brak limitów urządzeń, zasobów i instancji Edge; branding jest niedostępny. Nie używaj tej instancji w środowisku produkcyjnym.", + "offline-mode": "Tryb offline", + "devices": "Urządzenia", + "number-of-devices": "{ count, plural, one {# urządzenie} few {# urządzenia} other {# urządzeń} }", + "unlimited-devices": "Nieograniczona liczba urządzeń", + "add-devices": "Dodaj urządzenia", + "device-limit-warn": "Liczba urządzeń osiągnęła {{ percent }} Twojego limitu.", + "device-limit-critical": "Liczba urządzeń osiągnęła Twój limit. Nowe urządzenia nie są rejestrowane, dopóki limit nie zostanie zwiększony.", + "assets": "Zasoby", + "add-assets": "Dodaj zasoby", + "prod-instances": "Instancje produkcyjne", + "add-instances": "Dodaj instancje", + "ai-credits": "Kredyty AI", + "add-credits": "Dodaj kredyty", + "white-labeling": "Branding", + "edge": "Edge Computing", + "edges": "Instancje Edge", + "add-edges": "Dodaj instancje Edge", + "agents": "Zdalne instancje Agent", + "add-agents": "Dodaj zdalne instancje Agent", + "trendz": "Trendz Analytics", + "name-addon": "Dodatek {{name}}", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { Dodaj {name} } other { Dodaj {name} } }", + "add-addon-subscription": "{{name}} to płatny dodatek, który zwiększa Twoją miesięczną opłatę.", + "add-addon-perpetual": "{{name}} to płatny dodatek, kupowany jednorazowo dla tej licencji.", + "upgrade-plan-devices": "W planie {{plan}} Twój limit urządzeń wynika z planu.", + "upgrade-plan-instances": "W planie {{plan}} limit instancji produkcyjnych jest częścią planu.", + "upgrade-plan-credits": "W planie {{plan}} miesięczne kredyty AI są częścią planu.", + "upgrade-plan-edges": "W planie {{plan}} limit instancji Edge jest częścią planu.", + "upgrade-plan-agents": "W planie {{plan}} limit instancji Remote Agent jest częścią planu.", + "upgrade-plan-white-labeling": "Każdy płatny plan obejmuje branding.", + "upgrade-plan-addon": "{{name}} to płatny dodatek. Dodatki wymagają płatnego planu.", + "ce-grant-case": "Każdy zakup przekształca Twój Community Grant w bezterminową licencję komercyjną. Płacisz za to, co dodajesz, a nie za to, co Community Grant już obejmuje.", + "pe-pack-case": "Professional Pack to jednorazowy zakup w tej samej cenie dla każdego posiadacza Community Grant.", + "ce-grant-white-label": "Branding, z którego już korzystasz, pozostaje bezpłatny w ramach Twojego Community Grant.", + "open-portal-manage-license": "Otworzymy licencję tego wdrożenia w Portalu licencyjnym. Może być konieczne zalogowanie się. Po powrocie naciśnij „Aktualizuj”.", + "open-portal-upgrade-plan": "Otworzymy Portal licencyjny i zaproponujemy plan. Może być konieczne zalogowanie się. Po powrocie naciśnij „Aktualizuj”.", + "open-portal": "Otwórz portal", + "add-license-item-title": "Aby {{ action }} {{ item }}, musisz zaktualizować {{ package }} w Portalu licencyjnym ThingsBoard.", + "action-add": "dodać", + "action-enable": "włączyć", + "package-subscription": "subskrypcję", + "package-perpetual": "pakiet licencji", + "go-to-license-portal": "Przejdź do Portalu licencyjnego", + "add-license-item-step-first": "Przekierujemy Cię do Portalu licencyjnego.", + "add-license-item-step-second": "Po zalogowaniu automatycznie otworzymy {{ package }} ze szczegółami.", + "add-license-item-step-third": "Rozszerz {{ package }} o „{{ item }}”.", + "add-license-item-step-fourth": "Po zakończeniu kliknij poniżej „Odśwież informacje o licencji”, aby natychmiast odświeżyć {{ package }}.", + "request-feature-sysadmin-text": "Czy jesteś administratorem systemu?", + "login-here": "Zaloguj się tutaj", + "to-get-addon": "i uzyskaj dodatek.", + "request-edge-title": "Zapewnij ciągłość działania swoich lokalizacji, nawet gdy sieć zawodzi", + "request-edge-text": "Wdrażaj instancje Edge, aby rozproszyć przetwarzanie i analizę danych w całej infrastrukturze. Kluczowe możliwości:", + "edge-card-autonomy-title": "Autonomia", + "edge-card-autonomy-text": "Zapewnia natychmiastowe działanie lokalne nawet podczas awarii sieci", + "edge-card-filtering-title": "Filtrowanie", + "edge-card-filtering-text": "Ogranicza ruch do chmury i koszty, wysyłając tylko zweryfikowane, wartościowe dane", + "edge-card-latency-title": "Opóźnienie", + "edge-card-latency-text": "Umożliwia sterowanie w czasie rzeczywistym i szybkie reakcje dzięki lokalnemu przetwarzaniu danych", + "edge-card-security-title": "Bezpieczeństwo", + "edge-card-security-text": "Zapewnia bezpieczny bufor między urządzeniami OT a chmurą publiczną", + "edge-card-efficiency-title": "Wydajność", + "edge-card-efficiency-text": "Normalizuje i agreguje dane blisko źródła, odciążając chmurę", + "request-edge-action-text": "Zarządzanie instancjami Edge jest dostępne jako dodatek. Skontaktuj się z administratorem systemu, aby je włączyć.", + "request-access": "Poproś o dostęp", + "requested": "Wysłano prośbę", + "upgrade-plan": "Uaktualnij plan", + "learn-more": "Dowiedz się więcej", + "feature-request-sent-title": "Wysłaliśmy do administratora systemu automatyczną prośbę o włączenie dodatku {{addonName}}", + "feature-request-sent-text": "Daj administratorowi trochę czasu na rozpatrzenie prośby i zaktualizowanie ustawień. Aby zobaczyć zmiany, może być konieczne odświeżenie tej strony.", + "request-trendz-title": "Przekształcaj dane IoT w cenne wnioski i upraszczaj proces podejmowania decyzji dzięki aplikacji {{name}}", + "request-trendz-text": "Odblokuj zaawansowaną analitykę IoT bez kodowania w ujednoliconym obszarze roboczym opartym na AI, który pozwala Ci eksplorować telemetrię, budować logikę, wykrywać anomalie, generować prognozy i przekształcać surowe dane w zrozumiałe, praktyczne wnioski", + "request-trendz-action-text": "Aplikacja {{name}} jest dostępna jako dodatek. Skontaktuj się z administratorem systemu, aby ją włączyć.", + "trendz-card-metric-explorer-title": "Eksplorator metryk", + "trendz-card-metric-explorer-text": "Zagłęb się w telemetrię dzięki analizie bez kodowania, niestandardowym metrykom i natychmiastowym wizualnym wnioskom", + "trendz-card-anomaly-title": "Wykrywanie anomalii", + "trendz-card-anomaly-text": "Automatycznie wykrywaj nietypowe zachowania w swoich danych", + "trendz-card-calculation-title": "Pola obliczeniowe", + "trendz-card-calculation-text": "Definiuj logikę biznesową, przekształcaj telemetrię i twórz nowe metryki", + "trendz-card-prediction-title": "Modele predykcyjne", + "trendz-card-prediction-text": "Prognozuj przyszłe wartości i wykrywaj trendy za pomocą wbudowanych modeli ML", + "trendz-card-views-title": "Widoki", + "trendz-card-views-text": "Twórz udostępniane pulpity analityczne dla zespołów i klientów — wszystko w jednym miejscu.", + "trendz-card-ai-assistant-title": "Asystent AI", + "trendz-card-ai-assistant-text": "Generuj logikę, dopracowuj formuły i automatyzuj tworzenie metryk za pomocą AI obsługującej język naturalny.", + "pe-pack": "Professional Pack", + "pe-pack-note": "Integracje, harmonogram, raporty i branding.", + "pe-pack-desc": "Rozszerza Twój Community Grant do pełnego zestawu funkcji.", + "request-pe-pack": "Poproś o pełny Professional Pack", + "add-pe-pack": "Dodaj pełny Professional Pack", + "pe-pack-extend-ce": "Rozszerza Twój Community Grant do pełnego zestawu funkcji.", + "sys-admin-pe-pack-note": "Jesteś administratorem systemu? Zaloguj się i dodaj Professional Pack w sekcji Zarządzanie licencjami.", + "pe-pack-requested": "Wysłano do Twojego administratora systemu prośbę o Professional Pack.", + "white-labeling-promo": "Ustaw logo, kolory i tytuły na stronie ustawień.", + "white-labeling-promo-try": "Ustaw logo, kolory i tytuły na stronie ustawień. Otwórz ją, aby wypróbować.", + "integrations": "Integracje", + "integrations-promo": "Pobieraj dane z LoRaWAN, MQTT, Kafka i innych platform IoT.", + "scheduler": "Harmonogram", + "scheduler-promo": "Wykonuj aktualizacje i wysyłaj zdarzenia do łańcuchów reguł zgodnie z harmonogramem.", + "reports": "Raporty", + "reports-promo": "Twórz raporty z tabel, wykresów i własnego brandingu oraz wysyłaj je zgodnie z harmonogramem." + }, + "platform-feature": { + "overview": "Przegląd", + "white-labeling": { + "not-in-plan": "Branding nie jest uwzględniony w Twoim planie", + "not-in-ce-grant": "Branding nie jest uwzględniony w Twoim Community Grant.", + "add": "Dodaj branding", + "request": "Poproś o branding", + "offer-title": "Twoja marka, Twój ekran logowania, Twoje menu, Twoje etykiety", + "offer-with-plan-lede": "Branding jest dostępny od planu Pilot wzwyż. Wszystko, co tu ustawisz, zastępuje elementy ThingsBoard — na stronie logowania, w wysyłanej przez Ciebie poczcie i na każdej stronie, na której pracują Twoi klienci.", + "offer-lede": "Dzięki brandingowi wszystko, co tu ustawisz, zastępuje elementy ThingsBoard — na stronie logowania, w wysyłanej przez Ciebie poczcie i na każdej stronie, na której pracują Twoi klienci.", + "pack-offer-lede": "Branding jest dostępny w ramach Professional Pack, płatnego dodatku do Twojego Community Grant. Po włączeniu Professional Pack wszystko, co tu ustawisz, zastępuje elementy ThingsBoard — na stronie logowania, w wysyłanej przez Ciebie poczcie i na każdej stronie, na której pracują Twoi klienci.", + "sys-admin-wl-note": "Jesteś administratorem systemu? Zaloguj się i dodaj branding w sekcji „Zarządzanie licencjami”." + }, + "integrations": { + "not-in-ce-grant": "Integracje nie są uwzględnione w Twoim Community Grant.", + "pack-offer-title": "Pobieraj dane z LoRaWAN, MQTT, Kafka i innych platform IoT", + "pack-offer-lede": "Integracje są częścią Professional Pack, płatnego dodatku do Twojego Community Grant. Każda z nich odczytuje dane z serwera sieci LoRaWAN, brokera MQTT lub Kafka albo innej platformy IoT — automatycznie tworzy urządzenia, gdy się pojawiają, i zapisuje przesyłane przez nie dane jako telemetrię.", + "overview": { + "brokers-and-platforms": "Brokery i platformy", + "brokers-and-platforms-desc": "Jedna integracja na każde źródło, konfigurowana i monitorowana z poziomu interfejsu użytkownika.", + "data-converters": "Konwertery danych", + "data-converters-desc": "Dekoduj własny ładunek urządzenia — w tym za pomocą kodeków LoRaWAN — skryptem, bez zmieniania tego, co wysyła urządzenie.", + "downlink": "Downlink", + "downlink-desc": "Wysyłaj polecenia i konfigurację z powrotem do urządzenia przez to samo połączenie.", + "remote-integrations": "Zdalne integracje", + "remote-integrations-desc": "Uruchom integrację na brzegu sieci, na własnym hoście — buforuje dane, gdy połączenie z ThingsBoard jest niedostępne." + }, + "dozen-protocols-brokers-and-platforms": "Dziesiątki protokołów, brokerów i platform", + "browse-setup-guides-note": "Przeglądaj przewodniki konfiguracji w naszej dokumentacji." + }, + "scheduler": { + "not-in-ce-grant": "Harmonogram nie wchodzi w skład Twojego Community Grant.", + "pack-offer-title": "Wykonuj aktualizacje i wysyłaj zdarzenia do łańcuchów reguł zgodnie z harmonogramem", + "pack-offer-lede": "Harmonogram jest częścią Professional Pack, płatnego dodatku do Twojego Community Grant. Wykonuj aktualizacje oprogramowania sprzętowego i wysyłaj zdarzenia do łańcuchów reguł — każdy wpis ma czas rozpoczęcia, regułę powtarzania i własną strefę czasową, a platforma uruchamia go niezależnie od tego, czy cokolwiek Twojego nadal działa.", + "overview": { + "repeats-and-timezones": "Powtórzenia i strefy czasowe", + "repeats-and-timezones-desc": "Jednorazowo albo codziennie lub co tydzień w wybrane dni — a każde zdarzenie jest przetwarzane we własnej strefie czasowej.", + "device-commands": "Polecenia dla urządzeń", + "device-commands-desc": "Wyślij polecenie do urządzenia o ustalonej godzinie, bez zadania cron przechowującego token API.", + "firmware-and-software": "Oprogramowanie sprzętowe i oprogramowanie", + "firmware-and-software-desc": "Wdróż pakiet OTA na urządzenie lub całą grupę o godzinie, gdy nikt nie patrzy.", + "rule-chain-triggers": "Wyzwalacze łańcuchów reguł", + "rule-chain-triggers-desc": "Przekazuj wiadomości do łańcucha reguł, aby wszystko, co potrafi łańcuch reguł, mogło działać bez nadzoru." + } + }, + "reporting": { + "not-in-ce-grant": "Raporty nie wchodzą w skład Twojego Community Grant.", + "pack-offer-title": "Utwórz raport raz i dostarczaj go przy każdym zaplanowanym uruchomieniu", + "pack-offer-lede": "Raporty są częścią Professional Pack, płatnego dodatku do Twojego Community Grant. Układ raportu tworzysz samodzielnie — tabele, wykresy, tekst i własny branding — a każde uruchomienie trafia do odbiorców zgodnie z harmonogramem lub w chwili wystąpienia alarmu.", + "overview": { + "your-own-layout": "Własny układ", + "your-own-layout-desc": "Przeciągnij tabele, wykresy, tekst i obrazy na miejsce, a jeden zapisany szablon obsłuży każdego klienta.", + "pdf-or-csv": "PDF lub CSV", + "pdf-or-csv-desc": "Dokument gotowy do druku z narysowanymi wykresami albo surowe wiersze dla tych, którzy potrzebują liczb.", + "channel": "E-mail, Slack, Teams lub SMS", + "channel-desc": "Wybierz kanał dla każdego odbiorcy lub grupy użytkowników — platforma dostarcza każde zaplanowane uruchomienie.", + "attached-to-alarm": "Dołączony do alarmu", + "attached-to-alarm-desc": "Powiadomienie zawiera raport utworzony w chwili wystąpienia alarmu na podstawie danych z tego momentu." + } + } }, "subscription-error": { "title": "Naruszenie subskrypcji", "warning-title": "Ostrzeżenie dotyczące subskrypcji", "upgrade-subscription-plan": "Uaktualnij swój plan subskrypcji", - "upgrade-subscription-plan-to-install-solution-template": "Aby zainstalować rozwiązanie {{solutionTemplateName}}, musisz uaktualnić swoją subskrypcję co najmniej do planu {{planName}}!", + "upgrade-subscription-plan-to-install-solution-template": "Szablon rozwiązania {{solutionTemplateName}} jest dostępny od planu {{planName}}. Aby kontynuować, poproś administratora systemu o uaktualnienie planu.", "limit-reached": { - "device-count": "Osiągnięto maksymalną liczbę urządzeń ({{value}}) dozwolone przez Twój plan abonamentowy!", - "asset-count": "Osiągnąłeś maksymalną liczbę zasobów ({{value}}) dozwolone przez Twój plan abonamentowy!" + "device-count": "Osiągnięto maksymalną liczbę urządzeń ({{value}}) dozwoloną przez Twój plan subskrypcji!", + "asset-count": "Osiągnięto maksymalną liczbę zasobów ({{value}}) dozwoloną przez Twój plan subskrypcji!", + "edge-count": "Osiągnięto maksymalną liczbę instancji Edge ({{value}}) dozwoloną przez Twój plan subskrypcji!", + "agent-count": "Osiągnięto maksymalną liczbę zdalnych instancji Agent ({{value}}) dozwoloną przez Twój plan subskrypcji!" }, "feature-disabled": { - "white-labeling": "Funkcja white labeling nie jest dozwolona w Twoim planie subskrypcji!" + "white-labeling": "Funkcja brandingu nie jest dozwolona w Twoim planie subskrypcji!" } }, "phone-input": { "phone-input-label": "Numer telefonu", "phone-input-required": "Numer telefonu jest wymagany", - "phone-input-validation": "Numer telefonu jest nieprawidłowy lub niemożliwy", + "phone-input-validation": "Numer telefonu jest nieprawidłowy lub nie może istnieć", "phone-input-pattern": "Nieprawidłowy numer telefonu. Powinien być w formacie E.164, np. {{phoneNumber}}", "phone-input-hint": "Numer telefonu w formacie E.164, np. {{phoneNumber}}" }, @@ -7762,6 +14289,7 @@ "widget-action": { "action-cell-button": "Przycisk komórki akcji", "row-click": "Po kliknięciu wiersza", + "cell-click": "Po kliknięciu komórki", "polygon-click": "Po kliknięciu poligonu", "marker-click": "Po kliknięciu znacznika", "circle-click": "Po kliknięciu okręgu", @@ -7770,18 +14298,106 @@ "element-click": "Po kliknięciu elementu HTML", "pie-slice-click": "Po kliknięciu wycinka", "row-double-click": "Po dwukrotnym kliknięciu wiersza", - "card-click": "On card click" + "cell-double-click": "Po dwukrotnym kliknięciu komórki", + "card-click": "Po kliknięciu karty", + "click": "Po kliknięciu" } }, "paginator": { - "items-per-page": "Przedmioty na stronę:", + "items-per-page": "Elementów na stronę:", "first-page-label": "Pierwsza strona", "last-page-label": "Ostatnia strona", "next-page-label": "Następna strona", "previous-page-label": "Poprzednia strona", "items-per-page-separator": "z" }, + "trendz-analytics": { + "add-new": "+ Dodaj nowy", + "ai-assistant": "Asystent AI", + "ai-assistant-description": "Wnioski w formie rozmowy i automatyczne raportowanie", + "anomaly-detection": "Wykrywanie anomalii", + "anomaly-detection-description": "Aktywne modele wykrywania anomalii", + "calculated-fields": "Pola obliczeniowe", + "calculated-fields-description": "Niestandardowa logika biznesowa i obliczenia", + "contact-admin-message": "Daj administratorowi trochę czasu na rozpatrzenie prośby i zaktualizowanie ustawień. Aby zobaczyć zmiany, może być konieczne odświeżenie tej strony.", + "contact-admin-title": "Powiadomiliśmy administratora systemu o tym błędzie", + "contact-sys-admin": "Skontaktuj się z administratorem systemu", + "disabled": "Wyłączony", + "enabled": "Włączony", + "explore": "Eksploruj", + "loading-ai-assistant": "Ładowanie czatów AI...", + "loading-anomaly-model": "Ładowanie modeli wykrywania anomalii...", + "loading-calculation-field": "Ładowanie pól obliczeniowych...", + "loading-metric-explorer": "Ładowanie eksploratora metryk...", + "loading-prediction-model": "Ładowanie modeli predykcyjnych...", + "loading-views": "Ładowanie widoków...", + "metric-explorer": "Eksplorator metryk", + "metric-explorer-description": "Ostatnio analizowane metryki do szybkiej nawigacji", + "no-anomaly-models-found": "Brak modeli wykrywania anomalii", + "no-calculated-fields-found": "Brak pól obliczeniowych", + "no-chats-found": "Brak czatów", + "no-metrics-found": "Brak metryk", + "no-prediction-models-found": "Brak modeli predykcyjnych", + "no-views-found": "Brak widoków", + "prediction-models": "Modele predykcyjne", + "prediction-models-description": "Prognozowanie i analityka predykcyjna", + "read-upgrade-guide": "Przeczytaj przewodnik po uaktualnieniu", + "retry-discovery": "Ponów wykrywanie", + "retry-healthcheck": "Ponów kontrolę stanu", + "save-configuration": "Zapisz konfigurację", + "service-connection": "Połączenie z usługą", + "service-unavailable": "Usługa {{ name }} jest tymczasowo niedostępna", + "service-unavailable-message": "Obecnie występuje problem techniczny, który uniemożliwia dostęp do usługi {{ name }}.", + "service-unavailable-incident-reported": "Przyczyną jest problem z konfiguracją lub łącznością między platformą a serwerami analitycznymi. Zgłoś ten problem administratorowi systemu.", + "service-unavailable-report-issue": "Zgłoś problem", + "service-unavailable-request-sent-title": "Wysłano automatyczne zgłoszenie dotyczące tego problemu do Twojego administratora systemu", + "service-unavailable-request-sent-message": "Daj administratorowi trochę czasu na rozpatrzenie prośby i zaktualizowanie ustawień. Aby zobaczyć zmiany, może być konieczne odświeżenie tej strony.", + "sync": { + "sync-completed": "Synchronizacja zakończona pomyślnie", + "sync-disabled": "Synchronizacja jest wyłączona w konfiguracji Trendz", + "sync-internal-error": "Nieoczekiwany wewnętrzny błąd synchronizacji", + "sync-not-initialized": "Synchronizacja z aplikacją Trendz nie została zainicjowana", + "tb-auth-invalid": "Uwierzytelnienie na platformie ThingsBoard nie powiodło się. Nieprawidłowy klucz API", + "tb-url-mismatch": "Podany adres URL platformy ThingsBoard nie jest zgodny z adresem zapisanym na platformie ThingsBoard", + "tb-url-unreachable": "Adres URL platformy ThingsBoard jest nieosiągalny", + "trendz-auth-invalid": "Uwierzytelnienie w aplikacji Trendz nie powiodło się. Nieprawidłowy lub brakujący klucz API aplikacji Trendz", + "trendz-unsupported-version": "Wersja aplikacji Trendz nie jest obsługiwana", + "trendz-url-unreachable": "Podany adres URL aplikacji Trendz jest nieosiągalny" + }, + "thingsboard-internal-url": "Wewnętrzny adres URL platformy ThingsBoard", + "thingsboard-internal-url-invalid": "Wewnętrzny adres URL platformy ThingsBoard jest nieprawidłowy", + "thingsboard-internal-url-required": "Wewnętrzny adres URL platformy ThingsBoard jest wymagany", + "trendz-analytics": "Analityka Trendz", + "advanced-analytics": "Zaawansowana analityka", + "trendz-configuration": "Konfiguracja Trendz", + "trendz-configuration-unsaved-message": "Zmiany w konfiguracji Trendz nie zostały zapisane.
Czy chcesz je zapisać przed uruchomieniem wykrywania?", + "trendz-configuration-unsaved-continue-without-saving": "Kontynuuj bez zapisywania", + "trendz-internal-url": "Wewnętrzny adres URL aplikacji Trendz", + "trendz-internal-url-invalid": "Wewnętrzny adres URL aplikacji Trendz jest nieprawidłowy", + "trendz-internal-url-required": "Wewnętrzny adres URL aplikacji Trendz jest wymagany", + "trendz-settings": "Ustawienia Trendz", + "trendz": "Trendz", + "views": "Widoki", + "views-description": "Skonfigurowane grupy wizualizacji i raporty", + "trendz-synced": "Synchronizacja zakończona pomyślnie", + "trendz-available": "Synchronizacja nie została zakończona", + "trendz-unavailable": "Nie wykryto usługi", + "view-all": "Wyświetl wszystkie", + "view-type": { + "ai-card": "Karta AI", + "bar": "Wykres słupkowy", + "card": "Karta", + "card-with-line": "Karta z wykresem liniowym", + "heatmap": "Mapa cieplna", + "heatmap-calendar": "Kalendarz z mapą cieplną", + "line": "Wykres liniowy", + "pie": "Wykres kołowy", + "scatter-plot": "Wykres punktowy", + "table": "Tabela" + } + }, "language": { + "auto": "Automatyczny", "language": "Język" } } From 2c1acc61f68a5be259327877227ed01a62a2ee57 Mon Sep 17 00:00:00 2001 From: Artem Murenko Date: Wed, 11 Nov 2026 17:08:32 +0200 Subject: [PATCH 218/275] Updated Korean locale translations for 4.4 (#16624) * Update Korean translation for 4.4: missing keys, cut-off strings, terminology * Remove Korean keys that en_US no longer has --- .../assets/locale/locale.constant-ko_KR.json | 7788 +++++++++++++---- 1 file changed, 5966 insertions(+), 1822 deletions(-) diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index 37133aa935..7462cc2241 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -1,10 +1,109 @@ { + "setup": { + "activate-platform": "ThingsBoard 활성화", + "initial": { + "welcome": "ThingsBoard {{version}}에 오신 것을 환영합니다", + "title": "무료 라이선스를 받고 구축을 시작하세요", + "desc": "라이선스 포털에서 몇 분이면 됩니다 — 계정을 만들고 라이선스를 선택하면 이 인스턴스가 자동으로 활성화됩니다.", + "open-license-portal": "라이선스 포털 열기", + "already-have-license": "이미 라이선스가 있습니까?", + "free-no-credit-card": "영구 무료입니다. 신용카드가 필요하지 않습니다.", + "source-available": "다음 라이선스에 따라 소스 공개" + }, + "waiting": { + "live-eyebrow": "활성화 대기 중", + "title": "라이선스 포털에서 계속하세요", + "desc": "로그인하거나 계정을 만든 후 라이선스를 선택하고 약관에 동의하세요. 라이선스가 발급되면 이 인스턴스가 자동으로 활성화됩니다.", + "nothing-opened": "아무것도 열리지 않았습니까?", + "paste-link-or-scan-qr-code": "인터넷에 연결된 아무 장치에나 텍스트 링크를 붙여넣거나 휴대폰으로 QR 코드를 스캔하세요.", + "text-link": "텍스트 링크", + "qr-code": "QR 코드", + "qr-code-hint": "휴대폰 카메라로 코드를 비춘 다음 링크를 여세요. 휴대폰 자체의 인터넷 연결이 필요합니다.", + "have-key": "라이선스 키가 있습니까?", + "activate-key": "키로 라이선스 활성화" + }, + "offline": { + "eyebrow": "오프라인", + "title": "다른 장치에서 활성화", + "desc": "이 서버는 라이선스 포털에 연결할 수 없으므로 두 단계로 진행됩니다: 연결된 장치에서 라이선스를 받은 다음 여기에 키를 입력하세요.", + "get-your-license": "포털에서 라이선스 받기", + "open-link": "인터넷에 연결된 아무 장치에서나 이 링크를 여세요. 로그인하거나 계정을 만들고 라이선스를 선택한 후 약관에 동의합니다. 그러면 포털에 라이선스 키가 표시됩니다.", + "paste-key": "여기에 키를 붙여넣으세요", + "no-connected-device": "연결된 장치가 하나도 없습니까?" + }, + "have-key": { + "title": "키로 라이선스 활성화", + "enter-license-key": "라이선스 키를 입력하세요", + "enter-license-key-note": "라이선스 포털 계정에 있습니다: 아무 장치에서나 {{hostName}}에 로그인한 후 거기에서 복사하세요.", + "no-account": "계정도 없고 연결된 장치도 없습니까?", + "contact-support": "지원팀에 문의" + }, + "key-form": { + "placeholder": "라이선스 키를 붙여넣으세요", + "invalid": "이 키는 이 인스턴스에 유효하지 않습니다. 누락된 문자가 있는지 확인하거나 지원팀에 문의하세요.", + "activate": "활성화", + "activating": "활성화 중" + }, + "account": { + "title": "이 인스턴스가 활성화되었습니다", + "desc": "라이선스가 이 서버와 라이선스 포털 계정에 저장되어 있습니다.", + "create-sys-admin-account": "시스템 관리자 계정 생성", + "create-sys-admin-account-hint": "이 계정으로 이 서버에 로그인합니다 — 라이선스가 보관된 라이선스 포털 계정과는 별개입니다.", + "email-label": "이메일", + "email-required": "이메일 주소를 입력하세요.", + "email-invalid": "유효한 이메일 주소를 입력하세요.", + "password-label": "비밀번호", + "password-required": "비밀번호를 입력하세요.", + "password-min-length": "비밀번호는 6자 이상이어야 합니다.", + "confirm-label": "비밀번호 확인", + "confirm-required": "비밀번호를 다시 입력하세요.", + "confirm-mismatch": "비밀번호가 일치하지 않습니다.", + "demo-tenant-title": "데모 테넌트 설정", + "demo-tenant-desc": "플랫폼이 실제로 작동하는 모습을 가장 빠르게 확인하는 방법입니다. 대시보드, 장치, 규칙 체인이 이미 설정되어 있으며, 테넌트 사용자와 고객 사용자가 바로 로그인할 수 있습니다. 시스템 관리자는 테넌트 페이지에서 열 수도 있습니다.", + "create": "계정 생성", + "creating": "계정 생성 중" + }, + "demo-tenant": { + "signed-in-as": "시스템 관리자 계정이 생성되었으며, {{email}}(으)로 로그인되었습니다.", + "title": "데모 테넌트를 살펴보시겠습니까?", + "desc": "기본 구성이 이미 완료되어 있습니다 — 대시보드를 열거나, 규칙을 변경하거나, 자신의 장치를 연결하세요.", + "dashboards": "대시보드 — 아래 장치를 기반으로 구성되었으며 위젯 바인딩이 이미 완료되어 있습니다", + "devices": "장치 — 장치 프로필과 알람 규칙이 함께 설정되어 있으며, 아직 데이터를 보낸 장치는 없습니다", + "rule-chains": "규칙 체인 — 해당 알람의 발생 여부가 결정되는 곳", + "explore": "데모 테넌트 탐색", + "not-now": "나중에", + "not-now-hint": "나중에를 선택하면 시스템 관리 화면으로 이동합니다.", + "signing-in-later": "나중에 로그인", + "demo-tenant-hint": "테넌트 자체 관리자입니다. 시스템 관리자는 비밀번호 없이 테넌트 페이지에서 테넌트를 열 수도 있습니다." + }, + "non-production": { + "eyebrow": "재확인 필요", + "title": "이 배포가 여전히 비프로덕션 환경인지 확인하세요.", + "desc": "이 인스턴스는 무료 비프로덕션 라이선스로 실행되며, 시스템 관리자가 주기적으로 재확인합니다. 확인해도 데이터, 사용자 또는 장치 연결에는 영향을 주지 않습니다.", + "confirm": "확인", + "confirming": "확인 중", + "sysadmin-required": "시스템 관리자만 확인할 수 있습니다.", + "login-as-sysadmin": "시스템 관리자로 로그인", + "state-verify-failed": "확인되었지만 상태를 검증할 수 없습니다. 페이지를 새로 고치세요.", + "state-not-updated": "이 인스턴스에서 아직 확인이 완료되지 않은 것으로 표시됩니다. 페이지를 새로 고친 후 다시 확인하세요." + }, + "errors": { + "signin-failed": "계정이 생성되었지만 자동 로그인에 실패했습니다. 페이지를 새로 고친 후 직접 로그인하세요.", + "state-not-updated": "설정이 완료되었지만 상태가 업데이트되지 않았습니다. 페이지를 새로 고치세요.", + "state-verify-failed": "설정이 완료되었지만 상태를 확인할 수 없습니다. 페이지를 새로 고치세요.", + "no-sign-up-url": "이 인스턴스가 링크 없이 응답하여 열 항목이 없습니다.", + "link-expired": "링크가 만료되었습니다. 새 링크를 받으려면 라이선스 포털을 다시 여세요.", + "activated-state-verify-failed": "이 인스턴스에는 라이선스가 적용되었지만 아직 다음 단계를 읽을 수 없습니다. 계속 시도하는 중입니다 — 페이지를 새로 고칠 수도 있습니다.", + "no-connection": "서버와 연결되지 않았습니다. 나중에 다시 시도하세요.", + "request-failed": "요청이 실패했습니다. 다시 시도하세요." + } + }, "access": { "unauthorized": "승인되지 않음", "unauthorized-access": "승인되지 않은 접근", "unauthorized-access-text": "이 리소스에 접근하려면 로그인해야 합니다!", "access-forbidden": "접근 금지", - "access-forbidden-text": "접근 권한이 없습니다!
만일 이 페이지에 계속 접근하려면 다른 사용자로 로그인 하세요.", + "access-forbidden-text": "접근 권한이 없습니다!
이 페이지에 계속 접근하려면 다른 사용자로 로그인하세요.", "refresh-token-expired": "세션이 만료되었습니다", "refresh-token-failed": "세션을 새로 고칠 수 없습니다.", "permission-denied": "권한이 없습니다", @@ -16,7 +115,7 @@ }, "action": { "activate": "활성화", - "suspend": "비활성화", + "suspend": "일시 중지", "save": "저장", "saveAs": "다른 이름으로 저장", "move": "이동", @@ -24,8 +123,8 @@ "ok": "확인", "delete": "삭제", "add": "추가", - "yes": "네", - "no": "아니오", + "yes": "예", + "no": "아니요", "update": "업데이트", "remove": "제거", "select": "선택", @@ -35,12 +134,14 @@ "unassign": "할당 해제", "share": "공유", "make-private": "비공개로 설정", + "make-public": "공개로 설정", "apply": "적용", "apply-changes": "변경사항 적용", "edit-mode": "수정 모드", "enter-edit-mode": "수정 모드 진입", - "decline-changes": "변경사항 포기", - "decline": "취소", + "decline-changes": "변경 사항 거절", + "open": "열기", + "decline": "거절", "close": "닫기", "back": "뒤로", "run": "실행", @@ -50,14 +151,15 @@ "create": "만들기", "drag": "끌기", "refresh": "새로고침", - "undo": "취소", + "undo": "실행 취소", "copy": "복사", + "copied": "복사됨", "paste": "붙여넣기", "copy-reference": "참조 복사", "paste-reference": "참조 붙여넣기", "import": "가져오기", "export": "내보내기", - "share-via": "{{provider}}를 통해 공유", + "share-via": "{{provider}}을(를) 통해 공유", "continue": "계속", "discard-changes": "변경 취소", "download": "다운로드", @@ -75,41 +177,49 @@ "skip": "건너뛰기", "send": "보내기", "reset": "초기화", + "reset-default": "기본값으로 재설정", "show-more": "더보기", "dont-show-again": "다시 표시하지 않음", + "dont-show-this-again": "다시 표시 안 함", "see-documentation": "문서 보기", "see-debug-events": "디버그 이벤트 보기", "clear": "지우기", "upload": "업로드", "delete-anyway": "무시하고 삭제", "delete-selected": "선택 삭제", - "set": "설정" + "set": "설정", + "duplicate": "복제", + "disable": "비활성화", + "enable": "활성화", + "rename": "이름 변경", + "retry": "다시 시도" }, "aggregation": { - "aggregation": "집합", - "function": "데이터 집합 함수", - "limit": "최대 값", + "aggregation": "집계", + "function": "데이터 집계 함수", + "limit": "최대 값 개수", "group-interval": "그룹 간격", "min": "최소", "max": "최대", "avg": "평균", "sum": "합계", - "count": "숫자", + "count": "개수", "none": "없음" }, "admin": { "settings": "설정", + "platform": "플랫폼", "general": "일반", "general-settings": "일반 설정", "home-settings": "홈 설정", "home": "홈", - "outgoing-mail": "메일 전송", - "outgoing-mail-settings": "메일 전송 설정", + "outgoing-mail": "메일 서버", + "outgoing-mail-settings": "발신 메일 서버 설정", "system-settings": "시스템 설정", "test-mail-sent": "테스트 메일이 성공적으로 전송되었습니다!", "base-url": "기본 URL", "base-url-required": "기본 URL을 입력해야 합니다.", - "prohibit-different-url": "클라이언트 요청 헤더로부터 호스트 이름 사용을 제한", + "prohibit-different-url": "클라이언트 요청 헤더의 호스트 이름 사용 금지", "prohibit-different-url-hint": "이 설정은 프로덕션 환경에서 활성화되어야 합니다. 비활성화되면 보안 문제가 발생할 수 있습니다.", "device-connectivity": { "device-connectivity": "장치 연결", @@ -151,15 +261,35 @@ "proxy-password": "프록시 비밀번호", "change-password": "비밀번호 변경", "send-test-mail": "테스트 메일 보내기", + "use-system-mail-settings": "시스템 메일 서버 설정 사용", + "mail-templates": "메일 템플릿", + "mail-template-settings": "메일 템플릿 설정", + "use-system-mail-template-settings": "시스템 메일 템플릿 사용", + "mail-template": { + "mail-template": "메일 템플릿", + "test": "테스트 이메일 메시지", + "activation": "계정 활성화 메시지", + "account-activated": "계정 활성화 완료 메시지", + "account-lockout": "계정 잠금 메시지", + "reset-password": "비밀번호 재설정 메시지", + "password-was-reset": "비밀번호 재설정 완료 메시지", + "api-usage-state-enabled": "API 사용 상태 활성화됨", + "api-usage-state-warning": "API 사용 상태 경고", + "api-usage-state-disabled": "API 사용 상태 비활성화됨", + "two-fa-verification": "2단계 인증 메시지" + }, + "mail-subject": "메일 제목", + "mail-body": "메일 본문", "sms-provider": "SMS 제공자", "sms-provider-settings": "SMS 제공자 설정", + "use-system-sms-settings": "시스템 SMS 제공자 설정 사용", "sms-provider-type": "SMS 제공자 유형", - "sms-provider-type-required": "SMS 제공자 유형을 입력하세요.", + "sms-provider-type-required": "SMS 제공자 유형을 선택하세요.", "sms-provider-type-aws-sns": "Amazon SNS", "sms-provider-type-twilio": "Twilio", "sms-provider-type-smpp": "SMPP", "aws-access-key-id": "AWS 액세스 키 ID", - "aws-access-key-id-required": "AWS 액세스 ID를 입력하세요.", + "aws-access-key-id-required": "AWS 액세스 키 ID를 입력하세요.", "aws-secret-access-key": "AWS 보안 액세스 키", "aws-secret-access-key-required": "AWS 보안 액세스 키를 입력하세요", "aws-region": "AWS 지역", @@ -185,7 +315,7 @@ "password-policy": "비밀번호 정책", "minimum-password-length": "최소 비밀번호 길이", "minimum-password-length-required": "최소 비밀번호 길이를 입력하세요", - "minimum-password-length-range": "최소 비밀번호 길이를 5~50 범위 내에서 입력하세요", + "minimum-password-length-range": "최소 비밀번호 길이를 6~50 범위 내에서 입력하세요", "maximum-password-length": "최대 비밀번호 길이", "maximum-password-length-min": "최대 비밀번호 길이는 최소 6자 이상이어야 합니다.", "maximum-password-length-less-min": "최대 비밀번호 길이는 최소 길이보다 커야 합니다.", @@ -207,7 +337,7 @@ "general-policy": "일반 정책", "max-failed-login-attempts": "계정이 잠기기 전까지 허용되는 최대 로그인 실패 시도 수", "minimum-max-failed-login-attempts-range": "최대 로그인 실패 시도 수는 음수가 될 수 없습니다", - "user-lockout-notification-email": "계정이 잠길 경우 이메일로 안내 발송", + "user-lockout-notification-email": "계정 잠김 시 알림을 받을 이메일", "user-activation-token-ttl": "사용자 활성화 링크 TTL (시간)", "user-activation-token-ttl-range": "사용자 활성화 링크 TTL은 1~24시간 범위여야 합니다.", "password-reset-token-ttl": "비밀번호 재설정 링크 TTL (시간)", @@ -217,7 +347,7 @@ "domain-name": "도메인 이름", "domain-name-unique": "도메인 이름과 프로토콜은 중복되지 않아야 합니다.", "domain-name-max-length": "도메인 이름은 256자 미만이어야 합니다.", - "error-verification-url": "도메인 이름은 '/'이나 ':'와 같은 문자를 포함할 수 없습니다. 예: thingsboard.io", + "error-verification-url": "도메인 이름에는 '/' 및 ':' 기호를 사용할 수 없습니다. 예: thingsboard.io", "connection-settings": "연결 설정", "oauth2": { "access-token-uri": "액세스 토큰 URI", @@ -228,7 +358,7 @@ "add-provider": "제공자 추가", "delete-provider": "제공자 삭제", "allow-user-creation": "사용자 생성 허용", - "always-fullscreen": "항상 최대화면으로", + "always-fullscreen": "항상 전체 화면", "authorization-uri": "인증 URI", "authorization-uri-required": "인증 URI를 입력하세요.", "add-client": "OAuth 2.0 클라이언트 추가", @@ -238,9 +368,9 @@ "no-oauth2-clients": "OAuth 2.0 클라이언트가 없습니다", "search-oauth2-clients": "OAuth 2.0 클라이언트 검색", "delete-client-title": "OAuth 2.0 클라이언트 '{{clientName}}'을(를) 삭제하시겠습니까?", - "delete-client-text": "주의: 확인 후 클라이언트와 모든 관련 데이터를 사용할 수 없게 됩니다.", + "delete-client-text": "주의: 확인 후 클라이언트와 모든 관련 데이터를 복구할 수 없게 됩니다.", "delete-mobile-app-title": "모바일 애플리케이션 '{{applicationName}}'을(를) 삭제하시겠습니까?", - "delete-mobile-app-text": "주의: 확인 후 모바일 애플리케이션과 모든 관련 데이터를 사용할 수 없게 됩니다.", + "delete-mobile-app-text": "주의: 확인 후 모바일 애플리케이션과 모든 관련 데이터를 복구할 수 없게 됩니다.", "title": "제목", "client-title-required": "제목은 필수 항목입니다", "client-title-max-length": "제목은 100자 미만이어야 합니다.", @@ -264,11 +394,13 @@ "custom-setting": "사용자 정의 설정", "customer-name-pattern": "고객 이름 패턴", "customer-name-pattern-max-length": "고객 이름 패턴은 256자 미만이어야 합니다.", + "parent-customer-name-pattern": "상위 고객 이름 패턴", + "user-groups-name-pattern": "사용자 그룹 이름 패턴", "default-dashboard-name": "기본 대시보드 이름", "default-dashboard-name-max-length": "기본 대시보드 이름은 256자 미만이어야 합니다.", - "delete-domain-text": "주의: 확인 후 도메인과 모든 공급자 데이터를 사용할 수 없게 됩니다.", + "delete-domain-text": "주의: 확인 후 도메인과 모든 제공자 데이터를 사용할 수 없게 됩니다.", "delete-domain-title": "'{{domainName}}' 도메인을 삭제하시겠습니까?", - "delete-registration-text": "주의: 확인 후 공급자 데이터를 사용할 수 없게 됩니다.", + "delete-registration-text": "주의: 확인 후 제공자 데이터를 사용할 수 없게 됩니다.", "delete-registration-title": "'{{name}}' 제공자를 삭제하시겠습니까?", "email-attribute-key": "이메일 속성 키", "email-attribute-key-required": "이메일 속성 키를 입력하세요.", @@ -286,27 +418,27 @@ "login-provider": "로그인 제공자", "mapper": "매퍼", "new-domain": "새로운 도메인", - "oauth2": "OAuth2", + "oauth2": "OAuth 2.0", "password-max-length": "비밀번호는 256자 미만이어야 합니다.", - "redirect-uri-template": "리디렉션 URI 탬플릿", + "redirect-uri-template": "리디렉션 URI 템플릿", "copy-redirect-uri": "리디렉션 URI 복사", "registration-id": "등록 ID", "registration-id-required": "등록 ID를 입력하세요.", "registration-id-unique": "등록 ID는 시스템 상에서 중복될 수 없습니다.", "scope": "범위", "scope-required": "범위를 입력하세요.", - "tenant-name-pattern": "테넌트 이름 규칙", - "tenant-name-pattern-required": "테넌트 이름 규칙을 입력하세요.", + "tenant-name-pattern": "테넌트 이름 패턴", + "tenant-name-pattern-required": "테넌트 이름 패턴을 입력하세요.", "tenant-name-pattern-max-length": "테넌트 이름 패턴은 256자 미만이어야 합니다.", "tenant-name-strategy": "테넌트 이름 전략", "type": "매퍼 유형", "uri-pattern-error": "유효하지 않은 URI 형식입니다.", "url": "URL", "url-pattern": "유효하지 않은 URL 형식입니다.", - "url-required": "URL을(를) 입력하세요.", + "url-required": "URL을 입력하세요.", "url-max-length": "URL은 256자 미만이어야 합니다.", "user-info-uri": "사용자 정보 URI", - "user-info-uri-required": "사용자 정보 URI을(를) 입력하세요.", + "user-info-uri-required": "사용자 정보 URI를 입력하세요.", "username-max-length": "사용자 이름은 256자 미만이어야 합니다.", "user-name-attribute-name": "사용자 이름 속성 키", "user-name-attribute-name-required": "사용자 이름 속성 키를 입력하세요", @@ -314,11 +446,11 @@ "domain-schema-http": "HTTP", "domain-schema-https": "HTTPS", "domain-schema-mixed": "HTTP+HTTPS", - "enable": "OAuth2 설정 사용", + "enable": "OAuth 2.0 설정 사용", "disable": "OAuth 2.0 설정 비활성화", - "edge": "엣지에 전파", - "edge-enable": "엣지 전파 활성화", - "edge-disable": "엣지 전파 비활성화", + "edge": "Edge에 전파", + "edge-enable": "Edge 전파 활성화", + "edge-disable": "Edge 전파 비활성화", "domains": "도메인", "mobile-apps": "모바일 애플리케이션", "mobile-package": "애플리케이션 패키지", @@ -333,7 +465,7 @@ "mobile-app-secret-required": "애플리케이션 비밀키는 필수 항목입니다.", "mobile-app-secret-min-length": "애플리케이션 비밀키는 최소 512비트여야 합니다.", "mobile-app-secret-base64": "애플리케이션 비밀키는 Base64 형식이어야 합니다.", - "invalid-mobile-app-secret": "애플리케이션 비밀키는 영숫자만 포함해야 하며", + "invalid-mobile-app-secret": "애플리케이션 비밀키는 영숫자만 포함해야 하며 길이는 16~2048자여야 합니다.", "copy-mobile-app-secret": "애플리케이션 비밀키 복사", "delete-mobile-app": "애플리케이션 정보 삭제", "providers": "제공자", @@ -349,7 +481,7 @@ "redirect-url": "리디렉션 URI", "domain-name": "도메인 이름", "domain-name-required": "도메인 이름은 필수 항목입니다.", - "redirect-url-template": "리디렉션 URI 탬플릿", + "redirect-url-template": "리디렉션 URI 템플릿", "microsoft-tenant-id": "디렉터리 (테넌트) ID", "microsoft-tenant-id-required": "디렉터리 (테넌트) ID는 필수 항목입니다.", "token-uri": "토큰 URI", @@ -363,7 +495,11 @@ "update-access-token": "액세스 토큰 업데이트", "access-token-status": "액세스 토큰 상태:", "token-status-generated": "생성됨", - "token-status-not-generated": "생성되지 않음" + "token-status-not-generated": "생성되지 않음", + "domain": "도메인", + "no-domain-matching": "'{{entity}}'와(과) 일치하는 도메인을 찾을 수 없습니다.", + "domain-required": "도메인은 필수 항목입니다.", + "no-domain-text": "도메인을 찾을 수 없습니다." }, "smpp-provider": { "smpp-version": "SMPP 버전", @@ -409,10 +545,10 @@ "npi-ermes-numbering-plan": "10 - ERMES 번호 계획 (ETSI DE/PS 3 01-3)", "npi-internet": "13 - 인터넷 (IP)", "npi-wap-client-id": "18 - WAP 클라이언트 ID (WAP 포럼에서 정의 예정)", - "scheme-smsc": "0 - SMSC 기본 알파벳 (단문 및 장문 코드용 ASCII, 무료용 GSM)", - "scheme-ia5": "1 - IA5 (단문 및 장문 코드용 ASCII, 무료용 Latin 9 (ISO-8859-9))", + "scheme-smsc": "0 - SMSC 기본 알파벳 (숏코드 및 롱코드는 ASCII, 수신자 부담 번호는 GSM)", + "scheme-ia5": "1 - IA5 (숏코드 및 롱코드는 ASCII, 수신자 부담 번호는 Latin 9 (ISO-8859-9))", "scheme-octet-unspecified-2": "2 - 옥텟 미지정 (8비트 바이너리)", - "scheme-latin-1": "3 - 라틴 1 (ISO-8859-1)", + "scheme-latin-1": "3 - Latin 1 (ISO-8859-1)", "scheme-octet-unspecified-4": "4 - 옥텟 미지정 (8비트 바이너리)", "scheme-jis": "5 - JIS (X 0208-1990)", "scheme-cyrillic": "6 - 키릴 문자 (ISO-8859-5)", @@ -441,7 +577,7 @@ "authentication-settings": "인증 설정", "auth-method": "인증 방법", "auth-method-username-password": "비밀번호 / 액세스 토큰", - "auth-method-username-password-hint": "GitHub 사용자는 액세스 토큰을 사용해야 합니다", + "auth-method-username-password-hint": "GitHub 사용자는 저장소에 대한 쓰기 권한이 있는 액세스 토큰을 반드시 사용해야 합니다.", "auth-method-private-key": "개인 키", "password-access-token": "비밀번호 / 액세스 토큰", "change-password-access-token": "비밀번호 / 액세스 토큰 변경", @@ -453,7 +589,7 @@ "check-access": "액세스 확인", "check-repository-access-success": "저장소 액세스가 성공적으로 확인되었습니다!", "delete-repository-settings-title": "저장소 설정을 삭제하시겠습니까?", - "delete-repository-settings-text": "주의: 확인 후 저장소 설정이 제거되고", + "delete-repository-settings-text": "주의: 확인 후 저장소 설정이 제거되고 버전 관리 기능을 사용할 수 없게 됩니다.", "auto-commit-settings": "자동 커밋 설정", "auto-commit": "자동 커밋", "auto-commit-entities": "자동 커밋 엔티티", @@ -470,7 +606,7 @@ "ios": "iOS", "appearance": "모양", "appearance-on-home-page": "홈 페이지 모양", - "enabled": "사용", + "enabled": "활성화됨", "disabled": "비활성화됨", "badges": "배지", "label": "라벨", @@ -481,7 +617,9 @@ "set": "설정", "preview": "미리보기", "connect-mobile-app": "모바일 앱 연결", - "use-system-settings": "시스템 설정 사용" + "use-system-settings": "시스템 설정 사용", + "warning-not-set-white-labeling": "로그인 화이트 라벨링에서 기본 URL을 지정하지 않으면 이 설정을 적용할 수 없습니다. QR 코드 위젯 설정을 편집하기 전에 다음을 설정하세요: ", + "base-url": "기본 URL" }, "2fa": { "2fa": "2단계 인증", @@ -539,7 +677,7 @@ "refresh-expiration-time-less-token": "새로고침 토큰 시간은 토큰 시간보다 커야 합니다.", "generate-key": "키 생성", "info-header": "모든 사용자가 다시 로그인해야 합니다", - "info-message": "JWT 서명 키 변경 시 발급된 모든 토큰이 무효화됩니다. 모든 사용자가" + "info-message": "JWT 서명 키 변경 시 발급된 모든 토큰이 무효화됩니다. 모든 사용자가 다시 로그인해야 합니다. REST API/WebSocket을 사용하는 스크립트에도 영향을 미칩니다." }, "resources": "리소스", "notifications": "알림", @@ -550,12 +688,7 @@ "mobile-settings": "모바일 설정", "firebase-service-account-file": "Firebase 서비스 계정 자격 증명 JSON 파일", "select-firebase-service-account-file": "Firebase 서비스 계정 자격 증명 파일을 끌어다 놓거나", - "trendz": "Trendz", - "trendz-settings": "Trendz 설정", - "trendz-url": "Trendz URL", - "trendz-url-required": "Trendz URL은 필수 항목입니다", - "trendz-api-key": "Trendz API 키", - "trendz-enable": "Trendz 사용" + "use-system-mobile-settings": "시스템 모바일 설정 사용" }, "ai-assistant": { "configure-with-ai": "AI로 구성", @@ -570,578 +703,279 @@ "delete-chat-title": "'{{name}}'을(를) 삭제하시겠습니까?", "delete-chat-text": "모든 채팅 메시지가 손실됩니다", "delete-chat-confirm": "예, 삭제", - "action-approval-required": "작업 승인이 필요합니다", + "action-approval-required": "액션 승인이 필요합니다", "approve": "승인", + "approve-all": "이후 모든 액션 승인", "deny": "거부", "processing": "처리 중...", "approved": "완료", "denied": "거부됨", "error": "실패", "thinking": "생각 중...", + "connection-lost": "AI 어시스턴트와의 연결이 끊어졌습니다. 다시 연결하는 중...", + "reconnect-failed": "AI 어시스턴트에 다시 연결할 수 없습니다. 응답을 보려면 채팅을 다시 여세요.", + "ask-the-assistant": "AI 어시스턴트에게 질문", + "send": "보내기", + "new-line": "줄 바꿈", + "focus-composer": "입력란에 포커스", + "shortcuts": "단축키", + "add-files": "파일 추가", + "add-files-text": "PDF, 스프레드시트, 이미지 또는 텍스트.", + "add-files-hint": "최대 {{count}}개, 각 {{size}}. 또는 여기에 놓으세요.", + "remove-file": "{{name}} 제거", + "attachment-failed": "업로드 실패", + "attachment-load-failed": "파일을 불러올 수 없습니다", + "attachment-uploading": "업로드 중 · {{progress}}%", + "attachment-unsupported": "지원되지 않음: PDF, 스프레드시트, 이미지 또는 텍스트만 가능", + "attachment-larger-than": "{{size}} 초과", + "attachment-svg-failed": "이 SVG를 이미지로 변환할 수 없습니다", + "attachment-over-limit": "파일 {{count}}개 초과", + "file-kind": { + "image": "이미지", + "pdf": "PDF", + "table": "표", + "document": "문서", + "slides": "슬라이드", + "json": "JSON", + "text": "텍스트", + "file": "파일" + }, "rename-chat-title": "이 채팅 이름 바꾸기", + "export-chat": "채팅 내보내기", "main-title": "안녕하세요! AI 어시스턴트입니다" }, "alarm-rule": { + "ai-assistant-initial-prompt-placeholder": "설정하려는 내용을 설명해 주세요...", "ai-assistant-example-suggest-rules-label": "알람 규칙 제안", "ai-assistant-example-suggest-rules-message": "내 장치를 검토하고 설정할 만한 알람 규칙을 제안해 주세요.", "ai-assistant-example-inactivity-label": "장치 비활성 알람", "ai-assistant-example-inactivity-message": "장치가 10분 넘게 텔레메트리 전송을 중단하면 경고를 트리거하는 알람 규칙을 만들어 주세요.", - "ai-assistant-initial-prompt-placeholder": "설정하려는 내용을 설명해 주세요..." - }, - "calculated-fields": { - "ai-assistant-example-suggest-fields-label": "계산 필드 제안", - "ai-assistant-example-suggest-fields-message": "내 장치를 검토하고 설정할 만한 계산 필드를 제안해 주세요.", - "ai-assistant-example-aggregate-label": "텔레메트리 집계", - "ai-assistant-example-aggregate-message": "내 장치 중 하나를 선택하고 해당 장치의 텔레메트리 키 몇 개를 집계하는 계산 필드를 설정해 주세요. 무엇을 만들 것인지 설명하고 먼저 제게 확인을 요청해 주세요.", - "ai-assistant-initial-prompt-placeholder": "설정하려는 내용을 설명해 주세요..." - }, - "alarm": { - "alarm": "알람", - "alarm-list": "알람 목록", - "alarms": "알람", - "all-alarms": "모든 알람", - "select-alarm": "알람 선택", - "no-alarms-matching": "'{{entity}}'에 대한 알람이 존재하지 않습니다.", - "alarm-required": "알람이 필요합니다", - "alarm-filter": "알람 필터", - "filter": "필터", - "alarm-status": "알람 상태", - "alarm-status-list": "알람 상태 목록", - "any-status": "모든 상태", - "search-status": { - "ANY": "전체", - "ACTIVE": "활성", - "CLEARED": "해제", - "ACK": "수용", - "UNACK": "불수용" + "alarm-rules-tab": "알람 규칙", + "alarm-rule": "알람 규칙", + "alarm-rules": "알람 규칙", + "alarm-rules-old": "이전", + "alarm-rules-actual": "현재", + "severities": "심각도", + "cleared": "해제 조건", + "delete-title": "알람 규칙 '{{title}}'을(를) 삭제하시겠습니까?", + "delete-text": "주의: 확인 후 알람 규칙과 모든 관련 데이터를 복구할 수 없게 됩니다.", + "delete-multiple-title": "{ count, plural, =1 {알람 규칙 1개} other {알람 규칙 #개} }를 삭제하시겠습니까?", + "delete-multiple-text": "주의: 확인 후 선택한 모든 알람 규칙이 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", + "create": "새 알람 규칙 만들기", + "add": "알람 규칙 추가", + "copy": "알람 규칙 구성 복사", + "details": "알람 규칙 상세", + "no-found": "알람 규칙이 없습니다", + "list": "{ count, plural, =1 {알람 규칙 1개} other {알람 규칙 #개 목록} }", + "selected-fields": "{ count, plural, =1 {알람 규칙 1개} other {알람 규칙 #개} } 선택됨", + "import": "알람 규칙 가져오기", + "file": "알람 규칙 파일", + "export": "알람 규칙 내보내기", + "export-failed-error": "알람 규칙을 내보낼 수 없습니다: {{error}}", + "entity-type": "엔티티 유형", + "entity-type-required": "엔티티 유형을 선택하세요.", + "alarm-type": "알람 유형", + "alarm-type-hint": "충돌을 방지하기 위한 알람 발생 엔티티(장치, 자산 등) 범위 내의 고유 식별자(예: HighTempAlarm).", + "alarm-type-required": "알람 유형은 필수 항목입니다.", + "alarm-type-pattern": "알람 유형이 올바르지 않습니다.", + "alarm-type-max-length": "알람 유형은 256자 미만이어야 합니다.", + "clear-alarm": "알람 해제", + "value-argument": "인수", + "value-argument-required": "인수가 필요합니다.", + "static-settings": "정적 설정", + "configuration": "구성", + "static-schedule": "정적", + "dynamic-schedule": "동적", + "operation-and": "그리고", + "operation-or": "또는", + "condition-during": "{{during}} 동안", + "condition-during-dynamic": "\"{{ attribute }}\" 동안", + "condition-repeat-times": "{ count, plural, =1 {1회} other {#회} } 반복", + "condition-repeat-times-dynamic": "\"{{ attribute }}\"회 반복", + "filter-preview": "필터 미리보기", + "condition-settings": "조건 설정", + "static": "정적", + "dynamic": "동적", + "argument-filters": "인수 필터", + "argument-name": "인수 이름", + "value-type": "값 유형", + "general": "일반", + "filters": "필터", + "date-time-hint": "인수는 에포크 밀리초여야 합니다. 예: 1698839340000은 2023-11-01 12:49:00 UTC입니다.", + "operation": "연산", + "value-source": "값 소스", + "value": "값", + "ignore-case": "대소문자 무시", + "condition": "조건", + "script": "스크립트", + "add-filter": "인수 필터 추가", + "edit-filter": "인수 필터", + "remove-filter": "인수 필터 제거", + "no-filter": "최소 하나의 필터가 필요합니다.", + "conditions": { + "simple": "간단", + "duration": "기간", + "repeating": "반복" }, - "display-status": { - "ACTIVE_UNACK": "활성, 미확인", - "ACTIVE_ACK": "활성, 확인", - "CLEARED_UNACK": "해제, 미확인", - "CLEARED_ACK": "해제, 확인" + "schedule-title": "일정", + "edit-schedule": "알람 일정 편집", + "schedule-type": "스케줄러 유형", + "schedule-type-required": "스케줄러 유형은 필수 항목입니다.", + "schedule": { + "any-time": "항상 활성", + "specific-time": "특정 시간에 활성", + "custom": "사용자 지정" }, - "no-alarms-prompt": "아무 알람도 없습니다", - "created-time": "생성 일시", - "type": "유형", - "severity": "심각도", - "originator": "만든 사람", - "originator-type": "만든 사람 유형", - "details": "상세 내역", - "originator-label": "발생자 라벨", - "assign": "할당", - "assignments": "할당", - "assignee": "담당자", - "assignee-id": "담당자 ID", - "assignee-first-name": "담당자 이름", - "assignee-last-name": "담당자 성", - "assignee-email": "담당자 이메일", - "unassigned": "할당 해제됨", - "user-deleted": "사용자 삭제됨", - "assignee-not-set": "모두", - "status": "상태", - "alarm-details": "알람 상세", - "start-time": "시작 시각", - "assign-time": "할당 시간", - "end-time": "마지막 시각", - "ack-time": "확인 시간", - "clear-time": "해제 시간", - "duration": "기간", - "alarm-severity": "알람 심각도", - "alarm-severity-list": "알람 심각도 목록", - "any-severity": "모든 심각도", - "severity-critical": "심각한", - "severity-major": "주요한", - "severity-minor": "작은", - "severity-warning": "경고", - "severity-indeterminate": "중간", - "acknowledge": "확인", - "clear": "지우기", - "delete": "삭제", - "search": "알람 검색", - "selected-alarms": "{ count, plural, =1 {1 개 알람} other {# 개 알람} }이 선택됨", - "no-data": "표시할 데이터가 없습니다", - "polling-interval": "알람 풀링 간격 (초)", - "polling-interval-required": "알람 풀링 간격을 입력하세요.", - "min-polling-interval-message": "1초 이상의 간격만 허용됩니다.", - "aknowledge-alarms-title": "{ count, plural, =1 {1 개 알람} other {# 개 알람} } 확인", - "aknowledge-alarms-text": "{ count, plural, =1 {1 개 알람} other {# 개 알람} }의 알람을 수용하시겠습니까?", - "aknowledge-alarm-title": "알람 확인", - "aknowledge-alarm-text": "알람을 확인하시겠습니까??", - "selected-alarms-are-acknowledged": "선택된 알람은 이미 확인되었습니다", - "clear-alarms-title": "{ count, plural, =1 {1 개 알람} other {# 개 알람} } 해제", - "clear-alarms-text": "{ count, plural, =1 {1 개 알람} other {# 개 알람} }을 해제하시겠습니까?", - "clear-alarm-title": "알람 해제", - "clear-alarm-text": "알람을 해제하시겠습니까?", - "delete-alarms-title": "{ count, plural, =1 {1개 알람} other {#개 알람} } 삭제", - "delete-alarms-text": "{ count, plural, =1 {1개 알람} other {#개 알람} }을(를) 삭제하시겠습니까?", - "selected-alarms-are-cleared": "선택된 알람은 이미 해제되었습니다", - "alarm-status-filter": "알람 상태 필터", - "alarm-filter-title": "알람 필터", - "assigned": "할당됨", + "schedule-day": { + "monday": "월요일", + "tuesday": "화요일", + "wednesday": "수요일", + "thursday": "목요일", + "friday": "금요일", + "saturday": "토요일", + "sunday": "일요일" + }, + "schedule-days": "요일", + "schedule-time": "시간", + "schedule-time-from": "시작", + "schedule-time-to": "종료", + "schedule-days-of-week-required": "최소 하나의 요일을 선택해야 합니다.", + "tbel": "TBEL", + "expression-type": { + "simple": "간단", + "script": "스크립트" + }, + "operation-type": { + "and": "그리고", + "or": "또는" + }, + "filter-predicate-type": { + "string": "문자열", + "numeric": "숫자", + "boolean": "불리언", + "complex": "복합" + }, + "alarm-rule-additional-info": "추가 정보", + "edit-alarm-rule-additional-info": "추가 정보 수정", + "alarm-rule-additional-info-placeholder": "알람 세부 정보의 추가 정보 항목에 표시할 설명과 조정 사항을 여기에 입력하세요.", + "alarm-rule-additional-info-hint": "힌트: 알람 규칙 조건에 사용되는 인수의 값으로 대체하려면 ${인수 이름}을(를) 사용하세요.", + "alarm-rule-additional-info-icon-hint": "인수 이름을 사용하여 알람 규칙 조건에 사용되는 인수 값을 대체하세요.", + "alarm-rule-mobile-dashboard": "모바일 대시보드", + "alarm-rule-mobile-dashboard-hint": "모바일 애플리케이션에서 알람 상세 대시보드로 사용됩니다.", + "alarm-rule-no-mobile-dashboard": "선택된 대시보드 없음", + "alarm-rule-condition": "알람 규칙 조건", + "enter-alarm-rule-condition-prompt": "조건 추가", + "enter-alarm-rule-clear-condition-prompt": "해제 조건 추가", + "edit-alarm-rule-condition": "알람 조건", + "condition-type": "조건 유형", + "condition-type-hint": "\"누락 기간\" 연산자를 사용할 때 \"기간\" 및 \"반복\" 옵션은 사용할 수 없습니다.", + "select-alarm-severity": "알람 심각도 선택", + "add-create-alarm-rule-prompt": "최소 하나의 트리거 조건이 필요합니다.", + "add-create-alarm-rule": "트리거 조건 추가", + "add-clear-alarm-rule": "해제 조건 추가", + "condition-duration": "조건 기간", + "condition-duration-value": "기간 값", + "condition-duration-time-unit": "시간 단위", + "condition-duration-value-range": "기간 값은 1에서 2147483647 범위여야 합니다.", + "condition-duration-value-pattern": "기간 값은 정수여야 합니다.", + "condition-duration-value-required": "기간 값은 필수 항목입니다.", + "condition-duration-time-unit-required": "시간 단위는 필수 항목입니다.", + "condition-repeating-value": "이벤트 수", + "condition-repeating-value-hint": "알람 규칙 인수의 업데이트는 이벤트로 계산됩니다", + "condition-repeating-value-range": "이벤트 수는 1에서 2147483647 범위여야 합니다.", + "condition-repeating-value-pattern": "이벤트 수는 정수여야 합니다.", + "condition-repeating-value-required": "이벤트 수는 필수 항목입니다.", + "create-conditions": "트리거 조건", + "clear-condition": "해제 조건", + "no-clear-alarm-rule": "구성된 해제 조건이 없습니다.", + "advanced-settings": "고급 설정", + "propagate-alarm": "관련 엔티티에 알람 전파", + "alarm-rule-relation-types-list": "관계 유형", + "alarm-rule-relation-types-list-hint": "관련 엔티티를 필터링할 관계 유형을 정의합니다. 설정하지 않으면 알람이 모든 관련 엔티티에 전파됩니다.", + "propagate-alarm-to-owner": "엔티티 소유자(고객 또는 테넌트)에게 알람 전파", + "propagate-alarm-to-owner-hierarchy": "엔티티 소유자 계층으로 알람 전파", + "propagate-alarm-to-tenant": "테넌트에게 알람 전파", + "alarm-rule-filter-title": "알람 규칙 필터", "filter-title": "필터", - "max-count-load": "불러올 최대 알람 수를 0~무제한 범위 내에서 입력하세요", - "max-count-load-required": "불러올 최대 알람 수를 입력하세요.", - "max-count-load-error-min": "최소 값은 0입니다.", - "fetch-size": "페치 크기", - "fetch-size-required": "페치 크기를 입력하세요.", - "fetch-size-error-min": "최소 값은 10입니다.", - "alarm-types": "알람 유형", - "alarm-type-list": "알람 유형 목록", + "debugging": "알람 규칙 디버깅", "any-type": "모든 유형", - "assigned-to-current-user": "현재 사용자에게 할당됨", - "assigned-to-me": "나에게 할당됨", - "search-propagated-alarms": "전파된 알람 검색", - "comments": "알람 댓글", - "show-more": "더보기", - "additional-info": "추가 정보", - "alarm-type": "알람 유형", - "enter-alarm-type": "알람 유형 입력", - "no-alarm-types-matching": "'{{entitySubtype}}'과 일치하는 알람 유형이 없습니다.", - "alarm-type-list-empty": "선택된 알람 유형이 없습니다.", - "system-comments": { - "acked-by-user": "사용자 {{userName}}이(가) 알람을 확인했습니다", - "cleared-by-user": "사용자 {{userName}}이(가) 알람을 해제했습니다", - "assigned-to-user": "사용자 {{userName}}이(가) 알람을 사용자 {{assigneeName}}에게 할당했습니다", - "unassigned-to-user": "사용자 {{userName}}이(가) 알람 할당을 해제했습니다", - "unassigned-from-deleted-user": "사용자 {{userName}}이(가) 삭제되어 알람 할당이 해제되었습니다", - "comment-deleted": "사용자 {{userName}}이(가) 자신의 댓글을 삭제했습니다", - "severity-changed": "알람 심각도가 {{oldSeverity}}에서 {{newSeverity}}(으)로 업데이트되었습니다" + "enter-alarm-rule-type": "알람 유형 입력", + "no-alarm-rule-types-matching": "'{{entitySubtype}}'와(과) 일치하는 알람 유형이 없습니다.", + "alarm-rule-type-list-empty": "선택된 알람 유형이 없습니다.", + "alarm-rule-type-list": "알람 유형 목록", + "alarm-rule-entity-list": "엔티티 목록", + "missing-for": "누락 기간", + "time-unit": "단위", + "mode": "모드", + "type": "유형", + "value-required": "값이 필요합니다.", + "min-value": "값은 1 이상이어야 합니다.", + "argument-in-use": "인수가 일반 인수로 사용 중입니다.", + "import-invalid-alarm-rule-type": "알람 규칙을 가져올 수 없습니다: 잘못된 알람 규칙 구조.", + "no-filter-preview": "지정된 필터가 없습니다", + "filter-operation": { + "and": "그리고", + "or": "또는" } }, - "alarm-activity": { - "add": "댓글 추가...", - "alarm-comment": "알람 댓글", - "comments": "댓글", - "delete-alarm-comment": "이 댓글을 삭제하시겠습니까?", - "refresh": "새로고침", - "oldest-first": "오래된 순", - "newest-first": "최신 순", - "activity": "활동", - "export": "CSV로 내보내기", - "author": "작성자", - "created-date": "생성 날짜", - "edited-date": "수정 날짜", - "text": "텍스트", - "system": "시스템" - }, - "alias": { - "add": "별명 추가", - "edit": "별명 편집", - "name": "별명", - "name-required": "별명을 입력하세요.", - "duplicate-alias": "동일한 별명이 이미 존재합니다.", - "filter-type-single-entity": "단일 엔티티", - "filter-type-entity-list": "엔티티 목록", - "filter-type-entity-name": "엔티티 이름", - "filter-type-entity-type": "엔티티 유형", - "filter-type-state-entity": "대시보드 상태로 부터의 엔티티", - "filter-type-state-entity-description": "대시보드 상태 파라미터에서 가져온 엔티티", - "filter-type-asset-type": "자산 유형", - "filter-type-asset-type-description": "'{{assetTypes}}' 유형의 자산", - "filter-type-asset-type-and-name-description": "이름이 '{{prefix}}'로 시작되는 '{{assetTypes}}' 유형의 자산", - "filter-type-device-type": "장치 유형", - "filter-type-device-type-description": "'{{deviceTypes}}' 유형의 장치", - "filter-type-device-type-and-name-description": "이름이 '{{prefix}}'로 시작되는 '{{deviceTypes}}' 유형의 장치", - "filter-type-entity-view-type": "엔티티 뷰 유형", - "filter-type-entity-view-type-description": "유형 '{{entityViewTypes}}'의 엔티티 뷰", - "filter-type-entity-view-type-and-name-description": "유형이 '{{entityViewTypes}}'이고 이름이 '{{prefix}}'로 시작하는 엔티티 뷰", - "filter-type-edge-type": "엣지 유형", - "filter-type-edge-type-description": "유형 '{{edgeTypes}}'의 엣지", - "filter-type-edge-type-and-name-description": "유형 '{{edgeTypes}}'이고 이름이 '{{prefix}}'로 시작하는 엣지", - "filter-type-relations-query": "관계 질의", - "filter-type-relations-query-description": "{{rootEntity}} {{direction}} {{relationType}} 관계가 있는 {{entities}}", - "filter-type-asset-search-query": "자산 검색 질의", - "filter-type-asset-search-query-description": "{{rootEntity}} {{direction}} {{relationType}} 관계가 있는 유형 {{assetTypes}}의 자산", - "filter-type-device-search-query": "장치 검색 질의", - "filter-type-device-search-query-description": "{{rootEntity}} {{direction}} {{relationType}} 관계가 있는 유형 {{deviceTypes}}의 장치", - "filter-type-entity-view-search-query": "엔티티 뷰 검색 질의", - "filter-type-entity-view-search-query-description": "{{rootEntity}} {{direction}} {{relationType}} 관계가 있는 유형 {{entityViewTypes}}의 엔티티 뷰", - "filter-type-apiUsageState": "Api 사용량 상태", - "filter-type-edge-search-query": "엣지 검색 쿼리", - "filter-type-edge-search-query-description": "유형 {{edgeTypes}}이(가) {{relationType}} 관계 {{direction}}을(를) 가진 엣지", - "entity-filter": "엔티티 필터", - "resolve-multiple": "여러 엔티티로 확인", - "resolve-multiple-hint": "필터링된 모든 엔티티의 데이터를 동시에 렌더링하도록 활성화합니다.\n비활성화할 경우, 위젯에는 선택된 엔티티의 데이터만 표시됩니다.", - "filter-type": "필터 유형", - "filter-type-required": "필터 유형을 입력하세요.", - "entity-filter-no-entity-matched": "지정된 필터에 해당되는 엔티티가 없습니다.", - "no-entity-filter-specified": "엔티티 필터가 지정되지 않음", - "root-state-entity": "루트로 대시보드 상태 엔티티를 사용", - "last-level-relation": "마지막 수준 관계만 가져오기", - "root-entity": "루트 엔티티", - "state-entity-parameter-name": "상태 엔티티 파라미터 이름", - "default-state-entity": "기본 상태 엔티티", - "default-entity-parameter-name": "기본값", - "query-options": "쿼리 옵션", - "max-relation-level": "최대 관계 수준", - "unlimited-level": "제한 수준", - "state-entity": "대시보드 상태 엔티티", - "all-entities": "모든 엔티티", - "any-relation": "전체" - }, - "asset": { - "asset": "자산", - "assets": "자산", - "management": "자산 관리", - "view-assets": "자산 보기", - "add": "자산 추가", - "asset-type-max-length": "자산 유형은 256자 미만이어야 합니다.", - "assign-to-customer": "고객에게 자산 할당", - "assign-asset-to-customer": "자산을 고객에게 할당", - "assign-asset-to-customer-text": "고객에게 할당할 자산을 선택하세요", - "no-assets-text": "아무 자산도 없습니다", - "assign-to-customer-text": "자산을 할당할 고객를 선택하세요", - "public": "공개", - "assignedToCustomer": "할당된 고객", - "make-public": "자산을 공개로 설정", - "make-private": "자산을 비공개로 설정", - "unassign-from-customer": "고객 할당 해제", - "delete": "자산 삭제", - "asset-public": "공개된 자산", - "asset-type": "자산 유형", - "asset-type-required": "자산 유형을 선택하세요.", - "select-asset-type": "자산 유형 선택", - "enter-asset-type": "자산 유형 입력", - "any-asset": "모든 자산", - "no-asset-types-matching": "'{{entitySubtype}}'과 일치하는 자산 유형이 없습니다.", - "asset-type-list-empty": "아무 자산 유형도 선택되지 않았습니다.", - "asset-types": "자산 유형", + "secret-storage": { + "secrets-storage": "시크릿 저장소", + "no-found": "시크릿이 없습니다", + "add": "시크릿 추가", + "search": "시크릿 검색", + "list": "{ count, plural, =1 {시크릿 1개} other {시크릿 #개 목록} }", + "selected-fields": "{ count, plural, =1 {시크릿 1개} other {시크릿 #개} } 선택됨", + "type": "유형", "name": "이름", - "name-required": "이름을 입력하세요.", + "name-required": "이름은 필수 항목입니다.", + "name-pattern": "시크릿 이름에 지원되지 않는 문자가 포함되어 있습니다. \"{\", \"}\", \";\" 또는 제어 문자를 포함할 수 없습니다.", "name-max-length": "이름은 256자 미만이어야 합니다.", - "label-max-length": "레이블은 256자 미만이어야 합니다.", "description": "설명", - "description-required": "설명은 필수 항목입니다.", - "type": "유형", - "type-required": "유형일 입력하세요.", - "details": "상세 내역", - "events": "이벤트", - "add-asset-text": "새로운 자산 추가", - "asset-details": "자산 상세 내역", - "assign-assets": "자산 할당", - "assign-assets-text": "{ count, plural, =1 {1 개 자산} other {# 개 자산} }을 고객에게 할당", - "assign-asset-to-edge-title": "엣지에 자산 할당", - "assign-asset-to-edge-text": "엣지에 할당할 자산을 선택하세요", - "delete-assets": "자산 삭제", - "unassign-assets": "자산 할당 해제", - "unassign-assets-action-title": "{ count, plural, =1 {1 개 자산} other {# 개 자산} }을 고객로부터 할당 해제", - "assign-new-asset": "새로운 자산 할당", - "delete-asset-title": "자산 '{{assetName}}'을(를) 삭제하시겠습니까?", - "delete-asset-text": "자산 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-assets-title": "{ count, plural, =1 {1 개 자산} other {# 개 자산} }을 삭제하시겠습니까?", - "delete-assets-action-title": "{ count, plural, =1 {1 개 자산} other {# 개 자산} } 삭제", - "delete-assets-text": "자산 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "make-public-asset-title": "자산 '{{assetName}}'을(를) 공개 상태로 변경하시겠습니까?", - "make-public-asset-text": "자산 및 관련 데이터가 공개로 전환되면 다른 이들이 접근할 수 있게 됩니다.", - "make-private-asset-title": "자산 '{{assetName}}'을(를) 비공개로 변경하시겠습니까?", - "make-private-asset-text": "자산 및 관련 데이터가 비공개로 전환되면 다른 이들이 접근할 수 없게 됩니다.", - "unassign-asset-title": "자산 '{{assetName}}'을 할당 해제 하시겠습니까?", - "unassign-asset-text": "자산이 할당 해제되면 고객가 접근할 수 없게 됩니다.", - "unassign-asset": "자산 할당 해제", - "unassign-assets-title": "{ count, plural, =1 {1 개 자산} other {# 개 자산} }을 할당 해제 하시겠습니까?", - "unassign-assets-text": "자산이 할당 해제되면 고객가 접근할 수 없게 됩니다.", - "unassign-assets-from-edge": "엣지에서 자산 할당 해제", - "copyId": "자산 ID 복사", - "idCopiedMessage": "자산 ID가 클립보드로 복사되었습니다", - "select-asset": "자산 선택", - "no-assets-matching": "'{{entity}}'와 일치하는 자산이 없습니다.", - "asset-required": "자산을 입력하세요", - "name-starts-with": "다음으로 시작되는 자산: ", - "help-text": "필요에 따라 '%'를 사용하세요: '%asset_name_contains%', '%asset_name_ends', 'asset_s", - "import": "자산 불러오기", - "asset-file": "자산 파일", - "label": "라벨", - "search": "자산 검색", - "assign-asset-to-edge": "엣지에 자산 할당", - "unassign-asset-from-edge": "자산 할당 해제", - "unassign-asset-from-edge-title": "자산 '{{assetName}}'을 할당 해제 하시겠습니까?", - "unassign-asset-from-edge-text": "확인 후 자산 할당이 해제되고", - "unassign-assets-from-edge-title": "{ count, plural, =1 {1 개 자산} other {# 개 자산} }을 할당 해제 하시겠습니까?", - "unassign-assets-from-edge-text": "확인 후 선택한 모든 자산의 할당이 해제되고", - "selected-assets": "{ count, plural, =1 {1 개 자산} other {# 개 자산} } 선택됨" - }, - "attribute": { - "attributes": "속성", - "latest-telemetry": "최근 데이터", - "no-latest-telemetry": "최신 텔레메트리 없음", - "attributes-scope": "장치 속성 범위", - "scope-telemetry": "텔레메트리", - "scope-latest-telemetry": "최근 데이터", - "scope-client": "클라이언트 속성", - "scope-server": "서버 속성", - "scope-shared": "공유 속성", - "scope-client-short": "클라이언트", - "scope-server-short": "서버", - "scope-shared-short": "공유", - "scope-latest-short": "최신", - "scope-any": "전체", - "add": "속성 추가", - "key": "키", - "key-max-length": "키는 256자 미만이어야 합니다.", - "last-update-time": "마지막 수정된 시간", - "key-required": "속성 키를 입력하세요.", + "edit-description": "설명 편집", + "set-description": "설명 설정", + "types": { + "text": "텍스트", + "file": "파일" + }, "value": "값", - "value-required": "속성 값을 입력하세요.", - "telemetry-key-required": "텔레메트리 키는 필수 항목입니다", - "telemetry-value-required": "텔레메트리 값은 필수 항목입니다", - "delete-attributes-title": "{ count, plural, =1 {속성} other {여러 속성들을} } 삭제하시겠습니까??", - "delete-attributes-text": "모든 선택된 속성들이 제거 될 것이므로 주의하십시오.", - "delete-attributes": "속성 삭제", - "enter-attribute-value": "속성 값 입력", - "show-on-widget": "위젯 보기", - "widget-mode": "위젯 모드", - "next-widget": "다음 위젯", - "prev-widget": "이전 위젯", - "add-to-dashboard": "대시보드에 추가", - "add-widget-to-dashboard": "대시보드에 위젯 추가", - "selected-attributes": "{ count, plural, =1 {1 개 속성} other {# 개 속성} }이 선택됨", - "selected-telemetry": "{ count, plural, =1 {1 개의 텔레메트리 단위} other {# 개의 텔레메트리 단위} }가 선택됨", - "no-attributes-text": "아무 속성도 찾을 수 없습니다", - "no-telemetry-text": "아무 텔레메트리도 찾을 수 없습니다.", - "copy-key": "키 복사", - "add-telemetry": "텔레메트리 추가", - "copy-value": "값 복사", - "delete-timeseries": { - "start-time": "시작 시각", - "ends-on": "종료일", - "strategy": "전략", - "delete-strategy": "삭제 전략", - "all-data": "모든 데이터 삭제", - "all-data-except-latest-value": "최신 값을 제외한 모든 데이터 삭제", - "latest-value": "최신 값 삭제", - "all-data-for-time-period": "기간 내 모든 데이터 삭제", - "rewrite-latest-value": "최신 값 다시 쓰기" - } - }, - "api-usage": { - "api-features": "API 기능", - "api-usage": "Api 사용량", - "alarm": "알람", - "alarms-created": "생성된 알람", - "queue-stats": "큐 통계", - "processing-failures-and-timeouts": "처리 실패 및 시간 초과", - "exceptions": "예외", - "alarms-created-daily-activity": "일일 알람 생성 활동", - "alarms-created-hourly-activity": "시간별 알람 생성 활동", - "alarms-created-monthly-activity": "월별 알람 생성 활동", - "data-points": "데이터 포인트", - "data-points-storage-days": "데이터 포인트 저장 일수", - "data-points-storage-days-hourly-activity": "데이터 포인트 저장 일수 시간별 활동", - "data-points-storage-days-daily-activity": "데이터 포인트 저장 일수 일별 활동", - "data-points-storage-days-monthly-activity": "데이터 포인트 저장 일수 월별 활동", - "device-api": "장치 API", - "email": "이메일", - "email-messages": "Email 메시지", - "email-messages-daily-activity": "일별 Email 메세지 활동", - "email-messages-monthly-activity": "월별 Email 메시지 활동", - "executions": "실행", - "scripts": "스크립트", - "scripts-hourly-activity": "시간별 스크립트 활동", - "scripts-daily-activity": "일일 스크립트 활동", - "scripts-monthly-activity": "월별 스크립트 활동", - "javascript": "JavaScript", - "javascript-executions": "JavaScript 실행", - "tbel": "TBEL", - "tbel-executions": "TBEL 실행", - "latest-error": "최근 오류", - "messages": "메시지", - "notifications": "알림", - "notifications-email-sms": "알림 (이메일/SMS)", - "notifications-hourly-activity": "알림 시간별 활동", - "permanent-failures": "${entityName} 영구 실패", - "permanent-timeouts": "${entityName} 영구 시간 초과", - "processing-failures": "${entityName} 처리 실패", - "processing-timeouts": "${entityName} 처리 시간 초과", - "rule-chain": "규칙 사슬", - "rule-engine": "규칙 엔진", - "rule-engine-executions": "규칙 엔진 실행", - "rule-engine-hourly-activity": "규칙 엔진 시간별 활동", - "rule-engine-daily-activity": "규칙 엔진 일별 활동", - "rule-engine-monthly-activity": "규칙 엔진 월별 활동", - "rule-engine-statistics": "규칙 엔진 통계", - "rule-node": "규칙 노드", - "sms": "SMS", - "sms-messages": "SMS 메시지", - "sms-messages-hourly-activity": "시간별 SMS 메시지 활동", - "sms-messages-daily-activity": "일별 SMS 메시지 활동", - "sms-messages-monthly-activity": "월별 SMS 메시지 활동", - "successful": "${entityName} 성공", - "telemetry": "텔레메트리", - "telemetry-persistence": "텔레메트리 저장", - "telemetry-persistence-daily-activity": "텔레메트리 저장 일별 활동", - "telemetry-persistence-hourly-activity": "텔레메트리 저장 시간별 활동", - "telemetry-persistence-monthly-activity": "텔레메트리 저장 월별 활동", - "transport": "전송", - "transport-msg-hourly-activity": "전송 메시지 시간별 활동", - "transport-msg-daily-activity": "전송 메시지 일별 활동", - "transport-msg-monthly-activity": "전송 메시지 월별 활동", - "transport-daily-activity": "전송 일별 활동", - "transport-data-points": "전송 데이터 포인트", - "transport-data-points-hourly-activity": "전송 데이터 포인트 시간별 활동", - "transport-data-points-daily-activity": "전송 데이터 포인트 일별 활동", - "transport-data-points-monthly-activity": "전송 데이터 포인트 월별 활동", - "view-details": "상세 내역", - "view-statistics": "통계 보기", - "transport-messages": "전송 메시지", - "transport-messages-hourly-activity": "전송 메시지 시간별 활동", - "transport-data-point-hourly-activity": "전송 데이터 포인트 시간별 활동", - "javascript-function-executions": "JavaScript 함수 실행", - "javascript-function-executions-hourly-activity": "JavaScript 함수 실행 시간별 활동", - "javascript-function-executions-daily-activity": "JavaScript 함수 실행 일별 활동", - "javascript-function-executions-monthly-activity": "JavaScript 함수 실행 월별 활동", - "tbel-function-executions": "TBEL 함수 실행", - "tbel-function-executions-hourly-activity": "TBEL 함수 실행 시간별 활동", - "tbel-function-executions-daily-activity": "TBEL 함수 실행 일별 활동", - "tbel-function-executions-monthly-activity": "TBEL 함수 실행 월별 활동", - "created-reports": "생성된 보고서", - "created-reports-hourly-activity": "생성된 보고서 시간별 활동", - "created-reports-daily-activity": "생성된 보고서 일별 활동", - "created-reports-monthly-activity": "생성된 보고서 월별 활동", - "emails": "이메일", - "emails-hourly-activity": "이메일 시간별 활동", - "emails-daily-activity": "이메일 일별 활동", - "emails-monthly-activity": "이메일 월별 활동", - "status": { - "enabled": "사용", - "disabled": "비활성화됨", - "warning": "경고" - } - }, - "api-limit": { - "cassandra-write-queries-core": "REST API Cassandra 쓰기 쿼리", - "cassandra-read-queries-core": "REST API 및 WS 텔레메트리 Cassandra 읽기 쿼리", - "cassandra-write-queries-rule-engine": "규칙 엔진 텔레메트리 Cassandra 쓰기 쿼리", - "cassandra-read-queries-rule-engine": "규칙 엔진 텔레메트리 Cassandra 읽기 쿼리", - "cassandra-write-queries-monolith": "Monolith 텔레메트리 Cassandra 쓰기 쿼리", - "cassandra-read-queries-monolith": "Monolith 텔레메트리 Cassandra 읽기 쿼리", - "entity-version-creation": "엔티티 버전 생성", - "entity-version-load": "엔티티 버전 불러오기", - "notification-requests": "알림 요청", - "notification-requests-per-rule": "규칙당 알림 요청", - "rest-api-requests": "REST API 요청", - "rest-api-requests-per-customer": "고객당 REST API 요청", - "transport-messages": "전송 메시지", - "transport-messages-per-device": "장치당 전송 메시지", - "transport-messages-per-gateway": "게이트웨이당 전송 메시지", - "transport-messages-per-gateway-device": "게이트웨이 장치당 전송 메시지", - "ws-updates-per-session": "세션당 WS 업데이트", - "edge-events": "엣지 이벤트", - "edge-events-per-edge": "엣지당 엣지 이벤트", - "edge-uplink-messages": "엣지 업링크 메시지", - "edge-uplink-messages-per-edge": "엣지당 업링크 메시지" - }, - "api-key": { - "api-key": "API 키", - "api-keys": "API 키", - "delete-api-key-title": "API 키 '{{name}}'을(를) 삭제하시겠습니까?", - "delete-api-key-text": "주의: 확인 후 키를 복구할 수 없습니다.", - "delete-api-keys-title": "{ count, plural, =1 {1개 API 키} other {#개 API 키} }를 삭제하시겠습니까?", - "delete-api-keys-text": "주의: 확인 후 선택한 모든 키를 복구할 수 없게 됩니다.", - "expiration-date": "만료 날짜", - "date": "날짜", - "description": "설명", - "disable": "비활성화", - "edit-description": "설명 수정", - "enable": "API 키 사용", - "expiration-time": "만료 시간", - "expiration-time-never": "없음", - "expiration-time-custom": "사용자 지정", - "generate": "생성", - "generate-title": "API 키 생성", - "generate-text": "참고: API 키는 생성된 사용자의 권한을 상속받습니다.", - "generated-api-key-title": "API 키가 생성되었습니다. 연결을 확인하세요!", - "generated-api-key-copy": "지금 API 키를 복사하여 저장하세요. 다시 볼 수 없습니다.", - "generated-api-key-command": "다음 지침에 따라 연결을 확인하세요. 결과적으로", - "generated-api-key-insecure-url": "보안되지 않은 HTTP 연결을 통해 명령을 실행하면 API 키가 암호화되지 않고 전송됩니다.", - "list": "{ count, plural, =1 {1개 API 키} other {#개 API 키 목록} }", - "manage": "관리", - "manage-api-keys": "API 키 관리", - "no-found": "API 키가 없습니다", - "selected-api-keys": "{ count, plural, =1 {1개 API 키} other {#개 API 키} } 선택됨", - "search": "API 키 검색", - "status": "상태", - "status-active": "활성", - "status-inactive": "비활성", - "status-expired": "만료됨" - }, - "audit-log": { - "audit": "감사", - "audit-logs": "감사 로그", - "timestamp": "타임스탬프", - "entity-type": "엔티티 유형", - "entity-name": "엔티티 이름", - "user": "사용자", - "type": "유형", - "status": "상태", - "details": "상세 내역", - "type-added": "추가됨", - "type-deleted": "삭제됨", - "type-updated": "수정됨", - "type-attributes-updated": "속성이 수정되었습니다", - "type-attributes-deleted": "속성이 삭제되었습니다", - "type-rpc-call": "RPC 호출", - "type-credentials-updated": "자격 증명이 갱신되었습니다", - "type-assigned-to-customer": "고객에게 할당", - "type-unassigned-from-customer": "지정된 고객 해제", - "type-assigned-to-edge": "엣지에 할당됨", - "type-unassigned-from-edge": "엣지에서 할당 해제됨", - "type-activated": "활성", - "type-suspended": "일시 중지", - "type-credentials-read": "자격 증명 읽기", - "type-attributes-read": "속성 읽기", - "type-relation-add-or-update": "관계가 업데이트 되었습니다", - "type-relation-delete": "관계가 삭제되었습니다", - "type-relations-delete": "모든 관계가 삭제되었습니다", - "type-alarm-ack": "확인", - "type-alarm-clear": "해제", - "type-alarm-delete": "알람 삭제됨", - "type-alarm-assign": "알람 할당됨", - "type-alarm-unassign": "알람 할당 해제", - "type-added-comment": "댓글 추가됨", - "type-updated-comment": "댓글 수정됨", - "type-deleted-comment": "댓글 삭제됨", - "type-login": "로그인", - "type-logout": "로그아웃", - "type-lockout": "잠금", - "status-success": "성공", - "status-failure": "실패", - "audit-log-details": "감사 로그 세부 사항", - "no-audit-logs-prompt": "아무 로그도 없습니다.", - "action-data": "액션 데이터", - "failure-details": "실패 세부 사항", - "search": "감사 로그 검색", - "clear-search": "검색 초기화", - "type-assigned-from-tenant": "테넌트로부터 지정", - "type-assigned-to-tenant": "테넌트로 지정", - "type-provision-success": "장치가 프로비전됨", - "type-provision-failure": "장치 프로비저닝이 실패했습니다", - "type-timeseries-updated": "텔레메트리 수정됨", - "type-timeseries-deleted": "텔레메트리 삭제됨", - "type-sms-sent": "SMS 전송됨", - "any-type": "모든 유형", - "audit-log-filter-title": "감사 로그 필터", - "filter-title": "필터", - "filter-types": "감사 로그 유형" - }, - "debug-settings": { - "label": "디버그 설정", - "on-failure": "실패만 (24/7)", - "all-messages": "모든 메시지 ({{time}})", - "failures": "실패", - "entity": "엔티티", - "hint": { - "main-limited": "{{time}}당 최대 {{msg}}개의 {{entity}} 디버그 메시지가 기록됩니다.", - "on-failure": "오류 메시지만 기록합니다.", - "all-messages": "모든 디버그 메시지를 기록합니다." - } + "value-required": "값은 필수 항목입니다.", + "delete": "시크릿 삭제", + "delete-secrets": "시크릿 삭제", + "delete-secret-title": "시크릿 '{{secretName}}'을(를) 삭제하시겠습니까?", + "delete-secret-text": "주의하세요. 확인 후에는 시크릿 및 모든 관련 데이터를 복구할 수 없습니다.", + "delete-secrets-title": "{ count, plural, =1 {시크릿 1개} other {시크릿 #개} }을(를) 삭제하시겠습니까?", + "delete-secrets-action-title": "{ count, plural, =1 {시크릿 1개} other {시크릿 #개} } 삭제", + "delete-secrets-text": "주의하세요. 확인 후에는 선택한 모든 시크릿이 제거되며 모든 관련 데이터를 복구할 수 없습니다.", + "delete-secrets-in-use-text": "이 시크릿을 삭제하려면 먼저 위 엔티티에서 해당 시크릿의 사용을 제거하세요.", + "secrets-is-in-use-text": "이 시크릿은 현재 플랫폼의 다른 엔티티에서 사용 중이므로 더 이상 사용되지 않을 때까지 삭제할 수 없습니다:", + "secrets-are-in-use-text": "일부 시크릿은 다른 엔티티에서 사용 중이므로 삭제되지 않았습니다.
해당 시크릿 행의 참조 버튼을 클릭하면 참조하는 엔티티를 볼 수 있습니다.
이 시크릿을 삭제하려면 먼저 해당 시크릿이 언급된 엔티티에서 사용을 제거하세요.", + "selected-secrets": "{ count, plural, =1 {시크릿 1개} other {시크릿 #개} } 선택됨", + "use-secret-storage": "시크릿 저장소 사용", + "dialog-title": "시크릿 추가", + "use-storage": "저장소 사용", + "create": { + "text": "새로 만들기", + "file": "새로 업로드" + }, + "autocomplete-title": { + "text": "시크릿", + "text-required": "시크릿을 선택하세요.", + "file": "파일 시크릿", + "file-required": "파일 시크릿을 선택하세요." + }, + "used-secret-title": "시크릿이 다른 엔티티에서 사용 중입니다", + "no-secrets-matching": "'{{entity}}'와(과) 일치하는 시크릿을 찾을 수 없습니다.", + "no-secrets-found": "시크릿을 찾을 수 없습니다.", + "use-secret": "시크릿 사용", + "change-value": "값 변경", + "action-use": "사용" }, "calculated-fields": { "expression": "표현식", "no-found": "계산 필드가 없습니다", "add": "계산 필드 추가", - "list": "{ count, plural, =1 {1개 계산 필드} other {#개 계산 필드 목록} }", - "selected-fields": "{ count, plural, =1 {1개 계산 필드} other {#개 계산 필드} } 선택됨", + "list": "{ count, plural, =1 {계산 필드 1개} other {계산 필드 #개 목록} }", + "selected-fields": "{ count, plural, =1 {계산 필드 1개} other {계산 필드 #개} } 선택됨", "type": { "simple": "간단", "simple-hint": "입력 인수를 기반으로 한 단순 산술 계산.", @@ -1181,7 +1015,7 @@ "copy-argument-name": "인수 이름 복사", "timeseries-key": "시계열 키", "device-name": "장치 이름", - "latest-telemetry": "최근 데이터", + "latest-telemetry": "최신 텔레메트리", "rolling": "시계열 롤링", "attribute-scope": "속성 범위", "server-attributes": "서버 속성", @@ -1189,9 +1023,9 @@ "shared-attributes": "공유 속성", "attribute-key": "속성 키", "default-value": "기본값", - "default-value-required": "기본값이 필요합니다.", - "limit": "최대 값", - "time-window": "타임윈도우", + "default-value-required": "기본값은 필수 항목입니다.", + "limit": "최대 값 개수", + "time-window": "시간 창", "customer-name": "고객 이름", "asset-name": "자산 이름", "timeseries": "시계열", @@ -1205,11 +1039,24 @@ "export-failed-error": "계산 필드를 내보낼 수 없습니다: {{error}}", "output-type": "출력 유형", "delete-title": "계산 필드 '{{title}}'을(를) 삭제하시겠습니까?", - "delete-text": "주의: 확인 후 계산 필드와 모든 관련 데이터를", - "delete-multiple-title": "{ count, plural, =1 {1개 계산 필드} other {#개 계산 필드} }를 삭제하시겠습니까?", - "delete-multiple-text": "주의: 확인 후 선택한 모든 계산 필드가 제거되고", + "delete-text": "주의: 확인 후 계산 필드와 모든 관련 데이터를 복구할 수 없게 됩니다.", + "delete-multiple-title": "{ count, plural, =1 {계산 필드 1개} other {계산 필드 #개} }를 삭제하시겠습니까?", + "delete-multiple-text": "주의: 확인 후 선택한 모든 계산 필드가 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "test-with-this-message": "이 메시지로 테스트", "use-latest-timestamp": "최신 타임스탬프 사용", + "calculated-field-reprocessing": "계산 필드 재처리", + "cancel-reprocessing": "재처리 취소", + "details": "세부 정보", + "finish": "완료", + "reprocess-calculated-field": "계산 필드 재처리", + "reprocessing-cancelled": "재처리 취소됨", + "reprocessing-completed": "재처리 완료됨", + "reprocessing-entities-data": "엔티티 데이터 재처리 중...", + "reprocessing-failed": "재처리가 오류와 함께 완료됨", + "reprocessing-in-progress": "재처리 진행 중...", + "submitting-tasks": "작업 제출 중...", + "task-failed-reprocess": "작업 재처리에 실패했습니다", + "tasks-failed-reprocess": "엔티티 {{ total }}개 중 {{ error }}개를 재처리하지 못했습니다", "entity-coordinates": "엔티티 좌표", "latitude-time-series-key": "위도 시계열 키", "latitude-time-series-key-required": "위도 시계열 키가 필요합니다.", @@ -1241,7 +1088,7 @@ "copy-zone-group-name": "영역 그룹 이름 복사", "open-details-page": "엔티티 상세 페이지 열기", "level": "수준", - "direction-level": "범례 방향", + "direction-level": "방향", "direction-up": "위로", "direction-up-parent": "부모로 위로", "direction-down": "아래로", @@ -1281,13 +1128,13 @@ "metric-name-forbidden": "메트릭 이름은 예약어이므로 사용할 수 없습니다.", "copy-metric-name": "메트릭 이름 복사", "argument-name": "인수 이름", - "aggregation": "집합", + "aggregation": "집계", "aggregation-type": { "avg": "평균", "min": "최소", "max": "최대", "sum": "합계", - "count": "숫자", + "count": "개수", "count-unique": "고유 개수" }, "filtered": "필터됨", @@ -1307,7 +1154,7 @@ "output-strategy": { "strategy": "전략", "process-right-away": "즉시 처리", - "process-rule-chains": "규칙 사슬을 통해 처리", + "process-rule-chains": "규칙 체인을 통해 처리", "save-time-series": "시계열에 저장", "save-database": "데이터베이스에 저장", "save-latest-values": "최신 값에 저장", @@ -1320,11 +1167,11 @@ "ttl-min": "최소 TTL은 0만 허용됩니다", "processing-parameters": "처리 매개변수", "hint": { - "strategy": "결과를 즉시 처리할지 추가 처리를 위해 규칙 사슬로 전송할지 제어합니다.", + "strategy": "결과를 즉시 처리할지 추가 처리를 위해 규칙 체인으로 전송할지 제어합니다.", "processing-options": "처리 옵션", "update-attribute-only-on-value-change": "값이 변경되었는지 여부에 관계없이 들어오는 모든 메시지에서 속성을 업데이트합니다. 이는 API 사용량을 증가시키고 성능을 저하시킵니다.", "update-attribute-only-on-value-change-enabled": "값이 변경될 때만 속성을 업데이트합니다. 값이 변경되지 않으면 타임스탬프가 업데이트되지 않고 알림이 전송되지 않습니다.", - "send-attributes-updated-notification": "기본 규칙 사슬로 속성 업데이트 이벤트를 전송합니다.", + "send-attributes-updated-notification": "기본 규칙 체인으로 속성 업데이트 이벤트를 전송합니다.", "save-time-series": "시계열 데이터를 데이터베이스의 ts_kv 테이블에 저장합니다.", "save-database": "속성 데이터를 데이터베이스에 저장합니다.", "save-latest-values": "새 값이 더 최근인 경우 데이터베이스의 ts_kv_latest 테이블에서 시계열 데이터를 업데이트합니다.", @@ -1345,7 +1192,7 @@ "day": "일", "week": "주 (월 - 일)", "week-sun-sat": "주 (일 - 토)", - "month": "달", + "month": "월", "quarter": "분기", "year": "년", "custom": "사용자 지정" @@ -1364,14 +1211,14 @@ "offset-value-required": "오프셋 값이 필요합니다.", "offset-value-min": "오프셋 값은 양의 정수여야 합니다.", "offset-value-max": "오프셋 값은 집계 간격 값보다 작아야 합니다.", - "wait-delay": "지연된 텔레메트리에 대한 대기 시간 초과 적용", + "wait-delay": "지연된 텔레메트리에 대기 제한 시간 적용", "wait-delay-hint": "간격이 끝난 후 지연된 텔레메트리를 얼마나 기다릴지 정의합니다. 이러한 텔레메트리가 도착하면 해당 간격의 결과가 다시 계산됩니다.", "duration": "기간", - "duration-required": "지속 시간이 필요합니다.", - "duration-min": "지속 시간은 최소 1분이어야 합니다.", + "duration-required": "기간이 필요합니다.", + "duration-min": "기간은 최소 1분이어야 합니다.", "duration-hint": "간격이 끝난 후 지연된 데이터를 얼마나 기다릴지.", "produce-intermediate-result": "중간 결과 생성", - "produce-intermediate-result-hint": "현재 간격 동안 지표를 계산하여 중간 결과를 생성합니다." + "produce-intermediate-result-hint": "현재 간격 동안 메트릭을 계산하여 중간 결과를 생성합니다. 업데이트는 {{ time }}마다 최대 한 번 수행됩니다." }, "hint": { "arguments-simple-with-rolling": "단순 유형 계산 필드에는 시계열 롤링 유형의 키가 포함되지 않아야 합니다.", @@ -1382,7 +1229,7 @@ "expression-required": "표현식이 필요합니다.", "expression-invalid": "표현식이 올바르지 않습니다", "expression-max-length": "표현식 길이는 255자 미만이어야 합니다.", - "argument-name-required": "인수 이름이 필요합니다.", + "argument-name-required": "인수 이름은 필수 항목입니다.", "argument-name-pattern": "인수 이름이 올바르지 않습니다.", "argument-name-duplicate": "같은 이름의 인수가 이미 존재합니다.", "argument-name-max-length": "인수 이름은 256자 미만이어야 합니다.", @@ -1395,20 +1242,21 @@ "entity-type-required": "엔티티 유형이 필요합니다", "name-required": "이름을 입력하세요.", "name-pattern": "이름이 올바르지 않습니다.", - "name-duplicate": "같은 이름의 이름이 이미 존재합니다.", + "name-duplicate": "같은 이름이 이미 존재합니다.", "name-max-length": "이름은 256자 미만이어야 합니다.", "name-forbidden": "이름은 예약어이므로 사용할 수 없습니다.", "argument-type-required": "인수 유형이 필요합니다.", "max-args": "최대 인수 수에 도달했습니다.", "decimals-range": "기본 소수 자릿수는 0~15 사이의 숫자여야 합니다.", - "expression": "기본 식은 온도를 화씨에서 섭씨로 변환하는 방법을 보여줍니다.", + "expression": "기본 표현식은 온도를 화씨에서 섭씨로 변환하는 방법을 보여줍니다.", "arguments-entity-not-found": "인수 대상 엔티티를 찾을 수 없습니다.", - "use-latest-timestamp": "사용하면 계산된 값이 가장 최신 타임스탬프를 사용하여 저장됩니다.", + "use-latest-timestamp": "사용하면 계산된 값이 서버 시간 대신 인수 텔레메트리의 가장 최신 타임스탬프를 사용하여 저장됩니다.", + "reprocessing": "특정 타임스탬프가 미리 정의되지 않은 경우, 재처리 결과는 계산을 트리거한 해당 과거 텔레메트리의 타임스탬프로 저장됩니다.", "entity-coordinates": "엔티티 GPS 좌표(위도 및 경도)를 제공하는 시계열 키를 지정하세요.", - "geofencing-zone-groups": "확인할 하나 이상의 지오펜싱 영역 그룹을 정의하세요 (예: 'allowedZones', 'restr", - "perimeter-attribute-key": "지오펜싱 영역 경계 정의가 포함된 속성 키를 설정하세요.", - "report-strategy": "현재 상태 보고서는 엔티티가 영역 내부 또는 외부에 있는지 보고합니다.", - "create-relation-with-matched-zones": "엔티티와 해당 엔티티가 포함된 영역 간의 관계를 자동으로 생성하고 유지 관리합니다.", + "geofencing-zone-groups": "확인할 하나 이상의 지오펜싱 영역 그룹을 정의하세요 (예: 'allowedZones', 'restrictedZones'). 각 그룹에는 고유한 이름이 있어야 하며, 이 이름은 계산 필드 출력 텔레메트리 키의 접두사로 사용됩니다.", + "perimeter-attribute-key": "지오펜싱 영역 경계 정의가 포함된 속성 키를 설정하세요. 경계는 항상 영역 엔티티의 서버 속성에서 가져옵니다.", + "report-strategy": "존재 상태는 엔티티가 현재 영역 그룹 내부(INSIDE)에 있는지 외부(OUTSIDE)에 있는지 보고합니다. 전환 이벤트는 엔티티가 영역 그룹에 진입(ENTERED)하거나 영역 그룹에서 벗어난(LEFT) 시점을 보고합니다.", + "create-relation-with-matched-zones": "엔티티와 해당 엔티티가 현재 포함된 영역 간의 관계를 자동으로 생성하고 유지 관리합니다. 엔티티가 영역을 벗어나면 관계가 제거되고, 새 영역에 들어가면 관계가 생성됩니다.", "relation-type-required": "관계 유형을 입력하세요.", "relation-level-required": "관계 수준이 필요합니다.", "relation-level-min": "최소 관계 수준 값은 1입니다.", @@ -1419,209 +1267,662 @@ "zone-group-refresh-interval": "관련 엔티티를 통해 구성된 영역 그룹이 새로고침되는 빈도를 정의합니다.", "zone-group-refresh-interval-required": "영역 그룹 새로고침 간격이 필요합니다.", "zone-group-refresh-interval-min": "영역 그룹 새로고침 간격은 최소 {{ min }}초여야 합니다.", - "propagation-path-related-entities": "선택한 방향을 기반으로 관련 엔티티에 대한 직접적인 단일 수준 경로를 정의합니다.", - "data-propagate": "아래 구성된 인수에서 전파할 데이터를 정의합니다. '인수만'", - "aggregation-path-related-entities": "부모 또는 자식과의 직접 관계를 통한 단일 수준 집계 경로를 정의합니다.", + "propagation-path-related-entities": "선택한 방향과 관계 유형을 기반으로 관련 엔티티에 대한 직접적인 단일 수준 경로를 정의합니다. 장치, 자산, 고객, 테넌트 엔티티 간의 관계만 지원됩니다. 관계 경로로 조회되는 최대 엔티티 수는 {{ max }}개입니다.", + "data-propagate": "아래 구성된 인수에서 전파할 데이터를 정의합니다. '인수만'은 가져온 데이터를 그대로 사용하고, '표현식 결과'는 해당 데이터로 새 값을 계산합니다.", + "aggregation-path-related-entities": "방향과 관계 유형에 따라 부모 또는 자식 엔티티와의 직접 관계를 통한 단일 수준 집계 경로를 정의합니다. 장치, 자산, 고객, 테넌트 엔티티 간의 관계만 지원됩니다. 관계 경로로 조회되는 최대 엔티티 수는 {{ max }}개입니다.", "arguments-aggregation": "필터링 및 집계에 사용되는 입력 인수를 정의합니다.", "setting-arguments-aggregation": "집계 경로에 구성된 관련 엔티티에서 데이터를 가져옵니다.", - "metrics": "구성된 인수를 기반으로 집계된 지표를 정의합니다.", - "entity-aggregation-metrics": "지정된 시간 동안 구성된 인수를 기반으로 집계된 지표를 정의합니다.", + "metrics": "구성된 인수를 기반으로 집계된 메트릭을 정의합니다.", + "entity-aggregation-metrics": "지정된 시간 간격에 걸쳐 구성된 인수를 기반으로 집계된 메트릭을 정의합니다.", "import-invalid-calculated-field-type": "계산 필드를 가져올 수 없습니다: 잘못된 계산 필드 구조.", "simple-expression-title": "계산된 값을 계산하는 방법을 정의하는 산술 식입니다.", "script-title": "계산 로직과 출력 값을 정의하는 TBEL 스크립트입니다.", "simple-arguments": "계산된 값을 계산하는 방법을 정의하는 산술 식입니다.", "script-arguments": "스크립트에서 사용할 수 있는 입력 인수를 정의합니다." - } - }, - "alarm-rule": { - "alarm-rules-tab": "알람 규칙", - "alarm-rule": "알람 규칙", - "alarm-rules": "알람 규칙", - "alarm-rules-old": "이전", - "alarm-rules-actual": "실제", - "severities": "심각도", - "cleared": "해제 조건", - "delete-title": "알람 규칙 '{{title}}'을(를) 삭제하시겠습니까?", - "delete-text": "주의: 확인 후 알람 규칙과 모든 관련 데이터를", - "delete-multiple-title": "{ count, plural, =1 {1개 알람 규칙} other {#개 알람 규칙} }을(를) 삭제하시겠습니까?", - "delete-multiple-text": "주의: 확인 후 선택한 모든 알람 규칙이 제거되고", - "create": "새 알람 규칙 만들기", - "add": "알람 규칙 추가", - "copy": "알람 규칙 구성 복사", - "details": "알람 규칙 상세", - "no-found": "알람 규칙이 없습니다", - "list": "{ count, plural, =1 {1개 알람 규칙} other {#개 알람 규칙 목록} }", - "selected-fields": "{ count, plural, =1 {1개 알람 규칙} other {#개 알람 규칙} } 선택됨", - "import": "알람 규칙 가져오기", - "file": "알람 규칙 파일", - "export": "알람 규칙 내보내기", - "export-failed-error": "알람 규칙을 내보낼 수 없습니다: {{error}}", - "entity-type": "엔티티 유형", - "entity-type-required": "엔티티의 유형을 입력하세요.", - "alarm-type": "알람 유형", - "alarm-type-hint": "충돌을 방지하기 위해 알람 발생자(장치, 자산 등) 범위 내의 고유 식별자(예: HighTempAlarm).", - "alarm-type-required": "알람 유형은 필수 항목입니다.", - "alarm-type-pattern": "알람 유형이 올바르지 않습니다.", - "alarm-type-max-length": "알람 유형은 256자 미만이어야 합니다.", - "clear-alarm": "알람 해제", - "value-argument": "인수", - "value-argument-required": "인수가 필요합니다.", - "static-settings": "정적 설정", - "configuration": "설정", - "static-schedule": "정적", - "dynamic-schedule": "동적", - "operation-and": "그리고", - "operation-or": "또는", - "condition-during": "{{during}} 동안", - "condition-during-dynamic": "\"{{ attribute }}\" 동안", - "condition-repeat-times": "{ count, plural, =1 {1회} other {#회} } 반복", - "condition-repeat-times-dynamic": "\"{{ attribute }}\" 번 반복", - "filter-preview": "필터 미리보기", - "condition-settings": "조건 설정", - "static": "정적", - "dynamic": "동적", - "argument-filters": "인수 필터", - "argument-name": "인수 이름", - "value-type": "값 유형", - "general": "일반", - "filters": "필터", - "date-time-hint": "인수는 에포크 밀리초여야 합니다. 예: 1698839340000은 2023-11-01입니다.", - "operation": "연산", - "value-source": "값 소스", - "value": "값", - "ignore-case": "대소문자 무시", - "condition": "조건", - "script": "스크립트", - "add-filter": "인수 필터 추가", - "edit-filter": "인수 필터", - "remove-filter": "인수 필터 제거", - "no-filter": "최소 하나의 필터가 필요합니다.", - "conditions": { - "simple": "간단", - "duration": "기간", - "repeating": "반복" - }, - "schedule-title": "일정", - "edit-schedule": "알람 일정 편집", - "schedule-type": "스케줄러 유형", - "schedule-type-required": "스케줄러 유형은 필수 항목입니다.", - "schedule": { - "any-time": "항상 활성", - "specific-time": "특정 시간에 활성", - "custom": "사용자 지정" - }, - "schedule-day": { - "monday": "월요일", - "tuesday": "화요일", - "wednesday": "수요일", - "thursday": "목요일", - "friday": "금요일", - "saturday": "토요일", - "sunday": "일요일" - }, - "schedule-days": "요일", - "schedule-time": "시간", - "schedule-time-from": "부터", - "schedule-time-to": "까지", - "schedule-days-of-week-required": "최소 하나의 요일을 선택해야 합니다.", - "tbel": "TBEL", - "expression-type": { - "simple": "간단", - "script": "스크립트" }, - "operation-type": { - "and": "그리고", - "or": "또는" + "ai-assistant-initial-prompt-placeholder": "설정하려는 내용을 설명해 주세요...", + "ai-assistant-example-suggest-fields-label": "계산 필드 제안", + "ai-assistant-example-suggest-fields-message": "내 장치를 검토하고 설정할 만한 계산 필드를 제안해 주세요.", + "ai-assistant-example-aggregate-label": "텔레메트리 집계", + "ai-assistant-example-aggregate-message": "내 장치 중 하나를 선택하고 해당 장치의 텔레메트리 키 몇 개를 집계하는 계산 필드를 설정해 주세요. 무엇을 만들 것인지 설명하고 먼저 제게 확인을 요청해 주세요." + }, + "alarm": { + "alarm": "알람", + "alarm-list": "알람 목록", + "alarms": "알람", + "all-alarms": "모든 알람", + "select-alarm": "알람 선택", + "no-alarms-matching": "'{{entity}}'와(과) 일치하는 알람이 없습니다.", + "alarm-required": "알람이 필요합니다", + "alarm-filter": "알람 필터", + "filter": "필터", + "alarm-status": "알람 상태", + "alarm-status-list": "알람 상태 목록", + "any-status": "모든 상태", + "search-status": { + "ANY": "전체", + "ACTIVE": "활성", + "CLEARED": "해제됨", + "ACK": "확인됨", + "UNACK": "미확인" }, - "filter-predicate-type": { - "string": "문자열", - "numeric": "숫자", - "boolean": "불리언", - "complex": "복합" + "display-status": { + "ACTIVE_UNACK": "활성, 미확인", + "ACTIVE_ACK": "활성, 확인됨", + "CLEARED_UNACK": "해제됨, 미확인", + "CLEARED_ACK": "해제됨, 확인됨" }, - "alarm-rule-additional-info": "추가 정보", - "edit-alarm-rule-additional-info": "추가 정보 수정", - "alarm-rule-additional-info-placeholder": "알람 세부 정보 내에 표시할 설명과 조정 사항을 여기에 입력하세요.", - "alarm-rule-additional-info-hint": "힌트: ${인수 이름\"사용자 목록\"에 할당되어 있습니다. 메뉴를 제거하면 아래에 나열된 사용자에게 기본 메뉴가 적용됩니다.", + "delete-custom-menu-customer-list-text": "이 메뉴는 \"고객 목록\"에 할당되어 있습니다. 이 메뉴를 제거하면 아래 나열된 고객에게 기본 메뉴가 적용됩니다.", + "add-custom-menu-item": "사용자 지정 메뉴 항목 추가", + "add-custom-menu-subitem": "사용자 지정 메뉴 하위 항목 추가", + "edit-custom-menu-item": "사용자 지정 메뉴 항목 편집", + "edit-custom-menu-subitem": "사용자 지정 메뉴 하위 항목 편집", + "custom-item": "사용자 지정 항목", + "menu-item-name": "메뉴 항목 이름", + "menu-item-name-is-required": "메뉴 항목 이름은 필수 항목입니다.", + "reset-to-menu-item-defaults": "메뉴 항목을 기본값으로 재설정", + "delete-menu-item": "메뉴 항목 삭제", + "add-subitem": "하위 항목 추가", + "hide-all-menu-items": "모든 메뉴 항목 숨김", + "reset-to-default-menu": "기본 메뉴로 재설정", + "edit-menu-item": "메뉴 항목 편집", + "edit-home-menu-item": "홈 메뉴 항목 편집", + "visible": "표시됨", + "hidden": "숨김", + "home-page-type": "홈 페이지 유형", + "home-menu-item-type-default": "기본값", + "home-menu-item-type-dashboard": "대시보드", + "hide-toolbar": "도구 모음 숨김", + "item-type": "항목 유형", + "item-type-link": "링크", + "item-type-section": "섹션", + "link": "링크", + "link-type-url": "URL", + "link-type-dashboard": "대시보드", + "url": "URL", + "set-url": "URL 설정", + "set-access-token": "액세스 토큰 설정", + "menu-conflict": "메뉴 충돌", + "menu-conflict-message": "범위가 {{scope}}인 다른 사용자 지정 메뉴가 이미 기본값으로 지정되어 있습니다. 현재 사용자 지정 메뉴로 교체하시겠습니까?", + "replace": "교체" + }, + "custom-translation": { + "add-new-key": "새 키 추가", + "add-new-language": "새 언어 추가", + "added-key": "추가된 키", + "copy-original-text": "원본 텍스트 복사", + "copy-term-key": "용어 키 복사", + "country": "국가", + "custom-translation": "사용자 지정 번역", + "customized": "사용자 지정됨", + "delete-language-text": "주의하세요. 확인 후에는 '{{language}}' 번역 및 관련된 모든 데이터를 복구할 수 없게 됩니다.", + "delete-language-title": "'{{language}}' 번역을 삭제하시겠습니까?", + "delete-translation": "번역 삭제", + "download-translation": "번역 다운로드", + "drop-json-file": "JSON 파일을 끌어다 놓거나", + "language": "언어", + "language-required": "언어는 필수 항목입니다.", + "localization-code": "현지화 코드", + "no-translation-matching": "'{{search}}'와(과) 일치하는 언어를 찾을 수 없습니다.", + "return-default-translation": "기본 번역으로 복원", + "search": "번역 검색", + "set": "설정", + "term-key": "용어 키", + "translated": "번역됨", + "translation-file": "번역 파일", + "translation-map": "번역 맵", + "translation-name": "{{ name }} 번역 - {{ country }}", + "translation-progress": "번역 진행률", + "untranslated": "미번역", + "upload-translation-file": "번역 파일 업로드" }, "css-size": { "size-value-required": "크기 값이 필요합니다", @@ -1838,7 +2357,7 @@ "time-granularity-formats": "시간 세분성 형식", "unit-year": "년", "unit-month": "월", - "unit-day": "요일", + "unit-day": "일", "unit-hour": "시간", "unit-minute": "분", "unit-second": "초", @@ -1849,26 +2368,29 @@ "time-from": "시작 시간", "date-to": "종료 날짜", "time-to": "종료 시간", - "from": "부터", - "to": "까지" + "from": "시작", + "to": "종료" }, "dashboard": { + "all": "모두", + "all-dashboards": "모든 대시보드", + "groups": "그룹", + "shared": "공유됨", "ai-assistant-initial-prompt-placeholder": "설정하려는 내용을 설명해 주세요...", "ai-assistant-example-monitor-device-label": "장치 모니터링", "ai-assistant-example-monitor-device-message": "장치는 ... 입니다. 이 대시보드를 이 장치의 단일 상태 보기로 설정하여 상단에 최신 텔레메트리를 값 카드로, 그 아래에 해당 텔레메트리의 시계열 차트를, 하단에 활성 알람 테이블을 표시해 주세요.", "ai-assistant-example-monitor-fleet-label": "장치 플릿 모니터링", - "ai-assistant-example-monitor-fleet-message": "장치 유형은 ... 입니다. 이 대시보드를 해당 유형에 대해 두 개의 상태로 설정해 주세요. 개요 상태에는 해당 유형의 모든 장치를 엔터티 테이블에 나열하고 그 아래에 해당 장치들의 활성 알람 테이블을 표시합니다. 장치를 선택하면 세부 정보 상태가 열려 상단에 해당 장치의 최신 텔레메트리를 값 카드로, 그 아래에 해당 텔레메트리의 시계열 차트를, 하단에 활성 알람 테이블을 표시합니다.", + "ai-assistant-example-monitor-fleet-message": "장치 유형은 ... 입니다. 이 대시보드를 해당 유형에 대해 두 개의 상태로 설정해 주세요. 개요 상태에는 해당 유형의 모든 장치를 엔티티 테이블에 나열하고 그 아래에 해당 장치들의 활성 알람 테이블을 표시합니다. 장치를 선택하면 세부 정보 상태가 열려 상단에 해당 장치의 최신 텔레메트리를 값 카드로, 그 아래에 해당 텔레메트리의 시계열 차트를, 하단에 활성 알람 테이블을 표시합니다.", "dashboard": "대시보드", "dashboards": "대시보드", "management": "대시보드 관리", "view-dashboards": "대시보드 보기", "add": "대시보드 추가", - "assign-dashboard-to-customer": "대시보드 고객 선택", - "assign-dashboard-to-customer-text": "대시보드 고객을 선택하세요.", - "assign-dashboard-to-edge-title": "엣지에 대시보드 할당", - "assign-to-customer-text": "대시보드 고객을 선택하세요.", - "assign-to-customer": "고객 선택", - "unassign-from-customer": "고객으로부터 지정 해제", + "assign-dashboard-to-customer": "대시보드를 고객에게 할당", + "assign-dashboard-to-customer-text": "고객에게 할당할 대시보드를 선택하세요", + "assign-to-customer-text": "대시보드를 할당할 고객을 선택하세요", + "assign-to-customer": "고객에게 할당", + "unassign-from-customer": "고객 할당 해제", "make-public": "대시보드를 공개로 전환", "make-private": "대시보드를 비공개로 전환", "manage-assigned-customers": "할당된 고객 관리", @@ -1876,11 +2398,13 @@ "assign-to-customers": "대시보드를 고객에게 할당", "assign-to-customers-text": "대시보드를 할당할 고객을 선택하세요", "unassign-from-customers": "고객 할당 해제", - "unassign-from-customers-text": "데시보드를 할당 해제할 고객을 선택하세요", + "unassign-from-customers-text": "대시보드를 할당 해제할 고객을 선택하세요", "no-dashboards-text": "대시보드가 없습니다", "no-widgets": "설정된 위젯 없음", "add-widget": "위젯 추가", "add-widget-button-text": "위젯 추가", + "edit-html-page": "HTML 페이지 편집", + "html-page": "HTML 페이지", "title": "제목", "image": "대시보드 이미지", "mobile-app-settings": "모바일 애플리케이션 설정", @@ -1890,6 +2414,7 @@ "update-new-version": "새 버전 업로드", "upload-file-to-update": "업데이트할 파일 업로드", "take-screenshot": "스크린샷 촬영", + "take-screenshot-failed": "대시보드 스크린샷을 찍지 못했습니다. 다시 시도하세요.", "select-widget-title": "위젯 선택", "select-widget-value": "{{title}}: 위젯 선택", "select-widget-subtitle": "사용가능한 위젯 타입 목록", @@ -1902,37 +2427,40 @@ "add-dashboard-text": "대시보드 추가", "assign-dashboards": "대시보드 할당", "assign-new-dashboard": "새 대시보드 할당", - "assign-dashboards-text": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }를 고객에 할당", - "unassign-dashboards-action-text": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }를 고객으로부터 지정 해제", + "assign-dashboards-text": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} }를 고객에게 할당", + "unassign-dashboards-action-text": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} }를 고객으로부터 할당 해제", "delete-dashboards": "대시보드 삭제", - "unassign-dashboards": "대시보드 할당 취소", - "unassign-dashboards-action-title": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }를 고객에 할당 취소", + "unassign-dashboards": "대시보드 할당 해제", + "unassign-dashboards-action-title": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} }를 고객으로부터 할당 해제", "delete-dashboard-title": "대시보드 '{{dashboardTitle}}'을(를) 삭제하시겠습니까?", "delete-dashboard-text": "대시보드 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-dashboards-title": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }를 삭제하시겠습니까?", - "delete-dashboards-action-title": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }를 삭제", + "delete-dashboards-title": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} }를 삭제하시겠습니까?", + "delete-dashboards-action-title": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} } 삭제", "delete-dashboards-text": "대시보드 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", "unassign-dashboard-title": "대시보드 '{{dashboardTitle}}'의 할당을 해제하시겠습니까?", "unassign-dashboard-text": "대시보드가 할당 해제되고 고객은 접근 할 수 없게 됩니다.", - "unassign-dashboard": "대시보드 할달 취소", - "unassign-dashboards-title": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }의 할당을 취소하시겠습니까?", + "unassign-dashboard": "대시보드 할당 해제", + "unassign-dashboards-title": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} }의 할당을 해제하시겠습니까?", "unassign-dashboards-text": "선택된 대시보드가 할당 해제되고 고객은 접근 할 수 없게 됩니다.", "public-dashboard-title": "대시보드가 공개되었습니다", - "public-dashboard-text": "당신의 대시보드 {{dashboardTitle}}는 이제 공개되어서 다음 공개 링크를 통해 접근될 수 있습니다:", + "public-dashboard-text": "대시보드 {{dashboardTitle}}은(는) 이제 공개되었으며 다음 공개 링크를 통해 액세스할 수 있습니다:", "public-dashboard-notice": "참고: 관련된 장치에 접근하기 위해서는 장치들 또한 공개되어야 합니다.", - "make-private-dashboard-title": "대시보드 '{{dashboardTitle}}'를 비공개로 전환하시겠습니까?", + "public-dashboard-link": "공개 대시보드 링크", + "public-dashboard-link-text": "공개 대시보드 {{dashboardTitle}}은(는) 다음 공개 링크를 통해 액세스할 수 있습니다:", + "public-dashboard-link-notice": "참고: 데이터에 액세스하려면 관련 장치, 자산 및 엔티티 뷰도 반드시 공개로 설정하세요.", + "make-private-dashboard-title": "대시보드 '{{dashboardTitle}}'을(를) 비공개로 전환하시겠습니까?", "make-private-dashboard-text": "대시보드는 비공개로 전환되어 다른 이들이 접근할 수 없게 됩니다.", "make-private-dashboard": "대시보드 비공개 전환", "socialshare-text": "'{{dashboardTitle}}' - ThingsBoard 제공", "socialshare-title": "'{{dashboardTitle}}' - ThingsBoard 제공", "select-dashboard": "대시보드 선택", - "no-dashboards-matching": "'{{entity}}'와 일치하는 대시보드가 없습니다.", - "dashboard-required": "대시보드를 입력하세요.", + "no-dashboards-matching": "'{{entity}}'와(과) 일치하는 대시보드가 없습니다.", + "dashboard-required": "대시보드를 선택하세요.", "select-existing": "기존 대시보드 선택", "create-new": "대시보드 생성", "new-dashboard-title": "새로운 대시보드 제목", "open-dashboard": "대시보드 열기", - "set-background": "대시보드 설정", + "set-background": "배경 설정", "background-color": "배경색", "background-image": "배경 이미지", "background-size-mode": "배경 사이즈 모드", @@ -1950,32 +2478,33 @@ "layout-type-default": "기본값", "layout-type-scada": "SCADA", "layout-type-divider": "구분선", + "layout-type-html": "HTML 페이지", "layout-settings-type": "레이아웃 설정: {{ type }} 브레이크포인트", "columns-count": "열 개수", "columns-count-required": "열 개수를 입력하세요.", "min-columns-count-message": "열 개수를 최소 10 이상으로 입력하세요.", - "max-columns-count-message": "열 개수를 최대 100 이하로 입력하세요.", + "max-columns-count-message": "열 개수를 최대 1000 이하로 입력하세요.", "min-layout-width": "최소 레이아웃 너비", "columns-suffix": "열", "widgets-margins": "위젯 사이 여백 크기", "margin-required": "여백 값을 입력하세요.", - "min-margin-message": "최소 여백 값은 0보다 커야 합니다.", - "max-margin-message": "최대 여백 값은 50보다 작아야 합니다.", - "horizontal-margin": "세로 여백", - "horizontal-margin-required": "세로 여백 값을 입력하세요.", - "min-horizontal-margin-message": "최소 세로 여백 값은 0보다 커야 합니다.", - "max-horizontal-margin-message": "최대 세로 여백 값은 50보다 작아야 합니다.", - "vertical-margin": "가로 여백", - "vertical-margin-required": "가로 여백 값을 입력하세요.", - "min-vertical-margin-message": "최소 가로 여백 값은 0보다 커야 합니다.", - "max-vertical-margin-message": "최대 가로 여백 값은 50보다 작아야 합니다.", + "min-margin-message": "여백 값은 0 이상이어야 합니다.", + "max-margin-message": "여백 값은 50 이하여야 합니다.", + "horizontal-margin": "가로 여백", + "horizontal-margin-required": "가로 여백 값을 입력하세요.", + "min-horizontal-margin-message": "가로 여백 값은 0 이상이어야 합니다.", + "max-horizontal-margin-message": "가로 여백 값은 50 이하여야 합니다.", + "vertical-margin": "세로 여백", + "vertical-margin-required": "세로 여백 값을 입력하세요.", + "min-vertical-margin-message": "세로 여백 값은 0 이상이어야 합니다.", + "max-vertical-margin-message": "세로 여백 값은 50 이하여야 합니다.", "apply-outer-margin": "레이아웃 측면에 여백 적용", "autofill-height": "레이아웃 세로 길이 자동 채우기", "mobile-layout": "모바일 레이아웃 설정", - "mobile-row-height": "모바일 행 높이, px", + "mobile-row-height": "모바일 행 높이", "mobile-row-height-required": "모바일 행 높이를 입력하세요.", - "min-mobile-row-height-message": "최소 모바일 행 높이 값은 5 픽셀보다 커야 합니다.", - "max-mobile-row-height-message": "최대 모바일 행 높이 값은 200 픽셀보다 작아야 합니다.", + "min-mobile-row-height-message": "모바일 행 높이 값은 5픽셀 이상이어야 합니다.", + "max-mobile-row-height-message": "모바일 행 높이 값은 200픽셀 이하여야 합니다.", "row-height": "행 높이", "row-height-required": "행 높이 값은 필수 항목입니다.", "min-row-height-message": "최소 행 높이 값은 5픽셀만 허용됩니다.", @@ -1986,13 +2515,14 @@ "title-color": "제목 색상", "toolbar-settings": "도구 모음 설정", "hide-toolbar": "도구 모음 숨기기", - "toolbar-always-open": "도구 상자를 열어두기", + "toolbar-always-open": "도구 모음 항상 열기", "display-dashboards-selection": "대시보드 선택 표시", "display-entities-selection": "엔티티 선택 표시", "display-filters": "필터 표시", - "display-dashboard-timewindow": "타임윈도우 표시", - "display-dashboard-export": "디스플레이 내보내기", + "display-dashboard-timewindow": "시간 창 표시", + "display-dashboard-export": "내보내기 표시", "display-update-dashboard-image": "대시보드 이미지 업데이트 표시", + "display-configure-with-ai": "\"AI로 구성\" 버튼 표시", "dashboard-logo-settings": "대시보드 로고 설정", "display-dashboard-logo": "대시보드 전체 화면 모드에서 로고 표시", "dashboard-logo-image": "대시보드 로고 이미지", @@ -2000,22 +2530,27 @@ "dashboard-css": "대시보드 CSS", "import": "대시보드 가져오기", "export": "대시보드 내보내기", - "export-failed-error": "대시보드 내보내기를 할 수 없습니다.: {error}", + "export-failed-error": "대시보드를 내보낼 수 없습니다: {{error}}", "export-prompt": "대시보드 이미지 및 리소스 포함", + "export-pdf": "PDF로 내보내기", + "export-png": "PNG로 내보내기", + "export-jpg": "JPEG으로 내보내기", + "export-json-config": "JSON 구성 내보내기", + "download-dashboard-progress": "대시보드 {{reportType}} 생성 중...", "create-new-dashboard": "대시보드 생성", "dashboard-file": "대시보드 파일", - "invalid-dashboard-file-error": "대시보드 가져오기를 할 수 없습니다.: 대시보드 데이터 구조가 잘못되었습니다.", - "dashboard-import-missing-aliases-title": "대시보드 별명을 위해 누락된 장치 선택", + "invalid-dashboard-file-error": "대시보드를 가져올 수 없습니다: 대시보드 데이터 구조가 잘못되었습니다.", + "dashboard-import-missing-aliases-title": "가져온 대시보드에서 사용하는 별명 구성", "create-new-widget": "새로운 위젯 생성", "import-widget": "위젯 가져오기", "widget-file": "위젯 파일", "invalid-widget-file-error": "위젯 가져오기를 할 수 없습니다: 위젯 데이터 구조가 잘못되었습니다.", - "widget-import-missing-aliases-title": "위젯에서 사용하는 누락 된 장치 선택", + "widget-import-missing-aliases-title": "가져온 위젯에서 사용하는 별명 구성", "open-toolbar": "대시보드 툴바 열기", "close-toolbar": "툴바 닫기", "configuration-error": "구성 오류", "alias-resolution-error-title": "대시보드 별명 구성 오류", - "invalid-aliases-config": "일부 별명 필터와 일치하는 장치를 찾을 수 없습니다.
이 문제를 해결하려면 관리자에게 문의하십시오.", + "invalid-aliases-config": "일부 별명 필터와 일치하는 장치를 찾을 수 없습니다.
이 문제를 해결하려면 관리자에게 문의하십시오.", "select-devices": "장치 선택", "assignedToCustomer": "할당된 고객", "assignedToCustomers": "할당된 고객", @@ -2029,7 +2564,7 @@ "states": "대시보드 상태", "states-short": "상태", "search-states": "대시보드 상태 검색", - "selected-states": "{ count, plural, =1 {1 개 대시보드 상태} other {# 개 대시보드 상태} } 선택됨", + "selected-states": "{ count, plural, =1 {대시보드 상태 1개} other {대시보드 상태 #개} } 선택됨", "edit-state": "대시보드 상태 편집", "delete-state": "대시보드 상태 삭제", "add-state": "대시보드 상태 추가", @@ -2040,23 +2575,29 @@ "state-id": "상태 ID", "state-id-required": "대시보드 상태 ID를 입력하세요.", "state-id-exists": "동일한 대시보드 상태 ID가 이미 존재합니다.", - "is-root-state": "Root 상태", + "is-root-state": "루트 상태", "delete-state-title": "대시보드 상태 삭제", - "delete-state-text": "대시보드 상태 이름 '{{stateName}}'을(를) 삭제하시겠습니까?", - "show-details": "상세 내역 보기", - "hide-details": "상세 내역 숨기기", + "delete-state-text": "이름이 '{{stateName}}'인 대시보드 상태를 삭제하시겠습니까?", + "show-details": "세부 정보 보기", + "hide-details": "세부 정보 숨기기", "select-state": "대상 상태 선택", "state-controller": "상태 컨트롤러", "state-controller-default": "정적 (사용 중단)", "search": "대시보드 검색", - "selected-dashboards": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} } 선택됨", + "selected-dashboards": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} } 선택됨", "home-dashboard": "홈 대시보드", "home-dashboard-hide-toolbar": "홈 대시보드 도구 모음 숨기기", - "unassign-dashboard-from-edge-text": "확인 후 대시보드 할당이 해제되고", - "unassign-dashboards-from-edge-title": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }의 할당을 취소하시겠습니까?", - "unassign-dashboards-from-edge-text": "확인 후 선택한 모든 대시보드 할당이 해제되고", - "assign-dashboard-to-edge": "엣지에 대시보드 할당", - "assign-dashboard-to-edge-text": "엣지에 할당할 대시보드를 선택하세요", + "select-group-to-add": "선택한 대시보드를 추가할 대상 그룹을 선택하세요", + "select-group-to-move": "선택한 대시보드를 이동할 대상 그룹을 선택하세요", + "remove-dashboards-from-group": "'{{entityGroup}}' 그룹에서 { count, plural, =1 {대시보드 1개} other {대시보드 #개} }를 제거하시겠습니까?", + "group": "대시보드 그룹", + "list-of-groups": "{ count, plural, =1 {대시보드 그룹 1개} other {대시보드 그룹 #개 목록} }", + "group-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 대시보드 그룹", + "unassign-dashboard-from-edge-text": "확인 후 대시보드의 할당이 해제되며 Edge가 더 이상 접근할 수 없습니다.", + "unassign-dashboards-from-edge-title": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개} }의 할당을 해제하시겠습니까?", + "unassign-dashboards-from-edge-text": "확인 후 선택한 모든 대시보드의 할당이 해제되며 Edge가 더 이상 접근할 수 없습니다.", + "assign-dashboard-to-edge": "Edge에 대시보드 할당", + "assign-dashboard-to-edge-text": "Edge에 할당할 대시보드를 선택하세요", "non-existent-dashboard-state-error": "ID가 \"{{ stateId }}\"인 대시보드 상태를 찾을 수 없습니다", "edit-mode": "수정 모드", "duplicate-state-action": "상태 복제", @@ -2081,23 +2622,23 @@ "keys": "키", "label": "라벨", "color": "색상", - "units": "값 뒤에 표기할 특수 기호", - "decimals": "소숫점 뒤 자릿수", - "data-generation-func": "데이터 생성 기능", - "use-data-post-processing-func": "데이터 후처리 기능 사용", + "units": "값 옆에 표시할 특수 기호", + "decimals": "소수점 이하 자릿수", + "data-generation-func": "데이터 생성 함수", + "use-data-post-processing-func": "데이터 후처리 함수 사용", "configuration": "데이터 키 구성", "timeseries": "시계열", "attributes": "속성", "entity-field": "엔티티 필드", "alarm": "알람 필드", - "timeseries-required": "장치 시계열 를 입력하세요.", - "timeseries-or-attributes-required": "장치 시계열/속성 를 입력하세요.", + "timeseries-required": "엔티티 시계열을 입력하세요.", + "timeseries-or-attributes-required": "엔티티 시계열/속성을 입력하세요.", "alarm-fields-timeseries-or-attributes-required": "알람 필드 또는 엔티티 시계열/속성이 필요합니다.", - "maximum-timeseries-or-attributes": "최대 { count, plural, =1 {1개의 시계열/속성이 허용됩니다.} other {#개의 시계열/속성이 허용됩니다.} }", + "maximum-timeseries-or-attributes": "{ count, plural, =1 {시계열/속성은 최대 1개까지 허용됩니다.} other {시계열/속성은 최대 #개까지 허용됩니다} }", "alarm-fields-required": "알람 필드를 입력하세요.", "function-types": "함수 유형", "function-type": "함수 유형", - "function-types-required": "함수 유형을 입력하세요.", + "function-types-required": "함수 유형을 선택하세요.", "data-keys": "데이터 키", "data-key": "데이터 키", "data-keys-required": "데이터 키는 필수 항목입니다.", @@ -2114,14 +2655,14 @@ "timeseries-key": "시계열 데이터 키", "timeseries-key-functions": "시계열 키 함수", "timeseries-key-function": "시계열 키 함수", - "maximum-function-types": "최대 { count, plural, =1 {1 개 함수} other {# 개 함수} } 종류만 허용됩니다.", + "maximum-function-types": "{ count, plural, =1 {함수 유형은 최대 1개까지 허용됩니다.} other {함수 유형은 최대 #개까지 허용됩니다} }", "time-description": "현재 값의 타임스탬프;", "value-description": "현재 값;", "prev-value-description": "이전 함수 호출의 결과;", "time-prev-description": "이전 값의 타임스탬프;", "prev-orig-value-description": "원래 이전 값;", - "aggregation": "집합", - "aggregation-type-hint-common": "성능상의 이유로 집계 값 계산은 다음에만 사용할 수 있습니다", + "aggregation": "집계", + "aggregation-type-hint-common": "성능상의 이유로 집계 값 계산은 \"오늘\", \"이번 달\" 등과 같은 고정 시간 간격에서만 사용할 수 있으며 '지난 30분' 또는 '지난 24시간'과 같은 슬라이딩 윈도우 간격에서는 사용할 수 없습니다.", "aggregation-type-none-hint": "최신 값을 가져옵니다.", "aggregation-type-min-hint": "선택한 시간 창 내의 데이터 포인트 중 최소값을 찾습니다.", "aggregation-type-max-hint": "선택한 시간 창 내의 데이터 포인트 중 최대값을 찾습니다.", @@ -2130,7 +2671,7 @@ "aggregation-type-count-hint": "선택한 시간 창 내의 데이터 포인트 총 수입니다.", "delta-calculation": "델타 계산", "enable-delta-calculation": "델타 계산 사용", - "enable-delta-calculation-hint": "사용하면 데이터 키 값이 집계된 값을 기반으로 계산됩니다.", + "enable-delta-calculation-hint": "사용하면 선택한 시간 창과 지정한 비교 기간의 집계 값을 기반으로 데이터 키 값이 계산됩니다. 성능상의 이유로 델타 계산은 기록 시간 창에서만 사용할 수 있으며 실시간 값에는 사용할 수 없습니다. 예를 들어 어제의 에너지 소비량과 그저께의 에너지 소비량 사이의 델타를 계산할 수 있습니다.", "delta-calculation-result": "델타 계산 결과", "delta-calculation-result-previous-value": "이전 값", "delta-calculation-result-delta-absolute": "델타 (절대값)", @@ -2149,7 +2690,7 @@ "add-datasource-prompt": "데이터소스를 추가하세요." }, "details": { - "details": "상세 내역", + "details": "세부 정보", "edit-mode": "편집 모드", "edit-json": "JSON 편집", "toggle-edit-mode": "편집 모드 전환" @@ -2158,40 +2699,42 @@ "ai-assistant-initial-prompt-placeholder": "설정하려는 내용을 설명해 주세요...", "ai-assistant-example-connect-label": "내 장치 연결", "ai-assistant-example-connect-message": "내 장치 중 하나를 플랫폼에 연결해 실제 텔레메트리를 전송하기 시작하도록 도와주세요.", + "all": "모두", + "all-devices": "모든 장치", + "groups": "그룹", + "shared": "공유됨", "device": "장치", - "device-required": "장치를 입력하세요.", + "device-required": "장치를 선택하세요.", "devices": "장치", "management": "장치 관리", "view-devices": "장치 보기", "device-alias": "장치 별명", "device-type-max-length": "장치 유형은 256자 미만이어야 합니다.", "aliases": "장치 별명", - "no-alias-matching": "'{{alias}}' 를 찾을 수 없습니다.", + "no-alias-matching": "'{{alias}}'을(를) 찾을 수 없습니다.", "no-aliases-found": "별명이 없습니다.", - "no-key-matching": "'{{key}}' 를 찾을 수 없습니다.", - "no-keys-found": "Key가 없습니다.", + "no-key-matching": "'{{key}}'을(를) 찾을 수 없습니다.", + "no-keys-found": "키가 없습니다.", "create-new-alias": "새로 만들기!", "create-new-key": "새로 만들기!", "duplicate-alias-error": "중복된 '{{alias}}' 별명이 있습니다.
장치 별명은 대시보드 내에서 고유해야 합니다.", "configure-alias": "'{{alias}}' 별명 구성", - "no-devices-matching": "'{{entity}}'와 일치하는 장치를 찾을 수 없습니다.", + "no-devices-matching": "'{{entity}}'와(과) 일치하는 장치를 찾을 수 없습니다.", "alias": "별명", "alias-required": "장치 별명을 입력하세요.", - "remove-alias": "장치 별명 삭제", + "remove-alias": "장치 별명 제거", "add-alias": "장치 별명 추가", - "name-starts-with": "시작되는 이름", - "help-text": "필요에 따라 '%'를 사용하세요: '%device_name_contains%', '%device_name_ends', 'devic", + "name-starts-with": "장치 이름 표현식", + "help-text": "필요에 따라 '%'를 사용하세요: '%device_name_contains%', '%device_name_ends', 'device_starts_with%'.", "device-list": "장치 리스트", "use-device-name-filter": "필터 사용", "device-list-empty": "선택된 장치가 없습니다.", - "device-name-filter-required": "장치 필터 이름을 입력하세요.", - "device-name-filter-no-device-matched": "'{{device}}' 로 시작되는 장치를 찾을 수 없습니다.", + "device-name-filter-required": "장치 이름 필터를 입력하세요.", + "device-name-filter-no-device-matched": "'{{device}}'(으)로 시작되는 장치를 찾을 수 없습니다.", "add": "장치 추가", "assign-to-customer": "고객에게 할당", "assign-device-to-customer": "장치를 고객에게 할당", "assign-device-to-customer-text": "고객에게 할당할 장치를 선택하십시오.", - "assign-device-to-edge-title": "엣지에 장치 할당", - "assign-device-to-edge-text": "엣지에 할당할 장치를 선택하세요", "make-public": "장치를 공개로 전환", "make-private": "장치를 비공개로 전환", "no-devices-text": "장치 없음", @@ -2202,14 +2745,14 @@ "manage-credentials": "자격 증명 관리", "delete": "장치 삭제", "assign-devices": "장치 할당", - "assign-devices-text": "{ count, plural, =1 {장치 1 개} other {장치 # 개} }를 고객에 할당", + "assign-devices-text": "{ count, plural, =1 {장치 1개} other {장치 #개} }를 고객에게 할당", "delete-devices": "장치 삭제", "unassign-from-customer": "고객 할당 해제", - "unassign-devices": "장치 할당 취소", - "unassign-devices-action-title": "{ count, plural, =1 {장치 1 개} other {장치 # 개} }를 고객에게서 할당 해제", + "unassign-devices": "장치 할당 해제", + "unassign-devices-action-title": "{ count, plural, =1 {장치 1개} other {장치 #개} }를 고객에게서 할당 해제", "unassign-device-from-edge-title": "'{{deviceName}}' 장치 할당을 해제하시겠습니까?", - "unassign-device-from-edge-text": "확인 후 장치 할당이 해제되고", - "unassign-devices-from-edge": "엣지에서 장치 할당 해제", + "unassign-device-from-edge-text": "확인 후 장치의 할당이 해제되며 Edge가 더 이상 접근할 수 없습니다.", + "unassign-devices-from-edge": "Edge에서 장치 할당 해제", "assign-new-device": "새로운 장치 할당", "make-public-device-title": "장치 '{{deviceName}}'을(를) 공개하시겠습니까?", "make-public-device-text": "확인 후 장치와 모든 데이터가 공개되어 다른 사용자가 액세스할 수 있습니다.", @@ -2218,20 +2761,20 @@ "view-credentials": "자격 증명 보기", "delete-device-title": "'{{deviceName}}' 장치를 삭제하시겠습니까?", "delete-device-text": "장치 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-devices-title": "{ count, plural, =1 {장치 1 개} other {장치 # 개} }를 삭제하시겠습니까?", - "delete-devices-action-title": "{ count, plural, =1 {장치 1 개} other {장치 # 개} } 삭제", - "delete-devices-text": "장치 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", + "delete-devices-title": "{ count, plural, =1 {장치 1개} other {장치 #개} }를 삭제하시겠습니까?", + "delete-devices-action-title": "{ count, plural, =1 {장치 1개} other {장치 #개} } 삭제", + "delete-devices-text": "주의: 확인 후 선택한 모든 장치와 관련된 모든 데이터가 삭제되며 복구할 수 없습니다.", "unassign-device-title": "'{{deviceName}}' 장치 할당을 해제하시겠습니까?", - "unassign-device-text": "장치가 할당 해제되고 고객은 액세스 할 수 없게됩니다.", - "unassign-device": "장치 할당 취소", - "unassign-devices-title": "{ count, plural, =1 {장치 1 개} other {장치 # 개} }의 할당을 해제하시겠습니까??", - "unassign-devices-text": "선택된 장치가 할당 해제되고 고객은 액세스 할 수 없게됩니다.", + "unassign-device-text": "장치가 할당 해제되고 고객은 액세스할 수 없게 됩니다.", + "unassign-device": "장치 할당 해제", + "unassign-devices-title": "{ count, plural, =1 {장치 1개} other {장치 #개} }의 할당을 해제하시겠습니까?", + "unassign-devices-text": "선택된 장치가 할당 해제되고 고객은 액세스할 수 없게 됩니다.", "device-credentials": "장치 자격 증명", "loading-device-credentials": "장치 자격 증명 로딩 중...", "credentials-type": "자격 증명 타입", "access-token": "액세스 토큰", "access-token-required": "액세스 토큰을 입력하세요.", - "access-token-invalid": "액세스 토큰 길이는 1 - 32 자 여야합니다.", + "access-token-invalid": "액세스 토큰 길이는 1~32자여야 합니다.", "certificate-pem-format": "PEM 형식의 인증서", "certificate-pem-format-required": "인증서는 필수 항목입니다.", "copy-access-token": "액세스 토큰 복사", @@ -2246,7 +2789,7 @@ "lwm2m-security-config": { "identity": "클라이언트 ID", "identity-required": "클라이언트 ID는 필수 항목입니다.", - "identity-tooltip": "PSK 식별자는 [RFC4279]에 설명된 대로 최대 128바이트의 임의 PSK 식별자입니다.", + "identity-tooltip": "PSK 식별자는 표준 [RFC7925]에 설명된 대로 최대 128바이트의 임의 PSK 식별자입니다.\nPSK 식별자는 반드시 먼저 문자열로 변환한 다음 UTF-8 인코딩을 사용하여 옥텟으로 변환해야 합니다.", "client-key": "클라이언트 키", "client-key-required": "클라이언트 키는 필수 항목입니다.", "client-key-tooltip-prk": "RPK 공개 키 또는 ID는 표준 [RFC7250]에 있어야 하며 Base64로 인코딩되어야 합니다.", @@ -2255,7 +2798,7 @@ "endpoint-required": "엔드포인트 클라이언트 이름은 필수 항목입니다.", "client-public-key": "클라이언트 공개 키", "client-public-key-hint": "클라이언트 공개 키가 비어 있으면 신뢰할 수 있는 인증서가 사용됩니다.", - "client-public-key-tooltip": "X509 공개 키는 DER 인코딩된 X509v3 형식이어야 하며 EC만 지원합니다.", + "client-public-key-tooltip": "X509 공개 키는 DER 인코딩된 X509v3 형식이어야 하고 EC 알고리즘만 지원해야 하며, 그런 다음 Base64 형식으로 인코딩되어야 합니다!", "mode": "보안 구성 모드", "client-tab": "클라이언트 보안 구성", "client-certificate": "클라이언트 인증서", @@ -2266,30 +2809,30 @@ "bootstrap-reboot": "부트스트랩 요청 트리거", "client-publicKey-or-id": "클라이언트 공개 키 또는 ID", "client-publicKey-or-id-required": "클라이언트 공개 키 또는 ID는 필수 항목입니다.", - "client-publicKey-or-id-tooltip-psk": "PSK 식별자는 [RFC4279]에 설명된 대로 최대 128바이트의 임의 PSK 식별자입니다.", + "client-publicKey-or-id-tooltip-psk": "PSK 식별자는 표준 [RFC7925]에 설명된 대로 최대 128바이트의 임의 PSK 식별자입니다.\nPSK 식별자는 반드시 먼저 문자열로 변환한 다음 UTF-8 인코딩을 사용하여 옥텟으로 변환해야 합니다.", "client-publicKey-or-id-tooltip-rpk": "RPK 공개 키 또는 ID는 표준 [RFC7250]에 있어야 하며 Base64로 인코딩되어야 합니다.", - "client-publicKey-or-id-tooltip-x509": "X509 공개 키는 DER 인코딩된 X509v3 형식이어야 하며 EC만 지원합니다.", + "client-publicKey-or-id-tooltip-x509": "X509 공개 키는 DER 인코딩된 X509v3 형식이어야 하고 EC 알고리즘만 지원해야 하며, 그런 다음 Base64 형식으로 인코딩되어야 합니다", "client-secret-key": "클라이언트 비밀 키", "client-secret-key-required": "클라이언트 비밀 키는 필수 항목입니다.", "client-secret-key-tooltip-psk": "PSK 키는 표준 [RFC4279]에 있어야 하며 HexDec 형식이어야 합니다: 32, 64, 128자", - "client-secret-key-tooltip-prk": "RPK 비밀 키는 PKCS_8 형식(DER 인코딩, 표준 [RFC5958])이어야 합니다.", - "client-secret-key-tooltip-x509": "X509 비밀 키는 PKCS_8 형식(DER 인코딩, 표준 [RFC5958])이어야 합니다." + "client-secret-key-tooltip-prk": "RPK 비밀 키는 PKCS_8 형식(DER 인코딩, 표준 [RFC5958])이어야 하며, 그런 다음 Base64 형식으로 인코딩되어야 합니다!", + "client-secret-key-tooltip-x509": "X509 비밀 키는 PKCS_8 형식(DER 인코딩, 표준 [RFC5958])이어야 하며, 그런 다음 Base64 형식으로 인코딩되어야 합니다!" }, "client-id": "클라이언트 ID", "client-id-pattern": "잘못된 문자가 포함되어 있습니다.", "user-name": "사용자 이름", "user-name-required": "사용자 이름을 입력하세요.", - "client-id-or-user-name-necessary": "클라이언드 ID 와/또는 사용자 이름은 필수 사항 입니다", + "client-id-or-user-name-necessary": "클라이언트 ID 및/또는 사용자 이름은 필수 항목입니다.", "password": "비밀번호", "secret": "시크릿", "secret-required": "시크릿을 입력하세요.", - "device-type": "장치 유형", - "device-type-required": "장치 유형을 입력하세요.", + "device-type": "장치 프로필", + "device-type-required": "장치 프로필을 선택하세요.", "select-device-type": "장치 유형 선택", - "enter-device-type": "장치 유형 입력", + "enter-device-type": "장치 프로필 입력", "any-device": "모든 장치", - "no-device-types-matching": "'{{entitySubtype}}'에 해당되는 장치 유형을 찾을 수 없습니다.", - "device-type-list-empty": "아무 장치 유형도 선택되지 않았습니다.", + "no-device-types-matching": "'{{entitySubtype}}'에 해당하는 장치 프로필을 찾을 수 없습니다.", + "device-type-list-empty": "선택한 장치 프로필이 없습니다.", "device-profile-type-list-empty": "최소 하나의 장치 프로필을 선택해야 합니다.", "device-types": "장치 유형", "name": "이름", @@ -2306,10 +2849,10 @@ "idCopiedMessage": "장치 아이디가 클립보드에 복사되었습니다.", "accessTokenCopiedMessage": "장치 액세스 토큰이 클립보드에 복사되었습니다.", "mqtt-authentication-copied-message": "장치 MQTT 자격 증명이 클립보드에 복사되었습니다.", - "assignedToCustomer": "고객에 할당됨", + "assignedToCustomer": "할당된 고객", "unable-delete-device-alias-title": "장치 별명을 삭제할 수 없습니다.", "unable-delete-device-alias-text": "'{{deviceAlias}}' 장치 별명을 삭제할 수 없습니다. 다음 위젯에서 사용하고 있습니다.
{{widgetsList}}", - "is-gateway": "게이트웨이 여부", + "is-gateway": "Gateway 여부", "overwrite-activity-time": "연결된 장치의 활동 시간 덮어쓰기", "device-filter-title": "장치 필터", "filter-title": "필터", @@ -2321,31 +2864,39 @@ "public": "공개", "device-public": "장치가 공개됨", "select-device": "장치 선택", - "import": "장치 불러오기", + "select-group-to-add": "선택한 장치를 추가할 대상 그룹을 선택하세요", + "select-group-to-move": "선택한 장치를 이동할 대상 그룹을 선택하세요", + "remove-devices-from-group": "'{{entityGroup}}' 그룹에서 { count, plural, =1 {장치 1개} other {장치 #개} }를 제거하시겠습니까?", + "group": "장치 그룹", + "list-of-groups": "{ count, plural, =1 {장치 그룹 1개} other {장치 그룹 #개 목록} }", + "group-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 장치 그룹", + "import": "장치 가져오기", "device-file": "장치 파일", "search": "장치 검색", - "selected-devices": "{ count, plural, =1 {1 개 장치} other {# 개 장치} } 선택됨", - "device-configuration": "장치 설정", - "transport-configuration": "전송 설정", + "selected-devices": "{ count, plural, =1 {장치 1개} other {장치 #개} } 선택됨", + "device-configuration": "장치 구성", + "transport-configuration": "전송 구성", "wizard": { "device-details": "장치 상세 정보" }, - "unassign-devices-from-edge-title": "{ count, plural, =1 {장치 1 개} other {장치 # 개} }의 할당을 해제하시겠습니까??", - "unassign-devices-from-edge-text": "확인 후 선택한 모든 장치의 할당이 해제되고", + "unassign-devices-from-edge-title": "{ count, plural, =1 {장치 1개} other {장치 #개} }의 할당을 해제하시겠습니까?", + "unassign-devices-from-edge-text": "확인 후 선택한 모든 장치의 할당이 해제되어 Edge에서 더 이상 액세스할 수 없습니다.", "time": "시간", "connectivity": { "check-connectivity": "연결 확인", "device-created-check-connectivity": "장치가 생성되었습니다. 연결을 확인하세요!", "loading-check-connectivity-command": "연결 확인 명령 로딩 중...", - "use-following-instructions": "다음 지침을 사용하여 장치 대신 텔레메트리를 전송하세요.", + "use-following-instructions": "셸을 사용하여 장치 대신 텔레메트리를 전송하려면 다음 지침을 따르세요.", "execute-following-command": "다음 명령을 실행하세요", - "install-curl-windows": "Windows 10 b17063부터 cURL이 기본적으로 사용할 수 있습니다.", - "install-curl-macos": "Mac OS X 10.2 6C115 (Jaguar)부터 cURL이 기본적으로 사용할 수 있습니다.", + "step-execute-following-command": "2단계. 다음 명령을 실행하세요", + "step-install-necessary-client-tools": "1단계. 필요한 클라이언트 도구를 설치하세요", + "install-curl-windows": "Windows 10 b17063부터 cURL을 기본적으로 사용할 수 있습니다", + "install-curl-macos": "Mac OS X 10.2 6C115 (Jaguar)부터 cURL을 기본적으로 사용할 수 있습니다", "install-mqtt-windows": "mosquitto_pub을 다운로드, 설치, 설정 및 실행하는 지침을 사용하세요.", "install-coap-client": "coap-client를 다운로드, 설치, 설정 및 실행하는 지침을 사용하세요.", "install-necessary-client-tools": "필요한 클라이언트 도구 설치", - "mqtts-x509-command": "다음 문서를 사용하여 인증서로 MQTT를 통해 장치를 연결하세요.", - "coaps-x509-command": "다음 문서를 사용하여 인증서로 CoAP over DTLS를 통해 장치를 연결하세요.", + "mqtts-x509-command": "다음 문서를 사용하여 X509 인증으로 MQTT를 통해 장치를 연결하세요", + "coaps-x509-command": "다음 문서를 사용하여 X509 인증으로 CoAP over DTLS를 통해 장치를 연결하세요", "snmp-command": "다음 문서를 사용하여 SNMP를 통해 장치를 연결하세요.", "sparkplug-command": "다음 문서를 사용하여 MQTT Sparkplug를 통해 장치를 연결하세요.", "lwm2m-command": "다음 문서를 사용하여 LWM2M을 통해 장치를 연결하세요." @@ -2377,6 +2928,7 @@ "type-font": "글꼴", "type-units": "단위", "type-icon": "아이콘", + "type-css-size": "CSS 크기", "type-fieldset": "필드셋", "type-array": "배열", "type-html-section": "HTML 섹션", @@ -2390,14 +2942,14 @@ "number-settings": "숫자 설정", "min": "최소", "max": "최대", - "step": "단계", + "step": "간격", "selected-options-limit": "선택 옵션 제한", "advanced-ui-settings": "고급 UI 설정", - "disable-on-property": "속성 비활성화", + "disable-on-property": "비활성화 기준 속성", "disable-on-property-none": "없음 (필드 항상 활성화)", "display-condition-function": "표시 조건 함수", "sub-label": "보조 라벨", - "vertical-divider-after": "다음에 수직 구분선", + "vertical-divider-after": "뒤에 세로 구분선 표시", "input-field-suffix": "입력 필드 접미사", "property-row-classes": "속성 행 클래스", "property-field-classes": "속성 필드 클래스", @@ -2448,11 +3000,11 @@ "asset-profile-details": "자산 프로필 상세", "no-asset-profiles-text": "자산 프로필이 없습니다", "search": "자산 프로필 검색", - "selected-asset-profiles": "{ count, plural, =1 {1개 자산 프로필} other {#개 자산 프로필} } 선택됨", + "selected-asset-profiles": "{ count, plural, =1 {자산 프로필 1개} other {자산 프로필 #개} } 선택됨", "no-asset-profiles-matching": "'{{entity}}'와(과) 일치하는 자산 프로필이 없습니다.", "asset-profile-required": "자산 프로필이 필요합니다", "idCopiedMessage": "자산 프로필 ID가 클립보드에 복사되었습니다", - "set-default": "자산 프로필 기본값으로 설정", + "set-default": "자산 프로필을 기본값으로 설정", "delete": "자산 프로필 삭제", "copyId": "자산 프로필 ID 복사", "name-max-length": "이름은 256자 미만이어야 합니다.", @@ -2463,18 +3015,18 @@ "image": "자산 프로필 이미지", "description": "설명", "default": "기본값", - "default-rule-chain": "기본 규칙 사슬", - "default-edge-rule-chain": "기본 엣지 규칙 사슬", - "default-edge-rule-chain-hint": "이 자산 프로필의 자산에 대한 들어오는 데이터를 처리하는 규칙 사슬로 엣지에서 사용됩니다", + "default-rule-chain": "기본 규칙 체인", + "default-edge-rule-chain": "기본 Edge 규칙 체인", + "default-edge-rule-chain-hint": "이 자산 프로필의 자산에 대한 들어오는 데이터를 처리하는 규칙 체인으로 Edge에서 사용됩니다", "mobile-dashboard": "모바일 대시보드", "mobile-dashboard-hint": "모바일 애플리케이션에서 자산 상세 대시보드로 사용됩니다", "select-queue-hint": "드롭다운 목록에서 선택하세요.", "delete-asset-profile-title": "자산 프로필 '{{assetProfileName}}'을(를) 삭제하시겠습니까?", - "delete-asset-profile-text": "주의: 확인 후 자산 프로필과 모든 관련 데이터가", - "delete-asset-profiles-title": "{ count, plural, =1 {1개 자산 프로필} other {#개 자산 프로필} }을(를) 삭제하시겠습니까?", - "delete-asset-profiles-text": "주의: 확인 후 선택한 모든 자산 프로필이 제거되고", + "delete-asset-profile-text": "주의: 확인 후 자산 프로필과 모든 관련 데이터를 복구할 수 없게 됩니다.", + "delete-asset-profiles-title": "{ count, plural, =1 {자산 프로필 1개} other {자산 프로필 #개} }를 삭제하시겠습니까?", + "delete-asset-profiles-text": "주의: 확인 후 선택한 모든 자산 프로필이 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "set-default-asset-profile-title": "자산 프로필 '{{assetProfileName}}'을(를) 기본값으로 설정하시겠습니까?", - "set-default-asset-profile-text": "확인 후 자산 프로필이 기본값으로 표시되고", + "set-default-asset-profile-text": "확인 후 자산 프로필이 기본값으로 표시되고 프로필이 지정되지 않은 새 자산에 사용됩니다.", "no-asset-profiles-found": "자산 프로필이 없습니다.", "create-new-asset-profile": "새로 만들기!", "create-asset-profile": "새 자산 프로필 만들기", @@ -2493,26 +3045,26 @@ "device-profile-details": "장치 프로필 상세 정보", "no-device-profiles-text": "아무 장치 프로필도 찾을 수 없습니다", "search": "장치 프로필 검색", - "selected-device-profiles": "{ count, plural, =1 {1 개 장치 프로필} other {# 개 장치 프로필} } 선택됨", + "selected-device-profiles": "{ count, plural, =1 {장치 프로필 1개} other {장치 프로필 #개} } 선택됨", "no-device-profiles-matching": "'{{entity}}'와(과) 일치하는 장치 프로필을 찾을 수 없습니다.", - "device-profile-required": "장치 프로필을 입력하세요", + "device-profile-required": "장치 프로필을 선택하세요.", "idCopiedMessage": "장치 프로필 ID가 클립보드에 복사되었습니다.", - "set-default": "장치 프로필 기본값으로 설정", + "set-default": "장치 프로필을 기본값으로 설정", "delete": "장치 프로필 삭제", "copyId": "장치 프로필 ID 복사", "name-max-length": "이름은 256자 미만이어야 합니다.", "name": "이름", "name-required": "이름을 입력하세요.", "type": "프로필 유형", - "type-required": "프로필 유형을 입력하세요.", + "type-required": "프로필 유형을 선택하세요.", "type-default": "기본값", "image": "장치 프로필 이미지", "transport-type": "전송 유형", - "transport-type-required": "전송 유형을 입력하세요.", + "transport-type-required": "전송 유형을 선택하세요.", "transport-type-default": "기본값", "transport-type-default-hint": "기본 MQTT, HTTP, CoAP 전송을 지원", "transport-type-mqtt": "MQTT", - "transport-type-mqtt-hint": "고급 MQTT 전송 설정을 활성화", + "transport-type-mqtt-hint": "고급 MQTT 전송 설정을 활성화합니다.", "transport-type-coap": "CoAP", "transport-type-coap-hint": "고급 CoAP 전송 설정을 활성화합니다.", "transport-type-lwm2m": "LWM2M", @@ -2522,17 +3074,17 @@ "transport-type-http": "HTTP", "description": "설명", "default": "기본값", - "profile-configuration": "프로필 설정", - "transport-configuration": "전송 설정", - "default-rule-chain": "기본 규칙 사슬", - "default-edge-rule-chain": "기본 엣지 규칙 사슬", - "default-edge-rule-chain-hint": "엣지에서 이 장치 프로필의 장치에 대한 들어오는 데이터를 처리하는 규칙 체인으로 사용됩니다.", + "profile-configuration": "프로필 구성", + "transport-configuration": "전송 구성", + "default-rule-chain": "기본 규칙 체인", + "default-edge-rule-chain": "기본 Edge 규칙 체인", + "default-edge-rule-chain-hint": "Edge에서 이 장치 프로필의 장치에 대한 들어오는 데이터를 처리하는 규칙 체인으로 사용됩니다", "mobile-dashboard": "모바일 대시보드", "mobile-dashboard-hint": "모바일 애플리케이션에서 장치 세부 정보 대시보드로 사용됩니다.", "select-queue-hint": "드롭다운 목록에서 선택하세요.", "delete-device-profile-title": "장치 프로필 '{{deviceProfileName}}'을(를) 삭제하시겠습니까?", "delete-device-profile-text": "주의: 확인 후 장치 프로필과 관련된 모든 데이터(OTA 업데이트 포함)는 복구할 수 없게 됩니다.", - "delete-device-profiles-title": "정말 { count, plural, =1 {1개의 장치 프로필} other {#개의 장치 프로필} }을 삭제하시겠습니까?", + "delete-device-profiles-title": "{ count, plural, =1 {장치 프로필 1개} other {장치 프로필 #개} }를 삭제하시겠습니까?", "delete-device-profiles-text": "주의: 확인 후 선택한 모든 장치 프로필이 제거되고 관련된 모든 데이터(OTA 업데이트 포함)는 복구할 수 없게 됩니다.", "set-default-device-profile-title": "장치 프로필 '{{deviceProfileName}}'을(를) 기본값으로 설정하시겠습니까?", "set-default-device-profile-text": "확인 후 장치 프로필이 기본값으로 표시되며 프로필이 지정되지 않은 새 장치에 사용됩니다.", @@ -2543,16 +3095,16 @@ "mqtt-device-topic-filters-spark-plug": "MQTT Sparkplug B Edge of Network (EoN) 노드.", "mqtt-device-topic-filters-spark-plug-hint": "Sparkplug B 페이로드 및 토픽 형식의 EoN 노드에서 연결을 허용합니다.", "mqtt-device-topic-filters-spark-plug-attribute-metric-names": "속성으로 저장할 SparkPlug 지표.", - "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "장치 속성으로 저장될 SparkPlug 지표의 이름입니다. 다른 모든 지표는", + "mqtt-device-topic-filters-spark-plug-attribute-metric-names-hint": "장치 속성으로 저장될 SparkPlug 지표의 이름입니다. 다른 모든 지표는 장치 텔레메트리로 저장됩니다.", "mqtt-device-payload-type": "MQTT 장치 페이로드", "mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-proto": "Protobuf", "mqtt-enable-compatibility-with-json-payload-format": "다른 페이로드 형식과의 호환성 사용.", - "mqtt-enable-compatibility-with-json-payload-format-hint": "사용하면 플랫폼은 기본적으로 Protobuf 페이로드 형식을 사용합니다. 파싱이", + "mqtt-enable-compatibility-with-json-payload-format-hint": "사용하면 플랫폼은 기본적으로 Protobuf 페이로드 형식을 사용합니다. 파싱에 실패하면 플랫폼은 JSON 페이로드 형식을 사용하려고 시도합니다. 펌웨어 업데이트 중 하위 호환성을 유지하는 데 유용합니다. 예를 들어 펌웨어의 초기 릴리스는 JSON을 사용하고 새 릴리스는 Protobuf를 사용합니다. 장치 전체의 펌웨어를 업데이트하는 동안에는 Protobuf와 JSON을 동시에 지원해야 합니다. 호환 모드는 성능을 약간 저하시키므로 모든 장치가 업데이트되면 이 모드를 비활성화하는 것이 좋습니다.", "mqtt-use-json-format-for-default-downlink-topics": "기본 다운링크 토픽에 JSON 형식 사용", - "mqtt-use-json-format-for-default-downlink-topics-hint": "사용하면 플랫폼은 속성 및 RPC를 푸시하는 데 JSON 페이로드 형식을 사용합니다.", + "mqtt-use-json-format-for-default-downlink-topics-hint": "사용하면 플랫폼은 다음 토픽을 통해 속성 및 RPC를 푸시하는 데 JSON 페이로드 형식을 사용합니다: v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id, v1/devices/me/rpc/response/$request_id. 이 설정은 새(v2) 토픽을 사용하여 전송되는 속성 및 RPC 구독에는 영향을 주지 않습니다: v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. 여기서 $request_id는 정수 요청 식별자입니다.", "mqtt-send-ack-on-validation-exception": "PUBLISH 메시지 유효성 검사 실패 시 PUBACK 전송", - "mqtt-send-ack-on-validation-exception-hint": "기본적으로 플랫폼은 메시지 유효성 검사 실패 시 MQTT 세션을 닫습니다.", + "mqtt-send-ack-on-validation-exception-hint": "기본적으로 플랫폼은 메시지 유효성 검사 실패 시 MQTT 세션을 닫습니다. 사용하면 플랫폼은 세션을 닫는 대신 게시 확인 응답을 보냅니다.", "mqtt-protocol-version": "프로토콜 버전", "snmp-add-mapping": "SNMP 매핑 추가", "snmp-mapping-not-configured": "OID를 시계열/텔레메트리에 매핑하도록 구성되지 않음", @@ -2586,7 +3138,7 @@ "rpc-response-topic-filter-required": "RPC 응답 토픽 필터는 필수 항목입니다.", "rpc-request-proto-schema": "RPC 요청 프로토 스키마", "rpc-request-proto-schema-required": "RPC 요청 프로토 스키마는 필수 항목입니다.", - "rpc-request-proto-schema-hint": "RPC 요청 메시지에는 항상 다음 필드가 있어야 합니다: string method = 1; int32 requestId", + "rpc-request-proto-schema-hint": "RPC 요청 메시지에는 항상 다음 필드가 있어야 합니다: string method = 1; int32 requestId = 2; 및 임의 데이터 유형의 params = 3.", "not-valid-pattern-topic-filter": "유효하지 않은 패턴 토픽 필터", "not-valid-single-character": "단일 수준 와일드카드 문자의 잘못된 사용", "not-valid-multi-character": "다중 수준 와일드카드 문자의 잘못된 사용", @@ -2605,10 +3157,10 @@ "create-alarm-rules": "알람 규칙 생성", "no-create-alarm-rules": "구성된 생성 조건 없음", "add-create-alarm-rule-prompt": "알람 생성 규칙을 추가하세요.", - "clear-alarm-rule": "알람 규칙 지우기", - "no-clear-alarm-rule": "지움 조건이 구성되지 않음", + "clear-alarm-rule": "알람 해제 규칙", + "no-clear-alarm-rule": "구성된 해제 조건 없음", "add-create-alarm-rule": "생성 조건 추가", - "add-clear-alarm-rule": "지움 조건 추가", + "add-clear-alarm-rule": "해제 조건 추가", "select-alarm-severity": "알람 심각도 선택", "alarm-severity-required": "알람 심각도는 필수 항목입니다.", "condition-duration": "조건 기간", @@ -2621,8 +3173,8 @@ "advanced-settings": "고급 설정", "alarm-rule-additional-info": "추가 정보", "edit-alarm-rule-additional-info": "추가 정보 수정", - "alarm-rule-additional-info-placeholder": "알람 세부 정보 내에 표시할 설명과 조정 사항을 여기에 입력하세요.", - "alarm-rule-additional-info-hint": "힌트: ${keyName${keyName}을(를) 사용하세요.", "alarm-rule-mobile-dashboard": "모바일 대시보드", "alarm-rule-mobile-dashboard-hint": "모바일 애플리케이션에서 알람 세부 정보 대시보드로 사용됩니다.", "alarm-rule-no-mobile-dashboard": "선택된 대시보드 없음", @@ -2630,6 +3182,7 @@ "alarm-rule-relation-types-list": "관계 유형", "alarm-rule-relation-types-list-hint": "관련 엔티티를 필터링할 관계 유형을 정의합니다. 설정하지 않으면 알람이 모든 관련 엔티티에 전파됩니다.", "propagate-alarm-to-owner": "엔티티 소유자(고객 또는 테넌트)에게 알람 전파", + "propagate-alarm-to-owner-hierarchy": "엔티티 소유자 계층으로 알람 전파", "propagate-alarm-to-tenant": "테넌트에게 알람 전파", "alarm-rule-condition": "알람 규칙 조건", "enter-alarm-rule-condition-prompt": "알람 규칙 조건을 추가하세요", @@ -2650,9 +3203,9 @@ "provision-secret-copied-message": "프로비저닝 비밀키가 클립보드에 복사되었습니다", "provision-strategy-x509": { "certificate-chain": "X509 인증서 체인", - "certificate-chain-hint": "X.509 인증서 전략은 클라이언트 인증서로 장치를 프로비저닝하는 데 사용됩니다.", + "certificate-chain-hint": "X.509 인증서 전략은 양방향 TLS 통신에서 클라이언트 인증서로 장치를 프로비저닝하는 데 사용됩니다.", "allow-create-new-devices": "새 장치 생성", - "allow-create-new-devices-hint": "선택하면 새 장치가 생성되고 클라이언트 인증서가 장치로 사용됩니다.", + "allow-create-new-devices-hint": "선택하면 새 장치가 생성되고 클라이언트 인증서가 장치 자격 증명으로 사용됩니다.", "certificate-value": "PEM 형식의 인증서", "certificate-value-required": "PEM 형식의 인증서는 필수 항목입니다.", "cn-regex-variable": "CN 정규식 변수", @@ -2691,8 +3244,8 @@ }, "schedule-days": "요일", "schedule-time": "시간", - "schedule-time-from": "부터", - "schedule-time-to": "까지", + "schedule-time-from": "시작", + "schedule-time-to": "종료", "schedule-days-of-week-required": "최소 하나의 요일을 선택해야 합니다.", "create-device-profile": "새 장치 프로필 생성", "import": "장치 프로필 가져오기", @@ -2720,10 +3273,10 @@ "psm-activity-timer-pattern": "PSM 활동 타이머는 양의 정수여야 합니다.", "psm-activity-timer-min": "PSM 활동 타이머의 최소값은 {{ min }}초입니다.", "lwm2m": { - "object-list": "엔티티 목록", - "object-list-empty": "선택된 엔티티가 없습니다.", - "no-objects-found": "엔티티를 찾을 수 없습니다.", - "no-objects-matching": "'{{object}}'와(과) 일치하는 엔티티가 없습니다.", + "object-list": "객체 목록", + "object-list-empty": "선택된 객체가 없습니다.", + "no-objects-found": "객체를 찾을 수 없습니다.", + "no-objects-matching": "'{{object}}'와(과) 일치하는 객체가 없습니다.", "model-tab": "LWM2M 모델", "add-new-instances": "새 인스턴스 추가", "instances-list": "인스턴스 목록", @@ -2735,6 +3288,9 @@ "observe-label": "관찰", "attribute-label": "속성", "telemetry-label": "텔레메트리", + "select-all-attribute": "모든 속성 선택", + "select-all-telemetry": "모든 텔레메트리 선택", + "select-all-observe": "모든 관찰 항목 선택", "edit-observe-select": "관찰 편집을 위해 텔레메트리 또는 속성 선택", "edit-attributes-select": "속성 편집을 위해 텔레메트리 또는 속성 선택", "no-attributes-set": "설정된 속성 없음", @@ -2759,8 +3315,8 @@ "lwm2m-server-legend": "LwM2M 서버 (ShortId...)", "server": "서버", "short-id": "짧은 서버 ID", - "short-id-tooltip": "서버 짧은 ID. 서버 엔티티 인스턴스를 연결하는 링크로 사용됩니다. 이 식별자는", - "short-id-tooltip-bootstrap": "서버 짧은 ID. 서버 엔티티 인스턴스를 연결하는 링크로 사용됩니다. 이 식별자는", + "short-id-tooltip": "서버 짧은 ID. 서버 객체 인스턴스를 연결하는 링크로 사용됩니다.\n이 식별자는 LwM2M 클라이언트에 구성된 각 LwM2M 서버를 고유하게 식별합니다.\n부트스트랩 서버 리소스 값이 'false'인 경우 이 리소스를 반드시 설정해야 합니다.\nID:0 및 ID:65535 값은 LwM2M 서버 식별에 사용해서는 안 됩니다.", + "short-id-tooltip-bootstrap": "서버 짧은 ID. 서버 객체 인스턴스를 연결하는 링크로 사용됩니다.\n이 식별자는 LwM2M 클라이언트에 구성된 각 LwM2M 서버를 고유하게 식별합니다.\n부트스트랩 서버 리소스 값이 'false'인 경우 이 리소스를 반드시 설정해야 합니다.", "short-id-required": "짧은 서버 ID는 필수 항목입니다.", "short-id-range": "짧은 서버 ID는 {{ min }}에서 {{ max }} 범위여야 합니다.", "short-id-pattern": "짧은 서버 ID는 양의 정수여야 합니다.", @@ -2769,7 +3325,7 @@ "lifetime-required": "클라이언트 등록 수명은 필수 항목입니다.", "lifetime-pattern": "클라이언트 등록 수명은 양의 정수여야 합니다.", "default-min-period": "두 알림 사이의 최소 기간 (초)", - "default-min-period-tooltip": "LwM2M 클라이언트가 관찰의 최소 기간에 사용해야 하는 기본값입니다.", + "default-min-period-tooltip": "관찰에 이 매개변수가 포함되지 않은 경우 LwM2M 클라이언트가 관찰의 최소 기간에 사용해야 하는 기본값입니다.", "default-min-period-required": "최소 기간은 필수 항목입니다.", "default-min-period-pattern": "최소 기간은 양의 정수여야 합니다.", "notification-storing": "비활성화 또는 오프라인 시 알림 저장", @@ -2787,12 +3343,12 @@ "tqs": "TQS: TCP와 SMS 연결이 모두 활성화됨; TCP는 큐 모드, SMS는 표준 모드 (LWM2M 1.1부터 지원되지 않음)", "sq": "SQ: 큐 모드의 SMS 연결 (LWM2M 1.1부터 지원되지 않음)" }, - "binding-tooltip": "LwM2M 서버 엔티티의 \"binding\" 리소스(/1/x/7)에 있는 목록입니다.", + "binding-tooltip": "LwM2M 서버 객체의 \"binding\" 리소스(/1/x/7)에 있는 목록입니다.\nLwM2M 클라이언트에서 지원하는 바인딩 모드를 나타냅니다.\n이 값은 장치 객체(/3/0/16)의 “Supported Binding and Modes” 리소스 값과 같아야 합니다.\n여러 전송 방식이 지원되더라도 전체 전송 세션 동안에는 하나의 전송 바인딩만 사용할 수 있습니다.\n예를 들어 UDP와 SMS가 모두 지원되는 경우 LwM2M 클라이언트와 LwM2M 서버는 전체 전송 세션 동안 UDP 또는 SMS 중 하나로 통신하도록 선택할 수 있습니다.", "bootstrap-server": "부트스트랩 서버", "lwm2m-server": "LwM2M 서버", "include-bootstrap-server": "부트스트랩 서버 업데이트 포함", - "bootstrap-update-title": "이미 부트스트랩 서버가 구성되어 있습니다. 제외하시겠습니까?", - "bootstrap-update-text": "주의: 확인 후 부트스트랩 서버 구성 데이터가", + "bootstrap-update-title": "이미 부트스트랩 서버가 구성되어 있습니다. 업데이트를 제외하시겠습니까?", + "bootstrap-update-text": "주의: 확인 후 부트스트랩 서버 구성 데이터는 복구할 수 없습니다.", "server-host": "호스트", "server-host-required": "호스트는 필수 항목입니다.", "server-port": "포트", @@ -2816,7 +3372,7 @@ "no-config-servers": "구성된 서버 없음", "others-tab": "기타 설정", "ota-update": "OTA 업데이트", - "use-object-19-for-ota-update": "OTA 파일 메타데이터에 엔티티 19 사용 (체크섬, 크기, 버전, 이름)", + "use-object-19-for-ota-update": "OTA 파일 메타데이터에 객체 19 사용 (체크섬, 크기, 버전, 이름)", "use-object-19-for-ota-update-hint": "OTA 업데이트에 리소스 ObjectId = 19 사용: 펌웨어 → InstanceId = 65534, 소프트웨어 → InstanceId = 65535. 데이터 형식은 Base64로 래핑된 JSON입니다. 이 JSON에는 OTA 파일 메타데이터(파일 정보)가 포함됩니다: \"Checksum\" (SHA256). 추가 필드: \"Title\" (OTA 이름), \"Version\" (OTA 버전), \"File Name\" (클라이언트에 OTA를 저장할 파일 이름), \"File Size\" (OTA 크기, 바이트).", "client-strategy": "연결 시 클라이언트 전략", "client-strategy-label": "전략", @@ -2829,7 +3385,7 @@ "fw-update-strategy-package-uri": "패키지를 다운로드할 고유한 CoAP URL을 자동 생성하고 객체 5와 리소스 1(패키지 URI)로 펌웨어 업데이트 푸시", "sw-update": "소프트웨어 업데이트", "sw-update-strategy": "소프트웨어 업데이트 전략", - "sw-update-strategy-package": "엔티티 9와 리소스 2를 사용하여 바이너리 파일 푸시", + "sw-update-strategy-package": "객체 9와 리소스 2(패키지)를 사용하여 바이너리 파일 푸시", "sw-update-strategy-package-uri": "패키지를 다운로드할 고유한 CoAP URL을 자동 생성하고 객체 9와 리소스 3(패키지 URI)으로 소프트웨어 업데이트 푸시", "fw-update-resource": "펌웨어 업데이트 CoAP 리소스", "fw-update-resource-required": "펌웨어 업데이트 CoAP 리소스는 필수 항목입니다.", @@ -2845,7 +3401,7 @@ "min-evaluation-period": "최소 평가 기간", "max-evaluation-period": "최대 평가 기간" }, - "default-object-id": "기본 엔티티 버전 (속성)", + "default-object-id": "기본 객체 버전 (속성)", "default-object-id-ver": { "v1-0": "1.0", "v1-1": "1.1", @@ -2857,11 +3413,11 @@ "single-description": "리소스당 하나의 Observe 요청 (높은 정밀도, 더 많은 네트워크 트래픽)", "composite-all": "전체 복합", "composite-all-description": "모든 리소스가 단일 Composite Observe 요청으로 관찰됨 (더 효율적, 유연성 낮음)", - "composite-by-object": "엔티티별 복합", + "composite-by-object": "객체별 복합", "composite-by-object-description": "리소스가 객체 유형별로 그룹화되고 별도의 Composite Observe 요청을 사용하여 관찰됨 (균형 잡힌 접근 방식)" }, "init-attr-tel-as-obs-strategy": "관찰 전략을 사용하여 속성 및 텔레메트리 초기화", - "init-attr-tel-as-obs-strategy-hint": "false인 경우 - 속성과 원격 측정는 값을 하나씩 읽어서 초기화됩니다.\\ntrue인 경우 - 속성과 텔레메트리는 Observe 전략을 사용하여 값을 구독하여 초기화됩니다." + "init-attr-tel-as-obs-strategy-hint": "false인 경우 - 속성과 텔레메트리는 값을 하나씩 읽어서 초기화됩니다.\\ntrue인 경우 - 속성과 텔레메트리는 관찰 전략을 사용하여 값을 구독하여 초기화됩니다." }, "snmp": { "add-communication-config": "통신 구성 추가", @@ -2902,12 +3458,12 @@ "retries-invalid-format": "재시도는 양의 정수여야 합니다.", "retries-required": "재시도는 필수 항목입니다.", "scope": "범위", - "scope-required": "Scope을(를) 입력하세요.", + "scope-required": "범위는 필수 항목입니다.", "security-name": "보안 이름", "security-name-required": "보안 이름은 필수 항목입니다.", - "timeout-ms": "시간 초과 (ms)", - "timeout-ms-invalid-format": "시간 초과는 양의 정수여야 합니다.", - "timeout-ms-required": "제한시간이 입력되지 않았습니다.", + "timeout-ms": "제한 시간 (ms)", + "timeout-ms-invalid-format": "제한 시간은 양의 정수여야 합니다.", + "timeout-ms-required": "제한 시간은 필수 항목입니다.", "user-name": "사용자 이름", "user-name-required": "사용자 이름은 필수 항목입니다." } @@ -2922,103 +3478,809 @@ "row": "행" }, "edge": { - "edge": "엣지", - "edge-instances": "엣지 인스턴스", + "all": "모두", + "all-edges": "모든 Edge", + "groups": "그룹", + "shared": "공유됨", + "edge": "Edge", + "edge-instances": "Edge 인스턴스", "instances": "인스턴스", - "edge-file": "엣지 파일", + "edges": "Edge", + "profiles": "프로필", + "templates": "템플릿", + "rule-chain": "규칙 체인", + "integration": "통합", + "converter": "변환기", + "edge-file": "Edge 파일", "name-max-length": "이름은 256자 미만이어야 합니다.", "label-max-length": "레이블은 256자 미만이어야 합니다.", "type-max-length": "유형은 256자 미만이어야 합니다.", - "management": "엣지 관리", - "no-edges-matching": "'{{entity}}'과(와) 일치하는 엣지가 없습니다.", - "add": "엣지 추가", - "no-edges-text": "엣지가 없습니다", - "edge-details": "엣지 상세", - "add-edge-text": "새 엣지 추가", - "delete": "엣지 삭제", - "delete-edge-title": "엣지 '{{edgeName}}'을(를) 삭제하시겠습니까?", - "delete-edge-text": "주의: 확인 후 엣지와 모든 관련 데이터를 복구할 수 없게 됩니다.", - "delete-edges-title": "{ count, plural, =1 {1개 엣지} other {#개 엣지} }를 삭제하시겠습니까?", - "delete-edges-text": "주의: 확인 후 선택한 모든 엣지가 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", + "management": "Edge 관리", + "no-edges-matching": "'{{entity}}'와(과) 일치하는 Edge가 없습니다.", + "add": "Edge 추가", + "no-edges-text": "Edge가 없습니다", + "edge-details": "Edge 상세", + "add-edge-text": "새 Edge 추가", + "delete": "Edge 삭제", + "delete-edge-title": "Edge '{{edgeName}}'을(를) 삭제하시겠습니까?", + "delete-edge-text": "주의: 확인 후 Edge와 모든 관련 데이터를 복구할 수 없게 됩니다.", + "delete-edges-title": "{ count, plural, =1 {Edge 1개} other {Edge #개} }를 삭제하시겠습니까?", + "delete-edges-text": "주의: 확인 후 선택한 모든 Edge가 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "name": "이름", - "name-starts-with": "다음으로 시작하는 엣지 이름", + "name-starts-with": "다음으로 시작하는 Edge 이름", "name-required": "이름을 입력하세요.", + "edge-license-key": "Edge 라이선스 키", + "edge-license-key-required": "Edge 라이선스 키는 필수 항목입니다.", + "edge-license-key-max-length": "Edge 라이선스 키는 31자 미만이어야 합니다.", + "edge-license-key-hint": "중요 참고 사항: 기본 Edge 라이선스 키는 평가 목적으로만 제공됩니다.
이 키는 활성화 후 30일 동안만 유효합니다. 화이트 라벨링 기능은 비활성화되어 있습니다.
라이선스 키를 받으려면 가격 페이지로 이동하여 사용 사례에 가장 적합한 라이선스 옵션을 선택하세요.", + "cloud-endpoint": "클라우드 엔드포인트", + "cloud-endpoint-required": "클라우드 엔드포인트는 필수 항목입니다.", + "cloud-endpoint-max-length": "클라우드 엔드포인트는 256자 미만이어야 합니다.", + "cloud-endpoint-hint": "Edge는 라이선스 키를 확인하기 위해 클라우드(ThingsBoard)에 대한 HTTP(s) 액세스가 필요합니다. Edge가 연결할 수 있는 클라우드 URL을 지정하세요.", "description": "설명", - "details": "상세 내역", + "details": "세부 정보", "events": "이벤트", - "copy-id": "엣지 ID 복사", - "id-copied-message": "엣지 ID가 클립보드에 복사되었습니다", - "sync": "엣지 동기화", - "edge-required": "엣지가 필요합니다", - "edge-type": "엣지 유형", - "edge-type-required": "엣지 유형이 필요합니다.", + "copy-id": "Edge ID 복사", + "id-copied-message": "Edge ID가 클립보드에 복사되었습니다", + "sync": "Edge 동기화", + "edge-required": "Edge가 필요합니다", + "edge-type": "Edge 유형", + "edge-type-required": "Edge 유형이 필요합니다.", "event-action": "이벤트 액션", "entity-id": "엔티티 ID", - "select-edge-type": "엣지 유형 선택", - "assign-to-customer": "고객에게 자산 할당", - "assign-to-customer-text": "엣지를 할당할 고객을 선택하세요", - "assign-edge-to-customer": "고객에게 엣지 할당", - "assign-edge-to-customer-text": "고객에게 할당할 엣지를 선택하세요", + "select-edge-type": "Edge 유형 선택", + "assign-to-customer": "고객에게 할당", + "assign-to-customer-text": "Edge를 할당할 고객을 선택하세요", + "assign-edge-to-customer": "고객에게 Edge 할당", + "assign-edge-to-customer-text": "고객에게 할당할 Edge를 선택하세요", "assignedToCustomer": "할당된 고객", - "edge-public": "엣지가 공개됨", + "edge-public": "Edge가 공개됨", "assigned-to-customer": "할당됨: {{customerTitle}}", "unassign-from-customer": "고객 할당 해제", - "unassign-edge-title": "엣지 '{{edgeName}}'의 할당을 해제하시겠습니까?", - "unassign-edge-text": "확인 후 엣지가 할당 해제되어 고객이 액세스할 수 없습니다.", - "unassign-edges-title": "{ count, plural, =1 {1개 엣지} other {#개 엣지} }를 할당 해제하시겠습니까?", - "unassign-edges-text": "확인 후 선택한 모든 엣지가 할당 해제되어 고객이 액세스할 수 없습니다.", - "make-public": "엣지를 공개로 설정", - "make-public-edge-title": "엣지 '{{edgeName}}'을(를) 공개하시겠습니까?", - "make-public-edge-text": "확인 후 엣지와 모든 데이터가 공개되어 다른 사용자가 액세스할 수 있습니다.", - "make-private": "엣지를 비공개로 설정", + "unassign-edge-title": "Edge '{{edgeName}}'의 할당을 해제하시겠습니까?", + "unassign-edge-text": "확인 후 Edge가 할당 해제되어 고객이 액세스할 수 없습니다.", + "unassign-edges-title": "{ count, plural, =1 {Edge 1개} other {Edge #개} }를 할당 해제하시겠습니까?", + "unassign-edges-text": "확인 후 선택한 모든 Edge가 할당 해제되어 고객이 액세스할 수 없습니다.", + "make-public": "Edge를 공개로 설정", + "make-public-edge-title": "Edge '{{edgeName}}'을(를) 공개하시겠습니까?", + "make-public-edge-text": "확인 후 Edge와 모든 데이터가 공개되어 다른 사용자가 액세스할 수 있습니다.", + "make-private": "Edge를 비공개로 설정", "public": "공개", - "make-private-edge-title": "엣지 '{{edgeName}}'을(를) 비공개로 만드시겠습니까?", - "make-private-edge-text": "확인 후 엣지와 모든 데이터가 비공개되어 다른 사용자가 액세스할 수 없습니다.", - "import": "엣지 가져오기", + "make-private-edge-title": "Edge '{{edgeName}}'을(를) 비공개로 만드시겠습니까?", + "make-private-edge-text": "확인 후 Edge와 모든 데이터가 비공개되어 다른 사용자가 액세스할 수 없습니다.", + "import": "Edge 가져오기", "install-connect-instructions": "설치 및 연결 지침", - "install-connect-instructions-edge-created": "엣지가 생성되었습니다! 설치 및 연결 지침을 확인하세요", - "loading-edge-instructions": "엣지 지침을 불러오는 중...", + "install-connect-instructions-edge-created": "Edge가 생성되었습니다! 설치 및 연결 지침을 확인하세요", + "loading-edge-instructions": "Edge 지침을 불러오는 중...", "label": "라벨", "load-entity-error": "데이터를 불러오지 못했습니다. 엔티티가 삭제되었습니다.", - "assign-new-edge": "새 엣지 할당", - "unassign-from-edge": "엣지에서 할당 해제", - "edge-key": "엣지 키", - "copy-edge-key": "엣지 키 복사", - "edge-key-copied-message": "엣지 키가 클립보드에 복사되었습니다", - "edge-secret": "엣지 시크릿", - "copy-edge-secret": "엣지 시크릿 복사", - "edge-secret-copied-message": "엣지 시크릿이 클립보드에 복사되었습니다", + "assign-new-edge": "새 Edge 할당", + "unassign-from-edge": "Edge에서 할당 해제", + "edge-key": "Edge 키", + "copy-edge-key": "Edge 키 복사", + "edge-key-copied-message": "Edge 키가 클립보드에 복사되었습니다", + "edge-secret": "Edge 시크릿", + "copy-edge-secret": "Edge 시크릿 복사", + "edge-secret-copied-message": "Edge 시크릿이 클립보드에 복사되었습니다", "manage-assets": "자산 관리", "manage-devices": "장치 관리", "manage-entity-views": "엔티티 뷰 관리", "manage-dashboards": "대시보드 관리", - "manage-rulechains": "규칙 사슬 관리", - "assets": "엣지 자산", - "devices": "엣지 장치", - "entity-views": "엣지 엔티티 뷰", - "dashboard": "엣지 대시보드", - "dashboards": "엣지 대시보드", - "rulechain-templates": "규칙 사슬 템플릿", - "edge-rulechain-templates": "엣지 규칙 사슬 템플릿", - "rulechains": "엣지 규칙 사슬", - "search": "엣지 검색", - "selected-edges": "{ count, plural, =1 {1개 Edge} other {#개 Edge} } 선택됨", - "any-edge": "모든 엣지", - "no-edge-types-matching": "'{{entitySubtype}}'과(와) 일치하는 엣지 유형이 없습니다.", - "edge-type-list-empty": "선택된 엣지 유형이 없습니다.", - "edge-types": "엣지 유형", - "enter-edge-type": "엣지 유형 입력", + "manage-rulechains": "규칙 체인 관리", + "assets": "Edge 자산", + "devices": "Edge 장치", + "entity-views": "Edge 엔티티 뷰", + "dashboard": "Edge 대시보드", + "dashboards": "Edge 대시보드", + "rulechain-templates": "규칙 체인 템플릿", + "edge-rulechain-templates": "Edge 규칙 체인 템플릿", + "converter-templates": "변환기 템플릿", + "edge-converter-templates": "Edge 변환기 템플릿", + "integration-templates": "통합 템플릿", + "edge-integration-templates": "Edge 통합 템플릿", + "rulechains": "Edge 규칙 체인", + "integrations": "통합", + "search": "Edge 검색", + "selected-edges": "{ count, plural, =1 {Edge 1개} other {Edge #개} } 선택됨", + "any-edge": "모든 Edge", + "no-edge-types-matching": "'{{entitySubtype}}'와(과) 일치하는 Edge 유형이 없습니다.", + "edge-type-list-empty": "선택된 Edge 유형이 없습니다.", + "edge-types": "Edge 유형", + "enter-edge-type": "Edge 유형 입력", "deployed": "배포됨", "pending": "대기 중", "downlinks": "다운링크", "no-downlinks-prompt": "다운링크가 없습니다", "sync-process-started-successfully": "동기화 프로세스가 성공적으로 시작되었습니다!", - "missing-related-rule-chains-title": "엣지에 누락된 관련 규칙 사슬이 있습니다", - "missing-related-rule-chains-text": "엣지에 할당된 규칙 체인이 이 엣지에 할당되지 않은 규칙 체인으로 메시지를 전달하는 규칙 노드를 사용합니다.

누락된 규칙 체인 목록:
{{missingRuleChains}}", + "missing-related-rule-chains-title": "Edge에 누락된 관련 규칙 체인이 있습니다", + "missing-related-rule-chains-text": "Edge에 할당된 규칙 체인이 이 Edge에 할당되지 않은 규칙 체인으로 메시지를 전달하는 규칙 노드를 사용합니다.

누락된 규칙 체인 목록:
{{missingRuleChains}}", "upgrade-instructions": "업그레이드 지침", - "widget-datasource-error": "이 위젯은 엣지 엔티티 데이터소스만 지원합니다", + "managed-application": "관리형 애플리케이션", + "app-upgrade-available": "업그레이드 가능", + "widget-datasource-error": "이 위젯은 Edge 엔티티 데이터소스만 지원합니다", + "assign-to-edge": "Edge에 할당", + "assign-to-edge-title": "Edge에 엔티티 그룹 할당", + "manage-edge-user-groups": "Edge 사용자 그룹 관리", + "manage-edge-asset-groups": "Edge 자산 그룹 관리", + "manage-edge-device-groups": "Edge 장치 그룹 관리", + "manage-edge-entity-view-groups": "Edge 엔티티 뷰 그룹 관리", + "manage-edge-dashboard-groups": "Edge 대시보드 그룹 관리", + "manage-edge-rule-chains": "Edge 규칙 체인 관리", + "manage-edge-integrations": "Edge 통합 관리", + "manage-edge-scheduler-events": "Edge 스케줄러 이벤트 관리", + "select-group-to-add": "선택한 Edge를 추가할 대상 그룹을 선택하세요", + "select-group-to-move": "선택한 Edge를 이동할 대상 그룹을 선택하세요", + "remove-edges-from-group": "'{{entityGroup}}' 그룹에서 { count, plural, =1 {Edge 1개} other {Edge #개} }를 제거하시겠습니까?", + "group": "Edge 그룹", + "list-of-groups": "{ count, plural, =1 {Edge 그룹 1개} other {Edge 그룹 #개 목록} }", + "group-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 Edge 그룹", + "unassign-entity-group-from-edge-title": "엔티티 그룹 '{{ entityGroupName }}'을(를) 할당 해제하시겠습니까?", + "unassign-entity-group-from-edge-text": "확인 후 엔티티 그룹의 할당이 해제되며 Edge에서 더 이상 액세스할 수 없습니다.", + "unassign-entity-group-from-edge": "Edge에서 엔티티 그룹 할당 해제", + "unassign-entity-groups-from-edge-title": "엔티티 그룹 {{count}}개를 할당 해제하시겠습니까?", + "unassign-entity-groups-from-edge-text": "확인 후 엔티티 그룹이 할당 해제되며 Edge에서 더 이상 액세스할 수 없습니다.", + "unassign-entity-groups-from-edge": "Edge에서 엔티티 그룹 할당 해제", + "unassign-scheduler-events-from-edge": "Edge에서 스케줄러 이벤트 할당 해제", + "unassign-scheduler-event-from-edge-title": "스케줄러 이벤트 '{{schedulerEventName}}'을(를) 할당 해제하시겠습니까?", + "unassign-scheduler-event-from-edge-text": "확인 후 스케줄러 이벤트가 할당 해제되며 Edge에서 더 이상 액세스할 수 없습니다.", + "unassign-scheduler-events-from-edge-title": "{ count, plural, =1 {스케줄러 이벤트 1개} other {스케줄러 이벤트 #개} }를 할당 해제하시겠습니까?", + "unassign-scheduler-events-from-edge-text": "확인 후 선택한 모든 스케줄러 이벤트가 할당 해제되며 Edge에서 더 이상 액세스할 수 없습니다.", + "manage-user-groups": "사용자 그룹 관리", + "manage-asset-groups": "자산 그룹 관리", + "manage-device-groups": "장치 그룹 관리", + "manage-dashboard-groups": "대시보드 그룹 관리", + "manage-entity-view-groups": "엔티티 뷰 그룹 관리", + "manage-scheduler-events": "스케줄러 이벤트 관리", + "manage-integrations": "통합 관리", + "assign-scheduler-event-to-edge-title": "Edge에 스케줄러 이벤트 할당", + "assign-scheduler-event-to-edge-text": "Edge에 할당할 스케줄러 이벤트를 선택하세요", + "assign-entity-groups-to-edge-text": "Edge에 할당할 엔티티 그룹을 선택하세요", + "assign-integration-to-edge-title": "Edge에 통합 할당", + "assign-integration-to-edge-text": "Edge에 할당할 통합을 선택하세요", + "missing-attributes-title": "Edge에 누락된 속성이 있습니다", + "missing-attributes-text": "Edge에 할당된 통합에 이 Edge에서 사용할 수 없는 속성 플레이스홀더가 있습니다.

누락된 Edge 속성 목록:
{{missingEdgeAttributes}}", + "missing-all-related-attributes-title": "하나 이상의 Edge에 누락된 속성이 있습니다", + "missing-all-related-attributes-text": "통합과 관련된 Edge에 통합 구성에서 속성 플레이스홀더로 사용되는 속성이 없습니다.

누락된 Edge 속성 목록:
{{missingEdgeAttributes}}", + "quick-overview-widget-header": "{{edgeName}} 빠른 개요", "connected": "연결됨", - "disconnected": "연결 해제됨" + "disconnected": "연결 해제됨", + "auto-provision": "자동 프로비저닝", + "auto-provision-title": "Edge 자동 프로비저닝", + "auto-provision-subtitle": "Docker run 명령을 생성하세요 — 대상 머신에서 명령을 실행하면 Edge와 해당 Agent가 자동으로 생성됩니다.", + "auto-provision-step-select": "Agent 프로필", + "auto-provision-step-script": "프로비저닝 스크립트", + "auto-provision-agent-profile-label": "Agent 프로필", + "auto-provision-agent-profile-placeholder": "Agent 프로필을 선택하거나 생성하세요", + "auto-provision-no-eligible-profiles": "사용할 수 있는 프로필이 없습니다. 오른쪽 버튼을 사용하여 프로필을 생성하세요.", + "auto-provision-create-profile": "프로필 생성", + "auto-provision-validating": "Agent 프로필 검증 중…", + "auto-provision-valid": "프로비저닝 준비 완료 — '{{profile}}'에 EDGE 애플리케이션 프로필이 할당되어 있습니다.", + "auto-provision-invalid-strategy": "이 프로필의 프로비저닝 전략은 애플리케이션을 자동 설치하지 않습니다. 자동 설치 전략이 있는 프로필을 선택하세요.", + "auto-provision-invalid-no-edge-app-profile": "이 프로필에 할당된 EDGE 애플리케이션 프로필이 없습니다. 버튼을 사용하여 할당하세요.", + "auto-provision-info-title": "작동 방식", + "auto-provision-info-body": "Agent 프로필이 생성되면 Docker run 명령이 생성됩니다. 대상 머신에서 이 명령을 실행하면 ThingsBoard가 명령에 포함된 자격 증명을 사용하여 Agent와 이에 연결된 Edge 엔티티를 자동으로 생성합니다. Edge는 Agent 프로필에 할당된 애플리케이션 프로필에 따라 자동으로 구성됩니다. Edge를 수동으로 생성할 필요가 없습니다.", + "auto-provision-success-message": "Agent 프로필이 준비되었습니다. 대상 머신에서 명령을 실행하여 새 Edge를 프로비저닝하세요.", + "auto-provision-script-hint": "Edge로 사용할 각 머신에서 이 명령을 실행하세요. 실행할 때마다 Agent + Edge 한 쌍이 프로비저닝됩니다.", + "auto-provision-open-profile": "프로필 열기", + "auto-provision-no-script": "이 프로필에 프로비저닝 자격 증명이 없습니다. 프로필을 열어 자격 증명을 다시 생성하세요." + }, + "agent": { + "agents": "Agent", + "agent-profiles": "Agent 프로필", + "app-profiles": "애플리케이션 프로필", + "templates": "템플릿", + "agent-templates": "Agent 템플릿", + "add": "Agent 추가", + "add-agent-text": "새 Agent 추가", + "auto-provision": "자동 프로비저닝", + "auto-provision-title": "Agent 자동 프로비저닝", + "auto-provision-step-select": "Agent 프로필", + "auto-provision-step-script": "프로비저닝 스크립트", + "auto-provision-valid": "프로비저닝 준비 완료 — '{{profile}}'에 프로비저닝이 활성화되어 있습니다.", + "auto-provision-info-title": "작동 방식", + "auto-provision-info-body": "Agent 프로필이 생성되면 Docker run 명령이 생성됩니다. 대상 머신에서 이 명령을 실행하면 ThingsBoard가 명령에 포함된 자격 증명을 사용하여 Agent를 자동으로 생성합니다. Agent는 Agent 프로필에 따라 자동으로 구성됩니다. Agent를 수동으로 생성할 필요가 없습니다.", + "auto-provision-success-message": "Agent 프로필이 준비되었습니다. 대상 머신에서 명령을 실행하여 새 Agent를 프로비저닝하세요.", + "auto-provision-script-hint": "Agent를 실행할 각 머신에서 이 명령을 실행하세요. 실행할 때마다 Agent 1개가 프로비저닝됩니다.", + "add-profile": "Agent 프로필 추가", + "add-app-profile": "애플리케이션 프로필 추가", + "add-application": "애플리케이션 추가", + "agent-details": "Agent 세부 정보", + "profile-details": "Agent 프로필 세부 정보", + "app-profile-details": "애플리케이션 프로필 세부 정보", + "template-details": "Agent 템플릿 세부 정보", + "application-details": "애플리케이션 세부 정보", + "no-agents-text": "Agent를 찾을 수 없습니다", + "no-agent-profiles-text": "Agent 프로필을 찾을 수 없습니다", + "no-app-profiles-text": "애플리케이션 프로필을 찾을 수 없습니다", + "no-templates-text": "Agent 템플릿을 찾을 수 없습니다", + "no-applications-text": "애플리케이션을 찾을 수 없습니다", + "no-events-text": "이벤트를 찾을 수 없습니다", + "search": "Agent 검색", + "search-profiles": "Agent 프로필 검색", + "search-app-profiles": "애플리케이션 프로필 검색", + "search-templates": "템플릿 검색", + "search-applications": "애플리케이션 검색", + "search-events": "이벤트 검색", + "selected-agents": "{ count, plural, =1 {Agent 1개} other {Agent #개} } 선택됨", + "selected-agent-profiles": "{ count, plural, =1 {Agent 프로필 1개} other {Agent 프로필 #개} } 선택됨", + "selected-app-profiles": "{ count, plural, =1 {앱 프로필 1개} other {앱 프로필 #개} } 선택됨", + "selected-applications": "{ count, plural, =1 {애플리케이션 1개} other {애플리케이션 #개} } 선택됨", + "name": "이름", + "name-required": "이름은 필수 항목입니다.", + "name-max-length": "이름은 256자 미만이어야 합니다.", + "routing-key": "라우팅 키", + "secret": "시크릿", + "description": "설명", + "profile-name": "프로필 이름", + "profile-name-placeholder": "프로덕션 Agent", + "profile-name-required": "프로필 이름은 필수 항목입니다.", + "provision-type": "프로비저닝 유형", + "provision-key": "프로비저닝 키", + "provision-secret": "프로비저닝 비밀키", + "app-type": "애플리케이션 유형", + "current-version": "현재 버전", + "next-version": "다음 버전", + "assigned-to-customer": "할당된 고객", + "assign-to-customer": "고객에게 할당", + "unassign-from-customer": "고객 할당 해제", + "assign-agents-to-customer": "고객에게 Agent 할당", + "assign-to-customer-text": "Agent를 할당할 고객을 선택하세요", + "unassign-agents-from-customer": "고객에게서 Agent 할당 해제", + "delete": "Agent 삭제", + "delete-profile": "프로필 삭제", + "set-default-profile": "Agent 프로필을 기본값으로 설정", + "set-default-profile-title": "Agent 프로필 '{{profileName}}'을(를) 기본값으로 설정하시겠습니까?", + "set-default-profile-text": "확인 후 Agent 프로필이 기본값으로 지정되며, 프로필이 지정되지 않은 새 Agent에 사용됩니다.", + "default-profile": "기본값", + "agent-profile-required": "Agent 프로필은 필수 항목입니다.", + "edit-profile": "Agent 프로필 편집", + "no-agent-profiles-found": "Agent 프로필을 찾을 수 없습니다", + "no-agent-profiles-matching": "'{{entity}}'와(과) 일치하는 Agent 프로필을 찾을 수 없습니다", + "create-new-agent-profile": "새 Agent 프로필 생성", + "add-profile-step-details": "프로필 세부 정보", + "add-profile-step-app-profiles": "애플리케이션 프로필", + "add-profile-app-profiles-hint-title": "애플리케이션 프로필을 할당해야 하는 이유는 무엇입니까?", + "add-profile-app-profiles-hint": "할당된 애플리케이션 프로필은 이를 참조하는 애플리케이션, 즉 '{{profileName}}' 프로필을 사용하는 Agent가 관리하는 애플리케이션에 대한 일괄 작업(업데이트, 업그레이드, 삭제)을 결정합니다. 기존 애플리케이션 프로필을 선택하거나 이 화면에서 바로 새로 생성하세요.", + "application-profiles": "애플리케이션 프로필", + "create-new-application-profile": "새 애플리케이션 프로필 생성", + "create-new": "새로 만들기", + "delete-app-profile": "앱 프로필 삭제", + "copy-profile-id": "프로필 ID 복사", + "profile-id-copied-message": "프로필 ID가 클립보드에 복사되었습니다.", + "app-profile-wizard-title": "애플리케이션 프로필 생성", + "app-profile-wizard-edit-title": "애플리케이션 프로필 업데이트", + "app-update-current-config": "현재 애플리케이션 구성", + "app-update-future-config": "적용될 애플리케이션 구성", + "app-update-edit-profile": "프로필 업데이트", + "app-update-compare-hint": "이 애플리케이션의 현재 구성(왼쪽)과 할당된 프로필에서 받게 될 구성(자격 증명 병합, 오른쪽)을 비교하는 읽기 전용 화면입니다.", + "app-install-custom-config": "고급", + "app-install-from-profile": "기본값", + "deploy-via-agent": "Agent", + "deploy-via-agent-desc": "ThingsBoard Agent가 클라우드에서 원격으로 이 배포를 설치, 업그레이드 및 모니터링합니다 — 대상 머신에서 Docker 명령을 수동으로 실행하거나 유지 관리할 필요가 없습니다.", + "deploy-select-agent-step": "Agent 선택", + "deploy-intro": "ThingsBoard Agent를 사용하여 원격 머신에 배포합니다. 대상 머신에서 실행 중인 기존 Agent를 선택하거나 새로 생성하세요.", + "deploy-agent": "Agent", + "deploy-create-new": "새로 만들기", + "deploy-no-agents": "Agent를 찾을 수 없습니다.", + "deploy-no-agents-matching": "'{{entity}}'와(과) 일치하는 Agent가 없습니다.", + "deploy-already-managed": "이 엔티티는 이미 Agent 애플리케이션 \"{{name}}\"에서 관리되고 있습니다.", + "deploy-open-agent": "Agent로 이동", + "deploy-open-app": "Agent 애플리케이션으로 이동", + "deploy-install-step": "설치", + "deploy-status-hero": "ThingsBoard Agent가 클라우드에서 원격으로 이 배포를 설치, 업그레이드 및 모니터링하고 있습니다 — 대상 머신에서 Docker 명령을 수동으로 실행하거나 유지 관리할 필요가 없습니다.", + "deploy-status-online-title": "Agent가 온라인 상태입니다", + "deploy-status-offline-title": "Agent가 오프라인 상태입니다", + "deploy-status-managing": "Agent가 이 배포를 관리하고 있습니다. 여기서 추가로 하실 작업은 없습니다.", + "deploy-status-managing-for": "Agent가 {{duration}} 동안 이 배포를 관리하고 있습니다. 여기서 추가로 하실 작업은 없습니다.", + "deploy-status-offline-desc": "— 지금은 연결할 수 없습니다. Agent가 다시 연결되면 연결이 자동으로 재개됩니다.", + "deploy-status-duration-days": "{{count}}일", + "deploy-status-duration-hours": "{{count}}시간", + "deploy-status-duration-minutes": "{{count}}분", + "deploy-status-healthy": "정상", + "deploy-status-unhealthy": "오프라인", + "deploy-status-need-reinstall": "재설치가 필요합니까?", + "deploy-status-show-install": "설치 명령 표시", + "deploy-status-hide-install": "숨기기", + "deploy-status-card-agent-title": "Agent", + "deploy-status-card-agent-desc": "이 배포를 관리하는 Agent 장치 — 텔레메트리 및 수명 주기.", + "deploy-status-card-app-title": "Agent 애플리케이션", + "deploy-status-card-app-desc": "이 Agent가 실행 중인 애플리케이션 — 서비스, 상태 및 로그.", + "deploy-status-card-events-title": "Agent 이벤트", + "deploy-status-card-events-desc": "설치, 업그레이드, 재시작 및 오류의 실시간 스트림.", + "deploy-status-edge-ui-title": "ThingsBoard Edge UI 열기", + "deploy-status-edge-ui-desc": "Edge 서비스가 시작되면 http://localhost:8080에서 Edge 웹 인터페이스를 여세요. 이전 단계에서 HTTP 바인드 포트 구성을 수정한 경우에는 http://localhost:18080에서 여세요. 로컬 ThingsBoard 서버 또는 ThingsBoard Cloud의 테넌트 자격 증명으로 로그인하세요.", + "app-install-select-profile": "애플리케이션 프로필", + "app-install-no-profiles": "애플리케이션 프로필을 찾을 수 없습니다", + "app-install-virtual-profile-badge": "사전 정의됨", + "app-install-virtual-profile-hint": "이 프로필은 아직 존재하지 않습니다. 선택하면 템플릿에서 자동으로 생성됩니다.", + "app-install-profile-materialize-failed": "사전 정의된 애플리케이션 프로필을 생성하지 못했습니다.", + "quick-start-title": "빠른 시작 — 사전 정의된 프로필", + "quick-start-subtitle": "클릭 한 번으로 바로 사용할 수 있는 Edge 또는 Gateway 프로필을 생성하세요. 구성이 필요하지 않습니다.", + "quick-start-filter-all": "모두", + "quick-start-all-created": "모든 사전 정의된 프로필이 생성되었습니다.", + "quick-start-no-match": "이 필터와 일치하는 사전 정의된 프로필이 없습니다.", + "quick-start-profile-created": "애플리케이션 프로필 \"{{profileName}}\"이(가) 생성되었습니다", + "add-profile-assignments-load-failed": "현재 할당된 애플리케이션 프로필을 불러오지 못했습니다. 저장해도 기존 할당은 변경되지 않습니다.", + "app-profile-wizard-cta": "프로필 생성", + "app-profile-wizard-confirm-info": "애플리케이션 프로필은 선택한 템플릿과 compose 구성으로 생성됩니다. 나중에 프로필 세부 정보 페이지에서 수정할 수 있습니다.", + "app-profile-name": "프로필 이름", + "app-profile-name-placeholder-edge": "Silo Edge 애플리케이션 프로필", + "app-profile-name-placeholder-gateway": "Silo Gateway 애플리케이션 프로필", + "app-profile-name-placeholder-generic": "Silo 애플리케이션 프로필", + "app-profile-step-save": "프로필 저장", + "app-profile-description": "설명", + "copy-id": "Agent ID 복사", + "copy-routing-key": "라우팅 키 복사", + "copy-secret": "시크릿 복사", + "copy-provision-key": "프로비저닝 키 복사", + "copy-provision-secret": "프로비저닝 비밀키 복사", + "id-copied-message": "Agent ID가 클립보드에 복사되었습니다.", + "routing-key-copied-message": "라우팅 키가 클립보드에 복사되었습니다.", + "secret-copied-message": "시크릿이 클립보드에 복사되었습니다.", + "provision-key-copied-message": "프로비저닝 키가 클립보드에 복사되었습니다.", + "provision-secret-copied-message": "프로비저닝 비밀키가 클립보드에 복사되었습니다", + "delete-agent-title": "Agent '{{agentName}}'을(를) 삭제하시겠습니까?", + "delete-agent-text": "주의하세요. 확인 후에는 Agent 및 관련된 모든 데이터를 복구할 수 없습니다.", + "delete-agents-title": "{ count, plural, =1 {Agent 1개} other {Agent #개} }를 삭제하시겠습니까?", + "delete-agents-text": "주의하세요. 확인 후에는 선택한 모든 Agent가 제거되며 관련된 모든 데이터를 복구할 수 없습니다.", + "unassign-agent-title": "Agent '{{agentName}}'을(를) 할당 해제하시겠습니까?", + "unassign-agent-text": "확인 후에는 Agent가 할당 해제되며 고객이 더 이상 액세스할 수 없습니다.", + "unassign-agents-title": "{ count, plural, =1 {Agent 1개} other {Agent #개} }를 할당 해제하시겠습니까?", + "unassign-agents-text": "확인 후에는 선택한 모든 Agent가 할당 해제되며 고객이 더 이상 액세스할 수 없습니다.", + "delete-profile-title": "프로필 '{{profileName}}'을(를) 삭제하시겠습니까?", + "delete-profile-text": "주의하세요. 확인 후에는 프로필 및 관련된 모든 데이터를 복구할 수 없습니다.", + "delete-profiles-title": "{ count, plural, =1 {프로필 1개} other {프로필 #개} }를 삭제하시겠습니까?", + "delete-profiles-text": "주의하세요. 확인 후에는 선택한 모든 프로필이 제거되며 관련된 모든 데이터를 복구할 수 없습니다.", + "delete-app-profile-title": "앱 프로필 '{{profileName}}'을(를) 삭제하시겠습니까?", + "delete-app-profile-text": "주의하세요. 확인 후에는 앱 프로필 및 관련된 모든 데이터를 복구할 수 없습니다.", + "delete-app-profiles-title": "{ count, plural, =1 {앱 프로필 1개} other {앱 프로필 #개} }를 삭제하시겠습니까?", + "delete-app-profiles-text": "주의하세요. 확인 후에는 선택한 모든 앱 프로필이 제거되며 관련된 모든 데이터를 복구할 수 없습니다.", + "status": "상태", + "online": "온라인", + "offline": "오프라인", + "app-errors": "오류", + "app-errors-recent": "최근 오류 이벤트 {{count}}개:", + "app-errors-open-events": "클릭하면 이벤트 탭이 열립니다", + "online-hint": "Agent가 현재 플랫폼에 연결되어 있습니다", + "offline-hint": "Agent가 플랫폼에 연결되어 있지 않습니다", + "agent-profile": "Agent 프로필", + "no-profile": "프로필 없음", + "applications": "애플리케이션", + "manage-applications": "애플리케이션 관리", + "app-name": "이름", + "app-template": "템플릿", + "app-units": "단위", + "app-origin": "출처", + "app-profile-in-sync": "앱 프로필과 동기화됨", + "app-profile-in-sync-yes": "애플리케이션 프로필과 동기화됨", + "app-profile-in-sync-no": "애플리케이션 프로필과 동기화되지 않음", + "app-profile-in-sync-na": "할당된 애플리케이션 프로필 없음", + "app-upgrade-to": "{{version}}(으)로 업그레이드", + "app-restart": "재시작", + "app-upgrade": "업그레이드", + "app-delete": "삭제", + "app-update": "업데이트", + "app-update-title": "{{name}}을(를) 업데이트하시겠습니까?", + "app-update-text": "저장된 구성을 Agent로 푸시합니다. Agent는 마지막으로 저장된 compose를 사용하여 다시 배포합니다.", + "app-version-upgrade-available-title": "업그레이드 가능", + "app-version-mismatch-title": "템플릿 버전 불일치", + "app-assign-upgrade-available-text": "'{{profileName}}' 프로필은 템플릿 버전 {{profileVersion}}을(를) 사용하지만 이 애플리케이션은 {{appVersion}}을(를) 사용합니다. 이 애플리케이션을 {{profileVersion}}(으)로 업그레이드할 수 있습니다. 프로필을 직접 할당하면 업그레이드 단계(예: 데이터베이스 업그레이드 스크립트)를 실행하지 않고 {{profileVersion}}(으)로 전환됩니다. 버전을 안전하게 변경하려면 업그레이드 액션을 사용하세요.", + "app-assign-version-mismatch-text": "'{{profileName}}' 프로필은 템플릿 버전 {{profileVersion}}을(를) 사용하지만 이 애플리케이션은 버전 {{appVersion}}을(를) 사용합니다. 할당하면 업그레이드나 다운그레이드 단계를 실행하지 않고 애플리케이션이 {{profileVersion}}(으)로 전환되며 일관되지 않은 상태로 남을 수 있습니다. 버전을 안전하게 변경하려면 업그레이드 액션을 사용하세요.", + "app-assign-anyway": "그래도 할당", + "app-assign-upgrade-first": "먼저 업그레이드", + "app-update-drift-title": "할당된 프로필 버전 불일치", + "app-update-drift-text": "할당된 '{{profileName}}' 프로필은 템플릿 버전 {{profileVersion}}을(를) 사용하지만 이 애플리케이션은 {{appVersion}}을(를) 사용합니다. 업데이트하면 애플리케이션이 현재 구성으로 다시 배포되며 프로필의 구성은 적용되지 않습니다. {{profileVersion}}(으)로 이동하려면 업그레이드 액션을 사용하세요.", + "app-update-anyway": "그래도 업데이트", + "app-profile-drifted-hint": "프로필은 템플릿 버전 {{version}}을(를) 사용합니다. 업데이트로는 적용되지 않으므로 업그레이드를 사용하세요.", + "app-arguments-profile-managed-hint": "사용자 지정 인수는 할당된 애플리케이션 프로필에서 관리됩니다. 프로필 페이지에서 편집하세요.", + "app-current-version": "현재 버전", + "app-profile-version": "프로필 버전", + "app-name-required": "애플리케이션 이름은 필수 항목입니다.", + "app-compose": "Docker Compose 구성", + "arguments": "사용자 지정 인수", + "arguments-hint-prefix": "배포 시 값이 결정되는 플레이스홀더입니다. compose에서 다음 형식으로 참조하세요:", + "arguments-empty": "정의된 사용자 지정 인수가 없습니다.", + "arguments-empty-read-title": "정의된 사용자 지정 인수 없음", + "arguments-empty-read-hint": "compose는 값이 그대로 배포됩니다.", + "arguments-empty-write-title": "아직 사용자 지정 인수 없음", + "arguments-empty-write-hint": "배포 시 엔티티 속성 또는 텔레메트리 값을 compose에 삽입하려면 플레이스홀더를 추가하세요.", + "argument-settings": "인수 설정", + "argument-add": "인수 추가", + "argument-remove": "인수 제거", + "argument-name": "이름", + "argument-name-required": "인수 이름은 필수 항목입니다.", + "argument-name-pattern": "문자, 숫자 및 밑줄만 사용할 수 있습니다.", + "argument-name-duplicate": "이미 사용 중인 인수 이름입니다.", + "argument-referenced-as": "Docker Compose 구성에서 다음과 같이 참조하세요", + "argument-source": "소스 유형", + "argument-target-entity": "대상 엔티티", + "argument-source-agent": "Agent", + "argument-source-owner": "소유자", + "argument-source-related-entity": "관련 엔티티", + "argument-source-tenant": "현재 테넌트", + "argument-source-device": "장치", + "argument-source-asset": "자산", + "argument-source-customer": "고객", + "argument-source-edge": "Edge", + "argument-source-entity-device": "장치", + "argument-source-entity-asset": "자산", + "argument-source-entity-customer": "고객", + "argument-source-entity-edge": "Edge", + "argument-value-type": "값 유형", + "argument-value-type-attribute": "속성", + "argument-value-type-latest-telemetry": "최신 텔레메트리", + "argument-scope": "속성 범위", + "argument-type-server-attribute": "서버 속성", + "argument-type-shared-attribute": "공유 속성", + "argument-type-client-attribute": "클라이언트 속성", + "argument-key": "키", + "argument-attribute-key": "속성 키", + "argument-telemetry-key": "최신 텔레메트리 키", + "argument-key-required": "키는 필수 항목입니다.", + "argument-default-value": "기본값", + "argument-format": "값 형식", + "argument-format-string": "텍스트", + "argument-format-json": "JSON", + "argument-format-hint-json": "\"JSON\"은 플레이스홀더가 값 전체인 경우에만 배열/객체/숫자를 그대로 삽입합니다.", + "argument-format-hint-embedded": "플레이스홀더가 문자열 안에 포함된 경우 이 선택은 무시되며 값은 항상 따옴표로 묶인 텍스트로 삽입됩니다.", + "argument-format-hint-text": "\"텍스트\"는 항상 따옴표로 묶인 문자열을 삽입합니다.", + "app-compose-creds-overridden-hint": "compose의 자격 증명 필드는 연결된 엔티티에서 관리되며 저장 시 덮어쓰기됩니다. 변경하려면 엔티티를 다시 할당하세요.", + "app-profile-compose-creds-hint": "compose의 자격 증명 필드는 연결된 엔티티에서 관리되며 저장 시 덮어쓰기됩니다. 변경하려면 애플리케이션 생성/편집 시 엔티티를 할당하세요.", + "app-related-entity": "관련 엔티티", + "app-related-entity-none": "일치하는 엔티티가 없습니다", + "app-related-entity-none-create": "일치하는 엔티티가 없습니다. '새로 만들기' 버튼을 사용하여 생성하세요.", + "app-related-entity-required": "Edge 및 Gateway 애플리케이션의 경우 관련 엔티티는 필수 항목입니다.", + "app-step-applied-stage-hint": "여기서의 변경 사항은 Agent에서 '{{stage}}' 단계 중에 적용됩니다.", + "app-restart-title": "{{name}}을(를) 재시작하시겠습니까?", + "app-restart-text": "Agent가 애플리케이션의 시작 단계를 다시 실행합니다. 기존 데이터와 구성은 유지됩니다.", + "app-assign-compare-title": "애플리케이션 프로필 할당", + "app-assign-compare-hint": "'{{profileName}}' 프로필을 할당하면 '{{appName}}'의 compose 구성이 대체됩니다. 위의 변경 사항을 검토한 후 확인하세요.", + "app-assign-compare-cta": "프로필 할당", + "app-upgrade-title": "애플리케이션 업그레이드", + "app-upgrade-step1": "변경 사항 검토", + "app-upgrade-step2": "구성 및 확인", + "app-upgrade-heading": "{{name}} 업그레이드 중: {{from}} → {{to}}", + "app-upgrade-template-new": "템플릿 ({{version}}) — 신규", + "app-upgrade-current": "내 Compose (새 이미지가 자동 병합된 현재 버전)", + "app-upgrade-diff-hint": "나란히 비교: 왼쪽 창에는 새 템플릿 원본이 표시되고, 오른쪽 창에는 새 이미지가 자동 병합된 현재 compose가 표시됩니다. 계속하기 전에 차이를 검토하세요.", + "app-upgrade-steps-list": "실행될 업그레이드 단계:", + "app-upgrade-backup-volumes-hint": "업그레이드 전에 백업할 볼륨을 선택하세요. 백업이 있으면 업그레이드가 실패할 경우 자동으로 롤백할 수 있습니다.", + "app-upgrade-no-volumes": "compose 구성에서 감지된 볼륨이 없습니다.", + "app-upgrade-summary-versions": "업그레이드", + "app-upgrade-summary-volumes-label": "백업할 볼륨", + "app-upgrade-summary-volumes": "{ count, plural, =1 {항목 1개 선택됨} other {항목 #개 선택됨} }", + "app-upgrade-rollback-info": "단계가 하나라도 실패하면 Agent가 백업된 볼륨을 사용해 이전 버전으로 자동 롤백합니다.", + "app-upgrade-cta": "업그레이드", + "app-upgrade-loading": "템플릿 로드 중…", + "app-upgrade-no-template": "애플리케이션에 템플릿이 설정되어 있지 않아 업그레이드할 수 없습니다.", + "app-upgrade-no-next-version": "사용 가능한 최신 템플릿 버전이 없습니다.", + "app-upgrade-load-failed": "업그레이드 템플릿을 로드하지 못했습니다.", + "app-upgrade-merge-failed": "업그레이드 미리 보기를 계산하지 못했습니다.", + "app-compose-invalid-yaml": "Docker Compose 구성이 유효한 YAML이 아닙니다. 저장하기 전에 수정하세요.", + "app-profile-saved-title": "애플리케이션 프로필이 저장되었습니다", + "app-profile-saved-propagation-text": "이 프로필에 이미 할당된 애플리케이션은 자동으로 업데이트되지 않았습니다. 변경 사항을 적용하려면 Agent 프로필 페이지에서 일괄 업데이트/업그레이드를 실행하거나 각 애플리케이션 페이지에서 개별적으로 업데이트하세요.", + "app-upgrade-profile-step": "프로필 업그레이드", + "app-upgrade-profile-loading": "프로필 로드 중…", + "app-upgrade-profile-name": "프로필", + "app-upgrade-profile-current": "프로필 Compose (새 이미지가 자동 병합된 현재 버전)", + "app-upgrade-profile-hint": "이 애플리케이션은 아직 이전 템플릿 버전을 가리키는 프로필에 연결되어 있습니다. 애플리케이션이 새 구성을 적용할 수 있도록 먼저 프로필을 업그레이드하세요.", + "app-upgrade-profile-cta": "프로필 업그레이드", + "app-profile-load-failed": "애플리케이션 프로필을 로드하지 못했습니다.", + "app-install-title": "애플리케이션 설치", + "app-install-on-agent": "Agent {{name}}에", + "app-install-pick-type": "이 Agent에 배포할 항목을 선택하세요.", + "app-install-step1": "유형 선택", + "app-install-step3": "검토 및 사용자 지정", + "app-install-step4": "애플리케이션 저장", + "app-install-type-generic": "일반", + "app-install-type-generic-desc": "모든 Docker Compose 애플리케이션 배포", + "app-install-type-edge": "Edge", + "app-install-type-edge-desc": "ThingsBoard Edge 배포", + "app-install-type-gateway": "Gateway", + "app-install-type-gateway-desc": "ThingsBoard Gateway 배포", + "app-install-name": "애플리케이션 이름", + "app-install-yaml": "Docker Compose 구성", + "app-compose-template-select": "Compose 템플릿", + "compose-type-kafka": "Kafka", + "compose-type-hybrid": "하이브리드", + "compose-type-in-memory": "인메모리", + "app-install-diff-template": "템플릿 — 읽기 전용", + "app-install-diff-editable": "내 Compose — 편집 가능, 저장됨", + "app-install-diff-hint": "왼쪽 창에는 원본 템플릿 Compose가 표시됩니다. 오른쪽 창을 편집하여 필요에 맞게 조정하세요. 오른쪽 내용만 저장됩니다.", + "app-diff-sync-scroll": "창 간 스크롤 동기화", + "app-diff-read-only": "읽기 전용", + "app-install-cred-title": "자격 증명", + "app-install-cred-hint": "프로필을 사용할 때는 이 필드만 편집할 수 있습니다. 입력한 값은 아래 Compose 미리 보기에 반영됩니다.", + "app-install-cred-routing-key": "라우팅 키", + "app-install-cred-routing-secret": "라우팅 시크릿", + "app-install-cred-security-type": "보안 유형", + "app-install-cred-security-access-token": "액세스 토큰", + "app-install-cred-security-username-password": "사용자 이름 / 비밀번호", + "app-install-cred-access-token": "액세스 토큰", + "app-install-cred-client-id": "클라이언트 ID", + "app-install-cred-username": "사용자 이름", + "app-install-cred-password": "비밀번호", + "app-install-pull-images": "시작 전 이미지 가져오기", + "app-image-pull-policy-if-not-present": "없는 경우", + "app-image-pull-policy-always": "항상", + "app-install-cta": "저장", + "app-update-wizard-title": "애플리케이션 업데이트", + "app-update-cta": "업데이트", + "app-update-on-app": "{{name}}", + "app-update-diff-proposed": "제안됨(템플릿 병합) — 읽기 전용", + "app-update-diff-current": "현재 compose — 편집 가능, 저장됨", + "app-update-diff-hint": "왼쪽에서 제안된 변경 사항을 검토하세요. 창 사이의 화살표를 사용해 선택한 부분을 오른쪽의 현재 compose에 병합하세요. 오른쪽 내용만 저장됩니다.", + "app-update-cred-hint": "프로필로 관리되는 앱은 여기에서 자격 증명 필드만 표시합니다. 그 밖의 compose 변경은 프로필을 통해 이루어집니다.", + "app-profile-outdated-hint": "프로필 구성이 오래되었습니다. 다시 가져오려면 업데이트를 실행하세요.", + "app-project-name": "프로젝트 이름", + "app-update-skip-profile-refetch": "프로필 구성을 다시 가져오지 않음", + "app-update-skip-profile-refetch-hint": "선택하면 Agent 앱은 현재 compose를 유지하고 위의 자격 증명 값만 적용됩니다. 자격 증명을 교체하거나, 위의 풀 정책을 '항상'으로 설정한 상태에서 프로필의 새 구성을 반영하지 않고 최신 이미지를 다시 가져올 때 사용하세요.", + "app-update-skip-profile-refetch-drift-hint": "할당된 프로필은 템플릿 버전 {{version}}을(를) 사용합니다 — 업데이트는 해당 구성을 적용하지 않습니다. 앱은 현재 compose를 유지하며 위의 자격 증명 값만 적용됩니다. 버전을 변경하려면 업그레이드를 사용하세요.", + "app-install-confirm-info": "Agent가 컨테이너를 다운로드하고 시작합니다. 이벤트 탭에서 진행 상황을 모니터링할 수 있습니다.", + "app-install-loading-template": "템플릿 로드 중…", + "app-install-template-failed": "애플리케이션 템플릿을 로드하지 못했습니다.", + "app-install-merge-failed": "병합된 미리 보기를 계산하지 못했습니다.", + "app-delete-title-header": "애플리케이션 삭제", + "app-delete-warning": "'{{name}}'을(를) 삭제하시겠습니까? 원격 머신의 모든 컨테이너가 중지되고 제거됩니다.", + "app-delete-remove-volumes": "볼륨도 제거", + "app-delete-remove-volumes-hint": "경고: 애플리케이션 볼륨에 저장된 모든 데이터가 영구적으로 삭제됩니다.", + "app-delete-no-volumes": "compose 구성에서 감지된 볼륨이 없습니다.", + "app-delete-cta": "삭제", + "agents-count": "Agent", + "profiles-count": "프로필", + "template": "템플릿", + "previous-version": "이전 버전", + "config-type": "구성 유형", + "install-instructions": "설치 안내", + "install-instructions-hint": "대상 머신에서 다음 명령을 실행하여 Agent를 시작하세요. Agent가 ThingsBoard 서버에 연결되고 온라인으로 표시됩니다.", + "install-instructions-replace-hint": "연결되면 Agent가 Agent 목록에 온라인으로 표시됩니다.", + "install-step-docker": "대상 머신에 Docker가 설치되어 있는지 확인하세요", + "install-step-run": "Agent 컨테이너를 실행하세요", + "install-command-copied-message": "설치 명령이 클립보드에 복사되었습니다", + "agent-credentials": "Agent 자격 증명", + "agent-created-successfully": "Agent가 성공적으로 생성되었습니다", + "go-to-agent": "Agent로 이동", + "app-type-generic": "일반", + "app-type-edge": "Edge", + "app-type-gateway": "Gateway", + "preset-setup": "설정", + "preset-edge-gateway": "Edge + Gateway", + "preset-edge-description": "최신 Edge 애플리케이션 프로필", + "preset-gateway-description": "최신 Gateway 애플리케이션 프로필", + "preset-edge-gateway-description": "최신 애플리케이션 프로필 둘 다", + "preset-name-edge": "Edge Agent 프로필", + "preset-name-gateway": "Gateway Agent 프로필", + "preset-name-edge-gateway": "Edge + Gateway Agent 프로필", + "preset-advanced": "고급", + "preset-advanced-description": "프로비저닝 전략을 설정하고 애플리케이션 프로필을 선택하거나 생성하세요", + "preset-advanced-configure": "구성", + "preset-summary-title": "프리셋: {{label}}", + "preset-summary-body": "{{apps}}이(가) 할당되고 \"유형당 애플리케이션 1개\" 프로비저닝 전략이 적용된 Agent 프로필을 생성합니다.", + "preset-summary-apps-two": "{{first}} 및 {{second}}", + "preset-templates-load-failed": "다음 유형의 최신 애플리케이션 템플릿을 불러오지 못했습니다: {{types}}. 해당 템플릿이 필요한 프리셋은 비활성화됩니다.", + "app-type-required": "애플리케이션 유형을 선택하세요.", + "provision-type-disabled": "비활성화됨", + "provision-type-no-auto-install": "Agent 프로비저닝만", + "provision-type-per-app-type": "유형당 애플리케이션 1개", + "provision-type-per-app-profile": "할당된 프로필당 애플리케이션 1개", + "provisioning-strategy": "프로비저닝 전략", + "provisioning-strategy-label": "전략: {{strategy}}", + "provision-type-disabled-description": "Agent 프로비저닝이 비활성화되어 있습니다. 자동 Agent 등록을 활성화하려면 프로비저닝 전략을 선택하세요. 활성화하면 Agent가 공유 프로비저닝 키와 비밀키를 사용해 스스로 등록할 수 있습니다 — 각 Agent를 수동으로 생성할 필요가 없습니다.", + "provision-type-no-auto-install-description": "새 Agent가 이 프로필로 프로비저닝되면 서버는 Agent를 등록하지만 애플리케이션을 자동으로 설치하지는 않습니다. 할당된 애플리케이션 프로필은 프로비저닝 중에 무시됩니다 — 애플리케이션은 Agent에 수동으로 설치할 수 있습니다.", + "provision-type-per-app-type-description": "새 Agent가 이 프로필로 프로비저닝되면 서버는 할당된 애플리케이션 프로필을 기반으로 애플리케이션을 자동으로 생성합니다. Edge/Gateway 애플리케이션은 Agent에 해당 유형의 애플리케이션이 아직 없는 경우에만 설치됩니다(Agent당 유형별 최대 1개); Generic 애플리케이션은 프로필 기준으로 일치 여부를 판단합니다(Agent당 프로필별 앱 1개). 예를 들어 Edge 프로필 2개와 Generic 프로필 2개가 할당되면 Agent는 Edge 애플리케이션 1개와 Generic 애플리케이션 2개를 받습니다. 애플리케이션 유형에 관련 엔티티(예: Edge 또는 Gateway)가 필요한 경우 서버는 이를 생성하고 할당하려고 시도합니다.", + "provision-type-per-app-profile-description": "새 Agent가 이 프로필로 프로비저닝되면 서버는 할당된 애플리케이션 프로필을 기반으로 애플리케이션을 자동으로 생성합니다. 각 애플리케이션은 Agent에 일치하는 애플리케이션이 아직 없는 경우에만 설치됩니다 — Edge/Gateway 애플리케이션은 템플릿 또는 소스 프로필 기준으로 일치 여부를 판단합니다(Agent당 템플릿별 1개); Generic 애플리케이션은 프로필 기준으로 일치 여부를 판단합니다(Agent당 프로필별 앱 1개). 예를 들어 Edge 프로필 2개가 할당된 경우, 프로필이 서로 다른 템플릿을 기반으로 하면 Agent는 Edge 애플리케이션 2개를 받지만 같은 템플릿을 공유하면 1개만 받습니다. 애플리케이션 유형에 관련 엔티티(예: Edge 또는 Gateway)가 필요한 경우 서버는 이를 생성하고 할당하려고 시도합니다.", + "agent-profile-created": "Agent 프로필 생성됨", + "agent-profile-created-hint": "Agent를 배포할 각 머신에서 이 명령을 실행하세요. 각 Agent는 다음을 수행합니다:", + "agent-profile-created-step-1": "프로비저닝 자격 증명으로 서버에 자동 등록", + "agent-profile-created-step-2": "지속 연결을 위한 고유 라우팅 키와 시크릿 수신", + "agent-profile-created-step-3": "할당된 애플리케이션 프로필에 정의된 애플리케이션 자동 설치", + "provisioning-credentials": "프로비저닝 자격 증명", + "provisioning": "Agent 프로비저닝", + "docker-run-command": "Docker 실행 명령", + "assigned-profiles": "애플리케이션 프로필", + "assign-profile": "프로필 할당", + "unassign-profile": "프로필 할당 해제", + "no-profiles-assigned": "이 프로필에 할당된 애플리케이션 프로필이 아직 없습니다.", + "go-to-profile": "프로필로 이동", + "profiles-bulk-hint": "이 일괄 액션은 \"{{appProfile}}\" 프로필과 일치하고 Agent가 \"{{agentProfile}}\" 프로필을 사용하는 모든 애플리케이션을 대상으로 합니다", + "auto-install-template-dedup-note": "이 Agent 프로필의 프로비저닝 전략은 자동 설치를 활성화합니다. Agent가 자동 프로비저닝될 때 아래의 각 프로필은 Agent에 일치하는 애플리케이션이 아직 없는 경우에만 설치됩니다. Edge/Gateway 프로필은 템플릿 또는 소스 프로필로 일치 여부를 판단하며(Agent당 템플릿별 하나), Generic 프로필은 프로필로 일치 여부를 판단합니다(Agent당 프로필별 앱 하나).", + "auto-install-per-type-note": "이 Agent 프로필의 프로비저닝 전략은 자동 설치를 활성화합니다. Agent가 자동 프로비저닝될 때 아래의 Edge/Gateway 프로필은 Agent에 해당 유형의 애플리케이션이 아직 없는 경우에만 설치됩니다(Agent당 유형별 최대 하나); Generic 프로필은 프로필로 일치 여부를 판단합니다(Agent당 프로필별 앱 하나).", + "app-profile": "애플리케이션 프로필", + "no-profiles-available": "할당할 수 있는 프로필이 더 이상 없습니다.", + "unassign-profile-confirm": "이 Agent 프로필에서 애플리케이션 프로필 '{{profile}}'의 할당을 해제하시겠습니까?", + "relate-on-auto-discovery": "자동 검색 시 연결", + "relate-on-auto-discovery-tooltip": "Edge/Gateway 이미지가 일치하는 새로 자동 검색된 모든 애플리케이션에 이 애플리케이션 프로필을 할당합니다.", + "relate-on-auto-discovery-confirm-title": "계속하시겠습니까?", + "relate-on-auto-discovery-enable-confirm": "'{{profile}}'의 템플릿과 일치하는 Edge/Gateway 이미지를 가진 새로 자동 검색된 애플리케이션에는 이 애플리케이션 프로필이 자동으로 할당됩니다. 구성이 일치하지 않는 경우 프로필의 구성(compose)이 애플리케이션의 자동 검색된 구성(compose)을 덮어씁니다.", + "relate-on-auto-discovery-disable-confirm": "'{{profile}}'의 템플릿과 일치하는 새로 자동 검색된 애플리케이션에는 더 이상 이 애플리케이션 프로필이 자동으로 할당되지 않습니다. 기존 할당은 영향을 받지 않습니다.", + "provisioning-saved": "프로비저닝 설정이 저장되었습니다", + "bulk-actions": "일괄 액션", + "assigned-applications": "할당된 앱", + "application-profiles-and-bulk-actions": "애플리케이션 프로필 및 일괄 액션", + "recent-bulk-actions": "최근 일괄 액션", + "no-recent-bulk-actions": "이 애플리케이션 프로필에 대한 일괄 액션이 아직 없습니다.", + "executions": "실행", + "view-bulk-action-details": "전체 세부 정보 열기", + "agents-reporting-success": "Agent {{ok}}/{{total}}개 성공 보고 중", + "bulk-action-type": "액션", + "bulk-action-status": "상태", + "bulk-action-counts": "제출됨", + "bulk-action-error": "오류", + "bulk-action-details": "일괄 액션 세부 정보", + "bulk-restart": "일괄 재시작", + "bulk-update": "일괄 업데이트", + "bulk-upgrade": "일괄 업그레이드", + "bulk-delete": "일괄 삭제", + "bulk-restart-title": "일괄 재시작 — {{profile}}", + "bulk-update-title": "일괄 업데이트 — {{profile}}", + "bulk-upgrade-title": "일괄 업그레이드 — {{profile}}", + "bulk-delete-title": "일괄 삭제 — {{profile}}", + "bulk-action-title": "일괄 액션", + "bulk-restart-cta": "모두 재시작", + "bulk-update-cta": "모두 업데이트", + "bulk-upgrade-cta": "모두 업그레이드", + "bulk-delete-cta": "모두 삭제", + "bulk-preview": "미리 보기", + "bulk-preview-total": "앱 합계", + "bulk-preview-eligible": "대상", + "bulk-preview-skipped": "건너뜀", + "bulk-skipped-version-mismatch": "건너뜀 — 템플릿 버전 불일치", + "bulk-skipped-active-event": "건너뜀 — 다른 작업이 이미 실행 중", + "bulk-skipped-rate-limit": "건너뜀 — 이벤트 속도 제한 초과", + "bulk-skipped-error": "건너뜀 — 앱 평가 중 오류 발생", + "bulk-skipped-more": "…외 {{count}}개 — 실행 세부 정보를 확인하세요", + "bulk-no-eligible": "이 작업의 대상이 되는 애플리케이션이 없습니다.", + "bulk-backup-volumes-hint": "업그레이드 전에 백업할 볼륨을 선택하세요. 입력값은 대상이 되는 모든 애플리케이션에 적용됩니다.", + "bulk-no-volumes-in-profile": "프로필의 compose에 볼륨이 없습니다.", + "bulk-submitted": "제출됨", + "bulk-skipped": "건너뜀", + "bulk-processing-started": "처리 시작됨", + "bulk-events": "이벤트", + "bulk-event-current-step": "현재 단계", + "bulk-event-updated": "업데이트됨", + "bulk-event-filter-status": "상태", + "bulk-event-filter-all": "모두", + "bulk-no-events": "이 일괄 액션에 대한 이벤트가 없습니다.", + "no-bulk-actions": "아직 일괄 액션이 없습니다.", + "origin-installed": "설치됨", + "origin-discovered": "발견됨", + "origin-auto-provisioned": "자동 프로비저닝됨", + "event-action-install": "설치", + "event-action-update": "업데이트", + "event-action-delete": "삭제", + "event-action-restart": "재시작", + "event-action-rollback": "롤백", + "event-action-upgrade": "업그레이드", + "event-action-agent-upgrade": "Agent 업그레이드", + "event-status-pending": "대기 중", + "event-status-queued": "대기열에 추가됨", + "event-status-processing": "처리 중", + "event-status-finished": "완료됨", + "event-status-error": "오류", + "event-status-start-failed": "시작 실패", + "bulk-status-queued": "대기열에 추가됨", + "bulk-status-in-progress": "진행 중", + "bulk-status-started": "시작됨", + "bulk-status-start-failed": "시작 실패", + "unit-type-container": "컨테이너", + "unit-type-volume": "볼륨", + "unit-type-network": "네트워크", + "app-events": "이벤트", + "app-metrics": "메트릭", + "app-copy-id": "애플리케이션 ID 복사", + "app-id-copied-message": "애플리케이션 ID가 클립보드에 복사되었습니다", + "app-upgrade-available": "업그레이드 가능: {{version}}", + "app-unit-identifier": "식별자", + "app-unit-image": "이미지", + "app-unit-state": "상태", + "app-unit-filter": "유닛 필터", + "app-unit-filter-with-values": "필터: {{values}}", + "app-unit-logs": "컨테이너 로그", + "app-unit-view-logs": "컨테이너 로그 보기", + "filter-all-count": "모두 ({{count}})", + "filter-errors-count": "오류 ({{count}})", + "filter-running-count": "실행 중 ({{count}})", + "log-agent-offline-paused": "Agent 오프라인 · 스트림 일시 중지됨", + "log-agent-online": "Agent 온라인", + "log-back-to-application": "애플리케이션으로 복귀", + "log-buffered": "+ {{count}}개 버퍼링됨", + "log-chip-app": "앱", + "log-clear": "로그 지우기", + "log-clear-highlight": "강조 표시 지우기", + "log-copy-all": "모두 복사", + "log-copy-all-lines": "모든 로그 줄 복사", + "log-download": "로그 다운로드", + "log-dropped": "{{count}}개 누락됨", + "log-dropped-hint": "이 뷰어에 도달하기 전에 Agent가 누락한 로그 줄", + "log-dropped-total": "누락된 줄 합계", + "log-follow-latest": "최신 항목 추적", + "log-gap": "{ count, plural, =1 {로그 청크 1개 누락됨} other {로그 청크 #개 누락됨} } (버퍼 한도 도달)", + "log-highlight": "강조 표시…", + "log-highlight-lines": "로그 줄 강조", + "log-jump-to-latest": "최신으로 이동", + "log-lines-unit": "{count, plural, other {줄} }", + "log-live": "실시간", + "log-pause-resume-stream": "스트림 일시 중지 또는 재개", + "log-pause-stream": "스트림 일시 중지", + "log-paused": "일시 중지됨", + "log-resume-stream": "스트림 재개", + "log-stream-paused": "스트림 일시 중지됨", + "log-waiting": "로그 줄을 기다리는 중…", + "metrics-all-containers": "모든 컨테이너", + "metrics-cpu": "CPU", + "metrics-cpu-percent": "cpuPercent {{percent}}%", + "metrics-cpu-percent-of-cores": "코어 {{cores}}개 중 cpuPercent {{percent}}% (상한 {{cap}}%)", + "metrics-disk": "디스크", + "metrics-memory": "메모리", + "metrics-show-charts": "차트 표시", + "metrics-updated-at": "{{time}}에 업데이트됨", + "metrics-used-of-total": "{{total}} 중 {{used}} ({{percent}}%)", + "metrics-volumes": "볼륨", + "stats-done": "완료 {{count}}개", + "stats-error": "오류 {{count}}개", + "stats-pending": "대기 중 {{count}}개", + "stats-running": "실행 중 {{count}}개", + "app-no-units": "유닛을 찾을 수 없습니다.", + "app-no-events": "이벤트를 찾을 수 없습니다.", + "app-event-app-name": "애플리케이션", + "app-event-agent-name": "Agent", + "app-event-action": "액션", + "app-event-status": "실행 상태", + "app-event-execution": "실행", + "app-event-execution-not-started": "시작되지 않음", + "app-event-execution-started": "시작됨", + "app-event-execution-delivery-failed": "전달 실패", + "app-event-filter": "이벤트 필터", + "app-event-filter-with-values": "필터: {{values}}", + "app-event-current-activity": "현재 활동", + "app-event-show-error": "오류 표시", + "app-event-error-title": "이벤트 오류", + "upgrade-agent-action": "Agent 업그레이드", + "image": "이미지", + "version-unknown": "보고되지 않음", + "up-to-date": "최신 상태", + "upgrade-to": "{{version}}(으)로 업그레이드", + "upgrade-agent-title": "Agent 업그레이드", + "upgrade-agent-text": "Agent {{agentName}}은(는) 자체 컨테이너를 아래 이미지로 교체합니다. 업그레이드 중에도 계속 연결할 수 있으며, 업그레이드가 완료될 때까지 애플리케이션 명령은 일시 중지됩니다.", + "upgrade-agent-hint": "새 버전의 Agent 이미지가 게시되었습니다", + "upgrade-agent-hint-unavailable": "알려진 새 버전의 Agent 이미지가 없습니다 — Agent가 이미 최신 상태이거나 버전을 확인하지 못했을 수 있습니다", + "upgrade-current-image": "현재 이미지", + "upgrade-target-image": "대상 이미지", + "upgrade-target-image-hint": "태그 또는 다이제스트로 고정된 참조, 예: thingsboard/tb-remote-agent:1.1.0", + "upgrade-target-image-required": "대상 이미지는 필수 항목입니다.", + "agent-upgrade-subject": "Agent 업그레이드", + "agent-upgrade-subject-label": "액션", + "agent-upgrade-step-prepare": "교체 컨테이너 준비", + "agent-upgrade-step-finalize": "인계 후 이전 컨테이너 제거", + "app-event-progress-title": "이벤트 진행 상황", + "app-event-progress-loading": "템플릿 로드 중...", + "app-event-progress-load-failed": "이벤트 진행 상황을 로드하지 못했습니다.", + "app-event-progress-no-template": "이 애플리케이션에 연결된 템플릿이 없습니다.", + "app-event-step-completed": "완료됨", + "app-event-step-processing": "처리 중", + "app-event-step-error": "실패", + "app-event-step-waiting": "대기 중", + "app-event-current-step": "현재 단계", + "app-event-created": "생성됨", + "app-event-updated": "업데이트됨", + "app-event-cancel": "취소", + "app-event-cancel-title": "이벤트를 취소하시겠습니까?", + "app-event-cancel-text": "진행 중인 이벤트가 Agent에서 취소됩니다.", + "app-event-view-in-events": "이벤트에서 보기", + "app-save-update-hint-title": "변경 사항 저장됨", + "app-save-update-hint": "변경 사항이 ThingsBoard에 저장되었지만 Agent는 여전히 이전 구성을 실행 중입니다. 변경 사항을 Agent에 적용하려면 이 애플리케이션의 '업데이트' 액션 버튼을 클릭하세요.", + "app-save-update-hint-action": "지금 업데이트", + "app-deleted": "애플리케이션이 삭제되었습니다", + "group": "Agent 그룹", + "list-of-groups": "{ count, plural, =1 {Agent 그룹 1개} other {Agent 그룹 #개 목록} }", + "group-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 Agent 그룹", + "application-group": "애플리케이션 그룹", + "list-of-application-groups": "{ count, plural, =1 {애플리케이션 그룹 1개} other {애플리케이션 그룹 #개 목록} }", + "application-group-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 애플리케이션 그룹", + "all": "모두", + "all-agents": "모든 Agent", + "groups": "그룹", + "shared": "공유됨" }, "edge-event": { "type-dashboard": "대시보드", @@ -3028,9 +4290,10 @@ "type-asset-profile": "자산 프로필", "type-entity-view": "엔티티 뷰", "type-alarm": "알람", - "type-rule-chain": "규칙 사슬", - "type-rule-chain-metadata": "규칙 사슬 메타데이터", - "type-edge": "엣지", + "type-entity-group": "엔티티 그룹", + "type-rule-chain": "규칙 체인", + "type-rule-chain-metadata": "규칙 체인 메타데이터", + "type-edge": "Edge", "type-user": "사용자", "type-tenant": "테넌트", "type-tenant-profile": "테넌트 프로필", @@ -3041,6 +4304,14 @@ "type-admin-settings": "관리자 설정", "type-ota-package": "OTA 패키지", "type-queue": "큐", + "type-scheduler-event": "스케줄러 이벤트", + "type-white-labeling": "화이트 라벨링", + "type-login-white-labeling": "로그인 화이트 라벨링", + "type-custom-translation": "사용자 지정 번역", + "type-role": "역할", + "type-group-permission": "그룹 권한", + "type-integration": "통합", + "type-converter": "변환기", "action-type-added": "추가됨", "action-type-deleted": "삭제됨", "action-type-updated": "수정됨", @@ -3049,21 +4320,27 @@ "action-type-attributes-deleted": "속성 삭제됨", "action-type-timeseries-updated": "시계열 업데이트됨", "action-type-credentials-updated": "자격 증명 업데이트됨", - "action-type-assigned-to-customer": "고객에게 할당", - "action-type-unassigned-from-customer": "지정된 고객 해제", + "action-type-assigned-to-customer": "고객에게 할당됨", + "action-type-unassigned-from-customer": "고객에게서 할당 해제됨", "action-type-relation-add-or-update": "관계 추가 또는 업데이트", "action-type-relation-deleted": "관계 삭제됨", "action-type-rpc-call": "RPC 호출", - "action-type-alarm-ack": "알람 확인", - "action-type-alarm-clear": "알람 해제", + "action-type-alarm-ack": "알람 확인됨", + "action-type-alarm-clear": "알람 해제됨", "action-type-alarm-assigned": "알람 할당됨", - "action-type-alarm-unassigned": "알람 할당 해제", - "action-type-assigned-to-edge": "엣지에 할당됨", - "action-type-unassigned-from-edge": "엣지에서 할당 해제됨", + "action-type-alarm-unassigned": "알람 할당 해제됨", + "action-type-assigned-to-edge": "Edge에 할당됨", + "action-type-unassigned-from-edge": "Edge에서 할당 해제됨", "action-type-credentials-request": "자격 증명 요청", - "action-type-entity-merge-request": "엔티티 병합 요청" + "action-type-entity-merge-request": "엔티티 병합 요청", + "action-type-added-to-entity-group": "엔티티 그룹에 추가됨", + "action-type-removed-from-entity-group": "엔티티 그룹에서 제거됨", + "action-type-change-owner": "소유자 변경", + "connected": "연결됨", + "disconnected": "연결 끊김" }, "error": { + "data-export-failed": "데이터 내보내기 실패: 배포 모드를 확인할 수 없습니다. 다시 시도하세요.", "unable-to-connect": "서버에 연결할 수 없습니다! 인터넷 연결을 확인하십시오.", "unhandled-error-code": "처리되지 않은 오류 코드: {{errorCode}}", "unknown-error": "알 수 없는 오류" @@ -3071,14 +4348,17 @@ "entity": { "entity": "엔티티", "entities": "엔티티", + "devices-and-assets": "장치 및 자산", + "data-processing": "데이터 처리", "entities-count": "엔티티 수", "alarms-count": "알람 수", "aliases": "엔티티 별명", "aliases-short": "별명", "entity-alias": "엔티티 별명", "unable-delete-entity-alias-title": "엔티티의 별명을 삭제할 수 없습니다.", - "unable-delete-entity-alias-text": "엔티티 별명 '{{entityAlias}}'은 다음 위젯에서 사용되고 있어 삭제할 수 없습니다:
{{widgetsList}}", - "duplicate-alias-error": "별명 '{{alias}}'은 이미 사용중 입니다.
대시보드 내에서 엔티티의 별명은 중복될 수 없습니다.", + "unable-delete-entity-alias-text": "엔티티 별명 '{{entityAlias}}'은(는) 다음 위젯에서 사용되고 있어 삭제할 수 없습니다:
{{widgetsList}}", + "unable-delete-entity-alias-text-components": "엔티티 별명 '{{entityAlias}}'은(는) 다음 구성 요소에서 사용 중이므로 삭제할 수 없습니다:
{{widgetsList}}", + "duplicate-alias-error": "별명 '{{alias}}'은(는) 이미 사용 중입니다.
대시보드 내에서 엔티티의 별명은 중복될 수 없습니다.", "missing-entity-filter-error": "별명 '{{alias}}'에 대한 필터가 지정되지 않았습니다.", "configure-alias": "별명 '{{alias}}' 설정", "alias": "별명", @@ -3096,105 +4376,122 @@ "no-entities-matching": "'{{entity}}'에 해당되는 엔티티를 찾을 수 없습니다.", "no-entities-text": "아무 엔티티도 없습니다", "no-entity-types-matching": "'{{entityType}}'에 해당되는 엔티티 유형을 찾을 수 없습니다.", - "name-starts-with": "다음으로 시작하는 이름", + "name-starts-with": "이름 표현식", "help-text": "필요에 따라 '%'를 사용하세요: '%entity_name_contains%', '%entity_name_ends', 'entity_starts_with%'.", "use-entity-name-filter": "필터 사용", "entity-list-empty": "아무 엔티티도 선택되지 않았습니다.", "entity-type-list-required": "최소 하나의 엔티티 유형을 선택해야 합니다.", "entity-name-filter-required": "엔티티 이름 필터를 입력하세요.", - "entity-name-filter-no-entity-matched": "'{{entity}}'로 시작되는 엔티티를 찾을 수 없습니다.", + "entity-name-filter-no-entity-matched": "'{{entity}}'(으)로 시작되는 엔티티를 찾을 수 없습니다.", "all-subtypes": "모두", - "select-entities": "선택된 엔티티", - "no-aliases-found": "아무 엔티티도 없습니다.", - "no-alias-matching": "엔티티 '{{alias}}'을(를) 찾을 수 없습니다.", + "select-entities": "엔티티 선택", + "no-aliases-found": "별명을 찾을 수 없습니다.", + "no-alias-matching": "별명 '{{alias}}'을(를) 찾을 수 없습니다.", "create-new-alias": "새로 별명 만들기", "create-new": "새로 만들기", "key": "키", "key-name": "키 이름", "no-keys-found": "아무 키도 찾을 수 없습니다.", - "no-key-matching": "'{{key}}'를 찾을 수 없습니다.", + "no-key-matching": "'{{key}}'을(를) 찾을 수 없습니다.", "create-new-key": "새로 키 만들기", "type": "유형", - "type-required": "엔티티의 유형을 입력하세요.", + "type-required": "엔티티 유형을 선택하세요.", "type-device": "장치", "type-devices": "장치", - "list-of-devices": "{ count, plural, =1 {1 개 장치} other {# 개 장치} }", - "device-name-starts-with": "이름이 '{{prefix}}'로 시작되는 장치", + "list-of-devices": "{ count, plural, =1 {장치 1개} other {장치 #개 목록} }", + "device-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 장치", "type-device-profile": "장치 프로필", "type-device-profiles": "장치 프로필", "clear-selected-profiles": "선택한 프로필 지우기", - "list-of-device-profiles": "{ count, plural, =1 {1 개 장치 프로필} other {# 개 장치 프로필 목록} }", - "device-profile-name-starts-with": "이름이 '{{prefix}}'로 시작하는 장치 프로필", + "list-of-device-profiles": "{ count, plural, =1 {장치 프로필 1개} other {장치 프로필 #개 목록} }", + "device-profile-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 장치 프로필", "type-asset-profile": "자산 프로필", "type-asset-profiles": "자산 프로필", - "list-of-asset-profiles": "{ count, plural, =1 {하나의 자산 프로필} other {#개 자산 프로필 목록} }", - "asset-profile-name-starts-with": "이름이 '{{prefix}}'로 시작하는 자산 프로필", + "list-of-asset-profiles": "{ count, plural, =1 {자산 프로필 1개} other {자산 프로필 #개 목록} }", + "asset-profile-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 자산 프로필", "type-asset": "자산", "type-assets": "자산", - "list-of-assets": "{ count, plural, =1 {1 개 자산} other {# 개 자산} }", - "asset-name-starts-with": "이름이 '{{prefix}}'로 시작되는 자산", + "list-of-assets": "{ count, plural, =1 {자산 1개} other {자산 #개 목록} }", + "asset-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 자산", "type-entity-view": "엔티티 뷰", "type-entity-views": "엔티티 뷰", - "list-of-entity-views": "{ count, plural, =1 {1 개 자산 보기} other {# 개 자산 보기} }", - "entity-view-name-starts-with": "이름이 '{{prefix}}'로 시작되는 자산 보기", + "list-of-entity-views": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개 목록} }", + "entity-view-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 엔티티 뷰", "type-rule": "규칙", "type-rules": "규칙", - "list-of-rules": "{ count, plural, =1 {1 개 규칙} other {# 개 규칙} }", - "rule-name-starts-with": "이름이 '{{prefix}}'로 시작되는 규칙", + "list-of-rules": "{ count, plural, =1 {규칙 1개} other {규칙 #개 목록} }", + "rule-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 규칙", "type-plugin": "플러그인", "type-plugins": "플러그인", - "list-of-plugins": "{ count, plural, =1 {1 개 플러그인} other {# 개 플러그인} }", - "plugin-name-starts-with": "이름이 '{{prefix}}'로 시작되는 플러그인", + "list-of-plugins": "{ count, plural, =1 {플러그인 1개} other {플러그인 #개 목록} }", + "plugin-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 플러그인", "type-tenant": "테넌트", "type-tenants": "테넌트", - "list-of-tenants": "{ count, plural, =1 {1 개 테넌트} other {# 개 테넌트} }", - "tenant-name-starts-with": "이름이 '{{prefix}}'로 시작되는 테넌트", + "list-of-tenants": "{ count, plural, =1 {테넌트 1개} other {테넌트 #개 목록} }", + "tenant-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 테넌트", "type-tenant-profile": "테넌트 프로필", "type-tenant-profiles": "테넌트 프로필", - "list-of-tenant-profiles": "{ count, plural, =1 {1 개 테넌트 프로필} other {# 개 테넌트 프로필 목록} }", - "tenant-profile-name-starts-with": "'이름이 {{prefix}}'로 시작하는 테넌트 프로필", + "list-of-tenant-profiles": "{ count, plural, =1 {테넌트 프로필 1개} other {테넌트 프로필 #개 목록} }", + "tenant-profile-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 테넌트 프로필", "type-customer": "고객", "type-customers": "고객", - "list-of-customers": "{ count, plural, =1 {1 개 고객} other {# 개 고객} }", - "customer-name-starts-with": "이름이 '{{prefix}}'로 시작되는 고객", + "list-of-customers": "{ count, plural, =1 {고객 1개} other {고객 #개 목록} }", + "customer-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 고객", "type-user": "사용자", "type-users": "사용자", - "list-of-users": "{ count, plural, =1 {1 개 사용자} other {# 개 사용자} }", - "user-name-starts-with": "이름이 '{{prefix}}'로 시작되는 사용자", + "list-of-users": "{ count, plural, =1 {사용자 1명} other {사용자 #명 목록} }", + "user-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 사용자", "type-dashboard": "대시보드", "type-dashboards": "대시보드", - "list-of-dashboards": "{ count, plural, =1 {1 개 대시보드} other {# 개 대시보드} }", - "dashboard-name-starts-with": "이름이 '{{prefix}}'로 시작되는 대시보드", + "list-of-dashboards": "{ count, plural, =1 {대시보드 1개} other {대시보드 #개 목록} }", + "dashboard-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 대시보드", "type-alarm": "알람", "type-alarms": "알람", - "list-of-alarms": "{ count, plural, =1 {1 개 알람} other {# 개 알람} }", - "alarm-name-starts-with": "이름이 '{{prefix}}'로 시작되는 알람", - "type-rulechain": "규칙 사슬", - "type-rulechains": "규칙 사슬", - "list-of-rulechains": "{ count, plural, =1 {1 개 규칙 사슬} other {# 개 규칙 사슬} }", - "rulechain-name-starts-with": "이름이 '{{prefix}}'로 시작되는 규칙 사슬", + "list-of-alarms": "{ count, plural, =1 {알람 1개} other {알람 #개 목록} }", + "alarm-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 알람", + "type-rulechain": "규칙 체인", + "type-rulechains": "규칙 체인", + "list-of-rulechains": "{ count, plural, =1 {규칙 체인 1개} other {규칙 체인 #개 목록} }", + "rulechain-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 규칙 체인", + "type-scheduler-event": "스케줄러 이벤트", + "type-scheduler-events": "스케줄러 이벤트", + "list-of-scheduler-events": "{ count, plural, =1 {스케줄러 이벤트 1개} other {스케줄러 이벤트 #개 목록} }", + "scheduler-event-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 스케줄러 이벤트", + "type-blob-entity": "Blob 엔티티", + "type-blob-entities": "Blob 엔티티", + "list-of-blob-entities": "{ count, plural, =1 {Blob 엔티티 1개} other {Blob 엔티티 #개 목록} }", + "blob-entity-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 Blob 엔티티", + "type-report-template": "보고서 템플릿", + "type-report-templates": "보고서 템플릿", + "list-of-report-templates": "{ count, plural, =1 {보고서 템플릿 1개} other {보고서 템플릿 #개 목록} }", + "report-template-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 보고서 템플릿", + "type-report": "보고서", + "type-reports": "보고서", + "list-of-reports": "{ count, plural, =1 {보고서 1개} other {보고서 #개 목록} }", + "report-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 보고서", "type-rulenode": "규칙 노드", "type-rulenodes": "규칙 노드", - "list-of-rulenodes": "{ count, plural, =1 {1 개 규칙 노드} other {# 개 규칙 노드의 목록} }", - "rulenode-name-starts-with": "이름이 '{{prefix}}'로 시작되는 규칙 노트", + "list-of-rulenodes": "{ count, plural, =1 {규칙 노드 1개} other {규칙 노드 #개 목록} }", + "rulenode-name-starts-with": "이름이 '{{prefix}}'(으)로 시작되는 규칙 노드", "type-api-key": "API 키", "type-api-keys": "API 키", "type-current-customer": "현재 고객", "type-current-tenant": "현재 테넌트", "type-current-user": "현재 사용자", - "type-current-user-owner": "현재 소유자", + "type-current-user-owner": "현재 사용자의 소유자", "type-calculated-field": "계산 필드", "type-calculated-fields": "계산 필드", + "type-admin-settings": "관리자 설정", "type-ai-model": "AI 모델", "type-ai-models": "AI 모델", "type-widgets-bundle": "위젯 번들", "type-widgets-bundles": "위젯 번들", - "list-of-widgets-bundles": "{ count, plural, =1 {하나의 위젯 번들} other {#개 위젯 번들 목록} }", + "list-of-widgets-bundles": "{ count, plural, =1 {위젯 번들 1개} other {위젯 번들 #개 목록} }", "type-widget": "위젯", "type-widgets": "위젯", - "list-of-widgets": "{ count, plural, =1 {1개 위젯} other {#개 위젯 목록} }", + "list-of-widgets": "{ count, plural, =1 {위젯 1개} other {위젯 #개 목록} }", "search": "엔티티 검색", - "selected-entities": "{ count, plural, =1 {1 엔티티} other {# 엔티티} } 선택됨", + "selected-entities": "{ count, plural, =1 {엔티티 1개} other {엔티티 #개} } 선택됨", "entity-name": "엔티티 이름", "entity-label": "엔티티 라벨", "details": "엔티티 상세", @@ -3202,23 +4499,63 @@ "no-data": "표시할 데이터가 없습니다", "show-all-columns": "모두 표시", "columns-to-display": "표시할 컬럼", - "type-api-usage-state": "Api 사용량 상태", - "type-edge": "엣지", - "type-edges": "엣지", - "list-of-edges": "{ count, plural, =1 {1개 Edge} other {#개 Edge 목록} }", - "edge-name-starts-with": "이름이 '{{prefix}}'로 시작하는 Edge", + "type-api-usage-state": "API 사용량 상태", + "type-entity-group": "엔티티 그룹", + "type-entity-groups": "엔티티 그룹", + "type-converter": "데이터 변환기", + "type-converters": "데이터 변환기", + "list-of-converters": "{ count, plural, =1 {데이터 변환기 1개} other {데이터 변환기 #개 목록} }", + "converter-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 데이터 변환기", + "type-integration": "통합", + "type-integrations": "통합", + "list-of-integrations": "{ count, plural, =1 {통합 1개} other {통합 #개 목록} }", + "integration-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 통합", + "type-role": "역할", + "type-roles": "역할", + "list-of-roles": "{ count, plural, =1 {역할 1개} other {역할 #개 목록} }", + "role-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 역할", + "type-group-permission": "그룹 권한", + "type-edge": "Edge", + "type-edges": "Edge", + "list-of-edges": "{ count, plural, =1 {Edge 1개} other {Edge #개 목록} }", + "edge-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 Edge", + "type-agent": "Agent", + "type-agents": "Agent", + "list-of-agents": "{ count, plural, =1 {Agent 1개} other {Agent #개 목록} }", + "agent-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 Agent", + "type-agent-profile": "Agent 프로필", + "type-agent-profiles": "Agent 프로필", + "list-of-agent-profiles": "{ count, plural, =1 {Agent 프로필 1개} other {Agent 프로필 #개 목록} }", + "agent-profile-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 Agent 프로필", + "type-agent-application": "애플리케이션", + "type-agent-applications": "애플리케이션", + "list-of-agent-applications": "{ count, plural, =1 {애플리케이션 1개} other {애플리케이션 #개 목록} }", + "agent-application-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 애플리케이션", + "type-agent-app-profile": "애플리케이션 프로필", + "type-agent-app-profiles": "애플리케이션 프로필", + "list-of-agent-app-profiles": "{ count, plural, =1 {애플리케이션 프로필 1개} other {애플리케이션 프로필 #개 목록} }", + "agent-app-profile-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 애플리케이션 프로필", + "type-agent-app-event": "Agent 앱 이벤트", + "type-agent-app-events": "Agent 앱 이벤트", + "type-agent-app-unit": "Agent 앱 유닛", + "type-agent-app-units": "Agent 앱 유닛", + "type-agent-bulk-action": "일괄 액션", + "type-agent-bulk-actions": "일괄 액션", "version-conflict": { "message": "기존 버전을 덮어쓰거나 변경 사항을 삭제하고 최신 버전을 로드하시겠습니까?", - "link": "이것을 사용하여 {{entityType}}의 버전을 다운로드할 수 있습니다.", + "link": "내 {{entityType}} 버전은 다음 링크에서 다운로드할 수 있습니다:", "overwrite": "버전 덮어쓰기", "discard": "변경 취소" }, "type-tb-resource": "리소스", "type-tb-resources": "리소스", - "list-of-tb-resources": "{ count, plural, =1 {1개 리소스} other {#개 리소스 목록} }", + "list-of-tb-resources": "{ count, plural, =1 {리소스 1개} other {리소스 #개 목록} }", "type-ota-package": "OTA 패키지", "type-ota-packages": "OTA 패키지", - "list-of-ota-packages": "{ count, plural, =1 {1개 OTA 패키지} other {#개 OTA 패키지 목록} }", + "list-of-ota-packages": "{ count, plural, =1 {OTA 패키지 1개} other {OTA 패키지 #개 목록} }", + "type-task": "작업", + "type-tasks": "작업", + "list-of-tasks": "{ count, plural, =1 {작업 1개} other {작업 #개 목록} }", "type-rpc": "RPC", "type-queue": "큐", "type-queue-stats": "큐 통계", @@ -3226,27 +4563,35 @@ "type-notification": "알림", "type-notification-rule": "알림 규칙", "type-notification-rules": "알림 규칙", - "list-of-notification-rules": "{ count, plural, =1 {하나의 알림 규칙} other {#개 알림 규칙 목록} }", + "list-of-notification-rules": "{ count, plural, =1 {알림 규칙 1개} other {알림 규칙 #개 목록} }", "type-notification-target": "알림 수신자", "type-notification-targets": "알림 수신자", - "list-of-notification-targets": "{ count, plural, =1 {하나의 알림 수신자} other {#개 알림 수신자 목록} }", + "list-of-notification-targets": "{ count, plural, =1 {알림 수신자 1개} other {알림 수신자 #개 목록} }", "type-notification-request": "알림 요청", "type-notification-template": "알림 템플릿", "type-notification-templates": "알림 템플릿", - "list-of-notification-templates": "{ count, plural, =1 {하나의 알림 템플릿} other {#개 알림 템플릿 목록} }", + "list-of-notification-templates": "{ count, plural, =1 {알림 템플릿 1개} other {알림 템플릿 #개 목록} }", "link": "링크", + "customer-name": "고객 이름", + "sub-customer-name": "하위 고객 이름", + "parent-customer-name": "상위 고객 이름", + "parent-sub-customer-name": "상위 하위 고객 이름", + "include-customer-entities": "고객 엔티티 포함", + "include-sub-customer-entities": "하위 고객 엔티티 포함", + "groups": "그룹", "type-oauth2-client": "OAuth 2.0 클라이언트", "type-oauth2-clients": "OAuth 2.0 클라이언트", - "list-of-oauth2-clients": "{ count, plural, =1 {하나의 OAuth 2.0 클라이언트} other {#개 OAuth 2.0 클라이언트 목록} }", + "list-of-oauth2-clients": "{ count, plural, =1 {OAuth 2.0 클라이언트 1개} other {OAuth 2.0 클라이언트 #개 목록} }", "type-domain": "도메인", "type-domains": "도메인", - "list-of-domains": "{ count, plural, =1 {1개 도메인} other {#개 도메인 목록} }", + "list-of-domains": "{ count, plural, =1 {도메인 1개} other {도메인 #개 목록} }", "type-mobile-app": "모바일 애플리케이션", "type-mobile-apps": "모바일 애플리케이션", - "list-of-mobile-apps": "{ count, plural, =1 {하나의 모바일 애플리케이션} other {#개 모바일 애플리케이션 목록} }", + "list-of-mobile-apps": "{ count, plural, =1 {모바일 애플리케이션 1개} other {모바일 애플리케이션 #개 목록} }", "type-mobile-app-bundle": "모바일 번들", "type-mobile-app-bundles": "모바일 번들", - "list-of-mobile-app-bundles": "{ count, plural, =1 {하나의 모바일 번들} other {#개 모바일 번들 목록} }", + "list-of-mobile-app-bundles": "{ count, plural, =1 {모바일 번들 1개} other {모바일 번들 #개 목록} }", + "type-secret-storage": "시크릿 저장소", "limit-reached": "한도 도달", "limit-reached-text": "{{ entities }}의 한도에 도달했습니다. 더 추가하려면 시스템 관리자에게 {{ entity }} 한도 증가를 요청하세요.", "request-limit-increase": "한도 증가 요청", @@ -3254,9 +4599,178 @@ "login-here": "여기에 로그인", "to-increase-limit": "하여 한도를 늘리세요.", "increase-limit-request-sent-title": "시스템 관리자에게 한도 증가를 요청하는 자동 요청을 보냈습니다", - "increase-limit-request-sent-text": "요청을 검토하고 설정을 업데이트할 시간을 기다려 주세요. 변경 사항을 보려면 이 페이지를 새로고침해야 할 수 있습니다." + "increase-limit-request-sent-text": "관리자가 요청을 검토하고 설정을 업데이트할 때까지 잠시 기다려 주세요. 변경 사항을 보려면 이 페이지를 새로고침해야 할 수 있습니다." + }, + "entity-group": { + "entity-group": "엔티티 그룹", + "details": "세부 정보", + "columns": "열", + "add-column": "열 추가", + "column-value": "값", + "column-value-required": "열 값은 필수 항목입니다.", + "column-title": "제목", + "default-sort-order": "기본 정렬 순서", + "default-sort-order-required": "기본 정렬 순서는 필수 항목입니다.", + "disable-sorting": "정렬 비활성화", + "hide-in-mobile-view": "모바일에서 숨김", + "use-cell-style-function": "셀 스타일 함수 사용", + "use-cell-content-function": "셀 내용 함수 사용", + "edit-column": "열 편집", + "column-details": "열 세부 정보", + "actions": "액션", + "settings": "설정", + "search": "엔티티 그룹 검색", + "delete": "엔티티 그룹 삭제", + "name": "이름", + "name-required": "이름은 필수 항목입니다.", + "name-max-length": "이름은 256자 미만이어야 합니다.", + "description": "설명", + "add": "엔티티 그룹 추가", + "open-entity-group": "엔티티 그룹 열기", + "add-entity-group-text": "새 엔티티 그룹 추가", + "no-entity-groups-text": "엔티티 그룹을 찾을 수 없습니다", + "entity-group-details": "엔티티 그룹 세부 정보", + "selected-entity-groups": "{ count, plural, =1 {엔티티 그룹 1개} other {엔티티 그룹 #개} } 선택됨", + "delete-entity-groups": "엔티티 그룹 삭제", + "delete-entity-group-title": "엔티티 그룹 '{{entityGroupName}}'을(를) 삭제하시겠습니까?", + "delete-entity-group-text": "주의하세요, 확인 후에는 엔티티 그룹과 모든 관련 데이터를 복구할 수 없습니다.", + "delete-entity-groups-title": "{ count, plural, =1 {엔티티 그룹 1개} other {엔티티 그룹 #개} }를 삭제하시겠습니까?", + "delete-entity-groups-action-title": "{ count, plural, =1 {엔티티 그룹 1개} other {엔티티 그룹 #개} } 삭제", + "delete-entity-groups-text": "주의하세요, 확인 후에는 선택한 모든 엔티티 그룹이 제거되며 모든 관련 데이터를 복구할 수 없습니다.", + "device-groups": "장치 그룹", + "shared-device-groups": "공유 장치 그룹", + "asset-groups": "자산 그룹", + "shared-asset-groups": "공유 자산 그룹", + "customer-groups": "고객 그룹", + "shared-customer-groups": "공유 고객 그룹", + "device-group": "장치 그룹", + "asset-group": "자산 그룹", + "user-group": "사용자 그룹", + "user-groups": "사용자 그룹", + "customer-group": "고객 그룹", + "entity-view-groups": "엔티티 뷰 그룹", + "shared-entity-view-groups": "공유 엔티티 뷰 그룹", + "entity-view-group": "엔티티 뷰 그룹", + "edge-groups": "Edge 그룹", + "shared-edge-groups": "공유 Edge 그룹", + "edge-group": "Edge 그룹", + "dashboard-groups": "대시보드 그룹", + "shared-dashboard-groups": "공유 대시보드 그룹", + "dashboard-group": "대시보드 그룹", + "agent-groups": "Agent 그룹", + "shared-agent-groups": "공유 Agent 그룹", + "agent-group": "Agent 그룹", + "fetch-more": "더 불러오기", + "column-type": { + "column-type": "열 유형", + "client-attribute": "클라이언트 속성", + "shared-attribute": "공유 속성", + "server-attribute": "서버 속성", + "timeseries": "시계열", + "entity-field": "엔티티 필드" + }, + "column-type-required": "열 유형을 선택하세요.", + "entity-field": { + "created-time": "생성 일시", + "name": "이름", + "type": "유형", + "device_profile": "장치 프로필", + "asset_profile": "자산 프로필", + "assigned_customer": "할당된 고객", + "authority": "권한", + "first_name": "이름", + "last_name": "성", + "email": "이메일", + "title": "제목", + "country": "국가", + "state": "주", + "city": "도시", + "address": "주소", + "address2": "주소 2", + "zip": "우편번호", + "phone": "전화번호", + "label": "레이블" + }, + "sort-order": { + "asc": "오름차순", + "desc": "내림차순", + "none": "없음" + }, + "details-mode": { + "on-row-click": "행 클릭 시", + "on-action-button-click": "세부 정보 버튼 클릭 시", + "disabled": "비활성화됨" + }, + "change-owner": "소유자 변경", + "select-target-owner": "대상 소유자 선택", + "no-owners-matching": "'{{owner}}'와(과) 일치하는 소유자를 찾을 수 없습니다.", + "no-owners-text": "소유자를 찾을 수 없음", + "target-owner-required": "대상 소유자를 선택하세요.", + "confirm-change-owner-title": "{ count, plural, =1 {선택한 엔티티 1개} other {선택한 엔티티 #개} }의 소유자를 변경하시겠습니까?", + "confirm-change-owner-text": "주의하세요. 확인하면 선택한 모든 엔티티가 현재 소유자에게서 제거되고 대상 소유자의 'All' 그룹에 배치됩니다.", + "add-to-group": "그룹에 추가", + "move-to-group": "그룹으로 이동", + "select-entity-group": "엔티티 그룹 선택", + "no-entity-groups-matching": "'{{entityGroup}}'와(과) 일치하는 엔티티 그룹을 찾을 수 없습니다.", + "create-new-entity-group": "새 엔티티 그룹을 생성하세요!", + "target-entity-group-required": "대상 엔티티 그룹을 선택하세요.", + "select-user-group": "사용자 그룹 선택", + "no-user-groups-matching": "'{{entityGroup}}'와(과) 일치하는 사용자 그룹을 찾을 수 없습니다.", + "target-user-group-required": "대상 사용자 그룹을 선택하세요.", + "remove-from-group": "그룹에서 제거", + "group-table-title": "그룹 테이블 제목", + "enable-search": "엔티티 검색 활성화", + "enable-add": "엔티티 추가 활성화", + "enable-delete": "엔티티 삭제 활성화", + "enable-selection": "엔티티 선택 활성화", + "enable-group-transfer": "그룹 이동 액션 활성화", + "display-pagination": "페이지 매김 표시", + "default-page-size": "기본 페이지 크기", + "page-step-count": "단계 수", + "page-step-increment": "페이지 단계 증분", + "page-step-count-format-message": "1에서 100 범위의 정수 값이어야 합니다.", + "page-step-increment-format-message": "1 이상의 정수 값이어야 합니다.", + "enable-assignment-actions": "할당 액션 활성화", + "enable-credentials-management": "자격 증명 관리 활성화", + "enable-login-as-user": "사용자로 로그인 액션 활성화", + "enable-users-management": "사용자 관리 활성화", + "enable-customers-management": "고객 관리 활성화", + "enable-assets-management": "자산 관리 활성화", + "enable-devices-management": "장치 관리 활성화", + "enable-entity-views-management": "엔티티 뷰 관리 활성화", + "enable-edges-management": "Edge 관리 활성화", + "enable-dashboards-management": "대시보드 관리 활성화", + "enable-scheduler-events-management": "스케줄러 이벤트 관리 활성화", + "open-details-on": "엔티티 세부 정보 열기 위치", + "select-existing": "기존 엔티티 그룹 선택", + "create-new": "새 엔티티 그룹 생성", + "new-entity-group-name": "새 엔티티 그룹 이름", + "entity-group-list": "엔티티 그룹 목록", + "entity-group-list-empty": "선택된 엔티티 그룹이 없습니다.", + "name-starts-with": "다음으로 시작하는 엔티티 그룹 이름", + "entity-group-name-filter-required": "엔티티 그룹 이름 필터는 필수 항목입니다.", + "roles": "역할", + "permissions": "권한", + "public": "공개", + "entity-group-public": "엔티티 그룹 공개됨", + "make-public": "엔티티 그룹 공개", + "make-private": "엔티티 그룹 비공개로 설정", + "make-public-entity-group-title": "엔티티 그룹 '{{entityGroupName}}'을(를) 공개로 설정하시겠습니까?", + "make-public-entity-group-text": "확인 후 엔티티 그룹과 해당 그룹의 모든 엔티티가 공개로 전환되며 다른 사용자가 액세스할 수 있게 됩니다.", + "make-private-entity-group-title": "엔티티 그룹 '{{entityGroupName}}'을(를) 비공개로 설정하시겠습니까?", + "make-private-entity-group-text": "확인 후 엔티티 그룹과 해당 그룹의 모든 엔티티가 비공개로 전환되며 다른 사용자가 액세스할 수 없게 됩니다.", + "share": "엔티티 그룹 공유", + "copyId": "엔티티 그룹 ID 복사", + "idCopiedMessage": "엔티티 그룹 ID가 클립보드에 복사되었습니다", + "entity-group-name": "엔티티 그룹 이름", + "all-users": "모든 사용자", + "owner": "소유자", + "owner-required": "소유자를 선택하세요.", + "manage-owner-and-groups": "소유자 및 그룹 관리", + "owner-and-groups": "소유자 및 그룹" }, "entity-field": { + "additional-info": "추가 정보", "created-time": "생성 일시", "name": "이름", "type": "유형", @@ -3272,12 +4786,21 @@ "zip": "우편번호", "phone": "전화", "label": "라벨", + "configuration": "구성", + "schedule": "일정", + "originatorId": "발생 엔티티 ID", + "originatorType": "발생 엔티티 유형", "queue-name": "큐 이름", "service-id": "서비스 ID", "owner-name": "소유자 이름", - "owner-type": "소유자 유형" + "owner-type": "소유자 유형", + "format": "형식" }, "entity-view": { + "all": "모두", + "all-entity-views": "모든 엔티티 뷰", + "groups": "그룹", + "shared": "공유됨", "entity-view": "엔티티 뷰", "entity-view-required": "엔티티 뷰를 입력하세요.", "entity-views": "엔티티 뷰", @@ -3285,10 +4808,10 @@ "view-entity-views": "엔티티 뷰 보기", "entity-view-alias": "엔티티 뷰 별명", "aliases": "엔티티 뷰 별명", - "no-alias-matching": "'{{alias}}' 를 찾을 수 없습니다.", + "no-alias-matching": "'{{alias}}'을(를) 찾을 수 없습니다.", "no-aliases-found": "별명이 없습니다.", - "no-key-matching": "'{{key}}' 를 찾을 수 없습니다.", - "no-keys-found": "Key가 없습니다.", + "no-key-matching": "'{{key}}'을(를) 찾을 수 없습니다.", + "no-keys-found": "키를 찾을 수 없습니다.", "create-new-alias": "새로 만들기!", "create-new-key": "새로 만들기!", "duplicate-alias-error": "중복 별명 '{{alias}}'이(가) 발견되었습니다.
엔티티 뷰 별명은 대시보드 내에서 고유해야 합니다.", @@ -3305,34 +4828,33 @@ "use-entity-view-name-filter": "필터 사용", "entity-view-list-empty": "선택된 엔티티 뷰 없음.", "entity-view-name-filter-required": "엔티티 뷰 이름 필터는 필수 항목입니다.", - "entity-view-name-filter-no-entity-view-matched": "'{{entityView}}'로 시작하는 엔티티 뷰를 찾을 수 없습니다.", + "entity-view-name-filter-no-entity-view-matched": "'{{entityView}}'(으)로 시작하는 엔티티 뷰를 찾을 수 없습니다.", "add": "엔티티 뷰 추가", "entity-view-public": "엔티티 뷰가 공개됨", - "assign-to-customer": "고객에게 자산 할당", - "assign-entity-view-to-customer": "고객에 엔티티 뷰 할당", - "assign-entity-view-to-customer-text": "고객에 할당할 엔티티 뷰를 선택하세요", - "assign-entity-view-to-edge-title": "엣지에 엔티티 뷰 할당", + "assign-to-customer": "고객에게 할당", + "assign-entity-view-to-customer": "고객에게 엔티티 뷰 할당", + "assign-entity-view-to-customer-text": "고객에게 할당할 엔티티 뷰를 선택하세요", "no-entity-views-text": "엔티티 뷰를 찾을 수 없음", "assign-to-customer-text": "엔티티 뷰를 할당할 고객을 선택하세요", "entity-view-details": "엔티티 뷰 상세 정보", "add-entity-view-text": "새로운 엔티티 뷰 추가", "delete": "엔티티 뷰 삭제", "assign-entity-views": "엔티티 뷰 할당", - "assign-entity-views-text": "{ count, plural, =1 {1 개 엔티티 뷰} other {# 개 엔티티 뷰} }를 고객에 할당", + "assign-entity-views-text": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} }를 고객에게 할당", "delete-entity-views": "엔티티 뷰 삭제", "unassign-from-customer": "고객 할당 해제", "unassign-entity-views": "엔티티 뷰 할당 해제", - "unassign-entity-views-action-title": "{ count, plural, =1 {1 개 엔티티 뷰} other {# 개 엔티티 뷰} }를 고객으로 부터 할당 해제", + "unassign-entity-views-action-title": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} }를 고객에게서 할당 해제", "assign-new-entity-view": "새 엔티티 뷰 할당", "delete-entity-view-title": "엔티티 뷰 '{{entityViewName}}'을(를) 삭제하시겠습니까?", "delete-entity-view-text": "주의: 확인 후 엔티티 뷰와 모든 관련 데이터를 복구할 수 없게 됩니다.", - "delete-entity-views-title": "정말 { count, plural, =1 {1개의 엔티티 뷰} other {#개의 엔티티 뷰} }를 삭제하시겠습니까?", - "delete-entity-views-action-title": "Delete { count, plural, =1 {1 개 엔티티 뷰} other {# 개 엔티티 뷰} }", + "delete-entity-views-title": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} }를 삭제하시겠습니까?", + "delete-entity-views-action-title": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} } 삭제", "delete-entity-views-text": "주의: 확인 후 선택한 모든 엔티티 뷰가 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", - "unassign-entity-view-title": "엔티티 뷰 '{{entityViewName}}'을(를) 엣지에서 할당 해제하시겠습니까?", + "unassign-entity-view-title": "엔티티 뷰 '{{entityViewName}}'을(를) 할당 해제하시겠습니까?", "unassign-entity-view-text": "확인 후 엔티티 뷰가 할당 해제되어 고객이 액세스할 수 없습니다.", "unassign-entity-view": "엔티티 뷰 할당 해제", - "unassign-entity-views-title": "정말 { count, plural, =1 {1개의 엔티티 뷰} other {#개의 엔티티 뷰} }를 할당 해제하시겠습니까?", + "unassign-entity-views-title": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} }를 할당 해제하시겠습니까?", "unassign-entity-views-text": "확인 후 선택한 모든 엔티티 뷰가 할당 해제되어 고객이 액세스할 수 없습니다.", "entity-view-type": "엔티티 뷰 유형", "entity-view-type-required": "엔티티 뷰 유형은 필수 항목입니다.", @@ -3374,28 +4896,37 @@ "attributes-propagation-hint": "엔티티 뷰는 이 엔티티 뷰를 저장하거나 업데이트할 때마다 대상 엔티티에서 지정된 속성을 자동으로 복사합니다. 성능상의 이유로 대상 엔티티 속성은 각 속성 변경 시 엔티티 뷰에 전파되지 않습니다. 규칙 체인에서 \"뷰로 복사\" 규칙 노드를 구성하고 \"속성 게시\" 및 \"속성 업데이트됨\" 메시지를 새 규칙 노드에 연결하여 자동 전파를 활성화할 수 있습니다.", "timeseries-data": "시계열 데이터", "timeseries-data-hint": "엔티티 뷰에서 액세스할 수 있는 대상 엔티티의 시계열 데이터 키를 구성합니다. 이 시계열 데이터는 읽기 전용입니다.", + "select-group-to-add": "선택한 엔티티 뷰를 추가할 대상 그룹을 선택하세요", + "select-group-to-move": "선택한 엔티티 뷰를 이동할 대상 그룹을 선택하세요", + "remove-entity-views-from-group": "'{{entityGroup}}' 그룹에서 { count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} }를 제거하시겠습니까?", + "group": "엔티티 뷰 그룹", + "list-of-groups": "{ count, plural, =1 {엔티티 뷰 그룹 1개} other {엔티티 뷰 그룹 #개 목록} }", + "group-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 엔티티 뷰 그룹", "search": "엔티티 뷰 검색", - "selected-entity-views": "{ count, plural, =1 {1 개 엔티티 뷰} other {# 개 엔티티 뷰} } 선택됨", + "selected-entity-views": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} } 선택됨", "make-public-entity-view-title": "엔티티 뷰 '{{entityViewName}}'을(를) 공개하시겠습니까?", "make-public-entity-view-text": "확인 후 엔티티 뷰와 모든 데이터가 공개되어 다른 사용자가 액세스할 수 있습니다.", "make-private-entity-view-title": "엔티티 뷰 '{{entityViewName}}'을(를) 비공개로 설정하시겠습니까?", "make-private-entity-view-text": "확인 후 엔티티 뷰와 모든 데이터가 비공개되어 다른 사용자가 액세스할 수 없습니다.", - "assign-entity-view-to-edge": "엣지에 엔티티 뷰 할당", - "assign-entity-view-to-edge-text": "엣지에 할당할 엔티티 뷰를 선택하세요", - "unassign-entity-view-from-edge-title": "엔티티 뷰 '{{entityViewName}}'을(를) 엣지에서 할당 해제하시겠습니까?", - "unassign-entity-view-from-edge-text": "확인 후 엔티티 뷰가 할당 해제되어 엣지에서 액세스할 수 없습니다.", - "unassign-entity-views-from-edge-action-title": "엣지에서 { count, plural, =1 {1개 엔티티 뷰} other {#개 엔티티 뷰} } 할당 해제", + "assign-entity-view-to-edge": "Edge에 엔티티 뷰 할당", + "assign-entity-view-to-edge-text": "Edge에 할당할 엔티티 뷰를 선택하세요", + "unassign-entity-view-from-edge-title": "엔티티 뷰 '{{entityViewName}}'을(를) 할당 해제하시겠습니까?", + "unassign-entity-view-from-edge-text": "확인 후 엔티티 뷰가 할당 해제되어 Edge에서 액세스할 수 없습니다.", + "unassign-entity-views-from-edge-action-title": "Edge에서 { count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} } 할당 해제", "unassign-entity-view-from-edge": "엔티티 뷰 할당 해제", - "unassign-entity-views-from-edge-title": "정말 { count, plural, =1 {1개의 엔티티 뷰} other {#개의 엔티티 뷰} }를 할당 해제하시겠습니까?", - "unassign-entity-views-from-edge-text": "확인 후 선택한 모든 엔티티 뷰가 할당 해제되어 엣지에서 액세스할 수 없습니다." + "unassign-entity-views-from-edge-title": "{ count, plural, =1 {엔티티 뷰 1개} other {엔티티 뷰 #개} }를 할당 해제하시겠습니까?", + "unassign-entity-views-from-edge-text": "확인 후 선택한 모든 엔티티 뷰가 할당 해제되어 Edge에서 액세스할 수 없습니다." }, "event": { + "events": "이벤트", "event-type": "이벤트 타입", "events-filter": "이벤트 필터", "clean-events": "이벤트 지우기", "type-error": "에러", - "type-lc-event": "주기적 이벤트", + "type-lc-event": "수명 주기 이벤트", "type-stats": "통계", + "type-debug-converter": "디버그", + "type-debug-integration": "디버그", "type-debug-rule-node": "디버그", "type-debug-rule-chain": "디버그", "type-debug-calculated-field": "디버그", @@ -3403,13 +4934,17 @@ "result": "결과", "no-events-prompt": "이벤트 없음", "error": "에러", + "errors": "에러", "alarm": "알람", "event-time": "이벤트 발생 시간", "server": "서버", "body": "본문", - "method": "방법", + "method": "메서드", "type": "유형", + "in": "입력", + "out": "출력", "message": "메시지", + "entity": "엔티티", "message-id": "메시지 ID", "copy-message-id": "메시지 ID 복사", "message-type": "메시지 유형", @@ -3420,11 +4955,13 @@ "event": "이벤트", "status": "상태", "success": "성공", + "warning": "경고", + "warnings": "경고", "failed": "실패", "messages-processed": "처리된 메시지", "max-messages-processed": "처리된 최대 메시지 수", "min-messages-processed": "처리된 최소 메시지 수", - "errors-occurred": "오류가 발생했습니다", + "errors-occurred": "발생한 오류 수", "max-errors-occurred": "발생한 최대 오류 수", "min-errors-occurred": "발생한 최소 오류 수", "min-value": "최소 값은 0입니다.", @@ -3442,7 +4979,7 @@ }, "extension": { "extensions": "확장", - "selected-extensions": "{ count, plural, =1 {1 개 확장} other {# 개 확장} }이 선택됨", + "selected-extensions": "{ count, plural, =1 {확장 1개} other {확장 #개} }가 선택됨", "type": "유형", "key": "키", "value": "값", @@ -3454,23 +4991,24 @@ "delete": "확장 제거", "add": "확장 추가", "edit": "확장 편집", - "delete-extension-title": "확장 '{{extensionId}}'을 삭제하시겠습니까?", + "view": "확장 보기", + "delete-extension-title": "확장 '{{extensionId}}'을(를) 삭제하시겠습니까?", "delete-extension-text": "확장 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-extensions-title": "{ count, plural, =1 {1 개 확장} other {# 개 확장} }을 삭제하시겠습니까?", - "delete-extensions-text": "선택된 모든 확장이 삭제됩니다.", + "delete-extensions-title": "{ count, plural, =1 {확장 1개} other {확장 #개} }를 삭제하시겠습니까?", + "delete-extensions-text": "주의: 확인 후 선택된 모든 확장이 삭제됩니다.", "converters": "변환기", "converter-id": "변환기 ID", - "configuration": "설정", + "configuration": "구성", "converter-configurations": "변환기 설정", "token": "보안 토큰", "add-converter": "변환기 추가", - "add-config": "변환기 설정 추가", + "add-config": "변환기 구성 추가", "device-name-expression": "장치 이름 표현", "device-type-expression": "장치 유형 표현", "custom": "사용자 정의", "to-double": "실수로 변환", "transformer": "변환기", - "json-required": "Transformer json을(를) 입력하세요.", + "json-required": "변환기 JSON을 입력하세요.", "json-parse": "변환기 JSON을 파싱할 수 없습니다.", "attributes": "속성", "add-attribute": "속성 추가", @@ -3478,24 +5016,25 @@ "timeseries": "시계열", "add-timeseries": "시계열 추가", "field-required": "필드를 입력하세요.", - "brokers": "중개인", - "add-broker": "중개인 추가", + "brokers": "브로커", + "add-broker": "브로커 추가", "host": "호스트", "port": "포트", "port-range": "포트를 1~65535 범위 내에서 입력하세요.", "ssl": "SSL", - "credentials": "인증", + "credentials": "자격 증명", "username": "사용자 이름", - "password": "비밀 번호", + "password": "비밀번호", "retry-interval": "재시도 간격(ms)", + "sas": "Shared Access Signature", "anonymous": "익명", "basic": "기본", "pem": "PEM", - "ca-cert": "CA 인증 파일 *", + "ca-cert": "CA 인증서 파일 *", "private-key": "개인키 파일 *", - "cert": "인증 파일 *", + "cert": "인증서 파일 *", "no-file": "아무 파일도 선택되지 않았습니다.", - "drop-file": "여기로 파일을 드래그 하거나, 여기를 클릭해서 파일을 선택하세요.", + "drop-file": "업로드할 파일을 끌어다 놓거나 클릭하여 파일을 선택하세요.", "mapping": "매핑", "topic-filter": "토픽 필터", "converter-type": "변환기 유형", @@ -3513,9 +5052,9 @@ "response-topic-expression": "응답 토픽 표현", "value-expression": "값 표현", "topic": "토픽", - "timeout": "시간 제한(ms)", - "converter-json-required": "JSON 변환기가 필요합니다.", - "converter-json-parse": "JSON 변환기를 파싱할 수 없습니다.", + "timeout": "제한 시간(밀리초)", + "converter-json-required": "변환기 JSON을 입력하세요.", + "converter-json-parse": "변환기 JSON을 파싱할 수 없습니다.", "filter-expression": "필터 표현", "connect-requests": "접속 요청", "add-connect-request": "접속 요청 추가", @@ -3531,7 +5070,7 @@ "attribute-filter": "속성 필터", "method-filter": "메서드 필터", "request-topic-expression": "요청 토픽 식", - "response-timeout": "응답 시간 초과 (밀리초)", + "response-timeout": "응답 제한 시간 (밀리초)", "topic-expression": "토픽 식", "client-scope": "클라이언트 범위", "add-device": "장치 추가", @@ -3543,21 +5082,21 @@ "opc-scan-period-in-seconds": "스캔 주기(초)", "opc-security": "보안", "opc-identity": "ID", - "opc-keystore": "키스톤", + "opc-keystore": "키 저장소", "opc-type": "유형", "opc-keystore-type": "유형", "opc-keystore-location": "위치 *", "opc-keystore-password": "비밀번호", "opc-keystore-alias": "별명", "opc-keystore-key-password": "키 비밀번호", - "opc-device-node-pattern": "정치 노드 규칙", - "opc-device-name-pattern": "장치 이름 규칙", - "modbus-server": "서버/보조", - "modbus-add-server": "서버 추가/보조", - "modbus-add-server-prompt": "서버/보조를 추가해주세요", + "opc-device-node-pattern": "장치 노드 패턴", + "opc-device-name-pattern": "장치 이름 패턴", + "modbus-server": "서버/슬레이브", + "modbus-add-server": "서버/슬레이브 추가", + "modbus-add-server-prompt": "서버/슬레이브를 추가하세요.", "modbus-transport": "전송", "modbus-tcp-reconnect": "자동으로 재접속", - "modbus-rtu-over-tcp": "TCP over RTU", + "modbus-rtu-over-tcp": "RTU over TCP", "modbus-port-name": "시리얼 포트 이름", "modbus-encoding": "인코딩", "modbus-parity": "패리티", @@ -3569,18 +5108,18 @@ "modbus-unit-id": "유닛 ID", "modbus-unit-id-range": "유닛 ID는 1에서 247 범위여야 합니다.", "modbus-device-name": "장치 이름", - "modbus-poll-period": "풀 주기 (ms)", - "modbus-attributes-poll-period": "속성 풀 주기 (ms)", - "modbus-timeseries-poll-period": "시계열 풀 주기 (ms)", - "modbus-poll-period-range": "풀 주기를 양수로 입력하세요.", + "modbus-poll-period": "폴링 주기 (ms)", + "modbus-attributes-poll-period": "속성 폴링 주기 (ms)", + "modbus-timeseries-poll-period": "시계열 폴링 주기 (ms)", + "modbus-poll-period-range": "폴링 주기를 양수로 입력하세요.", "modbus-tag": "태그", "modbus-function": "함수", - "modbus-register-address": "등록 주소", - "modbus-register-address-range": "등록 주소를 0~65535 범위에서 입력하세요.", + "modbus-register-address": "레지스터 주소", + "modbus-register-address-range": "레지스터 주소를 0~65535 범위에서 입력하세요.", "modbus-register-bit-index": "비트 인덱스", "modbus-register-bit-index-range": "비트 인덱스를 0~15 범위에서 입력하세요.", - "modbus-register-count": "등록 카운트", - "modbus-register-count-range": "등록 카운트를 양수로 입력하세요.", + "modbus-register-count": "레지스터 개수", + "modbus-register-count-range": "레지스터 개수를 양수로 입력하세요.", "modbus-byte-order": "바이트 순서", "sync": { "status": "상태", @@ -3595,7 +5134,11 @@ "import-extension": "확장 가져오기", "export-extension": "확장 내보내기", "file": "확장 파일", - "invalid-file-error": "올바르지 않은 확장 파일" + "invalid-file-error": "올바르지 않은 확장 파일", + "text": "텍스트", + "json": "JSON", + "binary": "바이너리", + "hex": "HEX" }, "feature": { "advanced-features": "고급 기능" @@ -3609,22 +5152,23 @@ "filters": "필터", "unable-delete-filter-title": "필터를 삭제할 수 없습니다", "unable-delete-filter-text": "필터 '{{filter}}'은(는) 다음 위젯에서 사용 중이므로 삭제할 수 없습니다:
{{widgetsList}}", + "unable-delete-filter-text-components": "필터 '{{filter}}'은(는) 다음 컴포넌트에서 사용 중이므로 삭제할 수 없습니다:
{{widgetsList}}", "duplicate-filter-error": "중복 필터 '{{filter}}'이(가) 발견되었습니다.
필터는 대시보드 내에서 고유해야 합니다.", "missing-key-filters-error": "'{{filter}}' 필터에 키 필터가 없습니다.", "filter": "필터", "editable": "편집 가능", "editable-hint": "사용자가 대시보드에서 필터 값을 변경할 수 있도록 허용.", "no-filters-found": "아무 필터도 찾을 수 없습니다.", - "no-filter-text": "필터가 특정되지 않았습니다", + "no-filter-text": "지정된 필터가 없습니다", "add-filter-prompt": "필터를 추가해주세요", - "no-filter-matching": "필터 '{{filter}}'를 찾을 수 없습니다.", + "no-filter-matching": "필터 '{{filter}}'을(를) 찾을 수 없습니다.", "create-new-filter": "새로 필터를 만드세요!", "create-new": "새로 만들기", "filter-required": "필터를 입력하세요.", "operation": { "operation": "연산", "equal": "같음", - "not-equal": "같이 않음", + "not-equal": "같지 않음", "starts-with": "다음으로 시작함", "ends-with": "다음으로 끝남", "contains": "포함함", @@ -3635,8 +5179,8 @@ "less-or-equal": "작거나 같음", "and": "그리고", "or": "또는", - "in": "포함", - "not-in": "미포함" + "in": "목록에 포함", + "not-in": "목록에 미포함" }, "ignore-case": "대소문자 무시", "value": "값", @@ -3658,6 +5202,7 @@ "order-priority": "표시 순서", "key-filter": "키 필터", "key-filters": "키 필터", + "or-conditions-disabled": "키 필터 간 OR 조건은 시스템 관리자가 비활성화했습니다.", "key-name": "키 이름", "key-name-required": "키 이름은 필수 항목입니다.", "key-type": { @@ -3679,7 +5224,7 @@ }, "value-type-required": "키 값 유형은 필수 항목입니다.", "key-value-type-change-title": "키 값 유형을 변경하시겠습니까?", - "key-value-type-change-message": "확인하면 입력한 모든 키 필터가 제거됩니다.", + "key-value-type-change-message": "새 값 유형을 확인하면 입력한 모든 키 필터가 제거됩니다.", "no-key-filters": "구성된 키 필터 없음", "add-key-filter": "키 필터 추가", "remove-key-filter": "키 필터 제거", @@ -3691,7 +5236,7 @@ "current-user": "현재 사용자", "current-device": "현재 장치", "default-value": "기본값", - "default-comma-separated-values": "기본 쉼표로 구분된 값", + "default-comma-separated-values": "쉼표로 구분된 기본값", "dynamic-source-type": "동적 소스 유형", "dynamic-value": "동적 값", "no-dynamic-value": "동적 값 없음", @@ -3709,24 +5254,53 @@ "fullscreen": "전체화면" }, "function": { - "function": "기능" + "function": "함수" }, "gateway": { - "gateway-name": "게이트웨이 이름", - "gateway-name-required": "게이트웨이 이름은 필수 항목입니다.", - "gateways": "게이트웨이", - "create-new-gateway": "새 게이트웨이 생성", - "create-new-gateway-text": "이름이 '{{gatewayName}}'인 새 게이트웨이를 생성하시겠습니까?", + "gateway-name": "Gateway 이름", + "gateway-name-required": "Gateway 이름은 필수 항목입니다.", + "gateways": "Gateway", + "create-new-gateway": "새 Gateway 생성", + "create-new-gateway-text": "이름이 '{{gatewayName}}'인 새 Gateway를 생성하시겠습니까?", "launch-command": "실행 명령", - "no-gateway-found": "게이트웨이를 찾을 수 없습니다.", - "no-gateway-matching": " '{{item}}'을(를) 찾을 수 없습니다." + "launch-choose-subtitle": "선택한 장치의 자격 증명으로 {{name}}용 IoT Gateway를 실행할 방법을 선택하세요.", + "launch-recommended": "권장", + "launch-agent-title": "ThingsBoard Agent", + "launch-agent-desc": "클라우드에서 원격으로 설치, 업그레이드, 재시작, 모니터링을 수행합니다 — SSH나 수동 명령이 필요 없습니다.", + "launch-agent-point-install": "원클릭 원격 설치", + "launch-agent-point-upgrade": "클라우드에서 업그레이드 배포", + "launch-agent-point-restart": "자동 재시작 및 복구", + "launch-agent-point-monitor": "실시간 상태 모니터링", + "launch-agent-point-bulk": "Agent 프로필 페이지에서 일괄 액션", + "launch-agent-action": "Agent로 배포", + "launch-docker-title": "수동 Docker Compose", + "launch-docker-desc": "compose 파일을 다운로드하여 대상 머신에서 직접 실행합니다.", + "launch-docker-point-up": "docker compose up 실행", + "launch-docker-point-control": "완전한 수동 제어", + "launch-docker-point-updates": "업데이트 직접 관리", + "launch-docker-point-access": "장치 직접 액세스", + "launch-docker-action": "지침 표시", + "launch-back": "뒤로", + "no-gateway-found": "Gateway를 찾을 수 없습니다.", + "no-gateway-matching": " '{{item}}'을(를) 찾을 수 없습니다.", + "auto-provision": "자동 프로비저닝", + "add-gateway": "Gateway 추가", + "auto-provision-title": "Gateway 자동 프로비저닝", + "auto-provision-info-title": "작동 방식", + "auto-provision-info-body": "Agent 프로필을 생성하면 Docker 실행 명령이 생성됩니다. 대상 머신에서 이 명령을 실행하면 ThingsBoard가 명령에 포함된 자격 증명을 사용하여 Agent와 이에 연결된 Gateway 장치를 자동으로 생성합니다. Gateway는 Agent 프로필에 할당된 애플리케이션 프로필에 따라 자동으로 구성됩니다. Gateway를 수동으로 생성할 필요가 없습니다.", + "auto-provision-step-select": "Agent 프로필", + "auto-provision-step-script": "프로비저닝 스크립트", + "auto-provision-valid": "프로비저닝 준비 완료 — '{{profile}}'에 GATEWAY 애플리케이션 프로필이 할당되어 있습니다.", + "auto-provision-invalid-no-edge-app-profile": "이 프로필에 할당된 GATEWAY 애플리케이션 프로필이 없습니다. 버튼을 사용하여 할당하세요.", + "auto-provision-success-message": "Agent 프로필이 준비되었습니다. 대상 머신에서 명령을 실행하여 새 Gateway를 프로비저닝하세요.", + "auto-provision-script-hint": "Gateway로 사용할 각 머신에서 이 명령을 실행하세요. 실행할 때마다 Agent + Gateway 쌍 하나가 프로비저닝됩니다." }, "grid": { - "delete-item-title": "이 항목을 삭제 하시겠습니까?", - "delete-item-text": "항목 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-items-title": "{ count, plural, =1 {아이템 1 개} other {아이템 # 개} }를 삭제하시겠습니까?", - "delete-items-action-title": "{ count, plural, =1 {아이템 1 개} other {아이템 # 개} } 삭제", - "delete-items-text": "항목 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", + "delete-item-title": "이 항목을 삭제하시겠습니까?", + "delete-item-text": "주의: 확인 후 이 항목과 모든 관련 데이터를 복구할 수 없게 됩니다.", + "delete-items-title": "{ count, plural, =1 {아이템 1개} other {아이템 #개} }를 삭제하시겠습니까?", + "delete-items-action-title": "{ count, plural, =1 {아이템 1개} other {아이템 #개} } 삭제", + "delete-items-text": "주의: 확인 후 선택한 모든 항목이 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "add-item-text": "새로운 아이템 추가", "no-items-text": "아이템이 없습니다.", "item-details": "아이템 상세", @@ -3735,7 +5309,7 @@ "scroll-to-top": "스크롤 맨 위로" }, "help": { - "goto-help-page": "도움", + "goto-help-page": "도움말 페이지로 이동", "show-help": "도움말 표시" }, "home": { @@ -3744,16 +5318,20 @@ "logout": "로그아웃", "menu": "메뉴", "avatar": "아바타", - "open-user-menu": "사용자 메뉴 열기" + "open-user-menu": "사용자 메뉴 열기", + "go-to": "이동...", + "crumbs-more": "일치하는 섹션에 +{{more}}개 더 있음", + "no-matches": "일치하는 항목 없음" }, "file-input": { "browse-file": "파일 찾아보기", "browse-files": "파일 찾아보기" }, "image": { + "images": "이미지", "gallery": "이미지 갤러리", "search": "이미지 검색", - "selected-images": "{ count, plural, =1 {1개 이미지} other {#개 이미지} } 선택됨", + "selected-images": "{ count, plural, =1 {이미지 1개} other {이미지 #개} } 선택됨", "created-time": "생성 일시", "name": "이름", "name-required": "이름을 입력하세요.", @@ -3770,7 +5348,7 @@ "delete-image": "이미지 삭제", "delete-image-title": "이미지 '{{imageTitle}}'을(를) 삭제하시겠습니까?", "delete-image-text": "주의: 확인 후 이미지를 복구할 수 없게 됩니다.", - "delete-images-title": "{ count, plural, =1 {1개 이미지} other {#개 이미지} }를 삭제하시겠습니까?", + "delete-images-title": "{ count, plural, =1 {이미지 1개} other {이미지 #개} }를 삭제하시겠습니까?", "delete-images-text": "주의: 확인 후 선택한 모든 이미지가 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "list-mode": "목록 보기", "grid-mode": "그리드 보기", @@ -3790,7 +5368,7 @@ "include-system-images": "시스템 이미지 포함", "clear-image": "이미지 지우기", "no-image": "이미지 없음", - "no-image-selected": "이미지 없음", + "no-image-selected": "선택된 이미지 없음", "browse-from-gallery": "갤러리에서 찾아보기", "set-link": "링크 설정", "image-link": "이미지 링크", @@ -3801,7 +5379,7 @@ "embed-to-html-hint": "이 기능은 승인되지 않은 사용자도 링크에 액세스할 수 있게 합니다.", "embed-to-html-text": "다음 코드 스니펫을 사용하여 일반 HTML 기반 컴포넌트에 이미지를 포함할 수 있습니다.
이러한 컴포넌트에는 HTML 카드 위젯, 셀 콘텐츠 함수 등이 포함됩니다.", "embed-to-angular-template": "Angular HTML 템플릿에 포함", - "embed-to-angular-template-text": "다음 코드 스니펫을 사용하여 컴포넌트에 사용될 Angular HTML 템플릿에 이미지를 포함할 수 있습니다.
이러한 컴포넌트에는 마크다운 위젯, 위젯 편집기의 HTML 섹션, 사용자 지정 작업 등이 포함됩니다." + "embed-to-angular-template-text": "다음 코드 스니펫을 사용하여 컴포넌트에 사용될 Angular HTML 템플릿에 이미지를 포함할 수 있습니다.
이러한 컴포넌트에는 마크다운 위젯, 위젯 편집기의 HTML 섹션, 사용자 지정 액션 등이 포함됩니다." }, "image-input": { "drop-images-or": "이미지를 끌어다 놓거나", @@ -3813,9 +5391,10 @@ }, "import": { "no-file": "선택된 파일이 없습니다.", - "drop-file": "업로드 할 JSON 파일을 끌어다 놓거나 여기 클릭하여 파일을 선택하십시오.", + "drop-file": "업로드할 JSON 파일을 끌어다 놓거나 클릭하여 파일을 선택하십시오.", + "drop-csv-file": "업로드할 CSV 파일을 끌어다 놓거나 클릭하여 파일을 선택하세요.", "drop-json-file-or": "JSON 파일을 끌어다 놓거나", - "drop-file-csv": "업로드 할 CSV 파일을 끌어다 놓거나 여기 클릭하여 파일을 선택하십시오.", + "drop-file-csv": "업로드할 CSV 파일을 끌어다 놓거나 클릭하여 파일을 선택하세요.", "drop-file-csv-or": "CSV 파일을 끌어다 놓거나", "column-value": "값", "column-title": "제목", @@ -3823,11 +5402,11 @@ "column-key": "속성/텔레메트리 키", "credentials": "자격 증명", "csv-delimiter": "CSV 구분자", - "csv-first-line-header": "첫번째 줄에 컬럼 이름 포함", + "csv-first-line-header": "첫 번째 줄에 컬럼 이름 포함", "csv-update-data": "속성/텔레메트리 업데이트", - "details": "상세 내역", + "details": "세부 정보", "import-csv-number-columns-error": "파일에는 최소 두 개의 열이 포함되어야 합니다.", - "import-csv-invalid-format-error": "유효하지 않은 파일 포맷. Line: '{{line}}'", + "import-csv-invalid-format-error": "유효하지 않은 파일 형식입니다. 줄: '{{line}}'", "column-type": { "name": "이름", "type": "유형", @@ -3864,28 +5443,531 @@ "version": "SNMP 버전 (v1, v2c 또는 v3)", "community-string": "SNMP 커뮤니티 문자열" }, - "isgateway": "게이트웨이 여부", - "activity-time-from-gateway-device": "게이트웨이 장치의 활동 시간", - "description": "설정", - "routing-key": "엣지 키", - "secret": "엣지 시크릿" + "isgateway": "Gateway 여부", + "activity-time-from-gateway-device": "Gateway 장치의 활동 시간", + "description": "설명", + "edge-license-key": "라이선스 키", + "cloud-endpoint": "클라우드 엔드포인트", + "routing-key": "Edge 키", + "secret": "Edge 시크릿" }, "stepper-text": { "select-file": "파일 선택", - "configuration": "설정 불러오기", + "configuration": "가져오기 구성", "column-type": "컬럼 유형 선택", "creat-entities": "새로운 엔티티 생성" }, - "message": { - "create-entities": "{{count}}개의 새로운 엔티티사 성공적으로 생성되었습니다.", - "update-entities": "{{count}}개의 엔티티가 성공적으로 업데이트 되었습니다.", - "error-entities": "{{count}}개의 엔티티를 생성하는데 오류가 발생했습니다." - } + "message": { + "create-entities": "새 엔티티 {{count}}개가 성공적으로 생성되었습니다.", + "update-entities": "엔티티 {{count}}개가 성공적으로 업데이트되었습니다.", + "error-entities": "엔티티 {{count}}개를 생성하는 중 오류가 발생했습니다." + } + }, + "integration": { + "integration": "통합", + "integrations": "통합", + "integrations-center": "통합 센터", + "select-integration": "통합 선택", + "no-integrations-matching": "'{{entity}}'와(과) 일치하는 통합을 찾을 수 없습니다.", + "integration-required": "통합은 필수 항목입니다", + "delete": "통합 삭제", + "management": "통합 관리", + "add-integration-text": "새 통합 추가", + "no-integrations-text": "통합을 찾을 수 없습니다", + "data-convertor-name": "{{integrationName}}용 {{convertorType}} 데이터 변환기", + "integration-name": "{{integrationType}} 통합", + "selected-integrations": "{ count, plural, =1 {통합 1개} other {통합 #개} } 선택됨", + "delete-integration-title": "정말 통합 '{{integrationName}}'을(를) 삭제하시겠습니까?", + "delete-integration-text": "주의하세요. 확인 후에는 통합과 모든 관련 데이터를 복구할 수 없습니다.", + "delete-integrations-title": "정말 { count, plural, =1 {통합 1개를} other {통합 #개를} } 삭제하시겠습니까?", + "delete-integrations-action-title": "{ count, plural, =1 {통합 1개} other {통합 #개} } 삭제", + "delete-integrations-text": "주의하세요. 확인 후에는 선택한 모든 통합이 제거되며 모든 관련 데이터를 복구할 수 없습니다.", + "events": "이벤트", + "enabled": "통합 활성화", + "allow-create-devices-or-assets": "장치 또는 자산 생성 허용", + "all-types": "모든 통합 유형", + "add": "통합 추가", + "search": "통합 검색", + "integration-details": "통합 세부 정보", + "details": "세부 정보", + "copyId": "통합 ID 복사", + "idCopiedMessage": "통합 ID가 클립보드에 복사되었습니다.", + "debug-mode": "디버그 모드", + "enable-security": "보안 활성화", + "enable-security-new": "자동 토큰 업데이트를 위한 보안 활성화", + "headers-filter": "헤더 필터", + "header": "헤더", + "no-headers-filter": "헤더 필터 없음", + "downlink-url": "다운링크 URL", + "downlink-url-required": "다운링크 URL은 필수 항목입니다.", + "create-loriot-output": "Loriot 애플리케이션 출력 생성", + "send-downlink": "다운링크 전송", + "allow-downlink": "다운링크 허용", + "server": "서버", + "server-required": "서버는 필수 항목입니다.", + "domain": "도메인", + "app-id": "애플리케이션 ID", + "app-id-required": "애플리케이션 ID는 필수 항목입니다.", + "app-token": "애플리케이션 액세스 토큰", + "app-token-required": "애플리케이션 액세스 토큰은 필수 항목입니다.", + "email": "이메일", + "email-required": "이메일은 필수 항목입니다.", + "application-uri": "애플리케이션 URI", + "as-id": "AS ID", + "as-id-required": "AS ID는 필수 항목입니다.", + "as-key": "AS 키", + "as-key-required": "AS 키는 필수 항목입니다.", + "client-id-new": "클라이언트 ID", + "client-id-new-required": "클라이언트 ID(로그인)는 필수 항목입니다.", + "client-secret": "클라이언트 시크릿", + "client-secret-required": "클라이언트 시크릿(비밀번호)은 필수 항목입니다.", + "max-time-diff-in-seconds": "최대 시간 차이(초)", + "max-time-diff-in-seconds-required": "최대 시간 차이는 필수 항목입니다.", + "created-time": "생성 일시", + "name": "이름", + "name-required": "이름은 필수 항목입니다.", + "name-max-length": "이름은 256자 미만이어야 합니다.", + "description": "설명", + "base-url": "기본 URL", + "base-url-required": "기본 URL은 필수 항목입니다", + "security-key": "보안 키", + "skip": "건너뛰기", + "http-endpoint": "HTTP 엔드포인트 URL", + "replace-no-content-to-ok": "응답 상태 'No-Content'를 'OK'로 대체", + "copy-http-endpoint-url": "HTTP 엔드포인트 URL 복사", + "http-endpoint-url-copied-message": "HTTP 엔드포인트 URL이 클립보드에 복사되었습니다", + "host": "호스트", + "host-required": "호스트는 필수 항목입니다.", + "host-private": "호스트는 공용 네트워크에 있어야 합니다.", + "url-private": "URL은 공용 네트워크에 있어야 합니다.", + "host-type": "호스트 유형", + "host-type-required": "호스트 유형을 선택하세요.", + "api-version": "API v3 사용", + "custom-host": "사용자 지정 호스트", + "custom-host-required": "사용자 지정 호스트는 필수 항목입니다.", + "port": "포트", + "port-required": "포트는 필수 항목입니다.", + "endpoint": "엔드포인트", + "port-range": "포트를 1~65535 범위 내에서 입력하세요.", + "connect-timeout": "연결 제한 시간(초)", + "connect-timeout-required": "연결 제한 시간은 필수 항목입니다.", + "connect-timeout-range": "연결 제한 시간은 1에서 200 범위여야 합니다.", + "client-id": "클라이언트 ID", + "client-id-required": "클라이언트 ID를 입력하세요.", + "client-id-hint": "힌트: 선택 사항입니다. 비워 두면 클라이언트 ID가 자동 생성됩니다. 클라이언트 ID를 지정할 때 주의하세요. 대부분의 MQTT 브로커는 동일한 클라이언트 ID로 여러 연결을 허용하지 않습니다. 이러한 브로커에 연결하려면 MQTT 클라이언트 ID가 고유해야 합니다.", + "max-bytes-in-message": "메시지 최대 바이트 수", + "max-bytes-in-message-range": "메시지 최대 바이트 수는 1에서 256000000 사이의 범위여야 합니다.", + "device-id": "장치 ID", + "device-id-required": "장치 ID는 필수 항목입니다.", + "device-id-range": "장치 ID는 1자에서 65535자 사이의 범위여야 합니다.", + "device-id-pattern": "장치 ID는 숫자, 대문자 및 소문자로 구성되어야 합니다. [MQTT-3.1.3-5]", + "group-id": "그룹 ID", + "group-id-required": "그룹 ID는 필수 항목입니다.", + "topics": "토픽", + "topics-required": "토픽은 필수 항목입니다.", + "routing-keys": "라우팅 키", + "routing-keys-required": "라우팅 키는 필수 항목입니다.", + "queue": "큐", + "queue-required": "큐 이름은 필수 항목입니다.", + "durable": "지속성", + "exclusive": "배타적", + "autoDelete": "자동 삭제", + "exchange-name": "Exchange 이름", + "exchange-name-required": "Exchange 이름은 필수 항목입니다.", + "downlink-topic": "다운링크 토픽", + "connection-timeout": "연결 제한 시간, ms", + "connection-timeout-min": "잘못된 연결 제한 시간 값입니다.", + "handshake-timeout": "핸드셰이크 제한 시간, ms", + "handshake-timeout-min": "잘못된 핸드셰이크 제한 시간 값입니다.", + "virtual-host": "가상 호스트", + "rabbit-mq-poll-interval": "폴링 간격, ms", + "rabbit-mq-poll-interval-min": "잘못된 폴링 간격 값입니다.", + "application-server-url": "애플리케이션 서버 URL", + "application-server-url-required": "애플리케이션 서버 URL은 필수 항목입니다.", + "application-server-api-token": "애플리케이션 서버 API 토큰", + "application-server-api-token-required": "애플리케이션 서버 API 토큰은 필수 항목입니다.", + "use-api-four-plus": "ChirpStack 4+용 API 사용", + "bootstrap-servers": "Bootstrap 서버", + "bootstrap-servers-required": "Bootstrap 서버는 필수 항목입니다.", + "poll-interval": "폴링 간격", + "poll-interval-required": "폴링 간격은 필수 항목입니다.", + "poll-interval-min-value": "폴링 간격 값은 1 미만일 수 없습니다.", + "auto-create-topics": "토픽 자동 생성", + "clean-session": "클린 세션", + "enable-ssl": "SSL 활성화", + "credentials": "자격 증명", + "credentials-type": "자격 증명 유형", + "credentials-type-required": "자격 증명 유형은 필수 항목입니다.", + "downlink-credentials": "다운링크 자격 증명", + "username": "사용자 이름", + "username-required": "사용자 이름은 필수 항목입니다.", + "password": "비밀번호", + "password-required": "비밀번호는 필수 항목입니다.", + "destination-shared-secret": "대상 공유 비밀", + "destination-shared-secret-required": "대상 공유 비밀은 필수 항목입니다", + "kpn-security-header": "보안 헤더 (X-Things-Secret)", + "kpn-security-header-hint": "KPN Things의 ThingsBoard 대상에서 생성된 값", + "kpn-security-header-duplicate": "X-Things-Secret을 추가 헤더 필터가 아닌 보안 헤더 필드에 설정하세요", + "kpn-https-destination-settings": "HTTPS 대상 설정", + "kpn-destination-shared-secret-hint": "KPN Things HTTPS 대상 전용입니다. ThingsBoard 대상의 경우 비워 두세요", + "kpn-additional-headers-filter": "추가 헤더 필터", + "kpn-additional-headers-filter-hint": "요청에는 각 헤더가 일치하는 값으로 포함되어야 합니다", + "kpn-no-security-warning": "이 엔드포인트에 대한 요청은 인증되지 않습니다. KPN Things에서 생성된 보안 헤더를 추가하세요.", + "customer-id": "고객 ID", + "api-id": "API ID", + "azure-ca-cert": "CA 인증서 파일", + "ca-cert": "CA 인증서 파일", + "private-key": "개인 키 파일", + "private-key-password": "개인 키 비밀번호", + "cert": "인증서 파일", + "no-file": "선택된 파일이 없습니다.", + "drop-file": "업로드할 파일을 끌어다 놓거나 클릭하여 파일을 선택하세요.", + "drop-file-or": "파일을 끌어다 놓거나", + "check-connection": "연결 확인", + "check-success": "연결이 설정되었습니다.", + "topic-filters": "토픽 필터", + "remove-topic-filter": "토픽 필터 제거", + "add-topic-filter": "토픽 필터 추가", + "add-topic-filter-prompt": "토픽 필터를 추가하세요", + "topic": "토픽", + "mqtt-qos": "QoS", + "mqtt-qos-required": "QoS는 필수 항목입니다", + "mqtt-qos-range": "QoS 값의 범위는 0에서 2까지입니다", + "mqtt-qos-at-most-once": "최대 1회", + "mqtt-qos-at-least-once": "최소 1회", + "mqtt-qos-exactly-once": "정확히 1회", + "downlink-topic-pattern": "다운링크 토픽 패턴", + "downlink-topic-pattern-required": "다운링크 토픽 패턴은 필수 항목입니다.", + "retained-message": "보존", + "aws-access-key-id": "AWS 액세스 키 ID", + "aws-secret-access-key": "AWS 보안 액세스 키", + "aws-region": "리전", + "aws-iot-endpoint": "AWS IoT 엔드포인트", + "aws-iot-endpoint-required": "AWS IoT 엔드포인트는 필수 항목입니다.", + "aws-iot-credentials": "AWS IoT 자격 증명", + "aws-sqs-polling-period-in-seconds": "폴링 주기(초)", + "aws-sqs-queue-url": "SQS 큐 URL", + "aws-sqs-queue-url-required": "SQS 큐 URL은 필수 항목입니다", + "aws-sqs-access-key-id-required": "액세스 키 ID는 필수 항목입니다", + "aws-sqs-secret-access-key-required": "보안 액세스 키는 필수 항목입니다.", + "application-credentials": "애플리케이션 자격 증명", + "api-key": "API 키", + "api-key-required": "API 키는 필수 항목입니다.", + "api-key-format": "잘못된 API 키 형식입니다.", + "auth-token": "인증 토큰", + "auth-token-required": "인증 토큰은 필수 항목입니다.", + "region": "리전", + "region-required": "리전은 필수 항목입니다.", + "application-id": "애플리케이션 ID", + "application-id-required": "애플리케이션 ID는 필수 항목입니다.", + "access-id": "액세스 ID", + "access-id-required": "액세스 ID는 필수 항목입니다.", + "access-key": "액세스 키", + "access-key-required": "액세스 키는 필수 항목입니다.", + "access-key-min-length": "액세스 키가 너무 짧습니다.", + "access-key-max-length": "액세스 키가 너무 깁니다.", + "connection-parameters": "연결 매개변수", + "service-bus-namespace-name": "Service Bus 네임스페이스 이름", + "service-bus-namespace-name-required": "Service Bus 네임스페이스 이름은 필수 항목입니다.", + "connection-string": "연결 문자열", + "consumer-group": "소비자 그룹", + "connection-string-required": "연결 문자열은 필수 항목입니다!", + "event-hub-name": "Event Hub 이름", + "event-hub-name-required": "Event Hub 이름은 필수 항목입니다.", + "event-iot-hub-name-required": "다운링크에는 IoT Hub 이름이 필요합니다", + "enable-persistent-checkpoints": "영구 체크포인트 활성화", + "enable-persistent-checkpoints-hint": "Azure Blob Storage를 활성화하면 재시작 후 마지막 체크포인트부터 처리를 재개합니다. 비활성화하면 항상 최신 이벤트부터 시작합니다.", + "storage-connection-string": "스토리지 연결 문자열", + "storage-connection-string-required": "스토리지 연결 문자열은 필수 항목입니다!", + "container-name": "컨테이너 이름", + "container-name-required": "컨테이너 이름은 필수 항목입니다.", + "sas-key-name": "SAS 키 이름", + "sas-key-name-required": "SAS 키 이름은 필수 항목입니다.", + "sas-key": "SAS 키", + "sas-key-required": "SAS 키는 필수 항목입니다.", + "iot-hub-name": "IoT Hub 이름", + "hostname": "호스트 이름", + "hostname-required": "호스트 이름은 필수 항목입니다.", + "integration-clazz": "통합 클래스", + "integration-clazz-required": "통합 클래스는 필수 항목입니다.", + "integration-configuration": "통합 JSON 구성", + "metadata": "메타데이터", + "type": "통합 유형", + "select-integration-type": "통합 유형 선택", + "type-required": "통합 유형을 선택하세요.", + "type-not-found": "통합 유형을 찾을 수 없습니다", + "uplink-converter": "업링크 데이터 변환기", + "uplink-converter-required": "업링크 데이터 변환기를 선택하세요.", + "downlink-converter": "다운링크 데이터 변환기", + "type-http": "HTTP", + "type-http-description": "텍스트 또는 멀티미디어 파일 전송 프로토콜입니다.", + "type-ocean-connect": "OceanConnect", + "type-ocean-connect-description": "다양한 기능을 갖춘 장치를 IoT 플랫폼과 통합합니다.", + "type-sigfox": "SigFox", + "type-sigfox-description": "소규모 데이터 전송을 처리하는 경량 프로토콜입니다.", + "type-thingpark": "ThingPark", + "type-thingpark-description": "ThingPark는 Actility의 IoT 연결 플랫폼입니다.", + "type-loriot": "Loriot", + "type-loriot-description": "분산형 LoRaWAN 인프라입니다.", + "type-thingpark-enterprise": "ThingParkEnterprise", + "type-thingpark-enterprise-description": "LPWA 네트워크용 메시징 플랫폼입니다.", + "type-tmobile-iot-cdp": "iotcreators.com (T-Mobile – IoT CDP)", + "type-tmobile-iot-cdp-description": "모바일 IoT 연결 서비스입니다.", + "type-mqtt": "MQTT", + "type-mqtt-description": "머신 간 네트워크 프로토콜입니다.", + "type-aws-iot": "AWS IoT", + "type-aws-iot-description": "관리, 스토리지 및 분석 서비스입니다.", + "type-aws-sqs": "AWS SQS", + "type-aws-sqs-description": "완전 관리형 메시지 큐 서비스입니다.", + "type-aws-kinesis": "AWS Kinesis", + "type-aws-kinesis-description": "실시간 비디오 및 데이터 스트림을 위한 서비스입니다.", + "type-ttn": "The Things Stack Community", + "type-ttn-description": "개방형 탈중앙화 LoRaWAN 네트워크입니다.", + "type-tti": "The Things Stack Industries", + "type-tti-description": "프라이빗 LoRaWAN 네트워크를 대규모로 운영하기 위한 소프트웨어입니다.", + "type-things-stack": "The Things Stack", + "type-chirpstack": "ChirpStack", + "type-chirpstack-description": "LoRaWAN 네트워크 구성 서버입니다.", + "type-particle": "Particle", + "type-particle-description": "IoT 활성화 PaaS(서비스형 플랫폼)입니다.", + "type-kpn": "KPN Things", + "type-kpn-description": "IoT 장치를 위한 강력한 연결성과 데이터 관리 솔루션을 제공하는 KPN의 IoT 플랫폼입니다.", + "type-azure-event-hub": "Azure Event Hub", + "type-azure-event-hub-description": "빅데이터 스트리밍 플랫폼 및 이벤트 수집 서비스입니다.", + "type-azure-iot-hub": "Azure IoT Hub", + "type-azure-iot-hub-description": "클라우드 호스팅 메시징 서비스입니다.", + "type-opc-ua": "OPC-UA", + "type-opc-ua-description": "센서에서 클라우드 앱으로 데이터를 교환하기 위한 크로스 플랫폼 프로토콜입니다.", + "type-custom": "사용자 지정", + "type-coap": "CoAP", + "type-coap-description": "제약된 환경의 장치를 위한 M2M(Machine to Machine) 네트워크 프로토콜입니다.", + "type-udp": "UDP", + "type-udp-description": "메시지 지향 전송 계층 프로토콜.", + "type-tcp": "TCP", + "type-tcp-description": "연결 지향 프로토콜.", + "type-kafka": "Kafka", + "type-kafka-description": "스트리밍 분석, 데이터 통합 스트리밍 플랫폼.", + "type-rabbitmq": "RabbitMQ", + "type-rabbitmq-description": "여러 메시징 프로토콜을 지원하는 메시지 브로커.", + "type-pubsub": "Pub/Sub", + "type-pubsub-description": "앱 간 비동기 메시징 서비스.", + "type-apache-pulsar": "Apache Pulsar", + "type-apache-pulsar-description": "분산 pub-sub 메시징 및 스트리밍 플랫폼.", + "type-tuya": "Tuya", + "type-tuya-description": "클라우드 호스팅 메시징 및 장치 플랫폼.", + "type-azure-service-bus": "Azure Service Bus", + "type-azure-service-bus-description": "메시지 큐와 게시-구독 토픽을 갖춘 완전 관리형 엔터프라이즈 메시지 브로커.", + "opc-ua-application-name": "애플리케이션 이름", + "opc-ua-application-uri": "애플리케이션 URI", + "opc-ua-scan-period-in-seconds": "스캔 주기(초)", + "opc-ua-scan-period-in-seconds-required": "스캔 주기는 필수 항목입니다.", + "opc-ua-timeout": "제한 시간(밀리초)", + "opc-ua-timeout-required": "제한 시간은 필수 항목입니다.", + "opc-ua-security": "보안", + "opc-ua-security-required": "보안을 선택하세요.", + "opc-ua-identity": "신원", + "opc-ua-identity-required": "신원은 필수 항목입니다.", + "opc-ua-keystore": "키 저장소", + "add-opc-ua-keystore-prompt": "키 저장소 파일을 추가하세요.", + "opc-ua-keystore-required": "키 저장소는 필수 항목입니다.", + "opc-ua-type": "유형", + "opc-ua-keystore-type": "유형", + "opc-ua-keystore-type-required": "유형은 필수 항목입니다.", + "opc-ua-keystore-location": "위치 *", + "opc-ua-keystore-password": "비밀번호", + "opc-ua-keystore-password-required": "비밀번호는 필수 항목입니다.", + "opc-ua-keystore-alias": "별명", + "opc-ua-keystore-alias-required": "별명은 필수 항목입니다.", + "opc-ua-keystore-key-password": "키 비밀번호", + "opc-ua-keystore-key-password-required": "키 비밀번호는 필수 항목입니다.", + "opc-ua-mapping": "매핑", + "add-opc-ua-mapping-prompt": "매핑을 추가하세요.", + "opc-ua-mapping-type": "매핑 유형", + "opc-ua-mapping-type-required": "매핑 유형을 선택하세요.", + "opc-ua-device-node-pattern": "장치 노드 패턴", + "opc-ua-device-node-pattern-required": "장치 노드 패턴은 필수 항목입니다.", + "opc-ua-namespace": "네임스페이스", + "opc-ua-add-map": "매핑 요소 추가", + "kinesis-stream-name": "스트림 이름", + "kinesis-stream-name-required": "스트림 이름은 필수 항목입니다.", + "kinesis-region": "리전", + "kinesis-region-required": "리전은 필수 항목입니다.", + "kinesis-access-key-id": "액세스 키 ID", + "kinesis-access-key-id-required": "액세스 키 ID는 필수 항목입니다.", + "kinesis-secret-access-key": "보안 액세스 키", + "kinesis-secret-access-key-required": "보안 액세스 키는 필수 항목입니다.", + "kinesis-use-consumers-with-enhanced-fan-out": "향상된 팬아웃 소비자 사용", + "kinesis-use-credentials-from-instance-metadata": "Amazon EC2 인스턴스 메타데이터 서비스의 자격 증명 사용", + "kinesis-application-name": "애플리케이션 이름 (기본값: 스트림 이름)", + "kinesis-initial-position-in-stream": "스트림의 초기 위치", + "kinesis-initial-position-in-stream-required": "스트림의 초기 위치를 선택하세요.", + "kinesis-max-records": "최대 레코드 수", + "kinesis-max-records-required": "최대 레코드 수는 필수 항목입니다.", + "kinesis-max-records-length-range": "최대 레코드 수는 1에서 10000 사이의 범위여야 합니다.", + "kinesis-request-timeout": "요청 제한 시간(초)", + "kinesis-request-timeout-required": "요청 제한 시간은 필수 항목입니다.", + "other-properties": "기타 속성", + "subscription-tags": "구독 태그", + "remove-subscription-tag": "구독 태그 제거", + "add-subscription-tag": "구독 태그 추가", + "add-subscription-tag-prompt": "구독 태그를 추가하세요.", + "key": "키", + "path": "경로", + "opc-ua-path-hint": "경로는 장치 노드 아래의 노드와 일치해야 합니다: 네임스페이스 접두사를 제외한 BrowseName(예: 2:MySwitch가 아니라 MySwitch) 또는 노드의 문자열 NodeId에 장치 이름이 포함된 경우 NodeId에서 장치 이름과 구분 기호 다음 부분(예: NodeId가 ns=2;s=Device1.MySwitch이면 경로는 MySwitch)입니다.", + "opc-ua-path-whitespace-warning": "경로가 공백으로 시작하거나 끝납니다. 노드 이름에 동일한 공백이 있는 경우에만 일치합니다.", + "opc-ua-path-trailing-dot-warning": "경로가 점으로 끝납니다. 노드 이름이 점으로 끝나는 경우에만 일치합니다.", + "required": "필수", + "integration-key": "통합 키", + "copy-integration-key": "통합 키 복사", + "integration-key-copied-message": "통합 키가 클립보드에 복사되었습니다", + "integration-secret": "통합 시크릿", + "copy-integration-secret": "통합 시크릿 복사", + "integration-secret-copied-message": "통합 시크릿이 클립보드에 복사되었습니다", + "execute-remotely": "원격 실행", + "remote": "원격", + "handler-configuration": "핸들러 구성", + "handler-configuration-type": "핸들러 유형", + "so-broadcast": "브로드캐스트 활성화 - 통합이 브로드캐스트 주소 패킷을 수신합니다", + "so-keepalive-option": "연결 지향 소켓에서 keep-alive 메시지 전송 활성화", + "so-reuse-addr": "프로세스를 포트에 바인딩", + "tcp-no-delay": "소켓이 버퍼링 없이 데이터를 전송하도록 강제합니다(Nagle 버퍼링 알고리즘 비활성화)", + "fail-fast": "디코더가 프레임 길이가 최대 크기를 초과할 것을 감지하는 즉시 예외를 발생시킵니다", + "strip-delimiter": "구분 기호 제거", + "length-field-offset": "길이 필드 오프셋", + "length-field-offset-required": "길이 필드 오프셋은 필수 항목입니다.", + "length-field-offset-range": "길이 필드 오프셋은 0에서 8 사이의 범위여야 합니다.", + "length-field-length": "길이 필드 길이", + "length-field-length-required": "길이 필드 길이는 필수 항목입니다.", + "length-field-length-range": "길이 필드 길이는 0에서 8 사이 범위여야 합니다.", + "length-adjustment": "길이 조정 (길이 필드의 값에 더할 보정 값)", + "length-adjustment-required": "길이 조정은 필수 항목입니다.", + "length-adjustment-range": "길이 조정은 0에서 8 사이 범위여야 합니다.", + "byte-order": "길이 필드의 바이트 순서", + "initial-bytes-to-strip": "디코딩된 프레임에서 제거할 앞부분 바이트 수", + "initial-bytes-to-strip-required": "디코딩된 프레임에서 제거할 앞부분 바이트 수는 필수 항목입니다.", + "initial-bytes-to-strip-range": "디코딩된 프레임에서 제거할 앞부분 바이트 수는 0에서 8 사이 범위여야 합니다.", + "so-backlog-option": "소켓의 최대 대기 연결 수", + "so-backlog-option-required": "소켓의 최대 대기 연결 수는 필수 항목입니다.", + "so-backlog-option-range": "소켓의 최대 대기 연결 수는 1에서 65535 사이 범위여야 합니다.", + "so-rcv-buf": "인바운드 소켓의 버퍼 크기 (KB 단위)", + "so-rcv-buf-required": "인바운드 소켓의 버퍼 크기 (KB 단위)는 필수 항목입니다.", + "so-rcv-buf-range": "인바운드 소켓의 버퍼 크기 (KB 단위)는 1에서 65535 사이 범위여야 합니다.", + "so-snd-buf": "아웃바운드 소켓의 버퍼 크기 (KB 단위)", + "so-snd-buf-required": "아웃바운드 소켓의 버퍼 크기 (KB 단위)는 필수 항목입니다.", + "so-snd-buf-range": "아웃바운드 소켓의 버퍼 크기 (KB 단위)는 1에서 65535 사이 범위여야 합니다.", + "charset-name": "문자 집합 이름", + "charset-name-required": "문자 집합 이름은 필수 항목입니다.", + "message-separator": "메시지 구분자", + "message-separator-required": "메시지 구분자는 필수 항목입니다.", + "message-separator-type": "메시지 구분자 유형", + "separator": "구분자", + "separator-required": "구분자는 필수 항목입니다.", + "character-sequence": "문자 시퀀스", + "character-sequence-required": "문자 시퀀스는 필수 항목입니다.", + "max-frame-length": "최대 프레임 길이(바이트)", + "max-frame-length-required": "최대 프레임 길이(바이트)는 필수 항목입니다.", + "max-frame-length-range": "최대 프레임 길이(바이트)는 1~65535 범위 내에 있어야 합니다.", + "handler-type": "핸들러 유형", + "message-size": "메시지 크기", + "message-size-required": "메시지 크기는 필수 항목입니다.", + "service-url": "서비스 URL", + "service-url-required": "서비스 URL은 필수 항목입니다.", + "subscription-name": "구독 이름", + "subscription-name-required": "구독 이름은 필수 항목입니다.", + "max-num-messages": "최대 메시지 수", + "max-num-messages-required": "최대 메시지 수는 필수 항목입니다.", + "max-num-bytes": "최대 바이트 수", + "max-num-bytes-required": "최대 바이트 수는 필수 항목입니다.", + "model": "모델", + "select-model": "모델 선택", + "model-not-found": "모델을 찾을 수 없습니다", + "model-required": "모델을 선택하세요", + "model-not-valid": "선택 필요: 드롭다운에서 모델을 선택해야 합니다.", + "vendor": "공급업체", + "select-vendor": "공급업체 선택", + "vendor-not-found": "공급업체를 찾을 수 없습니다", + "vendor-required": "공급업체를 선택하세요", + "vendor-not-valid": "선택 필요: 드롭다운에서 공급업체를 선택해야 합니다.", + "library": "라이브러리", + "timeout-in-ms": "제한 시간(밀리초)", + "timeout-in-ms-required": "밀리초 단위 제한 시간은 필수 항목입니다.", + "user-id": "사용자 ID", + "user-id-required": "사용자 ID는 필수 항목입니다.", + "token": "토큰", + "token-required": "토큰은 필수 항목입니다.", + "project-id": "프로젝트 ID", + "project-id-required": "프로젝트 ID는 필수 항목입니다.", + "subscription-id": "구독 ID", + "subscription-id-required": "구독 ID는 필수 항목입니다.", + "service-account-key": "서비스 계정 키 파일", + "service-account-key-required": "서비스 계정 키 파일은 필수 항목입니다.", + "tcp": { + "system-line-separator": "시스템 줄 구분 기호", + "nul-delimiter": "Nul 구분 기호", + "custom-separator": "사용자 지정 구분 기호", + "byte-order-little-endian": "Little Endian", + "byte-order-big-endian": "Big Endian" + }, + "cache-size": "캐시 크기", + "cache-time-to-live": "캐시 유효 시간(분)", + "min-cache-size": "캐시 크기는 0보다 작을 수 없습니다", + "min-cache-time-to-live": "캐시 유효 시간은 0보다 작을 수 없습니다.", + "max-cache-time-to-live": "잘못된 캐시 유효 시간입니다. 0에서 525600 사이로 선택하세요.", + "coap-security-mode": "보안 모드", + "coap-security-mode-required": "CoAP 보안 모드를 선택하세요.", + "coap-security-mode-no-secure": "보안 없음", + "coap-security-mode-dtls": "DTLS", + "coap-security-mode-mixed": "혼합", + "coap-endpoint": "CoAP 엔드포인트 URL", + "coap-endpoint-url-copied-message": "CoAP 엔드포인트 URL이 클립보드에 복사되었습니다.", + "copy-coap-endpoint-url": "CoAP 엔드포인트 URL 복사", + "copy-coap-dtls-endpoint-url": "CoAP DTLS 엔드포인트 URL 복사", + "coap-dtls-base-url": "DTLS 기본 URL", + "coap-dtls-base-url-required": "DTLS 기본 URL은 필수 항목입니다.", + "coap-dtls-endpoint": "CoAP DTLS 엔드포인트 URL", + "coap-dtls-endpoint-url-copied-message": "CoAP DTLS 엔드포인트 URL이 클립보드에 복사되었습니다.", + "unassign-integration-title": "'{{integrationName}}' 통합을 할당 해제하시겠습니까?", + "unassign-integration-from-edge-text": "확인 후 통합이 할당 해제되며 Edge에서 더 이상 액세스할 수 없습니다.", + "unassign-integrations-from-edge-title": "{ count, plural, =1 {통합 1개를} other {통합 #개를} } 할당 해제하시겠습니까?", + "unassign-integrations-from-edge-text": "확인 후 선택한 모든 통합이 할당 해제되며 Edge에서 더 이상 액세스할 수 없습니다.", + "unassign-integrations": "통합 할당 해제", + "edge-placeholder-hint": "${{ATTRIBUTE_KEY}} 플레이스홀더를 사용하여 통합 필드를 특정 Edge 엔티티의 속성 값으로 대체할 수 있습니다. 예를 들어, 'Edge A'에 값이 'http://localhost:9999'인 'baseUrl' 속성이 있다고 가정합니다. 통합 필드 중 하나에 ${{baseUrl}}을(를) 설정하면 이 통합을 'Edge A'에 할당할 때 'http://localhost:9999'로 대체됩니다. 또한 'Edge A'의 'baseUrl' 속성이 업데이트되면 새로 업데이트된 값이 적용된 통합이 'Edge A'에 자동으로 프로비저닝됩니다.", + "status": { + "status": "상태", + "active": "활성", + "disabled": "비활성화됨", + "failed": "실패", + "pending": "대기 중" + }, + "daily-activity": "일일 활동", + "enable-debug-mode": "디버그 모드 활성화", + "disable-debug-mode": "디버그 모드 비활성화", + "advanced-settings": "고급 설정", + "basic-settings": "기본 설정", + "existing-converter": "기존 항목 선택", + "new-converter": "새로 만들기", + "connection": "연결", + "connected": "연결됨", + "not-connected": "연결 안 됨", + "environment": "환경", + "environment-required": "환경은 필수 항목입니다.", + "region-cn": "중국", + "region-us": "미국", + "region-eu": "유럽", + "region-in": "인도", + "topic-name": "토픽 이름", + "topic-name-required": "토픽 이름은 필수 항목입니다", + "sub-name": "구독 이름", + "sub-name-required": "구독 이름은 필수 항목입니다", + "downlink-connection-string": "다운링크 연결 문자열", + "downlink-connection-string-required": "다운링크 연결 문자열은 필수 항목입니다", + "downlink-topic-name": "다운링크 토픽 이름", + "downlink-topic-name-required": "다운링크 토픽 이름은 필수 항목입니다." }, "scada": { "symbols": "SCADA 심볼", "search": "심볼 검색", - "selected-symbols": "{ count, plural, =1 {1개 심볼} other {#개 심볼} } 선택됨", + "selected-symbols": "{ count, plural, =1 {심볼 1개} other {심볼 #개} } 선택됨", "download-symbol": "SCADA 심볼 다운로드", "export-symbol": "SCADA 심볼을 JSON으로 내보내기", "import-symbol": "JSON에서 SCADA 심볼 가져오기", @@ -3901,7 +5983,7 @@ "delete-symbol": "SCADA 심볼 삭제", "delete-symbol-title": "SCADA 심볼 '{{imageTitle}}'을(를) 삭제하시겠습니까?", "delete-symbol-text": "주의: 확인 후 SCADA 심볼을 복구할 수 없게 됩니다.", - "delete-symbols-title": "{ count, plural, =1 {1개 SCADA 심볼} other {#개 SCADA 심볼} }을(를) 삭제하시겠습니까?", + "delete-symbols-title": "{ count, plural, =1 {SCADA 심볼 1개} other {SCADA 심볼 #개} }를 삭제하시겠습니까?", "delete-symbols-text": "주의: 확인 후 선택한 모든 SCADA 심볼이 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "include-system-symbols": "시스템 심볼 포함", "symbol-preview": "심볼 미리보기", @@ -3944,7 +6026,7 @@ "type": "유형", "no-behaviors": "구성된 동작 없음", "add-behavior": "동작 추가", - "type-action": "동작", + "type-action": "액션", "type-value": "값", "type-widget-action": "위젯 액션", "behavior-settings": "동작 설정", @@ -3972,10 +6054,10 @@ "flow-present": "흐름 있음", "flow-direction": "흐름 방향", "flow-direction-hint": "유체 흐름 방향을 나타냅니다.", - "forward": "전방", + "forward": "정방향", "reverse": "역방향", "flow-animation-speed": "흐름 애니메이션 속도", - "flow-animation-speed-hint": "흐름의 애니메이션 속도를 나타내는 double 값. 1 - 정상 속도, 0 - 애니메이션 없음, < 1 - 느린 애니메이션, > 1 - 빠른 애니메이션.", + "flow-animation-speed-hint": "흐름의 애니메이션 속도를 나타내는 double 값. 1 - 보통 속도, 0 - 애니메이션 없음, < 1 - 느린 애니메이션, > 1 - 빠른 애니메이션.", "leak": "누출", "leak-hint": "파이프에 누출이 있는지 나타냅니다.", "leak-present": "누출 있음", @@ -4007,8 +6089,8 @@ "warning-click": "경고 클릭", "warning-state-hint": "구성 요소가 경고 상태인지 나타냅니다.", "critical-state": "심각 상태", - "critical": "심각한", - "critical-click": "중요 클릭", + "critical": "심각", + "critical-click": "심각 클릭", "critical-state-hint": "구성 요소가 심각 상태인지 나타냅니다.", "critical-state-animation": "심각 상태 애니메이션", "critical-state-animation-hint": "구성 요소가 심각 상태일 때 깜박이는 애니메이션을 활성화할지 여부.", @@ -4026,7 +6108,7 @@ "critical-border-color": "심각 테두리 색상", "background-color": "배경색", "rotation-animation-speed": "회전 애니메이션 속도", - "rotation-animation-speed-hint": "회전 애니메이션 속도를 나타내는 double 값. 1 - 정상 속도, 0 - 애니메이션 없음, < 1 - 느린 애니메이션, > 1 - 빠른 애니메이션.", + "rotation-animation-speed-hint": "회전 애니메이션 속도를 나타내는 double 값. 1 - 보통 속도, 0 - 애니메이션 없음, < 1 - 느린 애니메이션, > 1 - 빠른 애니메이션.", "on-click": "클릭 시", "on-click-hint": "사용자가 구성 요소를 클릭할 때 호출되는 액션.", "connectors-positions": "커넥터 위치", @@ -4059,8 +6141,8 @@ "closed-rotation-angle": "닫힘 회전 각도", "tank-capacity": "탱크 용량", "tank-capacity-hint": "총 탱크 용량을 나타내는 double 값.", - "current-volume": "현재 볼륨", - "current-volume-hint": "현재 사용 중인 볼륨을 나타내는 double 값.", + "current-volume": "현재 부피", + "current-volume-hint": "현재 채워진 부피를 나타내는 double 값.", "tank-color": "탱크 색상", "value-box": "값 상자", "value-text": "값 텍스트", @@ -4089,7 +6171,7 @@ "filtration-mode": "필터 모드", "filtration-mode-hint": "현재 필터 모드를 나타내는 정수 값.", "filtration-mode-update": "필터 모드 업데이트 상태", - "filtration-mode-update-hint": "사용자가 현재 필터 모드를 변경하기 위해 클릭할 때 호출되는 동작.", + "filtration-mode-update-hint": "사용자가 현재 필터 모드를 변경하기 위해 클릭할 때 호출되는 액션.", "filter-mode": "필터", "waste-mode": "폐기", "backwash-mode": "역세척", @@ -4111,12 +6193,12 @@ "on-label": "'켜짐' 레이블 텍스트", "off-label": "'꺼짐' 레이블 텍스트", "arrow-presence": "화살표 표시", - "arrow-presence-hint": "연결기에 화살표가 있는지 나타냅니다.", + "arrow-presence-hint": "커넥터에 화살표가 있는지 나타냅니다.", "arrow-present": "화살표 있음", "arrow-direction": "흐름 방향", "arrow-direction-hint": "흐름 방향을 나타냅니다.", "flow-animation": "흐름 존재", - "flow-animation-hint": "연결기에 유체가 흐르고 있는지 나타냅니다.", + "flow-animation-hint": "커넥터에 유체가 흐르고 있는지 나타냅니다.", "flow": "흐름", "flow-line": "선", "flow-line-style": "선 스타일", @@ -4139,7 +6221,7 @@ "progress-bar": "진행 막대", "progress-arrow": "진행 화살표", "warning-scale-color": "경고 눈금 색상", - "critical-scale-color": "중요 눈금 색상", + "critical-scale-color": "심각 눈금 색상", "scale-color": "스케일 색상", "target": "대상", "high-warning-state": "높은 경고 상태", @@ -4161,16 +6243,16 @@ "filter-color": "필터 색상", "colors": "색상", "indicator-colors": "표시기 색상", - "enabled": "사용", + "enabled": "활성화됨", "disabled": "비활성화됨", "on": "켜짐", "off": "꺼짐", "on-off-state": "켜짐/꺼짐 상태", "on-off-state-hint": "컴포넌트가 켜짐 또는 꺼짐 상태인지 나타냅니다.", "on-update-state": "켜짐 업데이트 상태", - "on-update-state-hint": "사용자가 상태를 켜짐으로 업데이트하기 위해 클릭할 때 호출되는 작업입니다.", + "on-update-state-hint": "사용자가 상태를 켜짐으로 업데이트하기 위해 클릭할 때 호출되는 액션입니다.", "off-update-state": "꺼짐 업데이트 상태", - "off-update-state-hint": "사용자가 상태를 꺼짐으로 업데이트하기 위해 클릭할 때 호출되는 작업입니다.", + "off-update-state-hint": "사용자가 상태를 꺼짐으로 업데이트하기 위해 클릭할 때 호출되는 액션입니다.", "voltage": "전압", "input-voltage": "입력 전압", "input-voltage-hint": "double 값은 입력 전압 값을 나타냅니다.", @@ -4181,14 +6263,15 @@ "third-phase-voltage": "3상 전압", "phase-voltage-hint": "현재 위상의 전압 값을 나타내는 실수 값", "voltage-hint": "현재 전압을 나타내는 실수 값", + "current-voltage": "현재 전압", "phase-indicator-color": "위상 표시기 색상", "measured": "측정됨", "measured-hint": "킬로와트시 단위의 에너지 사용량을 나타내는 실수 값", "day-rate": "주간 요금", "night-rate": "야간 요금", - "off-peak-rate": "비성수기 요금", - "peak-rate": "성수기 요금", - "export-rate": "수출 요금", + "off-peak-rate": "경부하 요금", + "peak-rate": "최대부하 요금", + "export-rate": "역송 전력 요금", "operating-mode": "운영 모드", "bypass-mode": "바이패스", "operating-mode-hint": "현재 작동 모드를 나타내는 정수 값 (0 - 꺼짐, 1 - 켜짐, 2 - 바이패스)", @@ -4197,9 +6280,9 @@ "disconnected": "연결 해제됨", "indicator": "표시기", "operation-mode": "운영 모드", - "operation-mode-hint": "인버터가 메인 또는 인버터 모드인지 나타냅니다.", + "operation-mode-hint": "인버터가 상용 전원 모드인지 인버터 모드인지 나타냅니다.", "operation-mode-indicators-color": "운영 모드 표시기 색상", - "mains-on-mode": "메인 켜짐", + "mains-on-mode": "상용 전원 켜짐", "inverter-on-mode": "인버터 켜짐", "charging-mode": "충전 모드", "charging-mode-hint": "현재 충전 모드를 나타내는 정수 값 (1 - 벌크, 2 - 흡수, 3 - 플로트)", @@ -4211,7 +6294,7 @@ "low-battery-fault": "배터리 부족", "low-battery-fault-hint": "배터리가 과도하게 방전되었는지 나타냅니다.", "temperature-fault": "온도", - "temperature-fault-hint": "인버터에 고온이 있는지 나타냅니다.", + "temperature-fault-hint": "인버터가 고온 상태인지 나타냅니다.", "triangle": "삼각형", "socket": "소켓", "left-button": "왼쪽 버튼", @@ -4221,13 +6304,287 @@ } }, "item": { - "selected": "선택됨" + "type-widget": "위젯", + "type-widget-plural": "위젯", + "type-solution-template": "솔루션 템플릿", + "type-solution-template-plural": "솔루션 템플릿", + "type-calculated-field": "계산 필드", + "type-calculated-field-plural": "계산 필드", + "type-alarm-rule": "알람 규칙", + "type-alarm-rule-plural": "알람 규칙", + "type-rule-chain": "규칙 체인", + "type-rule-chain-plural": "규칙 체인", + "type-device": "장치", + "type-device-plural": "장치" + }, + "iot-hub": { + "iot-hub": "IoT Hub", + "generate-random-value": "임의 값 생성", + "home-title": "ThingsBoard IoT Hub", + "home-subtitle-prefix": "바로 사용할 수 있는", + "and-devices": "및 장치", + "search-placeholder": "IoT Hub에서 검색...", + "search": "검색...", + "search-published-items": "게시된 항목 검색...", + "see-all-results": "모든 결과 보기", + "see-all-results-for": "\"{{ search }}\"에 대한 결과 {{ count }}개 모두 보기", + "see-results-for": "\"{{ search }}\"에 대한 결과 보기", + "no-search-results": "'{{ search }}'에 대한 결과가 없습니다", + "no-items-available": "사용 가능한 항목이 없습니다", + "search-results": "검색 결과", + "search-results-for": "검색 결과: ", + "try-adjusting-search": "검색어를 조정해 보세요", + "add-widget-from-iot-hub": "IoT Hub에서 위젯 추가", + "all-widgets": "모든 위젯", + "all-iot-hub-widgets": "모든 IoT Hub 위젯", + "installed-from-iot-hub": "IoT Hub에서 설치됨", + "item-link-unavailable": "항목을 사용할 수 없음", + "include-deprecated": "사용 중단 항목 포함", + "widget-category-value": "{{ category }} 위젯", + "search-categories": "카테고리 검색...", + "search-in-category": "위젯 검색...", + "search-bundles": "번들 검색...", + "search-widgets": "위젯 검색...", + "add-item-from-iot-hub": "IoT Hub에서 {{ type }} 추가", + "add-from-iot-hub": "IoT Hub에서 추가", + "filters": "필터", + "type": "유형", + "items-per-page": "페이지당 항목 수", + "filter": "필터", + "clear-filters": "필터 지우기", + "available": "사용 가능", + "items-page-desc-widgets": "업계에 맞게 사전 구성된 위젯으로 IoT 여정을 빠르게 시작하세요. 검증된 아키텍처를 즉시 배포하고, 가장 중요한 고유한 비즈니스 로직에 역량을 집중하세요.", + "items-page-desc-solution-templates": "대시보드, 규칙 체인, 장치 구성을 포함한 완전한 IoT 솔루션 패키지입니다. 검증된 아키텍처로 시작하세요.", + "items-page-desc-calculated-fields": "사전 구성된 계산 필드로 연료 효율이나 역률 같은 복잡한 지표를 자동화하세요. 수동 로직 작성은 건너뛰고 대시보드를 깔끔하고 실용적으로 유지하세요.", + "items-page-desc-alarm-rules": "사전 구성된 알람 규칙 템플릿으로 배터리 부족, 임계값 초과, 장치 오프라인 같은 심각한 상황을 감지하세요. 규칙 로직을 직접 작성할 필요 없이 인시던트가 발생하는 즉시 대응을 시작하세요.", + "items-page-desc-rule-chains": "정교한 데이터 처리부터 원활한 API 통합까지, 규칙 체인 템플릿은 처음부터 구축하지 않고도 확장하는 데 필요한 아키텍처 기반을 제공합니다.", + "items-page-desc-devices": "장치 라이브러리에서 몇 분 만에 배포하여 하드웨어를 즉시 연결할 수 있는 사전 구성된 연결 템플릿을 찾아보세요.", + "device-library": "장치 라이브러리", + "most-popular-in-iot-hub": "IoT Hub에서 가장 인기 있는 항목", + "upgrade-required-title": "ThingsBoard 업그레이드 필요", + "upgrade-required-message": "이 항목에는 ThingsBoard {{minVersion}} 이상이 필요합니다. 현재 실행 중인 버전은 {{currentVersion}}입니다. 설치하려면 인스턴스를 업그레이드하세요.", + "upgrade-instance": "인스턴스 업그레이드", + "become-creator-text": "ThingsBoard IoT Hub에 템플릿을 제출하여 추천 항목으로 소개되고 전 세계 커뮤니티에 솔루션을 선보이세요.", + "contribute": "기여", + "creator-profile": "제작자 프로필", + "title-widgets": "위젯", + "title-calculated-fields": "계산 필드", + "title-alarm-rules": "알람 규칙", + "title-rule-chains": "규칙 체인", + "title-devices": "장치", + "title-solution-templates": "솔루션 템플릿", + "subtitle-widgets": "대시보드용 커뮤니티 위젯 둘러보기", + "subtitle-solution-templates": "완전한 IoT 솔루션 패키지 둘러보기", + "subtitle-calculated-fields": "계산 필드 템플릿 탐색", + "subtitle-alarm-rules": "알람 규칙 템플릿 탐색", + "subtitle-rule-chains": "규칙 체인 템플릿 탐색", + "subtitle-devices": "장치 구성 탐색", + "search-solution-templates": "솔루션 템플릿 검색...", + "search-calculated-fields": "계산 필드 검색...", + "search-alarm-rules": "알람 규칙 검색...", + "search-rule-chains": "규칙 체인 검색...", + "search-devices": "장치 검색...", + "sort-most-relevant": "관련성 높은 순", + "sort-most-installed": "설치 많은 순", + "sort-newest": "최신순", + "sort-name": "이름 (A-Z)", + "type-filter-label": "유형", + "verified-creators-only": "인증된 제작자만", + "category": "카테고리", + "use-case": "사용 사례", + "vendor": "공급업체", + "view-setup-guide": "설정 가이드 보기", + "hardware-type": "하드웨어 유형", + "connectivity": "연결", + "clear-all-filters": "모든 필터 지우기", + "clear-all": "모두 지우기", + "results-count": "결과 {{count}}개", + "unable-to-load": "로드할 수 없음", + "unable-to-load-text": "항목을 로드하는 중 문제가 발생했습니다. 다시 시도하세요.", + "network-server-unavailable": "네트워크 또는 서버를 사용할 수 없음", + "network-server-unavailable-text": "카탈로그에 연결할 수 없습니다. 잠시 후 다시 시도하세요.", + "try-again": "다시 시도", + "retry": "재시도", + "no-items-found": "항목을 찾을 수 없음", + "no-items-found-text": "검색어 또는 필터를 조정해 보세요.", + "no-widgets-found": "위젯을 찾을 수 없음", + "browse-tip-prefix": "필요한 항목을 찾지 못하셨습니까?", + "browse-tip-link": "IoT Hub를 둘러보고", + "browse-tip-suffix": "더 많은 위젯을 찾아보세요.", + "creator": "제작자", + "manage": "관리", + "details": "세부 정보", + "become-a-creator": "제작자 등록", + "back-to-iot-hub": "IoT Hub로 돌아가기", + "verified-creator": "인증된 제작자", + "published-items": "게시된 항목", + "by-creator": "{{name}} 제작", + "installs": "설치", + "more": "더 보기", + "categories": "카테고리", + "use-cases": "사용 사례", + "changelog": "변경 로그", + "created-by": "작성자: {{name}}", + "install-confirm": "{{name}} v{{version}}을(를) 설치하시겠습니까?", + "install-confirm-title": "'{{name}}'을(를) 설치하시겠습니까?", + "install-desc": "설치하면 테넌트 내에 필요한 리소스가 자동으로 생성되고 구성됩니다", + "install-success-desc": "'{{name}}'이(가) 성공적으로 설치되었습니다", + "remove": "제거", + "remove-confirm-title": "'{{name}}'을(를) 제거하시겠습니까?", + "remove-desc": "제거하면 테넌트 내에 설치된 엔티티와 관련 리소스도 함께 제거됩니다", + "remove-desc-solution-template": "이 솔루션 템플릿을 제거하면 대시보드, 규칙 체인, 장치 및 기타 관련 리소스를 포함하여 테넌트 내에 생성된 모든 엔티티도 함께 제거됩니다", + "remove-anyway": "그래도 제거", + "select-entity-for-cf": "계산 필드 '{{name}}'에 대한 엔티티 선택", + "select-entity-for-alarm-rule": "알람 규칙 '{{name}}'에 대한 엔티티 선택", + "rule-chain-install-subtitle": "설치하면 테넌트 내에 규칙 체인이 자동으로 생성됩니다. 필요한 경우 이를 프로필의 기본 규칙 체인으로 설정하면 해당 프로필의 엔티티가 이 규칙 체인을 통해 라우팅됩니다.", + "rule-chain-set-as-profile-default-toggle": "프로필 기본 규칙 체인으로 설정", + "rule-chain-set-as-profile-default-tooltip": "활성화하면 선택한 프로필의 모든 엔티티가 이 규칙 체인을 통해 메시지를 라우팅합니다.", + "rule-chain-overwrite-title": "기존 기본 규칙 체인을 교체하시겠습니까?", + "rule-chain-overwrite-body": "프로필 {{profile}}은(는) 현재 {{existing}}을(를) 기본 규칙 체인으로 사용하고 있습니다. 설치하면 이 규칙 체인으로 교체됩니다.", + "rule-chain-overwrite-replace": "교체", + "install": "설치", + "open": "열기", + "built-in": "기본 제공", + "built-in-lookup-failed-title": "이 구성 요소를 확인할 수 없습니다", + "built-in-lookup-failed-text": "'{{name}}'이(가) 이 인스턴스에 이미 있는지 확인하지 못했습니다. 아무것도 설치되지 않았습니다 — 다시 시도하세요.", + "built-in-missing-title": "이 인스턴스에서 사용할 수 없음", + "built-in-missing-text": "'{{name}}'은(는) 일반적으로 ThingsBoard에 기본 포함되어 있지만 이 인스턴스에는 없습니다 — 시스템 관리자가 삭제했을 수 있습니다. 대신 IoT Hub에서 설치할 수 있습니다.", + "connect": "연결", + "connect-device": "장치 연결", + "installing": "설치 중...", + "installing-title": "'{{name}}' 설치 중", + "installed": "설치됨", + "install-success": "{{name}}이(가) 설치되었습니다", + "install-success-title": "설치 성공", + "install-success-message": "'{{name}}' v{{version}}이(가) 설치되었습니다.", + "install-error": "{{name}}을(를) 설치하지 못했습니다", + "solution-install-title": "솔루션 템플릿이 설치되었습니다", + "solution-instructions": "솔루션 안내", + "goto-main-dashboard": "메인 대시보드로 이동", + "install-error-title": "설치 실패", + "install-error-message": "'{{name}}'을(를) 설치하지 못했습니다.", + "install-dependency-error": "종속성 '{{name}}'을(를) 설치하지 못했습니다: {{error}}", + "install-plan-title": "'{{name}}' 및 해당 종속성 설치", + "install-plan-will-install": "항목 {{count}}개가 설치됩니다.", + "install-plan-will-update": "항목 {{count}}개는 이미 설치되어 있으므로 건너뜁니다.", + "install-plan-missing-warning": "필수 항목 {{count}}개를 마켓플레이스에서 찾을 수 없습니다. 이 항목이 없으면 '{{ name }}'이(가) 완전히 작동하지 않을 수 있습니다.", + "install-plan-status-will": "설치", + "install-plan-status-installed": "이미 설치됨", + "install-plan-status-missing": "누락됨", + "install-plan-confirm": "설치", + "install-partial-title": "경고와 함께 설치됨", + "install-partial-desc": "'{{name}}'이(가) 설치되었지만 일부 필수 항목이 누락되었습니다.", + "install-rollback-partial": "실패 전에 설치된 일부 항목을 자동으로 제거할 수 없어 수동으로 삭제해야 할 수 있습니다.", + "check-for-updates": "업데이트 확인", + "updates": "업데이트", + "up-to-date": "최신 상태", + "update": "업데이트", + "update-to-version": "v {{ version }}(으)로 업데이트", + "update-item-title": "항목 업데이트", + "update-confirm": "'{{name}}'을(를) 버전 {{version}}(으)로 업데이트하시겠습니까?", + "update-confirm-title": "'{{name}}'을(를) 업데이트하시겠습니까?", + "update-desc": "업데이트하면 현재 버전이 최신 버전으로 교체되고 테넌트 내의 관련 리소스가 다시 구성됩니다", + "update-desc-solution-template": "이 솔루션 템플릿을 업데이트하면 대시보드, 규칙 체인, 장치 및 테넌트 내의 기타 관련 리소스를 포함하여 템플릿이 생성한 모든 엔티티가 삭제된 후 다시 생성됩니다. 해당 엔티티에 적용한 변경 사항은 모두 손실됩니다", + "update-success-desc": "'{{name}}'이(가) 업데이트되었습니다", + "updating": "업데이트 중...", + "update-success-title": "업데이트 성공", + "update-success-message": "'{{name}}'이(가) 버전 {{version}}(으)로 업데이트되었습니다.", + "entity-modified-title": "엔티티 수정됨", + "entity-modified-text": "{{type}}이(가) 로컬에서 수정되었습니다. 그래도 업데이트하시겠습니까?", + "update-error-title": "업데이트 실패", + "update-error-message": "'{{name}}'을(를) 업데이트하지 못했습니다.", + "update-error": "{{name}}을(를) 업데이트하지 못했습니다", + "most-popular": "가장 인기 있음", + "all": "모두", + "installed-items": "설치된 항목", + "installed-items-for": "\"{{name}}\"의 설치된 항목", + "search-installed-items": "설치된 항목 검색...", + "item-name": "이름", + "item-type": "유형", + "item-version": "버전", + "installed-date": "설치일", + "no-installed-items": "설치된 항목이 없습니다", + "no-installed-items-text": "검색어 또는 필터를 조정해 보세요.", + "remove-installed-item-title": "설치된 항목 제거", + "remove-installed-item-text": "'{{name}}'을(를) 제거하시겠습니까? 설치된 엔티티도 함께 제거됩니다.", + "installed-item-removed": "'{{name}}'이(가) 제거되었습니다", + "installed-item-remove-error": "'{{name}}'을(를) 제거하지 못했습니다", + "open-installed-entity": "설치된 엔티티 열기", + "view-item-details": "항목 세부 정보 보기", + "review-device-instructions": "장치 지침 검토", + "open-item-type": "{{type}} 열기", + "back-to-marketplace": "마켓플레이스로 돌아가기", + "device-install-select-connectivity": "장치의 연결 방법을 선택하세요", + "connection-method": "연결 방법", + "step-prerequisites": "사전 요구 사항", + "step-configuration": "구성", + "step-provisioning": "프로비저닝", + "device-install-step-error": "실패", + "device-install-step-pending": "대기 중", + "device-install-step-running": "생성 중...", + "device-install-step-success": "생성됨", + "device-install-step-type-DASHBOARD": "대시보드", + "device-install-step-type-DEVICE": "장치", + "device-install-step-type-DEVICE_PROFILE": "장치 프로필", + "device-install-step-type-GATEWAY": "Gateway", + "device-install-step-type-GATEWAY_CONNECTOR": "Gateway 커넥터", + "device-install-step-type-RULE_CHAIN": "규칙 체인", + "device-install-step-type-UPLINK_CONVERTER": "업링크 변환기", + "device-install-step-type-DOWNLINK_CONVERTER": "다운링크 변환기", + "device-install-step-type-INTEGRATION": "통합", + "use-secret": "시크릿 사용", + "use-plain-text": "일반 텍스트 사용", + "device-install-conflict-exists": "이 이름의 {{type}}이(가) 이미 존재합니다", + "device-install-use-existing": "기존 항목 사용", + "device-install-overwrite": "덮어쓰기", + "device-install-create-copy": "사본 생성", + "device-install-resolution-created": "생성됨", + "device-install-resolution-use-existing": "기존 항목 사용됨", + "device-install-resolution-overwrite": "덮어씀", + "device-install-resolution-create-copy": "사본 생성됨", + "device-install-title": "\"{{name}}\" 연결", + "device-installing-title": "\"{{name}}\" 설치 중", + "done": "완료", + "in-progress": "진행 중", + "item-detail": "IoT Hub 항목", + "unpublished-warning-title": "게시되지 않은 콘텐츠", + "unpublished-warning-text": "게시되지 않은 콘텐츠의 미리 보기입니다. 이 콘텐츠는 IoT Hub의 검토를 거치지 않았습니다. 검증되지 않은 콘텐츠를 설치하면 보안 및 안정성 위험이 발생할 수 있습니다 — 작성자를 신뢰하는 경우에만 계속하세요.", + "unpublished-warning-confirm": "위험을 이해했으며 계속합니다", + "unpublished-preview": "게시되지 않은 미리 보기", + "deep-link-invalid-id": "잘못된 IoT Hub 항목 링크입니다.", + "deep-link-not-found": "이 IoT Hub 항목이 존재하지 않거나 제거되었습니다.", + "deep-link-fetch-failed": "IoT Hub 항목을 불러올 수 없습니다. 다시 시도하세요.", + "export-to-iot-hub": "IoT Hub로 내보내기" + }, + "item-data": { + "widget-type-timeseries": "시계열", + "widget-type-latest": "최신", + "widget-type-rpc": "제어", + "widget-type-alarm": "알람", + "widget-type-static": "정적", + "cf-type-simple": "간단", + "cf-type-script": "스크립트", + "cf-type-geofencing": "지오펜싱", + "cf-type-alarm": "알람", + "cf-type-propagation": "전파", + "cf-type-related-entities-aggregation": "관련 엔티티 집계", + "cf-type-entity-aggregation": "엔티티 집계", + "rule-chain-type-core": "코어", + "rule-chain-type-edge": "Edge", + "node-type-enrichment": "보강", + "node-type-filter": "필터", + "node-type-transformation": "변환", + "node-type-action": "액션", + "node-type-analytics": "분석", + "node-type-external": "외부", + "node-type-flow": "흐름", + "node-type-unknown": "알 수 없음" }, "js-func": { "no-return-error": "함수는 값을 반환해야 합니다!", "return-type-mismatch": "함수는 '{{type}}' 유형의 값을 반환해야 합니다!", - "tidy": "깔끔한", - "mini": "미니", + "tidy": "정리", + "mini": "축소", "modules": "모듈", "remove-module": "모듈 제거", "no-modules": "구성된 모듈 없음", @@ -4249,11 +6606,13 @@ "key-val": { "key": "키", "value": "값", - "remove-entry": "앤트리 삭제", - "add-entry": "앤트리 추가", - "no-data": "앤트리 없음" + "remove-entry": "항목 제거", + "add-entry": "항목 추가", + "no-data": "항목 없음" }, "layout": { + "switch-to-html-page-title": "HTML 페이지로 전환하시겠습니까?", + "switch-to-html-page-text": "HTML 페이지가 이 상태의 위젯 그리드를 대체합니다. 해당 레이아웃에 배치된 { count, plural, =1 {위젯 1개} other {위젯 #개} }가 이 상태에서 제거됩니다.", "layout": "레이아웃", "layouts": "레이아웃", "manage": "레이아웃 관리", @@ -4283,7 +6642,7 @@ "copy-from": "복사 원본", "size": "크기", "delete-breakpoint-title": "브레이크포인트 '{{name}}'을(를) 삭제하시겠습니까?", - "delete-breakpoint-text": "참고: 확인 후 중단점을 복구할 수 없게 되며 설정이 기본 중단점으로 되돌아갑니다." + "delete-breakpoint-text": "참고: 확인 후 브레이크포인트를 복구할 수 없게 되며 설정이 기본 브레이크포인트로 되돌아갑니다." }, "legend": { "direction": "범례 방향", @@ -4314,10 +6673,10 @@ "comparison-time-ago": { "previousInterval": "(이전 간격)", "customInterval": "(사용자 지정 간격)", - "days": "(일 전)", - "weeks": "(주 전)", - "months": "(달 전)", - "years": "(년 전)" + "days": "(1일 전)", + "weeks": "(1주 전)", + "months": "(1개월 전)", + "years": "(1년 전)" }, "column-title": "열 제목", "label": "라벨", @@ -4325,7 +6684,7 @@ }, "login": { "login": "로그인", - "request-password-reset": "비밀번호 재설정", + "request-password-reset": "비밀번호 재설정 요청", "reset-password": "비밀번호 재설정", "create-password": "비밀번호 생성", "two-factor-authentication": "2단계 인증", @@ -4334,14 +6693,16 @@ "sign-in": "로그인", "username": "사용자명 (이메일)", "remember-me": "아이디 저장", - "forgot-password": "비밀번호찾기", + "forgot-password": "비밀번호를 잊으셨습니까?", "password-reset": "비밀번호 재설정", - "expired-password-reset-message": "당신의 자격 증명이 만료되었습니다! 새로운 비밀번호를 생성하세요.", + "expired-password-reset-message": "비밀번호가 만료되었습니다! \n새 비밀번호를 입력하세요.", "new-password": "새 비밀번호", "new-password-again": "새 비밀번호 확인", "password-link-sent-message": "비밀번호 재설정 링크가 성공적으로 전송되었습니다!", "email": "이메일", - "invalid-email-format": "잘못된 Email 형식입니다.", + "invalid-email-format": "잘못된 이메일 형식입니다.", + "no-account": "계정이 없습니까?", + "create-account": "계정 생성", "sign-in-with": "{{name}}(으)로 로그인", "sign-in-to-your-account": "계정에 로그인하세요", "or": "또는", @@ -4353,12 +6714,13 @@ "try-another-way": "다른 방법 시도", "totp-auth-description": "인증기 앱에서 보안 코드를 입력하세요.", "totp-auth-placeholder": "코드", - "sms-auth-description": "보안 코드가 {{contact}}의 전화번호로 전송되었습니다.", + "sms-auth-description": "보안 코드가 전화번호 {{contact}}(으)로 전송되었습니다.", "sms-auth-placeholder": "SMS 코드", - "email-auth-description": "보안 코드가 {{contact}}의 이메일 주소로 전송되었습니다.", + "email-auth-description": "보안 코드가 이메일 주소 {{contact}}(으)로 전송되었습니다.", "email-auth-placeholder": "이메일 코드", "backup-code-auth-description": "백업 코드 중 하나를 입력하세요.", "backup-code-auth-placeholder": "백업 코드", + "version-mask": "{{name}} v.{{version}}", "activation-link-expired": "활성화 링크가 만료되었습니다", "activation-link-expired-message": "프로필 활성화 링크가 만료되었습니다. 로그인 페이지로 돌아가서 새 이메일을 받을 수 있습니다.", "reset-password-link-expired": "비밀번호 재설정 링크가 만료되었습니다", @@ -4391,7 +6753,7 @@ "email-label": "이메일", "email-description": "인증기로 사용할 이메일을 입력하세요.", "sms-description": "인증기로 사용할 전화번호를 입력하세요.", - "backup-code-description": "코드를 인쇄하여 계정에 로그인할 때 필요할 때 사용할 수 있도록 하세요. 각 백업 코드는 한 번만 사용할 수 있습니다.", + "backup-code-description": "계정에 로그인할 때 바로 사용할 수 있도록 코드를 인쇄해 두세요. 각 백업 코드는 한 번만 사용할 수 있습니다.", "backup-code-warn": "이 페이지를 떠나면 이 코드를 다시 볼 수 없습니다. 아래 옵션을 사용하여 안전하게 보관하세요.", "download-txt": "다운로드 (txt)", "print": "인쇄", @@ -4408,12 +6770,123 @@ "phone-input-hint": "E.164 형식의 전화번호 (예: {{phoneNumber}})" } }, + "signup": { + "firstname": "이름", + "lastname": "성", + "email": "이메일", + "signup": "회원가입", + "create-password": "비밀번호 생성", + "repeat-password": "비밀번호 재입력", + "have-account": "이미 계정이 있습니까?", + "signin": "로그인", + "no-captcha-message": "로봇이 아님을 확인해야 합니다", + "password-length-message": "비밀번호는 6자 이상이어야 합니다", + "email-verification": "이메일 인증", + "email-verification-message": "인증 세부 정보가 포함된 이메일이 지정한 이메일 주소로 전송되었습니다.
가입 절차를 완료하려면 이메일에 안내된 지침을 따르세요.
참고: 한동안 이메일이 보이지 않으면 '스팸' 폴더를 확인하거나 '재전송' 버튼을 클릭하여 이메일을 다시 보내세요.", + "account-activation-title": "계정 활성화", + "account-activated": "계정이 성공적으로 활성화되었습니다!", + "account-activated-text": "축하합니다!
계정이 활성화되었습니다.", + "resend": "재전송", + "inactive-user-exists-title": "비활성 사용자가 이미 존재합니다", + "inactive-user-exists-text": "인증되지 않은 이메일 주소로 이미 등록된 사용자가 있습니다.
인증 이메일을 다시 보내려면 '재전송' 버튼을 클릭하세요.", + "activating-account": "계정 활성화 중...", + "activating-account-text": "계정을 활성화하는 중입니다. 잠시 기다려 주세요...", + "accept-privacy-policy": "개인정보 처리방침 동의", + "accept": "동의", + "and": "및", + "privacy-policy": "개인정보 처리방침", + "accept-privacy-policy-message": "개인정보 처리방침에 동의해야 합니다", + "recaptcha-title": "reCAPTCHA", + "terms-of-use": "이용 약관", + "accept-terms-of-use-message": "이용 약관에 동의해야 합니다", + "accept-privacy-policy-and-terms-of-use-message": "개인정보 처리방침 및 이용 약관에 동의해야 합니다", + "firstname-max-length": "이름은 256자 미만이어야 합니다", + "lastname-max-length": "성은 256자 미만이어야 합니다", + "firstname-required": "이름은 필수 항목입니다.", + "lastname-required": "성은 필수 항목입니다." + }, "markdown": { "edit": "수정", "preview": "미리보기", "copy-code": "클릭하여 복사", "copied": "복사됨!" }, + "white-labeling": { + "white-labeling": "화이트 라벨링", + "white-labeling-general": "일반 화이트 라벨링", + "login-white-labeling": "로그인 화이트 라벨링", + "general": "일반", + "login": "로그인", + "preview": "미리 보기", + "app-title": "애플리케이션 제목", + "favicon": "웹사이트 아이콘", + "favicon-desc": "브라우저 탭과 북마크에 표시되는 아이콘입니다. PNG 또는 ICO, 32×32px 권장", + "logo": "로고", + "logo-desc": "SVG 또는 PNG, 높이 96px 이상, 최대 200KB", + "logo-height": "로고 높이", + "logo-height-desc": "로고의 크기를 비율에 맞게 조정하고 가운데에 배치합니다. 세로로 긴 로고는 높이를 늘리세요(최대 200px)", + "collapsed-logo": "접힌 사이드바 로고", + "collapsed-logo-desc": "정사각형 SVG 또는 PNG, 48×48px 이상, 최대 100KB", + "appearance": "모양", + "application-shell": "애플리케이션 셸", + "application-shell-desc": "사이드바, 앱 바, 페이지 제목에 기본 색상을 적용하는 방식을 선택하세요", + "light": "라이트", + "primary": "기본", + "primary-palette": "기본 팔레트", + "primary-palette-desc": "주요 브랜드 색상. 사이드바, 앱 바, 페이지 제목, 버튼, 링크, 활성 메뉴 항목", + "accent-palette": "강조 팔레트", + "accent-palette-desc": "체크박스, 라디오 버튼, 토글, 슬라이더, 진행률 표시줄, 배지", + "customize-palette": "사용자 지정", + "advanced-css": "고급 CSS", + "advanced-css-desc": "팔레트 외에 아이콘, 글꼴, 배경, 스크롤바 등 모든 UI 요소를 세밀하게 조정하기 위한 사용자 지정 CSS입니다. 변경 사항은 플랫폼 전체에 적용되므로 주의해서 사용하세요. 고급 사용자용", + "add-custom-css": "사용자 지정 CSS 추가", + "edit-custom-css": "사용자 지정 CSS 편집", + "edit-palette": "팔레트 편집", + "save-palette": "팔레트 저장", + "primary-background": "기본 배경", + "secondary-background": "보조 배경", + "hue1": "색조 1", + "hue2": "색조 2", + "hue3": "색조 3", + "page-background-color": "페이지 배경색", + "page-background-color-desc": "페이지 뒤의 기본 콘텐츠 영역을 채웁니다.", + "dark-foreground": "어두운 전경", + "dark-foreground-desc": "로그인 페이지의 텍스트와 아이콘을 어둡게 표시합니다. 밝은 배경과 함께 사용하세요.", + "domain-name": "도메인 이름", + "base-url": "기본 URL", + "base-url-required": "기본 URL은 필수 항목입니다.", + "prohibit-different-url": "클라이언트 요청 헤더의 호스트 이름 사용 금지", + "prohibit-different-url-hint": "이 설정은 프로덕션 환경에서 활성화되어야 합니다. 비활성화되면 보안 문제가 발생할 수 있습니다.", + "help-link-base-url": "도움말 링크 기본 URL", + "help-link-base-url-desc": "외부 문서 포털의 기본 URL입니다. 사용자는 자세한 가이드를 보기 위해 이 주소로 리디렉션됩니다.", + "ui-help-base-url": "UI 도움말 기본 URL", + "ui-help-base-url-desc": "시스템이 간단한 인앱 툴팁을 동적으로 가져와 표시하는 데 사용하는 소스 저장소 URL입니다.", + "enable-help-links": "도움말 링크 활성화", + "enable-help-links-desc": "플랫폼 인터페이스 전체에 상황별 도움말 아이콘(?)을 표시합니다.", + "error-verification-url": "도메인 이름에는 '/' 및 ':' 기호를 사용할 수 없습니다. 예: thingsboard.io", + "show-connectivity-dialog": "연결 대화 상자 표시", + "show-connectivity-dialog-desc": "장치 생성 후 연결 방법이 포함된 장치 연결 대화 상자를 표시합니다", + "override-trendz-add-on-name": "Trendz 분석 애드온 이름 재정의", + "override-trendz-add-on-name-desc": "플랫폼 전체에서 \"Trendz\" 애드온 이름을 \"고급 분석\"으로 변경합니다", + "show-platform-name-version-bottom-left-corner": "왼쪽 하단에 플랫폼 이름 및 버전 표시", + "show-platform-name-version": "플랫폼 이름 및 버전 표시", + "platform-name": "플랫폼 이름", + "platform-version": "플랫폼 버전", + "version-mask": "{{name}} v.{{version}}", + "position": { + "label": "플랫폼 이름 및 버전 위치", + "under-logo": "로고 아래", + "bottom": "로그인 양식 하단" + }, + "reset-white-label-title": "화이트 라벨링 설정을 기본값으로 재설정하시겠습니까?", + "reset-white-label-text": "주의하세요. 확인 후에는 사용자 지정된 모든 설정이 손실되며 복구할 수 없습니다.", + "reset-login-white-label-title": "로그인 화이트 라벨링 설정을 기본값으로 재설정하시겠습니까?", + "reset-login-white-label-text": "주의하세요. 확인 후에는 사용자 지정된 모든 설정이 손실되며 복구할 수 없습니다.", + "app-title-max-length": "애플리케이션 제목은 256자 미만이어야 합니다", + "logo-and-titles": "로고 및 제목", + "interface-options": "인터페이스 옵션", + "domain": "도메인" + }, "mobile": { "add-application": "애플리케이션 추가", "app-id": "앱 사이트 연결 ID", @@ -4423,8 +6896,8 @@ "app-store-link-required": "App Store 링크가 필요합니다", "application-details": "애플리케이션 상세", "application-package": "애플리케이션 패키지", - "application-secret": "애플리케이션 시크릿", - "application-secret-required": "애플리케이션 시크릿이 필요합니다", + "application-secret": "애플리케이션 비밀키", + "application-secret-required": "애플리케이션 비밀키가 필요합니다", "application": "애플리케이션", "applications": "애플리케이션", "copy-app-id": "앱 ID 복사", @@ -4435,7 +6908,7 @@ "copy-sha256-certificate-fingerprints": "SHA256 인증서 지문 복사", "delete-application": "애플리케이션 삭제", "delete-application-button-text": "결과를 이해하며 애플리케이션을 삭제합니다", - "delete-application-text": "이 작업은 취소할 수 없습니다. 애플리케이션이 영구적으로 삭제됩니다.
영구 삭제하지 않으려면 애플리케이션을 임시로 중단할 수 있습니다.
그래도 애플리케이션을 삭제하려면 \"{{phrase}}\"를 입력하여 확인하세요.", + "delete-application-text": "이 작업은 실행 취소할 수 없습니다. 애플리케이션이 영구적으로 삭제됩니다.
영구 삭제하지 않으려면 애플리케이션을 임시로 일시 중지할 수 있습니다.
그래도 애플리케이션을 삭제하려면 \"{{phrase}}\"을(를) 입력하여 확인하세요.", "delete-application-title-short": "애플리케이션 '{{name}}'을(를) 삭제하시겠습니까?", "delete-application-text-short": "주의: 확인 후 애플리케이션과 모든 관련 데이터를 복구할 수 없게 됩니다.", "delete-application-phrase": "애플리케이션 삭제", @@ -4448,6 +6921,7 @@ "min-version": "최소 버전", "invalid-version-pattern": "잘못된 버전 형식입니다. major.minor.patch 형식을 사용하세요 (예: 1.0.0).", "mobile-center": "모바일 센터", + "mobile-apps": "모바일 앱", "mobile-package": "애플리케이션 패키지", "mobile-package-max-length": "애플리케이션 패키지는 256자 미만이어야 합니다", "mobile-package-required": "애플리케이션 패키지가 필요합니다.", @@ -4489,7 +6963,7 @@ "ios-application": "iOS 애플리케이션", "invalid-store-link": "잘못된 스토어 링크입니다.", "enable-oauth": "OAuth 2.0 활성화", - "enable-self-registration": "셀프 등록 활성화", + "enable-self-registration": "자체 등록 활성화", "edit-bundle": "번들 편집", "description": "설명", "basic-settings": "기본 설정", @@ -4529,7 +7003,7 @@ "edit-custom-page": "사용자 지정 페이지 편집", "delete-page": "페이지 삭제", "qr-code-widget": "QR 코드 위젯", - "type-here": "유형 히어로", + "type-here": "여기에 입력", "configuration-dialog": "구성 대화상자", "configuration-app": "구성 앱", "configuration-step": { @@ -4544,9 +7018,38 @@ "run-app-text": "IDE에 설명된 대로 앱을 실행하세요.\n터미널을 사용하는 경우 다음 명령으로 앱을 실행하세요:", "more-information": "자세한 정보는 시작하기 문서에서 찾을 수 있습니다.", "getting-started": "시작하기" + }, + "self-registration": { + "add-field": "필드 추가", + "advanced-settings": "고급 설정", + "captcha-properties": "캡차 속성", + "customer-group": "고객 그룹", + "customer-title-prefix": "고객 제목 접두사", + "field-type": "필드 유형", + "label": "레이블", + "no-customer-groups-matching": "'{{entityGroup}}'와(과) 일치하는 고객 그룹을 찾을 수 없습니다.", + "page-title": "페이지 제목", + "page-title-required": "페이지 제목은 필수 항목입니다.", + "page-title-cannot-contain-only-spaces": "페이지 제목은 공백만으로 구성될 수 없습니다", + "page-title-max-length": "페이지 제목은 256자 미만이어야 합니다", + "redirect-settings": "리디렉션 설정", + "registration-form-field": "등록 양식 필드", + "remove-registration-field": "등록 필드 제거", + "required": "필수", + "self-registration": "자체 등록", + "reset-self-registration-title": "자체 등록 설정을 기본값으로 재설정하시겠습니까?", + "reset-self-registration-text": "주의하세요. 확인 후에는 모든 설정이 손실되며 복구할 수 없습니다." } }, + "monitor": { + "monitor": "모니터" + }, "notification": { + "ai-assistant-initial-prompt-placeholder": "설정하려는 내용을 설명해 주세요...", + "ai-assistant-example-explain-label": "알림 작동 방식", + "ai-assistant-example-explain-message": "ThingsBoard에서 알림이 작동하는 방식을 설명하세요.", + "ai-assistant-example-inactivity-label": "장치 오프라인 이메일", + "ai-assistant-example-inactivity-message": "내 장치 중 하나가 비활성 상태가 되면 나에게 이메일을 보내는 알림 규칙을 만들어 주세요.", "action-button": "액션 버튼", "action-type": "액션 유형", "active": "활성", @@ -4586,23 +7089,23 @@ "delete-notification-text": "주의: 확인 후 알림을 복구할 수 없게 됩니다.", "delete-notification-title": "알림을 삭제하시겠습니까?", "delete-notifications-text": "주의: 확인 후 알림을 복구할 수 없게 됩니다.", - "delete-notifications-title": "{ count, plural, =1 {1개 알림} other {#개 알림} }을(를) 삭제하시겠습니까?", + "delete-notifications-title": "{ count, plural, =1 {알림 1개} other {알림 #개} }를 삭제하시겠습니까?", "delete-recipient-text": "주의: 확인 후 수신자를 복구할 수 없게 됩니다.", "delete-recipient-title": "수신자 '{{recipientName}}'을(를) 삭제하시겠습니까?", "delete-recipients-text": "주의: 확인 후 수신자를 복구할 수 없게 됩니다.", - "delete-recipients-title": "{ count, plural, =1 {1개 수신자} other {#개 수신자} }를 삭제하시겠습니까?", + "delete-recipients-title": "{ count, plural, =1 {수신자 1개} other {수신자 #개} }를 삭제하시겠습니까?", "delete-request-text": "주의: 확인 후 요청을 복구할 수 없게 됩니다.", "delete-request-title": "요청을 삭제하시겠습니까?", "delete-requests-text": "주의: 확인 후 요청을 복구할 수 없게 됩니다.", - "delete-requests-title": "{ count, plural, =1 {1개 요청} other {#개 요청} }을(를) 삭제하시겠습니까?", + "delete-requests-title": "{ count, plural, =1 {요청 1개} other {요청 #개} }를 삭제하시겠습니까?", "delete-rule-text": "주의: 확인 후 규칙을 복구할 수 없게 됩니다.", "delete-rule-title": "규칙 '{{ruleName}}'을(를) 삭제하시겠습니까?", "delete-rules-text": "주의: 확인 후 규칙을 복구할 수 없게 됩니다.", - "delete-rules-title": "{ count, plural, =1 {1개 규칙} other {#개 규칙} }을(를) 삭제하시겠습니까?", + "delete-rules-title": "{ count, plural, =1 {규칙 1개} other {규칙 #개} }를 삭제하시겠습니까?", "delete-template-text": "주의: 확인 후 템플릿을 복구할 수 없게 됩니다.", "delete-template-title": "템플릿 '{{templateName}}'을(를) 삭제하시겠습니까?", "delete-templates-text": "주의: 확인 후 템플릿을 복구할 수 없게 됩니다.", - "delete-templates-title": "{ count, plural, =1 {1개 템플릿} other {#개 템플릿} }을(를) 삭제하시겠습니까?", + "delete-templates-title": "{ count, plural, =1 {템플릿 1개} other {템플릿 #개} }를 삭제하시겠습니까?", "deleted": "삭제됨", "delivery-method": { "delivery-method": "전달 방법", @@ -4622,20 +7125,22 @@ "delivery-method-not-configure-click": "전달 방법이 구성되지 않았습니다. 클릭하여 설정하세요.", "delivery-method-not-configure-contact": "전달 방법이 구성되지 않았습니다. 시스템 관리자에게 문의하세요.", "delivery-methods": "전달 방법", + "attach-report": "보고서 첨부", + "attach-report-hint": "보고서 파일을 생성하여 이메일 또는 Slack 메시지에 첨부합니다. 현재 '이메일' 및 'Slack' 전달 방법에서만 사용할 수 있습니다.", "description": "설명", "device-activity-trigger-settings": "장치 활성 트리거 설정", "device-list-rule-hint": "필드가 비어 있으면 트리거가 모든 장치에 적용됩니다.", "device-profiles-list-rule-hint": "필드가 비어 있으면 트리거가 모든 장치 프로필에 적용됩니다", "disabled": "비활성화됨", "edge-trigger-settings": "Edge 트리거 설정", - "edge-list-rule-hint": "필드가 비어 있으면 트리거가 모든 엣지 인스턴스에 적용됩니다", + "edge-list-rule-hint": "필드가 비어 있으면 트리거가 모든 Edge 인스턴스에 적용됩니다", "edit-notification-recipients-group": "알림 수신자 그룹 편집", "edit-notification-template": "알림 템플릿 편집", "edit-rule": "규칙 편집", "edit-template": "템플릿 편집", - "enabled": "사용", + "enabled": "활성화됨", "entities-limit-trigger-settings": "엔티티 제한 트리거 설정", - "entity-action-trigger-settings": "엔티티 동작 트리거 설정", + "entity-action-trigger-settings": "엔티티 액션 트리거 설정", "entity-type": "엔티티 유형", "escalation-chain": "에스컬레이션 체인", "failed-send": "전송 실패", @@ -4647,6 +7152,8 @@ "notification-inbox": "알림 / 받은편지함", "input-field-support-templatization": "입력 필드는 템플릿화를 지원합니다.", "input-fields-support-templatization": "입력 필드는 템플릿화를 지원합니다.", + "integration-action-trigger-settings": "통합 이벤트 트리거 설정", + "integration-list-rule-hint": "필드가 비어 있으면 트리거가 모든 통합에 적용됩니다", "link": "링크", "link-required": "링크는 필수 항목입니다.", "link-max-length": "링크는 {{ length }}자 이하여야 합니다.", @@ -4679,23 +7186,25 @@ "create-new-template": "새로 만들기!", "not-found-slack-recipient": "Slack 수신자를 찾을 수 없음", "notification": "알림", + "notifications": "알림", "notification-center": "알림 센터", - "notification-tap-action": "알림 탭 동작", + "notification-tap-action": "알림 탭 액션", "notification-tap-action-hint": "비활성화하면 기본 알람 대시보드가 사용됩니다.", "notify": "알림", "notify-again": "다시 알림", "notify-alarm-action": { - "acknowledged": "확인", + "acknowledged": "알람 확인됨", "assigned": "알람 할당됨", - "cleared": "해제", + "cleared": "알람 해제됨", "created": "알람 생성됨", "severity-changed": "알람 심각도 변경됨", - "unassigned": "알람 할당 해제" + "unassigned": "알람 할당 해제됨" }, - "notify-on": "알림 설정", + "notify-on": "알림 조건", "notify-on-comment-update": "댓글 업데이트 시 알림", - "notify-on-required": "알림 설정은 필수 항목입니다.", + "notify-on-required": "알림 조건은 필수 항목입니다.", "notify-on-unassign": "할당 해제 시 알림", + "notify-only-integrations-errors": "오류 발생 시에만 알림", "notify-only-user-comments": "사용자 댓글에만 알림", "only-rule-chain-lifecycle-failures": "규칙 체인 수명 주기 실패만", "only-rule-node-lifecycle-failures": "규칙 노드 수명 주기 실패만", @@ -4713,16 +7222,18 @@ "system-administrators": "시스템 관리자", "tenant-administrators": "테넌트 관리자", "user-filters": "사용자 필터", + "user-group-list": "사용자 그룹 목록", "user-list": "사용자 목록", + "user-role": "사용자 역할", "users-entity-owner": "엔티티 소유자의 사용자" }, "recipients": "수신자", "notification-recipient": "알림 수신자", "notification-recipient-required": "알림 수신자는 필수 항목입니다.", "notification-recipients": "알림 / 수신자", - "recipients-count": "{ count, plural, =1 {1명 수신자} other {#명 수신자} }", + "recipients-count": "{ count, plural, =1 {수신자 1개} other {수신자 #개} }", "recipients-required": "수신자는 필수 항목입니다.", - "refresh-allow-delivery-method": "전달 방법 새로고침 허용", + "refresh-allow-delivery-method": "허용된 전달 방법 새로고침", "request-search": "요청 검색", "request-status": { "processing": "처리 중", @@ -4747,11 +7258,11 @@ "search-rules": "규칙 검색", "search-templates": "템플릿 검색", "see-documentation": "문서 보기", - "selected-notifications": "{ count, plural, =1 {1개 알림} other {#개 알림} } 선택됨", - "selected-recipients": "{ count, plural, =1 {1명 수신자} other {#명 수신자} } 선택됨", - "selected-requests": "{ count, plural, =1 {1개 요청} other {#개 요청} } 선택됨", - "selected-rules": "{ count, plural, =1 {1개 규칙} other {#개 규칙} } 선택됨", - "selected-template": "{ count, plural, =1 {1개 템플릿} other {#개 템플릿} } 선택됨", + "selected-notifications": "{ count, plural, =1 {알림 1개} other {알림 #개} } 선택됨", + "selected-recipients": "{ count, plural, =1 {수신자 1개} other {수신자 #개} } 선택됨", + "selected-requests": "{ count, plural, =1 {요청 1개} other {요청 #개} } 선택됨", + "selected-rules": "{ count, plural, =1 {규칙 1개} other {규칙 #개} } 선택됨", + "selected-template": "{ count, plural, =1 {템플릿 1개} other {템플릿 #개} } 선택됨", "send-notification": "알림 전송", "sent": "전송됨", "setup": "설정", @@ -4781,16 +7292,23 @@ "device-activity": "장치 활동", "entities-limit": "엔티티 한도", "entities-limit-increase-request": "엔티티 한도 증가 요청", - "entity-action": "엔티티 작업", + "addon-access-error": "애드온/기능 액세스 오류", + "addon-access-request": "애드온/기능 액세스 요청", + "plan-upgrade-request": "플랜 업그레이드 요청", + "entity-action": "엔티티 액션", "general": "일반", + "integration-lifecycle-event": "통합 수명 주기 이벤트", "rule-engine-lifecycle-event": "규칙 엔진 수명 주기 이벤트", "rule-node": "규칙 노드", "new-platform-version": "새 플랫폼 버전", "rate-limits": "속도 제한 초과", - "edge-communication-failure": "엣지 통신 실패", - "edge-connection": "엣지 연결", + "edge-communication-failure": "Edge 통신 실패", + "edge-connection": "Edge 연결", "task-processing-failure": "작업 처리 실패", - "resources-shortage": "리소스 부족" + "resources-shortage": "리소스 부족", + "report-generated": "보고서 생성됨", + "user-activated": "사용자 활성화됨", + "user-registered": "사용자 등록됨" }, "templates": "템플릿", "notification-templates": "알림 / 템플릿", @@ -4807,12 +7325,13 @@ "api-usage-limit": "API 사용 한도", "device-activity": "장치 활동", "entities-limit": "엔티티 한도", - "entity-action": "엔티티 작업", + "entity-action": "엔티티 액션", + "integration-lifecycle-event": "통합 수명 주기 이벤트", "rule-engine-lifecycle-event": "규칙 엔진 수명 주기 이벤트", "new-platform-version": "새 플랫폼 버전", "rate-limits": "속도 제한 초과", - "edge-connection": "엣지 연결", - "edge-communication-failure": "엣지 통신 실패", + "edge-connection": "Edge 연결", + "edge-communication-failure": "Edge 통신 실패", "task-processing-failure": "작업 처리 실패", "resources-shortage": "리소스 부족", "trigger": "트리거", @@ -4825,6 +7344,9 @@ "use-old-api": "이전 API 사용", "use-template": "템플릿 사용", "view-all": "모두 보기", + "view-notification-recipients-group": "알림 수신자 그룹 보기", + "view-notification-template": "알림 템플릿 보기", + "view-rule": "규칙 보기", "warning": "경고", "webhook-url": "웹훅 URL", "webhook-url-required": "웹훅 URL이 필요합니다", @@ -4840,7 +7362,7 @@ "type": "유형", "enable-all": "모두 활성화", "disable-all": "모두 비활성화", - "delivery-not-configured": "배달 방법이 구성되지 않음" + "delivery-not-configured": "전달 방법이 구성되지 않음" } }, "ota-update": { @@ -4850,12 +7372,13 @@ "assign-software": "할당된 소프트웨어", "assign-software-required": "할당된 소프트웨어가 필요합니다", "auto-generate-checksum": "체크섬 자동 생성", + "cant-applied-group-all": "'All' 그룹에는 적용할 수 없습니다", "checksum": "체크섬", "checksum-hint": "체크섬이 비어 있으면 자동으로 생성됩니다.", "checksum-algorithm": "체크섬 알고리즘", "checksum-copied-message": "패키지 체크섬이 클립보드에 복사되었습니다.", - "change-firmware": "펌웨어 변경으로 { count, plural, =1 {1개 장치} other {#개 장치} }가 업데이트될 수 있습니다.", - "change-software": "소프트웨어 변경으로 { count, plural, =1 {1개 장치} other {#개 장치} }가 업데이트될 수 있습니다.", + "change-firmware": "펌웨어 변경으로 { count, plural, =1 {장치 1개} other {장치 #개} }가 업데이트될 수 있습니다.", + "change-software": "소프트웨어 변경으로 { count, plural, =1 {장치 1개} other {장치 #개} }가 업데이트될 수 있습니다.", "change-ota-setting-title": "OTA 설정을 변경하시겠습니까?", "chose-compatible-device-profile": "업로드된 패키지는 선택한 프로필이 있는 장치에서만 사용할 수 있습니다.", "chose-firmware-distributed-device": "장치에 배포할 펌웨어를 선택하세요.", @@ -4869,7 +7392,7 @@ "delete-ota-update-text": "주의: 확인 후 OTA 업데이트를 복구할 수 없게 됩니다.", "delete-ota-update-title": "OTA 업데이트 '{{title}}'을(를) 삭제하시겠습니까?", "delete-ota-updates-text": "주의: 확인 후 선택한 모든 OTA 업데이트가 제거됩니다.", - "delete-ota-updates-title": "{ count, plural, =1 {1개 OTA 업데이트} other {#개 OTA 업데이트} }을(를) 삭제하시겠습니까?", + "delete-ota-updates-title": "{ count, plural, =1 {OTA 업데이트 1개} other {OTA 업데이트 #개} }를 삭제하시겠습니까?", "description": "설명", "direct-url": "직접 URL", "direct-url-copied-message": "패키지 직접 URL이 클립보드에 복사되었습니다.", @@ -4893,7 +7416,7 @@ "package-type": "패키지 유형", "packages-repository": "패키지 저장소", "search": "패키지 검색", - "selected-package": "{ count, plural, =1 {1개 패키지} other {#개 패키지} } 선택됨", + "selected-package": "{ count, plural, =1 {패키지 1개} other {패키지 #개} } 선택됨", "title": "제목", "title-required": "제목을 입력하세요.", "title-max-length": "제목은 256자 미만이어야 합니다.", @@ -4953,7 +7476,7 @@ "activation-step-description-sms": "다음에 로그인할 때 전화번호로 전송될 보안 코드를 입력하라는 메시지가 표시됩니다.", "activation-step-description-totp": "다음에 로그인할 때 2단계 인증 코드를 제공해야 합니다.", "activation-step-label": "활성화", - "backup-code-description": "코드를 인쇄하여 계정에 로그인할 때 필요할 때 사용할 수 있도록 하세요. 각 백업 코드는 한 번만 사용할 수 있습니다.", + "backup-code-description": "계정에 로그인할 때 바로 사용할 수 있도록 코드를 인쇄해 두세요. 각 백업 코드는 한 번만 사용할 수 있습니다.", "backup-code-warn": "이 페이지를 떠나면 이 코드를 다시 볼 수 없습니다. 아래 옵션을 사용하여 안전하게 보관하세요.", "download-txt": "다운로드 (txt)", "email-step-description": "인증기로 사용할 이메일을 입력하세요.", @@ -4970,7 +7493,7 @@ "sms-step-label": "전화번호", "success": "성공!", "totp-step-description-install": "Google Authenticator, Authy 또는 Duo와 같은 앱을 설치할 수 있습니다.", - "totp-step-description-open": "휴대전화에서 인증기 앱을 엽니다.", + "totp-step-description-open": "휴대전화에서 인증기 앱을 여세요.", "totp-step-label": "앱 받기", "verification-code": "6자리 코드", "verification-code-invalid": "잘못된 확인 코드 형식입니다.", @@ -4991,7 +7514,7 @@ "totp-hint": "계정에 인증기 앱이 설정되었습니다", "backup_code": "백업 코드", "backup-code-description": "이 인쇄 가능한 일회용 암호는 여행 중처럼 휴대전화를 사용할 수 없을 때 로그인할 수 있도록 해줍니다.", - "backup-code-hint": "현재 {{ info }}개의 일회용 코드가 활성화되어 있습니다." + "backup-code-hint": "현재 일회용 코드 {{ info }}개가 활성화되어 있습니다." } }, "password-requirement": { @@ -5000,19 +7523,19 @@ "digit": "{ count, plural, =1 {1자리 숫자} other {#자리 숫자} }", "password-tooltip-min-length": "최소 {{minimumLength}}자 이상", "password-tooltip-max-length": "최대 {{maximumLength}}자 이하", - "password-tooltip-uppercase": "{{minimumUppercaseLetters}}개 대문자", - "password-tooltip-lowercase": "{{minimumLowercaseLetters}}개 소문자", - "password-tooltip-digit": "{{minimumDigits}}개 숫자", - "password-tooltip-special-characters": "{{minimumSpecialCharacters}}개 특수 문자", + "password-tooltip-uppercase": "대문자 {{minimumUppercaseLetters}}개", + "password-tooltip-lowercase": "소문자 {{minimumLowercaseLetters}}개", + "password-tooltip-digit": "숫자 {{minimumDigits}}개", + "password-tooltip-special-characters": "특수 문자 {{minimumSpecialCharacters}}개", "incorrect-password-try-again": "잘못된 비밀번호입니다. 다시 시도하세요.", - "lowercase-letter": "{ count, plural, =1 {1개 소문자} other {#개 소문자} }", + "lowercase-letter": "{ count, plural, =1 {소문자 1개} other {소문자 #개} }", "new-passwords-not-match": "새 비밀번호가 일치하지 않습니다.", "password-should-not-contain-spaces": "비밀번호에 공백이 포함되지 않아야 합니다.", "password-not-meet-requirements": "비밀번호가 요구 사항을 충족하지 않습니다.", "password-requirements": "비밀번호 요구 사항", "password-should-difference": "새 비밀번호는 현재 비밀번호와 달라야 합니다.", - "special-character": "{ count, plural, =1 {1개 특수 문자} other {#개 특수 문자} }", - "uppercase-letter": "{ count, plural, =1 {1개 대문자} other {#개 대문자} }", + "special-character": "{ count, plural, =1 {특수 문자 1개} other {특수 문자 #개} }", + "uppercase-letter": "{ count, plural, =1 {대문자 1개} other {대문자 #개} }", "at-most": "최대:" } }, @@ -5021,21 +7544,21 @@ "direction": "방향", "clear-relation-type": "관계 유형 지우기", "search-direction": { - "FROM": "보내는 사람", - "TO": "받는 사람" + "FROM": "발신", + "TO": "수신" }, "direction-type": { - "FROM": "보내는 사람", - "TO": "받는 사람" + "FROM": "발신", + "TO": "수신" }, "from-relations": "발신 관계", "to-relations": "수신 관계", - "selected-relations": "{ count, plural, =1 {1 개 관계} other {# 개 관계} } 선택됨", + "selected-relations": "{ count, plural, =1 {관계 1개} other {관계 #개} } 선택됨", "type": "유형", "to-entity-type": "받는 엔티티 유형", "to-entity-name": "받는 엔티티 이름", "from-entity-type": "보내는 엔티티 유형", - "from-entity-name": "받는 엔티티 이름", + "from-entity-name": "보내는 엔티티 이름", "to-entity": "받는 엔티티", "from-entity": "보내는 엔티티", "delete": "관계 삭제", @@ -5045,14 +7568,15 @@ "any-relation-type": "전체 유형", "add": "관계 추가", "edit": "관계 편집", - "delete-to-relation-title": "엔티티 '{{entityName}}'을(를) 삭제하시겠습니까?", - "delete-to-relation-text": "주의: 엔티티 '{{entityName}}'는 현재 엔티티와 관계가 해제됩니다.", - "delete-to-relations-title": "{ count, plural, =1 {1 개 관계} other {# 개 관계} }를 삭제하시겠습니까?", - "delete-to-relations-text": "주의: 모든 선택된 관계는 제거되며, 해당되는 엔티티는 현재의 엔티티와 관계가 해제됩니다.", - "delete-from-relation-title": "엔티티 '{{entityName}}'의 관계를 삭제하시겠습니까?", - "delete-from-relation-text": "주의: 현재 엔티티는 엔티티 '{{entityName}}'와의 관계가 해제됩니다.", - "delete-from-relations-title": "{ count, plural, =1 {1 개 관계} other {# 개 관계} }를 삭제하시겠습니까?", - "delete-from-relations-text": "주의: 모든 선택된 관계는 제거되며, 현제 엔티티는 해당되는 대체와 관계가 해제됩니다.", + "view": "관계 보기", + "delete-to-relation-title": "엔티티 '{{entityName}}'(으)로의 관계를 삭제하시겠습니까?", + "delete-to-relation-text": "주의: 확인 후 엔티티 '{{entityName}}'은(는) 현재 엔티티와의 관계가 해제됩니다.", + "delete-to-relations-title": "{ count, plural, =1 {관계 1개} other {관계 #개} }를 삭제하시겠습니까?", + "delete-to-relations-text": "주의: 확인 후 선택한 모든 관계가 제거되며 해당 엔티티는 현재 엔티티와의 관계가 해제됩니다.", + "delete-from-relation-title": "엔티티 '{{entityName}}'(으)로부터의 관계를 삭제하시겠습니까?", + "delete-from-relation-text": "주의: 확인 후 현재 엔티티는 엔티티 '{{entityName}}'와(과)의 관계가 해제됩니다.", + "delete-from-relations-title": "{ count, plural, =1 {관계 1개} other {관계 #개} }를 삭제하시겠습니까?", + "delete-from-relations-text": "주의: 확인 후 선택한 모든 관계가 제거되며 현재 엔티티는 해당 엔티티와의 관계가 해제됩니다.", "remove-relation-filter": "관계 필터 삭제", "remove-filter": "필터 제거", "add-relation-filter": "관계 필터 추가", @@ -5072,9 +7596,9 @@ "delete": "리소스 삭제", "delete-resource-text": "주의: 확인 후 리소스를 복구할 수 없게 됩니다.", "delete-resource-title": "리소스 '{{resourceTitle}}'을(를) 삭제하시겠습니까?", - "delete-resources-action-title": "{ count, plural, =1 {1개 리소스} other {#개 리소스} } 삭제", + "delete-resources-action-title": "{ count, plural, =1 {리소스 1개} other {리소스 #개} } 삭제", "delete-resources-text": "선택한 리소스는 장치 프로필에서 사용 중이더라도 삭제됩니다.", - "delete-resources-title": "{ count, plural, =1 {1개 리소스} other {#개 리소스} }를 삭제하시겠습니까?", + "delete-resources-title": "{ count, plural, =1 {리소스 1개} other {리소스 #개} }를 삭제하시겠습니까?", "download": "리소스 다운로드", "drop-file": "리소스 파일을 끌어다 놓거나 클릭하여 업로드할 파일을 선택하세요.", "drop-resource-file-or": "리소스 파일을 끌어다 놓거나", @@ -5090,8 +7614,9 @@ "resource-library-details": "리소스 세부 정보", "resource-type": "리소스 유형", "resources-library": "리소스 라이브러리", + "files": "파일", "search": "리소스 검색", - "selected-resources": "{ count, plural, =1 {1개 리소스} other {#개 리소스} } 선택됨", + "selected-resources": "{ count, plural, =1 {리소스 1개} other {리소스 #개} } 선택됨", "system": "시스템", "title": "제목", "title-required": "제목을 입력하세요.", @@ -5114,17 +7639,17 @@ "resources-are-in-use": "리소스가 다른 엔티티에서 사용 중입니다", "resource-is-in-use-text": "'{{title}}' 리소스가 다음 엔티티에서 사용 중이므로 삭제되지 않았습니다:", "resources-are-in-use-text": "모든 리소스가 삭제되지 않았습니다. 다른 엔티티에서 사용 중이기 때문입니다.
해당 리소스 행의 참조 버튼을 클릭하여 참조된 엔티티를 볼 수 있습니다.
이 리소스를 계속 삭제하려면 아래 표에서 선택하고 선택 삭제 버튼을 클릭하세요.", - "delete-resource-in-use-text": "리소스를 계속 삭제하려면 무조건 삭제 버튼을 클릭하세요." + "delete-resource-in-use-text": "리소스를 계속 삭제하려면 무시하고 삭제 버튼을 클릭하세요." }, "javascript": { "add": "JavaScript 리소스 추가", "delete": "JavaScript 리소스 삭제", "delete-javascript-resource-text": "주의: 확인 후 JavaScript 리소스를 복구할 수 없게 됩니다.", "delete-javascript-resource-title": "JavaScript 리소스 '{{resourceTitle}}'을(를) 삭제하시겠습니까?", - "delete-javascript-resources-action-title": "JavaScript { count, plural, =1 {1개 리소스} other {#개 리소스} } 삭제", + "delete-javascript-resources-action-title": "JavaScript { count, plural, =1 {리소스 1개} other {리소스 #개} } 삭제", "delete-javascript-resources-text": "선택한 JavaScript 리소스는 JavaScript 함수에서 사용 중이더라도 삭제됩니다.", - "delete-javascript-resources-title": "JavaScript { count, plural, =1 {1개 리소스} other {#개 리소스} }를 삭제하시겠습니까?", - "delete-javascript-resource-in-use-text": "JavaScript 리소스를 계속 삭제하려면 무조건 삭제 버튼을 클릭하세요.", + "delete-javascript-resources-title": "JavaScript { count, plural, =1 {리소스 1개} other {리소스 #개} }를 삭제하시겠습니까?", + "delete-javascript-resource-in-use-text": "JavaScript 리소스를 계속 삭제하려면 무시하고 삭제 버튼을 클릭하세요.", "download": "JavaScript 리소스 다운로드", "upload-from-file": "파일에서 JavaScript 업로드", "resource-file": "JavaScript 리소스 파일", @@ -5132,13 +7657,15 @@ "drop-resource-file-or": "JavaScript 파일을 끌어다 놓거나", "javascript-library": "JavaScript 라이브러리", "javascript-type": "JavaScript 유형", + "scripts": "스크립트", + "script-type": "스크립트 유형", "javascript-resource-details": "JavaScript 리소스 세부 정보", "javascript-resource-is-in-use": "JavaScript 리소스가 다른 엔티티에서 사용 중입니다", "javascript-resources-are-in-use": "JavaScript 리소스가 다른 엔티티에서 사용 중입니다", "javascript-resource-is-in-use-text": "'{{title}}' JavaScript 리소스가 다음 엔티티에서 사용 중이므로 삭제되지 않았습니다:", "javascript-resources-are-in-use-text": "모든 JavaScript 리소스가 삭제되지 않았습니다. 다른 엔티티에서 사용 중이기 때문입니다.
해당 리소스 행의 참조 버튼을 클릭하여 참조된 엔티티를 볼 수 있습니다.
이 JavaScript 리소스를 계속 삭제하려면 아래 표에서 선택하고 선택 삭제 버튼을 클릭하세요.", "search": "JavaScript 리소스 검색", - "selected-javascript-resources": "{ count, plural, =1 {1개 JavaScript 리소스} other {#개 JavaScript 리소스} } 선택됨", + "selected-javascript-resources": "{ count, plural, =1 {JavaScript 리소스 1개} other {JavaScript 리소스 #개} } 선택됨", "no-javascript-resource-text": "JavaScript 리소스를 찾을 수 없습니다", "all-types": "모두", "module-script": "모듈 스크립트" @@ -5153,70 +7680,82 @@ } }, "rulechain": { - "rulechain": "규칙 사슬", + "rulechain": "규칙 체인", "rulechain-events": "규칙 체인 이벤트", - "rulechains": "규칙 사슬", + "rulechains": "규칙 체인", "root": "루트", - "delete": "규칙 사슬 삭제", + "delete": "규칙 체인 삭제", "name": "이름", "name-required": "이름을 입력하세요.", "name-max-length": "이름은 256자 미만이어야 합니다.", "description": "설명", - "add": "규칙 사슬 추가", - "set-root": "규칙 사슬 루트로 전환", - "set-root-rulechain-title": "규칙 사슬 '{{ruleChainName}}'의 루트를 생성하시겠습니까?", - "set-root-rulechain-text": "규칙 사슬은 루트가 되며, 인입하는 전송 메시지를 모두 취급하게 됩니다.", - "delete-rulechain-title": "규칙 사슬 '{{ruleChainName}}'을 삭제하시겠습니까?", - "delete-rulechain-text": "주의: 규칙 사슬 및 관련된 모든 데이터의 복구가 불가능해집니다.", - "delete-rulechains-title": "{ count, plural, =1 {1 개 규칙 사슬} other {# 개 규칙 사슬} }을 삭제하시겠습니까?", - "delete-rulechains-action-title": "{ count, plural, =1 {1 개 규칙 사슬} other {# 개 규칙 사슬} } 삭제", - "delete-rulechains-text": "주의: 모든 선택된 규칙 사슬은 삭제되며, 모든 관련된 데이터는 복구가 불가능해집니다.", - "add-rulechain-text": "새로운 규칙 사슬 추가", - "no-rulechains-text": "아무 규칙 사슬도 없습니다.", - "rulechain-details": "규칙 사슬 상세 정보", - "details": "상세 내역", + "add": "규칙 체인 추가", + "set-root": "루트 규칙 체인으로 설정", + "set-root-rulechain-title": "규칙 체인 '{{ruleChainName}}'을(를) 루트로 설정하시겠습니까?", + "set-root-rulechain-text": "확인 후 규칙 체인이 루트가 되며, 들어오는 모든 전송 메시지를 처리하게 됩니다.", + "delete-rulechain-title": "규칙 체인 '{{ruleChainName}}'을(를) 삭제하시겠습니까?", + "delete-rulechain-text": "주의: 확인 후 규칙 체인과 관련된 모든 데이터가 삭제되며 복구할 수 없습니다.", + "delete-rulechains-title": "{ count, plural, =1 {규칙 체인 1개} other {규칙 체인 #개} }를 삭제하시겠습니까?", + "delete-rulechains-action-title": "{ count, plural, =1 {규칙 체인 1개} other {규칙 체인 #개} } 삭제", + "delete-rulechains-text": "주의: 확인 후 선택한 모든 규칙 체인과 관련된 모든 데이터가 삭제되며 복구할 수 없습니다.", + "add-rulechain-text": "새로운 규칙 체인 추가", + "no-rulechains-text": "아무 규칙 체인도 없습니다", + "rulechain-details": "규칙 체인 상세 정보", + "details": "세부 정보", "events": "이벤트", "system": "시스템", - "import": "규칙 사슬 불러오기", - "export": "규칙 사슬 내보내기", - "export-failed-error": "규칙 사슬을 내보낼 수 없습니다: {{error}}", - "create-new-rulechain": "새로운 규칙 사슬 생성", - "rulechain-file": "규칙 사슬 파일", - "invalid-rulechain-file-error": "규식 사슬을 가져올 수 없습니다: 올바르지 않은 규칙 사슬 데이터 구조.", - "copyId": "규칙 사슬 ID 복사", - "idCopiedMessage": "규칙 사슬 ID가 클립보드로 복사되었습니다", - "select-rulechain": "규칙 사슬 선택", - "no-rulechains-matching": "'{{entity}}'와 일치하는 규칙 사슬을 찾을 수 없습니다.", - "rulechain-required": "규칙 사슬을 입력하세요", + "import": "규칙 체인 가져오기", + "export": "규칙 체인 내보내기", + "export-failed-error": "규칙 체인을 내보낼 수 없습니다: {{error}}", + "create-new-rulechain": "새로운 규칙 체인 생성", + "rulechain-file": "규칙 체인 파일", + "invalid-rulechain-file-error": "규칙 체인을 가져올 수 없습니다: 올바르지 않은 규칙 체인 데이터 구조입니다.", + "rulechain-not-found-warning": "기본 규칙 체인을 찾을 수 없습니다. 프로필이 규칙 체인 없이 저장되었습니다 — 프로필 설정에서 할당할 수 있습니다.", + "copyId": "규칙 체인 ID 복사", + "idCopiedMessage": "규칙 체인 ID가 클립보드로 복사되었습니다", + "select-rulechain": "규칙 체인 선택", + "no-rulechains-matching": "'{{entity}}'와(과) 일치하는 규칙 체인을 찾을 수 없습니다.", + "rulechain-required": "규칙 체인을 선택하세요", "management": "규칙 관리", "debug-mode": "디버그 모드", - "search": "규칙 사슬 검색", - "selected-rulechains": "{ count, plural, =1 {1 개 규칙 사슬} other {# 개 규칙 사슬} } 선택됨", - "open-rulechain": "규칙 사슬 열기", + "search": "규칙 체인 검색", + "selected-rulechains": "{ count, plural, =1 {규칙 체인 1개} other {규칙 체인 #개} } 선택됨", + "open-rulechain": "규칙 체인 열기", "edge-template-root": "템플릿 루트", - "assign-to-edge": "엣지에 할당", - "edge-rulechain": "엣지 규칙 체인", - "unassign-rulechain-from-edge-text": "확인 후 규칙 체인이 할당 해제되어 엣지에서 액세스할 수 없습니다.", - "unassign-rulechains-from-edge-title": "{ count, plural, =1 {1개 규칙 체인} other {#개 규칙 체인} }을(를) 할당 해제하시겠습니까?", - "unassign-rulechains-from-edge-text": "확인 후 선택한 모든 규칙 체인이 할당 해제되어 엣지에서 액세스할 수 없습니다.", + "assign-to-edge": "Edge에 할당", + "edge-rulechain": "Edge 규칙 체인", + "unassign-rulechain-from-edge-text": "확인 후 규칙 체인이 할당 해제되어 Edge에서 액세스할 수 없습니다.", + "unassign-rulechains-from-edge-title": "{ count, plural, =1 {규칙 체인 1개} other {규칙 체인 #개} }를 할당 해제하시겠습니까?", + "unassign-rulechains-from-edge-text": "확인 후 선택한 모든 규칙 체인이 할당 해제되어 Edge에서 액세스할 수 없습니다.", "assign-rulechain-to-edge-title": "Edge에 규칙 체인 할당", "assign-rulechain-to-edge-text": "Edge에 할당할 규칙 체인을 선택하세요", - "set-edge-template-root-rulechain": "규칙 체인을 Edge 템플릿 루트로 만들기", - "set-edge-template-root-rulechain-title": "규칙 체인 '{{ruleChainName}}'을(를) 엣지 템플릿 루트로 설정하시겠습니까?", - "set-edge-template-root-rulechain-text": "확인 후 규칙 체인이 엣지 템플릿 루트가 되며 새로 생성된 엣지의 루트 규칙 체인이 됩니다.", + "set-edge-template-root-rulechain": "규칙 체인을 Edge 템플릿 루트로 설정", + "set-edge-tscheduler-eventemplate-root-rulechain": "규칙 체인을 Edge 템플릿 루트로 설정", + "set-edge-template-root-rulechain-title": "규칙 체인 '{{ruleChainName}}'을(를) Edge 템플릿 루트로 설정하시겠습니까?", + "set-edge-template-root-rulechain-text": "확인 후 규칙 체인이 Edge 템플릿 루트가 되며 새로 생성되는 Edge의 루트 규칙 체인이 됩니다.", "invalid-rulechain-type-error": "규칙 체인을 가져올 수 없습니다: 잘못된 규칙 체인 유형입니다. 예상 유형은 {{expectedRuleChainType}}입니다.", "set-auto-assign-to-edge": "생성 시 Edge에 규칙 체인 할당", - "set-auto-assign-to-edge-title": "엣지 규칙 체인 '{{ruleChainName}}'을(를) 생성 시 엣지에 할당하시겠습니까?", - "set-auto-assign-to-edge-text": "확인 후 엣지 규칙 체인이 생성 시 엣지에 자동으로 할당됩니다.", + "set-auto-assign-to-edge-title": "Edge 규칙 체인 '{{ruleChainName}}'을(를) 생성되는 Edge에 할당하시겠습니까?", + "set-auto-assign-to-edge-text": "확인 후 Edge 규칙 체인이 Edge 생성 시 해당 Edge에 자동으로 할당됩니다.", "unset-auto-assign-to-edge": "생성 시 Edge에 규칙 체인 할당 안 함", - "unset-auto-assign-to-edge-title": "엣지 규칙 체인 '{{ruleChainName}}'을(를) 생성 시 엣지에 할당하지 않으시겠습니까?", - "unset-auto-assign-to-edge-text": "확인 후 엣지 규칙 체인이 생성 시 엣지에 더 이상 자동으로 할당되지 않습니다.", + "unset-auto-assign-to-edge-title": "Edge 규칙 체인 '{{ruleChainName}}'을(를) 생성 시 Edge에 할당하지 않으시겠습니까?", + "unset-auto-assign-to-edge-text": "확인 후 Edge 규칙 체인이 생성 시 Edge에 더 이상 자동으로 할당되지 않습니다.", "unassign-rulechain-title": "규칙 체인 '{{ruleChainName}}'의 할당을 해제하시겠습니까?", - "unassign-rulechains": "규칙 체인 할당 해제" + "unassign-rulechains": "규칙 체인 할당 해제", + "add-note": "메모 추가", + "paste-note": "메모 붙여넣기", + "note": "메모", + "edit-note": "메모 편집", + "note-content": "마크다운/HTML 콘텐츠", + "note-details": "메모 세부 정보", + "note-background-color": "배경색", + "note-border": "테두리", + "note-apply-default-markdown-style": "기본 마크다운 스타일 적용", + "note-custom-css": "메모 콘텐츠 CSS" }, "rulenode": { "rule-node-events": "규칙 노드 이벤트", - "details": "상세 내역", + "details": "세부 정보", "events": "이벤트", "search": "노드 검색", "open-node-library": "노드 라이브러리 열기", @@ -5239,30 +7778,32 @@ "rulenode-details": "규칙 노드 상세 정보", "debug-mode": "디버그 모드", "singleton": "싱글톤", - "configuration": "설정", + "configuration": "구성", "link": "링크", "link-details": "규칙 노드 링크 상세 정보", "add-link": "링크 추가", "link-label": "링크 라벨", "link-label-required": "링크 라벨을 입력하세요.", - "custom-link-label": "링크 라벨 사용자 정의", - "custom-link-label-required": "링크 라벨 사용자 정의를 입력하세요.", + "custom-link-label": "사용자 지정 링크 라벨", + "custom-link-label-required": "사용자 지정 링크 라벨을 입력하세요.", "link-labels": "링크 라벨", "link-labels-required": "링크 라벨을 입력하세요.", "no-link-labels-found": "아무 링크 라벨도 없습니다", - "no-link-label-matching": "'{{label}}' 을 찾을 수 없습니다.", - "create-new-link-label": "새로 링크 라벨 만들기", + "no-link-label-matching": "'{{label}}'을(를) 찾을 수 없습니다.", + "create-new-link-label": "새 링크 라벨 만들기", "type-filter": "필터", "type-filter-details": "구성된 조건으로 들어오는 메시지 필터링", "type-enrichment": "보강", "type-enrichment-details": "메시지 메타데이터에 추가적인 정보를 추가", "type-transformation": "변환", "type-transformation-details": "메시지 페이로드 및 메타데이터 변경", - "type-action": "동작", + "type-action": "액션", "type-action-details": "특별한 조치를 수행", + "type-analytics": "분석", + "type-analytics-details": "스트리밍 또는 저장된 데이터 분석 수행", "type-external": "외부", "type-external-details": "외부 시스템과 상호 작용", - "type-rule-chain": "규칙 사슬", + "type-rule-chain": "규칙 체인", "type-rule-chain-details": "수신 메시지를 지정된 규칙 체인으로 전달", "type-flow": "흐름", "type-flow-details": "메시지 흐름 구성", @@ -5276,10 +7817,11 @@ "test-script-function": "스크립트 함수 테스트", "script-lang-java-script": "JavaScript", "script-lang-tbel": "TBEL", + "script-lang-js": "JS", "message": "메시지", "message-type": "메시지 유형", "select-message-type": "메시지 유형 선택", - "message-type-required": "메시지 유형을 입력하세요.", + "message-type-required": "메시지 유형은 필수 항목입니다.", "metadata": "메타데이터", "metadata-required": "메타데이터 엔트리를 입력하세요.", "output": "출력", @@ -5287,8 +7829,8 @@ "help": "도움말", "reset-debug-settings": "모든 노드에서 디버그 설정 재설정", "test-with-this-message": "이 메시지로 {{test}}", - "queue-hint": "메시지를 다른 큐로 전달할 큐를 선택하세요. 기본적으로 '기본' 큐가 사용됩니다.", - "queue-singleton-hint": "다중 인스턴스 환경에서 메시지 전달을 위한 큐를 선택하세요. 기본적으로 '기본' 큐가 사용됩니다." + "queue-hint": "메시지를 다른 큐로 전달할 큐를 선택하세요. 기본적으로 'Main' 큐가 사용됩니다.", + "queue-singleton-hint": "다중 인스턴스 환경에서 메시지 전달을 위한 큐를 선택하세요. 기본적으로 'Main' 큐가 사용됩니다." }, "rule-node-config": { "id": "ID", @@ -5304,7 +7846,7 @@ "customer-title-pattern": "고객 제목", "dashboard-name-pattern": "대시보드 제목", "user-name-pattern": "사용자 이메일", - "edge-name-pattern": "엣지 이름", + "edge-name-pattern": "Edge 이름", "entity-name-pattern-required": "이름 패턴이 필요합니다", "entity-name-pattern-hint": "이름 패턴 필드는 템플릿을 지원합니다. $[messageKey]를 사용하여 메시지에서 값을 추출하고 ${metadataKey}를 사용하여 메타데이터에서 값을 추출하세요.", "copy-message-type": "메시지 유형 복사", @@ -5319,7 +7861,7 @@ "entity-cache-expiration-required": "엔티티 캐시 만료 시간이 필요합니다.", "entity-cache-expiration-range": "엔티티 캐시 만료 시간은 0 이상이어야 합니다.", "customer-name-pattern": "고객 제목", - "customer-name-pattern-required": "고객 제목이 필요합니다", + "customer-name-pattern-required": "고객 제목은 필수 항목입니다.", "customer-name-pattern-hint": "$[messageKey]를 사용하여 메시지에서 값을 추출하고 ${metadataKey}를 사용하여 메타데이터에서 값을 추출하세요.", "create-customer-if-not-exists": "존재하지 않는 경우 새 고객 생성", "unassign-from-customer": "발신자가 대시보드인 경우 특정 고객에서 할당 해제", @@ -5341,7 +7883,7 @@ "time-unit-seconds": "초", "time-unit-minutes": "분", "time-unit-hours": "시간", - "time-unit-days": "요일", + "time-unit-days": "일", "time-value-range": "1~2147483647 범위를 허용합니다.", "start-interval-value-required": "간격 시작은 필수 항목입니다.", "end-interval-value-required": "간격 종료는 필수 항목입니다.", @@ -5404,11 +7946,11 @@ "max-retries-min-error": "최소 허용 값은 0입니다", "strategy": "전략", "strategy-required": "전략이 필요합니다", - "strategy-all-hint": "중복 제거 기간 동안 도착한 모든 메시지를 단일 JSON 배열 메시지로 반환합니다. 각 요소는 msg 및 metadata 내부 속성이 있는 엔티티를 나타냅니다.", + "strategy-all-hint": "중복 제거 기간 동안 도착한 모든 메시지를 단일 JSON 배열 메시지로 반환합니다. 각 요소는 msg 및 metadata 내부 속성이 있는 객체를 나타냅니다.", "strategy-first-hint": "중복 제거 기간 동안 도착한 첫 번째 메시지를 반환합니다.", "strategy-last-hint": "중복 제거 기간 동안 도착한 마지막 메시지를 반환합니다.", "first": "첫 번째", - "last": "과거", + "last": "마지막", "all": "모두", "output-msg-type-hint": "중복 제거 결과의 메시지 유형입니다.", "queue-name-hint": "중복 제거 결과가 게시될 큐 이름입니다.", @@ -5425,7 +7967,7 @@ "metadata-keys": "메타데이터 필드 이름", "json-path-expression": "JSON 경로 표현식", "json-path-expression-required": "JSON 경로 표현식이 필요합니다", - "json-path-expression-hint": "JSONPath는 JSON 구조에서 요소 또는 요소 집합의 경로를 지정합니다. '$'는 루트 엔티티 또는 배열을 나타냅니다.", + "json-path-expression-hint": "JSONPath는 JSON 구조에서 요소 또는 요소 집합의 경로를 지정합니다. '$'는 루트 객체 또는 배열을 나타냅니다.", "relations-query": "관계 질의", "device-relations-query": "장치 관계 쿼리", "max-relation-level": "최대 관계 수준", @@ -5436,8 +7978,8 @@ "relation-type-pattern-required": "관계 유형 패턴이 필요합니다", "relation-types-list": "전파할 관계 유형", "relation-types-list-hint": "전파 관계 유형이 선택되지 않으면 관계 유형별 필터링 없이 알람이 전파됩니다.", - "unlimited-level": "제한 수준", - "latest-telemetry": "최근 데이터", + "unlimited-level": "무제한 수준", + "latest-telemetry": "최신 텔레메트리", "add-telemetry-key": "텔레메트리 키 추가", "delete-from": "삭제 위치", "use-regular-expression-delete-hint": "정규 표현식을 사용하여 패턴별로 키를 삭제하세요.\n\n팁 & 요령:\n'Enter'를 눌러 필드 이름 입력을 완료하세요.\n'Backspace'를 눌러 필드 이름을 삭제하세요.\n여러 필드 이름이 지원됩니다.", @@ -5452,7 +7994,7 @@ "attr-mapping-required": "최소 하나의 매핑 항목을 지정해야 합니다.", "fields-mapping": "필드 매핑", "fields-mapping-hint": "메시지 필드가 $entityId로 설정된 경우 메시지 발신자의 ID가 지정된 테이블 열에 저장됩니다.", - "relations-query-config-direction-suffix": "발신자", + "relations-query-config-direction-suffix": "(발신자 기준)", "profile-name": "프로필 이름", "fetch-circle-parameter-info-from-metadata-hint": "메타데이터 필드 '{{perimeterKeyName}}'은(는) 다음 형식으로 정의되어야 합니다: {\"latitude\":48.196, \"longitude\":24.6532, \"radius\":100.0, \"radiusUnit\":\"METER\"}", "fetch-poligon-parameter-info-from-metadata-hint": "메타데이터 필드 '{{perimeterKeyName}}'은(는) 다음 형식으로 정의되어야 합니다: [[48.19736,24.65235],[48.19800,24.65060],...,[48.19849,24.65420]]", @@ -5468,9 +8010,14 @@ "originator-customer": "고객", "originator-tenant": "테넌트", "originator-related": "관련 엔티티", - "originator-alarm-originator": "알람 발생자", + "originator-alarm-originator": "알람 발생 엔티티", "originator-entity": "이름 패턴으로 엔티티 찾기", "clone-message": "메시지 복제", + "no-owners-matching": "'{{entity}}'와(과) 일치하는 소유자를 찾을 수 없습니다.", + "owner-required": "소유자는 필수 항목입니다.", + "owner": "소유자", + "owner-of-entity-group": "엔티티 그룹 소유자", + "entity-group": "엔티티 그룹", "transform": "변환", "default-ttl": "기본 TTL", "default-ttl-required": "기본 TTL은 필수 항목입니다.", @@ -5493,7 +8040,7 @@ "period-in-seconds-pattern": "초 단위 기간 패턴", "period-in-seconds-pattern-required": "초 단위 기간 패턴은 필수 항목입니다.", "min-period-seconds-message": "최소 기간은 1초만 허용됩니다.", - "originator": "만든 사람", + "originator": "발신자", "message-body": "메시지 본문", "message-metadata": "메시지 메타데이터", "generate": "생성", @@ -5504,6 +8051,8 @@ "generator": "생성기", "test-filter-function": "필터 함수 테스트", "test-switch-function": "스위치 함수 테스트", + "parent-entity": "상위 엔티티", + "include-root-entity-to-parent-entities": "상위 엔티티 목록에 루트 엔티티 포함", "test-transformer-function": "변환기 함수 테스트", "transformer": "변환기", "alarm-create-condition": "알람 생성 조건", @@ -5520,15 +8069,17 @@ "alarm-status-filter": "알람 상태 필터", "alarm-status-list-empty": "알람 상태 목록이 비어 있습니다", "no-alarm-status-matching": "일치하는 알람 상태를 찾을 수 없습니다.", + "no-alarm-severity-matching": "일치하는 알람 심각도를 찾을 수 없습니다.", "propagate": "관련 엔티티에 알람 전파", "propagate-to-owner": "엔티티 소유자(고객 또는 테넌트)에게 알람 전파", + "propagate-to-owner-hierarchy": "엔티티 소유자 계층으로 알람 전파", "propagate-to-tenant": "테넌트에게 알람 전파", "condition": "조건", - "details": "상세 내역", + "details": "세부 정보", "to-string": "문자열로 변환", "test-to-string-function": "문자열 변환 함수 테스트", - "from-template": "부터", - "from-template-required": "보낸 사람은 필수 항목입니다.", + "from-template": "보내는 사람", + "from-template-required": "보내는 사람은 필수 항목입니다.", "message-to-metadata": "메시지에서 메타데이터로", "metadata-to-message": "메타데이터에서 메시지로", "from-message": "메시지에서", @@ -5551,24 +8102,25 @@ "request-id-metadata-attribute": "요청 ID", "service-id-metadata-attribute": "서비스 ID", "session-id-metadata-attribute": "세션 ID", - "timeout-sec": "시간 초과 (초)", - "timeout-required": "시간 초과는 필수 항목입니다.", - "min-timeout-message": "최소 시간 초과 값은 0만 허용됩니다.", + "timeout-sec": "제한 시간 (초)", + "timeout-required": "제한 시간은 필수 항목입니다.", + "min-timeout-message": "최소 제한 시간 값은 0만 허용됩니다.", "endpoint-url-pattern": "엔드포인트 URL 패턴", "endpoint-url-pattern-required": "엔드포인트 URL 패턴은 필수 항목입니다.", - "request-method": "요청 방법", - "use-simple-client-http-factory": "간단한 클라이언트 HTTP 팩토리 사용", + "request-method": "요청 메서드", "ignore-request-body": "요청 본문 없음", + "request-body-template": "요청 본문 템플릿", + "request-body-template-hint": "메타데이터에는 ${metadataKey}을(를), 메시지 값에는 $[messageKey]을(를) 사용하세요. 비어 있으면 메시지 페이로드가 요청 본문으로 사용됩니다. JSON이 아닌 페이로드의 경우 '일반 텍스트로 파싱'을 활성화하세요.

플레이스홀더 ${secret:name;type:TYPE}을(를) 사용하여 시크릿을 삽입할 수 있습니다. 여기서 'name'은 시크릿 식별자이고 'type'은 TEXT 또는 TEXT_FILE입니다. 이는 '시크릿 사용'을 직접 지원하지 않는 규칙 노드 구성 필드에서 유용합니다. 예: ${secret:tenant password;type:TEXT}.", "parse-to-plain-text": "일반 텍스트로 파싱", - "parse-to-plain-text-hint": "선택하면 요청 본문 메시지 페이로드가 JSON 문자열에서 일반 텍스트로 변환됩니다. 예: msg = \"Hello,\\t\"world\"\"는 Hello, \"world\"로 구문 분석됩니다.", - "read-timeout": "읽기 시간 초과 (밀리초)", - "read-timeout-hint": "0 값은 무한 시간 초과를 의미합니다.", + "parse-to-plain-text-hint": "선택하면 요청 본문(메시지 페이로드 또는 본문 템플릿 결과)이 JSON으로 파싱되지 않고 일반 텍스트 문자열로 전송됩니다. 예: msg = \"Hello,\\t\"world\"\"는 Hello, \"world\"로 파싱됩니다.", + "read-timeout": "읽기 제한 시간 (밀리초)", + "read-timeout-hint": "0 값은 제한 시간이 없음을 의미합니다.", "max-parallel-requests-count": "최대 병렬 요청 수", "max-parallel-requests-count-hint": "0 값은 병렬 처리에 제한이 없음을 지정합니다.", "max-response-size": "최대 응답 크기 (KB)", "max-response-size-hint": "JSON 또는 XML 페이로드와 같은 HTTP 메시지를 디코딩하거나 인코딩할 때 데이터 버퍼링에 할당된 최대 메모리 양", "headers": "헤더", - "headers-hint": "헤더/값 필드에서 메타데이터의 값에는 ${metadataKey}를 사용하고, 메시지 본문의 값에는 $[messageKey]를 사용하세요", + "headers-hint": "헤더/값 필드에서 메타데이터의 값에는 ${metadataKey}를 사용하고, 메시지 본문의 값에는 $[messageKey]를 사용하세요.

플레이스홀더 ${secret:name;type:TYPE}을(를) 사용하여 시크릿을 삽입할 수 있습니다. 여기서 'name'은 시크릿 식별자이고 'type'은 TEXT 또는 TEXT_FILE입니다. 이 방법은 '시크릿 사용'을 직접 지원하지 않는 규칙 노드 구성 필드에서 유용합니다. 예: ${secret:Header;type:TEXT}.", "header": "헤더", "header-required": "헤더는 필수 항목입니다.", "value": "값", @@ -5582,11 +8134,12 @@ "bootstrap-servers": "부트스트랩 서버", "bootstrap-servers-required": "부트스트랩 서버 값이 필요합니다", "other-properties": "기타 속성", + "other-properties-empty": "구성된 기타 속성이 없습니다.", "key": "키", "key-required": "키는 필수 항목입니다.", "retries": "실패 시 자동 재시도 횟수", "min-retries-message": "최소 재시도는 0만 허용됩니다.", - "batch-size-bytes": "생성된 배치 크기 (바이트)", + "batch-size-bytes": "프로듀서 배치 크기 (바이트)", "min-batch-size-bytes-message": "최소 배치 크기는 0만 허용됩니다.", "linger-ms": "로컬 버퍼링 시간 (ms)", "min-linger-ms-message": "최소 0ms만 허용됩니다.", @@ -5597,12 +8150,12 @@ "topic-arn-pattern": "토픽 ARN 패턴", "topic-arn-pattern-required": "토픽 ARN 패턴은 필수 항목입니다.", "aws-access-key-id": "AWS 액세스 키 ID", - "aws-access-key-id-required": "AWS 액세스 ID를 입력하세요.", + "aws-access-key-id-required": "AWS 액세스 키 ID를 입력하세요.", "aws-secret-access-key": "AWS 보안 액세스 키", "aws-secret-access-key-required": "AWS 보안 액세스 키를 입력하세요", "aws-region": "AWS 지역", "aws-region-required": "AWS 지역을 입력하세요", - "exchange-name-pattern": "교환 이름 패턴", + "exchange-name-pattern": "익스체인지 이름 패턴", "routing-key-pattern": "라우팅 키 패턴", "message-properties": "메시지 속성", "host": "호스트", @@ -5614,11 +8167,12 @@ "username": "사용자명", "password": "비밀번호", "automatic-recovery": "자동 복구", - "connection-timeout-ms": "연결 시간 초과 (ms)", + "connection-timeout-ms": "연결 제한 시간 (ms)", "min-connection-timeout-ms-message": "최소 0ms만 허용됩니다.", - "handshake-timeout-ms": "핸드셰이크 시간 초과 (ms)", + "handshake-timeout-ms": "핸드셰이크 제한 시간 (ms)", "min-handshake-timeout-ms-message": "최소 0ms만 허용됩니다.", "client-properties": "클라이언트 속성", + "client-properties-empty": "구성된 클라이언트 속성이 없습니다.", "queue-url-pattern": "큐 URL 패턴", "queue-url-pattern-required": "큐 URL 패턴은 필수 항목입니다.", "delay-seconds": "지연 (초)", @@ -5636,10 +8190,11 @@ "pubsub-topic-name": "토픽 이름", "pubsub-topic-name-required": "토픽 이름은 필수 항목입니다.", "message-attributes": "메시지 속성", + "message-attributes-empty": "구성된 메시지 속성이 없습니다.", "message-attributes-hint": "이름/값 필드에서 메타데이터의 값에는 ${metadataKey}를 사용하고, 메시지 본문의 값에는 $[messageKey]를 사용하세요", - "connect-timeout": "연결 시간 초과 (초)", - "connect-timeout-required": "연결 시간 초과는 필수 항목입니다.", - "connect-timeout-range": "연결 시간 초과는 1에서 200 범위여야 합니다.", + "connect-timeout": "연결 제한 시간 (초)", + "connect-timeout-required": "연결 제한 시간은 필수 항목입니다.", + "connect-timeout-range": "연결 제한 시간은 1에서 200 범위여야 합니다.", "client-id": "클라이언트 ID", "client-id-hint": "선택 사항. 자동 생성된 클라이언트 ID를 사용하려면 비워 두세요. 클라이언트 ID를 지정할 때 주의하세요. 대부분의 MQTT 브로커는 동일한 클라이언트 ID로 여러 연결을 허용하지 않습니다. 이러한 브로커에 연결하려면 MQTT 클라이언트 ID가 고유해야 합니다. 플랫폼이 마이크로 서비스 모드로 실행 중인 경우 각 마이크로 서비스에서 규칙 노드의 복사본이 시작됩니다. 이로 인해 동일한 ID를 가진 여러 MQTT 클라이언트가 자동으로 생성되어 규칙 노드에 오류가 발생할 수 있습니다. 이러한 오류를 방지하려면 아래의 \"서비스 ID를 클라이언트 ID에 접미사로 추가\" 옵션을 활성화하세요.", "append-client-id-suffix": "클라이언트 ID에 서비스 ID를 접미사로 추가", @@ -5649,13 +8204,14 @@ "clean-session": "클린 세션", "enable-ssl": "SSL 활성화", "credentials": "자격 증명", - "credentials-type": "자격 증명 타입", + "credentials-type": "자격 증명 유형", "credentials-type-required": "자격 증명 유형은 필수 항목입니다.", "credentials-anonymous": "익명", "credentials-basic": "기본", "credentials-pem": "PEM", "credentials-pem-hint": "최소 서버 CA 인증서 파일 또는 클라이언트 인증서와 클라이언트 개인 키 파일 쌍이 필요합니다", - "credentials-sas": "공유 액세스 서명", + "credentials-sas": "Shared Access Signature", + "secret-placeholder-hint": "플레이스홀더 ${secret:name;type:TYPE}을(를) 사용하여 시크릿을 삽입할 수 있습니다. 여기서 'name'은 시크릿 식별자이고 'type'은 TEXT 또는 TEXT_FILE입니다. 이는 '시크릿 사용'을 직접 지원하지 않는 규칙 노드 구성 필드에서 유용합니다. 예: ${secret:Header;type:TEXT}", "sas-key": "SAS 키", "sas-key-required": "SAS 키는 필수 항목입니다.", "hostname": "호스트 이름", @@ -5667,7 +8223,7 @@ "private-key": "클라이언트 개인 키 파일", "cert": "클라이언트 인증서 파일", "no-file": "아무 파일도 선택되지 않았습니다.", - "drop-file": "여기로 파일을 드래그 하거나, 여기를 클릭해서 파일을 선택하세요.", + "drop-file": "업로드할 파일을 끌어다 놓거나 클릭하여 파일을 선택하세요.", "private-key-password": "개인 키 비밀번호", "use-system-smtp-settings": "시스템 SMTP 설정 사용", "use-metadata-dynamic-interval": "동적 간격 사용", @@ -5698,11 +8254,25 @@ "smtp-port": "SMTP 포트", "smtp-port-required": "SMTP 포트를 입력해야 합니다.", "smtp-port-range": "SMTP 포트는 1에서 65535 범위여야 합니다.", - "timeout-msec": "시간 초과 (ms)", + "timeout-msec": "제한 시간 (ms)", "min-timeout-msec-message": "최소 0ms만 허용됩니다.", "enter-username": "사용자명을 입력하세요.", "enter-password": "비밀번호를 입력하세요.", "enable-tls": "TLS 사용", + "group-name-pattern": "그룹 이름 패턴", + "group-name-pattern-required": "그룹 이름 패턴은 필수 항목입니다.", + "create-group-if-not-exists": "존재하지 않는 경우 새 그룹 생성", + "group-cache-expiration": "그룹 캐시 만료 시간(초)", + "group-cache-expiration-required": "그룹 캐시 만료 시간은 필수 항목입니다.", + "group-cache-expiration-range": "그룹 캐시 만료 시간은 0 이상이어야 합니다.", + "group-cache-expiration-hint": "찾은 엔티티 그룹 레코드를 저장할 수 있는 최대 시간 간격을 지정합니다. 값이 0이면 레코드가 만료되지 않습니다.", + "remove-from-current-groups": "현재 그룹에서 제거", + "use-report-config-from-message": "메시지의 보고서 구성 사용", + "use-report-config-from-message-hint": "활성화하면 규칙 노드가 수신 메시지에서 보고서 생성 구성을 가져오고, 그렇지 않으면 아래에 지정된 구성이 사용됩니다.", + "use-system-reports-server": "시스템 보고서 서버 사용", + "use-system-reports-server-hint": "활성화하면 규칙 노드가 시스템 구성의 보고서 서버 엔드포인트 URL을 사용하고, 그렇지 않으면 아래에 지정된 URL이 사용됩니다.", + "reports-server-endpoint-url": "보고서 서버 엔드포인트 URL", + "reports-server-endpoint-url-is-required": "보고서 서버 엔드포인트 URL은 필수 항목입니다.", "tls-version": "TLS 버전", "enable-proxy": "프록시 사용", "use-system-proxy-properties": "시스템 프록시 속성 사용", @@ -5713,7 +8283,6 @@ "proxy-port-range": "프록시 포트를 1~65535 범위 내에서 입력하세요.", "proxy-user": "프록시 사용자", "proxy-password": "프록시 비밀번호", - "proxy-scheme": "프록시 스키마", "numbers-to-template": "받는 사람 전화번호 템플릿", "numbers-to-template-required": "받는 사람 전화번호 템플릿은 필수 항목입니다.", "numbers-to-template-hint": "쉼표로 구분된 전화번호, 메타데이터의 값에는 ${metadataKey}를 사용하고, 메시지 본문의 값에는 $[messageKey]를 사용하세요", @@ -5724,7 +8293,82 @@ "max-pending-messages": "최대 대기 메시지", "max-pending-messages-required": "최대 대기 메시지는 필수 항목입니다.", "max-pending-messages-range": "최대 대기 메시지는 1에서 100000 범위여야 합니다.", + "aggregation": "집계", + "math-function": "집계 함수", + "func-min": "최소", + "func-max": "최대", + "func-sum": "합계", + "func-avg": "평균", + "func-count": "개수", + "func-count-unique": "고유 개수", + "agg-interval-value": "집계 간격 값", + "agg-interval-value-required": "집계 간격 값은 필수 항목입니다.", + "agg-interval-time-unit": "집계 간격 시간 단위", + "auto-create-intervals": "간격 자동 생성", + "interval-entities": "간격 엔티티", + "interval-persistence": "간격 저장", + "interval-persistence-policy": "간격 저장 정책", + "interval-persist-policy-on-each-check": "검사할 때마다", + "interval-persist-policy-on-each-check-after-interval-end": "간격 종료 후 검사할 때마다", + "interval-persist-policy-on-each-message": "각 메시지에서", + "interval-check-value": "간격 검사 값", + "interval-check-value-required": "간격 검사 값은 필수 항목입니다.", + "interval-check-time-unit": "간격 검사 시간 단위", + "interval-ttl-value": "간격 TTL 값", + "interval-ttl-value-required": "간격 TTL 값은 필수 항목입니다.", + "interval-ttl-time-unit": "간격 TTL 시간 단위", + "state-persistence": "상태 저장", + "state-persistence-policy": "상태 저장 정책", + "state-persist-policy-on-each-change": "변경 시마다", + "state-persist-policy-periodically": "주기적으로", + "state-persistence-value": "상태 저장 값", + "state-persistence-value-required": "상태 저장 값은 필수 항목입니다.", + "state-persistence-time-unit": "상태 저장 시간 단위", + "target-entity-group": "대상 엔티티 그룹", + "entity-group-is-message-originator": "엔티티 그룹이 메시지 발신자임", "originator-types-filter": "발신자 유형 필터", + "single-entity": "단일 엔티티", + "group-of-entities": "엔티티 그룹", + "entities": "엔티티", + "root-entity": "루트 엔티티", + "child-entities-query": "하위 엔티티 쿼리", + "child-entities": "하위 엔티티", + "execution-period-value": "실행 주기 값", + "execution-period-value-required": "실행 주기 값은 필수 항목입니다.", + "execution-period-time-unit": "실행 주기 시간 단위", + "agg-latest-mappings": "최신 값 집계 매핑", + "mappings": "매핑", + "edit-mapping": "매핑 편집", + "remove-mapping": "매핑 제거", + "add-mapping": "매핑 추가", + "add-mapping-prompt": "매핑을 추가하세요", + "attribute-scope": "속성 범위", + "default-value": "기본값", + "default-value-required": "기본값은 필수 항목입니다.", + "target-telemetry": "대상 텔레메트리", + "target-telemetry-required": "대상 텔레메트리는 필수 항목입니다.", + "filter-entities": "엔티티 필터링", + "entity-filter": "엔티티 필터", + "fetch-entity-attributes": "엔티티 속성 조회", + "count-alarms-for-child-entities": "하위 엔티티의 알람 수 계산", + "count-alarms-for-propagation-entities": "전파 엔티티의 알람 수 계산", + "alarms-count-mappings": "알람 수 매핑", + "propagation-entity-types": "전파 엔티티 유형", + "propagation-entity-types-info": "전파 엔티티 유형을 선택하면 전파된 엔티티가 선택한 유형으로 필터링되며, 그렇지 않으면 필터링이 적용되지 않습니다.", + "count-alarms-for-propagation-entities-info": "활성화하면 알람 발생 엔티티뿐만 아니라 전파된 모든 엔티티에 대해서도 알람 수를 계산합니다.", + "and": "및", + "all-alarms": "모든 알람", + "for": "기간", + "status-filter": "상태 필터", + "severity-filter": "심각도 필터", + "type-filter": "유형 필터", + "all-statuses": "모든 상태", + "all-severities": "모든 심각도", + "all-types": "모든 유형", + "add-alarm-status": "+알람 상태", + "add-alarm-severity": "+알람 심각도", + "add-alarm-type": "+알람 유형", + "specify-interval": "간격 지정", "interval-seconds": "간격 (초)", "interval-seconds-required": "간격은 필수 항목입니다.", "int-range": "값은 최대 정수 제한(2147483648)을 초과하지 않아야 합니다.", @@ -5732,6 +8376,18 @@ "output-timeseries-key-prefix": "출력 시계열 키 접두사", "output-timeseries-key-prefix-required": "출력 시계열 키 접두사는 필수 항목입니다.", "separator-hint": "\"Enter\"를 눌러 필드 입력을 완료하세요.", + "owner-type": "소유자 유형", + "owner-name-pattern": "고객 제목", + "owner-name-pattern-required": "고객 제목은 필수 항목입니다.", + "create-owner-if-not-exists": "존재하지 않는 경우 새 고객 생성", + "create-owner-if-not-exists-hint": "활성화되어 있고 지정된 제목의 고객이 존재하지 않으면 규칙 노드가 새 고객을 최상위 고객으로 생성합니다.", + "create-new-customer-if-not-exists-hint": "활성화되어 있고 지정된 제목의 고객이 존재하지 않으면 규칙 노드가 새 고객을 생성합니다.", + "create-owner-on-originator-level": "메시지 발신자와 같은 수준에 새 고객 생성", + "create-owner-on-originator-level-hint": "활성화되어 있고 발신자의 소유자가 테넌트이면 규칙 노드가 최상위 고객을 생성합니다. 활성화되어 있고 발신자의 소유자가 고객이면 규칙 노드가 해당 고객의 하위 고객을 생성합니다.", + "owner-cache-expiration": "소유자 캐시 만료 시간 (초)", + "owner-cache-expiration-required": "소유자 캐시 만료 시간은 필수 항목입니다.", + "owner-cache-expiration-range": "소유자 캐시 만료 시간은 0 이상이어야 합니다.", + "owner-cache-expiration-hint": "찾은 소유자 레코드를 저장할 수 있는 최대 시간 간격을 지정합니다. 값이 0이면 레코드가 만료되지 않습니다.", "select-details": "세부 정보 선택", "entity-details-id": "ID", "entity-details-title": "제목", @@ -5794,12 +8450,20 @@ "min-outside-duration": "최소 외부 지속 시간", "min-outside-duration-value-required": "최소 외부 지속 시간이 필요합니다", "min-outside-duration-time-unit": "최소 외부 지속 시간 단위", - "tell-failure-if-absent": "실패 알림", + "tell-failure-if-absent": "실패로 처리", "tell-failure-if-absent-hint": "선택한 키 중 하나라도 존재하지 않으면 아웃바운드 메시지가 \"실패\"를 보고합니다.", "get-latest-value-with-ts": "최신 텔레메트리 값에 대한 타임스탬프 가져오기", "get-latest-value-with-ts-hint": "선택하면 최신 텔레메트리 값에 타임스탬프도 포함됩니다. 예: \"temp\": \"{\"ts\":1574329385897, \"value\":42}\"", "ignore-null-strings": "빈 문자열 무시", "ignore-null-strings-hint": "선택하면 규칙 노드가 빈 값이 있는 엔티티 필드를 무시합니다.", + "aggregate-interval-type": "집계 간격 유형", + "aggregate-period-hour": "시간", + "aggregate-period-day": "일", + "aggregate-period-week": "주 (월 - 일)", + "aggregate-period-week-sun-sat": "주 (일 - 토)", + "aggregate-period-month": "월", + "aggregate-period-year": "년", + "aggregate-period-custom": "사용자 지정", "add-metadata-key-values-as-kafka-headers": "Kafka 레코드 헤더에 메시지 메타데이터 키-값 쌍 추가", "add-metadata-key-values-as-kafka-headers-hint": "선택하면 메시지 메타데이터의 키-값 쌍이 미리 정의된 문자셋 인코딩으로 바이트 배열로 나가는 레코드 헤더에 추가됩니다.", "charset-encoding": "문자셋 인코딩", @@ -5816,22 +8480,30 @@ "persist-alarm-rules-hint": "활성화하면 규칙 노드가 처리 상태를 데이터베이스에 저장합니다.", "fetch-alarm-rules": "알람 규칙 상태 가져오기", "fetch-alarm-rules-hint": "활성화하면 규칙 노드가 초기화 시 처리 상태를 복원하고 서버가 다시 시작된 후에도 알람이 발생하도록 합니다. 그렇지 않으면 장치에서 첫 번째 메시지가 도착할 때 상태가 복원됩니다.", + "round": "소수 자릿수", + "round-range": "소수 자릿수는 0에서 15 사이여야 합니다.", + "use-cache": "최신 값에 캐시 사용", + "tell-failure-if-delta-is-negative": "델타가 음수이면 실패로 처리", + "add-period-between-msgs": "메시지 간 간격 추가", + "search-entity-group-for-tenant-only": "테넌트 수준에서만 엔티티 그룹 검색", + "consider-message-originator-as-a-group-owner": "발신자를 그룹 소유자로 간주", + "consider-message-originator-as-a-group-owner-hint": "기본적으로 그룹 검색은 메시지 발신자의 소유자와 같은 수준에서 시작되며, 그룹을 찾지 못하면 계층 구조를 따라 테넌트 수준까지 올라갑니다. 활성화되어 있고 발신자가 테넌트 또는 고객 엔티티인 경우 검색은 발신자의 수준에서 시작됩니다.", "input-value-key": "입력 값 키", "input-value-key-required": "입력 값 키가 필요합니다.", "output-value-key": "출력 값 키", "output-value-key-required": "출력 값 키가 필요합니다.", - "number-of-digits-after-floating-point": "소숫점 뒤 자릿수", + "number-of-digits-after-floating-point": "소수점 이하 자릿수", "number-of-digits-after-floating-point-range": "소수점 이하 자릿수는 0에서 15 사이여야 합니다.", - "failure-if-delta-negative": "델타가 음수인 경우 실패 알림", + "failure-if-delta-negative": "델타가 음수이면 실패로 처리", "failure-if-delta-negative-tooltip": "규칙 노드는 델타 값이 음수인 경우 메시지 처리 실패를 강제합니다.", "use-caching": "캐싱 사용", "use-caching-tooltip": "규칙 노드는 성능을 향상시키기 위해 수신 메시지에서 도착하는 \"{{inputValueKey}}\"의 값을 캐시합니다. 다른 곳에서 \"{{inputValueKey}}\" 값을 수정하면 캐시가 업데이트되지 않습니다.", "add-time-difference-between-readings": "\"{{inputValueKey}}\" 판독 간의 시간 차이 추가", - "add-time-difference-between-readings-tooltip": "활성화하면 규칙 노드가 \"{{periodValueKey}}\"를 아웃바운드 메시지에 추가합니다.", + "add-time-difference-between-readings-tooltip": "활성화하면 규칙 노드가 \"{{periodValueKey}}\"을(를) 아웃바운드 메시지에 추가합니다.", "period-value-key": "기간 값 키", "period-value-key-required": "기간 값 키가 필요합니다.", "general-pattern-hint": "메타데이터의 값에는 ${metadataKey}를 사용하고, 메시지 본문의 값에는 $[messageKey]를 사용하세요.", - "alarm-severity-pattern-hint": "메타데이터의 값에는 ${metadataKey}를 사용하고, 메시지 본문의 값에는 $[messageKey]를 사용하세요. 알람 심각도는 시스템(CRITICAL, MAJOR 등)이어야 합니다.", + "alarm-severity-pattern-hint": "메타데이터의 값에는 ${metadataKey}를 사용하고, 메시지 본문의 값에는 $[messageKey]를 사용하세요. 알람 심각도는 시스템 값(CRITICAL, MAJOR 등)이어야 합니다.", "output-node-name-hint": "규칙 노드 이름은 출력 메시지의 관계 유형에 해당하며, 호출자 규칙 체인의 다른 규칙 노드로 메시지를 전달하는 데 사용됩니다.", "use-server-ts": "서버 타임스탬프 사용", "use-server-ts-hint": "명시적 타임스탬프가 없는 시계열 데이터에 대해 서버의 현재 타임스탬프를 사용합니다. 이는 여러 소스에서 메시지를 처리하거나 메시지가 순서 없이 도착할 때 적절한 순서를 유지하는 데 도움이 됩니다.", @@ -5869,12 +8541,12 @@ "attribute-scope-field-input-required": "속성 범위가 필요합니다.", "default-value-field-input": "기본값", "type-field-input": "유형", - "type-field-input-required": "유형일 입력하세요.", + "type-field-input-required": "유형을 선택하세요.", "key-field-input": "키", "add-entity-type": "엔티티 유형 추가", "add-device-profile": "장치 프로필 추가", "key-field-input-required": "키는 필수 항목입니다.", - "number-floating-point-field-input": "소숫점 뒤 자릿수", + "number-floating-point-field-input": "소수점 이하 자릿수", "number-floating-point-field-input-hint": "결과를 정수로 변환하려면 0을 사용하세요", "add-to-message-field-input": "메시지에 추가", "add-to-metadata-field-input": "메타데이터에 추가", @@ -5905,7 +8577,7 @@ "originator-attributes": "발신자 속성", "fetch-latest-telemetry-with-timestamp": "타임스탬프와 함께 최신 텔레메트리 가져오기", "fetch-latest-telemetry-with-timestamp-tooltip": "선택하면 최신 텔레메트리 값이 타임스탬프와 함께 아웃바운드 메타데이터에 추가됩니다. 예: \"{{latestTsKeyName}}\": \"{\"ts\":1574329385897, \"value\":42}\"", - "tell-failure": "속성이 누락된 경우 실패 알림", + "tell-failure": "속성이 누락된 경우 실패로 처리", "tell-failure-tooltip": "선택한 키 중 하나라도 존재하지 않으면 아웃바운드 메시지가 \"실패\"를 보고합니다.", "created-time": "생성 일시", "chip-help": "'Enter'를 눌러 {{inputName}} 입력을 완료하세요.\n'Backspace'를 눌러 {{inputName}}을(를) 삭제하세요.\n여러 값이 지원됩니다.", @@ -5938,10 +8610,10 @@ "max": "최대", "average": "평균", "sum": "합계", - "count": "숫자", + "count": "개수", "none": "없음", - "last-level-relation-tooltip": "선택하면 규칙 노드가 최대 관계 레벨에 설정된 레벨에서만 관련 엔티티를 검색합니다.", - "last-level-device-relation-tooltip": "선택하면 규칙 노드가 최대 관계 레벨에 설정된 레벨에서만 관련 장치를 검색합니다.", + "last-level-relation-tooltip": "선택하면 규칙 노드가 최대 관계 수준에 설정된 수준에서만 관련 엔티티를 검색합니다.", + "last-level-device-relation-tooltip": "선택하면 규칙 노드가 최대 관계 수준에 설정된 수준에서만 관련 장치를 검색합니다.", "data-to-fetch": "가져올 데이터", "mapping-of-customers": "고객 매핑", "map-fields-required": "모든 매핑 필드가 필요합니다.", @@ -5956,6 +8628,9 @@ "use-system-slack-settings": "시스템 Slack 설정 사용", "slack-api-token": "Slack API 토큰", "slack-api-token-required": "Slack API 토큰이 필요합니다", + "deduplication-period-sec": "중복 제거 기간(초)", + "deduplication-period-sec-required": "중복 제거 기간 값은 필수 항목입니다.", + "deduplication-period-sec-range": "중복 제거 기간 값은 10에서 2147483647 사이의 범위여야 합니다.", "keys-mapping": "키 매핑", "add-key": "키 추가", "recipients": "수신자", @@ -5964,12 +8639,18 @@ "originator-customer-desc": "수신 메시지 발신자의 고객을 새 발신자로 사용합니다.", "originator-tenant-desc": "현재 테넌트를 새 발신자로 사용합니다.", "originator-related-entity-desc": "관련 엔티티를 새 발신자로 사용합니다. 구성된 관계 유형과 방향을 기반으로 조회합니다.", - "originator-alarm-originator-desc": "알람 발신자를 새 발신자로 사용합니다. 수신 메시지 발신자가 알람 엔티티인 경우에만.", + "originator-alarm-originator-desc": "알람 발생 엔티티를 새 발신자로 사용합니다. 수신 메시지 발신자가 알람 엔티티인 경우에만 해당합니다.", "originator-entity-by-name-pattern-desc": "DB에서 가져온 엔티티를 새 발신자로 사용합니다. 엔티티 유형과 지정된 이름 패턴을 기반으로 조회합니다.", "email-from-template-hint": "$[messageKey]를 사용하여 메시지에서 값을 추출하고 ${metadataKey}를 사용하여 메타데이터에서 값을 추출하세요.", "recipients-block-main-hint": "쉼표로 구분된 주소 목록입니다. 모든 입력 필드는 템플릿을 지원합니다. $[messageKey]를 사용하여 메시지에서 값을 추출하고 ${metadataKey}를 사용하여 메타데이터에서 값을 추출하세요.", + "search-entity-group-for-tenant-only-hint": "기본적으로 그룹 검색은 메시지 발신자의 소유자와 같은 수준에서 시작되며, 그룹을 찾지 못하면 계층 구조를 따라 테넌트 수준까지 올라갑니다. 활성화하면 기본 동작을 무시하고 테넌트 수준에서만 검색합니다.", + "entity-group-is-message-originator-hint": "활성화하면 메시지 발신자를 엔티티를 가져오는 데 사용할 엔티티 그룹으로 간주합니다. 이 경우 메시지 발신자 유형이 엔티티 그룹이 아니면 수신 메시지는 Failure 체인으로 라우팅됩니다.", "forward-msg-default-rule-chain": "메시지를 발신자의 기본 규칙 체인으로 전달", "forward-msg-default-rule-chain-tooltip": "활성화하면 메시지가 발신자의 기본 규칙 체인으로 전달되거나, 발신자가 엔티티 프로필에 기본 규칙 체인을 정의하지 않은 경우 구성의 규칙 체인으로 전달됩니다.", + "fetch-originators-attributes-customer": "발신자가 고객 엔티티인 경우 발신자의 속성 가져오기", + "fetch-originators-attributes-customer-hint": "활성화되어 있고 수신 메시지 발신자가 고객인 경우, 규칙 노드는 고객 검색을 생략하고 발신자의 {{mappingOfCustomers}}을(를) 가져옵니다.", + "parse-originator-if-customer": "발신자가 고객 엔티티인 경우 발신자 변경 안 함", + "parse-originator-if-customer-hint": "활성화되어 있고 수신 메시지 발신자가 고객 엔티티인 경우, 규칙 노드는 새 발신자 검색을 생략하고 기존 발신자를 유지합니다.", "exclude-zero-deltas": "아웃바운드 메시지에서 0 델타 제외", "exclude-zero-deltas-hint": "활성화하면 값이 0이 아닌 경우 \"{{outputValueKey}}\" 출력 키가 아웃바운드 메시지에 추가됩니다.", "exclude-zero-deltas-time-difference-hint": "활성화하면 \"{{outputValueKey}}\" 값이 0이 아닌 경우에만 \"{{outputValueKey}}\" 및 \"{{periodValueKey}}\" 출력 키가 아웃바운드 메시지에 추가됩니다.", @@ -5984,19 +8665,30 @@ "qualifier": "한정자", "qualifier-hint": "한정자가 지정되지 않으면 기본 한정자 \"$LATEST\"가 사용됩니다.", "aws-credentials": "AWS 자격 증명", - "connection-timeout": "연결 시간 제한", - "connection-timeout-required": "연결 시간 초과는 필수 항목입니다.", - "connection-timeout-min": "최소 연결 시간 제한은 0입니다.", + "connection-timeout": "연결 제한 시간", + "connection-timeout-required": "연결 제한 시간은 필수 항목입니다.", + "connection-timeout-min": "최소 연결 제한 시간은 0입니다.", "connection-timeout-hint": "연결을 처음 설정할 때 포기하고 시간 초과하기 전까지 기다리는 시간(초)입니다. 값이 0이면 무한을 의미하며 권장되지 않습니다.", - "request-timeout": "요청 시간 초과", - "request-timeout-required": "요청 시간 제한이 필요합니다", - "request-timeout-min": "최소 요청 시간 초과는 0입니다.", - "request-timeout-hint": "요청이 완료될 때까지 포기하고 시간 초과하기 전까지 기다리는 시간(초)입니다. 값이 0이면 무한을 의미하며 권장되지 않습니다.", + "request-timeout": "요청 제한 시간", + "request-timeout-required": "요청 제한 시간은 필수 항목입니다.", + "request-timeout-min": "최소 요청 제한 시간은 0입니다.", + "request-timeout-hint": "요청이 완료되기를 기다리다가 포기하고 시간 초과로 처리하기까지의 시간(초)입니다. 값이 0이면 무한을 의미하며 권장되지 않습니다.", "units": "단위", - "tell-failure-aws-lambda": "AWS Lambda 함수 실행에서 예외가 발생하면 실패 알림", + "tell-failure-aws-lambda": "AWS Lambda 함수 실행에서 예외가 발생하면 실패로 처리", "tell-failure-aws-lambda-hint": "AWS Lambda 함수 실행이 예외를 발생시키면 규칙 노드가 메시지 처리 실패를 강제합니다.", "basic-mode": "기본", "advanced-mode": "고급", + "url-hint": "요청 URL을 입력하세요. 특수 문자는 퍼센트 인코딩되어야 합니다.", + "query-params": "쿼리 매개변수", + "query-params-hint": "요청 URL에 포함할 추가 쿼리 매개변수입니다. 이름과 값 모두 템플릿을 지원하며, 템플릿 해석 후 엄격하게(RFC 3986) 인코딩됩니다.", + "query-params-empty": "구성된 쿼리 매개변수 없음", + "query-params-name": "이름", + "query-params-value": "값", + "query-params-name-required": "이름은 필수 항목입니다.", + "query-params-value-required": "값은 필수 항목입니다.", + "headers-empty": "구성된 헤더 없음", + "request-url": "요청 URL", + "url": "URL", "save-time-series": { "processing-settings": "처리 설정", "processing-settings-hint": "수신 메시지가 처리되는 방식을 정의합니다. 기본 처리 설정에서는 미리 구성된 전략을 선택할 수 있고, 고급 설정에서는 각 작업에 대한 개별 처리 전략을 선택할 수 있습니다.", @@ -6012,8 +8704,8 @@ "web-sockets-only": "WebSocket만" }, "time-series": "시계열", - "latest": "최근 값", - "web-sockets": "웹소켓", + "latest": "최신 값", + "web-sockets": "WebSocket", "calculated-fields-and-alarm-rules": "계산 필드 및 알람 규칙" }, "save-attribute": { @@ -6037,13 +8729,13 @@ "key": "키", "value": "값", "see-examples": "예제를 참조하세요.", - "remove-entry": "앤트리 삭제", + "remove-entry": "항목 제거", "remove-mapping-entry": "매핑 항목 제거", "add-mapping-entry": "매핑 추가", - "add-entry": "앤트리 추가", + "add-entry": "항목 추가", "copy-key-values-from": "키-값 복사 원본", "delete-key-values": "키-값 삭제", - "delete-key-values-from": "키-값 삭제 원본", + "delete-key-values-from": "키-값 삭제 위치", "at-least-one-key-error": "최소 하나의 키를 선택해야 합니다.", "unique-key-value-pair-error": "'{{keyText}}'은(는) '{{valText}}'와(과) 달라야 합니다!" }, @@ -6074,21 +8766,656 @@ "response-text": "텍스트", "response-json": "JSON", "response-json-schema": "JSON 스키마", - "response-format-hint-TEXT": "모델이 임의의 텍스트를 생성할 수 있습니다. 이는 유효한 JSON 엔티티이거나 아닐 수 있습니다. 출력이 유효한 JSON 엔티티가 아니면 \"response\" 키 아래의 JSON 엔티티 내에 자동으로 래핑됩니다.", - "response-format-hint-JSON": "모델은 유효한 JSON인 응답을 생성해야 합니다. 출력이 유효한 JSON 엔티티가 아니면 \"response\" 키 아래의 JSON 엔티티 내에 자동으로 래핑됩니다.", - "response-format-hint-JSON_SCHEMA": "모델은 제공된 스키마에 정의된 특정 구조와 데이터 유형과 일치하는 JSON을 생성해야 합니다. 출력이 유효한 JSON 엔티티가 아니면 \"response\" 키 아래의 JSON 엔티티 내에 자동으로 래핑됩니다.", + "response-format-hint-TEXT": "모델이 임의의 텍스트를 생성할 수 있습니다. 이는 유효한 JSON 객체이거나 아닐 수 있습니다. 출력이 유효한 JSON 객체가 아니면 \"response\" 키 아래의 JSON 객체 내에 자동으로 래핑됩니다.", + "response-format-hint-JSON": "모델은 유효한 JSON인 응답을 생성해야 합니다. 출력이 유효한 JSON 객체가 아니면 \"response\" 키 아래의 JSON 객체 내에 자동으로 래핑됩니다.", + "response-format-hint-JSON_SCHEMA": "모델은 제공된 스키마에 정의된 특정 구조와 데이터 유형과 일치하는 JSON을 생성해야 합니다. 출력이 유효한 JSON 객체가 아니면 \"response\" 키 아래의 JSON 객체 내에 자동으로 래핑됩니다.", "response-json-schema-hint": "유효한 JSON 스키마를 입력할 수 있지만 이 규칙 노드는 기능의 제한된 하위 집합만 지원합니다. 자세한 내용은 노드 문서를 참조하세요.", "response-json-schema-required": "JSON 스키마는 필수 항목입니다.", "advanced-settings": "고급 설정", - "timeout": "시간 초과", + "timeout": "제한 시간", "timeout-hint": "요청이 종료되기 전에 AI 모델로부터 응답을 기다리는 최대 시간.", - "timeout-required": "시간 초과는 필수 항목입니다.", + "timeout-required": "제한 시간은 필수 항목입니다.", "timeout-validation": "1초에서 10분 사이여야 합니다.", "force-acknowledgement": "강제 확인", "force-acknowledgement-hint": "활성화하면 수신 메시지가 즉시 확인됩니다. 그런 다음 모델의 응답이 별도의 새 메시지로 큐에 추가됩니다.", "ai-resources": "AI 리소스" } }, + "role": { + "role": "역할", + "roles": "역할", + "management": "역할 관리", + "view-roles": "역할 보기", + "no-roles-matching": "'{{entity}}'와(과) 일치하는 역할을 찾을 수 없습니다.", + "role-list": "역할 목록", + "role-list-required": "역할 목록은 필수 항목입니다.", + "add": "역할 추가", + "view": "역할 보기", + "search": "역할 검색", + "selected-roles": "{ count, plural, =1 {역할 1개} other {역할 #개} } 선택됨", + "no-roles-text": "역할을 찾을 수 없습니다", + "role-details": "역할 세부 정보", + "add-role-text": "새 역할 추가", + "delete": "역할 삭제", + "delete-roles": "역할 삭제", + "delete-role-title": "'{{roleName}}' 역할을 삭제하시겠습니까?", + "delete-role-text": "주의하세요. 확인 후에는 역할과 모든 관련 데이터를 복구할 수 없습니다.", + "delete-roles-title": "{ count, plural, =1 {역할 1개} other {역할 #개} }를 삭제하시겠습니까?", + "delete-roles-action-title": "{ count, plural, =1 {역할 1개} other {역할 #개} } 삭제", + "delete-roles-text": "주의하세요. 확인 후에는 선택한 모든 역할이 제거되며 모든 관련 데이터를 복구할 수 없습니다.", + "role-type": "역할 유형", + "role-type-required": "역할 유형은 필수 항목입니다.", + "select-role-type": "역할 유형 선택", + "enter-role-type": "역할 유형 입력", + "any-role": "모든 역할", + "no-role-types-matching": "'{{entitySubtype}}'와(과) 일치하는 역할 유형을 찾을 수 없습니다.", + "role-type-list-empty": "선택된 역할 유형이 없습니다.", + "role-types": "역할 유형", + "created-time": "생성 일시", + "name": "이름", + "name-required": "이름은 필수 항목입니다.", + "name-max-length": "이름은 256자 미만이어야 합니다.", + "description": "설명", + "events": "이벤트", + "details": "세부 정보", + "copyId": "역할 ID 복사", + "idCopiedMessage": "역할 ID가 클립보드에 복사되었습니다", + "permissions": "권한", + "excluded-permissions": "제외된 권한", + "role-required": "역할은 필수 항목입니다", + "roles-required": "역할은 필수 항목입니다", + "display-type": { + "GENERIC": "일반", + "GROUP": "그룹" + } + }, + "group-permission": { + "user-group-roles": "사용자 그룹 역할", + "entity-group-permissions": "엔티티 그룹 권한", + "role-type": "역할 유형", + "role-name": "역할 이름", + "group-type": "그룹 유형", + "group-name": "그룹 이름", + "group-owner": "그룹 소유자", + "user-group-name": "사용자 그룹 이름", + "user-group-owner": "사용자 그룹 소유자", + "edit": "권한 편집", + "delete": "권한 삭제", + "selected-group-permissions": "{ count, plural, =1 {그룹 권한 1개} other {그룹 권한 #개} } 선택됨", + "delete-group-permission-title": "그룹 권한 '{{roleName}}'을(를) 삭제하시겠습니까?", + "delete-group-permission-text": "주의하세요. 확인 후에는 그룹 권한과 모든 관련 데이터를 복구할 수 없습니다.", + "delete-group-permission": "그룹 권한 삭제", + "delete-group-permissions-title": "{ count, plural, =1 {그룹 권한 1개} other {그룹 권한 #개} }를 삭제하시겠습니까?", + "delete-group-permissions-text": "주의하세요. 확인 후에는 선택한 모든 그룹 권한이 제거되며 해당 사용자는 지정된 리소스에 대한 액세스 권한을 잃게 됩니다.", + "delete-group-permissions": "그룹 권한 삭제", + "add-group-permission": "그룹 권한 추가", + "edit-group-permission": "그룹 권한 편집", + "entity-group": "엔티티 그룹", + "user-group": "사용자 그룹", + "no-owners-matching": "'{{owner}}'와(과) 일치하는 소유자가 없습니다.", + "target-owner-required": "엔티티 그룹 소유자를 선택하세요.", + "target-user-group-owner-required": "사용자 그룹 소유자를 선택하세요.", + "no-group-permissions-text": "그룹 권한이 없습니다", + "permissions-merge-hint": "일반 역할의 경우 거부된 작업은 동일한 역할 내에서만 적용됩니다. 다른 역할이 작업을 허용하면 액세스 권한이 부여됩니다." + }, + "permission": { + "permissions-required": "허용된 작업을 하나 이상 지정해야 합니다.", + "resource-duplicate": "이 리소스는 이미 선택되었습니다", + "operations-required": "허용 또는 거부된 작업을 하나 이상 지정해야 합니다.", + "operation-overlap": "허용된 작업과 거부된 작업은 겹치지 않아야 합니다.", + "remove-permission": "권한 항목 제거", + "add-permission": "권한 항목 추가", + "other": "기타", + "resource": { + "resource": "리소스", + "select-resource": "리소스 선택", + "resource-required": "리소스는 필수 항목입니다.", + "no-resources-matching": "'{{resource}}'와(과) 일치하는 리소스를 찾을 수 없습니다.", + "display-type": { + "ALL": "모두", + "PROFILE": "프로필", + "ADMIN_SETTINGS": "관리자 설정", + "ALARM": "알람", + "DEVICE": "장치", + "DEVICE_PROFILE": "장치 프로필", + "ASSET": "자산", + "CUSTOMER": "고객", + "DASHBOARD": "대시보드", + "ENTITY_VIEW": "엔티티 뷰", + "EDGE": "Edge", + "TENANT": "테넌트", + "TENANT_PROFILE": "테넌트 프로필", + "RULE_CHAIN": "규칙 체인", + "USER": "사용자", + "WIDGETS_BUNDLE": "위젯 번들", + "WIDGET_TYPE": "위젯 유형", + "CONVERTER": "변환기", + "INTEGRATION": "통합", + "SCHEDULER_EVENT": "스케줄러 이벤트", + "BLOB_ENTITY": "Blob 엔티티", + "REPORT_TEMPLATE": "보고서 템플릿", + "REPORT": "보고서", + "CUSTOMER_GROUP": "고객 그룹", + "DEVICE_GROUP": "장치 그룹", + "ASSET_GROUP": "자산 그룹", + "USER_GROUP": "사용자 그룹", + "ENTITY_VIEW_GROUP": "엔티티 뷰 그룹", + "DASHBOARD_GROUP": "대시보드 그룹", + "ROLE": "역할", + "GROUP_PERMISSION": "그룹 권한", + "WHITE_LABELING": "화이트 라벨링", + "AUDIT_LOG": "감사 로그", + "API_USAGE_STATE": "API 사용 상태", + "TB_RESOURCE": "리소스", + "EDGE_GROUP": "Edge 그룹", + "OTA_PACKAGE": "OTA 패키지", + "QUEUE": "큐", + "QUEUE_STATS": "큐 통계", + "VERSION_CONTROL": "버전 관리", + "ASSET_PROFILE": "자산 프로필", + "NOTIFICATION": "알림", + "MOBILE_APP_SETTINGS": "QR 코드 위젯 설정", + "MOBILE_APP_BUNDLE": "모바일 번들", + "MOBILE_APP": "모바일 앱", + "DOMAIN": "도메인", + "OAUTH2_CLIENT": "OAuth 2.0 클라이언트", + "SECRET": "시크릿", + "JOB": "작업", + "AI_MODEL": "AI 모델", + "AI": "AI", + "API_KEY": "API 키", + "AGENT": "Agent", + "AGENT_GROUP": "Agent 그룹", + "AGENT_PROFILE": "Agent 프로필", + "AGENT_APPLICATION": "Agent 애플리케이션", + "AGENT_APP_PROFILE": "Agent 애플리케이션 프로필", + "AGENT_APP_UNIT": "Agent 애플리케이션 유닛" + } + }, + "operation": { + "operation": "오퍼레이션", + "operations": "오퍼레이션", + "allowed": "허용됨", + "denied": "거부됨", + "not-set": "설정되지 않음", + "operations-required": "하나 이상의 작업을 지정해야 합니다.", + "enter-operation": "작업 입력", + "no-operations-matching": "'{{operation}}'와(과) 일치하는 작업을 찾을 수 없습니다.", + "display-type": { + "ALL": "모두", + "CREATE": "생성", + "READ": "읽기", + "WRITE": "쓰기", + "DELETE": "삭제", + "ASSIGN_TO_CUSTOMER": "고객에게 할당", + "UNASSIGN_FROM_CUSTOMER": "고객 할당 해제", + "RPC_CALL": "RPC 호출", + "READ_CREDENTIALS": "자격 증명 읽기", + "WRITE_CREDENTIALS": "자격 증명 쓰기", + "READ_ATTRIBUTES": "속성 읽기", + "WRITE_ATTRIBUTES": "속성 쓰기", + "READ_TELEMETRY": "텔레메트리 읽기", + "WRITE_TELEMETRY": "텔레메트리 쓰기", + "CLAIM_DEVICES": "장치 소유권 등록", + "IMPERSONATE": "대리 로그인", + "CHANGE_OWNER": "소유자 변경", + "ADD_TO_GROUP": "그룹에 추가", + "REMOVE_FROM_GROUP": "그룹에서 제거", + "SHARE_GROUP": "그룹 공유", + "ASSIGN_TO_TENANT": "테넌트에 할당", + "READ_CALCULATED_FIELD": "계산 필드 및 알람 규칙 읽기", + "WRITE_CALCULATED_FIELD": "계산 필드 및 알람 규칙 쓰기", + "INVOKE": "호출" + } + } + }, + "scheduler": { + "scheduler": "스케줄러", + "scheduler-event": "스케줄러 이벤트", + "select-scheduler-event": "스케줄러 이벤트 선택", + "no-scheduler-events-matching": "'{{entity}}'와(과) 일치하는 스케줄러 이벤트를 찾을 수 없습니다.", + "scheduler-event-required": "스케줄러 이벤트를 선택하세요.", + "management": "일정 관리", + "scheduler-events": "스케줄러 이벤트", + "add-scheduler-event": "스케줄러 이벤트 추가", + "search-scheduler-events": "스케줄러 이벤트 검색", + "created-time": "생성 일시", + "name": "이름", + "name-required": "이름은 필수 항목입니다.", + "name-max-length": "이름은 256자 미만이어야 합니다.", + "type": "유형", + "created_customer": "고객이 생성함", + "edit-scheduler-event": "스케줄러 이벤트 편집", + "view-scheduler-event": "스케줄러 이벤트 보기", + "delete-scheduler-event": "스케줄러 이벤트 삭제", + "no-scheduler-events": "스케줄러 이벤트를 찾을 수 없습니다.", + "selected-scheduler-events": "{ count, plural, =1 {스케줄러 이벤트 1개} other {스케줄러 이벤트 #개} } 선택됨", + "delete-scheduler-event-title": "스케줄러 이벤트 '{{schedulerEventName}}'을(를) 삭제하시겠습니까?", + "delete-scheduler-event-text": "주의하세요. 확인 후에는 스케줄러 이벤트와 관련된 모든 데이터를 복구할 수 없게 됩니다.", + "delete-scheduler-events-title": "{ count, plural, =1 {스케줄러 이벤트 1개} other {스케줄러 이벤트 #개} }를 삭제하시겠습니까?", + "delete-scheduler-events-text": "주의하세요. 확인 후에는 선택한 모든 스케줄러 이벤트가 제거되며 관련된 모든 데이터를 복구할 수 없게 됩니다.", + "create": "스케줄러 이벤트 추가", + "edit": "스케줄러 이벤트 편집", + "view": "스케줄러 이벤트 보기", + "configuration": "구성", + "schedule": "일정", + "start-time": "시작 시간", + "repeat": "반복", + "repeats": "반복 방식", + "daily": "매일", + "every-n-days": "N일마다", + "every-n-days-text": "{ days, plural, =1 {1일마다} other {#일마다} }", + "weekly": "매주", + "every-n-weeks": "N주마다", + "every-n-weeks-text": "{ weeks, plural, =1 {1주마다} other {#주마다} }", + "monthly": "매월", + "yearly": "매년", + "timer": "타이머 기반", + "repeats-required": "반복 방식을 선택하세요.", + "repeat-on": "반복 요일", + "repeat-every": "반복 주기", + "repeat-every-n-days": "N일마다 반복", + "repeat-days-required": "반복 일수는 필수 항목입니다.", + "invalid-repeat-days-value": "반복 일수는 양의 정수여야 합니다.", + "repeat-every-n-weeks": "N주마다 반복", + "repeat-weeks-required": "반복 주 수는 필수 항목입니다.", + "invalid-repeat-weeks-value": "반복 주 수는 양의 정수여야 합니다.", + "ends-on": "종료일", + "sunday-label": "일", + "monday-label": "월", + "tuesday-label": "화", + "wednesday-label": "수", + "thursday-label": "목", + "friday-label": "금", + "saturday-label": "토", + "repeat-on-sunday": "일요일에 반복", + "repeat-on-monday": "월요일에 반복", + "repeat-on-tuesday": "화요일에 반복", + "repeat-on-wednesday": "수요일에 반복", + "repeat-on-thursday": "목요일에 반복", + "repeat-on-friday": "금요일에 반복", + "repeat-on-saturday": "토요일에 반복", + "event-type": "이벤트 유형", + "select-event-type": "이벤트 유형 선택", + "event-type-required": "이벤트 유형은 필수 항목입니다.", + "event-type-max-length": "이벤트 유형은 256자 미만이어야 합니다.", + "list-mode": "목록 보기", + "calendar-mode": "캘린더 보기", + "calendar-view-type": "캘린더 보기 유형", + "month": "월", + "week": "주", + "day": "일", + "agenda-week": "주간 일정", + "agenda-day": "일간 일정", + "list-year": "연간 목록", + "list-month": "월간 목록", + "list-week": "주간 목록", + "list-day": "일간 목록", + "today": "오늘", + "navigate-before": "이전", + "navigate-next": "다음", + "starting-from": "시작", + "until": "종료", + "on": "요일", + "sunday": "일요일", + "monday": "월요일", + "tuesday": "화요일", + "wednesday": "수요일", + "thursday": "목요일", + "friday": "금요일", + "saturday": "토요일", + "originator": "발신자", + "single-entity": "단일 엔티티", + "group-entities": "그룹 엔티티", + "entities-group-owner": "엔티티 그룹 소유자", + "devices-group-owner": "장치 그룹 소유자", + "message-body": "메시지 본문", + "target": "대상", + "rpc-method": "메서드", + "rpc-method-required": "메서드는 필수 항목입니다.", + "rpc-method-white-space": "공백은 허용되지 않습니다.", + "rpc-params": "매개변수", + "select-dashboard-state": "대시보드 상태 선택", + "hours": "시간", + "minutes": "분", + "seconds": "초", + "time-interval-required": "시간 간격은 필수 항목입니다.", + "time-unit-required": "시간 단위는 필수 항목입니다.", + "every-hour": "{ count, plural, =1 {매시간} other {#시간마다} }", + "every-minute": "{ count, plural, =1 {매분} other {#분마다} }", + "every-second": "{ count, plural, =1 {매초} other {#초마다} }", + "invalid-time": "잘못된 시간", + "rpc-request-timeout": "RPC 요청 제한 시간 (ms)", + "rpc-request-persistent": "영구 RPC 요청", + "rpc-request-oneway-command": "단방향 RPC 요청", + "rpc-value-min-error": "값은 {{min}}ms보다 커야 합니다.", + "set": "설정", + "rpc-settings": "RPC 설정", + "enabled": "스케줄러 활성화", + "enable": "활성화", + "disable": "비활성화" + }, + "report": { + "general-report-settings": "일반 보고서 설정", + "target-dashboard": "대상 대시보드", + "email-config": "이메일 구성", + "dashboard-state-param": "대시보드 상태 매개변수 값", + "base-url": "기본 URL", + "base-url-required": "기본 URL을 입력해야 합니다.", + "use-dashboard-timewindow": "대시보드 시간 창 사용", + "use-dashboard-timewindow-description": "설정하면 보고서 생성 시 대상 대시보드에 구성된 시간 창이 사용됩니다.", + "timewindow": "시간 창", + "name-pattern": "보고서 이름 패턴", + "name-pattern-required": "보고서 이름 패턴은 필수 항목입니다", + "type": "보고서 유형", + "customer-user-credentials": "고객 사용자 자격 증명", + "customer-user-credentials-required": "고객 사용자를 선택하세요.", + "generate-test-report": "테스트 보고서 생성", + "send-email": "이메일 전송", + "from": "보내는 사람", + "from-required": "보내는 사람은 필수 항목입니다.", + "to": "받는 사람", + "to-required": "받는 사람은 필수 항목입니다.", + "cc": "참조", + "bcc": "숨은 참조", + "cc-description": "참조", + "bcc-description": "숨은 참조", + "subject": "제목", + "subject-required": "제목은 필수 항목입니다.", + "body": "본문", + "body-required": "본문은 필수 항목입니다.", + "credentials": "자격 증명", + "preview-report": "보고서 미리 보기", + "current-user": "현재 사용자", + "customer-user": "고객 사용자", + "user-credentials-description": "보고서를 생성하는 동안 지정된 사용자의 자격 증명으로 대시보드 UI를 엽니다.", + "timezone-description": "보고서에 대상 대시보드를 표시할 때 사용할 시간대입니다.", + "reporting": "보고", + "templates": "템플릿", + "report": "보고서", + "reports": "보고서", + "scheduling": "예약", + "generating-report": "보고서 생성 중...", + "report-details": "보고서 세부 정보", + "add": "보고서 추가", + "no-reports-text": "보고서를 찾을 수 없습니다", + "search": "보고서 검색", + "selected-reports": "{ count, plural, =1 {보고서 1개} other {보고서 #개} } 선택됨", + "filter-not-set": "모두", + "delete-report-title": "보고서 '{{reportName}}'을(를) 삭제하시겠습니까?", + "delete-report-text": "주의하세요. 확인 후에는 보고서와 모든 관련 데이터를 복구할 수 없습니다.", + "delete-reports-title": "{ count, plural, =1 {보고서 1개} other {보고서 #개} }를 삭제하시겠습니까?", + "delete-reports-text": "주의하세요. 확인 후에는 선택한 모든 보고서가 제거되고 모든 관련 데이터를 복구할 수 없습니다.", + "file-name": "파일 이름", + "format": "형식", + "download": "보고서 다운로드", + "report-filter": "보고서 필터", + "no-reports-matching": "'{{entity}}'와(과) 일치하는 보고서를 찾을 수 없습니다.", + "report-required": "보고서를 선택하세요.", + "generate-report": "보고서 생성", + "generate-report-started": "보고서 생성이 시작되었습니다. 보고서가 표시되지 않으면 페이지를 새로 고치세요.", + "public-status": "공개 액세스", + "manage-public-access": "공개 액세스 관리", + "public-status-hint": "활성화하면 공개 보고서 링크가 있는 누구나 보고서를 다운로드할 수 있습니다.", + "public-link-text": "이 보고서는 공개되어 있습니다. 아래 링크를 공유하세요 - 링크가 있는 누구나 인증 없이 보고서를 다운로드할 수 있습니다.", + "copy-public-link": "링크 복사" + }, + "report-template": { + "report-template": "보고서 템플릿", + "report-templates": "보고서 템플릿", + "add": "보고서 템플릿 추가", + "search": "보고서 템플릿 검색", + "template-filter": "템플릿 필터", + "sub-report": "하위 보고서", + "no-report-templates-text": "보고서 템플릿을 찾을 수 없습니다", + "no-sub-reports-text": "하위 보고서를 찾을 수 없습니다", + "select-report-template": "보고서 템플릿 선택", + "open-report-template-new-tab": "새 탭에서 보고서 템플릿 열기", + "select-sub-report": "하위 보고서 선택", + "open-subreport-new-tab": "새 탭에서 하위 보고서 열기", + "report-template-details": "보고서 템플릿 세부 정보", + "selected-report-templates": "{ count, plural, =1 {보고서 템플릿 1개} other {보고서 템플릿 #개} } 선택됨", + "type-report": "보고서", + "type-sub-report": "하위 보고서", + "no-report-templates-matching": "'{{entity}}'와(과) 일치하는 보고서 템플릿을 찾을 수 없습니다.", + "no-sub-reports-matching": "'{{entity}}'와(과) 일치하는 하위 보고서를 찾을 수 없습니다.", + "report-template-required": "보고서 템플릿을 선택하세요.", + "sub-report-required": "하위 보고서를 선택하세요.", + "delete-report-template-title": "보고서 템플릿 '{{reportTemplateTitle}}'을(를) 삭제하시겠습니까?", + "delete-report-template-text": "주의하세요. 확인 후에는 보고서 템플릿과 모든 관련 데이터를 복구할 수 없습니다.", + "delete-report-templates-title": "{ count, plural, =1 {보고서 템플릿 1개} other {보고서 템플릿 #개} }를 삭제하시겠습니까?", + "delete-report-templates-text": "주의하세요. 확인 후에는 선택한 모든 보고서 템플릿이 제거되며 모든 관련 데이터를 복구할 수 없습니다.", + "create-new-report-template": "새 보고서 템플릿 생성", + "import": "보고서 템플릿 가져오기", + "export": "보고서 템플릿 내보내기", + "name": "이름", + "name-required": "보고서 템플릿 이름은 필수 항목입니다.", + "name-max-length": "이름은 256자 미만이어야 합니다.", + "format": "형식", + "type": "유형", + "description": "설명", + "events": "이벤트", + "idCopiedMessage": "보고서 템플릿 ID가 클립보드에 복사되었습니다.", + "open-report-template": "보고서 템플릿 열기", + "delete": "보고서 템플릿 삭제", + "copyId": "보고서 템플릿 ID 복사", + "settings": "설정", + "report-template-settings": "보고서 템플릿 설정", + "sub-report-settings": "하위 보고서 설정", + "file-name-pattern": "파일 이름 패턴", + "file-name-pattern-required": "보고서 파일 이름 패턴은 필수 항목입니다.", + "default-date-format": "기본 날짜 형식", + "report-components": "보고서 구성 요소", + "search-components": "구성 요소 검색", + "drop-report-components": "사이드바의 보고서 구성 요소를 여기에 놓으세요.", + "drop-report-component": "보고서 구성 요소를 여기에 놓으세요.", + "header": "머리글", + "header-disabled": "머리글 비활성화됨", + "first-page-header": "첫 페이지 머리글", + "first-page-header-disabled": "첫 페이지 머리글 비활성화됨", + "footer": "바닥글", + "footer-disabled": "바닥글 비활성화됨", + "first-page-footer": "첫 페이지 바닥글", + "first-page-footer-disabled": "첫 페이지 바닥글 비활성화됨", + "content": "콘텐츠", + "data": "데이터", + "layout": "레이아웃", + "common-settings": "일반 설정", + "page-settings": "페이지 설정", + "paper-size": "용지 크기", + "orientation": "방향", + "orientation-portrait": "세로", + "orientation-landscape": "가로", + "margins": "여백", + "paddings": "안쪽 여백", + "left": "왼쪽", + "right": "오른쪽", + "top": "상단", + "bottom": "하단", + "background": "배경", + "border": "테두리", + "radius": "반경", + "insert-update-image": "이미지 삽입/업데이트", + "edit-image": "이미지 편집", + "image": "이미지", + "image-size": "이미지 크기", + "width": "너비", + "height": "높이", + "preserve-image-proportions": "이미지 비율 유지", + "text-style": "텍스트 스타일", + "background-color": "배경색", + "alignment": "정렬", + "horizontal": "가로", + "vertical": "세로", + "dashboard": "대시보드", + "timewindow": "시간 창", + "export-failed-error": "보고서 템플릿을 내보낼 수 없습니다: {{error}}", + "report-template-file": "보고서 템플릿 파일", + "invalid-report-template-file-error": "보고서 템플릿을 가져올 수 없습니다: 보고서 템플릿 데이터 구조가 잘못되었습니다.", + "collapse": "접기", + "expand": "펼치기", + "editor": "편집기", + "component": { + "group": { + "text-and-images": "텍스트 및 이미지", + "data-and-tables": "데이터 및 테이블", + "charts": "차트", + "branding": "브랜딩", + "report-info-and-layout": "보고서 정보 및 레이아웃" + }, + "heading": { + "type": "제목", + "text": "텍스트", + "height": "높이" + }, + "rich-text": { + "type": "서식 있는 텍스트", + "text": "텍스트" + }, + "divider": { + "type": "구분선", + "divider-type": "유형", + "divider-type-long": "길게", + "divider-type-short": "짧게", + "line-type": "선 유형", + "line-type-solid": "실선", + "line-type-dashed": "파선", + "line-type-dotted": "점선", + "line-width": "선 너비" + }, + "page-break": { + "type": "페이지 나누기" + }, + "table": { + "table-heading": "표 제목", + "column-settings": "열 설정", + "column-width": "열 너비", + "header": "머리글", + "cell": "셀", + "sort-by": "정렬 기준", + "sort-asc": "오름차순", + "sort-desc": "내림차순", + "sort-none": "없음" + }, + "entity-table": { + "type": "엔티티 테이블" + }, + "timeseries-table": { + "type": "시계열 테이블", + "display-timestamp": "타임스탬프", + "timestamp-column-settings": "타임스탬프 열 설정" + }, + "alarm-table": { + "type": "알람 테이블" + }, + "time-series-chart": { + "type": "시계열 차트", + "no-datasource-configured": "\"{{chartType}}\"에 대한 데이터 소스가 구성되지 않았습니다", + "no-series-configured": "\"{{chartType}}\"에 대해 하나 이상의 시리즈를 지정해야 합니다" + }, + "latest-chart": { + "no-datasource-configured": "\"{{chartType}}\"에 대한 데이터 소스가 구성되지 않았습니다", + "no-series-configured": "\"{{chartType}}\"에 대해 하나 이상의 시리즈를 지정해야 합니다" + }, + "line-chart": "선 차트", + "bar-chart": "막대 차트", + "point-chart": "점 차트", + "state-chart": "상태 차트", + "bar-chart-with-labels": "레이블이 있는 막대 차트", + "range-chart": "범위 차트", + "bars": "막대", + "pie": "원형", + "doughnut": "도넛", + "horizontal-doughnut": "가로 도넛", + "chart": { + "chart-height": "차트 높이", + "chart-width": "차트 너비", + "chart-alignment": "차트 정렬" + }, + "image": { + "type": "이미지", + "image-source": "이미지 소스", + "source-image": "이미지", + "source-entity-key": "엔티티 키", + "image-url-key": "이미지 URL 키", + "image-width": "이미지 너비", + "width-fit-width": "너비에 맞춤", + "width-original": "원본", + "width-custom": "사용자 지정", + "image-alignment": "이미지 정렬", + "alignment-left": "왼쪽", + "alignment-center": "가운데", + "alignment-right": "오른쪽" + }, + "dashboard": { + "type": "대시보드", + "no-dashboard": "선택된 대시보드 없음", + "open-dashboard-new-tab": "새 탭에서 대시보드 열기" + }, + "sub-report": { + "type": "하위 보고서", + "no-sub-report": "선택된 하위 보고서 없음", + "avoid-page-break-inside": "내부 페이지 나누기 방지" + }, + "split-view": { + "type": "분할 보기", + "split-position": "상대 분할 위치", + "split-gap": "분할 간격", + "vertical-alignment": "세로 정렬", + "left": "왼쪽", + "right": "오른쪽" + }, + "text-section": "텍스트 섹션", + "text-image": "텍스트 + 이미지", + "image-text": "이미지 + 텍스트", + "logo-heading": "로고 + 제목", + "heading-logo": "제목 + 로고", + "logo-text": "로고 + 텍스트", + "text-logo": "텍스트 + 로고", + "logo-text-2": "로고 + 텍스트 2", + "footer-1": "바닥글 1", + "footer-2": "바닥글 2", + "footer-3": "바닥글 3", + "page-number": "페이지 번호", + "created-time": "생성 일시" + } + }, + "scheduled-report": { + "scheduled-reports": "예약된 보고서", + "name": "이름", + "schedule": "일정", + "schedule-report": "보고서 예약", + "delete-scheduled-report-title": "보고서 일정 '{{scheduledReportTitle}}'을(를) 삭제하시겠습니까?", + "delete-scheduled-report-text": "주의하세요. 확인 후에는 보고서 일정과 관련된 모든 데이터를 복구할 수 없습니다.", + "delete-scheduled-reports-title": "{ count, plural, =1 {보고서 일정 1개} other {보고서 일정 #개} }를 삭제하시겠습니까?", + "delete-scheduled-reports-text": "주의하세요. 확인 후에는 선택한 모든 보고서 일정이 제거되며 관련된 모든 데이터를 복구할 수 없습니다.", + "edit": "보고서 일정 편집", + "search": "예약된 보고서 검색", + "no-scheduled-reports-text": "예약된 보고서를 찾을 수 없습니다", + "selected-scheduled-reports": "{ count, plural, =1 {보고서 일정 1개} other {보고서 일정 #개} } 선택됨" + }, + "blob-entity": { + "blob-entity": "Blob 엔티티", + "select-blob-entity": "Blob 엔티티 선택", + "no-blob-entities-matching": "'{{entity}}'와(과) 일치하는 Blob 엔티티를 찾을 수 없습니다.", + "blob-entity-required": "Blob 엔티티를 선택하세요.", + "files": "파일", + "search": "파일 검색", + "clear-search": "검색 지우기", + "no-blob-entities-prompt": "파일을 찾을 수 없습니다", + "report": "웹 보고서", + "created-time": "생성 일시", + "name": "이름", + "type": "유형", + "created_customer": "생성한 고객", + "selected-blob-entities": "{ count, plural, =1 {파일 1개} other {파일 #개} } 선택됨", + "download-blob-entity": "파일 다운로드", + "delete-blob-entity": "파일 삭제", + "delete-blob-entity-title": "'{{blobEntityName}}' 파일을 삭제하시겠습니까?", + "delete-blob-entity-text": "주의하세요. 확인 후에는 파일 데이터를 복구할 수 없습니다.", + "delete-blob-entities-title": "{ count, plural, =1 {파일 1개를} other {파일 #개를} } 삭제하시겠습니까?", + "delete-blob-entities-text": "주의하세요. 확인 후에는 선택한 모든 파일이 제거되며 관련된 모든 데이터를 복구할 수 없습니다." + }, "timezone": { "timezone": "시간대", "select-timezone": "시간대 선택", @@ -6111,8 +9438,8 @@ "poll-interval-min-value": "폴링 간격 값은 1 미만일 수 없습니다.", "partitions-required": "파티션은 필수 항목입니다!", "partitions-min-value": "파티션 값은 1 미만일 수 없습니다.", - "pack-processing-timeout-required": "처리 시간 초과는 필수 항목입니다.", - "pack-processing-timeout-min-value": "처리 시간 초과 값은 1 미만일 수 없습니다.", + "pack-processing-timeout-required": "처리 제한 시간은 필수 항목입니다.", + "pack-processing-timeout-min-value": "처리 제한 시간 값은 1 미만일 수 없습니다.", "batch-size-required": "배치 크기는 필수 항목입니다!", "batch-size-min-value": "배치 크기 값은 1 미만일 수 없습니다.", "retries-required": "재시도는 필수 항목입니다!", @@ -6127,9 +9454,9 @@ "submit-strategy-type-required": "제출 전략 유형은 필수 항목입니다!", "processing-strategy-type-required": "처리 전략 유형은 필수 항목입니다!", "queues": "큐", - "selected-queues": "{ count, plural, =1 {1개 큐} other {#개 큐} } 선택됨", + "selected-queues": "{ count, plural, =1 {큐 1개} other {큐 #개} } 선택됨", "delete-queue-title": "큐 '{{queueName}}'을(를) 삭제하시겠습니까?", - "delete-queues-title": "{ count, plural, =1 {1개 큐} other {#개 큐} }를 삭제하시겠습니까?", + "delete-queues-title": "{ count, plural, =1 {큐 1개} other {큐 #개} }를 삭제하시겠습니까?", "delete-queue-text": "주의: 확인 후 큐와 모든 관련 데이터를 복구할 수 없게 됩니다.", "delete-queues-text": "확인 후 선택한 모든 큐가 삭제되어 액세스할 수 없게 됩니다.", "search": "큐 검색", @@ -6150,10 +9477,10 @@ "consumer-per-partition": "각 소비자에게 메시지 폴 전송", "consumer-per-partition-hint": "각 파티션에 별도의 소비자 활성화", "duplicate-msg-to-all-partitions": "모든 파티션에 메시지 복제", - "processing-timeout": "처리 시간 내 (ms)", + "processing-timeout": "처리 제한 시간 (ms)", "batch-size": "배치 크기", "retries": "재시도 횟수 (0 – 무제한)", - "failure-percentage": "재시도 건너뛰기 실패 메시지 (%)", + "failure-percentage": "재시도를 건너뛸 실패 메시지 비율 (%)", "pause-between-retries": "재시도 시간 내 (초)", "max-pause-between-retries": "추가 재시도 시간 내 (초)", "delete": "큐 삭제", @@ -6193,10 +9520,10 @@ "queue-statistics": "큐 통계", "no-queue-statistics-matching": "'{{entity}}'와(과) 일치하는 큐 통계를 찾을 수 없습니다.", "queue-statistics-required": "큐 통계는 필수 항목입니다.", - "list-of-queue-statistics": "{ count, plural, =1 {하나의 큐 통계} other {#개 큐 통계 목록} }", - "selected-queue-statistics": "{ count, plural, =1 {1개 큐 통계} other {#개 큐 통계} } 선택됨", + "list-of-queue-statistics": "{ count, plural, =1 {큐 통계 1개} other {큐 통계 #개 목록} }", + "selected-queue-statistics": "{ count, plural, =1 {큐 통계 1개} other {큐 통계 #개} } 선택됨", "no-queue-statistics-text": "큐 통계를 찾을 수 없습니다", - "queue-statistics-starts-with": "이름이 '{{prefix}}'로 시작하는 큐 통계" + "queue-statistics-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 큐 통계" }, "server-error": { "general": "일반 서버 오류", @@ -6226,21 +9553,23 @@ "title-max-length": "제목은 256자 미만이어야 합니다.", "delete-tenant-title": "'{{tenantTitle}}' 테넌트를 삭제하시겠습니까?", "delete-tenant-text": "테넌트 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-tenants-title": "{ count, plural, =1 {테넌트 1 개} other {테넌트 # 개} }를 삭제하시겠습니까?", - "delete-tenants-action-title": "{ count, plural, =1 {테넌트 1 개} other {테넌트 # 개} } 삭제", + "delete-tenants-title": "{ count, plural, =1 {테넌트 1개} other {테넌트 #개} }를 삭제하시겠습니까?", + "delete-tenants-action-title": "{ count, plural, =1 {테넌트 1개} other {테넌트 #개} } 삭제", "delete-tenants-text": "테넌트 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", "title": "제목", "title-required": "제목을 입력하세요.", "description": "설명", - "details": "상세 내역", + "details": "세부 정보", "events": "이벤트", "copyId": "테넌트 ID 복사", - "idCopiedMessage": "테넌트 ID를 클립보드로 복사", + "idCopiedMessage": "테넌트 ID가 클립보드에 복사되었습니다.", "select-tenant": "테넌트 선택", - "no-tenants-matching": "태넌트 '{{entity}}'을(를) 찾을 수 없습니다.", + "no-tenants-matching": "'{{entity}}'와(과) 일치하는 테넌트를 찾을 수 없습니다.", "tenant-required": "테넌트가 필요합니다.", + "allow-white-labeling": "화이트 라벨링 허용", + "allow-customer-white-labeling": "고객 화이트 라벨링 허용", "search": "테넌트 검색", - "selected-tenants": "{ count, plural, =1 {1 개 테넌트} other {# 개 테넌트} } 선택됨", + "selected-tenants": "{ count, plural, =1 {테넌트 1개} other {테넌트 #개} } 선택됨", "isolated-tb-rule-engine": "격리된 ThingsBoard 규칙 엔진 큐 사용", "isolated-tb-rule-engine-details": "각 테넌트는 전용 규칙 엔진 큐를 갖습니다" }, @@ -6255,9 +9584,9 @@ "no-tenant-profiles-text": "아무 테넌트 프로필도 찾지 못했습니다", "name-max-length": "이름은 256자 미만이어야 합니다.", "search": "테넌트 프로필 검색", - "selected-tenant-profiles": "{ count, plural, =1 {1 개 테넌트 프로필} other {# 개 테넌트 프로필} } 선택됨", + "selected-tenant-profiles": "{ count, plural, =1 {테넌트 프로필 1개} other {테넌트 프로필 #개} } 선택됨", "no-tenant-profiles-matching": "'{{entity}}'와(과) 일치하는 테넌트 프로필을 찾을 수 없습니다.", - "tenant-profile-required": "테넌트 프로필을 입력하세요", + "tenant-profile-required": "테넌트 프로필을 선택하세요", "idCopiedMessage": "테넌트 프로필 ID가 클립보드에 저장되었습니다", "set-default": "테넌트 프로필 기본값으로 지정", "delete": "테넌트 프로필 삭제", @@ -6270,7 +9599,7 @@ "default": "기본값", "delete-tenant-profile-title": "테넌트 프로필 '{{tenantProfileName}}'을(를) 삭제하시겠습니까?", "delete-tenant-profile-text": "주의: 확인 후 테넌트 프로필과 모든 관련 데이터를 복구할 수 없게 됩니다.", - "delete-tenant-profiles-title": "{ count, plural, =1 {1 개 테넌트 프로필} other {# 개 테넌트 프로필} }을 삭제하시겠습니까?", + "delete-tenant-profiles-title": "{ count, plural, =1 {테넌트 프로필 1개} other {테넌트 프로필 #개} }를 삭제하시겠습니까?", "delete-tenant-profiles-text": "주의: 확인 후 선택한 모든 테넌트 프로필이 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "set-default-tenant-profile-title": "테넌트 프로필 '{{tenantProfileName}}'을(를) 기본값으로 설정하시겠습니까?", "set-default-tenant-profile-text": "확인 후 테넌트 프로필이 기본값으로 표시되며 프로필이 지정되지 않은 새 테넌트에 사용됩니다.", @@ -6291,13 +9620,13 @@ "ota-files-in-bytes": "파일", "ws-title": "WS", "unlimited": "(0 - 무제한)", - "maximum-devices": "최대 장치 수 (0 - 무제한)", + "maximum-devices": "최대 장치 수", "maximum-devices-required": "장치 최대 수는 필수 항목입니다.", "maximum-devices-range": "장치 최대 수는 음수일 수 없습니다.", - "maximum-assets": "최대 자산 수 (0 - 무제한)", + "maximum-assets": "최대 자산 수", "maximum-assets-required": "자산 최대 수는 필수 항목입니다.", "maximum-assets-range": "자산 최대 수는 음수일 수 없습니다.", - "maximum-customers": "최대 고객 수 (0 - 무제한)", + "maximum-customers": "최대 고객 수", "maximum-customers-required": "최대 고객 수를 입력하세요.", "maximum-customers-range": "고객 최대 수는 음수일 수 없습니다.", "maximum-users": "사용자 최대 수", @@ -6306,18 +9635,39 @@ "maximum-dashboards": "대시보드 최대 수", "maximum-dashboards-required": "대시보드 최대 수는 필수 항목입니다.", "maximum-dashboards-range": "대시보드 최대 수는 음수일 수 없습니다.", - "maximum-edges": "엣지 최대 수", + "maximum-edges": "Edge 최대 수", "maximum-edges-required": "Edge 최대 수는 필수 항목입니다.", "maximum-edges-range": "Edge 최대 수는 음수일 수 없습니다.", "maximum-rule-chains": "규칙 체인 최대 수", "maximum-rule-chains-required": "규칙 체인 최대 수는 필수 항목입니다.", "maximum-rule-chains-range": "규칙 체인 최대 수는 음수일 수 없습니다.", + "maximum-integrations": "최대 통합 수", + "maximum-integrations-required": "최대 통합 수는 필수 항목입니다.", + "maximum-integrations-range": "최대 통합 수는 음수일 수 없습니다", + "maximum-reports": "최대 보고서 수", + "maximum-reports-required": "최대 보고서 수는 필수 항목입니다.", + "maximum-reports-range": "최대 보고서 수는 음수일 수 없습니다", + "maximum-converters": "최대 변환기 수", + "maximum-converters-required": "최대 변환기 수는 필수 항목입니다.", + "maximum-converters-range": "최대 변환기 수는 음수일 수 없습니다", + "maximum-scheduler-events": "최대 스케줄러 이벤트 수", + "maximum-scheduler-events-required": "최대 스케줄러 이벤트 수는 필수 항목입니다.", + "maximum-scheduler-events-range": "최대 스케줄러 이벤트 수는 음수일 수 없습니다", + "maximum-agents": "최대 Agent 수", + "maximum-agents-required": "최대 Agent 수는 필수 항목입니다.", + "maximum-agents-range": "최대 Agent 수는 음수일 수 없습니다", + "maximum-agent-applications": "최대 Agent 애플리케이션 수", + "maximum-agent-applications-required": "최대 Agent 애플리케이션 수는 필수 항목입니다.", + "maximum-agent-applications-range": "최대 Agent 애플리케이션 수는 음수일 수 없습니다", "maximum-resources-sum-data-size": "리소스 파일의 최대 총 크기 (바이트)", "maximum-resources-sum-data-size-required": "리소스 파일의 최대 총 크기는 필수 항목입니다.", "maximum-resources-sum-data-size-range": "리소스 파일의 최대 총 크기는 음수일 수 없습니다.", "maximum-resource-size": "최대 리소스 파일 크기 (바이트)", "maximum-resource-size-required": "최대 리소스 파일 크기는 필수 항목입니다.", "maximum-resource-size-range": "최대 리소스 파일 크기는 음수일 수 없습니다.", + "maximum-report-size": "최대 보고서 파일 크기(바이트)", + "maximum-report-size-required": "최대 보고서 파일 크기는 필수 항목입니다", + "maximum-report-size-range": "최대 보고서 파일 크기는 음수일 수 없습니다", "maximum-ota-packages-sum-data-size": "OTA 패키지 파일의 최대 총 크기 (바이트)", "maximum-ota-package-sum-data-size-required": "OTA 패키지 파일의 최대 총 크기는 필수 항목입니다.", "maximum-ota-package-sum-data-size-range": "OTA 패키지 파일의 최대 총 크기는 음수일 수 없습니다.", @@ -6329,16 +9679,19 @@ "transport-device-msg-rate-limit": "장치 메시지 전송", "transport-device-telemetry-msg-rate-limit": "장치 텔레메트리 메시지 전송", "transport-device-telemetry-data-points-rate-limit": "장치 텔레메트리 데이터 포인트 전송", - "transport-gateway-msg-rate-limit": "전송 게이트웨이 메시지", - "transport-gateway-telemetry-msg-rate-limit": "전송 게이트웨이 텔레메트리 메시지", - "transport-gateway-telemetry-data-points-rate-limit": "전송 게이트웨이 텔레메트리 데이터 포인트", - "transport-gateway-device-msg-rate-limit": "전송 게이트웨이 장치 메시지", - "transport-gateway-device-telemetry-msg-rate-limit": "전송 게이트웨이 장치 텔레메트리 메시지", - "transport-gateway-device-telemetry-data-points-rate-limit": "전송 게이트웨이 장치 텔레메트리 데이터 포인트", + "transport-gateway-msg-rate-limit": "전송 Gateway 메시지", + "transport-gateway-telemetry-msg-rate-limit": "전송 Gateway 텔레메트리 메시지", + "transport-gateway-telemetry-data-points-rate-limit": "전송 Gateway 텔레메트리 데이터 포인트", + "transport-gateway-device-msg-rate-limit": "전송 Gateway 장치 메시지", + "transport-gateway-device-telemetry-msg-rate-limit": "전송 Gateway 장치 텔레메트리 메시지", + "transport-gateway-device-telemetry-data-points-rate-limit": "전송 Gateway 장치 텔레메트리 데이터 포인트", "tenant-entity-export-rate-limit": "엔티티 버전 생성", "tenant-entity-import-rate-limit": "엔티티 버전 불러오기", "tenant-notification-request-rate-limit": "알림 요청", "tenant-notification-requests-per-rule-rate-limit": "알림 규칙당 알림 요청", + "integration-msgs-per-tenant-rate-limit": "테넌트 통합 메시지", + "integration-msgs-per-device-rate-limit": "장치 통합 메시지", + "integration-msgs-per-asset-rate-limit": "자산 통합 메시지", "max-calculated-fields": "엔티티당 계산 필드 최대 수", "max-calculated-fields-range": "엔티티당 계산 필드 최대 수는 음수일 수 없습니다", "max-calculated-fields-required": "엔티티당 계산 필드 최대 수가 필요합니다", @@ -6408,6 +9761,12 @@ "rule-engine-exceptions-ttl-days": "규칙 엔진 예외 TTL 일수", "rule-engine-exceptions-ttl-days-required": "규칙 엔진 예외 TTL 일수가 필요합니다", "rule-engine-exceptions-ttl-days-range": "규칙 엔진 예외 TTL 일수는 음수일 수 없습니다", + "blob-entity-ttl-days": "Blob 엔티티 TTL(일)", + "blob-entity-ttl-days-required": "Blob 엔티티 TTL(일)은 필수 항목입니다.", + "blob-entity-ttl-days-range": "Blob 엔티티 TTL(일)은 음수일 수 없습니다.", + "report-ttl-days": "보고서 TTL(일)", + "report-ttl-days-required": "보고서 TTL(일)은 필수 항목입니다.", + "report-ttl-days-range": "보고서 TTL(일)은 음수일 수 없습니다.", "max-rule-node-executions-per-message": "메시지당 규칙 노드 실행 최대 수", "max-rule-node-executions-per-message-required": "메시지당 규칙 노드 실행 최대 수는 필수 항목입니다.", "max-rule-node-executions-per-message-range": "메시지당 규칙 노드 실행 최대 수는 음수일 수 없습니다.", @@ -6420,14 +9779,14 @@ "max-sms-range": "발송 SMS 최대 수는 음수일 수 없습니다.", "max-created-alarms": "생성된 알람 최대 수", "max-created-alarms-required": "생성된 알람 최대 수가 필요합니다.", - "max-created-alarms-range": "생성된 알람 최대 수는 음수일 수 있습니다", + "max-created-alarms-range": "생성된 알람 최대 수는 음수일 수 없습니다", "no-queue": "구성된 큐 없음", "add-queue": "큐 추가", "queues-with-count": "큐 ({{count}})", "tenant-rest-limits": "테넌트에 대한 REST 요청", "customer-rest-limits": "고객에 대한 REST 요청", - "incorrect-pattern-for-rate-limits": "형식은 용량과 기간(초)의 쉼표로 구분된 쌍이며 콜론으로 구분됩니다. 예: 100:1,2000:60", - "too-small-value-zero": "값은 0보다 커야 합니다", + "incorrect-pattern-for-rate-limits": "형식: 용량과 기간(초)을 콜론으로 연결한 쌍을 쉼표로 구분합니다. 예: 100:1,2000:60", + "too-small-value-zero": "값은 0 이상이어야 합니다", "too-small-value-one": "값은 1보다 커야 합니다", "queue-size-is-limited-by-system-configuration": "큐 크기는 시스템 구성에 의해서도 제한됩니다.", "cassandra-write-tenant-core-limits-configuration": "REST API Cassandra 쓰기 쿼리", @@ -6448,6 +9807,10 @@ "relation-search-entity-limit-hint": "관계 경로의 마지막 레벨에서 확인되는 엔티티 수를 제한합니다. '관련 엔티티' 인수 및 전파 필드에 적용됩니다.", "relation-search-entity-limit-required": "관계 검색 엔티티 제한", "relation-search-entity-limit-range": "관계 검색 엔티티 제한은 '1'보다 작을 수 없습니다", + "ai": "AI", + "max-ai-credits": "최대 AI 크레딧 수", + "max-ai-credits-required": "최대 AI 크레딧 수는 필수 항목입니다.", + "max-ai-credits-range": "최대 AI 크레딧 수는 음수일 수 없습니다.", "rate-limits": { "add-limit": "제한 추가", "and-also-less-than": "그리고 다음보다 작음", @@ -6461,12 +9824,12 @@ "edit-transport-device-msg-title": "전송 장치 메시지 속도 제한 편집", "edit-transport-device-telemetry-msg-title": "전송 장치 텔레메트리 메시지 속도 제한 편집", "edit-transport-device-telemetry-data-points-title": "전송 장치 텔레메트리 데이터 포인트 속도 제한 편집", - "edit-transport-gateway-msg-title": "전송 게이트웨이 메시지 속도 제한 편집", - "edit-transport-gateway-telemetry-msg-title": "전송 게이트웨이 텔레메트리 메시지 속도 제한 편집", - "edit-transport-gateway-telemetry-data-points-title": "전송 게이트웨이 텔레메트리 데이터 포인트 속도 제한 편집", - "edit-transport-gateway-device-msg-title": "전송 게이트웨이 장치 메시지 속도 제한 편집", - "edit-transport-gateway-device-telemetry-msg-title": "전송 게이트웨이 장치 텔레메트리 메시지 속도 제한 편집", - "edit-transport-gateway-device-telemetry-data-points-title": "전송 게이트웨이 장치 텔레메트리 데이터 포인트 속도 제한 편집", + "edit-transport-gateway-msg-title": "전송 Gateway 메시지 속도 제한 편집", + "edit-transport-gateway-telemetry-msg-title": "전송 Gateway 텔레메트리 메시지 속도 제한 편집", + "edit-transport-gateway-telemetry-data-points-title": "전송 Gateway 텔레메트리 데이터 포인트 속도 제한 편집", + "edit-transport-gateway-device-msg-title": "전송 Gateway 장치 메시지 속도 제한 편집", + "edit-transport-gateway-device-telemetry-msg-title": "전송 Gateway 장치 텔레메트리 메시지 속도 제한 편집", + "edit-transport-gateway-device-telemetry-data-points-title": "전송 Gateway 장치 텔레메트리 데이터 포인트 속도 제한 편집", "edit-tenant-rest-limits-title": "테넌트에 대한 REST 요청 속도 제한 편집", "edit-customer-rest-limits-title": "고객에 대한 REST 요청 속도 제한 편집", "edit-ws-limit-updates-per-session-title": "세션당 WS 업데이트 속도 제한 편집", @@ -6478,15 +9841,28 @@ "edit-tenant-entity-import-rate-limit-title": "엔티티 버전 로드 속도 제한 편집", "edit-tenant-notification-request-rate-limit-title": "알림 요청 속도 제한 편집", "edit-tenant-notification-requests-per-rule-rate-limit-title": "알림 규칙당 알림 요청 속도 제한 편집", - "edit-edge-events-rate-limit": "엣지 이벤트 속도 제한 편집", - "edit-edge-events-per-edge-rate-limit": "엣지당 엣지 이벤트 속도 제한 편집", - "edge-events-rate-limit": "엣지 이벤트", - "edge-events-per-edge-rate-limit": "엣지당 엣지 이벤트", - "edit-edge-uplink-messages-rate-limit": "엣지 업링크 메시지 속도 제한 편집", - "edit-edge-uplink-messages-per-edge-rate-limit": "엣지당 엣지 업링크 메시지 속도 제한 편집", - "edge-uplink-messages-rate-limit": "엣지 업링크 메시지", - "edge-uplink-messages-per-edge-rate-limit": "엣지당 업링크 메시지", - "messages-per": "메시지당", + "edit-integration-msgs-per-tenant-rate-limit-title": "테넌트당 통합 메시지 속도 제한 편집", + "edit-integration-msgs-per-device-rate-limit-title": "장치당 통합 메시지 속도 제한 편집", + "edit-integration-msgs-per-asset-rate-limit-title": "자산당 통합 메시지 속도 제한 편집", + "edit-edge-events-rate-limit": "Edge 이벤트 속도 제한 편집", + "edit-edge-events-per-edge-rate-limit": "Edge당 Edge 이벤트 속도 제한 편집", + "edge-events-rate-limit": "Edge 이벤트", + "edge-events-per-edge-rate-limit": "Edge당 Edge 이벤트", + "edit-edge-uplink-messages-rate-limit": "Edge 업링크 메시지 속도 제한 편집", + "edit-edge-uplink-messages-per-edge-rate-limit": "Edge당 Edge 업링크 메시지 속도 제한 편집", + "edge-uplink-messages-rate-limit": "Edge 업링크 메시지", + "edge-uplink-messages-per-edge-rate-limit": "Edge당 Edge 업링크 메시지", + "edit-agent-events-rate-limit": "Agent 이벤트 속도 제한 편집", + "edit-agent-events-per-agent-rate-limit": "Agent당 Agent 이벤트 속도 제한 편집", + "agent-events-rate-limit": "Agent 이벤트", + "agent-events-per-agent-rate-limit": "Agent당 Agent 이벤트", + "edit-agent-log-chunks-rate-limit": "Agent 로그 청크 속도 제한 편집", + "edit-agent-log-chunks-per-agent-rate-limit": "Agent당 Agent 로그 청크 속도 제한 편집", + "agent-log-chunks-rate-limit": "Agent 로그 청크", + "agent-log-chunks-per-agent-rate-limit": "Agent당 Agent 로그 청크", + "ai-chat-requests-rate-limit": "AI 채팅 요청", + "edit-ai-chat-requests-rate-limit": "AI 채팅 요청 속도 제한 편집", + "messages-per": "메시지 /", "not-set": "설정되지 않음", "number-of-messages": "메시지 수", "number-of-messages-required": "메시지 수가 필요합니다.", @@ -6504,20 +9880,20 @@ "transport-device-msg": "장치 메시지 전송", "transport-device-telemetry-msg": "장치 텔레메트리 메시지 전송", "transport-device-telemetry-data-points": "장치 텔레메트리 데이터 포인트 전송", - "transport-gateway-msg": "전송 게이트웨이 메시지", - "transport-gateway-telemetry-msg": "전송 게이트웨이 텔레메트리 메시지", - "transport-gateway-telemetry-data-points": "전송 게이트웨이 텔레메트리 데이터 포인트", - "transport-gateway-device-msg": "전송 게이트웨이 장치 메시지", - "transport-gateway-device-telemetry-msg": "전송 게이트웨이 장치 텔레메트리 메시지", - "transport-gateway-device-telemetry-data-points": "전송 게이트웨이 장치 텔레메트리 데이터 포인트", + "transport-gateway-msg": "전송 Gateway 메시지", + "transport-gateway-telemetry-msg": "전송 Gateway 텔레메트리 메시지", + "transport-gateway-telemetry-data-points": "전송 Gateway 텔레메트리 데이터 포인트", + "transport-gateway-device-msg": "전송 Gateway 장치 메시지", + "transport-gateway-device-telemetry-msg": "전송 Gateway 장치 텔레메트리 메시지", + "transport-gateway-device-telemetry-data-points": "전송 Gateway 장치 텔레메트리 데이터 포인트", "sec": "초" } }, "timeinterval": { - "seconds-interval": "{ seconds, plural, =1 {1 초} other {# 초} }", - "minutes-interval": "{ minutes, plural, =1 {1 분} other {# 분} }", - "hours-interval": "{ hours, plural, =1 {1 시간} other {# 시간} }", - "days-interval": "{ days, plural, =1 {1 일} other {# 일} }", + "seconds-interval": "{ seconds, plural, =1 {1초} other {#초} }", + "minutes-interval": "{ minutes, plural, =1 {1분} other {#분} }", + "hours-interval": "{ hours, plural, =1 {1시간} other {#시간} }", + "days-interval": "{ days, plural, =1 {1일} other {#일} }", "days": "일", "hours": "시간", "minutes": "분", @@ -6536,24 +9912,24 @@ "previous-year": "작년", "current-hour": "현재 시간", "current-day": "오늘", - "current-day-so-far": "오늘 현재", - "current-week": "이번주 (일 - 토)", - "current-week-iso": "이번주 (월 - 일)", - "current-week-so-far": "이번주 현재 (일 - 토)", - "current-week-iso-so-far": "이번주 현재 (월 - 일)", - "current-month": "이번달", - "current-month-so-far": "이번달 현재", + "current-day-so-far": "오늘 지금까지", + "current-week": "이번 주 (일 - 토)", + "current-week-iso": "이번 주 (월 - 일)", + "current-week-so-far": "이번 주 지금까지 (일 - 토)", + "current-week-iso-so-far": "이번 주 지금까지 (월 - 일)", + "current-month": "이번 달", + "current-month-so-far": "이번 달 지금까지", "current-quarter": "이번 분기", - "current-quarter-so-far": "이번 분기 현재", + "current-quarter-so-far": "이번 분기 지금까지", "current-half-year": "이번 반기", - "current-half-year-so-far": "이번 반기 현재", + "current-half-year-so-far": "이번 반기 지금까지", "current-year": "올해", - "current-year-so-far": "올해 현재" + "current-year-so-far": "올해 지금까지" }, "type": { "week": "주 (일 - 토)", "week-iso": "주 (월 - 일)", - "month": "달", + "month": "월", "quarter": "분기" } }, @@ -6565,7 +9941,7 @@ "days": "일" }, "timewindow": { - "timewindow": "타임윈도우", + "timewindow": "시간 창", "timewindow-settings": "시간 창 설정", "years": "{ years, plural, =1 {1년 } other {#년 } }", "years-short": "{{ years }}년", @@ -6573,29 +9949,30 @@ "months-short": "{{ months }}개월", "weeks": "{ weeks, plural, =1 {1주 } other {#주 } }", "weeks-short": "{{ weeks }}주", - "days": "{ days, plural, =1 {1 일 } other {# 일 } }", + "days": "{ days, plural, =1 {1일 } other {#일 } }", "days-short": "{{ days }}일", - "hours": "{ hours, plural, =0 {0 시간 } =1 {1 시간 } other {# 시간 } }", - "hr": "{{ hr }} 시간", + "hours": "{ hours, plural, =0 {0시간 } =1 {1시간 } other {#시간 } }", + "hr": "{{ hr }}시간", "hr-short": "{{ hr }}시간", - "minutes": "{ minutes, plural, =0 {0 분 } =1 {1 분 } other {# 분 } }", - "min": "{{ min }} 분", + "minutes": "{ minutes, plural, =0 {0분 } =1 {1분 } other {#분 } }", + "min": "{{ min }}분", "min-short": "{{ min }}분", - "seconds": "{ seconds, plural, =0 {0 초 } =1 {1 초 } other {# 초 } }", - "sec": "{{ sec }} 초", + "seconds": "{ seconds, plural, =0 {0초 } =1 {1초 } other {#초 } }", + "sec": "{{ sec }}초", "sec-short": "{{ sec }}초", "short": { "years": "{ years, plural, =1 {1년 } other {#년 } }", - "days": "{ days, plural, =1 {1 일 } other {# 일 } }", + "days": "{ days, plural, =1 {1일 } other {#일 } }", "hours": "{ hours, plural, =1 {1시간 } other {#시간 } }", "minutes": "{{minutes}}분 ", - "seconds": "{{seconds}}초 " + "seconds": "{{seconds}}초 ", + "milliseconds": "{{milliseconds}}ms" }, "realtime": "실시간", "history": "기록", "last-prefix": "과거", "period": "{{ startTime }}부터 {{ endTime }}까지", - "edit": "타임윈도우 편집", + "edit": "시간 창 편집", "date-range": "날짜 범위", "for-all-time": "전체 기간", "last": "과거", @@ -6681,7 +10058,7 @@ "amount-of-substance": "물질량", "angle": "각도", "angular-acceleration": "각가속도", - "area": "영역", + "area": "면적", "area-density": "면적 밀도", "capacitance": "정전 용량", "catalytic-activity": "촉매 활성", @@ -6692,7 +10069,7 @@ "density": "밀도", "digital": "디지털", "dimension-ratio": "차원 비율", - "dynamic-viscosity": "동점도", + "dynamic-viscosity": "점도", "earthquake-magnitude": "지진 규모", "electric-charge-density": "전하 밀도", "electric-current": "전류", @@ -6701,7 +10078,7 @@ "electric-flux": "전기 선속", "electric-permittivity": "유전율", "electric-polarizability": "전기 분극률", - "electrical-conductance": "전도도", + "electrical-conductance": "컨덕턴스", "electrical-conductivity": "전도율", "energy": "에너지", "energy-density": "에너지 밀도", @@ -6780,7 +10157,7 @@ "reciprocal-metre": "역 미터", "meter-per-meter": "미터당 미터", "steradian": "스테라디안", - "thou": "파운드", + "thou": "사우", "barleycorn": "보리콘", "hand": "핸드", "chain": "체인", @@ -6804,7 +10181,7 @@ "dalton": "달튼", "grain": "그레인", "drachm": "드램", - "quarter": "분기", + "quarter": "쿼터", "slug": "슬러그", "carat": "캐럿", "cubic-millimeter": "세제곱밀리미터", @@ -6852,7 +10229,7 @@ "megapascal": "메가파스칼", "gigapascal": "기가파스칼", "millibar": "밀리바", - "bar": "막대", + "bar": "바", "kilobar": "킬로바", "newton": "뉴턴", "newton-meter": "뉴턴 미터", @@ -6898,7 +10275,7 @@ "joule-per-kilogram": "줄 매 킬로그램", "watt-per-meter-kelvin": "와트 매 미터켈빈", "joule-per-cubic-meter": "줄 매 세제곱미터", - "therm": "덤", + "therm": "섬", "electric-dipole-moment": "전기 쌍극자 모멘트", "magnetic-dipole-moment": "자기 쌍극자 모멘트", "debye": "데바이", @@ -6921,13 +10298,13 @@ "horsepower": "마력", "btu-per-hour": "영국 열량 단위 매 시간", "btu-per-second": "영국 열량 단위 매 초", - "btu-per-day": "영국 열량 단위 매 일", + "btu-per-day": "일당 영국 열량 단위", "mbtu-per-hour": "천 영국 열량 단위 매 시간", "mbtu-per-second": "천 영국 열량 단위 매 초", - "mbtu-per-day": "천 영국 열량 단위 매 일", + "mbtu-per-day": "일당 천 영국 열량 단위", "mmbtu-per-hour": "백만 영국 열량 단위 매 시간", "mmbtu-per-second": "백만 영국 열량 단위 매 초", - "mmbtu-per-day": "백만 영국 열량 단위 매 일", + "mmbtu-per-day": "일당 백만 영국 열량 단위", "foot-pound-per-second": "피트파운드 매 초", "coulomb": "쿨롱", "millicoulomb": "밀리쿨롱", @@ -6966,7 +10343,7 @@ "ampere-per-meter": "암페어 매 미터", "oersted": "에르스테드", "bohr-magneton": "보어 마그네톤", - "ampere-meter-squared": "암페어미터 제곱", + "ampere-meter-squared": "암페어 제곱미터", "nanovolt": "나노볼트", "picovolt": "피코볼트", "millivolt": "밀리볼트", @@ -7012,7 +10389,7 @@ "mole-per-cubic-meter": "몰 매 세제곱미터", "rssi": "수신 신호 강도 표시기", "ppm": "백만분율", - "ppb": "10억분의 1", + "ppb": "십억분율", "micrograms-per-cubic-meter": "마이크로그램 매 세제곱미터", "aqi": "AQI", "gram-per-cubic-meter": "그램 매 세제곱미터", @@ -7087,11 +10464,12 @@ "hour": "시간", "day": "일", "week": "주", - "month": "달", + "month": "월", "year": "년", "cubic-foot-per-minute": "분당 세제곱피트", "cubic-meters-per-hour": "시간당 세제곱미터", "cubic-meters-per-second": "초당 세제곱미터", + "cubic-meters-per-minute": "분당 세제곱미터", "liter-per-second": "초당 리터", "liter-per-minute": "분당 리터", "gallons-per-minute": "분당 갤런", @@ -7200,8 +10578,12 @@ "paris-inch": "파리 인치" }, "user": { + "all": "모두", + "all-users": "모든 사용자", + "groups": "그룹", "user": "사용자", "users": "사용자", + "management": "사용자 관리", "customer-users": "고객 사용자", "tenant-admins": "테넌트 관리자", "sys-admin": "시스템 관리자", @@ -7213,45 +10595,51 @@ "add-user-text": "새로운 사용자 추가", "no-users-text": "사용자가 없습니다.", "user-details": "사용자 상세 정보", + "delete-users": "사용자 삭제", "delete-user-title": "사용자 '{{userEmail}}'을(를) 삭제하시겠습니까?", "delete-user-text": "사용자 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", "delete-users-title": "{ count, plural, =1 {사용자 1명} other {사용자 #명} }을 삭제하시겠습니까?", "delete-users-action-title": "{ count, plural, =1 {사용자 1명} other {사용자 #명} } 삭제", - "delete-users-text": "사용자 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", + "delete-users-text": "주의: 확인 후 선택한 모든 사용자가 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "activation-email-sent-message": "활성화 이메일을 보냈습니다!", "resend-activation": "활성화 재전송", "email": "이메일", - "email-required": "Email을 입력하세요.", - "invalid-email-format": "잘못된 Email 형식입니다.", + "email-required": "이메일을 입력하세요.", + "invalid-email-format": "잘못된 이메일 형식입니다.", "first-name": "이름", "last-name": "성", "description": "설명", "default-dashboard": "기본 대시보드", "always-fullscreen": "항상 전체화면", "select-user": "사용자 선택", - "no-users-matching": "사용자 '{{entity}}'를 찾을 수 없습니다.", - "user-required": "사용자를 입력하세요", - "activation-method": "인증 방법", + "no-users-matching": "'{{entity}}'와(과) 일치하는 사용자가 없습니다.", + "user-required": "사용자를 선택하세요", + "activation-method": "활성화 방법", "display-activation-link": "활성화 링크 표시", "send-activation-mail": "활성화 메일 발송", "activation-link": "사용자 활성화 링크", - "activation-link-text": "사용자를 활성화 하려면 활성화 링크로 접속하세요 :", + "activation-link-text": "사용자를 활성화하려면 다음 활성화 링크로 접속하세요({{activationLinkTtl}} 후 만료) :", "copy-activation-link": "활성화 링크 복사", "activation-link-copied-message": "사용자 활성화 링크가 클립보드로 복사되었습니다.", "details": "상세", "login-as-tenant-admin": "테넌트 관리자로 로그인", "login-as-customer-user": "고객 사용자로 로그인", + "select-group-to-add": "선택한 사용자를 추가할 대상 그룹을 선택하세요", + "select-group-to-move": "선택한 사용자를 이동할 대상 그룹을 선택하세요", + "remove-users-from-group": "'{{entityGroup}}' 그룹에서 { count, plural, =1 {사용자 1명} other {사용자 #명} }을 제거하시겠습니까?", + "group": "사용자 그룹", + "list-of-groups": "{ count, plural, =1 {사용자 그룹 1개} other {사용자 그룹 #개 목록} }", + "group-name-starts-with": "이름이 '{{prefix}}'(으)로 시작하는 사용자 그룹", "search": "사용자 검색", - "selected-users": "{ count, plural, =1 {1명 사용자} other {#명 사용자} } 선택됨", + "selected-users": "{ count, plural, =1 {사용자 1명} other {사용자 #명} } 선택됨", "disable-account": "사용자 계정 비활성화", - "enable-account": "사용자 계정 활성", - "enable-account-message": "사용자 계정이 성공적으로 활성화 되었습니다!", - "disable-account-message": "사용자 계정이 성공적으로 비활성화 되었습니다!", + "enable-account": "사용자 계정 활성화", + "enable-account-message": "사용자 계정이 성공적으로 활성화되었습니다!", + "disable-account-message": "사용자 계정이 성공적으로 비활성화되었습니다!", "copyId": "사용자 ID 복사", "idCopiedMessage": "사용자 ID가 클립보드에 복사되었습니다.", "user-list": "사용자 목록", - "user-list-required": "사용자 목록은 필수 항목입니다.", - "printable-one-time-password-hint": "이 인쇄 가능한 일회용 암호는 여행 중처럼 휴대전화를 사용할 수 없을 때 로그인할 수 있도록 해줍니다." + "user-list-required": "사용자 목록은 필수 항목입니다." }, "value": { "type": "값 유형", @@ -7290,6 +10678,8 @@ "export-relations": "관계 내보내기", "export-attributes": "속성 내보내기", "export-credentials": "자격 증명 내보내기", + "export-group-entities": "그룹 엔티티 내보내기", + "export-roles": "역할 내보내기", "export-calculated-fields": "계산 필드 및 알람 규칙 내보내기", "export-alarm-rules": "알람 규칙 내보내기", "entity-versions": "엔티티 버전", @@ -7310,12 +10700,14 @@ "load-credentials": "자격 증명 로드", "load-calculated-fields": "계산 필드 및 알람 규칙 로드", "load-alarm-rules": "알람 규칙 로드", + "load-group-entities": "그룹 엔티티 로드", + "load-roles": "역할 로드", "compare-with-current": "현재와 비교", "diff-entity-with-version": "엔티티 버전 '{{versionName}}'과(와) 차이점", "previous-difference": "이전 차이점", "next-difference": "다음 차이점", "current": "현재", - "differences": "{ count, plural, =1 {1개 차이점} other {#개 차이점} }", + "differences": "{ count, plural, =1 {차이점 1개} other {차이점 #개} }", "create-entities-version": "엔티티 버전 생성", "default-sync-strategy": "기본 동기화 전략", "sync-strategy-merge": "병합", @@ -7328,7 +10720,7 @@ "no-entities-to-restore-prompt": "복원할 엔티티를 지정하세요", "add-entity-type": "엔티티 유형 추가", "remove-all": "모두 제거", - "version-create-result": "{ added, plural, =0 {엔티티 없음} =1 {1개 엔티티} other {#개 엔티티} } 추가됨.
{ modified, plural, =0 {엔티티 없음} =1 {1개 엔티티} other {#개 엔티티} } 수정됨.
{ removed, plural, =0 {엔티티 없음} =1 {1개 엔티티} other {#개 엔티티} } 제거됨.", + "version-create-result": "{ added, plural, =0 {엔티티 없음} =1 {엔티티 1개} other {엔티티 #개} } 추가됨.
{ modified, plural, =0 {엔티티 없음} =1 {엔티티 1개} other {엔티티 #개} } 수정됨.
{ removed, plural, =0 {엔티티 없음} =1 {엔티티 1개} other {엔티티 #개} } 제거됨.", "remove-other-entities": "다른 엔티티 제거", "find-existing-entity-by-name": "이름으로 기존 엔티티 찾기", "restore-entities-from-version": "버전 '{{versionName}}'에서 엔티티 복원", @@ -7337,23 +10729,87 @@ "created": "{{created}}개 생성됨", "updated": "{{updated}}개 업데이트됨", "deleted": "{{deleted}}개 삭제됨", - "remove-other-entities-confirm-text": "주의! 이 작업은 복원하려는 버전에 없는 모든 현재 엔티티를 영구적으로 삭제합니다.

확인하려면 \"다른 엔티티 제거\"를 입력하세요.", + "groups-created": "{ created, plural, =1 {그룹 1개} other {그룹 #개} } 생성됨", + "groups-updated": "{ updated, plural, =1 {그룹 1개} other {그룹 #개} } 업데이트됨", + "groups-deleted": "{ deleted, plural, =1 {그룹 1개} other {그룹 #개} } 삭제됨", + "remove-other-entities-confirm-text": "주의! 이 작업은 복원하려는 버전에 없는 모든 현재 엔티티를
영구적으로 삭제합니다.

확인하려면 \"remove other entities\"를 입력하세요.", "auto-commit-to-branch": "{{ branch }} 브랜치에 자동 커밋", "default-create-entity-version-name": "{{entityName}} 업데이트", "sync-strategy-merge-hint": "저장소에서 선택한 엔티티를 생성하거나 업데이트합니다. 다른 모든 저장소 엔티티는 수정되지 않습니다.", "sync-strategy-overwrite-hint": "저장소에서 선택한 엔티티를 생성하거나 업데이트합니다. 다른 모든 저장소 엔티티는 삭제됩니다.", "device-credentials-conflict": "외부 ID가 {{entityId}}인 장치를 로드하지 못했습니다.
동일한 자격 증명이 이미 다른 장치에 대해 데이터베이스에 있기 때문입니다.
복원 양식에서 자격 증명 로드 설정을 비활성화하는 것을 고려하세요.", "missing-referenced-entity": "외부 ID가 {{sourceEntityId}}인 {{sourceEntityTypeName}}을(를) 로드하지 못했습니다.
ID가 {{targetEntityId}}인 누락된 {{targetEntityTypeName}}을(를) 참조하기 때문입니다.", + "add-entity-groups": "엔티티 그룹 추가", + "entity-groups": "엔티티 그룹", + "integration-routing-key-conflict": "외부 ID가 {{entityId}}인 통합을 로드하지 못했습니다.
다른 통합에 대해 동일한 통합 키가 이미 데이터베이스에 있기 때문입니다.
복원 양식에서 통합 키 자동 생성 설정을 활성화하는 것을 고려하세요.", + "auto-generate-integration-key": "통합 키 자동 생성", "runtime-failed": "실패: {{message}}", "auto-commit-settings-read-only-hint": "자동 커밋 기능은 저장소 설정에서 읽기 전용 옵션이 활성화된 경우 작동하지 않습니다.", "rollback-on-error": "오류 발생 시 롤백", "rollback-on-error-hint": "복원할 엔티티가 많은 경우 이 옵션을 비활성화하여 성능을 향상시키는 것을 고려하세요.\n 참고: 버전 로드 중에 오류가 발생하면 이미 저장된 엔티티(관계, 속성 등 포함)가 그대로 유지됩니다." }, + "task": { + "add-task-type": "+작업 유형", + "cancel-anyway": "그래도 취소", + "cancel-task": "작업 취소", + "cancel-task-calculated-field-reprocessing-text": "지금까지 처리된 데이터는 저장되고 대기 중인 항목은 취소됩니다", + "cancel-task-calculated-field-reprocessing-title": "재처리를 취소하시겠습니까?", + "cancel-task-report-text": "보고서 생성이 취소되며 보고서 파일은 생성되지 않습니다", + "cancel-task-report-title": "보고서 생성을 취소하시겠습니까?", + "cancel-tasks-text": "선택한 작업을 취소하시겠습니까?", + "cancel-tasks-title": "{ count, plural, =1 {작업 1개 취소} other {작업 #개 취소} }", + "delete-task-text": "목록에서 작업이 제거되지만 데이터는 그대로 유지됩니다", + "delete-task-title": "이 작업을 삭제하시겠습니까?", + "delete-tasks-text": "선택한 작업을 삭제하시겠습니까?", + "delete-tasks-title": "{ count, plural, =1 {작업 1개 삭제} other {작업 #개 삭제} }", + "discarded": "폐기됨", + "entity": "엔티티", + "info": "정보", + "failed": "실패", + "no-tasks-prompt": "작업을 찾을 수 없습니다", + "parameters": "매개변수", + "progress": "진행률", + "reprocess": "{ count, plural, =0 {재처리} =1 {재처리} other {실패한 엔티티 재처리} }", + "retry": "다시 시도", + "search": "작업 검색", + "selected-tasks": "{ count, plural, =1 {작업 1개} other {작업 #개} } 선택됨", + "selected-tasks-are-finished": "이 작업은 이미 완료되었습니다.", + "selected-tasks-are-progress": "이 작업은 현재 진행 중입니다.", + "status": "상태", + "successful": "성공", + "task-info": "작업 정보", + "task-manager": "작업 관리자", + "task-parameters": "작업 매개변수", + "task-status": { + "cancelled": "취소됨", + "completed": "완료됨", + "failed": "실패", + "pending": "대기 중", + "queued": "큐에 추가됨", + "running": "실행 중" + }, + "task-type": { + "any": "모든 유형", + "calculated-field-reprocessing": "계산 필드 재처리", + "report": "보고서 생성" + }, + "task-filter": "작업 필터", + "task-filter-params": "필터: {{ filterParams }}", + "tasks-status-list": "작업 상태 목록", + "tasks-type-list": "작업 유형 목록", + "time-taken": "소요 시간", + "total-entities": "총 엔티티 수", + "type": "유형", + "report-generate-successfully": "보고서가 생성되었습니다.", + "report-generate-in-progress": "보고서 생성 중", + "generate-report-canceled": "보고서 생성이 취소되었습니다." + }, "widget": { "widget-library": "위젯 라이브러리", "widget-bundle": "위젯 번들", "all-bundles": "모든 번들", "select-widgets-bundle": "위젯 번들 선택", + "installed": "설치됨", "widgets": "위젯", "all-widgets": "모든 위젯", "widget": "위젯", @@ -7364,7 +10820,7 @@ "management": "위젯 관리", "editor": "위젯 편집기", "confirm-to-exit-editor-html": "저장되지 않은 위젯 설정이 있습니다.
이 페이지를 떠나시겠습니까?", - "widget-type-not-found": "위젯 구성을 로드하는 중 문제가 발생했습니다.
연결된 위젯 타입이 삭제되었습니다.", + "widget-type-not-found": "위젯 구성을 로드하는 중 문제가 발생했습니다.
연결된 위젯 타입이 삭제되었을 수 있습니다.", "widget-type-load-error": "다음과 같은 오류로 인해 위젯을 불러오지 못했습니다:", "remove": "위젯 삭제", "delete": "위젯 삭제", @@ -7375,15 +10831,20 @@ "timeseries": "시계열", "search-data": "데이터 검색", "no-data-found": "아무 데이터도 없습니다", - "latest": "최근 값", - "rpc": "컨트롤 위젯", + "latest": "최신 값", + "rpc": "제어 위젯", "alarm": "알람 위젯", - "static": "상태 위젯", + "static": "정적 위젯", "timeseries-short": "시리즈", "latest-short": "최신", "rpc-short": "제어", "alarm-short": "알람", "static-short": "정적", + "type-timeseries": "시계열", + "type-latest": "최신 값", + "type-rpc": "제어", + "type-alarm": "알람", + "type-static": "정적", "select-widget-type": "위젯 타입 선택", "missing-widget-title-error": "위젯 제목을 입력하세요!", "widget-saved": "위젯이 저장되었습니다.", @@ -7407,7 +10868,7 @@ "remove-resource": "리소스 삭제", "add-resource": "리소스 추가", "html": "HTML", - "tidy": "깔끔한", + "tidy": "정리", "css": "CSS", "settings-form": "설정 폼", "data-key-settings-form": "데이터 키 설정 폼", @@ -7420,7 +10881,7 @@ "data-key-settings-form-selector": "데이터 키 설정 폼 선택기", "latest-data-key-settings-form-selector": "최신 데이터 키 설정 폼 선택기", "all": "모두", - "actual": "실제", + "actual": "현재", "scada": "SCADA 심볼", "deprecated": "사용 중단됨", "has-basic-mode": "기본 모드 있음", @@ -7431,22 +10892,26 @@ "js": "JS", "delete-widget-title": "위젯 '{{widgetName}}'을(를) 삭제하시겠습니까?", "delete-widget-text": "위젯 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-widgets-title": "{ count, plural, =1 {1개 위젯} other {#개 위젯} }을(를) 삭제하시겠습니까?", + "delete-widgets-title": "{ count, plural, =1 {위젯 1개} other {위젯 #개} }를 삭제하시겠습니까?", "delete-widgets-text": "주의: 확인 후 선택한 모든 위젯이 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", "delete-widget": "위젯 삭제", "widget-template-load-failed-error": "위젯 템플릿을 로드하지 못했습니다!", - "details": "상세 내역", + "details": "세부 정보", "widget-details": "위젯 세부 정보", "add": "위젯 추가", "add-existing-widget": "기존 위젯 추가", "add-new-widget": "위젯 추가", "search-widgets": "위젯 검색", - "selected-widgets": "{ count, plural, =1 {1개 위젯} other {#개 위젯} } 선택됨", + "selected-widgets": "{ count, plural, =1 {위젯 1개} other {위젯 #개} } 선택됨", "undo": "위젯 변경사항 취소", "export": "위젯 내보내기", "export-prompt": "위젯 이미지 및 리소스 포함", "export-widgets": "위젯 내보내기", "export-widgets-prompt": "위젯 이미지 및 리소스 포함", + "export-data": "위젯 데이터 내보내기", + "export-to-csv": "CSV로 데이터 내보내기...", + "export-to-excel": "XLS로 데이터 내보내기...", + "export-to-excel-xlsx": "XLSX로 데이터 내보내기...", "import": "위젯 가져오기", "no-data": "위젯에 표시할 데이터 없음", "data-overflow": "위젯이 {{total}}개 엔티티 중 {{count}}개를 표시합니다", @@ -7460,24 +10925,24 @@ "widget-action": { "header-button": "위젯 헤더 버튼", "do-nothing": "아무것도 하지 않음", - "open-dashboard-state": "새로운 대시보드 상태 탐색", + "open-dashboard-state": "새 대시보드 상태로 이동", "update-dashboard-state": "현재 대시보드 상태 업데이트", - "open-dashboard": "다른 대시보드 탐색", - "custom": "사용자 지정 작업", - "custom-pretty": "Custom action (HTML 템플릿)", + "open-dashboard": "다른 대시보드로 이동", + "custom": "사용자 지정 액션", + "custom-pretty": "사용자 지정 액션 (HTML 템플릿 포함)", "custom-pretty-error-title": "사용자 지정 대화 상자 오류", "custom-pretty-template-error": "잘못된 사용자 지정 대화 상자 템플릿입니다.", "custom-pretty-controller-error": "사용자 지정 대화 상자 함수를 평가하는 동안 오류가 발생했습니다.", - "mobile-action": "모바일 작업", + "mobile-action": "모바일 액션", "target-dashboard-state": "대상 대시보드 상태", "target-dashboard-state-required": "대상 대시보드 상태가 필요합니다.", - "set-entity-from-widget": "위젯으로 부터 객체 설정", + "set-entity-from-widget": "위젯에서 엔티티 설정", "target-dashboard": "대상 대시보드", "select-target-dashboard": "대상 대시보드 선택", "target-dashboard-required": "대상 대시보드가 필요합니다.", - "open-right-layout": "Open right dashboard layout (모바일 보기)", + "open-right-layout": "오른쪽 대시보드 레이아웃 열기 (모바일 보기)", "state-display-type": "대시보드 상태 표시 옵션", - "open-normal": "정상", + "open-normal": "일반", "open-in-separate-dialog": "별도의 대화 상자에서 열기", "open-in-popover": "팝오버에서 열기", "dialog-title": "대화 상자 제목", @@ -7487,14 +10952,14 @@ "dialog-size-range-error": "대화 상자 크기 비율 값은 1에서 100 사이여야 합니다.", "popover-preferred-placement": "선호하는 팝오버 배치", "popover-placement-top": "상단", - "popover-placement-topLeft": "왼쪽 상단", - "popover-placement-topRight": "오른쪽 상단", + "popover-placement-topLeft": "상단 왼쪽", + "popover-placement-topRight": "상단 오른쪽", "popover-placement-right": "오른쪽", "popover-placement-rightTop": "오른쪽 상단", "popover-placement-rightBottom": "오른쪽 하단", "popover-placement-bottom": "하단", - "popover-placement-bottomLeft": "왼쪽 하단", - "popover-placement-bottomRight": "오른쪽 하단", + "popover-placement-bottomLeft": "하단 왼쪽", + "popover-placement-bottomRight": "하단 오른쪽", "popover-placement-left": "왼쪽", "popover-placement-leftTop": "왼쪽 상단", "popover-placement-leftBottom": "왼쪽 하단", @@ -7506,12 +10971,12 @@ "open-new-browser-tab": "새 브라우저 탭에서 열기", "open-URL": "URL 열기", "URL": "URL", - "url-required": "URL을(를) 입력하세요.", + "url-required": "URL을 입력하세요.", "mobile": { "device-provision": "장치 프로비저닝", - "action-type": "모바일 작업 유형", - "select-action-type": "모바일 작업 유형 선택", - "action-type-required": "모바일 작업 유형이 필요합니다", + "action-type": "모바일 액션 유형", + "select-action-type": "모바일 액션 유형 선택", + "action-type-required": "모바일 액션 유형이 필요합니다", "take-picture-from-gallery": "갤러리에서 사진 가져오기", "take-photo": "사진 촬영", "map-direction": "지도 경로 열기", @@ -7533,12 +10998,94 @@ "save-to-gallery": "갤러리에 저장", "provision-type": "프로비저닝 유형", "auto": "자동", - "wi-fi": "와이파이", + "wi-fi": "Wi-Fi", "ble": "BLE", - "soft-ap": "소프트 AP" - }, - "custom-action-function": "사용자 지정 작업 함수", - "custom-pretty-function": "사용자 지정 작업 (HTML 템플릿 포함) 함수", + "soft-ap": "Soft AP", + "save-to-entity": "엔티티에 위치 저장", + "target-panel-title": "대상", + "target-save-to": "저장 위치", + "target-mode-entity": "엔티티", + "target-current-entity": "위젯 데이터 소스의 엔티티", + "target-current-user": "현재 사용자", + "target-entity-alias": "엔티티 별명", + "target-from-attribute": "속성에서", + "target-entity-alias-name": "별명", + "target-entity-alias-name-required": "별명을 입력하세요.", + "target-attribute-source": "속성을 읽을 위치", + "target-attribute-key": "서버 속성 키", + "target-attribute-key-required": "서버 속성 키는 필수 항목입니다.", + "target-attribute-value-hint": "속성에는 두 필드를 모두 포함한 엔티티 ID 객체가 저장되어 있어야 합니다. 예: {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}. 일반 ID 문자열은 허용되지 않습니다.", + "location-save-failed": "위치 저장 실패: {{error}}", + "start-live-location": "실시간 위치 추적 시작", + "stop-live-location": "실시간 위치 추적 중지", + "accuracy": "정확도", + "accuracy-hint": "각 위치의 정밀도와 추적에 따른 배터리 소모량 사이의 절충입니다.", + "accuracy-high": "높음", + "accuracy-high-hint": "가장 정밀한 위치(오차 약 5m)를 얻기 위해 GPS를 사용합니다. 차량 또는 현장 작업자 추적에 가장 적합하지만 배터리 소모가 가장 빠릅니다.", + "accuracy-balanced": "균형", + "accuracy-balanced-hint": "Wi-Fi와 기지국을 사용하며 필요할 때만 GPS로 전환합니다(오차 약 40m). 적당한 배터리 소모로 주기적인 체크인에 적합한 기본값입니다.", + "accuracy-low": "낮음", + "accuracy-low-hint": "기지국만 사용하며 오차는 약 500m 이상입니다. 최소한의 배터리 사용으로 장기간 도시 수준의 위치를 파악하는 데 가장 적합합니다.", + "live-location-advanced-settings": "고급 설정", + "distance-filter": "이동 거리로 업데이트 제한", + "distance-filter-hint": "장치가 이전에 보고한 위치에서 최소 이 거리만큼 이동할 때까지 업데이트를 건너뜁니다.", + "distance-filter-value": "거리", + "distance-filter-value-min": "거리는 1m 이상이어야 합니다.", + "distance-filter-value-pattern": "거리는 정수여야 합니다.", + "distance-filter-value-required": "거리는 필수 항목입니다.", + "interval": "시간 간격으로 업데이트 제한", + "interval-hint": "이 간격보다 자주 새 위치를 요청하지 않습니다. 설정하지 않으면 장치가 보고하는 즉시 업데이트가 수신됩니다.", + "interval-value": "간격", + "interval-value-min": "간격은 1초 이상이어야 합니다.", + "interval-value-required": "간격은 필수 항목입니다.", + "max-duration": "최대 지속 시간 후 추적 중지", + "max-duration-hint": "추적이 시작된 후 이 시간이 지나면 추적이 자동으로 중지됩니다.", + "max-duration-value": "지속 시간", + "max-duration-value-min": "지속 시간은 1분 이상이어야 합니다.", + "max-duration-value-required": "지속 시간은 필수 항목입니다." + }, + "location": { + "saved-keys": "엔티티에 저장되는 키", + "argument": "인수", + "key-name": "데이터 키", + "value-type": "유형", + "add-key": "키 추가", + "remove-key": "키 제거", + "duplicate-key-names": "데이터 키는 고유해야 합니다.", + "key-latitude": "위도", + "key-longitude": "경도", + "key-accuracy": "정확도", + "key-altitude": "고도", + "key-speed": "속도", + "key-heading": "방향", + "key-gps-active": "GPS 활성", + "key-gps-tracked-by": "GPS 추적 사용자", + "value-type-attribute": "서버 속성", + "value-type-timeseries": "시계열", + "error-no-current-entity": "위젯 액션에 현재 엔티티가 없습니다", + "error-no-current-user": "현재 사용자를 확인할 수 없습니다", + "error-save-failed": "예기치 않은 서버 오류", + "error-permission-denied": "권한이 거부되었습니다", + "error-alias-not-found": "대시보드에서 엔티티 별명 '{{alias}}'을(를) 찾을 수 없습니다", + "error-alias-not-resolved": "엔티티 별명 '{{alias}}'이(가) 엔티티로 해석되지 않았습니다", + "error-attribute-not-found": "소스 엔티티에서 속성 '{{key}}'을(를) 찾을 수 없습니다", + "error-attribute-not-object": "속성 '{{key}}'은(는) 엔티티 ID 객체가 아닙니다. entityType 및 id 필드가 모두 필요합니다. 예: {\"entityType\": \"DEVICE\", \"id\": \"784f394c-42b6-435a-983c-b7beff2784f9\"}.", + "error-attribute-incomplete": "속성 '{{key}}'에 엔티티 ID 객체의 entityType 또는 id 필드가 없습니다", + "error-attribute-unknown-entity-type": "속성 '{{key}}'이(가) 알 수 없는 엔티티 유형 '{{entityType}}'을(를) 참조합니다", + "error-unknown-target-type": "알 수 없는 대상 엔티티 소스 '{{type}}'" + }, + "save-browser-location": "브라우저 위치 저장", + "browser-location": { + "location-saved": "브라우저 위치가 저장되었습니다", + "location-save-failed": "브라우저 위치를 저장하지 못했습니다: {{error}}", + "error-unsupported": "이 브라우저는 위치 감지를 지원하지 않습니다", + "error-insecure-context": "브라우저 위치를 사용하려면 보안(HTTPS) 연결이 필요합니다", + "error-permission-denied": "위치 권한이 거부되었습니다", + "error-position-unavailable": "현재 위치를 사용할 수 없습니다", + "error-timeout": "현재 위치를 가져오는 중 시간이 초과되었습니다" + }, + "custom-action-function": "사용자 지정 액션 함수", + "custom-pretty-function": "사용자 지정 액션 (HTML 템플릿 포함) 함수", "map-item-type": "지도 항목 유형", "map-item": { "marker": "마커", @@ -7582,21 +11129,21 @@ "widgets-bundle-details": "위젯 번들 상세 정보", "delete-widgets-bundle-title": "'{{widgetsBundleTitle}}' 위젯 번들을 삭제하시겠습니까?", "delete-widgets-bundle-text": "위젯 번들 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "delete-widgets-bundles-title": "{ count, plural, =1 {위젯 번들 1 개} other {위젯 번들 # 개} }를 삭제하시겠습니까?", - "delete-widgets-bundles-action-title": "{ count, plural, =1 {위젯 번들 1 개} other {위젯 번들 # 개} } 삭제", - "delete-widgets-bundles-text": "위젯 번들 및 관련된 모든 데이터를 복구할 수 없으므로 주의하십시오.", - "no-widgets-bundles-matching": "'{{widgetsBundle}}' 와(과) 일치하는 위젯 번들을 찾을 수 없습니다.", + "delete-widgets-bundles-title": "{ count, plural, =1 {위젯 번들 1개} other {위젯 번들 #개} }를 삭제하시겠습니까?", + "delete-widgets-bundles-action-title": "{ count, plural, =1 {위젯 번들 1개} other {위젯 번들 #개} } 삭제", + "delete-widgets-bundles-text": "주의: 확인 후 선택한 모든 위젯 번들이 제거되고 모든 관련 데이터를 복구할 수 없게 됩니다.", + "no-widgets-bundles-matching": "'{{widgetsBundle}}'와(과) 일치하는 위젯 번들을 찾을 수 없습니다.", "widgets-bundle-required": "위젯 번들을 입력하세요.", "system": "시스템", "import": "위젯 번들 가져오기", "export": "위젯 번들 내보내기", "export-widgets-bundle-widgets-prompt": "내보낸 데이터에 번들 위젯 포함 (그렇지 않으면 참조된 위젯 FQN만 내보내짐)", - "export-failed-error": "위젯 번들을 내보내기 할 수 없습니다.: {{error}}", + "export-failed-error": "위젯 번들을 내보낼 수 없습니다: {{error}}", "create-new-widgets-bundle": "새로운 위젯 번들 생성", "widgets-bundle-file": "위젯 번들 파일", - "invalid-widgets-bundle-file-error": "위젯 번들을 가져오기 할 수 없습니다.: 잘못된 위젯 번들 데이터 구조입니다.", + "invalid-widgets-bundle-file-error": "위젯 번들을 가져올 수 없습니다: 잘못된 위젯 번들 데이터 구조입니다.", "search": "위젯 번들 검색", - "selected-widgets-bundles": "{ count, plural, =1 {1 개 위젯 번들} other {# 개 위젯 번들} } 선택됨", + "selected-widgets-bundles": "{ count, plural, =1 {위젯 번들 1개} other {위젯 번들 #개} } 선택됨", "open-widgets-bundle": "위젯 번들 열기", "loading-widgets-bundles": "위젯 번들 로드 중...", "create-new": "새 위젯 번들 만들기" @@ -7614,7 +11161,9 @@ "display-title": "제목 표시", "card-title": "카드 제목", "drop-shadow": "그림자", - "enable-fullscreen": "전체화면 사용 ", + "enable-fullscreen": "전체화면 사용", + "enable-data-export": "데이터 내보내기 활성화", + "data-export": "데이터 내보내기", "background-color": "배경 색", "text-color": "글자 색", "border-radius": "테두리 반경", @@ -7637,15 +11186,15 @@ "decimals-short": "소수 자릿수", "decimals-suffix": "소수 자릿수", "digits-suffix": "자릿수", - "timewindow": "타임윈도우", - "use-dashboard-timewindow": "대시보드 타임윈도우", + "timewindow": "시간 창", + "use-dashboard-timewindow": "대시보드 시간 창 사용", "use-widget-timewindow": "위젯 시간 창 사용", - "display-timewindow": "타임윈도우 표시", + "display-timewindow": "시간 창 표시", "legend": "범례", "display-legend": "범례 표시", "datasources": "데이터 소스", "datasource": "데이터소스", - "maximum-datasources": "최대 { count, plural, =1 {1 개의 데이터 소스만 허용됩니다.} other {# 개의 데이터 소스만 허용됩니다.} }", + "maximum-datasources": "{ count, plural, =1 {데이터 소스는 최대 1개만 허용됩니다.} other {데이터 소스는 최대 #개만 허용됩니다} }", "timeseries-key-error": "최소 하나의 시계열 데이터 키를 지정해야 합니다", "datasource-type": "유형", "datasource-parameters": "파라미터", @@ -7658,12 +11207,33 @@ "add-action": "액션 추가", "search-actions": "액션 검색", "no-actions-text": "아무 액션도 없습니다", + "import-actions": "액션 가져오기", + "export-actions": "액션 내보내기", + "export-action": "액션 내보내기", + "duplicate-action": "액션 복제", + "copy-action": "액션 복사", + "copy-all-actions": "모든 액션 복사", + "action-copied": "액션 복사됨", + "actions-copied": "액션 복사됨", + "paste-actions": "액션 붙여넣기", + "clear-actions": "모든 액션 지우기", + "clear-actions-title": "모든 액션 지우기", + "clear-actions-text": "모든 위젯 액션을 제거하시겠습니까?", + "actions-file": "위젯 액션 파일", + "actions-json-content": "액션 JSON 콘텐츠", + "invalid-actions-file-error": "위젯 액션을 가져올 수 없습니다: 위젯 액션 데이터 구조가 잘못되었습니다.", + "import-actions-imported": "{ count, plural, =0 {가져온 액션이 없습니다} =1 {액션 1개를 가져왔습니다} other {액션 #개를 가져왔습니다} }", + "paste-actions-pasted": "{ count, plural, =0 {붙여넣은 액션이 없습니다} =1 {액션 1개를 붙여넣었습니다} other {액션 #개를 붙여넣었습니다} }", + "duplicate-actions-duplicated": "{ count, plural, =0 {복제된 액션이 없습니다} =1 {액션 1개가 복제되었습니다} other {액션 #개가 복제되었습니다} }", + "import-actions-skipped": "{ count, plural, =1 {이 위젯에 적용할 수 없거나 이미 구성되어 있어 액션 1개를 건너뛰었습니다} other {이 위젯에 적용할 수 없거나 이미 구성되어 있어 액션 #개를 건너뛰었습니다} }", + "import-actions-columns-reset": "{ count, plural, =1 {셀 클릭 액션 1개에 할당된 열이 없습니다. 액션을 편집하여 열을 할당하세요.} other {셀 클릭 액션 #개에 할당된 열이 없습니다. 액션을 편집하여 열을 할당하세요.} }", "action-source": "액션 소스", - "select-action-source": "작업 소스 선택", + "select-action-source": "액션 소스 선택", "action-source-required": "액션 소스를 입력하세요.", "column-index": "열 인덱스", "select-column-index": "열 인덱스 선택", "column-index-required": "열 인덱스가 필요합니다.", + "entity-group-row-click-hint": "사용자 지정 액션 \"행 클릭 시\"를 사용하려면 설정 탭의 \"엔티티 세부 정보 열기\" 옵션이 \"행 클릭 시\" 이외의 값으로 설정되어 있는지 확인하세요.", "not-set": "설정되지 않음", "action-name": "이름", "action-name-required": "액션 이름을 입력하세요.", @@ -7677,7 +11247,7 @@ "button-type-stroked": "윤곽선", "button-type-flat": "평면", "button-type-icon": "아이콘", - "button-type-mini-fab": "플로팅 버튼", + "button-type-mini-fab": "FAB", "colors": "색상", "color": "색상", "background": "배경", @@ -7685,10 +11255,10 @@ "advanced-button-style": "고급 버튼 스타일", "button-style": "버튼 스타일" }, - "show-hide-action-using-function": "함수를 사용하여 작업 표시/숨기기", - "show-action-function": "작업 표시 함수", + "show-hide-action-using-function": "함수를 사용하여 액션 표시/숨기기", + "show-action-function": "액션 표시 함수", "action-type": "유형", - "action-type-required": "액션 유형을 입력하세요.", + "action-type-required": "액션 유형을 선택하세요.", "edit-action": "액션 편집", "delete-action": "액션 삭제", "delete-action-title": "위젯 액션 삭제", @@ -7730,10 +11300,185 @@ "widget-type": { "import": "위젯 타입 가져오기", "export": "위젯 타입 내보내기", - "export-failed-error": "위젯 타입을 내보내기 할 수 없습니다.: {{error}}", + "export-failed-error": "위젯 타입을 내보낼 수 없습니다: {{error}}", "widget-file": "위젯 파일", "invalid-widget-file-error": "위젯 가져오기를 할 수 없습니다: 위젯 데이터 구조가 잘못되었습니다." }, + "self-registration": { + "self-registration": "자체 등록", + "self-registration-url": "자체 등록 URL", + "captcha-version": "캡차 버전", + "captcha-action": "캡차 로그 액션 이름", + "captcha-site-key": "캡차 사이트 키", + "captcha-site-key-required": "캡차 사이트 키는 필수 항목입니다.", + "captcha-site-key-cannot-contain-only-spaces": "캡차 사이트 키에는 공백만 포함될 수 없습니다", + "captcha-site-key-max-length": "캡차 사이트 키는 256자 미만이어야 합니다", + "captcha-secret-key": "캡차 비밀 키", + "captcha-secret-key-required": "캡차 비밀 키는 필수 항목입니다.", + "captcha-secret-key-cannot-contain-only-spaces": "캡차 비밀 키에는 공백만 포함될 수 없습니다", + "captcha-secret-key-max-length": "캡차 비밀 키는 256자 미만이어야 합니다", + "project-id": "프로젝트 ID", + "project-id-required": "프로젝트 ID는 필수 항목입니다.", + "android-key": "Android 키", + "android-key-required": "Android 키는 필수 항목입니다.", + "ios-key": "iOS 키", + "ios-key-required": "iOS 키는 필수 항목입니다.", + "notification-recipient": "알림 수신자", + "notification-recipient-required": "알림 수신자는 필수 항목입니다.", + "privacy-policy-text": "개인정보 처리방침 텍스트", + "terms-of-use-text": "이용 약관 텍스트", + "text-message-page": "가입 페이지용 텍스트 메시지", + "enable-mobile-self-registration": "모바일 애플리케이션에서 자체 등록 활성화", + "mobile-self-registration-title": "모바일 애플리케이션 자체 등록 설정", + "mobile-package": "애플리케이션 패키지", + "mobile-package-placeholder": "예: my.example.app", + "mobile-package-hint": "Android: 고유한 애플리케이션 ID. iOS: 제품 번들 식별자.", + "mobile-package-required": "애플리케이션 패키지는 필수 항목입니다", + "mobile-app-secret": "애플리케이션 비밀키", + "invalid-mobile-app-secret": "애플리케이션 비밀키는 영숫자만 포함해야 하며 길이는 16~2048자여야 합니다.", + "copy-mobile-app-secret": "애플리케이션 비밀키 복사", + "mobile-app-scheme": "애플리케이션 URL 스킴", + "mobile-app-scheme-placeholder": "예: customscheme", + "mobile-app-scheme-required": "애플리케이션 URL 스킴은 필수 항목입니다.", + "mobile-app-scheme-cannot-contain-only-spaces": "애플리케이션 URL 스킴에는 공백만 포함할 수 없습니다.", + "mobile-app-scheme-max-length": "애플리케이션 URL 스킴은 256자 미만이어야 합니다.", + "mobile-app-host": "애플리케이션 URL 호스트 이름", + "mobile-app-host-placeholder": "예: my.app.host", + "mobile-app-host-required": "애플리케이션 URL 호스트 이름은 필수 항목입니다.", + "mobile-app-host-cannot-contain-only-spaces": "애플리케이션 URL 호스트 이름에는 공백만 포함할 수 없습니다.", + "mobile-app-host-max-length": "애플리케이션 URL 호스트 이름은 256자 미만이어야 합니다.", + "show-privacy-policy": "개인정보 처리방침 표시", + "show-terms-of-use": "이용 약관 표시", + "domain-settings": "도메인 설정", + "general-settings": "일반 설정", + "recaptcha-enterprise-service-account-file": "reCAPTCHA Enterprise 계정 자격 증명 JSON 파일", + "select-recaptcha-enterprise-service-account-file": "계정 자격 증명 파일을 끌어서 놓으세요" + }, + "solution-creator": { + "ai-solution-creator": "AI 솔루션 생성기", + "describe-solution-you-want": "만들려는 솔루션을 설명하세요", + "enter-your-prompt": "프롬프트를 입력하세요", + "target": "대상", + "install-solution": "설치", + "solution-overview": "솔루션 개요: {{ name }}", + "dashboards-overview": "대시보드 개요: {{ name }}", + "entity-profile": "엔티티 프로필", + "entity-profiles": "엔티티 프로필", + "name": "이름", + "iam": "IAM", + "iam-full": "ID 및 액세스 관리", + "table-view": "테이블", + "schema-view": "스키마", + "iam-info": "IAM 정보", + "operation": { + "C": "생성", + "R": "읽기", + "U": "업데이트", + "D": "삭제" + }, + "alarm-info": "알람 정보", + "description": "설명", + "data": "데이터", + "entity-info": "엔티티 정보", + "calculated-field-info": "계산 필드 정보", + "field-type": "필드 유형", + "scope": "범위", + "delete-alarm-title": "제안된 이 알람을 삭제하시겠습니까?", + "delete-alarm-text": "입력하신 설명을 바탕으로 제안된 이 알람은 제안된 솔루션 빌드에 추가되지 않습니다.
나중에 언제든지 알람을 수동으로 편집하거나 다시 생성할 수 있습니다. 이 작업은 실행 취소할 수 없습니다.", + "basic-mode": "기본", + "advanced-mode": "고급", + "create-solution": "솔루션 생성", + "go-dashboard-manager": "다음: 대시보드 디자인", + "success-generate-title": "솔루션이 준비되었습니다!", + "success-generate-sub-title": "아래 버튼을 클릭하여 계정에 설치할 수 있습니다", + "success-generate-install-title": "솔루션이 설치되었습니다!", + "success-generate-install-sub-title": "솔루션을 편집하려면 먼저 기존 인스턴스를 제거하세요", + "main-title": "안녕하세요! AI 어시스턴트입니다", + "sub-title": "요구 사항을 완전히 작동하는 IoT 솔루션으로 구현하도록 도와드립니다.\n원하는 목표를 설명해 주시면 나머지는 제가 처리하겠습니다.", + "solutions": "솔루션", + "new-solution": "새 솔루션", + "uninstall-solution": "제거", + "uninstall-solution-dialog-title": "‘{{ name }}’을(를) 제거하시겠습니까?", + "uninstall-solution-dialog-text": "관련된 모든 엔티티와 대시보드가 계정에서 삭제됩니다", + "uninstall-solution-dialog-confirm": "예, 제거", + "delete-solution-title": "‘{{ name }}’을(를) 삭제하시겠습니까?", + "delete-solution-text": "모든 데이터가 손실됩니다", + "delete-solution-confirm": "예, 삭제", + "copy-solution": "솔루션 복사", + "expand-sidebar": "사이드바 확장", + "collapse-sidebar": "사이드바 축소", + "solution-id": "솔루션 ID", + "solution-id-required": "솔루션 ID는 필수 항목입니다.", + "rename-solution-title": "이 솔루션 이름 변경", + "generate-again": "다시 생성", + "skip-interview": "인터뷰 생략", + "update-solution": "솔루션 업데이트", + "finish-edit": "편집 완료", + "lorawan-tracking": "LoRaWAN 추적", + "smart-parking": "스마트 주차", + "weather-monitoring": "날씨 모니터링", + "water-metering": "수도 계량", + "coffee-machine-monitoring": "커피 머신 모니터링", + "fleet-geofencing": "차량 지오펜싱", + "more-examples": "더 많은 예시", + "hide": "숨기기", + "solution-info": "솔루션 정보", + "solution-info-with-name": "솔루션 정보: {{ name }}", + "status": "상태", + "only-failures": "실패만", + "failed-create-entity": "엔티티 생성 실패", + "failed-install-entity": "엔티티 설치 실패", + "copy-id": "ID 복사", + "id-copied-message": "솔루션 ID가 클립보드에 복사되었습니다", + "credits": "크레딧", + "info": "정보", + "main-dashboard": "메인 대시보드", + "view-as": "{{ name }}(으)로 보기", + "generated-by-calculated-field-name": "‘{{ name }}’ 계산 필드에서 생성됨", + "estimate-wait-time": "예상 대기 시간은 약 {{ time }}입니다", + "analyzing-your-request": "요청을 분석하는 중...", + "condition": "조건", + "installing": "솔루션 설치 중...", + "step-architecture-design": "아키텍처 설계", + "step-dashboard-design": "대시보드 디자인", + "step-solution-installation": "솔루션 설치", + "step-reading-device-data": "장치 데이터 읽는 중…", + "step-analyzing-telemetry-attributes": "텔레메트리 및 속성 분석 중…", + "step-selecting-widgets": "데이터에 맞는 위젯 선택 중…", + "step-configuring-titles-units-ranges": "제목, 단위 및 범위 구성 중…", + "step-designing-layout": "레이아웃 디자인 중…", + "step-arranging-widgets": "대시보드에 위젯 배치 중…", + "generate-dashboard": "대시보드 생성", + "generate-dashboard-with-ai": "AI로 대시보드 생성", + "no-telemetry-title": "텔레메트리 데이터를 찾을 수 없습니다", + "no-telemetry-message": "이 장치는 아직 텔레메트리를 전송하지 않았습니다.\n먼저 장치에서 텔레메트리를 전송한 다음 대시보드를 생성하세요.", + "send-telemetry": "텔레메트리 전송", + "step-loading-updating-entities": "엔티티 업데이트 중…", + "step-loading-restructuring-roles": "역할 재구성 중…", + "step-loading-rebuilding-alarm-rules": "알람 규칙 재구축 중…", + "step-loading-reassembling-dashboards": "대시보드 재조립 중…", + "step-loading-updating-solution": "솔루션 업데이트 중…", + "step-loading-designing-dashboards-structure": "대시보드 구조 설계 중…", + "step-loading-designing-dashboards-states": "대시보드 상태 설계 중…", + "step-loading-designing-widgets": "위젯 설계 중…", + "step-loading-adding-finishing-touches": "마무리 작업 중…", + "step-loading-evaluating-solution-changes": "솔루션 변경 사항 평가 중…", + "step-loading-reevaluating-use-cases": "사용 사례 재평가 중…", + "step-loading-finalizing": "최종 처리 중…", + "step-loading-creating-entities": "엔티티 생성 중…", + "step-loading-configuring-devices": "장치 구성 중…", + "step-loading-setting-up-relations": "관계 설정 중…", + "step-loading-structuring-access-controls": "액세스 제어 구성 중…", + "step-loading-building-calculated-fields": "계산 필드 생성 중…", + "step-loading-building-alarm-rules": "알람 규칙 생성 중…", + "step-loading-assembling-dashboards": "대시보드 조립 중…", + "step-loading-preparing-states": "상태 준비 중…", + "step-loading-initializing-solution": "솔루션 초기화 중…", + "ai-credits": "AI 크레딧", + "ai-credits-update": "플랜 변경", + "ai-credits-usage": "AI 크레딧: {{ max }}개 중 {{ used }}개 사용", + "ai-credits-description": "이번 달 AI 크레딧 {{ max }}개 중 {{ used }}개를 사용했습니다. 한도는 {{ date }}에 재설정됩니다. AI 크레딧 한도를 늘리려면 시스템 관리자에게 문의하세요." + }, "widgets": { "mobile-app-qr-code": { "configuration-hint": "구성은 플랫폼 기본 설정의 모바일 앱 QR 코드 위젯에 따라 달라집니다", @@ -7743,24 +11488,24 @@ "action-button": { "behavior": "동작", "on-click": "클릭 시", - "on-click-hint": "버튼을 클릭할 때 트리거되는 동작", + "on-click-hint": "버튼을 클릭할 때 트리거되는 액션", "first-button-click": "첫 번째 버튼 클릭", - "first-button-click-hint": "첫 번째 버튼을 누르는 동안 동작.", + "first-button-click-hint": "첫 번째 버튼을 누를 때 수행되는 액션.", "second-button-click": "두 번째 버튼 클릭", - "second-button-click-hint": "두 번째 버튼을 누르는 동안 동작.", - "button-click-hint": "위젯을 누르는 동안 동작." + "second-button-click-hint": "두 번째 버튼을 누를 때 수행되는 액션.", + "button-click-hint": "위젯을 누를 때 수행되는 액션." }, "command-button": { "behavior": "동작", "on-click": "클릭 시", - "on-click-hint": "버튼을 클릭할 때 수행되는 동작." + "on-click-hint": "버튼을 클릭할 때 수행되는 액션." }, "power-button": { "behavior": "동작", "power-on": "전원 '켜기'", - "power-on-hint": "구성 요소의 전원을 켜기 위해 수행되는 동작.", + "power-on-hint": "구성 요소의 전원을 켜기 위해 수행되는 액션.", "power-off": "전원 '끄기'", - "power-off-hint": "구성 요소의 전원을 끄기 위해 수행되는 동작.", + "power-off-hint": "구성 요소의 전원을 끄기 위해 수행되는 액션.", "on-label": "켜기", "off-label": "끄기", "layout": "레이아웃", @@ -7786,10 +11531,10 @@ "behavior": "동작", "checked": "선택됨", "unchecked": "선택 해제됨", - "check": "선택", - "check-hint": "구성 요소를 선택하기 위해 수행되는 동작.", - "uncheck": "선택 해제", - "uncheck-hint": "구성 요소를 선택 해제하기 위해 수행되는 동작.", + "check": "'켜짐'으로 전환", + "check-hint": "구성 요소를 '켜짐'으로 전환하기 위해 수행되는 액션.", + "uncheck": "'꺼짐'으로 전환", + "uncheck-hint": "구성 요소를 '꺼짐'으로 전환하기 위해 수행되는 액션.", "auto-scale": "자동 크기 조정", "horizontal-fill": "가로 채우기", "vertical-fill": "세로 채우기", @@ -7802,7 +11547,7 @@ "card-border": "카드 테두리", "button-appearance": "버튼 외관", "first": "첫 번째", - "second": "초", + "second": "두 번째", "color-styles": "색상 스타일", "selected": "선택됨", "unselected": "선택되지 않음" @@ -7824,7 +11569,7 @@ "custom-styles": "사용자 지정 스타일", "clear-style": "스타일 지우기", "shadow": "그림자", - "enabled": "사용", + "enabled": "활성화됨", "disabled": "비활성화됨", "preview": "미리보기", "copy-style-from": "스타일 복사 원본" @@ -7834,15 +11579,15 @@ "simplified": "간소화", "filled": "채워짐", "outlined": "윤곽선", - "volume": "부피", + "volume": "볼륨", "initial-state": "초기 상태", - "initial-state-hint": "초기 값을 가져오는 동작.", + "initial-state-hint": "초기 값을 가져오는 액션.", "disabled-state": "비활성화 상태", "disabled-state-hint": "구성 요소가 비활성화되는 조건을 구성합니다.", "right-button-click": "오른쪽 버튼 클릭", - "right-button-click-hint": "오른쪽 버튼을 누르는 동안 동작.", + "right-button-click-hint": "오른쪽 버튼을 누를 때 수행되는 액션.", "left-button-click": "왼쪽 버튼 클릭", - "left-button-click-hint": "왼쪽 버튼을 누르는 동안 동작.", + "left-button-click-hint": "왼쪽 버튼을 누를 때 수행되는 액션.", "auto-scale": "자동 크기 조정", "value-range": "범위", "min-range": "최소", @@ -7871,14 +11616,14 @@ "disabled-state-hint": "버튼이 비활성화되는 조건을 구성합니다.", "selected-state": "선택 버튼", "selected-state-hint": "버튼이 선택되는 조건을 구성합니다.", - "enabled": "사용", + "enabled": "활성화됨", "hovered": "호버됨", "pressed": "눌림", "activated": "활성", "disabled": "비활성화됨", "initial": "첫 번째 버튼", "first": "첫 번째", - "second": "초" + "second": "두 번째" }, "background": { "background": "배경", @@ -7905,8 +11650,8 @@ }, "battery-level": { "layout": "레이아웃", - "layout-vertical-solid": "수직. 실선", - "layout-horizontal-solid": "수평. 실선", + "layout-vertical-solid": "수직. 연속형", + "layout-horizontal-solid": "수평. 연속형", "layout-vertical-divided": "수직. 분할", "layout-horizontal-divided": "수평. 분할", "icon": "아이콘", @@ -7922,7 +11667,7 @@ "last-update": "마지막 업데이트", "no-signal": "신호 없음", "layout": "레이아웃", - "layout-wifi": "와이파이", + "layout-wifi": "Wi-Fi", "layout-cellular-bar": "셀룰러 막대", "icon": "아이콘", "date": "날짜", @@ -7937,8 +11682,8 @@ "layout-default": "기본값", "layout-center": "중앙", "layout-icon": "아이콘", - "on": "켜기", - "off": "끄기", + "on": "켜짐", + "off": "꺼짐", "label": "라벨", "status": "상태", "icon": "아이콘", @@ -8003,7 +11748,7 @@ "custom-interval-value": "사용자 지정 간격 값 (ms)", "comparison-x-axis-settings": "비교 X축 설정", "axis-position": "축 위치", - "axis-position-top": "위 (기본값)", + "axis-position-top": "상단 (기본값)", "axis-position-bottom": "하단", "custom-legend-settings": "사용자 지정 범례 설정", "enable-custom-legend": "사용자 지정 범례 활성화 (키 레이블에 속성/시계열 값을 사용할 수 있음)", @@ -8026,12 +11771,12 @@ "fill-line": "선 채우기", "fill-line-opacity": "채우기 불투명도", "points-settings": "포인트 설정", - "show-points": "지점 표시", + "show-points": "포인트 표시", "points-line-width": "포인트 선 너비", "points-radius": "포인트 반지름", "point-shape": "포인트 모양", "point-shape-circle": "원", - "point-shape-cross": "십자가", + "point-shape-cross": "십자", "point-shape-diamond": "다이아몬드", "point-shape-square": "사각형", "point-shape-triangle": "삼각형", @@ -8100,22 +11845,22 @@ "label-position-inside": "내부", "fill": "채우기", "fill-type-none": "없음", - "fill-type-solid": "실선", + "fill-type-solid": "단색", "fill-type-opacity": "불투명도", "fill-type-gradient": "그라데이션", "background": "배경", "opacity": "불투명도", - "gradient-stops": "그라데이션 중지점", + "gradient-stops": "그라데이션 정지점", "gradient-start": "시작", - "gradient-end": "종료", + "gradient-end": "끝", "animation": { "animation": "애니메이션", "animation-threshold": "애니메이션 임계값", "animation-duration": "애니메이션 지속 시간", - "animation-easing": "애니메이션 완화", + "animation-easing": "애니메이션 이징", "animation-delay": "애니메이션 지연", "update-animation-duration": "업데이트 애니메이션 지속 시간", - "update-animation-easing": "업데이트 애니메이션 완화", + "update-animation-easing": "업데이트 애니메이션 이징", "update-animation-delay": "업데이트 애니메이션 지연" }, "chart-axis": { @@ -8151,8 +11896,8 @@ "color-type-function": "함수", "color": "색상", "value-range": "값 범위", - "from": "부터", - "to": "까지", + "from": "시작", + "to": "종료", "color-function": "색상 함수", "copy-color-settings-from": "색상 설정 복사 위치", "copy-from": "복사 원본", @@ -8185,7 +11930,7 @@ "picker-one-panel": "날짜 범위 선택기 단일 패널", "picker-auto-confirm": "날짜 범위 선택기 자동 확인", "picker-show-template": "날짜 범위 선택기 템플릿 표시", - "first-day-of-week": "주의 첫 번째 요일", + "first-day-of-week": "한 주의 첫 요일", "interval-settings": "간격 설정", "hide-interval": "간격 숨기기", "initial-interval": "초기 간격", @@ -8193,7 +11938,7 @@ "interval-day": "일", "interval-week": "주", "interval-two-weeks": "2주", - "interval-month": "달", + "interval-month": "월", "interval-three-months": "3개월", "interval-six-months": "6개월", "step-settings": "단계 설정", @@ -8238,7 +11983,7 @@ "Yesterday": "어제", "This Week": "이번 주", "Last Week": "지난주", - "This Month": "이번달", + "This Month": "이번 달", "Last Month": "지난달", "Year": "년", "This Year": "올해", @@ -8248,7 +11993,7 @@ "Day": "일", "Week": "주", "2 weeks": "2주", - "Month": "달", + "Month": "월", "3 months": "3개월", "6 months": "6개월", "Custom interval": "사용자 지정 간격", @@ -8285,13 +12030,13 @@ "general-settings": "일반 설정", "widget-title": "위젯 제목", "default-archive-file-name": "기본 아카이브 파일 이름", - "device-type-for-new-gateway": "새 게이트웨이에 대한 장치 유형", + "device-type-for-new-gateway": "새 Gateway에 대한 장치 유형", "messages-settings": "메시지 설정", - "save-config-success-message": "게이트웨이 구성이 성공적으로 저장되었다는 텍스트 메시지", + "save-config-success-message": "Gateway 구성이 성공적으로 저장되었다는 텍스트 메시지", "device-name-exists-message": "입력한 이름의 장치가 이미 존재할 때 텍스트 메시지", - "gateway-title": "게이트웨이 양식", + "gateway-title": "Gateway 양식", "read-only": "읽기 전용", - "events-title": "게이트웨이 이벤트 양식 제목", + "events-title": "Gateway 이벤트 양식 제목", "events-filter": "이벤트 필터", "event-key-contains": "이벤트 키 포함...", "show-connector": "커넥터에 표시", @@ -8351,8 +12096,8 @@ "highlights-settings": "하이라이트 설정", "highlights-width": "하이라이트 너비", "highlights": "하이라이트", - "highlight-from": "부터", - "highlight-to": "까지", + "highlight-from": "시작", + "highlight-to": "종료", "highlight-color": "색상", "no-highlights": "구성된 하이라이트 없음", "add-highlight": "하이라이트 추가", @@ -8382,9 +12127,9 @@ "progress-bar": "진행 막대", "progress-bar-color-start": "진행 막대 색상 - 시작 그라데이션", "progress-bar-color-end": "진행 막대 색상 - 끝 그라데이션", - "major-ticks-names": "주요 눈금 이름", + "major-ticks-names": "주 눈금 이름", "show-stroke-ticks": "눈금 획 표시", - "major-ticks-font": "주요 눈금 글꼴", + "major-ticks-font": "주 눈금 글꼴", "border-color": "테두리 색상", "border-width": "테두리 너비", "needle-circle": "바늘 원", @@ -8412,8 +12157,8 @@ "color": "색상", "no-bar-colors": "구성된 막대 색상 없음", "add-bar-color": "막대 색상 추가", - "from": "부터", - "to": "까지", + "from": "시작", + "to": "종료", "fixed-level-colors": "경계 값을 사용한 막대 색상", "gauge-title-settings": "게이지 제목 설정", "show-gauge-title": "게이지 제목 표시", @@ -8481,41 +12226,41 @@ }, "input-widgets": { "attribute-not-allowed": "이 위젯에서 속성 파라미터를 사용할 수 없습니다", - "blocked-location": "당신의 브라우저에서 위치 정보가 차단되었습니다", - "claim-device": "장치 클레임", - "claim-failed": "장치를 클레임하는데 실패했습니다!", + "blocked-location": "브라우저에서 위치 정보가 차단되었습니다", + "claim-device": "장치 소유권 등록", + "claim-failed": "장치 소유권 등록에 실패했습니다!", "claim-not-found": "장치를 찾을 수 없음!", - "claim-successful": "장치를 성공적으로 클레임하였습니다!", + "claim-successful": "장치 소유권이 성공적으로 등록되었습니다!", "date": "날짜", "device-name": "장치 이름", "device-name-required": "장치 이름을 입력하세요", "discard-changes": "변경 취소", - "entity-attribute-required": "엔티티 소성을 입력하세요", + "entity-attribute-required": "엔티티 속성을 입력하세요", "entity-coordinate-required": "위도와 경도를 입력하세요", "entity-timeseries-required": "엔티티 시계열을 입력하세요", - "get-location": "현재 위치 얻기", + "get-location": "현재 위치 가져오기", "invalid-date": "잘못된 날짜", "latitude": "위도", "longitude": "경도", "min-value-error": "최솟값은 {{value}}입니다", - "max-value-error": "최댓값은{{value}}입니다", - "not-allowed-entity": "선택된 엔티티는 속성을 공유할 수 없습니다", + "max-value-error": "최댓값은 {{value}}입니다", + "not-allowed-entity": "선택된 엔티티에는 공유 속성이 있을 수 없습니다", "no-attribute-selected": "아무 속성도 선택되지 않았습니다", "no-datakey-selected": "아무 데이터 키도 선택되지 않았습니다", - "no-coordinate-specified": "위도/경도를 위한 데이터가 특정되지 않았습니다", + "no-coordinate-specified": "위도/경도 데이터 키가 지정되지 않았습니다", "no-entity-selected": "아무 엔티티도 선택되지 않았습니다", "no-image": "이미지 없음", - "no-support-geolocation": "당신의 브라우저는 위치정보를 지원하지 않습니다", - "no-support-web-camera": "당신의 브라우저는 카메라를 지원하지 않습니다", - "enable-https-use-widget": "이 위젯을 사용하기 위해 HTTPS를 활성화 하세요", + "no-support-geolocation": "브라우저가 위치 정보를 지원하지 않습니다", + "no-support-web-camera": "브라우저가 카메라를 지원하지 않습니다", + "enable-https-use-widget": "이 위젯을 사용하려면 HTTPS를 활성화하세요", "no-found-your-camera": "카메라를 찾을 수 없습니다", "no-permission-camera": "사용자에 의해 권한이 거부되었습니다 / 이 사이트는 카메라 사용을 허용하지 않습니다", "no-timeseries-selected": "아무 시계열도 선택되지 않았습니다", - "secret-key": "보안키", - "secret-key-required": "보안키를 입력하세요", - "switch-attribute-value": "엔티티 속성 값으로 전환", + "secret-key": "비밀 키", + "secret-key-required": "비밀 키를 입력하세요", + "switch-attribute-value": "엔티티 속성 값 전환", "switch-camera": "카메라 전환", - "switch-timeseries-value": "엔티티 시계열 값으로 전환", + "switch-timeseries-value": "엔티티 시계열 값 전환", "take-photo": "사진 촬영", "time": "시간", "timeseries-not-allowed": "이 위젯에서 시계열 파라미터를 사용할 수 없습니다", @@ -8538,6 +12283,12 @@ "claim-device-failed-message": "장치 등록 실패 메시지", "claim-device-name-required-message": "'장치 이름 필요' 오류 메시지", "claim-device-secret-key-required-message": "'비밀 키 필요' 오류 메시지", + "relations-settings": "관계 설정", + "relate-device-to-state-entity": "현재 상태 엔티티와 장치 관계 설정", + "relate-direction": "관계 방향", + "relate-direction-from": "발신", + "relate-direction-to": "수신", + "relation-type": "관계 유형", "show-label": "레이블 표시", "label": "라벨", "required": "필수", @@ -8581,7 +12332,7 @@ "widget-mode-update-timeseries": "시계열 업데이트", "attribute-scope": "속성 범위", "attribute-scope-server": "서버 속성", - "attribute-scope-shared": "공유된 속성", + "attribute-scope-shared": "공유 속성", "value-required": "값 필요", "image-settings": "이미지 출력 설정", "image-format": "이미지 형식", @@ -8591,8 +12342,8 @@ "image-quality": "이미지 품질", "max-image-width": "최대 너비", "max-image-height": "최대 높이", - "action-buttons": "동작 버튼", - "show-action-buttons": "동작 버튼 표시", + "action-buttons": "액션 버튼", + "show-action-buttons": "액션 버튼 표시", "update-all-values": "수정된 것뿐만 아니라 모든 값 업데이트", "save-button-label": "'저장' 버튼 레이블", "reset-button-label": "'실행 취소' 버튼 레이블", @@ -8608,7 +12359,7 @@ "hide-input-field": "입력 필드 숨기기", "datakey-type": "데이터 키 유형", "datakey-type-server": "서버 속성 (기본값)", - "datakey-type-shared": "공유된 속성", + "datakey-type-shared": "공유 속성", "datakey-type-timeseries": "시계열", "datakey-value-type": "데이터 키 값 유형", "datakey-value-type-string": "문자열", @@ -8637,7 +12388,7 @@ "subscript-sizing-dynamic": "동적", "slide-toggle-settings": "슬라이드 토글 설정", "slide-toggle-label-position": "슬라이드 토글 레이블 위치", - "slide-toggle-label-position-after": "이후", + "slide-toggle-label-position-after": "뒤", "slide-toggle-label-position-before": "앞", "select-options": "선택 옵션", "no-select-options": "구성된 선택 옵션 없음", @@ -8657,7 +12408,7 @@ "get-value-settings": "값 가져오기 설정", "use-get-value-function": "getValue 함수 사용", "get-value-function": "getValue 함수", - "set-value-settings": "값 설정 설정", + "set-value-settings": "값 지정 설정", "use-set-value-function": "setValue 함수 사용", "set-value-function": "setValue 함수", "json-invalid": "JSON 값의 형식이 잘못되었습니다", @@ -8671,10 +12422,10 @@ "add-radio-option": "라디오 옵션 추가", "radio-label-position": "레이블 위치", "radio-label-position-before": "앞", - "radio-label-position-after": "이후", + "radio-label-position-after": "뒤", "save-image": "이미지 저장", "save-to-gallery": "캡처된 이미지를 이미지 갤러리에 자동 저장", - "public-image": "이미지를 승인되지 않은 모든 사용자가 사용할 수 있게 함" + "public-image": "인증되지 않은 모든 사용자가 이미지를 사용할 수 있게 합니다" }, "invalid-qr-code-text": "QR 코드에 대한 잘못된 입력 텍스트입니다. 입력은 문자열 유형이어야 합니다", "qr-code": { @@ -8711,7 +12462,7 @@ "persistent-table": { "rpc-id": "RPC ID", "message-type": "메시지 유형", - "method": "방법", + "method": "메서드", "params": "매개변수", "created-time": "생성 일시", "expiration-time": "만료 시간", @@ -8720,7 +12471,7 @@ "filter": "필터", "refresh": "새로고침", "add": "RPC 요청 추가", - "details": "상세 내역", + "details": "세부 정보", "delete": "삭제", "delete-request-title": "영구 RPC 요청 삭제", "delete-request-text": "요청을 삭제하시겠습니까?", @@ -8752,7 +12503,7 @@ "general-settings": "일반 설정", "enable-filter": "필터 활성화", "enable-sticky-header": "스크롤하는 동안 헤더 표시", - "enable-sticky-action": "스크롤하는 동안 작업 열 표시", + "enable-sticky-action": "스크롤하는 동안 액션 열 표시", "display-request-details": "요청 세부 정보 표시", "allow-send-request": "RPC 요청 보내기 허용", "allow-delete-request": "요청 삭제 허용", @@ -8777,9 +12528,9 @@ "knob": { "behavior": "동작", "initial-value": "초기 값", - "initial-value-hint": "노브의 초기 값을 가져오는 작업입니다.", + "initial-value-hint": "노브의 초기 값을 가져오는 액션입니다.", "on-value-change": "값 변경 시", - "on-value-change-hint": "노브 값이 변경될 때 트리거되는 작업입니다.", + "on-value-change-hint": "노브 값이 변경될 때 트리거되는 액션입니다.", "range": "범위", "min": "최소", "max": "최대", @@ -8789,6 +12540,11 @@ "rpc": { "value-settings": "값 설정", "initial-value": "초기 값", + "initial-value-hint": "첫 번째 값을 수신하기 전의 초기 값을 정의합니다.", + "initial-led-state": "초기 LED 상태", + "initial-led-state-hint": "첫 번째 값을 수신하기 전의 초기 LED 상태를 정의합니다.", + "on": "켜짐", + "off": "꺼짐", "retrieve-value-settings": "켜짐/꺼짐 값 가져오기 설정", "retrieve-value-method": "메서드를 사용하여 값 가져오기", "retrieve-value-method-none": "가져오지 않음", @@ -8803,9 +12559,9 @@ "set-value-method": "RPC 값 설정 메서드", "convert-value-function": "값 변환 함수", "rpc-settings": "RPC 설정", - "request-timeout": "RPC 요청 시간 제한 (ms)", + "request-timeout": "RPC 요청 제한 시간 (ms)", "persistent-rpc-settings": "영구 RPC 설정", - "request-persistent": "RPC 요청 영구", + "request-persistent": "영구 RPC 요청", "persistent-polling-interval": "영구 RPC 명령 응답을 가져오기 위한 폴링 간격 (ms)", "common-settings": "일반 설정", "switch-title": "스위치 제목", @@ -8813,7 +12569,7 @@ "slide-toggle-label": "슬라이드 토글 레이블", "label-position": "레이블 위치", "label-position-before": "앞", - "label-position-after": "이후", + "label-position-after": "뒤", "slider-color": "슬라이더 색상", "slider-color-primary": "기본", "slider-color-accent": "강조", @@ -8827,7 +12583,7 @@ "button-label": "버튼 레이블", "device-attribute-scope": "장치 속성 범위", "server-attribute": "서버 속성", - "shared-attribute": "공유된 속성", + "shared-attribute": "공유 속성", "device-attribute-parameters": "장치 속성 매개변수", "is-one-way-command": "단방향 명령임", "rpc-method": "RPC 메서드", @@ -8860,16 +12616,16 @@ }, "control": { "map-controls": "지도 컨트롤", - "position": "범례 위치", + "position": "위치", "position-topleft": "왼쪽 상단", "position-topright": "오른쪽 상단", "position-bottomleft": "왼쪽 하단", "position-bottomright": "오른쪽 하단", - "zoom-actions": "확대/축소 작업", + "zoom-actions": "확대/축소 액션", "zoom-scroll": "스크롤", "zoom-double-click": "더블 클릭", "zoom-control-buttons": "컨트롤 버튼", - "scale": "눈금", + "scale": "축척", "scale-metric": "미터법", "scale-imperial": "야드파운드법", "switch-to-drag-mode-using-button": "버튼을 사용하여 드래그 모드로 전환" @@ -8884,15 +12640,15 @@ "no-trips-data-available": "사용 가능한 이동 데이터 없음" }, "map-action": { - "map-action-buttons": "지도 작업 버튼", + "map-action-buttons": "지도 액션 버튼", "label": "라벨", "icon": "아이콘", "color": "색상", - "action": "동작", + "action": "액션", "add-button": "버튼 추가", - "no-action-buttons-configured": "구성된 작업 버튼 없음", - "remove-action-button": "작업 버튼 제거", - "map-action-button": "지도 작업 버튼", + "no-action-buttons-configured": "구성된 액션 버튼 없음", + "remove-action-button": "액션 버튼 제거", + "map-action-button": "지도 액션 버튼", "button-requires": "버튼에 레이블 또는 아이콘이 필요합니다" }, "common": { @@ -8914,6 +12670,7 @@ "roadmap": "도로 지도", "satellite": "위성", "hybrid": "하이브리드", + "webgl-not-available": "선택한 지도 레이어를 표시하려면 그래픽 가속이 필요합니다. 브라우저 설정에서 '하드웨어 가속'을 활성화하거나 다른 레이어로 전환하세요.", "reference": { "reference-layer": "참조 레이어", "no-layer": "레이어 없음", @@ -8927,11 +12684,14 @@ "title": "OpenStreet", "mapnik": "Mapnik", "hot": "HOT", - "esri-street": "세계 거리 지도", - "esri-topo": "세계 지형도", - "esri-imagery": "세계 이미지", - "cartodb-positron": "포지트론", - "cartodb-dark-matter": "다크 매터" + "esri-street": "WorldStreetMap", + "esri-topo": "WorldTopoMap", + "esri-imagery": "WorldImagery" + }, + "carto": { + "title": "CARTO", + "positron": "Positron", + "dark-matter": "DarkMatter" }, "google": { "title": "Google", @@ -8943,19 +12703,30 @@ "here": { "title": "HERE", "normal-day": "일반 주간", - "normal-night": "일간 야간", + "normal-night": "일반 야간", "hybrid-day": "하이브리드 주간", "terrain-day": "지형 주간" }, "tencent": { "title": "Tencent", - "normal": "정상", + "normal": "일반", "satellite": "위성", "terrain": "지형" }, "custom": { "title": "사용자 지정", - "tile-url": "타일 URL" + "tile-url": "타일 URL", + "style-url": "스타일 URL", + "vector-tiles": "벡터 타일", + "vector-tiles-hint": "OpenFreeMap 또는 MapTiler 같은 제공업체의 스타일 URL을 사용할 때 활성화하세요.", + "attribution": "저작권 텍스트", + "attribution-hint": "지도 하단에 표시됩니다. 대부분의 타일 제공업체에서 필수입니다." + }, + "openfreemap": { + "title": "OpenFreeMap", + "liberty": "Liberty", + "bright": "Bright", + "positron": "Positron" } }, "credentials": { @@ -8966,7 +12737,7 @@ "overlays": { "overlays": "오버레이", "overlays-hint": "지도 엔티티에 대한 데이터 소스, 모양, 동작, 편집 옵션 및 그룹화 구성", - "trips": "여행", + "trips": "이동 경로", "markers": "마커", "polygons": "다각형", "circles": "원", @@ -8982,10 +12753,10 @@ "data-keys": "데이터 키", "add-datasource": "데이터소스 추가", "no-datasources": "구성된 데이터 소스 없음", - "remove-datasource": "데이터소스 삭제", + "remove-datasource": "데이터 소스 제거", "behavior": "동작", "on-click": "클릭 시", - "on-click-hint": "사용자가 지도 항목을 클릭할 때 호출되는 동작.", + "on-click-hint": "사용자가 지도 항목을 클릭할 때 호출되는 액션.", "groups": "그룹", "groups-hint": "오버레이에 할당된 그룹 이름 목록, 지도에서 가시성을 전환하는 데 사용됩니다.", "color": "색상", @@ -9012,24 +12783,24 @@ "tooltip-offset": "툴팁 오프셋", "tooltip-offset-horizontal": "가로", "tooltip-offset-vertical": "세로", - "tooltip-tag-actions": "태그 동작", - "add-tooltip-tag-action": "태그 동작 추가", - "edit-tooltip-tag-action": "태그 동작 편집", - "remove-tooltip-tag-action": "태그 동작 제거", + "tooltip-tag-actions": "태그 액션", + "add-tooltip-tag-action": "태그 액션 추가", + "edit-tooltip-tag-action": "태그 액션 편집", + "remove-tooltip-tag-action": "태그 액션 제거", "action-add": "추가", "action-edit": "수정", "action-move": "이동", "action-remove": "제거", - "edit-instruments": "계기", + "edit-instruments": "편집 도구", "persist-location-attribute-scope": "위치를 저장할 속성의 범위", "enable-snapping": "정밀 그리기를 위해 다른 정점에 스냅 활성화", "enable-snapping-hint": "그리기를 더 쉽고 정확하게 만들기 위해 새 포인트를 기존 모양에 자동으로 정렬합니다.", "drag-drop-mode": "드래그 앤 드롭 모드", "trip": { - "no-trips": "구성된 여행 없음", - "add-trip": "여행 추가", - "trip-configuration": "여행 구성", - "remove-trip": "여행 제거" + "no-trips": "구성된 이동 경로 없음", + "add-trip": "이동 경로 추가", + "trip-configuration": "이동 경로 구성", + "remove-trip": "이동 경로 제거" }, "marker": { "marker": "마커", @@ -9090,18 +12861,18 @@ }, "path": { "path": "경로", - "path-decorator": "경로 장식", - "decorator-symbol": "장식 기호", + "path-decorator": "경로 데코레이터", + "decorator-symbol": "데코레이터 기호", "decorator-symbol-arrow-head": "화살표", "decorator-symbol-dash": "대시", - "decorator-arrangement": "장식 배열", + "decorator-arrangement": "데코레이터 배열", "decorator-offset": "시작", "decorator-end-offset": "끝", "decorator-repeat": "반복" }, "points": { - "points": "지점", - "point-tooltip": "지점 툴팁" + "points": "포인트", + "point-tooltip": "포인트 툴팁" }, "shape": { "fill": "채우기", @@ -9118,7 +12889,7 @@ "preserve-aspect-ratio": "가로세로 비율 유지", "opacity": "불투명도", "angle": "회전 각도", - "scale": "눈금", + "scale": "배율", "fill-image-function": "모양 채우기 이미지 함수", "fill-images": "모양 채우기 이미지", "stripe-pattern": "줄무늬 패턴", @@ -9230,7 +13001,7 @@ "map-provider-here": "HERE 지도", "map-provider-image": "이미지 지도", "map-provider-tencent": "Tencent 지도", - "openstreet-provider": "OpenStreet 지도 공급자", + "openstreet-provider": "OpenStreet 지도 제공자", "openstreet-provider-mapnik": "OpenStreetMap.Mapnik (기본)", "openstreet-provider-hot": "OpenStreetMap.HOT", "openstreet-provider-esri-street": "Esri.WorldStreetMap", @@ -9238,9 +13009,9 @@ "openstreet-provider-esri-imagery": "Esri.WorldImagery", "openstreet-provider-cartodb-positron": "CartoDB.Positron", "openstreet-provider-cartodb-dark-matter": "CartoDB.DarkMatter", - "use-custom-provider": "사용자 지정 공급자 사용", - "custom-provider-tile-url": "사용자 지정 공급자 타일 URL", - "google-maps-api-key": "Google 지도 API 키", + "use-custom-provider": "사용자 지정 제공자 사용", + "custom-provider-tile-url": "사용자 지정 제공자 타일 URL", + "google-maps-api-key": "Google Maps API 키", "default-map-type": "기본 지도 유형", "google-map-type-roadmap": "도로 지도", "google-map-type-satelite": "위성", @@ -9252,11 +13023,8 @@ "here-map-hybrid-day": "HERE.hybridDay", "here-map-terrain-day": "HERE.terrainDay", "credentials": "자격 증명", - "here-app-id": "HERE 앱 ID", - "here-app-code": "HERE 앱 코드", "here-api-key": "HERE API 키", - "here-use-new-version-api-3": "API 버전 3 사용", - "tencent-maps-api-key": "Tencent 지도 API 키", + "tencent-maps-api-key": "Tencent Maps API 키", "tencent-map-type-roadmap": "도로 지도", "tencent-map-type-satelite": "위성", "tencent-map-type-hybrid": "하이브리드", @@ -9289,7 +13057,7 @@ "label-function": "레이블 함수", "tooltip": "툴팁", "show-tooltip": "툴팁 표시", - "show-tooltip-action": "툴팁 표시 작업", + "show-tooltip-action": "툴팁 표시 방식", "show-tooltip-action-click": "클릭 시 툴팁 표시 (기본)", "show-tooltip-action-hover": "호버 시 툴팁 표시", "auto-close-tooltips": "툴팁 자동 닫기", @@ -9384,9 +13152,9 @@ "path-color": "경로 색상", "use-path-color-function": "경로 색상 함수 사용", "path-color-function": "경로 색상 함수", - "path-decorator": "경로 장식", + "path-decorator": "경로 데코레이터", "use-path-decorator": "경로 데코레이터 사용", - "decorator-symbol": "장식 기호", + "decorator-symbol": "데코레이터 기호", "decorator-symbol-arrow-head": "화살표", "decorator-symbol-dash": "대시", "decorator-symbol-size": "데코레이터 기호 크기 (px)", @@ -9396,13 +13164,13 @@ "end-decorator-offset": "종료 데코레이터 오프셋", "decorator-repeat": "데코레이터 반복", "points-settings": "포인트 설정", - "show-points": "지점 표시", + "show-points": "포인트 표시", "point-color": "포인트 색상", "point-size": "포인트 크기 (px)", "use-point-color-function": "포인트 색상 함수 사용", "point-color-function": "포인트 색상 함수", "use-point-as-anchor": "포인트를 앵커로 사용", - "point-as-anchor-function": "포인트를 앵커로 사용 함수", + "point-as-anchor-function": "포인트 앵커 함수", "independent-point-tooltip": "독립 포인트 툴팁", "clustering-markers": "클러스터링 마커", "use-icon-create-function": "마커 색상 함수 사용", @@ -9431,8 +13199,8 @@ "label": "라벨", "icon": "아이콘", "switch-color": "스위치 색상", - "on": "켜기", - "off": "끄기", + "on": "켜짐", + "off": "꺼짐", "disabled": "비활성화됨", "tumbler-color": "텀블러 색상", "on-label": "켜짐 레이블", @@ -9442,9 +13210,9 @@ "slider": { "behavior": "동작", "initial-value": "초기 값", - "initial-value-hint": "슬라이더의 초기 값을 가져오는 작업입니다.", + "initial-value-hint": "슬라이더의 초기 값을 가져오는 액션입니다.", "on-value-change": "값 변경 시", - "on-value-change-hint": "슬라이더 값이 변경될 때 트리거되는 작업입니다.", + "on-value-change-hint": "슬라이더 값이 변경될 때 트리거되는 액션입니다.", "layout": "레이아웃", "layout-default": "기본값", "layout-extended": "확장", @@ -9471,7 +13239,7 @@ "layout-centered": "중앙 정렬", "layout-simplified": "간소화", "layout-horizontal": "가로", - "layout-horizontal-reversed": "수평 반전", + "layout-horizontal-reversed": "가로 반전", "label": "라벨", "icon": "아이콘", "value": "값", @@ -9520,7 +13288,7 @@ "v-cylinder": "수직 원통", "v-capsule": "수직 캡슐", "rectangle": "사각형", - "h-oval": "수평 타원", + "h-oval": "수평 타원형", "h-ellipse": "수평 타원", "h-dish-ends": "수평 접시 끝", "h-cylinder": "수평 원통", @@ -9541,7 +13309,7 @@ "chart": "차트", "values": "값", "value-appearance": "값 외관", - "position": "범례 위치", + "position": "위치", "position-center": "중앙", "position-right-top": "오른쪽 상단", "position-right-bottom": "오른쪽 하단", @@ -9554,7 +13322,7 @@ "add-value": "값 추가", "remove-value": "값 제거", "no-values": "구성된 값 없음", - "aggregation": "집합", + "aggregation": "집계", "aggregated-value-card-style": "집계 값 카드 스타일", "auto-scale": "자동 크기 조정" }, @@ -9615,18 +13383,19 @@ "icon": "아이콘", "icon-background": "아이콘 배경", "value": "값", - "chevron": "갈매기", + "chevron": "꺾쇠 아이콘", "auto-scale": "자동 크기 조정" }, "table": { "common-table-settings": "일반 테이블 설정", "enable-search": "검색 활성화", "enable-sticky-header": "항상 헤더 표시", - "enable-sticky-action": "항상 동작 열 표시", - "hidden-cell-button-display-mode": "숨겨진 셀 버튼 동작 표시 모드", - "show-empty-space-hidden-action": "숨겨진 셀 버튼 동작 대신 빈 공간 표시", - "dont-reserve-space-hidden-action": "숨겨진 동작 버튼에 공간 예약 안 함", + "enable-sticky-action": "항상 액션 열 표시", + "hidden-cell-button-display-mode": "숨겨진 셀 버튼 액션 표시 모드", + "show-empty-space-hidden-action": "숨겨진 셀 버튼 액션 대신 빈 공간 표시", + "dont-reserve-space-hidden-action": "숨겨진 액션 버튼에 공간 예약 안 함", "display-timestamp": "타임스탬프", + "include-timestamp-in-export": "내보내기에 타임스탬프 열 포함", "timestamp-column-name": "타임스탬프", "display-pagination": "페이지 매김 표시", "default-page-size": "기본 페이지 크기", @@ -9645,6 +13414,7 @@ "cell-style-function": "셀 스타일 함수", "cell-content": "셀 내용", "use-cell-content-function": "셀 내용 함수 사용", + "use-cell-content-function-on-export": "내보낼 때 셀 내용 함수 사용", "cell-content-function": "셀 내용 함수", "show-latest-data-column": "최신 데이터 열 표시", "latest-data-column-order": "최신 데이터 열 순서", @@ -9663,17 +13433,30 @@ "column-visibility-hidden": "숨김", "column-visibility-hidden-mobile": "모바일 모드에서 숨김", "column-selection-to-display": "'표시할 열'에서 열 선택", - "column-selection-to-display-enabled": "사용", + "column-selection-to-display-enabled": "활성화됨", "column-selection-to-display-disabled": "비활성화됨", + "column-export-option": "내보내기에 열 포함", + "column-export-option-always": "항상", + "column-export-option-only-visible": "열이 표시된 경우에만", + "column-export-option-never": "안 함", "alarms-table-title": "알람 테이블 제목", "enable-alarms-selection": "알람 선택 활성화", "enable-alarms-search": "알람 검색 활성화", "enable-alarm-filter": "알람 필터 활성화", "display-alarm-details": "알람 세부 정보 표시", "allow-alarms-ack": "알람 확인 허용", - "allow-alarms-clear": "알람 지우기 허용", + "allow-alarms-clear": "알람 해제 허용", "display-alarm-activity": "알람 활동 표시", "allow-alarms-assign": "알람 할당 허용", + "blob-entities-table-title": "Blob 엔티티 테이블 제목", + "display-created-time": "생성 일시 열 표시", + "display-type": "유형 열 표시", + "display-customer": "고객 열 표시", + "display-columns": "열 표시", + "no-data-display-message": "\"표시할 데이터 없음\" 대체 메시지", + "force-default-blob-entity-type": "Blob 엔티티 유형 기본값 강제 적용", + "scheduler-events-table-title": "스케줄러 이벤트 테이블 제목", + "force-default-event-type": "이벤트 유형 기본값 강제 적용", "columns": "열", "column-settings": "열 설정", "remove-column": "열 제거", @@ -9688,7 +13471,7 @@ "timeseries-column-error": "최소 하나의 시계열 열을 지정해야 합니다.", "alarm-column-error": "최소 하나의 알람 열을 지정해야 합니다.", "table-tabs": "테이블 탭", - "show-cell-actions-menu-mobile": "모바일 모드에서 셀 동작 드롭다운 메뉴 표시", + "show-cell-actions-menu-mobile": "모바일 모드에서 셀 액션 드롭다운 메뉴 표시", "disable-sorting": "정렬 비활성화", "sort-by": "탭 정렬 기준", "sort-timestamp-option": "생성 일시" @@ -9715,8 +13498,8 @@ "shape-circle": "원", "color": "색상", "line": "선", - "points": "지점", - "points-label": "지점 레이블", + "points": "포인트", + "points-label": "포인트 레이블", "radar-axis": "레이더 축", "axis-label": "축 레이블", "ticks-label": "눈금 레이블", @@ -9730,6 +13513,8 @@ "chart": "차트", "chart-style": "차트 스타일", "data-zoom": "데이터 확대/축소", + "data-zoom-update-timewindow": "확대/축소 시 시간 창 업데이트", + "reset-timewindow": "원래 시간 창으로 복귀", "stack-mode": "스택 모드", "stack-mode-hint": "차트에 시리즈를 스택합니다. 동일한 단위의 시리즈는 서로 위에 배치됩니다.", "axes": "축", @@ -9738,7 +13523,7 @@ "line-width": "선 너비", "type-line": "선", "type-bar": "막대", - "type-point": "지점", + "type-point": "포인트", "no-aggregation-bar-width-strategy": "비집계 데이터의 막대 너비 전략", "no-aggregation-bar-width-strategy-group": "그룹", "no-aggregation-bar-width-strategy-separate": "분리", @@ -9800,8 +13585,8 @@ "add-state": "상태 추가", "type-constant": "상수", "type-range": "범위", - "from": "부터", - "to": "까지", + "from": "시작", + "to": "종료", "remove-state": "상태 제거" }, "grid": { @@ -9818,7 +13603,7 @@ "remove-y-axis": "Y축 제거", "id": "ID", "label": "라벨", - "position": "범례 위치", + "position": "위치", "position-left": "왼쪽", "position-right": "오른쪽", "position-top": "상단", @@ -9860,11 +13645,11 @@ "smooth-line": "부드러운 선" }, "point": { - "points": "지점", - "show-points": "지점 표시", - "point-label": "지점 레이블", - "point-label-hint": "시리즈 지점 위에 값이 있는 레이블을 표시합니다.", - "point-label-background": "지점 레이블 배경", + "points": "포인트", + "show-points": "포인트 표시", + "point-label": "포인트 레이블", + "point-label-hint": "시리즈 포인트 위에 값이 있는 레이블을 표시합니다.", + "point-label-background": "포인트 레이블 배경", "point-shape": "포인트 모양", "point-size": "포인트 크기" } @@ -9891,6 +13676,21 @@ "ticks-labels-type": "눈금 레이블 유형", "arrow-color": "화살표 색상" }, + "scheduler": { + "enabled-scheduler-event-views": "활성화된 스케줄러 이벤트 보기", + "enabled-scheduler-event-views-both": "모두", + "enabled-scheduler-event-views-list": "목록 보기만", + "enabled-scheduler-event-views-calendar": "캘린더 보기만", + "display-name": "표시 이름", + "type-name": "유형 이름", + "display-originator-select": "발신자 엔티티 선택 표시", + "display-message-type-select": "메시지 유형 선택 표시", + "display-metadata-table": "메시지 메타데이터 테이블 표시", + "configuration-html-template": "구성 HTML 템플릿", + "custom-event-types": "사용자 지정 이벤트 유형", + "no-custom-event-types": "구성된 사용자 지정 이벤트 유형이 없습니다", + "add-custom-event-type": "사용자 지정 이벤트 유형 추가" + }, "value-source": { "value-source": "값 소스", "predefined-value": "상수", @@ -9907,15 +13707,15 @@ }, "rpc-state": { "initial-state": "초기 상태", - "initial-state-hint": "컴포넌트의 초기 상태(켜짐/꺼짐)를 가져오는 작업입니다.", + "initial-state-hint": "컴포넌트의 초기 상태(켜짐/꺼짐)를 가져오는 액션입니다.", "disabled-state": "비활성화 상태", "disabled-state-hint": "구성 요소가 비활성화되는 조건을 구성합니다.", "turn-on": "'켜짐'으로 전환", - "turn-on-hint": "슬라이더가 '켜짐'으로 전환될 때 트리거되는 작업입니다.", + "turn-on-hint": "슬라이더가 '켜짐'으로 전환될 때 트리거되는 액션입니다.", "turn-off": "'꺼짐'으로 전환", - "turn-off-hint": "슬라이더가 '꺼짐'으로 전환될 때 트리거되는 작업입니다.", - "on": "켜기", - "off": "끄기", + "turn-off-hint": "슬라이더가 '꺼짐'으로 전환될 때 트리거되는 액션입니다.", + "on": "켜짐", + "off": "꺼짐", "disabled": "비활성화됨" }, "value-action": { @@ -9926,30 +13726,30 @@ "get-time-series": "시계열 가져오기", "get-alarm-status": "알람 상태 가져오기", "get-dashboard-state": "대시보드 상태 ID 가져오기", - "get-dashboard-state-object": "대시보드 상태 엔티티 가져오기", + "get-dashboard-state-object": "대시보드 상태 객체 가져오기", "add-time-series": "시계열 추가", "execute-rpc-text": "RPC 메서드 '{{methodName}}' 실행", "get-time-series-text": "시계열 '{{key}}' 사용", "get-attribute-text": "속성 '{{key}}' 사용", "get-alarm-status-text": "알람 상태 사용", "get-dashboard-state-text": "대시보드 상태 사용", - "get-dashboard-state-object-text": "대시보드 상태 엔티티 사용", + "get-dashboard-state-object-text": "대시보드 상태 객체 사용", "when-dashboard-state-is-text": "대시보드 상태 ID가 '{{state}}'인 경우", "when-dashboard-state-function-is-text": "f(대시보드 상태 ID)가 '{{state}}'인 경우", - "when-dashboard-state-object-function-is-text": "f(대시보드 상태 엔티티)가 '{{state}}'인 경우", + "when-dashboard-state-object-function-is-text": "f(대시보드 상태 객체)가 '{{state}}'인 경우", "set-attribute-to-value-text": "'{{key}}' 속성을 다음으로 설정: {{value}}", "add-time-series-value-text": "'{{key}}' 시계열 값 추가: {{value}}", "set-attribute-text": "'{{key}}' 속성 설정", "add-time-series-text": "'{{key}}' 시계열 추가", - "action": "동작", + "action": "액션", "value": "값", "init-value-hint": "장치가 데이터를 보낼 때까지 설정될 값입니다.", - "method": "방법", + "method": "메서드", "method-name-required": "메서드 이름이 필요합니다.", - "request-timeout-ms": "RPC 요청 시간 제한 (ms)", - "request-timeout-required": "요청 시간 제한이 필요합니다.", - "min-request-timeout-error": "요청 시간 제한 값은 5000ms (5초) 이상이어야 합니다.", - "request-persistent": "RPC 요청 영구", + "request-timeout-ms": "RPC 요청 제한 시간 (ms)", + "request-timeout-required": "요청 제한 시간이 필요합니다.", + "min-request-timeout-error": "요청 제한 시간 값은 5000ms (5초) 이상이어야 합니다.", + "request-persistent": "영구 RPC 요청", "persistent-polling-interval": "영구 폴링 간격 (ms)", "persistent-polling-interval-hint": "영구 RPC 명령 응답을 가져오기 위한 폴링 간격 (ms)", "persistent-polling-interval-required": "영구 폴링 간격이 필요합니다.", @@ -9959,7 +13759,7 @@ "attribute-key-required": "속성 키를 입력하세요.", "time-series-key": "시계열 키", "time-series-key-required": "시계열 키가 필요합니다.", - "action-result-converter": "작업 결과 변환기", + "action-result-converter": "액션 결과 변환기", "converter-none": "없음", "converter-function": "함수", "converter-constant": "상수", @@ -9968,9 +13768,10 @@ "state-when-result-is": "결과가 다음인 경우 '{{state}}'", "parameters": "파라미터", "convert-value-function": "값 변환 함수", + "rpc-params-function": "RPC 매개변수 함수", "error": { "target-entity-is-not-set": "대상 엔티티가 설정되지 않았습니다!", - "failed-to-perform-action": "{{ actionLabel }} 작업을 수행하지 못했습니다.", + "failed-to-perform-action": "{{ actionLabel }} 액션을 수행하지 못했습니다.", "invalid-attribute-scope": "{{scope}} 속성 범위는 {{entityType}} 엔티티에서 지원되지 않습니다." } }, @@ -9980,11 +13781,11 @@ "size": "크기", "relative-font-size": "상대 글꼴 크기 (백분율)", "font-style": "스타일", - "font-style-normal": "정상", + "font-style-normal": "보통", "font-style-italic": "이탤릭", "font-style-oblique": "기울임", "font-weight": "두께", - "font-weight-normal": "정상", + "font-weight-normal": "보통", "font-weight-bold": "굵게", "font-weight-bolder": "더 굵게", "font-weight-lighter": "더 얇게", @@ -9994,6 +13795,20 @@ "line-height": "줄 높이", "auto": "자동" }, + "alignment": { + "horizontal-alignment": "가로 정렬", + "vertical-alignment": "세로 정렬", + "alignment": "정렬", + "horizontal": "가로", + "vertical": "세로", + "align-left": "왼쪽 정렬", + "align-center": "가운데 정렬", + "align-right": "오른쪽 정렬", + "justify": "양쪽 정렬", + "align-top": "상단 정렬", + "align-middle": "중간 정렬", + "align-bottom": "하단 정렬" + }, "home": { "no-data-available": "사용 가능한 데이터 없음" }, @@ -10039,17 +13854,21 @@ "no-links-matching": "'{{name}}'과(와) 일치하는 링크가 없습니다.", "columns": "열" }, + "iot-hub": { + "title-text": "더 빠르게 구축하세요. 커뮤니티 검증 리소스 제공:" + }, "recent-dashboards": { "title": "대시보드", - "last": "최근 본 항목", + "last": "최근 조회", "starred": "즐겨찾기", "name": "이름", - "last-viewed": "최근 본 항목", + "last-viewed": "최근 조회", "no-last-viewed-dashboards": "아직 최근 본 대시보드 없음" }, "configured-features": { "title": "구성된 기능", "info": "구성이 필요한 기능 상태", + "white-labeling-feature": "화이트 라벨링", "email-feature": "이메일", "sms-feature": "SMS", "slack-feature": "Slack", @@ -10068,6 +13887,20 @@ "upgrade": "업그레이드", "version-is-up-to-date": "버전이 최신 상태입니다" }, + "license-info": { + "title": "라이선스 정보", + "view-all": "모두 보기", + "license-portal": "라이선스 포털", + "devices-info": "장치 {count} / { max, plural, =0 {∞} other {#} }", + "assets-info": "자산 {count} / { max, plural, =0 {∞} other {#} }", + "edges-info": "Edge {count} / { max, plural, =0 {∞} other {#} }", + "dashboards-info": "대시보드 {count} / { max, plural, =0 {∞} other {#} }", + "integrations-info": "통합 {count} / { max, plural, =0 {∞} other {#} }", + "community-support": "커뮤니티 지원", + "white-labeling": "화이트 라벨링", + "unlimited-datapoints-and-messages": "무제한 데이터 포인트 및 메시지", + "unlimited-api-calls": "무제한 API 호출" + }, "usage-info": { "title": "사용량", "entities": "엔티티", @@ -10081,13 +13914,12 @@ "profiles": "프로필", "advanced-features": "고급 기능", "notification-center": "알림 센터", - "api-usage": "Api 사용량", + "api-usage": "API 사용량", "customers": "고객", "customers-hierarchy": "고객 계층 구조", "roles-and-permissions": "역할 및 권한", "groups": "그룹", "integrations": "통합", - "solution-templates": "솔루션 템플릿", "scheduler": "스케줄러", "white-labeling": "화이트 라벨링" }, @@ -10098,7 +13930,7 @@ "total": "합계" }, "alarms": { - "critical": "심각한", + "critical": "심각", "assigned-to-me": "나에게 할당됨", "total": "합계" }, @@ -10115,27 +13947,32 @@ }, "step2": { "title": "기능 구성: 메일 서버", - "content": "

메일 서버 구성은 사용자 활성화, 비밀번호 복구 및 알림 전달에 필수적입니다.

방법은 문서를 참조하세요:

", + "content": "

메일 서버 구성은 사용자 활성화, 비밀번호 복구 및 알람 알림 전달에 필수적입니다.

방법은 문서를 참조하세요:

", "how-to-configure-mail-server": "메일 서버 구성 방법" }, "step3": { "title": "기능 구성: SMS 공급자", - "content": "

SMS 공급자를 구성하여 고객에게 SMS로 알림을 보냅니다.

방법은 문서를 참조하세요:

", + "content": "

SMS 공급자를 구성하여 고객에게 알람을 SMS로 알립니다.

방법은 문서를 참조하세요:

", "how-to-configure-sms-provider": "SMS 공급자 구성 방법" }, "step4": { + "title": "기능 구성: 화이트 라벨링", + "content": "

코딩 없이, 서비스를 재시작하지 않고도 회사 또는 제품의 로고와 색상 구성표를 손쉽게 사용자 지정하세요.

방법은 문서를 참조하세요:

", + "how-to-configure-white-labeling": "화이트 라벨링 구성 방법" + }, + "step5": { "title": "기능 구성: 2FA", "content": "

2단계 인증으로 플랫폼 계정의 보안을 강화하세요.

방법은 문서를 참조하세요:

", "how-to-configure-2fa": "2FA 구성 방법" }, - "step5": { + "step6": { "title": "기능 구성: OAuth 2", "content": "

OAuth 2.0을 통한 Single Sign-On 기능으로 테넌트 및 고객 사용자의 로그인을 간소화하세요.

방법은 문서를 참조하세요:

", "how-to-configure-oauth2": "OAuth 2 구성 방법" }, - "step6": { + "step7": { "title": "기능 구성: Slack", - "content": "

설정한 알림 규칙에 따라 Slack을 통해 테넌트 및 고객 사용자에게 알림을 배포합니다.

방법은 문서를 참조하세요:

", + "content": "

설정한 알림 규칙에 따라 Slack을 통해 테넌트 및 고객 사용자에게 알림을 전송하세요.

방법은 문서를 참조하세요:

", "how-to-configure-notifications": "Slack 구성 방법" } }, @@ -10169,25 +14006,37 @@ "step4": { "title": "알람 규칙 구성", "alarm-rules": "알람 규칙", - "content": "

온도가 25°C에 도달하면 알림을 발생시켜 보겠습니다. 방법은 문서를 참조하세요:

", - "how-to-configure-alarm-rules": "알림 규칙 구성 방법" + "content": "

온도가 25°C에 도달하면 알람을 발생시켜 보겠습니다. 방법은 문서를 참조하세요:

", + "how-to-configure-alarm-rules": "알람 규칙 구성 방법" }, "step5": { "title": "알람 생성", - "content-before": "

알림을 트리거하려면 26°C 이상의 새 텔레메트리 값을 보냅니다.

", + "content-before": "

알람을 트리거하려면 26°C 이상의 새 텔레메트리 값을 보내세요.

", "replace-access-token": "$ACCESS_TOKEN을 장치의 토큰으로 교체:", "content-after": "

방법은 문서를 참조하세요:

", - "how-to-create-alarm": "알림 생성 방법" + "how-to-create-alarm": "알람 생성 방법" }, "step6": { - "title": "고객 생성 및 대시보드 할당", + "title": "고객 생성 및 대시보드 공유", "content": "

최종 사용자 대시보드를 생성하면 고객 사용자는 자신의 장치만 볼 수 있으며 다른 고객의 데이터는 숨겨집니다.

방법은 문서를 참조하세요:

", - "how-to-create-customer-and-assign-dashboard": "고객 생성 및 대시보드 할당 방법" + "how-to-create-customer-and-share-dashboard": "고객 생성 및 대시보드 공유 방법" } } }, + "html-container": { + "java-script": "JavaScript", + "js-function": "JavaScript 함수", + "html": "HTML", + "angular-html-template": "Angular HTML 템플릿", + "css": "CSS", + "container-type": "컨테이너 유형", + "type-plain": "일반 HTML", + "type-angular": "Angular", + "resources": "리소스", + "no-resources": "구성된 리소스가 없습니다" + }, "api-usage": { - "api-usage": "Api 사용량", + "api-usage": "API 사용량", "label": "라벨", "state-name": "상태 이름", "status": "상태", @@ -10201,24 +14050,234 @@ "delete-key": "키 삭제", "target-dashboard-state": "대상 대시보드 상태", "go-to-main-state": "기본 보기로 이동" - }, - "unit-conversion": { - "hint": "저장된 값의 단위입니다. 변환할 원본 단위입니다. 소스 데이터에서 사용하는 기호를 입력하세요 (예: m, km, ft, in)." } }, "color": { - "color": "색상" + "color": "색상", + "color-picker": "색상 선택기", + "primary-colors": "주 색상", + "accent-colors": "강조 색상", + "no-color-selected": "선택된 색상 없음", + "default": "기본값" }, "icon": { "icon": "아이콘", "icons": "아이콘", "custom": "사용자 지정", - "select-icon": "선택된 아이콘", - "material-icons": "머티리얼 아이콘", + "select-icon": "아이콘 선택", + "material-icons": "Material icons", "show-all": "모든 아이콘 보기", "search-icon": "아이콘 검색", "no-icons-found": "'{{iconSearch}}'에 대한 아이콘을 찾을 수 없음" }, + "subscription": { + "entity-limit-text": "하지만 구독 플랜을 업그레이드하여 한도를 늘릴 수 있습니다.", + "upgrade-your-plan": "구독 플랜 업그레이드", + "license-management": "라이선스 관리", + "perpetual-license": "영구 라이선스", + "subscription": "구독", + "perpetual": "영구", + "manage-license": "라이선스 관리", + "updated-ago": "{{ago}} 업데이트됨", + "usage-and-limits": "사용량 및 한도", + "add-ons": "애드온", + "included": "포함됨", + "not-included": "포함되지 않음", + "add-to-license": "라이선스에 추가", + "change-key-title": "다른 라이선스로 변경하시겠습니까?", + "change-key-text": "다른 라이선스로 변경하거나 오프라인 키로 에어갭 배포를 활성화하세요.", + "enter-key": "키 입력", + "enter-license-key": "라이선스 키 입력", + "applying-key-text": "키를 적용하면 이 배포의 라이선스 범위가 변경됩니다.", + "keys-issued-text": "키는 {{licensePortal}}에서 발급됩니다. 아무 기기에서나 로그인한 후 그곳에서 키를 복사하세요.", + "check-key": "키 확인", + "checking-key": "이 키를 확인하는 중...", + "current": "현재", + "this-key": "이 키", + "replace-license": "라이선스 교체", + "new-license-applied": "새 라이선스 키가 적용되었습니다.", + "updates-and-support-until": "{{date}}까지 업데이트 및 지원 제공.", + "next-charge-and-due-date": "{{date}}에 다음 청구 금액 {{total}}, 납부 기한 {{dueDate}}.", + "refresh-license-info": "라이선스 정보 새로 고침", + "non-production-mode": "개발 모드 — 프로덕션 외 용도 전용", + "non-production-mode-details": "장치, 자산 및 Edge 할당량은 무제한이며 화이트 라벨링은 사용할 수 없습니다. 이 인스턴스를 프로덕션 환경에서 사용하지 마세요.", + "offline-mode": "오프라인 모드", + "devices": "장치", + "number-of-devices": "{ count, plural, =1 {장치 1개} other {장치 #개} }", + "unlimited-devices": "장치 무제한", + "add-devices": "장치 추가", + "device-limit-warn": "장치 수가 한도의 {{ percent }}에 도달했습니다.", + "device-limit-critical": "장치 수가 한도에 도달했습니다. 한도가 상향될 때까지 새 장치가 등록되지 않습니다.", + "assets": "자산", + "add-assets": "자산 추가", + "prod-instances": "프로덕션 인스턴스", + "add-instances": "인스턴스 추가", + "ai-credits": "AI 크레딧", + "add-credits": "크레딧 추가", + "white-labeling": "화이트 라벨링", + "edge": "Edge 컴퓨팅", + "edges": "Edge", + "add-edges": "Edge 추가", + "agents": "Remote Agent", + "add-agents": "Remote Agent 추가", + "trendz": "Trendz Analytics", + "name-addon": "{{name}} 애드온", + "add-addon": "{ type, select, PROFESSIONAL_UPGRADE { {name} 추가 } other { {name} 추가 } }", + "add-addon-subscription": "{{name}}은(는) 유료 애드온이며 월 요금이 늘어납니다.", + "add-addon-perpetual": "{{name}}은(는) 유료 애드온이며 이 라이선스용으로 한 번만 구매합니다.", + "upgrade-plan-devices": "{{plan}}에서는 장치 한도가 플랜에 포함됩니다.", + "upgrade-plan-instances": "{{plan}}에서는 프로덕션 인스턴스 한도가 플랜에 포함됩니다.", + "upgrade-plan-credits": "{{plan}}에서는 월간 AI 크레딧이 플랜에 포함됩니다.", + "upgrade-plan-edges": "{{plan}}에서는 Edge 한도가 플랜에 포함됩니다.", + "upgrade-plan-agents": "{{plan}}에서는 Remote Agent 한도가 플랜에 포함됩니다.", + "upgrade-plan-white-labeling": "모든 유료 플랜에 화이트 라벨링이 포함됩니다.", + "upgrade-plan-addon": "{{name}}은(는) 유료 애드온입니다. 애드온을 사용하려면 유료 플랜이 필요합니다.", + "ce-grant-case": "어떤 항목을 구매하든 Community Grant가 영구 상용 라이선스로 전환됩니다. Community Grant에 이미 포함된 항목이 아니라 추가한 항목에 대해서만 비용을 지불합니다.", + "pe-pack-case": "Professional Pack은 일회성 구매이며 모든 Community Grant 보유자에게 동일한 가격이 적용됩니다.", + "ce-grant-white-label": "이미 화이트 라벨링한 항목은 Community Grant에 따라 계속 무료로 유지됩니다.", + "open-portal-manage-license": "라이선스 포털에서 이 배포의 라이선스를 엽니다. 로그인이 필요할 수 있습니다. 돌아오면 업데이트를 누르세요.", + "open-portal-upgrade-plan": "라이선스 포털을 열고 플랜을 추천합니다. 로그인이 필요할 수 있습니다. 돌아오면 업데이트를 누르세요.", + "open-portal": "포털 열기", + "add-license-item-title": "{{ item }}을(를) {{ action }}하려면 ThingsBoard 라이선스 포털에서 {{ package }}을(를) 업데이트해야 합니다.", + "action-add": "추가", + "action-enable": "활성화", + "package-subscription": "구독", + "package-perpetual": "라이선스 패키지", + "go-to-license-portal": "라이선스 포털로 이동", + "add-license-item-step-first": "라이선스 포털로 이동합니다.", + "add-license-item-step-second": "로그인하면 해당 {{ package }} 세부 정보가 자동으로 열립니다.", + "add-license-item-step-third": "{{ package }}에 \"{{ item }}\"을(를) 추가하세요.", + "add-license-item-step-fourth": "완료되면 아래의 \"라이선스 정보 새로 고침\"을 클릭하여 {{ package }}을(를) 즉시 새로 고치세요.", + "request-feature-sysadmin-text": "시스템 관리자입니까?", + "login-here": "여기에서 로그인", + "to-get-addon": "후 애드온을 받으세요.", + "request-edge-title": "네트워크가 끊겨도 사이트를 계속 운영하세요", + "request-edge-text": "Edge 인스턴스를 배포하여 인프라 전반에 처리와 분석을 분산하세요. 주요 기능:", + "edge-card-autonomy-title": "자율성", + "edge-card-autonomy-text": "네트워크 장애 시에도 즉각적인 로컬 작동을 보장합니다", + "edge-card-filtering-title": "필터링", + "edge-card-filtering-text": "검증된 유용한 데이터만 전송하여 클라우드 트래픽과 비용을 줄입니다", + "edge-card-latency-title": "지연 시간", + "edge-card-latency-text": "데이터를 로컬에서 처리하여 실시간 제어와 빠른 응답을 지원합니다", + "edge-card-security-title": "보안", + "edge-card-security-text": "OT 장치와 퍼블릭 클라우드 사이에 안전한 버퍼를 제공합니다", + "edge-card-efficiency-title": "효율성", + "edge-card-efficiency-text": "데이터를 소스 가까이에서 정규화하고 집계하여 클라우드 워크로드를 줄입니다", + "request-edge-action-text": "Edge 관리는 애드온으로 제공됩니다. 활성화하려면 시스템 관리자에게 문의하세요.", + "request-access": "액세스 요청", + "requested": "요청됨", + "upgrade-plan": "플랜 업그레이드", + "learn-more": "자세한 정보", + "feature-request-sent-title": "{{addonName}}을(를) 활성화하도록 시스템 관리자에게 자동 요청을 보냈습니다", + "feature-request-sent-text": "관리자가 요청을 검토하고 설정을 업데이트할 때까지 잠시 기다려 주세요. 변경 사항을 보려면 이 페이지를 새로고침해야 할 수 있습니다.", + "request-trendz-title": "{{name}}(으)로 IoT 데이터 세트를 인사이트로 전환하고 의사 결정 프로세스를 간소화하세요", + "request-trendz-text": "텔레메트리 탐색, 로직 구축, 이상 감지, 예측 생성은 물론 원시 데이터를 명확하고 실행 가능한 인사이트로 전환할 수 있는 통합 AI 기반 작업 공간으로 강력한 노코드 IoT 분석을 활용하세요", + "request-trendz-action-text": "{{name}}은(는) 애드온으로 제공됩니다. 활성화하려면 시스템 관리자에게 문의하세요.", + "trendz-card-metric-explorer-title": "메트릭 탐색기", + "trendz-card-metric-explorer-text": "노코드 분석, 사용자 지정 메트릭, 즉각적인 시각적 인사이트로 텔레메트리를 심층 분석하세요", + "trendz-card-anomaly-title": "이상 감지", + "trendz-card-anomaly-text": "데이터의 비정상적인 동작을 자동으로 감지하세요", + "trendz-card-calculation-title": "계산 필드", + "trendz-card-calculation-text": "비즈니스 로직을 정의하고, 텔레메트리를 변환하고, 새 메트릭을 생성하세요", + "trendz-card-prediction-title": "예측 모델", + "trendz-card-prediction-text": "내장 ML 모델로 미래 값을 예측하고 추세를 감지하세요", + "trendz-card-views-title": "뷰", + "trendz-card-views-text": "팀과 고객을 위한 공유 가능한 분석 대시보드를 한곳에서 구축하세요.", + "trendz-card-ai-assistant-title": "AI 어시스턴트", + "trendz-card-ai-assistant-text": "자연어 AI로 로직을 생성하고, 수식을 다듬고, 메트릭 생성을 자동화하세요.", + "pe-pack": "Professional Pack", + "pe-pack-note": "통합, 스케줄러, 보고서 및 화이트 라벨링.", + "pe-pack-desc": "Community Grant를 전체 기능 세트로 확장합니다.", + "request-pe-pack": "전체 Professional Pack 요청", + "add-pe-pack": "전체 Professional Pack 추가", + "pe-pack-extend-ce": "Community Grant를 전체 기능 세트로 확장합니다.", + "sys-admin-pe-pack-note": "시스템 관리자이십니까? 로그인한 후 라이선스 관리에서 Professional Pack을 추가하세요.", + "pe-pack-requested": "시스템 관리자에게 Professional Pack을 요청했습니다.", + "white-labeling-promo": "설정 페이지에서 로고, 색상 및 제목을 설정하세요.", + "white-labeling-promo-try": "설정 페이지에서 로고, 색상, 제목을 설정합니다. 페이지를 열어 사용해 보세요.", + "integrations": "통합", + "integrations-promo": "LoRaWAN, MQTT, Kafka 및 기타 IoT 플랫폼에서 데이터를 가져옵니다.", + "scheduler": "스케줄러", + "scheduler-promo": "일정에 따라 업데이트를 실행하고 규칙 체인에 이벤트를 전송합니다.", + "reports": "보고서", + "reports-promo": "테이블, 차트와 자체 브랜딩으로 보고서를 만들고 일정에 따라 전송합니다." + }, + "platform-feature": { + "overview": "개요", + "white-labeling": { + "not-in-plan": "화이트 라벨링은 현재 플랜에 포함되어 있지 않습니다", + "not-in-ce-grant": "화이트 라벨링은 Community Grant에 포함되어 있지 않습니다.", + "add": "화이트 라벨링 추가", + "request": "화이트 라벨링 요청", + "offer-title": "나만의 브랜드, 로그인 화면, 메뉴, 레이블", + "offer-with-plan-lede": "화이트 라벨링은 Pilot 플랜 이상에서 제공됩니다. 여기에서 설정한 모든 항목이 로그인 페이지, 발송하는 메일, 고객이 사용하는 모든 페이지에서 ThingsBoard의 항목을 대체합니다.", + "offer-lede": "화이트 라벨링을 사용하면 여기에서 설정한 모든 항목이 로그인 페이지, 발송하는 메일, 고객이 사용하는 모든 페이지에서 ThingsBoard의 항목을 대체합니다.", + "pack-offer-lede": "화이트 라벨링은 Community Grant의 유료 애드온인 Professional Pack에 포함되어 있습니다. Professional Pack을 활성화하면 여기에서 설정한 모든 항목이 로그인 페이지, 발송하는 메일, 고객이 사용하는 모든 페이지에서 ThingsBoard의 항목을 대체합니다.", + "sys-admin-wl-note": "시스템 관리자의 경우 로그인한 후 라이선스 관리에서 화이트 라벨링을 추가하세요." + }, + "integrations": { + "not-in-ce-grant": "통합은 Community Grant에 포함되어 있지 않습니다.", + "pack-offer-title": "LoRaWAN, MQTT, Kafka 및 기타 IoT 플랫폼의 데이터 수집", + "pack-offer-lede": "통합은 Community Grant의 유료 애드온인 Professional Pack에 포함되어 있습니다. 각 통합은 LoRaWAN 네트워크 서버, MQTT 또는 Kafka 브로커, 기타 IoT 플랫폼에서 데이터를 읽어 들이며, 새 장치가 나타나면 자동으로 생성하고 전송된 데이터를 텔레메트리로 저장합니다.", + "overview": { + "brokers-and-platforms": "브로커 및 플랫폼", + "brokers-and-platforms-desc": "소스마다 하나의 통합을 UI에서 구성하고 모니터링합니다.", + "data-converters": "데이터 변환기", + "data-converters-desc": "스크립트로 장치 고유의 페이로드(LoRaWAN 코덱 포함)를 디코딩하며, 장치가 전송하는 내용은 변경하지 않습니다.", + "downlink": "다운링크", + "downlink-desc": "같은 연결을 통해 명령과 구성을 장치로 다시 보냅니다.", + "remote-integrations": "원격 통합", + "remote-integrations-desc": "현장에 있는 자체 호스트에서 실행하세요 — ThingsBoard와의 링크가 끊긴 동안에도 계속 버퍼링합니다." + }, + "dozen-protocols-brokers-and-platforms": "수십 가지 프로토콜, 브로커 및 플랫폼", + "browse-setup-guides-note": "설명서에서 설정 가이드를 살펴보세요." + }, + "scheduler": { + "not-in-ce-grant": "스케줄러는 Community Grant에 포함되어 있지 않습니다.", + "pack-offer-title": "일정에 따른 업데이트 실행 및 규칙 체인으로 이벤트 전송", + "pack-offer-lede": "스케줄러는 Community Grant의 유료 애드온인 Professional Pack에 포함되어 있습니다. 펌웨어 업데이트를 실행하고 규칙 체인으로 이벤트를 전송하세요 — 각 항목에는 시작 시간, 반복 규칙, 자체 시간대가 지정되며, 사용자 측에서 실행 중인 것이 있든 없든 플랫폼이 항목을 실행합니다.", + "overview": { + "repeats-and-timezones": "반복 및 시간대", + "repeats-and-timezones-desc": "한 번만, 매일 또는 선택한 요일마다 매주 — 각 이벤트는 자체 시간대로 처리됩니다.", + "device-commands": "장치 명령", + "device-commands-desc": "API 토큰을 보관하는 cron 작업 없이 지정한 시간에 장치로 명령을 보냅니다.", + "firmware-and-software": "펌웨어 및 소프트웨어", + "firmware-and-software-desc": "아무도 지켜보지 않는 시간에 OTA 패키지를 장치 하나 또는 그룹 전체에 배포합니다.", + "rule-chain-triggers": "규칙 체인 트리거", + "rule-chain-triggers-desc": "규칙 체인으로 메시지를 전송하므로 규칙 체인이 할 수 있는 모든 작업을 무인으로 실행할 수 있습니다." + } + }, + "reporting": { + "not-in-ce-grant": "보고서는 Community Grant에 포함되어 있지 않습니다.", + "pack-offer-title": "보고서를 한 번 만들어 예약된 모든 실행마다 전달", + "pack-offer-lede": "보고서는 Community Grant의 유료 애드온인 Professional Pack에 포함되어 있습니다. 표, 차트, 텍스트, 자체 브랜딩으로 보고서 레이아웃을 직접 구성하면 매 실행 결과가 일정에 따라 또는 알람이 발생할 때 수신자에게 전달됩니다.", + "overview": { + "your-own-layout": "나만의 레이아웃", + "your-own-layout-desc": "표, 차트, 텍스트, 이미지를 끌어다 배치하면 저장된 템플릿 하나로 모든 고객에게 제공됩니다.", + "pdf-or-csv": "PDF 또는 CSV", + "pdf-or-csv-desc": "차트가 그려진 인쇄용 문서, 또는 숫자가 필요한 사람을 위한 원시 행 데이터.", + "channel": "메일, Slack, Teams 또는 SMS", + "channel-desc": "수신자별 또는 사용자 그룹별로 채널을 선택하세요 — 플랫폼이 예약된 실행마다 보고서를 전달합니다.", + "attached-to-alarm": "알람에 첨부", + "attached-to-alarm-desc": "알림에 보고서가 함께 전달되며, 보고서는 알람이 발생하는 시점의 데이터로 생성됩니다." + } + } + }, + "subscription-error": { + "title": "구독 위반", + "warning-title": "구독 경고", + "upgrade-subscription-plan": "구독 플랜을 업그레이드하세요", + "upgrade-subscription-plan-to-install-solution-template": "{{solutionTemplateName}}은(는) {{planName}} 플랜부터 사용할 수 있습니다. 계속하려면 시스템 관리자에게 플랜 업그레이드를 요청하세요.", + "limit-reached": { + "device-count": "구독 플랜에서 허용하는 최대 장치 수({{value}})에 도달했습니다!", + "asset-count": "구독 플랜에서 허용하는 최대 자산 수({{value}})에 도달했습니다!", + "edge-count": "구독 플랜에서 허용하는 최대 Edge 인스턴스 수({{value}})에 도달했습니다!", + "agent-count": "구독 플랜에서 허용하는 최대 Remote Agent 수({{value}})에 도달했습니다!" + }, + "feature-disabled": { + "white-labeling": "구독 플랜에서 화이트 라벨링 기능을 허용하지 않습니다!" + } + }, "phone-input": { "phone-input-label": "전화번호", "phone-input-required": "전화번호는 필수 항목입니다.", @@ -10228,13 +14287,13 @@ }, "custom": { "widget-action": { - "action-cell-button": "동작 셀 버튼", + "action-cell-button": "액션 셀 버튼", "row-click": "행 클릭 시", "cell-click": "셀 클릭 시", "polygon-click": "다각형 클릭 시", "marker-click": "마커 클릭 시", "circle-click": "원 클릭 시", - "tooltip-tag-action": "툴팁 태그 동작", + "tooltip-tag-action": "툴팁 태그 액션", "node-selected": "노드 선택 시", "element-click": "HTML 요소 클릭 시", "pie-slice-click": "슬라이스 클릭 시", @@ -10252,6 +14311,91 @@ "previous-page-label": "이전 페이지", "items-per-page-separator": "/" }, + "trendz-analytics": { + "add-new": "+ 새로 추가", + "ai-assistant": "AI 어시스턴트", + "ai-assistant-description": "대화형 인사이트 및 자동 보고", + "anomaly-detection": "이상 감지", + "anomaly-detection-description": "활성 이상 감지 모델", + "calculated-fields": "계산 필드", + "calculated-fields-description": "사용자 지정 비즈니스 로직 및 계산", + "contact-admin-message": "관리자가 요청을 검토하고 설정을 업데이트할 때까지 잠시 기다려 주세요. 변경 사항을 보려면 이 페이지를 새로고침해야 할 수 있습니다.", + "contact-admin-title": "이 오류에 대해 시스템 관리자에게 알렸습니다", + "contact-sys-admin": "시스템 관리자에게 문의", + "disabled": "비활성화됨", + "enabled": "활성화됨", + "explore": "탐색", + "loading-ai-assistant": "AI 채팅 로드 중...", + "loading-anomaly-model": "이상 감지 모델 로드 중...", + "loading-calculation-field": "계산 필드 로드 중...", + "loading-metric-explorer": "메트릭 탐색기 로드 중...", + "loading-prediction-model": "예측 모델 로드 중...", + "loading-views": "뷰 로드 중...", + "metric-explorer": "메트릭 탐색기", + "metric-explorer-description": "빠른 탐색을 위한 최근 분석한 메트릭", + "no-anomaly-models-found": "아직 이상 감지 모델이 없습니다", + "no-calculated-fields-found": "아직 계산 필드가 없습니다", + "no-chats-found": "아직 채팅이 없습니다", + "no-metrics-found": "아직 메트릭이 없습니다", + "no-prediction-models-found": "아직 예측 모델이 없습니다", + "no-views-found": "아직 뷰가 없습니다", + "prediction-models": "예측 모델", + "prediction-models-description": "포캐스팅 및 예측 분석", + "read-upgrade-guide": "업그레이드 가이드 보기", + "retry-discovery": "검색 재시도", + "retry-healthcheck": "상태 확인 재시도", + "save-configuration": "구성 저장", + "service-connection": "서비스 연결", + "service-unavailable": "{{ name }}을(를) 일시적으로 사용할 수 없습니다", + "service-unavailable-message": "현재 기술적인 문제로 인해 {{ name }} 서비스에 액세스할 수 없습니다.", + "service-unavailable-incident-reported": "플랫폼과 분석 서버 간의 구성 또는 연결 문제가 원인입니다. 이 문제를 시스템 관리자에게 보고하세요.", + "service-unavailable-report-issue": "문제 보고", + "service-unavailable-request-sent-title": "이 문제에 대한 자동 요청을 시스템 관리자에게 보냈습니다", + "service-unavailable-request-sent-message": "관리자가 요청을 검토하고 설정을 업데이트할 때까지 잠시 기다려 주세요. 변경 사항을 보려면 이 페이지를 새로고침해야 할 수 있습니다.", + "sync": { + "sync-completed": "동기화가 성공적으로 완료되었습니다", + "sync-disabled": "Trendz 구성에 의해 동기화가 비활성화되어 있습니다", + "sync-internal-error": "예기치 않은 내부 동기화 오류", + "sync-not-initialized": "Trendz 동기화가 초기화되지 않았습니다", + "tb-auth-invalid": "ThingsBoard 인증에 실패했습니다. 잘못된 API 키", + "tb-url-mismatch": "입력한 ThingsBoard URL이 ThingsBoard에 저장된 URL과 일치하지 않습니다", + "tb-url-unreachable": "ThingsBoard URL에 연결할 수 없습니다", + "trendz-auth-invalid": "Trendz 인증에 실패했습니다. Trendz API 키가 잘못되었거나 없습니다", + "trendz-unsupported-version": "Trendz 버전이 지원되지 않습니다", + "trendz-url-unreachable": "입력한 Trendz URL에 연결할 수 없습니다" + }, + "thingsboard-internal-url": "ThingsBoard 내부 URL", + "thingsboard-internal-url-invalid": "ThingsBoard 내부 URL이 유효하지 않습니다", + "thingsboard-internal-url-required": "ThingsBoard 내부 URL은 필수 항목입니다", + "trendz-analytics": "Trendz 분석", + "advanced-analytics": "고급 분석", + "trendz-configuration": "Trendz 구성", + "trendz-configuration-unsaved-message": "Trendz 구성 변경 사항이 저장되지 않았습니다.
탐색을 실행하기 전에 저장하시겠습니까?", + "trendz-configuration-unsaved-continue-without-saving": "저장하지 않고 계속", + "trendz-internal-url": "Trendz 내부 URL", + "trendz-internal-url-invalid": "Trendz 내부 URL이 유효하지 않습니다.", + "trendz-internal-url-required": "Trendz 내부 URL은 필수 항목입니다.", + "trendz-settings": "Trendz 설정", + "trendz": "Trendz", + "views": "뷰", + "views-description": "구성된 시각화 그룹 및 보고서", + "trendz-synced": "동기화가 성공적으로 완료되었습니다.", + "trendz-available": "동기화가 완료되지 않았습니다.", + "trendz-unavailable": "서비스가 감지되지 않았습니다.", + "view-all": "모두 보기", + "view-type": { + "ai-card": "AI 카드", + "bar": "막대", + "card": "카드", + "card-with-line": "선 포함 카드", + "heatmap": "히트맵", + "heatmap-calendar": "히트맵 캘린더", + "line": "선", + "pie": "원형", + "scatter-plot": "산점도", + "table": "테이블" + } + }, "language": { "auto": "자동", "language": "언어(Language)" From 4df83aba1bf47bc45a96fe67fa7077fce4313e27 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Wed, 11 Nov 2026 17:08:32 +0200 Subject: [PATCH 219/275] IoT Hub: review of #16553 by hand: the removal check covers dashboards and firmware, the connector step owns no entity (PROD-9245) - A dashboard of the package that a profile outside the package uses as its default dashboard, and a device profile of the package that a firmware or software package refers to, refuse the update before anything is removed. - The refusal no longer says that nothing was removed: an earlier attempt may have removed part of the package. - The GATEWAY_CONNECTOR step neither marks the gateway as created in this wizard nor tracks it, so a gateway the user had and chose to use stays theirs after Back reruns the steps. - The doc of packageOwnedEntityIds is back above it; tests for the rule chain, the dashboard and the firmware. --- .../service/iot_hub/DefaultIotHubService.java | 43 ++++- .../iot_hub/DefaultIotHubServiceTest.java | 147 +++++++++++++++++- .../device-install-dialog.component.ts | 7 +- 3 files changed, 186 insertions(+), 11 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java index b8b6320ed9..78d7b6b80c 100644 --- a/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java +++ b/application/src/main/java/org/thingsboard/server/service/iot_hub/DefaultIotHubService.java @@ -3,6 +3,8 @@ // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 package org.thingsboard.server.service.iot_hub; +import org.thingsboard.server.dao.ota.OtaPackageService; +import org.thingsboard.server.common.data.OtaPackageInfo; import org.thingsboard.server.common.data.page.PageDataIterable; import org.thingsboard.server.common.data.converter.Converter; import org.thingsboard.server.common.data.integration.Integration; @@ -125,6 +127,7 @@ public class DefaultIotHubService implements IotHubService { private final IotHubInstalledItemService iotHubInstalledItemService; private final WidgetTypeService widgetTypeService; private final DashboardService dashboardService; + private final OtaPackageService otaPackageService; private final CalculatedFieldService calculatedFieldService; private final DeviceProfileService deviceProfileService; private final DeviceService deviceService; @@ -921,15 +924,13 @@ public class DefaultIotHubService implements IotHubService { } } - /** - * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they - * were (the install state keeps that choice). The default device profile, for example, is never the package's. - */ /** * The update removes the package's entities one by one. ThingsBoard refuses to delete a device profile that is the - * default one or that devices outside the package use, a converter that an integration outside the package uses, - * and a rule chain that is the root one or the default rule chain of a profile outside the package. Found after the first deletes, such a refusal would leave the package half - * removed and fail every Retry the same way, so it is checked before anything is removed: a 400 removes nothing. + * default one, that devices outside the package use or that a firmware or software package refers to; a converter + * that an integration outside the package uses; a dashboard that a profile outside the package uses as its default + * dashboard; and a rule chain that is the root one or the default rule chain of a profile outside the package. Found + * after the first deletes, such a refusal would leave the package half removed and fail every Retry the same way, so + * it is checked before anything is removed. */ private void checkPackageEntitiesCanBeRemoved(TenantId tenantId, List packageEntityIds) { if (packageEntityIds == null || packageEntityIds.isEmpty()) { @@ -957,6 +958,27 @@ public class DefaultIotHubService implements IotHubService { if (otherDevices > 0) { blockers.add("the device profile '" + profile.getName() + "' is used by " + otherDevices + " other device(s)"); } + for (OtaPackageInfo ota : new PageDataIterable<>(link -> otaPackageService.findTenantOtaPackagesByTenantId(tenantId, link), 1000)) { + if (profile.getId().equals(ota.getDeviceProfileId())) { + blockers.add("the device profile '" + profile.getName() + "' is used by the " + ota.getType().name().toLowerCase() + + " '" + ota.getTitle() + " " + ota.getVersion() + "'"); + } + } + } else if (entityId.getEntityType() == EntityType.DASHBOARD) { + Dashboard dashboard = dashboardService.findDashboardById(tenantId, new DashboardId(entityId.getId())); + if (!isOwnedBy(dashboard, tenantId)) { + continue; + } + for (DeviceProfile profile : new PageDataIterable<>(link -> deviceProfileService.findDeviceProfiles(tenantId, link), 1000)) { + if (dashboard.getId().equals(profile.getDefaultDashboardId()) && !owned.contains(profile.getId().getId())) { + blockers.add("the dashboard '" + dashboard.getTitle() + "' is the default dashboard of the device profile '" + profile.getName() + "'"); + } + } + for (AssetProfile profile : new PageDataIterable<>(link -> assetProfileService.findAssetProfiles(tenantId, link), 1000)) { + if (dashboard.getId().equals(profile.getDefaultDashboardId())) { + blockers.add("the dashboard '" + dashboard.getTitle() + "' is the default dashboard of the asset profile '" + profile.getName() + "'"); + } + } } else if (entityId.getEntityType() == EntityType.CONVERTER) { Converter converter = converterService.findConverterById(tenantId, new ConverterId(entityId.getId())); if (!isOwnedBy(converter, tenantId)) { @@ -988,11 +1010,16 @@ public class DefaultIotHubService implements IotHubService { } } if (!blockers.isEmpty()) { + // Not "nothing was removed": an earlier attempt may have removed part of the package already. throw new IllegalArgumentException("The package can't be updated: " + String.join("; ", blockers) - + ". Move them to other profiles or rule chains first, or delete them. Nothing was removed."); + + ". Change or delete them first."); } } + /** + * The entities the package created: the tracked ones without those the user chose, on a name conflict, to use as they + * were (the install state keeps that choice). The default device profile, for example, is never the package's. + */ private static List packageOwnedEntityIds(DeviceInstalledItemDescriptor descriptor) { List tracked = descriptor.getCreatedEntityIds(); if (tracked == null || descriptor.getInstallState() == null) { diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index bfbf16794e..6b87889815 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -2,6 +2,18 @@ // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.iot_hub; +import org.thingsboard.server.dao.asset.AssetProfileService; +import org.thingsboard.server.service.rule.TbRuleChainService; +import org.thingsboard.server.dao.rule.RuleChainService; +import org.thingsboard.server.dao.ota.OtaPackageService; +import org.thingsboard.server.common.data.OtaPackageInfo; +import org.thingsboard.server.common.data.ota.OtaPackageType; +import org.thingsboard.server.common.data.id.OtaPackageId; +import org.thingsboard.server.common.data.rule.RuleChain; +import org.thingsboard.server.common.data.id.RuleChainId; +import org.thingsboard.server.common.data.asset.AssetProfile; +import org.thingsboard.server.common.data.id.AssetProfileId; +import static org.mockito.Mockito.lenient; import org.thingsboard.server.dao.converter.ConverterService; import org.thingsboard.server.dao.integration.IntegrationService; import org.thingsboard.server.common.data.id.IntegrationId; @@ -80,6 +92,14 @@ class DefaultIotHubServiceTest { @Mock private TbDeviceService tbDeviceService; @Mock + private OtaPackageService otaPackageService; + @Mock + private AssetProfileService assetProfileService; + @Mock + private TbRuleChainService tbRuleChainService; + @Mock + private RuleChainService ruleChainService; + @Mock private IntegrationService integrationService; @Mock private ConverterService converterService; @@ -786,7 +806,7 @@ class DefaultIotHubServiceTest { assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) .isInstanceOf(IllegalArgumentException.class) .hasMessageContaining("'Package profile' is used by 1 other device(s)") - .hasMessageContaining("Nothing was removed"); + .hasMessageContaining("Change or delete them first"); verify(tbDeviceService, never()).delete(any(Device.class), any()); verify(iotHubInstalledItemService, never()).save(any(), any()); } @@ -824,12 +844,137 @@ class DefaultIotHubServiceTest { verify(tbDeviceProfileService).delete(profile, user); } + @Test + void removeDevicePackageEntities_rootRuleChain_refusedBeforeRemoving() { + mockTenant(); + RuleChain ruleChain = packageRuleChain(true); + IotHubInstalledItem item = devicePackage(ruleChain.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package rule chain' is the root rule chain"); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_ruleChainOfAnotherProfile_refusedBeforeRemoving() { + mockTenant(); + RuleChain ruleChain = packageRuleChain(false); + DeviceProfile other = otherProfile("User profile"); + other.setDefaultRuleChainId(ruleChain.getId()); + when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page(other)); + IotHubInstalledItem item = devicePackage(ruleChain.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package rule chain' is the rule chain of the device profile 'User profile'"); + verify(iotHubInstalledItemService, never()).save(any(), any()); + } + + @Test + void removeDevicePackageEntities_ruleChainOfThePackageProfile_removed() throws Exception { + mockTenant(); + RuleChain ruleChain = packageRuleChain(false); + DeviceProfile profile = packageProfile(false); + profile.setDefaultRuleChainId(ruleChain.getId()); + when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page(profile)); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())).thenReturn(page()); + IotHubInstalledItem item = devicePackage(ruleChain.getId(), profile.getId()); + String newVersionId = mockNewVersion(item); + + service.removeDevicePackageEntities(user, item.getId(), newVersionId); + + verify(tbDeviceProfileService).delete(profile, user); + verify(tbRuleChainService).delete(ruleChain, user); + } + + @Test + void removeDevicePackageEntities_ruleChainOfAnAssetProfile_refusedBeforeRemoving() { + mockTenant(); + RuleChain ruleChain = packageRuleChain(false); + AssetProfile assetProfile = new AssetProfile(new AssetProfileId(UUID.randomUUID())); + assetProfile.setName("Building"); + assetProfile.setDefaultRuleChainId(ruleChain.getId()); + when(assetProfileService.findAssetProfiles(eq(tenantId), any())).thenReturn(page(assetProfile)); + IotHubInstalledItem item = devicePackage(ruleChain.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package rule chain' is the rule chain of the asset profile 'Building'"); + } + + @Test + void removeDevicePackageEntities_dashboardOfAnotherProfile_refusedBeforeRemoving() { + mockTenant(); + Dashboard dashboard = new Dashboard(new DashboardId(UUID.randomUUID())); + dashboard.setTenantId(tenantId); + dashboard.setTitle("Package dashboard"); + when(dashboardService.findDashboardById(tenantId, dashboard.getId())).thenReturn(dashboard); + DeviceProfile other = otherProfile("User profile"); + other.setDefaultDashboardId(dashboard.getId()); + when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page(other)); + lenient().when(assetProfileService.findAssetProfiles(eq(tenantId), any())).thenReturn(page()); + IotHubInstalledItem item = devicePackage(dashboard.getId()); + String newVersionId = mockNewVersion(item); + + // Deleted first (reverse order), the dashboard would fail after nothing else, and the rest after it: refused now. + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package dashboard' is the default dashboard of the device profile 'User profile'"); + verify(tbDashboardService, never()).delete(any(), any()); + } + + @Test + void removeDevicePackageEntities_profileOfAFirmware_refusedBeforeRemoving() { + mockTenant(); + DeviceProfile profile = packageProfile(false); + when(deviceService.findDeviceIdsByTenantIdAndDeviceProfileId(eq(tenantId), eq(profile.getId()), any())).thenReturn(page()); + OtaPackageInfo firmware = new OtaPackageInfo(new OtaPackageId(UUID.randomUUID())); + firmware.setDeviceProfileId(profile.getId()); + firmware.setType(OtaPackageType.FIRMWARE); + firmware.setTitle("fw"); + firmware.setVersion("1.2"); + when(otaPackageService.findTenantOtaPackagesByTenantId(eq(tenantId), any())).thenReturn(page(firmware)); + IotHubInstalledItem item = devicePackage(profile.getId()); + String newVersionId = mockNewVersion(item); + + assertThatThrownBy(() -> service.removeDevicePackageEntities(user, item.getId(), newVersionId)) + .isInstanceOf(IllegalArgumentException.class) + .hasMessageContaining("'Package profile' is used by the firmware 'fw 1.2'"); + } + private DeviceProfile packageProfile(boolean isDefault) { DeviceProfile profile = new DeviceProfile(new DeviceProfileId(UUID.randomUUID())); profile.setTenantId(tenantId); profile.setName("Package profile"); profile.setDefault(isDefault); when(deviceProfileService.findDeviceProfileById(tenantId, profile.getId())).thenReturn(profile); + lenient().when(otaPackageService.findTenantOtaPackagesByTenantId(eq(tenantId), any())).thenReturn(page()); + return profile; + } + + private static PageData page(T... items) { + return new PageData<>(List.of(items), 1, items.length, false); + } + + private RuleChain packageRuleChain(boolean root) { + RuleChain ruleChain = new RuleChain(new RuleChainId(UUID.randomUUID())); + ruleChain.setTenantId(tenantId); + ruleChain.setName("Package rule chain"); + ruleChain.setRoot(root); + when(ruleChainService.findRuleChainById(tenantId, ruleChain.getId())).thenReturn(ruleChain); + lenient().when(deviceProfileService.findDeviceProfiles(eq(tenantId), any())).thenReturn(page()); + lenient().when(assetProfileService.findAssetProfiles(eq(tenantId), any())).thenReturn(page()); + return ruleChain; + } + + private DeviceProfile otherProfile(String name) { + DeviceProfile profile = new DeviceProfile(new DeviceProfileId(UUID.randomUUID())); + profile.setTenantId(tenantId); + profile.setName(name); return profile; } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index 8ad5fc9c76..7e2c0c5843 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -835,10 +835,13 @@ export class TbDeviceInstallDialogComponent extends DialogComponent Date: Wed, 11 Nov 2026 16:13:11 +0100 Subject: [PATCH 220/275] Fixed missing height and border of User group roles table on Self-registration page (#16448) * Fixed missing min height and border of User group roles table on Self registration page * PR comments fixes --- .../components/role/registration-permissions.component.scss | 4 ---- .../modules/home/pages/admin/self-registration.component.scss | 3 +++ .../shared/components/role/group-permissions.component.html | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/role/registration-permissions.component.scss b/ui-ngx/src/app/modules/home/components/role/registration-permissions.component.scss index 21107367e2..9ec5aeca10 100644 --- a/ui-ngx/src/app/modules/home/components/role/registration-permissions.component.scss +++ b/ui-ngx/src/app/modules/home/components/role/registration-permissions.component.scss @@ -2,8 +2,4 @@ // SPDX-License-Identifier: BUSL-1.1 :host { display: flex; - max-height: 380px; - tb-group-permissions { - height: auto; - } } diff --git a/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss b/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss index 2fd16a6f76..de90e75955 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss +++ b/ui-ngx/src/app/modules/home/pages/admin/self-registration.component.scss @@ -12,6 +12,9 @@ .tb-privacy-policy, .tb-terms-of-use { min-height: 380px; } + tb-registration-permissions { + height: 380px; + } } fieldset{ diff --git a/ui-ngx/src/app/shared/components/role/group-permissions.component.html b/ui-ngx/src/app/shared/components/role/group-permissions.component.html index d8ee9535b2..d885774912 100644 --- a/ui-ngx/src/app/shared/components/role/group-permissions.component.html +++ b/ui-ngx/src/app/shared/components/role/group-permissions.component.html @@ -73,7 +73,7 @@
-
+
From a4f3fa314295515d65b780eb6d37ef387e30b3a7 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 16:21:53 +0100 Subject: [PATCH 221/275] Fixed form flickering on 'Use system settings' pages by loading settings in route resolvers (#16437) * Fixed form content flickering on settings pages with 'Use system settings' option * PR comments fixes --- ui-ngx/src/app/app.component.ts | 32 ++++++++- .../home/pages/admin/admin-routing.module.ts | 45 ++++++++++++- .../home/pages/admin/mail-server.component.ts | 67 +++++++++---------- .../pages/admin/sms-provider.component.ts | 30 +++------ ...-qr-code-widget-settings-routing.module.ts | 30 ++++++++- ...obile-qr-code-widget-settings.component.ts | 17 +++-- 6 files changed, 152 insertions(+), 69 deletions(-) diff --git a/ui-ngx/src/app/app.component.ts b/ui-ngx/src/app/app.component.ts index 3b93872bb1..b811c7fc2c 100644 --- a/ui-ngx/src/app/app.component.ts +++ b/ui-ngx/src/app/app.component.ts @@ -14,7 +14,7 @@ import { LocalStorageService } from '@core/local-storage/local-storage.service'; import { DomSanitizer } from '@angular/platform-browser'; import { MatIconRegistry } from '@angular/material/icon'; import { getCurrentAuthState, selectUserReady } from '@core/auth/auth.selectors'; -import { filter, skip, tap } from 'rxjs/operators'; +import { filter, skip, switchMap, take, takeWhile, tap } from 'rxjs/operators'; import { AuthService } from '@core/auth/auth.service'; import { DashboardReportService } from '@core/http/dashboard-report.service'; import { DevelopmentService } from '@core/http/development.service'; @@ -25,6 +25,9 @@ import { initCustomJQueryEvents } from '@shared/models/jquery-event.models'; import { TranslateDefaultLoader } from '@core/translate/translate-default-loader'; import { SystemSetupService } from '@core/http/system-setup.service'; import { SystemSetupState } from '@shared/models/system-setup.models'; +import { NavigationEnd, NavigationError, Router } from '@angular/router'; +import { ToastNotificationService } from '@core/services/toast-notification.service'; +import { NotificationMessage } from '@core/notification/notification.models'; @Component({ selector: 'tb-root', @@ -43,7 +46,9 @@ export class AppComponent { private authService: AuthService, private reportService: DashboardReportService, private developmentService: DevelopmentService, - private systemSetupService: SystemSetupService) { + private systemSetupService: SystemSetupService, + private router: Router, + private toastNotificationService: ToastNotificationService) { if (!env.production) { console.log(`ThingsBoard Version: ${env.tbVersion}`); @@ -85,6 +90,29 @@ export class AppComponent { }); this.routeAuthenticationChangesWhileSetupIsIncomplete(); + this.gotoDefaultPlaceOnInitialNavigationError(); + } + + private gotoDefaultPlaceOnInitialNavigationError() { + const pendingNotifications: NotificationMessage[] = []; + this.toastNotificationService.getNotification().pipe( + takeWhile(() => !this.router.navigated) + ).subscribe((notification) => pendingNotifications.push(notification)); + this.router.events.pipe( + filter((event) => event instanceof NavigationError && !this.router.navigated), + take(1), + switchMap(() => { + this.authService.gotoDefaultPlace(getCurrentAuthState(this.store).isAuthenticated); + return this.router.events.pipe( + filter((event) => event instanceof NavigationEnd), + take(1) + ); + }) + ).subscribe(() => { + setTimeout(() => { + pendingNotifications.forEach((notification) => this.toastNotificationService.dispatchNotification(notification)); + }); + }); } /** diff --git a/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts b/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts index 0f84b503be..d2605b500c 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/admin-routing.module.ts @@ -20,7 +20,13 @@ import { GeneralSettingsComponent } from '@home/pages/admin/general-settings.com import { SecuritySettingsComponent } from '@modules/home/pages/admin/security-settings.component'; import { MailTemplatesComponent } from '@home/pages/admin/mail-templates.component'; import { forkJoin, mergeMap, Observable, of } from 'rxjs'; -import { MailTemplatesSettings } from '@shared/models/settings.models'; +import { + AdminSettings, + MailConfigTemplate, + MailServerSettings, + MailTemplatesSettings, + SmsProviderConfiguration +} from '@shared/models/settings.models'; import { WhiteLabelingComponent } from '@home/pages/admin/white-labeling.component'; import { SelfRegistrationComponent } from '@home/pages/admin/self-registration.component'; import { HomeSettingsComponent } from '@home/pages/admin/home-settings.component'; @@ -59,6 +65,8 @@ import { AuthService } from '@core/auth/auth.service'; import { AppState } from '@core/core.state'; import { Store } from '@ngrx/store'; import { ActionUpdateLicenseParams } from '@core/auth/auth.actions'; +import { NotificationService } from '@core/http/notification.service'; +import { NotificationSettings } from '@shared/models/notification.models'; export const subscriptionInfoResolver: ResolveFn = ( route: ActivatedRouteSnapshot, @@ -112,6 +120,35 @@ export const mailTemplateSettingsResolver: ResolveFn = ( wl = inject(WhiteLabelingService) ): Observable => wl.getMailTemplates(true); +export const mailServerSettingsResolver: ResolveFn<{ + loginProcessingUrl: string; + mailConfigTemplate: Array; + adminSettings: AdminSettings; +}> = ( + route: ActivatedRouteSnapshot, + state: RouterStateSnapshot, + adminService = inject(AdminService) +) => forkJoin({ + loginProcessingUrl: adminService.getLoginProcessingUrl(), + mailConfigTemplate: adminService.getMailConfigTemplate(), + adminSettings: adminService.getAdminSettings('mail') +}); + +export const notificationsSettingsResolver: ResolveFn<{ + notificationSettings: NotificationSettings; + smsProviderSettings: AdminSettings; +}> = ( + route: ActivatedRouteSnapshot, + state: RouterStateSnapshot, + adminService = inject(AdminService), + notificationService = inject(NotificationService) +) => forkJoin({ + notificationSettings: notificationService.getNotificationSettings(), + smsProviderSettings: adminService.getAdminSettings('sms', false, {ignoreErrors: true}).pipe( + catchError(() => of({key: 'sms', jsonValue: null} as AdminSettings)) + ) +}); + export const scadaSymbolResolver: ResolveFn = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot, @@ -332,6 +369,9 @@ const routes: Routes = [ breadcrumb: { menuId: MenuId.mail_server } + }, + resolve: { + mailServerSettings: mailServerSettingsResolver } }, { @@ -344,6 +384,9 @@ const routes: Routes = [ breadcrumb: { menuId: MenuId.notification_settings } + }, + resolve: { + notificationsSettings: notificationsSettingsResolver } }, { diff --git a/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts b/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts index 9bb4d06a10..0f1f59fb62 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/mail-server.component.ts @@ -25,10 +25,11 @@ import { AuthUser } from '@shared/models/user.model'; import { Authority } from '@shared/models/authority.enum'; import { UserPermissionsService } from '@core/http/user-permissions.service'; import { Operation, Resource } from '@shared/models/security.models'; -import { forkJoin, Subject } from 'rxjs'; +import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; import { DomainSchema, domainSchemaTranslations, } from '@shared/models/oauth2.models'; import { WINDOW } from '@core/services/window.service'; +import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'tb-mail-server', @@ -132,6 +133,7 @@ export class MailServerComponent extends PageComponent implements OnInit, OnDest private adminService: AdminService, private translate: TranslateService, private userPermissionsService: UserPermissionsService, + private route: ActivatedRoute, public fb: FormBuilder, @Inject(WINDOW) private window: Window) { super(store); @@ -141,40 +143,35 @@ export class MailServerComponent extends PageComponent implements OnInit, OnDest this.buildMailServerSettingsForm(); this.domainFormConfiguration(); - forkJoin({ - loginProcessingUrl: this.adminService.getLoginProcessingUrl(), - mailConfigTemplate: this.adminService.getMailConfigTemplate(), - adminSettings: this.adminService.getAdminSettings('mail') - }).subscribe((data) => { - this.loginProcessingUrl = data.loginProcessingUrl; - this.initTemplates(data.mailConfigTemplate); - this.adminSettings = data.adminSettings; - if (this.adminSettings.jsonValue && isString(this.adminSettings.jsonValue.enableTls)) { - this.adminSettings.jsonValue.enableTls = (this.adminSettings.jsonValue.enableTls as any) === 'true'; - } - if (!this.adminSettings.jsonValue.providerId) { - this.adminSettings.jsonValue.providerId = 'CUSTOM'; - } - this.mailSettings.reset(this.adminSettings.jsonValue, {emitEvent: false}); - if (this.isTenantAdmin()) { - this.mailSettings.get('useSystemMailSettings').setValue( - isDefined(this.adminSettings.jsonValue.useSystemMailSettings) ? - this.adminSettings.jsonValue.useSystemMailSettings : true, {emitEvent: false} - ); - } - this.updateValidators(); - this.enableTls(this.adminSettings.jsonValue.enableTls); - this.helpLink = this.templates.get(this.adminSettings.jsonValue.providerId)?.helpLink || null; - this.enableProxyChanged(); - if (this.adminSettings.jsonValue.enableOauth2) { - this.enableOauth2(!!this.adminSettings.jsonValue.enableOauth2); - this.enableProviderTenantIdChanged(this.adminSettings.jsonValue.providerId); - this.parseUrl(this.adminSettings.jsonValue.redirectUri); - this.mailSettings.get('redirectUri').patchValue(this.adminSettings.jsonValue.redirectUri, {emitEvent: false}); - } else { - this.mailSettings.get('enableOauth2').patchValue(false, {emitEvent: false}); - } - }) + const data = this.route.snapshot.data.mailServerSettings; + this.loginProcessingUrl = data.loginProcessingUrl; + this.initTemplates(data.mailConfigTemplate); + this.adminSettings = data.adminSettings; + if (this.adminSettings.jsonValue && isString(this.adminSettings.jsonValue.enableTls)) { + this.adminSettings.jsonValue.enableTls = (this.adminSettings.jsonValue.enableTls as any) === 'true'; + } + if (!this.adminSettings.jsonValue.providerId) { + this.adminSettings.jsonValue.providerId = 'CUSTOM'; + } + this.mailSettings.reset(this.adminSettings.jsonValue, {emitEvent: false}); + if (this.isTenantAdmin()) { + this.mailSettings.get('useSystemMailSettings').setValue( + isDefined(this.adminSettings.jsonValue.useSystemMailSettings) ? + this.adminSettings.jsonValue.useSystemMailSettings : true, {emitEvent: false} + ); + } + this.updateValidators(); + this.enableTls(this.adminSettings.jsonValue.enableTls); + this.helpLink = this.templates.get(this.adminSettings.jsonValue.providerId)?.helpLink || null; + this.enableProxyChanged(); + if (this.adminSettings.jsonValue.enableOauth2) { + this.enableOauth2(!!this.adminSettings.jsonValue.enableOauth2); + this.enableProviderTenantIdChanged(this.adminSettings.jsonValue.providerId); + this.parseUrl(this.adminSettings.jsonValue.redirectUri); + this.mailSettings.get('redirectUri').patchValue(this.adminSettings.jsonValue.redirectUri, {emitEvent: false}); + } else { + this.mailSettings.get('enableOauth2').patchValue(false, {emitEvent: false}); + } } ngOnDestroy() { diff --git a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts index 1a89a7a6b4..ae7eea5fe2 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.ts @@ -19,6 +19,7 @@ import { getCurrentAuthUser } from '@core/auth/auth.selectors'; import { Operation, Resource } from '@shared/models/security.models'; import { UserPermissionsService } from '@core/http/user-permissions.service'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; +import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'tb-sms-provider', @@ -42,30 +43,17 @@ export class SmsProviderComponent extends PageComponent implements HasConfirmFor private notificationService: NotificationService, private dialog: MatDialog, private userPermissionsService: UserPermissionsService, + private route: ActivatedRoute, public fb: FormBuilder, private destroyRef: DestroyRef) { super(store); this.buildSmsProviderForm(); this.buildGeneralServerSettingsForm(); - this.notificationService.getNotificationSettings().subscribe( - (settings) => { - this.notificationSettings = settings; - this.setNotificationSettings(this.notificationSettings); - } - ); - this.adminService.getAdminSettings('sms', false, {ignoreErrors: true}).subscribe({ - next: adminSettings => { - this.adminSettings = adminSettings; - this.setSmsProviderSettings(this.adminSettings.jsonValue); - }, - error: () => { - this.adminSettings = { - key: 'sms', - jsonValue: null - }; - this.setSmsProviderSettings(this.adminSettings.jsonValue); - } - }); + const data = this.route.snapshot.data.notificationsSettings; + this.notificationSettings = data.notificationSettings; + this.setNotificationSettings(this.notificationSettings); + this.adminSettings = data.smsProviderSettings; + this.setSmsProviderSettings(this.adminSettings.jsonValue); } private setSmsProviderSettings(smsProviderConfiguration: SmsProviderConfiguration) { @@ -193,7 +181,9 @@ export class SmsProviderComponent extends PageComponent implements HasConfirmFor if(this.readonly) { this.notificationSettingsForm.disable({emitEvent: false}); } else { - this.isLoading$.subscribe((isLoading) => { + this.isLoading$.pipe( + takeUntilDestroyed(this.destroyRef) + ).subscribe((isLoading) => { if (isLoading) { this.notificationSettingsForm.disable({emitEvent: false}); } else { diff --git a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts index bdb2855036..47bd8eebb0 100644 --- a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings-routing.module.ts @@ -1,13 +1,36 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 -import { NgModule } from '@angular/core'; -import { RouterModule, Routes } from '@angular/router'; +import { inject, NgModule } from '@angular/core'; +import { ActivatedRouteSnapshot, ResolveFn, RouterModule, RouterStateSnapshot, Routes } from '@angular/router'; import { Authority } from '@shared/models/authority.enum'; import { MenuId } from '@core/services/menu.models'; import { MobileQrCodeWidgetSettingsComponent } from '@home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component'; import { ConfirmOnExitGuard } from '@core/guards/confirm-on-exit.guard'; +import { forkJoin, of } from 'rxjs'; +import { Store } from '@ngrx/store'; +import { AppState } from '@core/core.state'; +import { getCurrentAuthUser } from '@core/auth/auth.selectors'; +import { MobileApplicationService } from '@core/http/mobile-application.service'; +import { WhiteLabelingService } from '@core/http/white-labeling.service'; +import { QrCodeSettings } from '@shared/models/mobile-app.models'; +import { LoginWhiteLabelingParams } from '@shared/models/white-labeling.models'; + +export const qrCodeWidgetSettingsResolver: ResolveFn<{ + mobileAppSettings: QrCodeSettings; + loginWhiteLabelParams: LoginWhiteLabelingParams; +}> = ( + route: ActivatedRouteSnapshot, + state: RouterStateSnapshot, + store = inject(Store), + mobileAppService = inject(MobileApplicationService), + wl = inject(WhiteLabelingService) +) => forkJoin({ + mobileAppSettings: mobileAppService.getMobileAppSettings(), + loginWhiteLabelParams: getCurrentAuthUser(store).authority === Authority.TENANT_ADMIN ? + wl.getCurrentLoginWhiteLabelParams() : of(null as LoginWhiteLabelingParams) +}); export const qrCodeWidgetRoutes: Routes = [ { @@ -20,6 +43,9 @@ export const qrCodeWidgetRoutes: Routes = [ breadcrumb: { menuId: MenuId.mobile_qr_code_widget } + }, + resolve: { + qrCodeWidgetSettings: qrCodeWidgetSettingsResolver } } ]; diff --git a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts index a0cc535039..8fc77b3bce 100644 --- a/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts +++ b/ui-ngx/src/app/modules/home/pages/mobile/qr-code-widget/mobile-qr-code-widget-settings.component.ts @@ -16,7 +16,7 @@ import { Authority } from '@shared/models/authority.enum'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { Operation, Resource } from '@shared/models/security.models'; import { UserPermissionsService } from '@core/http/user-permissions.service'; -import { WhiteLabelingService } from '@core/http/white-labeling.service'; +import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'tb-mobile-qr-code-widget', @@ -55,15 +55,8 @@ export class MobileQrCodeWidgetSettingsComponent extends PageComponent implement private mobileAppService: MobileApplicationService, private fb: FormBuilder, private userPermissionsService: UserPermissionsService, - private wl: WhiteLabelingService) { + private route: ActivatedRoute) { super(store); - this.mobileAppService.getMobileAppSettings() - .subscribe(settings => this.processMobileAppSettings(settings)); - - if(this.isTenantAdmin()) { - this.wl.getCurrentLoginWhiteLabelParams().subscribe(value => this.setBaseURL = !!value.baseUrl); - } - if (this.readonly) { this.mobileAppSettingsForm.disable() } else { @@ -142,6 +135,12 @@ export class MobileQrCodeWidgetSettingsComponent extends PageComponent implement } }); } + + const data = this.route.snapshot.data.qrCodeWidgetSettings; + if (this.isTenantAdmin()) { + this.setBaseURL = !!data.loginWhiteLabelParams.baseUrl; + } + this.processMobileAppSettings(data.mobileAppSettings); } public isTenantAdmin(): boolean { From 12a3a0ea36431de9a30aea1f42c6b4bf518d06e3 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Wed, 11 Nov 2026 16:26:49 +0100 Subject: [PATCH 222/275] Unified copy button styling across the platform (#16442) * Unified copy button styling across the platform * Fixed headers * PR comments fixes * Reverted license headers of files without changes --------- Co-authored-by: Vladyslav_Prykhodko --- .../attribute/attribute-table.component.html | 4 ++-- .../home/components/event/event-table-config.ts | 12 ++++-------- .../chirp-stack-integration-form.component.html | 2 +- .../coap-integration-form.component.html | 4 ++-- .../http-integration-form.component.html | 2 +- .../kpn-integration-form.component.html | 2 +- .../loriot-integration-form.component.html | 2 +- .../particle-integration-form.component.html | 2 +- .../thing-park-integration-form.component.html | 2 +- .../relation/relation-table.component.html | 2 +- .../vc/entity-versions-table.component.html | 3 +-- .../wizard/integration-wizard-dialog.component.html | 4 ++-- .../home/pages/admin/mail-server.component.html | 1 - .../pages/admin/oauth2/domains/domain.component.html | 4 ++-- .../translation-map-table.component.html | 4 ++-- .../pages/integration/integration.component.html | 4 ++-- .../applications/mobile-app-table-config.resolver.ts | 6 ++---- .../ota-update/ota-update-table-config.resolve.ts | 6 ++---- .../pages/user/activation-link-dialog.component.html | 1 - .../components/button/copy-button.component.scss | 2 +- 20 files changed, 29 insertions(+), 40 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html index be3791caa0..4312b71358 100644 --- a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html +++ b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html @@ -179,7 +179,7 @@ tooltipText="{{ 'attribute.copy-key' | translate }}" tooltipPosition="above" icon="content_copy" - [style]="{padding: '4px', 'font-size': '16px', color: 'rgba(0,0,0,.87)'}" + [style]="{padding: '4px', 'font-size': '16px'}" > @@ -201,7 +201,7 @@ tooltipText="{{ 'attribute.copy-value' | translate }}" tooltipPosition="above" icon="content_copy" - [style]="{padding: '4px', 'font-size': '16px', color: 'rgba(0,0,0,.87)'}" + [style]="{padding: '4px', 'font-size': '16px'}" > } diff --git a/ui-ngx/src/app/modules/home/components/event/event-table-config.ts b/ui-ngx/src/app/modules/home/components/event/event-table-config.ts index 5cc8193ae0..a0d1067434 100644 --- a/ui-ngx/src/app/modules/home/components/event/event-table-config.ts +++ b/ui-ngx/src/app/modules/home/components/event/event-table-config.ts @@ -344,8 +344,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_paste', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: () => true, onAction: ($event, entity) => entity.body.entityId, @@ -362,8 +361,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_paste', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: () => true, onAction: ($event, entity) => entity.body.msgId, @@ -449,8 +447,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_copy', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: () => true, onAction: ($event, entity) => entity.body.entityId, @@ -469,8 +466,7 @@ export class EventTableConfig extends EntityTableConfig { icon: 'content_copy', style: { padding: '4px', - 'font-size': '16px', - color: 'rgba(0,0,0,.87)' + 'font-size': '16px' }, isEnabled: (entity) => !!entity.body.msgId, onAction: (_, entity) => entity.body.msgId, diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html index c0fdcaf92a..6f891a232d 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/chirp-stack-integration-form/chirp-stack-integration-form.component.html @@ -24,7 +24,7 @@ integration.http-endpoint -
From 0cd8a802103557e5107d26bfe5973b56924b22f7 Mon Sep 17 00:00:00 2001 From: Vladyslav Prykhodko Date: Wed, 11 Nov 2026 23:04:14 +0200 Subject: [PATCH 243/275] Sped up the license header check: changed files in pull requests, parallel subprocesses, CE normalization cache - Pull requests check the files they change (--since), with a full check when the CE bases, the Mycila configuration or the check itself changed. - One history walk for CE deletions instead of one per CE base. - Distinct three-way merges run once and in parallel; Mycila invocations no longer share pom.xml/report.json and run in parallel. - The copy search skips CE files that Git cannot match by size. - Header-free CE contents are cached in target/license-headers-cache; pushes save the cache, pull requests only restore it. --- .github/workflows/check-license-headers.yml | 29 +- check-license-headers.sh | 6 +- .../src/main/python/license-headers/README.md | 33 +- .../license-headers/check_license_headers.py | 442 +++++++++++++++--- .../test_check_license_headers.py | 440 ++++++++++++++++- 5 files changed, 872 insertions(+), 78 deletions(-) diff --git a/.github/workflows/check-license-headers.yml b/.github/workflows/check-license-headers.yml index 753a9c565d..d8cebb1815 100644 --- a/.github/workflows/check-license-headers.yml +++ b/.github/workflows/check-license-headers.yml @@ -46,10 +46,37 @@ jobs: java-version: 21 cache: maven + # Header-free CE contents from earlier runs. A pull request reads the cache of its base branch, then of master; + # only pushes and manual runs write one, so a pull request never feeds the cache that other runs trust. + - name: Restore normalized CE contents + uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: target/license-headers-cache + key: license-headers-ce-v1-${{ github.ref_name }}-${{ github.run_id }} + restore-keys: | + license-headers-ce-v1-${{ github.ref_name }}- + license-headers-ce-v1- + - name: Check license headers + env: + # Pull requests check only the files they change; pushes and manual runs check every file. + SINCE: ${{ github.event_name == 'pull_request' && format('origin/{0}', github.base_ref) || '' }} run: | mkdir -p target/license-provenance - ./check-license-headers.sh 2>&1 | tee target/license-provenance/console.log + # The runner does nothing else: use every CPU, not all but one as on a workstation. + LICENSE_HEADERS_JOBS="$(nproc)" + export LICENSE_HEADERS_JOBS + ./check-license-headers.sh ${SINCE:+--since "$SINCE"} 2>&1 | tee target/license-provenance/console.log + + # Saved even when the check finds problems, but only when the run normalized something the cache lacked. + - name: Save normalized CE contents + if: >- + always() && github.event_name != 'pull_request' + && hashFiles('target/license-headers-cache/.updated') != '' + uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: target/license-headers-cache + key: license-headers-ce-v1-${{ github.ref_name }}-${{ github.run_id }} - name: Add findings to the job summary if: failure() && hashFiles('target/license-provenance/console.log') != '' diff --git a/check-license-headers.sh b/check-license-headers.sh index 6176d4d7e9..bcfba4f999 100755 --- a/check-license-headers.sh +++ b/check-license-headers.sh @@ -8,9 +8,13 @@ set -euo pipefail usage() { echo "Checks SPDX license headers against CE provenance." - echo "usage: $0 [--fix] [--ce-ref ] [--ce-remote ] [--output target/...]" + echo "usage: $0 [--fix] [--since ] [--ce-ref ] [--ce-remote ] [--output target/...] [--no-cache]" echo " --fix restamp files whose expected header the check determined" echo " and remove redundant or orphaned curations" + echo " --since check only files changed since the merge base of and HEAD," + echo " uncommitted and untracked files included, e.g. --since origin/lts-4.4;" + echo " runs the full check when CE commits, Mycila settings or the check itself changed" + echo " --no-cache normalize every CE file again instead of reusing target/license-headers-cache" echo " --ce-ref CE branch, tag or commit that this branch integrates, fetched on every run;" echo " without it, CE is the history that does not contain the relicensing commit" echo " --ce-remote CE repository to fetch --ce-ref from (default: https://github.com/thingsboard/thingsboard.git)" diff --git a/tools/src/main/python/license-headers/README.md b/tools/src/main/python/license-headers/README.md index 4f2eab2a1e..0c6fb3300f 100644 --- a/tools/src/main/python/license-headers/README.md +++ b/tools/src/main/python/license-headers/README.md @@ -36,7 +36,38 @@ packaging define the new artifact. ./check-license-headers.sh ``` -The check needs the full Git history of the clone. +The check needs the full Git history of the clone. It runs Git and Mycila +subprocesses in parallel on all CPUs but one; set `LICENSE_HEADERS_JOBS` to +another number, for example `1` for a sequential run. + +## Cache + +The check removes the header of every CE file it compares with Mycila. CE files +never change, so their header-free contents are kept in +`target/license-headers-cache` and reused by the next run. The cache is valid +while the Mycila version and configuration in the root `pom.xml`, the templates +and the check itself stay the same; anything else starts a new cache, and the +check normalizes again instead of using the old one. Pass `--no-cache` to +normalize every CE file again, or `--cache` to keep the cache elsewhere. + +In GitHub Actions, pushes and manual runs save the cache and pull requests only +read it: a pull request takes the cache of its base branch, then of `master`. + +## Check only changed files + +```sh +./check-license-headers.sh --since origin/lts-4.4 +``` + +Checks the files that differ between the merge base of the given ref and HEAD +and the working tree, untracked files included, and the files whose curation +changed. Pull requests run the check this way against their target branch; +pushes and manual runs check every file. Curations of files no longer in scope +are still reported for the whole repository. + +The check falls back to every file when a change can move the verdict of an +unchanged file: new CE commits merged into the branch, a changed Mycila +configuration in the root `pom.xml`, or a change to the check itself. ## Fix automatically diff --git a/tools/src/main/python/license-headers/check_license_headers.py b/tools/src/main/python/license-headers/check_license_headers.py index 1ff6faf77c..ec520d9fb9 100644 --- a/tools/src/main/python/license-headers/check_license_headers.py +++ b/tools/src/main/python/license-headers/check_license_headers.py @@ -9,17 +9,21 @@ from __future__ import annotations import argparse from collections import Counter, defaultdict +from concurrent.futures import ThreadPoolExecutor from contextlib import contextmanager from copy import deepcopy from dataclasses import dataclass import hashlib +import io import json import os from pathlib import Path, PurePosixPath import re +import sqlite3 import subprocess import sys import tempfile +import threading import uuid import xml.etree.ElementTree as ET @@ -45,6 +49,7 @@ RELICENSING_COMMIT = "31936b09d24871e421f212502a8342f9d8aabb20" CE_REMOTE = "https://github.com/thingsboard/thingsboard.git" CURATIONS = "tools/src/main/python/license-headers/curations.json" README = "tools/src/main/python/license-headers/README.md" +CHECKER_PATHS = ("tools/src/main/python/license-headers/", "check-license-headers.sh") CURATION_FIELDS = {"path", "contentHash", "header", "reason"} CONTENT_HASH = re.compile(r"sha256:[0-9a-f]{64}") UNRECOGNIZED = "unrecognized" @@ -65,6 +70,11 @@ RESTAMP_LISTING = 40 REPEATED_HEADERS = 3 HEADER_WINDOW = 4096 XML_SPACE = "{http://www.w3.org/XML/1998/namespace}space" +JOBS_VARIABLE = "LICENSE_HEADERS_JOBS" +CACHE_DIRECTORY = "target/license-headers-cache" +CACHE_FORMAT = "1" +CACHE_UPDATED = ".updated" +CACHE_SIGNATURES_KEPT = 3 @dataclass(frozen=True) @@ -132,6 +142,26 @@ class Console: console = Console() +def jobs(): + """Parallel subprocesses: LICENSE_HEADERS_JOBS when set, otherwise all CPUs but one to keep the machine responsive.""" + configured = os.environ.get(JOBS_VARIABLE, "") + if configured: + if not configured.isdigit() or int(configured) < 1: + raise Failure(f"{JOBS_VARIABLE} must be a positive number, not {configured!r}") + return int(configured) + return max(1, (os.cpu_count() or 1) - 1) + + +def parallel(function, items): + """Results of function for every item in item order; the first failure propagates.""" + items = list(items) + workers = min(len(items), jobs()) + if workers <= 1: + return [function(item) for item in items] + with ThreadPoolExecutor(max_workers=workers) as pool: + return list(pool.map(function, items)) + + def run(argv, cwd, *, data=None, ok=(0,)): result = subprocess.run(argv, cwd=cwd, input=data, stdout=subprocess.PIPE, stderr=subprocess.PIPE) if result.returncode not in ok: @@ -238,9 +268,12 @@ class Change: status: str -def history(repo, revision, *options): +def history(repo, revisions, *options): + """First-parent changes of every revision in one walk: commits shared by several revisions appear once.""" + if not revisions or any(revision.startswith("-") for revision in revisions): + raise Failure("history needs revisions that do not start with '-'") raw = git(repo, "log", "--first-parent", "--diff-merges=first-parent", "--root", "--raw", "--no-abbrev", - "--no-renames", "-z", "--format=%x1e%H", *options, revision, "--") + "--no-renames", "-z", "--format=%x1e%H", *options, *revisions, "--") return list(parse_history(raw)) @@ -400,8 +433,8 @@ def validate_curation(entry): return name -def xml_plain(path): - root = ET.parse(path).getroot() +def xml_plain(source): + root = ET.parse(source).getroot() for element in root.iter(): element.tag = element.tag.rsplit("}", 1)[-1] return root @@ -418,7 +451,15 @@ class Plugin: def read_plugin(repo): - plugins = xml_plain(repo / "pom.xml").findall("./build/pluginManagement/plugins/plugin") + return parse_plugin(xml_plain(repo / "pom.xml")) + + +def plugin_signature(plugin): + return plugin.version, ET.tostring(plugin.configuration) + + +def parse_plugin(project): + plugins = project.findall("./build/pluginManagement/plugins/plugin") plugin = next((p for p in plugins if p.findtext("artifactId") == "license-maven-plugin"), None) if plugin is None: raise Failure("Root pom.xml does not manage the Mycila license plugin") @@ -451,8 +492,8 @@ class Scope: def discover_scope(repo, plugin): states = defaultdict(set) modules = [] - for entry in SCOPE_POMS: - for report in scope_check(repo, plugin, entry): + for reports in parallel(lambda entry: scope_check(repo, plugin, entry), SCOPE_POMS): + for report in reports: module = report.parent.parent modules.append({"path": str(module.relative_to(repo)), "report": str(report.relative_to(repo))}) for name, result in read_scope_report(repo, module, report): @@ -516,7 +557,6 @@ class Mycila: def __init__(self, repo, directory, plugin): self.root = directory self.plugin = plugin - self.report = directory / "report.json" self.paths = {} self.contents = {} self.removed = {} @@ -527,9 +567,10 @@ class Mycila: (directory / name).parent.mkdir(parents=True, exist_ok=True) (directory / name).write_bytes(self.templates[header]) - def add(self, key, name, content): + def add(self, key, name, content, slot=None): group = "head" if key[0] == "head" else "ce" - path = self.root / "files" / group / str(len(self.paths)) / PurePosixPath(name).name + slot = len(self.paths) if slot is None else slot + path = self.root / "files" / group / str(slot) / PurePosixPath(name).name path.parent.mkdir(parents=True) path.write_bytes(content) self.paths[key] = path.relative_to(self.root).as_posix() @@ -548,8 +589,9 @@ class Mycila: def current_headers(self, keys): keys = list(keys) recognized = defaultdict(list) - for header in TEMPLATES: - for key, result in self.invoke("check", header, keys).items(): + checks = parallel(lambda header: self.invoke("check", header, keys), TEMPLATES) + for header, results in zip(TEMPLATES, checks): + for key, result in results.items(): if result == "PRESENT": recognized[key].append(header) return {key: recognized[key][0] if len(recognized[key]) == 1 else UNRECOGNIZED for key in keys} @@ -631,43 +673,46 @@ class Mycila: rejected[key] = "more than one header, review by hand" accepted = [key for key in keys if key not in rejected] with self.guarded(accepted): - for header in TEMPLATES: - group = [key for key in accepted if expected[key] == header] - if group: - self.invoke("format", header, group) + groups = {header: [key for key in accepted if expected[key] == header] for header in TEMPLATES} + parallel(lambda header: self.invoke("format", header, groups[header]), TEMPLATES) return {key: self.contents[key] for key in accepted}, rejected def invoke(self, goal, header, keys, *, styles=()): keys = list(keys) if not keys: return {} - self.write_pom(header, keys, styles) - self.report.unlink(missing_ok=True) + invocation = uuid.uuid4().hex + pom, report = self.root / f"pom-{invocation}.xml", self.root / f"report-{invocation}.json" + self.write_pom(pom, report, header, keys, styles) try: - maven(self.root, [self.plugin.coordinates + ":" + goal]) + maven(self.root, ["-f", pom.name, self.plugin.coordinates + ":" + goal]) + results = self.read_results(report) except Failure as exc: - unknown = self.unknown_inputs(keys) + unknown = self.unknown_inputs(report, keys) if unknown: raise Failure(f"Mycila cannot normalize these inputs: {unknown[:20]}") from exc raise - results = self.read_results() + finally: + pom.unlink(missing_ok=True) + report.unlink(missing_ok=True) if set(results) != {self.paths[key] for key in keys} or "UNKNOWN" in results.values(): raise Failure("Mycila comparison scope was incomplete or unknown") return {key: results[self.paths[key]] for key in keys} - def read_results(self): - if not self.report.exists(): + @staticmethod + def read_results(report): + if not report.exists(): raise Failure("Mycila did not produce its comparison report") - return {item["path"]: item["result"] for item in json.loads(self.report.read_text())["files"]} + return {item["path"]: item["result"] for item in json.loads(report.read_text())["files"]} - def unknown_inputs(self, keys): + def unknown_inputs(self, report, keys): try: - results = self.read_results() + results = self.read_results(report) except Failure: return [] return [str(key) for key in keys if results.get(self.paths[key]) == "UNKNOWN"] - def write_pom(self, header, keys, styles): + def write_pom(self, pom, report, header, keys, styles): project = ET.Element("project", xmlns="http://maven.apache.org/POM/4.0.0") append_elements(project, [("modelVersion", "4.0.0"), ("groupId", "license.provenance"), ("artifactId", "temporary-comparison"), ("version", "1")]) @@ -677,7 +722,7 @@ class Mycila: config = ET.SubElement(plugin, "configuration") append_elements(config, [("encoding", "UTF-8"), ("strictCheck", "true"), ("quiet", "true"), ("failIfMissing", "false"), ("failIfUnknown", "true"), - ("reportFormat", "json"), ("reportLocation", str(self.report))]) + ("reportFormat", "json"), ("reportLocation", str(report))]) config.append(self.mapping(styles)) license_set = ET.SubElement(ET.SubElement(config, "licenseSets"), "licenseSet") append_elements(license_set, [("header", str(self.root / TEMPLATES[header])), @@ -688,7 +733,7 @@ class Mycila: parent = ET.SubElement(license_set, "inlineHeaderStyles") for style in styles: append_elements(ET.SubElement(parent, "inlineHeaderStyle"), (("name", style.name),) + style.settings) - ET.ElementTree(project).write(self.root / "pom.xml", encoding="utf-8", xml_declaration=True) + ET.ElementTree(project).write(pom, encoding="utf-8", xml_declaration=True) def mapping(self, styles): mapping = self.plugin.configuration.find("mapping") @@ -822,9 +867,8 @@ class Lineage: if git(repo, "rev-parse", "--is-shallow-repository").decode().strip() == "true": raise Failure("this clone is shallow and the check needs full history. Run git fetch --unshallow.") deleted = {} - for base in bases: - for change in history(repo, base, "--diff-filter=D"): - deleted.setdefault(change.path, {"path": change.path, "ref": change.commit + "^1", "blob": change.old}) + for change in history(repo, list(bases), "--diff-filter=D"): + deleted.setdefault(change.path, {"path": change.path, "ref": change.commit + "^1", "blob": change.old}) return cls(head=head, bases=tuple(bases), trees={base: tree(repo, base) for base in bases}, deleted=deleted) def versions(self, name): @@ -867,7 +911,116 @@ class Comparison: )) -def compare(repo, plugin, lineage, contents): +class NormalizationCache: + """Header-free contents of CE inputs from earlier runs, keyed by content and file name (Mycila styles follow the + name). One SQLite file per normalization signature: a different Mycila setup, template or check misses the cache.""" + + def __init__(self, directory, signature): + self.directory = directory + self.lock = threading.Lock() + self.added = 0 + self.hits = 0 + directory.mkdir(parents=True, exist_ok=True) + (directory / CACHE_UPDATED).unlink(missing_ok=True) + self.path = directory / f"{signature}.sqlite" + try: + self.database = self.open() + except sqlite3.DatabaseError: + # A damaged cache only costs time: start it again instead of failing the check. + self.path.unlink() + self.database = self.open() + os.utime(self.path) + for stale in sorted(directory.glob("*.sqlite"), key=lambda path: path.stat().st_mtime)[:-CACHE_SIGNATURES_KEPT]: + stale.unlink() + + def open(self): + database = sqlite3.connect(self.path, check_same_thread=False) + database.execute("CREATE TABLE IF NOT EXISTS normalized (input TEXT PRIMARY KEY, content BLOB NOT NULL)") + return database + + @staticmethod + def input(name, raw): + return hashlib.sha256(raw).hexdigest() + "/" + PurePosixPath(name).name + + def get(self, inputs): + found = {} + with self.lock: + for key, raw in inputs.items(): + row = self.database.execute("SELECT content FROM normalized WHERE input = ?", + (self.input(key[0], raw),)).fetchone() + if row is not None: + found[key] = bytes(row[0]) + self.hits += len(found) + return found + + def put(self, entries): + with self.lock: + self.database.executemany("INSERT OR IGNORE INTO normalized VALUES (?, ?)", + [(self.input(key[0], raw), content) for key, raw, content in entries]) + self.added += len(entries) + + def close(self): + self.database.commit() + self.database.close() + if self.added: + (self.directory / CACHE_UPDATED).touch() + + +class NoCache: + added = hits = 0 + + def get(self, inputs): + return {} + + def put(self, entries): + pass + + def close(self): + pass + + +def cache_signature(repo, plugin): + digest = hashlib.sha256(CACHE_FORMAT.encode()) + version, configuration = plugin_signature(plugin) + for part in (Path(__file__).read_bytes(), version.encode(), configuration, + *((repo / name).read_bytes() for name in TEMPLATES.values())): + digest.update(len(part).to_bytes(8, "big") + part) + return digest.hexdigest()[:32] + + +def normalize(repo, plugin, cache, inputs): + """Header-free contents of CE inputs ({key: raw bytes}, key[0] the file name), from the cache when it has them.""" + found = cache.get(inputs) + missing = {key: raw for key, raw in inputs.items() if key not in found} + if missing: + with tempfile.TemporaryDirectory(prefix="license-provenance-") as temporary: + mycila = Mycila(repo, Path(temporary), plugin) + for key, raw in missing.items(): + mycila.add(key, key[0], raw) + mycila.strip_headers() + grown = [key[0] for key, raw in missing.items() if len(mycila.contents[key]) > len(raw)] + if grown: + raise Failure(f"Mycila grew these files while removing their headers: {grown[:20]}") + found |= {key: mycila.contents[key] for key in missing} + cache.put([(key, raw, found[key]) for key, raw in missing.items()]) + return found + + +def staged_size(content): + return len(content.replace(b"\r\n", b"\n")) + + +def could_be_copy(size, destinations): + """Git scores a pair 0 unless the smaller blob is at least half the larger (diffcore-rename estimate_similarity).""" + return any(2 * min(size, other) >= max(size, other) for other in destinations) + + +def could_shrink_to_copy(raw_size, destinations): + """Normalizing never grows a file: below half the smallest destination it stays out of Git's reach.""" + return 2 * raw_size >= min(destinations) + + +def compare(repo, plugin, lineage, contents, cache): names = list(contents) new_paths = {name for name in names if not lineage.versions(name)} sources = {} @@ -877,22 +1030,32 @@ def compare(repo, plugin, lineage, contents): sources.setdefault((name, files[name]), base) for key in comparable_ce_files(files, new_paths).items(): sources.setdefault(key, base) + versions = {(name, oid) for name in names for _, oid in lineage.versions(name)} + # Every input keeps the slot it has among all inputs, so the copy search sees the same paths, and Git breaks + # ties between equally similar sources the same way, however many sources the size filter drops. + slots = {("head", name): index for index, name in enumerate(names)} + slots |= {key: len(names) + index for index, key in enumerate(sorted(sources))} bytes_by_id = blobs(repo, [oid for _, oid in sources]) with tempfile.TemporaryDirectory(prefix="license-provenance-") as temporary: mycila = Mycila(repo, Path(temporary), plugin) for name, content in contents.items(): - mycila.add(("head", name), name, content) - for path, oid in sorted(sources): - mycila.add((path, oid), path, bytes_by_id[oid]) + mycila.add(("head", name), name, content, slots[("head", name)]) console.begin("Recognizing headers") recognized = mycila.current_headers([("head", name) for name in names]) console.end() console.begin("Comparing against CE") - normalized = mycila.strip_headers() + head_hashes, copy_sources = parallel(lambda job: job(), [ + mycila.strip_headers, + lambda: normalize(repo, plugin, cache, {key: bytes_by_id[key[1]] for key in versions})]) headers = mycila.header_states(recognized) - copies = normalized_copies(mycila, sources, new_paths, mycila.nonempty()) - merges = clean_merges(repo, plugin, lineage, names, normalized) - console.end(f"done ({len(normalized)} file versions)") + destinations = {name: mycila.contents[("head", name)] for name in sorted(new_paths) + if mycila.contents[("head", name)].strip()} + normalized = head_hashes | {key: comparison_hash(content) for key, content in copy_sources.items()} + copies, searched = copy_candidates(repo, plugin, cache, sources, versions, slots, bytes_by_id, + destinations, copy_sources, normalized) + merges = clean_merges(repo, plugin, cache, lineage, names, normalized) + console.end(f"done ({len(normalized)} file versions, {searched} of {len(sources) - len(versions)} " + f"other CE files searched for copies, {cache.hits} from the cache)") return Comparison( lineage=lineage, contents=contents, @@ -905,31 +1068,57 @@ def compare(repo, plugin, lineage, contents): ) -def clean_merges(repo, plugin, lineage, names, normalized): - merged = {} - for index, left in enumerate(lineage.bases): - for right in lineage.bases[index + 1:]: - ancestors = git(repo, "merge-base", "--all", left, right).decode().split() - if len(ancestors) != 1: +def copy_candidates(repo, plugin, cache, sources, versions, slots, bytes_by_id, destinations, copy_sources, + normalized): + """CE files similar to the paths that CE does not have, normalized only when Git could match them by size.""" + if not destinations: + return {}, 0 + sizes = [staged_size(content) for content in destinations.values()] + others = sorted(key for key in sources if key not in versions + and could_shrink_to_copy(len(bytes_by_id[key[1]]), sizes)) + found = normalize(repo, plugin, cache, {key: bytes_by_id[key[1]] for key in others}) + normalized |= {key: comparison_hash(content) for key, content in found.items()} + with tempfile.TemporaryDirectory(prefix="license-provenance-") as temporary: + staging = Mycila(repo, Path(temporary), plugin) + for key, content in (found | copy_sources).items(): + staging.add(key, key[0], content, slots[key]) + for name, content in destinations.items(): + staging.add(("head", name), name, content, slots[("head", name)]) + reachable = {key: sources[key] for key in [*others, *copy_sources] + if could_be_copy(staged_size(staging.contents[key]), sizes)} + return normalized_copies(staging, reachable, set(destinations), staging.nonempty()), len(others) + + +def clean_merges(repo, plugin, cache, lineage, names, normalized): + pairs = [(left, right) for index, left in enumerate(lineage.bases) for right in lineage.bases[index + 1:]] + + def ancestry(pair): + ancestors = git(repo, "merge-base", "--all", *pair).decode().split() + return (ancestors[0], tree(repo, ancestors[0])) if len(ancestors) == 1 else None + + candidates = [] + for (left, right), common in zip(pairs, parallel(ancestry, pairs)): + if common is None: + continue + ancestor, files = common + for name in names: + ours, theirs = lineage.trees[left].get(name), lineage.trees[right].get(name) + if ours is None or theirs is None or ours == theirs or name not in files: + continue + if normalized[("head", name)] in {normalized[(name, ours)], normalized[(name, theirs)]}: continue - ancestry = tree(repo, ancestors[0]) - for name in names: - ours, theirs = lineage.trees[left].get(name), lineage.trees[right].get(name) - if ours is None or theirs is None or ours == theirs or name not in ancestry: - continue - if normalized[("head", name)] in {normalized[(name, ours)], normalized[(name, theirs)]}: - continue - content = merge_blobs(repo, ours, ancestry[name], theirs) - if content is not None: - merged[(name, left, right)] = (content, {"path": name, "merge": [left, right], - "base": ancestors[0]}) + candidates.append(((name, left, right), (ours, files[name], theirs), ancestor)) + # Base pairs share most blobs: every distinct three-way merge runs once, all of them in parallel. + triples = list(dict.fromkeys(triple for _, triple, _ in candidates)) + contents = dict(zip(triples, parallel(lambda triple: merge_blobs(repo, *triple), triples))) + merged = {} + for key, triple, ancestor in candidates: + if contents[triple] is not None: + merged[key] = (contents[triple], {"path": key[0], "merge": [key[1], key[2]], "base": ancestor}) if not merged: return {} - with tempfile.TemporaryDirectory(prefix="license-provenance-") as temporary: - mycila = Mycila(repo, Path(temporary), plugin) - for key, (content, _) in merged.items(): - mycila.add(key, key[0], content) - hashes = mycila.strip_headers() + found = normalize(repo, plugin, cache, {key: content for key, (content, _) in merged.items()}) + hashes = {key: comparison_hash(content) for key, content in found.items()} result = {} for key, (_, description) in merged.items(): if hashes[key] == normalized[("head", key[0])]: @@ -937,6 +1126,85 @@ def clean_merges(repo, plugin, lineage, names, normalized): return result +@dataclass(frozen=True) +class Selection: + since: str + merge_base: str + paths: frozenset | None + reason: str + + @property + def full(self): + return self.paths is None + + def report(self): + return {"since": self.since, "mergeBase": self.merge_base, "full": self.full, "reason": self.reason} + + +def merge_base(repo, since): + commit = resolve(repo, since) + bases = run(["git", "merge-base", commit, "HEAD"], repo, ok=(0, 1)).stdout.decode().split() + if not bases: + raise Failure(f"HEAD shares no history with {since}.") + return bases[0] + + +def changed_paths(repo, commit): + """Paths that differ between the commit and the working tree, untracked files included.""" + tracked = git(repo, "diff", "--name-only", "--no-renames", "-z", commit, "--") + untracked = git(repo, "ls-files", "--others", "--exclude-standard", "-z") + return {path.decode("utf-8") for path in (tracked + b"\0" + untracked).split(b"\0") if path} + + +def committed(repo, commit, name): + result = run(["git", "cat-file", "blob", f"{commit}:{name}"], repo, ok=(0, 128)) + return result.stdout if result.returncode == 0 else None + + +def committed_plugin(repo, commit): + content = committed(repo, commit, "pom.xml") + try: + return None if content is None else plugin_signature(parse_plugin(xml_plain(io.BytesIO(content)))) + except (Failure, ET.ParseError): + return None + + +def committed_curations(repo, commit): + content = committed(repo, commit, CURATIONS) + if content is None: + return {} + try: + return {entry["path"]: entry for entry in json.loads(content)["curations"]} + except (ValueError, KeyError, TypeError): + return None + + +def select_changes(repo, since, bases, ce_bases, plugin, curations): + """Files to check against a PR target: the changed ones, unless a change can move verdicts of unchanged files.""" + base = merge_base(repo, since) + + def full(reason): + return Selection(since, base, None, reason) + + try: + if sorted(ce_bases(base)) != sorted(bases): + return full("the CE commits merged into the branch changed") + except Failure: + return full("the CE commits merged at the merge base cannot be resolved") + if committed_plugin(repo, base) != plugin_signature(plugin): + return full("the Mycila configuration in the root pom.xml changed") + changed = changed_paths(repo, base) + checker = sorted(path for path in changed + if path.startswith(CHECKER_PATHS) and path not in {CURATIONS, README}) + if checker: + return full(f"the check itself changed ({checker[0]})") + previous = committed_curations(repo, base) + curated = set(curations) if previous is None else { + name for name in set(previous) | set(curations) if previous.get(name) != curations.get(name)} + paths = frozenset(changed | curated) + return Selection(since, base, paths, f"{len(paths)} changed paths") + + def current_branch(repo): branch = git(repo, "rev-parse", "--abbrev-ref", "HEAD").decode().strip() return "" if branch == "HEAD" else branch @@ -1058,15 +1326,19 @@ def print_findings(rows, curation_issues, ref_names): f"Rerun with --fix to remove them from {CURATIONS}", style=None) -def print_summary(rows, curation_issues, report): +def print_summary(rows, curation_issues, report, label="files"): findings = sum(row["status"] != "match" for row in rows) + len(curation_issues) restamped = sum("previousHeader" in row for row in rows) note = f" ({restamped} restamped)" if restamped else "" if findings: - console.line(f"{findings} finding{'s' if findings != 1 else ''} in {len(rows)} files{note}. Report: {report}", + console.line(f"{findings} finding{'s' if findings != 1 else ''} in {len(rows)} {label}{note}. Report: {report}", "red") return - console.line(f"All {len(rows)} files carry the expected header{note}.", "green") + if not rows: + console.line(f"No {label} to check.", "green") + console.line(f"Report: {report}") + return + console.line(f"All {len(rows)} {label} carry the expected header{note}.", "green") counts = Counter(row["expectedHeader"] for row in rows) console.line(" " + " · ".join(f"{header} {counts[header]}" for header in TEMPLATES if counts[header])) console.line(f"Report: {report}") @@ -1166,16 +1438,37 @@ def check(args): curation_bytes = curation_path.read_bytes() curations = load_curations(curation_path) console.begin("Resolving Git history") - bases = merged_ce_bases(repo, head, ce["commit"]) if "ref" in ce else relicensed_ce_bases(repo, head) + + def ce_bases(commit): + return merged_ce_bases(repo, commit, ce["commit"]) if "ref" in ce else relicensed_ce_bases(repo, commit) + + bases = ce_bases(head) lineage = Lineage.load(repo, head, bases) console.end("done (CE base " + ", ".join(ref_name(base, ref_names) for base in bases) + ")") + selection = None + if args.since: + console.begin(f"Selecting files changed since {args.since}") + selection = select_changes(repo, args.since, bases, ce_bases, plugin, curations) + console.end(("full check: " if selection.full else "") + selection.reason + + f" (merge base {selection.merge_base[:11]})") console.begin("Collecting Mycila scope") scope = discover_scope(repo, plugin) console.end(f"{len(scope.eligible)} files ({scope.ignored} Git-ignored skipped)") - contents = {name: (repo / name).read_bytes() for name in scope.eligible} - comparison = compare(repo, plugin, lineage, contents) + checked = (scope.eligible if selection is None or selection.full + else [name for name in scope.eligible if name in selection.paths]) + if selection is not None and not selection.full: + console.line(f"Checking {len(checked)} of {len(scope.eligible)} files in scope", "dim") + contents = {name: (repo / name).read_bytes() for name in checked} + rows = [] + if contents: + cache = (NoCache() if args.no_cache + else NormalizationCache((repo / args.cache).resolve(), cache_signature(repo, plugin))) + try: + comparison = compare(repo, plugin, lineage, contents, cache) + finally: + cache.close() + rows = [comparison.classify(name, curations.get(name)) for name in checked] console.line() - rows = [comparison.classify(name, curations.get(name)) for name in scope.eligible] orphaned = [{"path": name, "status": "stale-curation", "reason": "file is no longer in scope"} for name in sorted(set(curations) - set(scope.eligible))] ensure_inputs_unchanged(repo, lineage, curation_path, curation_bytes, contents) @@ -1190,6 +1483,7 @@ def check(args): "head": lineage.head, "ce": ce | {"bases": list(lineage.bases)}, "scope": {"supported": len(scope.eligible), "unknown": scope.unknown, "modules": scope.modules}, + "selection": selection.report() if selection is not None else None, "summary": dict(summary), "restamped": sorted(row["path"] for row in rows if "previousHeader" in row), "removedCurations": removed, @@ -1203,7 +1497,7 @@ def check(args): print_restamped(rows) print_removed_curations(removed) print_findings(rows, orphaned, ref_names) - print_summary(rows, orphaned, report) + print_summary(rows, orphaned, report, "files" if selection is None or selection.full else "changed files") return 1 if orphaned or summary.keys() - {"match"} else 0 @@ -1215,7 +1509,15 @@ def main(argv=None): "without it, CE is the history of HEAD that does not contain the relicensing commit") parser.add_argument("--ce-remote", default=CE_REMOTE, help=f"Git URL or path of the CE repository to fetch --ce-ref from (default: {CE_REMOTE})") + parser.add_argument("--since", metavar="REF", + help="check only files changed since the merge base of REF and HEAD, uncommitted and " + "untracked files included; falls back to the full check when the CE commits, the " + "root Mycila configuration or the check itself changed") parser.add_argument("--output", default="target/license-provenance/report.json") + parser.add_argument("--cache", default=CACHE_DIRECTORY, metavar="DIRECTORY", + help="header-free CE contents from earlier runs, reused while the Mycila setup, the " + f"templates and the check stay the same (default: {CACHE_DIRECTORY})") + parser.add_argument("--no-cache", action="store_true", help="normalize every CE input again") parser.add_argument("--fix", action="store_true", help="restamp files whose expected header the check determined and remove redundant or " "orphaned curations; unrecognized headers are kept") diff --git a/tools/src/main/python/license-headers/test_check_license_headers.py b/tools/src/main/python/license-headers/test_check_license_headers.py index a025443e75..0756cc41bd 100644 --- a/tools/src/main/python/license-headers/test_check_license_headers.py +++ b/tools/src/main/python/license-headers/test_check_license_headers.py @@ -240,6 +240,57 @@ class DecisionTests(unittest.TestCase): stderr.getvalue()) +class ParallelTests(unittest.TestCase): + def test_jobs_follow_the_machine_unless_configured(self): + for cpus, expected in ((12, 11), (2, 1), (1, 1), (None, 1)): + with patch.dict(os.environ, {p.JOBS_VARIABLE: ""}), patch.object(p.os, "cpu_count", return_value=cpus): + self.assertEqual(expected, p.jobs(), f"{cpus} CPUs") + with patch.dict(os.environ, {p.JOBS_VARIABLE: "3"}): + self.assertEqual(3, p.jobs()) + for wrong in ("0", "-2", "many"): + with patch.dict(os.environ, {p.JOBS_VARIABLE: wrong}), self.assertRaisesRegex(p.Failure, p.JOBS_VARIABLE): + p.jobs() + + def test_parallel_keeps_item_order_and_raises_the_first_failure(self): + with patch.dict(os.environ, {p.JOBS_VARIABLE: "4"}): + self.assertEqual([item * 2 for item in range(50)], p.parallel(lambda item: item * 2, range(50))) + self.assertEqual([], p.parallel(lambda item: item, [])) + + def failing(item): + if item == 7: + raise p.Failure("item 7") + return item + + with self.assertRaisesRegex(p.Failure, "item 7"): + p.parallel(failing, range(20)) + + +class MycilaGuardTests(unittest.TestCase): + def tool(self): + tool = p.Mycila(this_repository(), temporary_directory(self), fixture_plugin()) + tool.add(("head", "A.java"), "A.java", b"// header\ncode") + return tool + + def test_guard_restores_the_file_end_and_rejects_a_rewritten_one(self): + tool = self.tool() + with tool.guarded([("head", "A.java")]): + tool.file(("head", "A.java")).write_bytes(tool.file(("head", "A.java")).read_bytes().replace(b"// header\n", b"")) + self.assertEqual(b"code", tool.contents[("head", "A.java")]) + with self.assertRaisesRegex(p.Failure, "Mycila rewrote the end"): + with tool.guarded([("head", "A.java")]): + tool.file(("head", "A.java")).write_bytes(b"code\n") + + def test_scope_reports_are_accepted_only_from_target_directories(self): + repo = temporary_directory(self) + (repo / "module/target").mkdir(parents=True) + (repo / "module/target/token.json").write_text("{}") + self.assertEqual([repo / "module/target/token.json"], p.scope_reports(repo, "token.json")) + (repo / "other").mkdir() + (repo / "other/token.json").write_text("{}") + with self.assertRaisesRegex(p.Failure, "Unexpected scope report location"): + p.scope_reports(repo, "token.json") + + class InputTests(unittest.TestCase): def test_header_state_recognizes_legacy_thingsboard_headers(self): ce = b"/**\n * Copyright \xc2\xa9 2016-2025 The Thingsboard Authors\n *\n * Licensed under the Apache License\n */\n" @@ -270,6 +321,8 @@ class InputTests(unittest.TestCase): self.assertEqual(b"// SPDX-A\n// SPDX-B", p.swap_header(b"// SPDX-X\n// SPDX-Y\n// SPDX-Z", new, old)) with self.assertRaises(p.Failure): p.swap_header(b"// SPDX-A\n\n// SPDX-B\ncode\n", old, new) + with self.assertRaises(p.Failure): + p.swap_header(b"// SPDX-A\n# SPDX-B\ncode\n", old, new) with self.assertRaises(p.Failure): p.swap_header(b"code\n", old, new) @@ -355,6 +408,30 @@ class InputTests(unittest.TestCase): self.assertEqual(f"{p.TEMPLATE_DIRECTORY}/license-header-{p.NON_CE}.txt", p.TEMPLATES[p.NON_CE]) self.assertTrue((this_repository() / p.TEMPLATES[p.NON_CE]).is_file()) + def test_committed_plugin_tracks_the_root_mycila_configuration(self): + git = GitFixture(temporary_directory(self), "main") + + def pom(header): + return textwrap.dedent(f"""\ + + com.mycilalicense-maven-plugin5.1.2 +
{header}
+
+ """) + + git.write("pom.xml", pom("a.txt")) + first = git.commit("pom") + git.write("pom.xml", "\n" + pom("a.txt")) + same = git.commit("comment only") + git.write("pom.xml", pom("b.txt")) + changed = git.commit("other header") + current = p.plugin_signature(p.read_plugin(git.root)) + self.assertEqual(p.committed_plugin(git.root, first), p.committed_plugin(git.root, same)) + self.assertNotEqual(p.committed_plugin(git.root, same), current) + self.assertEqual(p.committed_plugin(git.root, changed), current) + git("rm", "-q", "pom.xml") + self.assertIsNone(p.committed_plugin(git.root, git.commit("no pom"))) + def test_plugin_version_and_configuration_come_from_root_pom(self): repo = temporary_directory(self) p.git(repo, "init") @@ -390,13 +467,13 @@ class GitHistoryTests(unittest.TestCase): git("checkout", "lts-4.2") git("merge", "--no-ff", "side", "-m", "integrate") merged = git("rev-parse", "HEAD") - changes = p.history(git.root, "HEAD") + changes = p.history(git.root, ["HEAD"]) self.assertEqual({initial, merged}, {change.commit for change in changes}) self.assertEqual(source, changes[0].path) git("rm", source) git.commit("delete") - deleted = p.history(git.root, "HEAD", "--diff-filter=D") + deleted = p.history(git.root, ["HEAD"], "--diff-filter=D") self.assertEqual(["D"], [change.status for change in deleted]) self.assertEqual(b"merged result\n", p.blobs(git.root, [deleted[0].old])[deleted[0].old]) @@ -491,6 +568,71 @@ class GitHistoryTests(unittest.TestCase): self.assertEqual([(removal, git("rev-parse", f"{removal}:Kept.java"))], lineage.versions("Kept.java")) self.assertEqual([], lineage.versions("Gone.java")) + def test_lineage_walks_shared_history_of_several_bases_once(self): + git = GitFixture(temporary_directory(self), "ce") + git.write("Shared.java", "deleted before the bases diverged\n") + git.write("Left.java", "deleted on the left base\n") + git.write("Right.java", "deleted on the right base\n") + git.commit("CE base") + git("rm", "Shared.java") + shared = git.commit("shared removal") + git("checkout", "-b", "right") + git("rm", "Right.java") + right = git.commit("right removal") + git("checkout", "ce") + git("rm", "Left.java") + left = git.commit("left removal") + separately = {} + for base in (left, right): + for change in p.history(git.root, [base], "--diff-filter=D"): + separately.setdefault(change.path, set()).add(change.commit) + together = p.history(git.root, [left, right], "--diff-filter=D") + self.assertEqual(3, len(together), "the shared removal is listed once") + self.assertEqual(separately, {change.path: {change.commit} for change in together}) + lineage = p.Lineage.load(git.root, left, [left, right]) + self.assertEqual({"Shared.java": shared + "^1", "Left.java": left + "^1", "Right.java": right + "^1"}, + {path: entry["ref"] for path, entry in lineage.deleted.items()}) + with self.assertRaises(p.Failure): + p.history(git.root, []) + with self.assertRaises(p.Failure): + p.history(git.root, ["--all"]) + + def test_clean_merges_match_each_file_with_its_own_merge_in_any_order(self): + git = GitFixture(temporary_directory(self), "ce") + for header, name in p.TEMPLATES.items(): + git.write(name, f"fixture {header}\n") + lines = "".join(f"line {index}\n" for index in range(12)) + git.write("A.java", "A\n" + lines) + git.write("B.java", "B\n" + lines) + base = git.commit("CE base") + bases = {} + for branch, line in (("left", "line 0"), ("middle", "line 5"), ("right", "line 11")): + git("checkout", "-q", "-b", branch, base) + git.write("A.java", "A\n" + lines.replace(line, branch)) + git.write("B.java", "B\n" + lines.replace(line, branch)) + bases[branch] = git.commit(branch) + lineage = p.Lineage.load(git.root, bases["left"], sorted(bases.values())) + # HEAD carries A merged from left and right, B merged from middle and right: two distinct merges. + head = {"A.java": "A\n" + lines.replace("line 0", "left").replace("line 11", "right"), + "B.java": "B\n" + lines.replace("line 5", "middle").replace("line 11", "right")} + normalized = {("head", name): p.comparison_hash(text.encode()) for name, text in head.items()} + for files in lineage.trees.values(): + for name, oid in files.items(): + normalized[(name, oid)] = p.comparison_hash(p.blobs(git.root, [oid])[oid]) + + def strip_headers(tool): + return {key: p.comparison_hash(content) for key, content in tool.contents.items()} + + expected = {"A.java": sorted([bases["left"], bases["right"]]), + "B.java": sorted([bases["middle"], bases["right"]])} + with patch.object(p.Mycila, "strip_headers", strip_headers): + for workers in ("1", "4"): + with patch.dict(os.environ, {p.JOBS_VARIABLE: workers}): + merges = p.clean_merges(git.root, fixture_plugin(), p.NoCache(), lineage, list(head), normalized) + self.assertEqual(expected, {name: sorted(merge["merge"]) for name, merge in merges.items()}, + f"{workers} workers") + self.assertEqual({base}, {merge["base"] for merge in merges.values()}) + def test_merge_blobs_returns_only_clean_merges(self): git = GitFixture(temporary_directory(self), "main") git.write("File.java", "one\ntwo\nthree\nfour\nfive\n") @@ -569,6 +711,10 @@ class FetchTests(unittest.TestCase): third = self.ce.commit("third") self.assertEqual(third, self.fetch("lts-4.2")) + def test_a_local_branch_of_the_same_name_does_not_shadow_the_fetched_tip(self): + self.local("branch", "lts-4.2") + self.assertEqual(self.second, self.fetch("lts-4.2")) + def test_missing_ref_and_option_like_ref_are_rejected(self): with self.assertRaisesRegex(p.Failure, r"(?s)cannot fetch 'missing' from .*couldn't find remote ref missing"): self.fetch("missing") @@ -609,7 +755,7 @@ class CheckCommandTests(unittest.TestCase): self.scope = ["Base.java", "Changed.java", "Fixed.java", "Merged.java", "New.java", "Source.java"] self.output = self.repo / "target/report.json" - def check(self, *args, scope=None): + def check(self, *args, scope=None, base_plugin=fixture_plugin(), normalizer=None): def recognized(content): for header in p.TEMPLATES: if content.startswith(fixture(header).encode()): @@ -639,9 +785,10 @@ class CheckCommandTests(unittest.TestCase): with (patch.object(p.Path, "cwd", return_value=self.repo), patch.object(p, "RELICENSING_COMMIT", self.relicensing), patch.object(p, "read_plugin", return_value=fixture_plugin()), + patch.object(p, "committed_plugin", return_value=p.plugin_signature(base_plugin)), patch.object(p, "discover_scope", return_value=p.Scope(scope or self.scope, [], [], 0)), patch.object(p.Mycila, "current_headers", current_headers), - patch.object(p.Mycila, "strip_headers", strip_headers), + patch.object(p.Mycila, "strip_headers", normalizer or strip_headers), patch.object(p.Mycila, "restamp", restamp), redirect_stdout(io.StringIO()), redirect_stderr(stderr)): code = p.main(["check", "--output", str(self.output), *args]) @@ -737,6 +884,116 @@ class CheckCommandTests(unittest.TestCase): code, report, _ = self.check("--fix", scope=scope) self.assertEqual((0, []), (code, report["removedCurations"])) + def pull_request(self): + self.git("checkout", "-q", "-b", "feature") + return self.git("rev-parse", "master") + + def checked(self, report): + return sorted(row["path"] for row in report["files"]) + + def test_files_changed_during_the_scan_fail_the_check(self): + compare = p.compare + + def edit_while_scanning(*args): + result = compare(*args) + self.git.write("Base.java", fixture("apache") + "edited during the scan\n") + return result + + with patch.object(p, "compare", edit_while_scanning): + code, report, output = self.check() + self.assertEqual((2, None), (code, report)) + self.assertIn("changed during the scan", output) + + def test_since_checks_only_changed_and_untracked_files(self): + target = self.pull_request() + self.git.write("New.java", fixture("apache") + "TB feature\n") + self.git.commit("wrong header on a TB file") + self.git.write("Added.java", fixture(p.NON_CE) + "untracked TB file\n") + code, report, output = self.check("--since", "master", scope=self.scope + ["Added.java"]) + self.assertEqual(1, code) + self.assertEqual(["Added.java", "New.java"], self.checked(report)) + self.assertEqual("mismatch", self.rows(report)["New.java"]["status"]) + self.assertEqual({"since": "master", "mergeBase": target, "full": False, "reason": "2 changed paths"}, + report["selection"]) + self.assertEqual(7, report["scope"]["supported"]) + self.assertIn("Checking 2 of 7 files in scope", output) + self.assertIn("1 finding in 2 changed files", output) + + def test_since_without_changes_checks_nothing_but_orphaned_curations(self): + self.pull_request() + code, report, output = self.check("--since", "master") + self.assertEqual((0, []), (code, report["files"])) + self.assertIn("No changed files to check.", output) + orphaned = dict(path="Gone.java", header=p.NON_CE, reason="Reviewed", contentHash=p.raw_hash(b"gone")) + self.git.write(p.CURATIONS, json.dumps(dict(schemaVersion=1, curations=[orphaned]))) + self.git.commit("curation of a file that is not in scope") + code, report, _ = self.check("--since", "master") + self.assertEqual(1, code) + self.assertEqual(["Gone.java"], [issue["path"] for issue in report["curationIssues"]]) + + def test_since_checks_files_whose_curation_changed(self): + curation = dict(path="New.java", header="apache", reason="Reviewed", + contentHash=p.raw_hash((self.repo / "New.java").read_bytes())) + self.git.write(p.CURATIONS, json.dumps(dict(schemaVersion=1, curations=[curation]))) + self.git.commit("curate New.java") + self.pull_request() + self.git.write(p.CURATIONS, json.dumps(dict(schemaVersion=1, curations=[]))) + self.git.commit("drop the curation") + code, report, _ = self.check("--since", "master") + self.assertEqual(0, code) + self.assertEqual(["New.java"], self.checked(report)) + self.assertEqual("not in CE, no CE evidence", self.rows(report)["New.java"]["reason"]) + + def test_since_checks_every_file_when_new_ce_commits_are_merged(self): + self.pull_request() + self.git("checkout", "-q", "lts-4.3") + self.git.write("Fixed.java", fixture("apache") + "second lts addition\n") + self.git.commit("second CE fix") + self.git("checkout", "-q", "feature") + self.git("merge", "-q", "--no-ff", "lts-4.3", "-m", "integrate second CE fix") + code, report, output = self.check("--since", "master") + self.assertEqual(0, code) + self.assertEqual(sorted(self.scope), self.checked(report)) + self.assertEqual("the CE commits merged into the branch changed", report["selection"]["reason"]) + self.assertTrue(report["selection"]["full"]) + self.assertIn("full check: the CE commits merged into the branch changed", output) + + def test_since_checks_every_file_when_the_check_changes(self): + self.pull_request() + self.git.write(p.TEMPLATES["apache"], "fixture apache, reworded\n") + self.git.commit("change a template") + _, report, _ = self.check("--since", "master") + self.assertEqual(sorted(self.scope), self.checked(report)) + self.assertEqual(f"the check itself changed ({p.TEMPLATES['apache']})", report["selection"]["reason"]) + + def test_since_checks_every_file_when_the_mycila_configuration_changes(self): + self.pull_request() + _, report, _ = self.check("--since", "master", base_plugin=fixture_plugin("1")) + self.assertEqual(sorted(self.scope), self.checked(report)) + self.assertEqual("the Mycila configuration in the root pom.xml changed", report["selection"]["reason"]) + + def test_since_does_not_orphan_curations_of_unchanged_files(self): + curation = dict(path="Source.java", header="apache", reason="Reviewed", + contentHash=p.raw_hash((self.repo / "Source.java").read_bytes())) + self.git.write(p.CURATIONS, json.dumps(dict(schemaVersion=1, curations=[curation]))) + self.git.commit("curate Source.java") + self.pull_request() + self.git.write("New.java", fixture(p.NON_CE) + "TB feature, changed\n") + self.git.commit("unrelated change") + code, report, _ = self.check("--since", "master") + self.assertEqual(0, code) + self.assertEqual(["New.java"], self.checked(report)) + self.assertEqual([], report["curationIssues"]) + + def test_since_needs_shared_history(self): + self.git("checkout", "-q", "--orphan", "unrelated") + self.git.write("Other.java", "other\n") + self.git.commit("unrelated") + self.git("checkout", "-q", "master") + code, _, output = self.check("--since", "unrelated") + self.assertEqual(2, code) + self.assertIn("HEAD shares no history with unrelated", output) + def test_missing_relicensing_commit_fails_before_the_scan(self): self.relicensing = "0" * 40 code, report, output = self.check() @@ -886,10 +1143,183 @@ def stamped(header, extension): return text[:-1] if extension in {"java", "ts"} else text +class CopySearchTests(unittest.TestCase): + check = CheckCommandTests.check + rows = CheckCommandTests.rows + BODY = "".join(f" copied statement number {index};\n" for index in range(40)) + + def test_size_filter_follows_git_similarity_threshold(self): + git = GitFixture(temporary_directory(self), "main") + destination = ("".join(f"line {index:04d}\n" for index in range(100))).encode() + half = destination[:len(destination) // 2] + for source, expected in ((half, True), (half[:-1], False)): + self.assertEqual(expected, p.could_be_copy(len(source), [len(destination)])) + tool = p.Mycila.__new__(p.Mycila) + tool.root, tool.paths, tool.contents = git.root, {}, {} + tool.add(("Source.java", "0" * 40), "Source.java", source) + tool.add(("head", "Destination.java"), "Destination.java", destination) + found = p.normalized_copies(tool, {("Source.java", "0" * 40): "ref"}, {"Destination.java"}, + tool.nonempty()) + self.assertEqual(expected, "Destination.java" in found, f"{len(source)} of {len(destination)} bytes") + for path in ("files", ".git"): + p.run(["rm", "-rf", path], git.root) + + def test_filter_before_normalizing_drops_exactly_the_unreachable_sources(self): + # Normalizing removes a header and never grows a file: a source of raw size r can end up at any size up to r. + for destinations in ([7], [7, 30], [30, 7], [12, 13, 60]): + for raw in range(1, 70): + reachable = any(p.could_be_copy(size, destinations) for size in range(1, raw + 1)) + self.assertEqual(reachable, p.could_shrink_to_copy(raw, destinations), f"{raw} → {destinations}") + + def setUp(self): + self.repo = temporary_directory(self) + self.git = git = GitFixture(self.repo, "master") + git.write(".gitignore", "target/\n") + for category, name in p.TEMPLATES.items(): + git.write(name, f"fixture {category}\n") + git.write(p.CURATIONS, '{"schemaVersion": 1, "curations": []}') + # Sorted CE sources: a/ (small), b/Alpha, c/ (small), e/Gamma. Among all inputs Gamma takes slot 12 and + # Alpha slot 3, so Gamma comes first in the copy search and wins the tie between the identical sources. + for name in ("a/Small0.java", "a/Small1.java", *(f"c/Small{index}.java" for index in range(2, 10))): + git.write(name, fixture("apache") + "x\n") + git.write("b/Alpha.java", fixture("apache") + self.BODY) + git.write("e/Gamma.java", fixture("apache") + self.BODY) + git.commit("CE") + git.write("d/Delta.java", fixture(p.NON_CE) + self.BODY) + self.relicensing = git.commit("relicensing") + self.scope = ["d/Delta.java"] + self.output = self.repo / "target/report.json" + + def test_size_filter_keeps_the_copy_search_result(self): + _, filtered, output = self.check() + with (patch.object(p, "could_shrink_to_copy", return_value=True), + patch.object(p, "could_be_copy", return_value=True)): + _, unfiltered, unfiltered_output = self.check() + self.assertEqual(unfiltered, filtered) + row = self.rows(filtered)["d/Delta.java"] + self.assertEqual(("unresolved", "apache"), (row["status"], row["suggestedHeader"])) + self.assertEqual(["e/Gamma.java"], [copy["path"] for copy in row["copyCandidates"]]) + self.assertIn("2 of 12 other CE files searched for copies", output) + self.assertIn("12 of 12 other CE files searched for copies", unfiltered_output) + + def test_a_file_grown_by_normalizing_fails_the_check(self): + def strip_headers(tool): + tool.removed, tool.stacked = {key: b"" for key in tool.contents}, set() + for key, content in list(tool.contents.items()): + tool.write(key, content + b"appended by a broken normalizer\n") + return {key: p.comparison_hash(content) for key, content in tool.contents.items()} + + code, _, output = self.check(normalizer=strip_headers) + self.assertEqual(2, code) + self.assertIn("Mycila grew these files while removing their headers", output) + + +class CacheTests(unittest.TestCase): + LINES = CheckCommandTests.LINES + setUp = CheckCommandTests.setUp + check = CheckCommandTests.check + + def normalizer(self, seen): + def strip_headers(tool): + seen.append(sorted(tool.contents)) + tool.removed, tool.stacked = {}, set() + for key, body in list(tool.contents.items()): + first, _, rest = body.partition(b"\n") + header = first.startswith(b"// ") + tool.removed[key] = first + b"\n" if header else b"" + tool.write(key, rest if header else body) + return {key: p.comparison_hash(body) for key, body in tool.contents.items()} + return strip_headers + + def cache(self): + return self.repo / p.CACHE_DIRECTORY + + def test_a_second_run_takes_ce_inputs_from_the_cache_and_reports_the_same(self): + first, second = [], [] + _, cold, _ = self.check(normalizer=self.normalizer(first)) + self.assertTrue((self.cache() / p.CACHE_UPDATED).exists()) + _, warm, output = self.check(normalizer=self.normalizer(second)) + self.assertEqual(cold, warm) + self.assertTrue(any(key[0] != "head" for batch in first for key in batch)) + self.assertEqual({"head"}, {key[0] for batch in second for key in batch}) + self.assertFalse((self.cache() / p.CACHE_UPDATED).exists()) + self.assertRegex(output, r"[1-9][0-9]* from the cache") + + def test_without_the_cache_nothing_is_read_or_written(self): + self.check() + seen = [] + _, report, output = self.check("--no-cache", normalizer=self.normalizer(seen)) + self.assertTrue(any(key[0] != "head" for batch in seen for key in batch)) + self.assertIn(" 0 from the cache", output) + shutil_tree = sorted(path.name for path in self.cache().iterdir()) + self.check("--no-cache") + self.assertEqual(shutil_tree, sorted(path.name for path in self.cache().iterdir())) + + def test_entries_are_keyed_by_content_and_file_name(self): + cache = p.NormalizationCache(temporary_directory(self), "signature") + cache.put([(("A.java", "a"), b"// header\nbody\n", b"body\n")]) + self.assertEqual({("moved/A.java", "b"): b"body\n"}, cache.get({("moved/A.java", "b"): b"// header\nbody\n"})) + self.assertEqual({}, cache.get({("B.java", "b"): b"// header\nbody\n"})) + self.assertEqual({}, cache.get({("A.xml", "a"): b"// header\nbody\n"})) + self.assertEqual({}, cache.get({("A.java", "a"): b"// header\nother\n"})) + cache.close() + + def test_signature_follows_everything_that_shapes_normalization(self): + repo = temporary_directory(self) + for header, name in p.TEMPLATES.items(): + (repo / name).parent.mkdir(parents=True, exist_ok=True) + (repo / name).write_text(f"fixture {header}\n") + signature = p.cache_signature(repo, fixture_plugin("1")) + self.assertEqual(signature, p.cache_signature(repo, fixture_plugin("1"))) + self.assertNotEqual(signature, p.cache_signature(repo, fixture_plugin("2"))) + other = p.Plugin("1", ET.fromstring("SLASHSTAR_STYLE")) + self.assertNotEqual(signature, p.cache_signature(repo, other)) + with patch.object(p, "CACHE_FORMAT", "other"): + self.assertNotEqual(signature, p.cache_signature(repo, fixture_plugin("1"))) + (repo / p.TEMPLATES["apache"]).write_text("reworded\n") + self.assertNotEqual(signature, p.cache_signature(repo, fixture_plugin("1"))) + + def test_only_recent_signatures_are_kept_and_the_update_mark_is_fresh(self): + directory = temporary_directory(self) + for index in range(p.CACHE_SIGNATURES_KEPT + 2): + stale = directory / f"old{index}.sqlite" + stale.write_bytes(b"") + os.utime(stale, (index, index)) + (directory / p.CACHE_UPDATED).touch() + cache = p.NormalizationCache(directory, "current") + self.assertFalse((directory / p.CACHE_UPDATED).exists()) + kept = sorted(path.name for path in directory.glob("*.sqlite")) + self.assertEqual(p.CACHE_SIGNATURES_KEPT, len(kept)) + self.assertIn("current.sqlite", kept) + cache.close() + self.assertFalse((directory / p.CACHE_UPDATED).exists()) + + def test_a_damaged_cache_is_started_again(self): + directory = temporary_directory(self) + (directory / "damaged.sqlite").write_bytes(b"not a database, cut off by a failed restore") + cache = p.NormalizationCache(directory, "damaged") + self.assertEqual({}, cache.get({("A.java", "a"): b"raw"})) + cache.put([(("A.java", "a"), b"raw", b"normalized")]) + cache.close() + self.assertEqual({("A.java", "a"): b"normalized"}, + p.NormalizationCache(directory, "damaged").get({("A.java", "a"): b"raw"})) + + def test_the_cache_of_a_branch_checked_long_ago_survives_newer_signatures(self): + directory = temporary_directory(self) + p.NormalizationCache(directory, "revisited").close() + os.utime(directory / "revisited.sqlite", (1, 1)) + for index in range(p.CACHE_SIGNATURES_KEPT): + (directory / f"newer{index}.sqlite").write_bytes(b"") + cache = p.NormalizationCache(directory, "revisited") + cache.put([(("A.java", "a"), b"raw", b"normalized")]) + cache.close() + self.assertTrue((directory / "revisited.sqlite").exists()) + + @unittest.skipUnless(os.environ.get("LICENSE_HEADERS_MAVEN_TESTS") == "1", "opt-in Maven fixtures") class MavenTests(unittest.TestCase): def test_scope_reports_respect_module_relative_exclusions(self): - repo = temporary_directory(self) + repo = temporary_directory(self).resolve() # macOS: /var/folders is a symlink to /private/var/folders p.git(repo, "init") (repo / "header.txt").write_text("SPDX-FileCopyrightText: Copyright Example\n" "SPDX-License-Identifier: Apache-2.0\n") From 9926d4da53a726c2bad92dacf8cbf1e1016d6a39 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 12 Nov 2026 09:59:02 +0200 Subject: [PATCH 244/275] IoT Hub device package update: the retry in the placement test sends the same group and customer, as the wizard does --- .../server/service/iot_hub/DefaultIotHubServiceTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java index b40773644b..a0cde96379 100644 --- a/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/iot_hub/DefaultIotHubServiceTest.java @@ -564,9 +564,10 @@ class DefaultIotHubServiceTest { assertThat(descriptor.getInstallState().get("$placement").get("entityGroupId").asText()).isEqualTo(entityGroupId.toString()); assertThat(descriptor.getInstallState().get("$placement").get("customerId").asText()).isEqualTo(customerId.toString()); - // A retry after the device is gone: the wizard sends the kept placement again, and it stays. - service.removeDevicePackageEntities(user, item.getId(), newVersionId); + // A retry after the device is gone: the wizard sends the same placement again, and it stays. + service.removeDevicePackageEntities(user, item.getId(), newVersionId, entityGroupId, customerId); assertThat(descriptor.getInstallState()).containsOnlyKeys("Configuration", "$placement"); + assertThat(descriptor.getInstallState().get("$placement").get("entityGroupId").asText()).isEqualTo(entityGroupId.toString()); assertThat(descriptor.getInstallState().get("$placement").get("customerId").asText()).isEqualTo(customerId.toString()); } From 139d398168c4399bf2dc0cb58af4ea73c221fa4d Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 12 Nov 2026 09:24:45 +0100 Subject: [PATCH 245/275] Fix license header in EdgeEntityTenantChecker --- .../server/service/edge/EdgeEntityTenantChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java b/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java index d497fede3e..5d3397a509 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/EdgeEntityTenantChecker.java @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-License-Identifier: Apache-2.0 package org.thingsboard.server.service.edge; From ce671c9efc7b31ec2762d1598ff6cb551c0bc38b Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 12 Nov 2026 10:51:31 +0200 Subject: [PATCH 246/275] Recovered a license header cache damaged below its schema; pull requests restore the base branch cache by name --- .github/workflows/check-license-headers.yml | 2 +- .../license-headers/check_license_headers.py | 4 ++++ .../test_check_license_headers.py | 18 ++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-license-headers.yml b/.github/workflows/check-license-headers.yml index d8cebb1815..66d7b295f2 100644 --- a/.github/workflows/check-license-headers.yml +++ b/.github/workflows/check-license-headers.yml @@ -54,7 +54,7 @@ jobs: path: target/license-headers-cache key: license-headers-ce-v1-${{ github.ref_name }}-${{ github.run_id }} restore-keys: | - license-headers-ce-v1-${{ github.ref_name }}- + license-headers-ce-v1-${{ github.base_ref || github.ref_name }}- license-headers-ce-v1- - name: Check license headers diff --git a/tools/src/main/python/license-headers/check_license_headers.py b/tools/src/main/python/license-headers/check_license_headers.py index ec520d9fb9..ec024f470d 100644 --- a/tools/src/main/python/license-headers/check_license_headers.py +++ b/tools/src/main/python/license-headers/check_license_headers.py @@ -936,6 +936,10 @@ class NormalizationCache: def open(self): database = sqlite3.connect(self.path, check_same_thread=False) database.execute("CREATE TABLE IF NOT EXISTS normalized (input TEXT PRIMARY KEY, content BLOB NOT NULL)") + # Opening reads only the schema: a file damaged below it would fail on the first lookup instead. + if database.execute("PRAGMA quick_check").fetchone()[0] != "ok": + database.close() + raise sqlite3.DatabaseError(f"{self.path} is damaged") return database @staticmethod diff --git a/tools/src/main/python/license-headers/test_check_license_headers.py b/tools/src/main/python/license-headers/test_check_license_headers.py index 0756cc41bd..7eb94b401c 100644 --- a/tools/src/main/python/license-headers/test_check_license_headers.py +++ b/tools/src/main/python/license-headers/test_check_license_headers.py @@ -1304,6 +1304,24 @@ class CacheTests(unittest.TestCase): self.assertEqual({("A.java", "a"): b"normalized"}, p.NormalizationCache(directory, "damaged").get({("A.java", "a"): b"raw"})) + def test_a_cache_damaged_after_its_schema_is_started_again(self): + directory = temporary_directory(self) + cache = p.NormalizationCache(directory, "damaged") + cache.put([((f"F{index}.java", "a"), f"raw {index}".encode(), b"normalized" * 400) for index in range(300)]) + cache.close() + database = directory / "damaged.sqlite" + page = 4096 + with database.open("r+b") as file: + # The schema and the root pages stay readable, so the file opens; every lookup below them fails. + file.seek(4 * page) + file.write(b"\xff" * (database.stat().st_size - 4 * page)) + cache = p.NormalizationCache(directory, "damaged") + self.assertEqual({}, cache.get({("F0.java", "a"): b"raw 0"})) + cache.put([(("A.java", "a"), b"raw", b"normalized")]) + cache.close() + self.assertEqual({("A.java", "a"): b"normalized"}, + p.NormalizationCache(directory, "damaged").get({("A.java", "a"): b"raw"})) + def test_the_cache_of_a_branch_checked_long_ago_survives_newer_signatures(self): directory = temporary_directory(self) p.NormalizationCache(directory, "revisited").close() From 2e2ac366c3d886a2430365e4f3b6474f5bbf77fd Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 12 Nov 2026 11:27:57 +0200 Subject: [PATCH 247/275] Copy search under --since takes CE sources of every type a full run takes; a restored cache marker no longer re-saves the cache --- .github/workflows/check-license-headers.yml | 2 + .../src/main/python/license-headers/README.md | 4 +- .../license-headers/check_license_headers.py | 10 +++-- .../test_check_license_headers.py | 44 +++++++++++++++++++ 4 files changed, 56 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-license-headers.yml b/.github/workflows/check-license-headers.yml index 66d7b295f2..54da6cea99 100644 --- a/.github/workflows/check-license-headers.yml +++ b/.github/workflows/check-license-headers.yml @@ -63,6 +63,8 @@ jobs: SINCE: ${{ github.event_name == 'pull_request' && format('origin/{0}', github.base_ref) || '' }} run: | mkdir -p target/license-provenance + # A restored cache carries the marker of the run that saved it; only this run's additions may set it. + rm -f target/license-headers-cache/.updated # The runner does nothing else: use every CPU, not all but one as on a workstation. LICENSE_HEADERS_JOBS="$(nproc)" export LICENSE_HEADERS_JOBS diff --git a/tools/src/main/python/license-headers/README.md b/tools/src/main/python/license-headers/README.md index 0c6fb3300f..9f854b548a 100644 --- a/tools/src/main/python/license-headers/README.md +++ b/tools/src/main/python/license-headers/README.md @@ -67,7 +67,9 @@ are still reported for the whole repository. The check falls back to every file when a change can move the verdict of an unchanged file: new CE commits merged into the branch, a changed Mycila -configuration in the root `pom.xml`, or a change to the check itself. +configuration in the root `pom.xml`, or a change to the check itself. Other +changes to the Mycila scope, such as a module added to ``, do not +trigger it: the files they bring into scope are checked by the next push. ## Fix automatically diff --git a/tools/src/main/python/license-headers/check_license_headers.py b/tools/src/main/python/license-headers/check_license_headers.py index ec024f470d..8839a59f8d 100644 --- a/tools/src/main/python/license-headers/check_license_headers.py +++ b/tools/src/main/python/license-headers/check_license_headers.py @@ -1024,15 +1024,19 @@ def could_shrink_to_copy(raw_size, destinations): return 2 * raw_size >= min(destinations) -def compare(repo, plugin, lineage, contents, cache): +def compare(repo, plugin, lineage, contents, cache, in_scope): names = list(contents) new_paths = {name for name in names if not lineage.versions(name)} + # Copy sources follow every path in scope that CE lacks, not only the checked ones: with --since they would + # otherwise depend on the files a pull request changes and miss copies that a full run finds. Without new paths + # nothing is searched for copies, so no CE file needs to be read for it. + copy_source_types = {name for name in in_scope if not lineage.versions(name)} if new_paths else set() sources = {} for base, files in lineage.trees.items(): for name in names: if name in files: sources.setdefault((name, files[name]), base) - for key in comparable_ce_files(files, new_paths).items(): + for key in comparable_ce_files(files, copy_source_types).items(): sources.setdefault(key, base) versions = {(name, oid) for name in names for _, oid in lineage.versions(name)} # Every input keeps the slot it has among all inputs, so the copy search sees the same paths, and Git breaks @@ -1468,7 +1472,7 @@ def check(args): cache = (NoCache() if args.no_cache else NormalizationCache((repo / args.cache).resolve(), cache_signature(repo, plugin))) try: - comparison = compare(repo, plugin, lineage, contents, cache) + comparison = compare(repo, plugin, lineage, contents, cache, scope.eligible) finally: cache.close() rows = [comparison.classify(name, curations.get(name)) for name in checked] diff --git a/tools/src/main/python/license-headers/test_check_license_headers.py b/tools/src/main/python/license-headers/test_check_license_headers.py index 7eb94b401c..72e21499be 100644 --- a/tools/src/main/python/license-headers/test_check_license_headers.py +++ b/tools/src/main/python/license-headers/test_check_license_headers.py @@ -985,6 +985,50 @@ class CheckCommandTests(unittest.TestCase): self.assertEqual(["New.java"], self.checked(report)) self.assertEqual([], report["curationIssues"]) + def test_since_finds_a_copy_of_a_ce_file_with_another_extension_as_a_full_run_does(self): + # CE sources of the copy search follow the extensions of every path CE lacks: New.java brings .java in. + self.pull_request() + self.git.write("Copy.kt", fixture(p.NON_CE) + self.body) + self.git.commit("copy a CE file into another language") + scope = self.scope + ["Copy.kt"] + _, full, _ = self.check(scope=scope) + code, since, _ = self.check("--since", "master", scope=scope) + self.assertEqual(1, code) + self.assertEqual(["Copy.kt"], self.checked(since)) + row = self.rows(since)["Copy.kt"] + self.assertEqual(self.rows(full)["Copy.kt"], row) + self.assertEqual(("unresolved", ["Source.java"]), + (row["status"], [copy["path"] for copy in row["copyCandidates"]])) + + def test_since_checks_every_file_when_the_merge_base_has_no_ce_bases(self): + self.pull_request() + _, report, output = self.check("--since", "lts-4.3") + self.assertEqual(sorted(self.scope), self.checked(report)) + self.assertEqual("the CE commits merged at the merge base cannot be resolved", report["selection"]["reason"]) + + def test_since_checks_every_curated_file_when_the_target_curations_cannot_be_read(self): + self.git.write(p.CURATIONS, "not JSON") + self.git.commit("damage curations.json") + self.pull_request() + curation = dict(path="Source.java", header="apache", reason="Reviewed", + contentHash=p.raw_hash((self.repo / "Source.java").read_bytes())) + self.git.write(p.CURATIONS, json.dumps(dict(schemaVersion=1, curations=[curation]))) + self.git.commit("repair curations.json") + code, report, _ = self.check("--since", "master") + self.assertEqual(0, code) + self.assertEqual(["Source.java"], self.checked(report)) + self.assertEqual(["Source.java"], report["redundantCurations"]) + + def test_since_does_not_check_every_file_when_only_the_readme_or_curations_of_the_check_change(self): + self.pull_request() + self.git.write(p.README, "notes\n") + self.git.write(p.CURATIONS, '{"schemaVersion": 1, "curations": [] }') + self.git.commit("document the check") + code, report, _ = self.check("--since", "master") + self.assertEqual((0, []), (code, report["files"])) + self.assertEqual({"since": "master", "mergeBase": self.git("rev-parse", "master"), "full": False, + "reason": "2 changed paths"}, report["selection"]) + def test_since_needs_shared_history(self): self.git("checkout", "-q", "--orphan", "unrelated") self.git.write("Other.java", "other\n") From 76e92bbd54ea016ed3586fcd8b710a16b00fc74e Mon Sep 17 00:00:00 2001 From: Nikita Mazurenko Date: Thu, 12 Nov 2026 10:51:54 +0100 Subject: [PATCH 248/275] Fix customer access flag lookup in BaseAiModelProcessor --- .../service/edge/rpc/processor/ai/BaseAiModelProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java index b29c715f64..3ae2959f2b 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java +++ b/application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/ai/BaseAiModelProcessor.java @@ -47,7 +47,7 @@ public abstract class BaseAiModelProcessor extends BaseEdgeProcessor { aiModel.setId(aiModelId); // edge versions without customer access support do not send this field if (!aiModelJson.has("customerAccessEnabled")) { - aiModel.setCustomerAccessEnabled(aiModelById.get().isCustomerAccessEnabled()); + aiModel.setCustomerAccessEnabled(aiModelById.isCustomerAccessEnabled()); } } From 55bea201b94c5353a057ce6c6c9beb2742673240 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 10:55:22 +0100 Subject: [PATCH 249/275] Merge pull request #16626 from mtsymbarov-del/fix/rpc-control-widgets-duplicate-error-toast Fixed RPC errors shown twice in RPC control widgets --- .../json/system/widget_types/basic_gpio_control.json | 4 ++-- .../data/json/system/widget_types/led_indicator.json | 2 +- .../system/widget_types/raspberry_pi_gpio_control.json | 4 ++-- .../data/json/system/widget_types/round_switch.json | 2 +- .../json/system/widget_types/slide_toggle_control.json | 2 +- .../data/json/system/widget_types/switch_control.json | 2 +- .../widget/lib/rpc/led-indicator.component.ts | 2 +- .../widget/lib/rpc/round-switch.component.ts | 2 +- .../home/components/widget/lib/rpc/switch.component.ts | 10 +--------- 9 files changed, 11 insertions(+), 19 deletions(-) diff --git a/application/src/main/data/json/system/widget_types/basic_gpio_control.json b/application/src/main/data/json/system/widget_types/basic_gpio_control.json index 1b7deb52cf..4178099658 100644 --- a/application/src/main/data/json/system/widget_types/basic_gpio_control.json +++ b/application/src/main/data/json/system/widget_types/basic_gpio_control.json @@ -9,9 +9,9 @@ "sizeX": 4, "sizeY": 2, "resources": [], - "templateHtml": "
\n
\n
\n
\n {{ cell.label }}\n
\n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
\n {{ cell.label }}\n
\n
\n \n \n \n
\n
\n
\n {{rpcErrorText}}\n \n
", + "templateHtml": "
\n
\n
\n
\n {{ cell.label }}\n
\n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
\n {{ cell.label }}\n
\n
\n \n \n \n
\n
\n
\n {{ rpcErrorMessage() }}\n \n
", "templateCss": ".error {\n font-size: 14px !important;\n color: maroon;/*rgb(250,250,250);*/\n background-color: transparent;\n padding: 6px;\n}\n\n.error span {\n margin: auto;\n}\n\n.gpio-panel {\n padding-top: 10px;\n white-space: nowrap;\n}\n\n.gpio-panel section.flex-1 {\n min-width: 0px;\n}\n\n\n.switch-panel {\n margin: 0;\n height: 32px;\n width: 66px;\n min-width: 66px;\n}\n\n.switch-panel mat-slide-toggle {\n margin: 0;\n width: 36px;\n min-width: 36px;\n}\n\n.switch-panel.col-0 mat-slide-toggle {\n margin-left: 8px;\n margin-right: 4px;\n}\n\n.switch-panel.col-1 mat-slide-toggle {\n margin-left: 4px;\n margin-right: 8px;\n}\n\n.gpio-row {\n height: 32px;\n}\n\n.pin {\n margin-top: auto;\n margin-bottom: auto;\n color: white;\n font-size: 12px;\n width: 16px;\n min-width: 16px;\n}\n\n.switch-panel.col-0 .pin {\n margin-left: auto;\n padding-left: 2px;\n text-align: right;\n}\n\n.switch-panel.col-1 .pin {\n margin-right: auto;\n\n text-align: left;\n}\n\n.gpio-left-label {\n margin-right: 8px;\n}\n\n.gpio-right-label {\n margin-left: 8px;\n}", - "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.rpcErrorMessage = function() {\n return scope.rpcErrorText ? scope.rpcErrorText.replace(/<\\/?br\\s*\\/?>/gi, '. ') : '';\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "settingsSchema": "", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-gpio-control-widget-settings", diff --git a/application/src/main/data/json/system/widget_types/led_indicator.json b/application/src/main/data/json/system/widget_types/led_indicator.json index 88e845b646..c00a6032ba 100644 --- a/application/src/main/data/json/system/widget_types/led_indicator.json +++ b/application/src/main/data/json/system/widget_types/led_indicator.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-led-indicator-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#e6e7e8\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"title\":\"Led indicator\",\"ledColor\":\"#4caf50\",\"valueAttribute\":\"value\",\"retrieveValueMethod\":\"attribute\",\"parseValueFunction\":\"return data ? true : false;\",\"performCheckStatus\":true,\"checkStatusMethod\":\"checkStatus\"},\"title\":\"Led indicator\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2}" diff --git a/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json b/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json index 5312c55b7f..d5315e4868 100644 --- a/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json +++ b/application/src/main/data/json/system/widget_types/raspberry_pi_gpio_control.json @@ -9,9 +9,9 @@ "sizeX": 6, "sizeY": 10.5, "resources": [], - "templateHtml": "
\n
\n
\n
\n {{ cell.label }}\n
\n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
\n {{ cell.label }}\n
\n
\n \n \n \n
\n
\n
\n {{rpcErrorText}}\n \n
", + "templateHtml": "
\n
\n
\n
\n {{ cell.label }}\n
\n {{cell.pin}}\n \n \n \n \n {{cell.pin}}\n
\n {{ cell.label }}\n
\n
\n \n \n \n
\n
\n
\n {{ rpcErrorMessage() }}\n \n
", "templateCss": ".error {\n font-size: 14px !important;\n color: maroon;/*rgb(250,250,250);*/\n background-color: transparent;\n padding: 6px;\n}\n\n.error span {\n margin: auto;\n}\n\n.gpio-panel {\n padding-top: 10px;\n white-space: nowrap;\n}\n\n.gpio-panel section.flex-1 {\n min-width: 0px;\n}\n\n\n.switch-panel {\n margin: 0;\n height: 32px;\n width: 66px;\n min-width: 66px;\n}\n\n.switch-panel mat-slide-toggle {\n margin: 0;\n width: 36px;\n min-width: 36px;\n}\n\n.switch-panel.col-0 mat-slide-toggle {\n margin-left: 8px;\n margin-right: 4px;\n}\n\n.switch-panel.col-1 mat-slide-toggle {\n margin-left: 4px;\n margin-right: 8px;\n}\n\n.gpio-row {\n height: 32px;\n}\n\n.pin {\n margin-top: auto;\n margin-bottom: auto;\n color: white;\n font-size: 12px;\n width: 16px;\n min-width: 16px;\n}\n\n.switch-panel.col-0 .pin {\n margin-left: auto;\n padding-left: 2px;\n text-align: right;\n}\n\n.switch-panel.col-1 .pin {\n margin-right: auto;\n\n text-align: left;\n}\n\n.gpio-left-label {\n margin-right: 8px;\n}\n\n.gpio-right-label {\n margin-left: 8px;\n}", - "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "var namespace;\nvar cssParser = new cssjs();\n\nself.onInit = function() {\n var utils = self.ctx.$injector.get(self.ctx.servicesMap.get('utils'));\n namespace = 'gpio-control-' + utils.guid();\n cssParser.testMode = false;\n cssParser.cssPreviewNamespace = namespace;\n self.ctx.$container.addClass(namespace);\n self.ctx.ngZone.run(function() {\n init(); \n });\n}\n\nfunction init() {\n \n var i, gpio;\n var scope = self.ctx.$scope;\n var settings = self.ctx.settings;\n scope.gpioList = [];\n for (var g = 0; g < settings.gpioList.length; g++) {\n gpio = settings.gpioList[g];\n scope.gpioList.push(\n {\n row: gpio.row,\n col: gpio.col,\n pin: gpio.pin,\n label: gpio.label,\n enabled: false\n }\n );\n }\n\n scope.requestTimeout = settings.requestTimeout || 1000;\n\n scope.switchPanelBackgroundColor = settings.switchPanelBackgroundColor || tinycolor('green').lighten(2).toRgbString();\n\n scope.gpioStatusRequest = {\n method: \"getGpioStatus\",\n paramsBody: \"{}\"\n };\n \n if (settings.gpioStatusRequest) {\n scope.gpioStatusRequest.method = settings.gpioStatusRequest.method || scope.gpioStatusRequest.method;\n scope.gpioStatusRequest.paramsBody = settings.gpioStatusRequest.paramsBody || scope.gpioStatusRequest.paramsBody;\n }\n \n scope.gpioStatusChangeRequest = {\n method: \"setGpioStatus\",\n paramsBody: \"{\\n \\\"pin\\\": \\\"{$pin}\\\",\\n \\\"enabled\\\": \\\"{$enabled}\\\"\\n}\"\n };\n \n if (settings.gpioStatusChangeRequest) {\n scope.gpioStatusChangeRequest.method = settings.gpioStatusChangeRequest.method || scope.gpioStatusChangeRequest.method;\n scope.gpioStatusChangeRequest.paramsBody = settings.gpioStatusChangeRequest.paramsBody || scope.gpioStatusChangeRequest.paramsBody;\n }\n \n scope.parseGpioStatusFunction = \"return body[pin] === true;\";\n \n if (settings.parseGpioStatusFunction && settings.parseGpioStatusFunction.length > 0) {\n scope.parseGpioStatusFunction = settings.parseGpioStatusFunction;\n }\n \n scope.parseGpioStatusFunction = new Function(\"body, pin\", scope.parseGpioStatusFunction);\n \n function requestGpioStatus() {\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusRequest.method, \n scope.gpioStatusRequest.paramsBody, \n scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n for (var g = 0; g < scope.gpioList.length; g++) {\n var gpio = scope.gpioList[g];\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled; \n self.ctx.detectChanges();\n }\n }\n );\n }\n \n function changeGpioStatus(gpio) {\n var pin = gpio.pin + '';\n var enabled = !gpio.enabled;\n enabled = enabled === true ? 'true' : 'false';\n var paramsBody = scope.gpioStatusChangeRequest.paramsBody;\n var requestBody = JSON.parse(paramsBody.replace(\"\\\"{$pin}\\\"\", pin).replace(\"\\\"{$enabled}\\\"\", enabled));\n self.ctx.controlApi.sendTwoWayCommand(scope.gpioStatusChangeRequest.method, \n requestBody, scope.requestTimeout)\n .subscribe(\n function success(responseBody) {\n var enabled = scope.parseGpioStatusFunction.apply(this, [responseBody, gpio.pin]);\n gpio.enabled = enabled;\n self.ctx.detectChanges();\n }\n );\n }\n \n scope.gpioCells = {};\n var rowCount = 0;\n for (i = 0; i < scope.gpioList.length; i++) {\n gpio = scope.gpioList[i];\n scope.gpioCells[gpio.row+'_'+gpio.col] = gpio;\n rowCount = Math.max(rowCount, gpio.row+1);\n }\n \n scope.prefferedRowHeight = 32;\n scope.rows = [];\n for (i = 0; i < rowCount; i++) {\n var row = [];\n for (var c =0; c<2;c++) {\n if (scope.gpioCells[i+'_'+c]) {\n row[c] = scope.gpioCells[i+'_'+c];\n } else {\n row[c] = null;\n }\n }\n scope.rows.push(row);\n }\n\n scope.gpioClick = function($event, gpio) {\n if (scope.rpcEnabled && !scope.executingRpcRequest) {\n changeGpioStatus(gpio);\n }\n };\n \n scope.rpcErrorMessage = function() {\n return scope.rpcErrorText ? scope.rpcErrorText.replace(/<\\/?br\\s*\\/?>/gi, '. ') : '';\n };\n \n scope.gpioToggleChange = function($event, gpio) {\n gpio.enabled = !$event.checked;\n $event.source.toggle();\n self.ctx.detectChanges();\n }\n \n if (scope.rpcEnabled) {\n requestGpioStatus(); \n }\n \n self.onResize();\n}\n\nself.onResize = function() {\n var scope = self.ctx.$scope;\n var rowCount = scope.rows.length;\n var prefferedRowHeight = (self.ctx.height - 35)/rowCount;\n prefferedRowHeight = Math.min(32, prefferedRowHeight);\n prefferedRowHeight = Math.max(12, prefferedRowHeight);\n scope.prefferedRowHeight = prefferedRowHeight;\n var ratio = prefferedRowHeight/32;\n \n var css = '.mat-slide-toggle .mat-slide-toggle-bar {\\n' +\n ' height: ' + 14*ratio+'px;\\n'+\n ' width: ' + 36*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb-container {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-thumb {\\n' +\n ' height: ' + 20*ratio+'px;\\n'+\n ' width: ' + 20*ratio+'px;\\n'+\n '}\\n';\n css += '.mat-slide-toggle .mat-slide-toggle-ripple {\\n' +\n ' height: ' + 40*ratio+'px;\\n'+\n ' width: ' + 40*ratio+'px;\\n'+\n ' top: calc(50% - '+20*ratio+'px);\\n'+\n ' left: calc(50% - '+20*ratio+'px);\\n'+\n '}\\n';\n css += '.gpio-left-label, .gpio-right-label {\\n' +\n ' font-size: ' + 16*ratio+'px;\\n'+\n '}\\n';\n var pinsFontSize = Math.max(9, 12*ratio);\n css += '.pin {\\n' +\n ' font-size: ' + pinsFontSize+'px;\\n'+\n '}\\n';\n\n cssParser.createStyleElement(namespace, css);\n \n self.ctx.detectChanges();\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "settingsSchema": "", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-gpio-control-widget-settings", diff --git a/application/src/main/data/json/system/widget_types/round_switch.json b/application/src/main/data/json/system/widget_types/round_switch.json index bb826771ff..cad0f8ec3c 100644 --- a/application/src/main/data/json/system/widget_types/round_switch.json +++ b/application/src/main/data/json/system/widget_types/round_switch.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-round-switch-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#e6e7e8\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"getValueMethod\":\"getValue\",\"setValueMethod\":\"setValue\",\"title\":\"Round switch\",\"retrieveValueMethod\":\"rpc\",\"valueKey\":\"value\",\"parseValueFunction\":\"return data ? true : false;\",\"convertValueFunction\":\"return value;\"},\"title\":\"Round switch\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2}" diff --git a/application/src/main/data/json/system/widget_types/slide_toggle_control.json b/application/src/main/data/json/system/widget_types/slide_toggle_control.json index b614af2aeb..9fabfc39d0 100644 --- a/application/src/main/data/json/system/widget_types/slide_toggle_control.json +++ b/application/src/main/data/json/system/widget_types/slide_toggle_control.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-slide-toggle-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#ffffff\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"getValueMethod\":\"getValue\",\"setValueMethod\":\"setValue\",\"title\":\"Slide toggle control\",\"retrieveValueMethod\":\"rpc\",\"valueKey\":\"value\",\"parseValueFunction\":\"return data ? true : false;\",\"convertValueFunction\":\"return value;\",\"requestPersistent\":false,\"labelPosition\":\"after\",\"sliderColor\":\"accent\"},\"title\":\"Slide Toggle Control\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2,\"widgetCss\":\"\",\"noDataDisplayMessage\":\"\"}" diff --git a/application/src/main/data/json/system/widget_types/switch_control.json b/application/src/main/data/json/system/widget_types/switch_control.json index 6cc7e7c7eb..fe42b8cb8f 100644 --- a/application/src/main/data/json/system/widget_types/switch_control.json +++ b/application/src/main/data/json/system/widget_types/switch_control.json @@ -11,7 +11,7 @@ "resources": [], "templateHtml": "", "templateCss": "", - "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n", + "controllerScript": "self.onInit = function() {\n}\n\nself.onResize = function() {\n}\n\nself.onDestroy = function() {\n}\n\nself.typeParameters = function() {\n return {\n displayRpcMessageToast: false\n };\n}\n", "dataKeySettingsSchema": "{}\n", "settingsDirective": "tb-switch-control-widget-settings", "defaultConfig": "{\"targetDeviceAliases\":[],\"showTitle\":false,\"backgroundColor\":\"#e6e7e8\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"requestTimeout\":500,\"initialValue\":false,\"getValueMethod\":\"getValue\",\"setValueMethod\":\"setValue\",\"showOnOffLabels\":true,\"title\":\"Switch control\"},\"title\":\"Switch Control\",\"dropShadow\":true,\"enableFullscreen\":false,\"widgetStyle\":{},\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"showLegend\":false,\"actions\":{},\"decimals\":2}" diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts index a0eb933bd1..115b148223 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts @@ -227,7 +227,7 @@ export class LedIndicatorComponent extends PageComponent implements OnInit, OnDe } private onError(error: string) { - this.error = error; + this.error = error ? error.replace(/<\/?br\s*\/?>/gi, '. ') : error; this.setFontSize(this.ledError, this.error, this.ledErrorContainer.height(), this.ledErrorContainer.width()); this.ctx.detectChanges(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts index 05a93e434f..cb52419820 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts @@ -223,7 +223,7 @@ export class RoundSwitchComponent extends PageComponent implements OnInit, OnDes } private onError(error: string) { - this.error = error; + this.error = error ? error.replace(/<\/?br\s*\/?>/gi, '. ') : error; this.setFontSize(this.switchError, this.error, this.switchErrorContainer.height(), this.switchErrorContainer.width()); this.ctx.detectChanges(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts index 095177bffa..5b5da6295d 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts @@ -255,7 +255,7 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD } private onError(error: string) { - this.error = error; + this.error = error ? error.replace(/<\/?br\s*\/?>/gi, '. ') : error; if (this.switchType === 'switch') { this.setFontSize(this.switchError, this.error, this.switchErrorContainer.height(), this.switchErrorContainer.width()); } @@ -280,10 +280,6 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD }, () => { const errorText = this.ctx.defaultSubscription.rpcErrorText; - if (this.switchType === 'slide-toggle') { - this.ctx.defaultSubscription.rpcErrorText = null; - this.ctx.hideToast(this.ctx.toastTargetId); - } this.onError(errorText); } ); @@ -310,10 +306,6 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD () => { this.executingUpdateValue = false; const errorText = this.ctx.defaultSubscription.rpcErrorText; - if (this.switchType === 'slide-toggle') { - this.ctx.defaultSubscription.rpcErrorText = null; - this.ctx.hideToast(this.ctx.toastTargetId); - } this.onError(errorText); } ); From 3b2d1dafd8261c57650b03c418c66ac7c1e4b52d Mon Sep 17 00:00:00 2001 From: Oleksandra Matviienko Date: Thu, 12 Nov 2026 11:08:29 +0100 Subject: [PATCH 250/275] Fixed compile error in default TBEL downlink converters for TTN, TTI and ChirpStack integrations --- .../main/resources/converters/CHIRPSTACK/downlink/tbel.raw | 5 +++-- .../src/main/resources/converters/TTI/downlink/tbel.raw | 5 +++-- .../src/main/resources/converters/TTN/downlink/tbel.raw | 5 +++-- .../server/controller/ConverterControllerTest.java | 1 + .../CHIRPSTACK/downlink/test/default/expected.json | 5 +++++ .../converters/CHIRPSTACK/downlink/test/default/payload.json | 3 +++ .../converters/TTI/downlink/test/default/expected.json | 5 +++++ .../converters/TTI/downlink/test/default/payload.json | 3 +++ .../converters/TTN/downlink/test/default/expected.json | 5 +++++ .../converters/TTN/downlink/test/default/payload.json | 3 +++ 10 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json create mode 100644 application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json create mode 100644 application/src/test/resources/converters/TTI/downlink/test/default/expected.json create mode 100644 application/src/test/resources/converters/TTI/downlink/test/default/payload.json create mode 100644 application/src/test/resources/converters/TTN/downlink/test/default/expected.json create mode 100644 application/src/test/resources/converters/TTN/downlink/test/default/payload.json diff --git a/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw b/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw index 3e8ec1d4b1..c2139ca26b 100644 --- a/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw +++ b/application/src/main/resources/converters/CHIRPSTACK/downlink/tbel.raw @@ -15,9 +15,10 @@ // EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. // Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; // as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. +// If powerState is present, encode it to base64; otherwise fall back to 'unspecified'. var base64Payload = (msg.powerState != null) - ? btoa(msg.powerState) // if powerState is present, encode it to base64 - : btoa('unspecified'); // fall back to 'unspecified' when absent + ? btoa(msg.powerState) + : btoa('unspecified'); // Result object with encoded downlink payload var result = { diff --git a/application/src/main/resources/converters/TTI/downlink/tbel.raw b/application/src/main/resources/converters/TTI/downlink/tbel.raw index a8306cddab..e6f37e8fdc 100644 --- a/application/src/main/resources/converters/TTI/downlink/tbel.raw +++ b/application/src/main/resources/converters/TTI/downlink/tbel.raw @@ -19,9 +19,10 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') // EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. // Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; // as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. +// If powerState is present, encode it to base64; otherwise fall back to 'unspecified'. var base64Payload = (msg.powerState != null) - ? btoa(msg.powerState) // if powerState is present, encode it to base64 - : btoa('unspecified'); // fall back to 'unspecified' when absent + ? btoa(msg.powerState) + : btoa('unspecified'); // The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { diff --git a/application/src/main/resources/converters/TTN/downlink/tbel.raw b/application/src/main/resources/converters/TTN/downlink/tbel.raw index a8306cddab..e6f37e8fdc 100644 --- a/application/src/main/resources/converters/TTN/downlink/tbel.raw +++ b/application/src/main/resources/converters/TTN/downlink/tbel.raw @@ -19,9 +19,10 @@ var fPort = (metadata.cs_fPort != null && metadata.cs_fPort != '') // EXAMPLE — replace this: it encodes a single field ('powerState') from the downlink message. // Swap 'powerState' (and the 'unspecified' fallback) for the field(s) and encoding your device expects; // as written, any downlink without a 'powerState' field sends the constant value 'unspecified'. +// If powerState is present, encode it to base64; otherwise fall back to 'unspecified'. var base64Payload = (msg.powerState != null) - ? btoa(msg.powerState) // if powerState is present, encode it to base64 - : btoa('unspecified'); // fall back to 'unspecified' when absent + ? btoa(msg.powerState) + : btoa('unspecified'); // The Things Stack (TTN/TTI) expects a 'downlinks' array; each entry is a single scheduled downlink. var data = { diff --git a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java index 7dbb04f21f..8b5d993186 100644 --- a/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/ConverterControllerTest.java @@ -747,6 +747,7 @@ public class ConverterControllerTest extends AbstractControllerTest { @Test public void testDefaultDownlinkConverters() throws Exception { Resource[] expectedFiles = new PathMatchingResourcePatternResolver().getResources("classpath*:converters/*/downlink/test/*/expected.json"); + assertThat(expectedFiles).isNotEmpty(); SoftAssertions softly = new SoftAssertions(); for (Resource expectedFile : expectedFiles) { diff --git a/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json new file mode 100644 index 0000000000..a1b38e3c5c --- /dev/null +++ b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/expected.json @@ -0,0 +1,5 @@ +{ + "contentType": "TEXT", + "data": "b24=", + "metadata": {} +} diff --git a/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json new file mode 100644 index 0000000000..699fe6a1f1 --- /dev/null +++ b/application/src/test/resources/converters/CHIRPSTACK/downlink/test/default/payload.json @@ -0,0 +1,3 @@ +{ + "powerState": "on" +} diff --git a/application/src/test/resources/converters/TTI/downlink/test/default/expected.json b/application/src/test/resources/converters/TTI/downlink/test/default/expected.json new file mode 100644 index 0000000000..c05157e7f7 --- /dev/null +++ b/application/src/test/resources/converters/TTI/downlink/test/default/expected.json @@ -0,0 +1,5 @@ +{ + "contentType": "JSON", + "data": "{\"downlinks\":[{\"f_port\":1,\"confirmed\":false,\"frm_payload\":\"b24=\",\"priority\":\"NORMAL\"}]}", + "metadata": {} +} diff --git a/application/src/test/resources/converters/TTI/downlink/test/default/payload.json b/application/src/test/resources/converters/TTI/downlink/test/default/payload.json new file mode 100644 index 0000000000..699fe6a1f1 --- /dev/null +++ b/application/src/test/resources/converters/TTI/downlink/test/default/payload.json @@ -0,0 +1,3 @@ +{ + "powerState": "on" +} diff --git a/application/src/test/resources/converters/TTN/downlink/test/default/expected.json b/application/src/test/resources/converters/TTN/downlink/test/default/expected.json new file mode 100644 index 0000000000..c05157e7f7 --- /dev/null +++ b/application/src/test/resources/converters/TTN/downlink/test/default/expected.json @@ -0,0 +1,5 @@ +{ + "contentType": "JSON", + "data": "{\"downlinks\":[{\"f_port\":1,\"confirmed\":false,\"frm_payload\":\"b24=\",\"priority\":\"NORMAL\"}]}", + "metadata": {} +} diff --git a/application/src/test/resources/converters/TTN/downlink/test/default/payload.json b/application/src/test/resources/converters/TTN/downlink/test/default/payload.json new file mode 100644 index 0000000000..699fe6a1f1 --- /dev/null +++ b/application/src/test/resources/converters/TTN/downlink/test/default/payload.json @@ -0,0 +1,3 @@ +{ + "powerState": "on" +} From 83b8ffdc8f0e512e1bedee7f2492d07dd0e1b607 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 12 Nov 2026 12:48:02 +0200 Subject: [PATCH 251/275] Keep only the leading numeric part of the project version --- .../server/service/install/ProjectInfo.java | 2 +- .../service/install/ProjectInfoTest.java | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java diff --git a/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java b/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java index be5ada895e..6b8aa122ed 100644 --- a/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java +++ b/application/src/main/java/org/thingsboard/server/service/install/ProjectInfo.java @@ -16,7 +16,7 @@ public class ProjectInfo { public String getProjectVersion() { return buildProperties.orElseThrow(() -> new IllegalStateException("Build properties are missing. Please rebuild the project with maven")) - .getVersion().replaceAll("[^\\d.]", ""); + .getVersion().replaceAll("[^\\d.].*$", ""); } public String getProductType() { diff --git a/application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java b/application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java new file mode 100644 index 0000000000..ce3e48faa2 --- /dev/null +++ b/application/src/test/java/org/thingsboard/server/service/install/ProjectInfoTest.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: Copyright The Thingsboard Authors +// SPDX-License-Identifier: Apache-2.0 +package org.thingsboard.server.service.install; + +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.CsvSource; +import org.springframework.boot.info.BuildProperties; + +import java.util.Optional; +import java.util.Properties; + +import static org.assertj.core.api.Assertions.assertThat; + +class ProjectInfoTest { + + @ParameterizedTest + @CsvSource({ + "4.2.2, 4.2.2", + "4.2.2-SNAPSHOT, 4.2.2", + "4.2.2PE-SNAPSHOT, 4.2.2", + "4.2.2.8PE, 4.2.2.8", + "4.2.2PAAS.cbeee8ba6f2, 4.2.2", + "4.2.2-RC1, 4.2.2" + }) + void keepsOnlyTheLeadingNumericVersion(String buildVersion, String expected) { + Properties properties = new Properties(); + properties.setProperty("version", buildVersion); + + assertThat(new ProjectInfo(Optional.of(new BuildProperties(properties))).getProjectVersion()).isEqualTo(expected); + } + +} From a277e7ba8e610842e5ba5e0d3c2b21eace219c29 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 12:05:18 +0100 Subject: [PATCH 252/275] Fixed action settings popover position when its content resizes (#16568) * Fixed action settings popover position when its content resizes * Fixed PR comments --- .../timewindow-style-panel.component.html | 5 +-- .../timewindow-style-panel.component.ts | 4 +-- ...value-action-settings-panel.component.html | 2 +- ...value-action-settings-panel.component.html | 2 +- ...idget-action-settings-panel.component.html | 5 +-- .../background-settings-panel.component.html | 2 +- .../background-settings-panel.component.ts | 8 ++--- .../color-settings-panel.component.html | 2 +- .../common/color-settings-panel.component.ts | 4 +-- .../common/font-settings-panel.component.html | 5 +-- .../common/font-settings-panel.component.ts | 1 - ...-layer-color-settings-panel.component.html | 2 +- ...ta-layer-color-settings-panel.component.ts | 4 +-- ...marker-image-settings-panel.component.html | 5 +-- .../marker-image-settings-panel.component.ts | 4 +-- ...e-fill-image-settings-panel.component.html | 5 +-- ...ape-fill-image-settings-panel.component.ts | 4 +-- .../shared/components/popover.component.ts | 4 ++- .../popover-content-resize.directive.ts | 35 +++++++++++++++++++ .../src/app/shared/directives/public-api.ts | 1 + ui-ngx/src/app/shared/shared.module.ts | 3 ++ 21 files changed, 74 insertions(+), 33 deletions(-) create mode 100644 ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts diff --git a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html index cc6c4c03b0..a8cdc056a8 100644 --- a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.html @@ -1,10 +1,11 @@ -
+
timewindow.style
diff --git a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts index 16ecc35538..9835c26848 100644 --- a/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/config/timewindow-style-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { defaultTimewindowStyle, TimewindowStyle } from '@shared/models/widget-settings.models'; @@ -63,7 +64,6 @@ export class TimewindowStylePanelComponent extends PageComponent implements OnIn ).subscribe((timewindowStyle: TimewindowStyle) => { if (this.timewindowStyleFormGroup.valid) { this.updatePreviewStyle(timewindowStyle); - setTimeout(() => {this.popover?.updatePosition();}, 0); } }); this.timewindowStyleFormGroup.get('showIcon').valueChanges.pipe( diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html index 3560e331cd..82f0df9847 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/get-value-action-settings-panel.component.html @@ -7,7 +7,7 @@ -->
{{ panelTitle }}
-
+
{{ 'widgets.value-action.action' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html index 1b72d7d7a6..91d43c87ea 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/set-value-action-settings-panel.component.html @@ -7,7 +7,7 @@ -->
{{ panelTitle }}
-
+
{{ 'widgets.value-action.action' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html index 4f4780c818..0c0c3b3150 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/action/widget-action-settings-panel.component.html @@ -1,12 +1,13 @@
{{ panelTitle }}
-
+
-
+
widgets.background.background-settings
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts index a4913b29a6..347aabe0ef 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/background-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { ChangeDetectorRef, Component, @@ -79,11 +80,6 @@ export class BackgroundSettingsPanelComponent extends PageComponent implements O }) } ); - this.backgroundSettingsFormGroup.get('type').valueChanges.pipe( - takeUntilDestroyed(this.destroyRef) - ).subscribe(() => { - setTimeout(() => {this.popover?.updatePosition();}, 0); - }); this.backgroundSettingsFormGroup.get('overlay').get('enabled').valueChanges.pipe( takeUntilDestroyed(this.destroyRef) ).subscribe(() => { diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html index 888b390651..01f8fdfab9 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.html @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 --> -
+
widgets.color.color-settings
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts index efeee82166..005bde4637 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { @@ -98,7 +99,6 @@ export class ColorSettingsPanelComponent extends PageComponent implements OnInit takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html index 92782e54e2..a640bf349a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.html @@ -1,10 +1,11 @@ -
+
widgets.widget-font.font-settings
widgets.widget-font.size
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts index 9f6afc8705..7d3a891d02 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/font-settings-panel.component.ts @@ -124,7 +124,6 @@ export class FontSettingsPanelComponent extends PageComponent implements OnInit ).subscribe((font: Font) => { if (this.fontFormGroup.valid) { this.updatePreviewStyle(font); - setTimeout(() => {this.popover?.updatePosition();}, 0); } }); this.filteredFontFamilies = this.fontFormGroup.get('family').valueChanges diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html index cd63c2f34d..fd23e88972 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.html @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 --> -
+
widgets.maps.data-layer.color-settings
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts index 5cea52d25b..22430501ba 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/data-layer-color-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { TbPopoverComponent } from '@shared/components/popover.component'; @@ -78,7 +79,6 @@ export class DataLayerColorSettingsPanelComponent extends PageComponent implemen takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html index d8590bb6b5..703e005a87 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.html @@ -1,10 +1,11 @@ -
+
widgets.maps.data-layer.marker.marker-image
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts index ae0aa51fd8..3b45775852 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/marker-image-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { PageComponent } from '@shared/components/page.component'; import { TbPopoverComponent } from '@shared/components/popover.component'; @@ -56,7 +57,6 @@ export class MarkerImageSettingsPanelComponent extends PageComponent implements takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html index e297c2f04c..9e457720ae 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.html @@ -1,10 +1,11 @@ -
+
widgets.maps.data-layer.shape.fill-image
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts index 7ab46185ad..3b4b93a545 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/shape-fill-image-settings-panel.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { Component, DestroyRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { TbPopoverComponent } from '@shared/components/popover.component'; import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; @@ -52,7 +53,6 @@ export class ShapeFillImageSettingsPanelComponent implements OnInit { takeUntilDestroyed(this.destroyRef) ).subscribe(() => { this.updateValidators(); - setTimeout(() => {this.popover?.updatePosition();}, 0); }); this.updateValidators(); } diff --git a/ui-ngx/src/app/shared/components/popover.component.ts b/ui-ngx/src/app/shared/components/popover.component.ts index 2a419ef573..f67aa17a78 100644 --- a/ui-ngx/src/app/shared/components/popover.component.ts +++ b/ui-ngx/src/app/shared/components/popover.component.ts @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 import { AfterViewInit, ChangeDetectionStrategy, @@ -312,6 +313,7 @@ export class TbPopoverDirective implements OnChanges, OnDestroy, AfterViewInit { [cdkConnectedOverlayOpen]="visible" [cdkConnectedOverlayPush]="!strictPosition" [cdkConnectedOverlayFlexibleDimensions]="strictPosition" + [cdkConnectedOverlayGrowAfterOpen]="strictPosition" (overlayOutsideClick)="onClickOutside($event)" (detach)="hide()" (positionChange)="onPositionChange($event)" diff --git a/ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts b/ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts new file mode 100644 index 0000000000..860855ee3b --- /dev/null +++ b/ui-ngx/src/app/shared/directives/popover-content-resize.directive.ts @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: BUSL-1.1 +import { AfterViewInit, Directive, ElementRef, inject, OnDestroy } from '@angular/core'; +import { TbPopoverComponent } from '@shared/components/popover.component'; + +@Directive({ + selector: '[tbPopoverContentResize]', + standalone: false +}) +export class PopoverContentResizeDirective implements AfterViewInit, OnDestroy { + private readonly elementRef = inject>(ElementRef); + private readonly popover = inject(TbPopoverComponent, { optional: true }); + + private readonly resizeObserver = new ResizeObserver(() => this.popover.updatePosition()); + private readonly mutationObserver = new MutationObserver(() => this.observeChildren()); + + ngAfterViewInit(): void { + if (this.popover) { + this.observeChildren(); + this.mutationObserver.observe(this.elementRef.nativeElement, {childList: true}); + } + } + + ngOnDestroy(): void { + this.mutationObserver.disconnect(); + this.resizeObserver.disconnect(); + } + + private observeChildren(): void { + this.resizeObserver.disconnect(); + for (const child of Array.from(this.elementRef.nativeElement.children)) { + this.resizeObserver.observe(child); + } + } +} diff --git a/ui-ngx/src/app/shared/directives/public-api.ts b/ui-ngx/src/app/shared/directives/public-api.ts index 04315102e3..826e22345b 100644 --- a/ui-ngx/src/app/shared/directives/public-api.ts +++ b/ui-ngx/src/app/shared/directives/public-api.ts @@ -7,3 +7,4 @@ export * from './ellipsis-chip-list.directive'; export * from './context-menu.directive'; export * from './form-row.directive'; export * from './chip-overflow.directive'; +export * from './popover-content-resize.directive'; diff --git a/ui-ngx/src/app/shared/shared.module.ts b/ui-ngx/src/app/shared/shared.module.ts index dac1f06ded..8810e8a506 100644 --- a/ui-ngx/src/app/shared/shared.module.ts +++ b/ui-ngx/src/app/shared/shared.module.ts @@ -56,6 +56,7 @@ import { HUGERTE_ASSETS_PATH } from '@shared/models/hugerte/hugerte.models'; import { UserMenuComponent } from '@shared/components/user-menu.component'; import { AutofocusDirective } from '@shared/directives/auto-focus.directive'; import { TruncateWithTooltipDirective } from '@shared/directives/truncate-with-tooltip.directive'; +import { PopoverContentResizeDirective } from '@shared/directives/popover-content-resize.directive'; import { ContextMenuDirective } from '@shared/directives/context-menu.directive'; import { ChipOverflowDirective } from '@shared/directives/chip-overflow.directive'; import { NospacePipe } from '@shared/pipe/nospace.pipe'; @@ -457,6 +458,7 @@ export function MarkedOptionsFactory(markedOptionsService: MarkedOptionsService) ChipOverflowDirective, PhotoSwipeGalleryDirective, AutocompleteAutoScrollRepositionDirective, + PopoverContentResizeDirective, NospacePipe, MillisecondsToTimeStringPipe, EnumToArrayPipe, @@ -769,6 +771,7 @@ export function MarkedOptionsFactory(markedOptionsService: MarkedOptionsService) ChipOverflowDirective, PhotoSwipeGalleryDirective, AutocompleteAutoScrollRepositionDirective, + PopoverContentResizeDirective, NospacePipe, MillisecondsToTimeStringPipe, EnumToArrayPipe, From c65ec540ea215296348402f195380e81edd77bf1 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 12:35:49 +0100 Subject: [PATCH 253/275] Fixed trips data layer crash on invalid marker/path coordinates (#15906) * Added maps guard trips data layer against invalid marker/path coordinates * Fixed PR comments --- .../lib/maps/data-layer/trips-data-layer.ts | 64 +++++++++++-------- 1 file changed, 39 insertions(+), 25 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts index 82d2b23125..0883049517 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/data-layer/trips-data-layer.ts @@ -87,7 +87,8 @@ class TbTripDataItem extends TbDataLayerItem this.dataLayer.dataProcessor.extractLocation(data, dsData)); + const locations = this.extractPathLocations(formattedRouteData, dsData); const pathStyle = this.dataLayer.getPathStyle(this.pointData, dsData); this.polyline = L.polyline(locations, pathStyle); this.polyline.addTo(this.layer); @@ -205,7 +225,7 @@ class TbTripDataItem extends TbDataLayerItem this.dataLayer.dataProcessor.extractLocation(data, dsData)); + const locations = this.extractPathLocations(formattedRouteData, dsData); this.polyline.setLatLngs(locations); if (this.settings.usePathDecorator) { this.polylineDecorator.setPaths(this.polyline); @@ -214,6 +234,10 @@ class TbTripDataItem extends TbDataLayerItem[], dsData: FormattedData[]): L.LatLng[] { + return data.map(item => this.dataLayer.dataProcessor.extractLocation(item, dsData)).filter(location => !!location); + } + private updatePoints() { if (this.settings.showPoints) { if (!this.pointsContainer) { @@ -285,15 +309,8 @@ class TbTripDataItem extends TbDataLayerItem, dsData: FormattedData[]) { - const location = this.dataLayer.dataProcessor.extractLocation(data, dsData); - if (!this.marker.getLatLng().equals(location)) { - this.marker.setLatLng(location); - } - } - private updateMarkerIcon(data: FormattedData, dsData: FormattedData[]) { - if (this.settings.showMarker) { + if (this.settings.showMarker && this.marker) { this.dataLayer.dataProcessor.createMarkerIcon(data, dsData, data.rotationAngle).subscribe( (iconInfo) => { const options = deepClone(iconInfo.icon.options); @@ -600,25 +617,22 @@ export class TbTripsDataLayer extends TbMapDataLayer[]): FormattedData[] { - const firstHistoricalDataIndexCoordinate = dataSource.findIndex(this.findFirstHistoricalDataIndexCoordinate); - if (firstHistoricalDataIndexCoordinate === -1) { + const firstValidIndex = dataSource.findIndex(this.hasValidLocation); + if (firstValidIndex === -1) { return []; } - let lastIndex = dataSource.length - 1; - for (lastIndex; lastIndex > 0; lastIndex--) { - if (this.findFirstHistoricalDataIndexCoordinate(dataSource[lastIndex])) { - lastIndex++; - break; - } + let lastValidIndex = dataSource.length - 1; + while (lastValidIndex > firstValidIndex && !this.hasValidLocation(dataSource[lastValidIndex])) { + lastValidIndex--; } - if (firstHistoricalDataIndexCoordinate > 0 || lastIndex < dataSource.length) { - return dataSource.slice(firstHistoricalDataIndexCoordinate, lastIndex); + if (firstValidIndex > 0 || lastValidIndex < dataSource.length - 1) { + return dataSource.slice(firstValidIndex, lastValidIndex + 1); } return dataSource; } - private findFirstHistoricalDataIndexCoordinate = (item: FormattedData): boolean => { - return isDefined(item[this.settings.xKey.label]) && isDefined(item[this.settings.yKey.label]); + private hasValidLocation = (item: FormattedData): boolean => { + return !!this.dataProcessor.extractLocationData(item); } } From 5c435dc468404981a2c6cef0ba35771ea2c88b2e Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 13:53:11 +0100 Subject: [PATCH 254/275] Unified spacing between tabs and content across tabbed pages (#16476) * Fixed inconsistent spacing between tabs and content when switching tabs on Settings and Mobile center pages * PR comments fixes * Unified tab-to-content spacing via shared tb-content-card class and spacing variables * Fixed PR comments * Fixed license headers * Fixed License page key card width and spacing --------- Co-authored-by: Vladyslav_Prykhodko --- .../entity/entity-details-page.component.scss | 12 +++-- .../pe-pack/request-pe-pack.component.scss | 3 +- .../vc/auto-commit-settings.component.scss | 4 +- .../admin/license-management.component.html | 8 +-- .../admin/license-management.component.scss | 20 +------- .../home/pages/admin/settings-card.scss | 8 +-- .../agent-app-profiles-page.component.scss | 50 +++++++++++++++++++ .../agent-app-profiles-page.component.ts | 44 +--------------- .../custom-menu-config.component.scss | 17 +++---- .../custom-menu-table.component.scss | 10 ++-- .../translation-table.component.scss | 12 ++--- .../translation-table.component.ts | 3 ++ .../home/pages/profile/profile.component.html | 2 +- .../home/pages/profile/profile.component.scss | 5 -- .../pages/security/security.component.html | 10 ++-- .../pages/security/security.component.scss | 10 ---- .../trendz-settings.component.html | 2 +- ui-ngx/src/scss/constants.scss | 4 ++ ui-ngx/src/scss/mixins.scss | 11 +++- ui-ngx/src/styles.scss | 8 ++- 20 files changed, 115 insertions(+), 128 deletions(-) create mode 100644 ui-ngx/src/app/modules/home/pages/agent/agent-app-profiles-page.component.scss diff --git a/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss b/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss index c7cd4ec04d..5642681a4e 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss +++ b/ui-ngx/src/app/modules/home/components/entity/entity-details-page.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import "../../../../../scss/constants"; :host { @@ -10,10 +11,13 @@ overflow: hidden; .settings-card { - margin: 8px; + margin: $tb-content-spacing; + @media #{$mat-gt-sm} { + margin: $tb-content-spacing-gt-sm; + } padding: 0; - width: 100%; - height: 100%; + flex: 1; + min-height: 0; display: flex; flex-direction: column; diff --git a/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss b/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss index 3972ee0965..4af7566a15 100644 --- a/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss +++ b/ui-ngx/src/app/modules/home/components/pe-pack/request-pe-pack.component.scss @@ -4,9 +4,10 @@ :host { width: 100%; - padding-top: 16px; + padding-top: $tb-content-spacing; padding-bottom: 48px; @media #{$mat-gt-sm} { + padding-top: $tb-content-spacing-gt-sm; padding-left: 16px; padding-right: 16px; } diff --git a/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss b/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss index 1b85d116b2..29887ae600 100644 --- a/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss +++ b/ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss @@ -1,8 +1,8 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 :host { .mat-mdc-card.auto-commit-settings { - margin: 8px; .mat-divider { position: relative; } diff --git a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html index 23d92bcf89..c71fbab53a 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/license-management.component.html @@ -115,7 +115,7 @@ @switch (manageLicenseState) { @case (ManageLicenseState.MANAGE) { @if (newLicenseApplied) { - + {{ 'subscription.new-license-applied' | translate }} } - +
@@ -284,7 +284,7 @@ } - + @@ -300,7 +300,7 @@ } @case (ManageLicenseState.ENTER_KEY) { - +
`, - styles: [` - :host { - display: block; - height: 100%; - width: 100%; - } - .tb-app-profiles-page { - display: flex; - flex-direction: column; - height: 100%; - min-height: 0; - } - .tb-app-profiles-page-quick-start { - flex: 0 0 auto; - display: grid; - grid-template-rows: 1fr; - margin: 16px 16px 0; - opacity: 1; - visibility: visible; - transition: grid-template-rows 400ms cubic-bezier(0.25, 0.8, 0.25, 1), - margin 400ms cubic-bezier(0.25, 0.8, 0.25, 1), - opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1), - visibility 0s linear 0s; - } - .tb-app-profiles-page-quick-start.collapsed { - grid-template-rows: 0fr; - margin-top: 0; - opacity: 0; - pointer-events: none; - visibility: hidden; - transition: none; - } - .tb-app-profiles-page-quick-start-inner { - min-height: 0; - overflow: hidden; - } - .tb-app-profiles-page-table { - flex: 1 1 auto; - min-height: 0; - display: block; - position: relative; - } - `], + styleUrls: ['./agent-app-profiles-page.component.scss'], standalone: false }) export class AgentAppProfilesPageComponent implements OnInit, OnDestroy { diff --git a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss index 0885c9d76c..1c7483ec24 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss +++ b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-config.component.scss @@ -1,21 +1,20 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 @import "constants"; +@import "mixins"; tb-custom-menu-config { - height: 100%; + flex: 1; + min-height: 0; + display: flex; + flex-direction: column; } .tb-custom-menu-config-card { + @include tb-content-card; padding: 0; - margin: 8px; - height: calc(100% - 16px); - - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } - + flex: 1; + min-height: 0; display: flex; flex-direction: column; diff --git a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss index 93a0d35ea5..3e91fc24ac 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss +++ b/ui-ngx/src/app/modules/home/pages/custom-menu/custom-menu-table.component.scss @@ -4,14 +4,10 @@ @import "mixins"; :host { + @include tb-content-card; position: relative; - height: 100%; - margin: 8px; - - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } + flex: 1; + min-height: 0; } :host ::ng-deep { diff --git a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss index 25bb6b9e50..81f58b0d21 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss +++ b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.scss @@ -1,17 +1,11 @@ // SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. // SPDX-License-Identifier: BUSL-1.1 -@import "constants"; - :host { position: relative; - height: 100%; + height: auto; width: auto; - margin: 8px; - - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } + flex: 1; + min-height: 0; .tb-entity-table { .tb-entity-table-content { diff --git a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts index 5ac5e723ed..a9c4dcd787 100644 --- a/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts +++ b/ui-ngx/src/app/modules/home/pages/custom-translation/translation-table.component.ts @@ -27,6 +27,9 @@ import { UserPermissionsService } from '@core/http/user-permissions.service'; selector: 'tb-translation-table', templateUrl: './translation-table.component.html', styleUrls: ['../../components/entity/entities-table.component.scss', './translation-table.component.scss'], + host: { + 'class': 'tb-content-card' + }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false }) diff --git a/ui-ngx/src/app/modules/home/pages/profile/profile.component.html b/ui-ngx/src/app/modules/home/pages/profile/profile.component.html index aef247ecaa..f9bb0c5f75 100644 --- a/ui-ngx/src/app/modules/home/pages/profile/profile.component.html +++ b/ui-ngx/src/app/modules/home/pages/profile/profile.component.html @@ -6,7 +6,7 @@ -->
- +
diff --git a/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss b/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss index e652b05ac1..39c5de0818 100644 --- a/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss +++ b/ui-ngx/src/app/modules/home/pages/profile/profile.component.scss @@ -5,11 +5,6 @@ :host { .mat-mdc-card.profile-card { - margin: 8px; - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } .mat-headline-5 { margin: 0; } diff --git a/ui-ngx/src/app/modules/home/pages/security/security.component.html b/ui-ngx/src/app/modules/home/pages/security/security.component.html index 0faddba0e9..5576cc7dd0 100644 --- a/ui-ngx/src/app/modules/home/pages/security/security.component.html +++ b/ui-ngx/src/app/modules/home/pages/security/security.component.html @@ -5,8 +5,8 @@ SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 --> -
- +
+ profile.jwt-token @@ -21,7 +21,7 @@
@if (resource.API_KEY | hasGenericPermission: operation.READ) { - +
api-key.api-keys @@ -37,7 +37,7 @@ } @if (resource.PROFILE | hasGenericPermission: operation.WRITE) { - +
@@ -176,7 +176,7 @@ } @if (allowTwoFactorProviders.length && (resource.PROFILE | hasGenericPermission: operation.WRITE)) { - + admin.2fa.2fa diff --git a/ui-ngx/src/app/modules/home/pages/security/security.component.scss b/ui-ngx/src/app/modules/home/pages/security/security.component.scss index 0f51cd2740..12aa0725b4 100644 --- a/ui-ngx/src/app/modules/home/pages/security/security.component.scss +++ b/ui-ngx/src/app/modules/home/pages/security/security.component.scss @@ -1,17 +1,7 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors // SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. // SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 -@import "constants"; - :host { - .profile-container { - margin: 8px; - @media #{$mat-gt-sm} { - width: 700px; - margin: 8px auto; - } - } - .mat-mdc-card.profile-card { padding: 24px; diff --git a/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html b/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html index 8bb74383e6..adaa12e088 100644 --- a/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html +++ b/ui-ngx/src/app/modules/home/pages/trendz-settings/trendz-settings.component.html @@ -4,7 +4,7 @@ SPDX-License-Identifier: BUSL-1.1 --> -
+
diff --git a/ui-ngx/src/scss/constants.scss b/ui-ngx/src/scss/constants.scss index 002ce54958..f6ad4eea36 100644 --- a/ui-ngx/src/scss/constants.scss +++ b/ui-ngx/src/scss/constants.scss @@ -22,4 +22,8 @@ $mat-md-lg: "screen and (min-width: 960px) and (max-width: 1819px)"; $popover-bg: #fff; +$tb-content-spacing: 8px; +$tb-content-spacing-gt-sm: 16px; +$tb-content-card-width: 700px; + $sidenav-anim-timing: 400ms cubic-bezier(0.25, 0.8, 0.25, 1); diff --git a/ui-ngx/src/scss/mixins.scss b/ui-ngx/src/scss/mixins.scss index 33336351b0..262197b109 100644 --- a/ui-ngx/src/scss/mixins.scss +++ b/ui-ngx/src/scss/mixins.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @use "sass:math"; @mixin tb-mat-icon-size($size) { @@ -54,3 +55,11 @@ @return $x1; } + +@mixin tb-content-card() { + margin: $tb-content-spacing; + @media #{$mat-gt-sm} { + width: $tb-content-card-width; + margin: $tb-content-spacing-gt-sm auto; + } +} diff --git a/ui-ngx/src/styles.scss b/ui-ngx/src/styles.scss index 42b01a636f..dd9fbd8c9a 100644 --- a/ui-ngx/src/styles.scss +++ b/ui-ngx/src/styles.scss @@ -693,12 +693,16 @@ pre.tb-highlight { } .mat-padding { - padding: 8px; + padding: $tb-content-spacing; @media #{$mat-gt-sm} { - padding: 16px; + padding: $tb-content-spacing-gt-sm; } } + .tb-content-card { + @include tb-content-card; + } + .mat-content { position: relative; overflow: auto; From 0e7e729175c2e4f04467ad3f7715fe590efccabb Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 12 Nov 2026 14:13:42 +0100 Subject: [PATCH 255/275] Unified style for info/warning notes (#16469) * Unified style for info/warning notes * Fixed license headers * Unified notes: address review comments * Fixed PR comments --- .../home/components/agent/_agent-shared.scss | 24 --- .../agent-install-instructions.component.html | 4 +- .../agent-install-instructions.component.scss | 5 - ...agent-auto-provision-dialog.component.html | 22 ++- ...agent-auto-provision-dialog.component.scss | 30 ---- .../agent/wizard/_agent-wizard.scss | 45 ------ .../agent-app-install-flow.component.html | 13 +- .../agent-app-update-flow.component.html | 8 +- .../agent-app-upgrade-flow.component.html | 4 +- .../check-connectivity-dialog.component.scss | 5 +- .../ai/ai-approval-card.component.scss | 4 +- .../components/ai/ai-credits.component.scss | 8 +- .../alarm-rule-details-dialog.component.html | 3 +- ...alarm-rule-condition-dialog.component.html | 3 +- .../alarm/alarm-comment.component.scss | 2 +- .../api-key-generated-dialog.component.html | 10 +- .../api-key-generated-dialog.component.scss | 6 - ...ulated-field-argument-panel.component.html | 8 +- ...lated-field-arguments-table.component.html | 2 +- ...lated-field-arguments-table.component.scss | 9 +- ...ntity-aggregation-component.component.html | 10 +- ...eofencing-zone-groups-panel.component.html | 2 +- ...eofencing-zone-groups-panel.component.scss | 9 +- ...eofencing-zone-groups-table.component.html | 2 +- ...culated-field-metrics-table.component.html | 2 +- ...ed-field-reprocessing-panel.component.html | 5 +- ...ed-field-reprocessing-panel.component.scss | 2 +- ...entity-debug-settings-panel.component.html | 8 +- .../iot-hub-install-dialog.component.html | 8 +- .../iot-hub-install-dialog.component.scss | 14 +- .../iot-hub/iot-hub-markdown.component.scss | 38 +---- .../iot-hub/iot-hub-markdown.component.ts | 5 +- ...ile-transport-configuration.component.html | 6 +- .../device-profile-config.component.html | 8 +- .../gps-geo-action-config.component.html | 16 +- .../common/credentials-config.component.html | 5 +- .../common/example-hint.component.html | 33 ++-- .../common/kv-map-config-old.component.html | 8 +- ...emetry-from-database-config.component.html | 11 +- ...emetry-from-database-config.component.scss | 35 +--- .../rest-api-call-config.component.html | 10 +- .../gps-geo-filter-config.component.html | 8 +- .../vc/auto-commit-settings.component.html | 5 +- ...le-app-qr-code-basic-config.component.html | 4 +- .../lib/cards/api-usage-widget.component.scss | 14 +- .../cluster-info-table.component.scss | 11 +- .../license-usage-info.component.scss | 2 +- .../usage-info-widget.component.scss | 9 +- .../home/components/widget/lib/maps/map.scss | 2 +- ...app-qr-code-widget-settings.component.html | 4 +- .../common/key/data-key-config.component.html | 44 ++--- .../integration-wizard-dialog.component.html | 5 +- .../integration-wizard-dialog.component.scss | 12 +- .../admin/general-settings.component.html | 8 +- .../admin/general-settings.component.scss | 7 +- .../admin/license-management.component.html | 8 +- .../admin/license-management.component.scss | 25 --- .../agent/agent-application.component.html | 8 +- .../agent/agent-application.component.scss | 17 -- ...install-instructions-dialog.component.scss | 5 - ...gent-profile-created-dialog.component.html | 18 +-- ...gent-profile-created-dialog.component.scss | 45 ------ ...ent-profile-merged-profiles.component.html | 2 +- ...ent-profile-merged-profiles.component.scss | 21 --- .../pages/agent/agent-profile.component.html | 12 +- .../pages/agent/agent-profile.component.scss | 86 ---------- ...t-app-event-progress-dialog.component.html | 8 +- ...t-app-event-progress-dialog.component.scss | 19 --- ...-app-profile-upgrade-dialog.component.html | 7 +- ...-profile-bulk-action-dialog.component.html | 151 ++++++++++-------- ...-profile-bulk-action-dialog.component.scss | 126 ++++++--------- ...agent-profile-preset-dialog.component.html | 14 +- ...agent-profile-preset-dialog.component.scss | 45 ------ .../agent-app-profile-wizard.component.html | 8 +- .../agent-app-profile-wizard.component.scss | 4 - .../agent-profile-wizard.component.html | 22 +-- .../agent-profile-wizard.component.scss | 45 ------ .../issues-popover.component.scss | 4 +- .../solution-info-dialog.component.scss | 8 +- .../translation-map-table.component.scss | 6 +- ...ake-dashboard-public-dialog.component.html | 5 +- ...ublic-dashboard-link.dialog.component.html | 5 +- ...e-check-connectivity-dialog.component.scss | 14 +- .../edge-instructions-dialog.component.html | 4 +- .../edge-instructions-dialog.component.scss | 21 --- .../integration/integration.component.html | 5 +- .../integration/integration.component.scss | 10 -- ...ile-qr-code-widget-settings.component.html | 4 +- ...ile-qr-code-widget-settings.component.scss | 14 +- .../sent-notification-dialog.component.scss | 11 -- ...tion-template-configuration.component.html | 20 ++- ...tion-template-configuration.component.scss | 8 +- .../task-info-panel.component.scss | 6 +- ...gation-options-config-panel.component.html | 8 +- ...terval-options-config-panel.component.html | 6 +- .../assets/locale/locale.constant-en_US.json | 1 + ui-ngx/src/form.scss | 21 +++ ui-ngx/src/styles.scss | 7 - ui-ngx/src/theme/theme-constants.scss | 1 + 99 files changed, 479 insertions(+), 993 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss b/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss index 666741c3f4..c44b7923e8 100644 --- a/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss +++ b/ui-ngx/src/app/modules/home/components/agent/_agent-shared.scss @@ -8,7 +8,6 @@ $agent-text-hint: rgba(0, 0, 0, 0.38); $agent-divider: rgba(0, 0, 0, 0.12); $agent-divider-light: rgba(0, 0, 0, 0.08); -$agent-ink-76: rgba(0, 0, 0, 0.76); $agent-ink-60: rgba(0, 0, 0, 0.6); $agent-ink-42: rgba(0, 0, 0, 0.42); $agent-ink-24: rgba(0, 0, 0, 0.24); @@ -33,9 +32,7 @@ $agent-error-surface: #fdecea; $agent-error-surface-light: #ffebee; $agent-info-surface: #e3f2fd; $agent-warning-surface: #fff8e1; -$agent-warning-text: #6d4c00; $agent-warning-border: #ffe082; -$agent-warning-icon: #c79100; $agent-code-bg: #1e1e1e; $agent-code-fg: #d4d4d4; $agent-editor-fg: #1f2328; @@ -66,27 +63,6 @@ $agent-type-generic-fg: #6a1b9a; @include agent-type-palette; } -@mixin agent-info-box { - display: flex; - align-items: flex-start; - gap: 12px; - padding: 12px 16px; - border-radius: 4px; - font-size: 13px; - line-height: 1.5; - mat-icon { - flex-shrink: 0; - font-size: 20px; - width: 20px; - height: 20px; - } -} - -@mixin agent-info-box-tone { - background: $agent-info-surface; - color: $agent-color-info; -} - @mixin agent-command-block { position: relative; background: $agent-code-bg; diff --git a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html index 4d07407836..3e7222143f 100644 --- a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.html @@ -29,8 +29,8 @@
{{ dockerCommand }}
-
- info +
+ info_outline agent.install-instructions-replace-hint
diff --git a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss index c498e8018f..4373feb38f 100644 --- a/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss +++ b/ui-ngx/src/app/modules/home/components/agent/agent-install-instructions.component.scss @@ -88,8 +88,3 @@ } } } - -.tb-info-box { - @include agent-info-box; - @include agent-info-box-tone; -} diff --git a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html index ba758ca850..88855e5893 100644 --- a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.html @@ -20,11 +20,11 @@ -
- auto_awesome +
+ info_outline
-

{{ infoTitleKey | translate }}

-

{{ infoBodyKey | translate }}

+
{{ infoTitleKey | translate }}
+
{{ infoBodyKey | translate }}
@@ -135,19 +135,15 @@
{{ dockerCommand }}
-
- info -
-

{{ infoBodyKey | translate }}

-
+
+ info_outline + {{ infoBodyKey | translate }}
} @else { -
+
error_outline -
-

edge.auto-provision-no-script

-
+ edge.auto-provision-no-script
} diff --git a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss index 4204d78207..c3f58c4989 100644 --- a/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/agent/dialog/agent-auto-provision-dialog.component.scss @@ -118,36 +118,6 @@ } } -.tb-info-box { - @include agent-info-box; - margin: 0 0 16px; - - p { - margin: 0 0 6px; - font-size: inherit; - line-height: inherit; - &:last-child { margin-bottom: 0; } - } - - .info-title { - font-weight: 500; - } - - &.info { - background: $agent-info-surface; - color: $agent-color-info; - - mat-icon { color: $agent-color-info; } - } - - &.invalid { - background: $agent-error-surface; - color: $agent-color-error; - - mat-icon { color: $agent-color-error; } - } -} - .success-banner { display: flex; align-items: center; diff --git a/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss b/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss index 49a8d13fd7..689721caf0 100644 --- a/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss +++ b/ui-ngx/src/app/modules/home/components/agent/wizard/_agent-wizard.scss @@ -128,24 +128,6 @@ @mixin wizard-step-basics { .hint { font-size: 13px; color: $agent-text-secondary; margin: 0 0 16px; } - .tb-app-compose-hint { - display: flex; - align-items: center; - gap: 6px; - margin-bottom: 16px; - padding: 6px 10px; - border-radius: 4px; - background: $agent-warning-surface; - color: $agent-warning-text; - font-size: 12px; - .tb-app-compose-hint-icon { - font-size: 16px; - width: 16px; - height: 16px; - color: $agent-warning-icon; - } - } - .loading-state, .error-state { display: flex; align-items: center; gap: 12px; padding: 12px; color: $agent-text-secondary; } @@ -162,27 +144,6 @@ .config-toggle { display: flex; justify-content: center; margin-bottom: 16px; } - - .tb-agent-deploy-note { - display: flex; - align-items: flex-start; - gap: 10px; - margin: 0 0 16px; - padding: 12px 16px; - border-radius: 8px; - background: color-mix(in srgb, var(--tb-primary-500) 6%, transparent); - font-size: 13px; - line-height: 1.5; - color: $agent-ink-76; - - mat-icon { - flex-shrink: 0; - color: var(--tb-primary-500); - font-size: 20px; - width: 20px; - height: 20px; - } - } } @mixin wizard-type-cards { @@ -496,10 +457,4 @@ .tb-type-badge { @include agent-type-badge; } - - .info-box { - @include agent-info-box; - @include agent-info-box-tone; - margin-bottom: 16px; - } } diff --git a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html index 9be619233e..8714ed94dc 100644 --- a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-install-flow.component.html @@ -55,9 +55,8 @@ } @if (selectAgent && !embedded && !checkingManaged && !managedApp) { -
- auto_awesome +
+ info_outline agent.deploy-via-agent-desc
} @@ -236,8 +235,8 @@ } @if (relatedEntityId) { -
- info_outline +
+ info_outline agent.app-compose-creds-overridden-hint
} @@ -300,8 +299,8 @@
}
-
- info +
+ info_outline agent.app-install-confirm-info
@if (relatedEntityId) { -
- info_outline +
+ info_outline agent.app-compose-creds-overridden-hint
} @@ -167,8 +167,8 @@ }
-
- info +
+ info_outline agent.app-install-confirm-info
diff --git a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html index d9a7ea8f85..aba02480fa 100644 --- a/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html +++ b/ui-ngx/src/app/modules/home/components/agent/wizard/agent-app-upgrade-flow.component.html @@ -167,8 +167,8 @@
}
-
- info +
+ info_outline agent.app-upgrade-rollback-info
@if (isNoData) { -
+
+ info_outline {{ 'alarm-rule.condition-type-hint' | translate }}
} diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss index d5e65c439a..91f07bce91 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.scss @@ -225,7 +225,7 @@ $border: 1px solid mat.m2-get-color-from-palette($tb-primary); } .red-button { - color: #D12730; + color: var(--tb-crit); } .mat-form-field { diff --git a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html index 7f88ab5be1..36c8999fed 100644 --- a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.html @@ -86,10 +86,12 @@
device.connectivity.execute-following-command
-
- warning - {{ 'api-key.generated-api-key-insecure-url' | translate }} -
+ @if (!secureUrl) { +
+ warning + {{ 'api-key.generated-api-key-insecure-url' | translate }} +
+ }
diff --git a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss index 810077ed52..c3ce2e93ee 100644 --- a/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/api-key/api-key-generated-dialog.component.scss @@ -14,12 +14,6 @@ min-height: 42px; } - .insecure-url-warning { - .mat-icon { - color: #FAA405; - } - } - @media #{$mat-sm} { width: 470px; } diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html index 1be553205c..6f6c84cc2f 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-argument-panel.component.html @@ -1,15 +1,17 @@
{{ 'calculated-fields.argument-settings' | translate }}
@if (hint) { -
- {{ hint | translate }} +
+ info_outline + {{ hint | translate }}
}
diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html index 0ea3c7c290..aa23c6871a 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.html @@ -147,7 +147,7 @@ } @if (maxArgumentsPerCF && argumentsFormArray.length >= maxArgumentsPerCF) { -
+
warning {{ 'calculated-fields.hint.max-args' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss index e946e9b8df..0090390195 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/calculated-field-arguments/calculated-field-arguments-table.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 :host { .arguments-table { min-height: 108px; @@ -32,12 +33,6 @@ font-size: 16px; } - .max-args-warning { - .mat-icon { - color: #FAA405; - } - } - .tb-form-table-row-cell-buttons { --mat-badge-legacy-small-size-container-size: 8px; --mat-badge-small-size-container-overlap-offset: -5px; diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html index 164d85cc75..f7ebf6cfd6 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/entity-aggregation-configuration/entity-aggregation-component.component.html @@ -10,8 +10,9 @@
{{ 'calculated-fields.arguments' | translate }}
-
- {{ 'calculated-fields.entity-aggregation.argument-hint' | translate }} +
+ info_outline + {{ 'calculated-fields.entity-aggregation.argument-hint' | translate }}
-
- {{ hint }} +
+ info_outline + {{ hint }}
}
diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html index 78b9bca5a1..e5e6c1fd7a 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.html @@ -156,7 +156,7 @@
@if (maxRelationLevelPerCfArgument && levelsFormArray().length >= maxRelationLevelPerCfArgument) { -
+
warning {{ 'calculated-fields.max-allowed-levels-error' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss index 1993234b7d..8d397ac264 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-panel.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import '../../../../../../../scss/constants'; :host { @@ -31,12 +32,6 @@ } } - .max-args-warning { - .mat-icon { - color: #FAA405; - } - } - .limit-field-row { @media screen and (max-width: 520px) { display: flex; diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html index 9eedfe33ba..df7e6e92ec 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/geofencing-configuration/calculated-field-geofencing-zone-groups-table.component.html @@ -146,7 +146,7 @@ } @if (maxArgumentsPerCF && zoneGroupsFormArray.length >= maxArgumentsPerCF) { -
+
warning {{ 'calculated-fields.hint.max-geofencing-zone' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html index c0beaec543..ca59af4c7c 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/metrics/calculated-field-metrics-table.component.html @@ -134,7 +134,7 @@ } @if (maxArgumentsPerCF && metricsFormArray.length >= maxArgumentsPerCF) { -
+
warning {{ 'calculated-fields.metrics.max-metrics' | translate }}
diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html b/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html index 362a8da097..78b8a44074 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/reprocessing/calculated-field-reprocessing-panel.component.html @@ -15,8 +15,9 @@
} @case (ReprocessingState.CONFIG) { -
- {{ 'calculated-fields.hint.reprocessing' | translate }} +
+ info_outline + {{ 'calculated-fields.hint.reprocessing' | translate }}
debug-settings.label
@if (maxMessagesCount) {
-
- {{ 'debug-settings.hint.main-limited' | translate: { entity: (entityLabel | translate | lowercase), msg: maxMessagesCount, time: (maxTimeFrameDuration | milliSecondsToTimeString: true : true) } }} +
+ info_outline + {{ 'debug-settings.hint.main-limited' | translate: { entity: (entityLabel | translate | lowercase), msg: maxMessagesCount, time: (maxTimeFrameDuration | milliSecondsToTimeString: true : true) } }}
} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html index bd5f7a6775..905db77aca 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.html @@ -1,7 +1,8 @@
@@ -77,7 +78,10 @@ }

@if (planSummary.missing > 0) { -

{{ 'iot-hub.install-plan-missing-warning' | translate:{ count: planSummary.missing } }}

+
+ warning + {{ 'iot-hub.install-plan-missing-warning' | translate:{ count: planSummary.missing } }} +
}
    @for (entry of installPlan?.entries; track entry.itemId) { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss index b9fabe0fd0..f8f6a045be 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-install-dialog.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 @import "../../../../../scss/constants"; tb-entity-select { @@ -44,17 +45,6 @@ tb-entity-select { padding-bottom: 24px; } -.tb-iot-hub-install-warning { - color: #b26a00; - background: #fff8e1; - border-left: 3px solid #f5b324; - padding: 8px 12px; - font-size: 13px; - line-height: 18px; - border-radius: 4px; - margin: 0; -} - .tb-iot-hub-plan-list { list-style: none; padding: 0; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss index 27344c659b..8c5ec3e5d5 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.scss @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 $text-color: rgba(0,0,0,0.76); $link-color: #2a7dec; $copy-button-color: #2a7dec; @@ -371,41 +372,6 @@ $gallery-border-hover-color: #2a7dec; } } - .tb-callout { - display: flex; - align-items: flex-start; - gap: 10px; - padding: 12px 16px; - border-radius: 4px; - border: 1px solid; - margin: 12px 0; - font-size: 14px; - line-height: 20px; - - .tb-callout-icon { - font-size: 20px; - flex-shrink: 0; - } - - &.tb-callout-note { - background: #e3f2fd; - border-color: #90caf9; - color: #1565c0; - } - - &.tb-callout-warn { - background: #fff8e1; - border-color: #ffe082; - color: #f57f17; - } - - &.tb-callout-error { - background: #fce4ec; - border-color: #ef9a9a; - color: #c62828; - } - } - .tb-gallery-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts index f70adf196a..4bdfabf879 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-markdown.component.ts @@ -222,8 +222,9 @@ export class TbIotHubMarkdownComponent implements OnInit, OnChanges { if (calloutMatch) { const type = calloutMatch[1]; const text = calloutMatch[2]; - const icons: Record = { note: 'info_outline', warn: 'warning_amber', error: 'error_outline' }; - return `
    ${icons[type]}${text}
    `; + const icons: Record = { note: 'info_outline', warn: 'warning', error: 'error_outline' }; + const modifiers: Record = { note: '', warn: ' tb-form-hint-warning', error: ' tb-form-hint-error' }; + return `
    ${text}
    `; } // Special variables diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html index 15f5b47343..641aa53838 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html @@ -46,9 +46,9 @@
    @if (!isTransportWasRunWithBootstrap) { -
    - warning - LwM2M transport was run without bootstrap server +
    + warning + device-profile.lwm2m.transport-run-without-bootstrap-server
    } diff --git a/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html index 72bebe8663..287e362610 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/action/device-profile-config.component.html @@ -1,11 +1,15 @@
    -
    rule-node-config.device-profile-node-hint
    +
    + info_outline + rule-node-config.device-profile-node-hint +
    diff --git a/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html index 6f7c9768ab..841ecca07b 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/action/gps-geo-action-config.component.html @@ -1,7 +1,8 @@
    @@ -28,7 +29,10 @@ }
    -
    rule-node-config.coordinate-field-hint
    +
    + info_outline + rule-node-config.coordinate-field-hint +
    @@ -154,9 +158,11 @@ }
-
{{ geoActionConfigForm.get('reportPresenceStatusOnEachMessage').value === false ? - ('rule-node-config.presence-monitoring-strategy-on-first-message-hint' | translate) : - ('rule-node-config.presence-monitoring-strategy-on-each-message-hint' | translate) }} +
+ info_outline + {{ geoActionConfigForm.get('reportPresenceStatusOnEachMessage').value === false ? + ('rule-node-config.presence-monitoring-strategy-on-first-message-hint' | translate) : + ('rule-node-config.presence-monitoring-strategy-on-each-message-hint' | translate) }}
@if (geoActionConfigForm.get('reportPresenceStatusOnEachMessage').value === false) { diff --git a/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html index f8c355bfbf..002dcba031 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/common/credentials-config.component.html @@ -52,7 +52,10 @@ } @case("cert.PEM") { -
{{ 'rule-node-config.credentials-pem-hint' | translate }}
+
+ info_outline + {{ 'rule-node-config.credentials-pem-hint' | translate }} +
-
-
- @if (popupHelpLink) { -
-
- } -
+@if (hintText) { +
+ info_outline +
+ @if (popupHelpLink) { +
+
+ } +
+} diff --git a/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html b/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html index 85120828d5..273e8e328f 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/common/kv-map-config-old.component.html @@ -1,12 +1,16 @@
@if (description) { -
+
+ info_outline + +
} @if (keyValsFormArray().controls.length || !emptyText) {
diff --git a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html index ae70e36b62..c0ae088831 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.html @@ -94,9 +94,9 @@
-
- error_outline -
+
+ {{ getTelemetryFromDatabaseConfigForm.get('interval').valid ? 'info_outline' : 'error_outline' }} + @if (getTelemetryFromDatabaseConfigForm.get('interval').valid) { {{ 'rule-node-config.fetch-timeseries-from-to' | translate: { @@ -108,7 +108,7 @@ } @else { {{ "rule-node-config.fetch-timeseries-from-to-invalid" | translate }} } -
+
} @else { @@ -152,7 +152,8 @@
- {{ deduplicationStrategiesHintTranslations.get(getTelemetryFromDatabaseConfigForm.get('fetchMode').value) | translate }} + info_outline + {{ deduplicationStrategiesHintTranslations.get(getTelemetryFromDatabaseConfigForm.get('fetchMode').value) | translate }}
@if (getTelemetryFromDatabaseConfigForm.get('fetchMode').value === fetchMode.ALL) { diff --git a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss index 41f1d98916..0999a2d1d3 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss +++ b/ui-ngx/src/app/modules/home/components/rule-node/enrichment/get-telemetry-from-database-config.component.scss @@ -1,43 +1,12 @@ // SPDX-FileCopyrightText: Copyright The ThingsBoard Authors -// SPDX-License-Identifier: Apache-2.0 +// SPDX-FileCopyrightText: Modifications Copyright ThingsBoard, Inc. +// SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1 :host { .see-example { display: inline-block; } - .description-block { - display: flex; - align-items: center; - border-radius: 6px; - border: 1px solid #EAEAEA; - - .description-icon { - font-size: 24px; - height: 24px; - min-height: 24px; - width: 24px; - min-width: 24px; - line-height: 24px; - color: #D9D9D9; - margin: 4px; - } - - .description-text { - font-size: 12px; - line-height: 16px; - letter-spacing: 0.25px; - margin: 6px; - } - - &.error { - color: var(--mat-theme-error, #f44336); - - .description-icon { - color: var(--mat-theme-error, #f44336); - } - } - } .item-center { align-items: center; diff --git a/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html b/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html index ff0c88665c..16accc7980 100644 --- a/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html +++ b/ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.html @@ -51,7 +51,10 @@ {{ 'rule-node-config.headers' | translate }} -
+
+ info_outline + +
@if(!restApiCallConfigForm.get('ignoreRequestBody').value) { -
+
+ info_outline + +
rule-node-config.request-body-template