diff --git a/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java b/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java index ad9edd430c..e28baac8ad 100644 --- a/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java +++ b/application/src/test/java/org/thingsboard/server/controller/TranslationControllerTest.java @@ -80,7 +80,7 @@ public class TranslationControllerTest extends AbstractControllerTest { JsonNode fullSystemTranslation = doGet("/api/translation/full/" + ES_ES, JsonNode.class); assertThat(fullSystemTranslation.get("save").asText()).isEqualTo("system"); assertThat(fullSystemTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullSystemTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullSystemTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); // get full tenant translation loginTenantAdmin(); @@ -88,7 +88,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(fullTenantTranslation.get("save").asText()).isEqualTo("system"); assertThat(fullTenantTranslation.get("update").asText()).isEqualTo("tenant"); assertThat(fullTenantTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullTenantTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullTenantTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); // get full customer custom translation loginCustomerAdminUser(); @@ -97,7 +97,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(fullCustomerTranslation.get("update").asText()).isEqualTo("tenant"); assertThat(fullCustomerTranslation.get("remove").asText()).isEqualTo("customer"); assertThat(fullCustomerTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullCustomerTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullCustomerTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); // get full subcustomer custom translation loginSubCustomerAdminUser(); @@ -107,7 +107,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(fullSubCustomerTranslation.get("remove").asText()).isEqualTo("customer"); assertThat(fullSubCustomerTranslation.get("search").asText()).isEqualTo("subCustomer"); assertThat(fullSubCustomerTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(fullSubCustomerTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(fullSubCustomerTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); } @Test @@ -396,7 +396,7 @@ public class TranslationControllerTest extends AbstractControllerTest { assertThat(downloadedCustomTranslation.get("save").asText()).isEqualTo("system"); assertThat(downloadedCustomTranslation.get("access").get("unauthorized").asText()).isEqualTo("No autorizado"); - assertThat(downloadedCustomTranslation.get("solution-template").get("solution-template").asText()).isEqualTo("Plantilla de solución"); + assertThat(downloadedCustomTranslation.get("device").get("device").asText()).isEqualTo("Dispositivo"); } @Test diff --git a/common/edge-api/src/main/proto/edge.proto b/common/edge-api/src/main/proto/edge.proto index f19101848f..4f2b4970be 100644 --- a/common/edge-api/src/main/proto/edge.proto +++ b/common/edge-api/src/main/proto/edge.proto @@ -42,6 +42,7 @@ enum EdgeVersion { V_4_2_2_5 = 4225; V_4_2_2_6 = 4226; V_4_2_2_7 = 4227; + V_4_2_2_8 = 4228; V_4_3_0_1 = 15; V_4_3_1 = 4310; V_4_3_1_1 = 4311; @@ -51,6 +52,7 @@ enum EdgeVersion { V_4_3_1_5 = 4315; V_4_3_1_6 = 4316; V_4_3_1_7 = 4317; + V_4_3_1_8 = 4318; V_4_4_0 = 4400; V_4_4_0_1 = 4401; V_4_4_1 = 4410;