From ac7d2aa7d34a681bd8c2709d72de34fc81072055 Mon Sep 17 00:00:00 2001 From: Madmat8 Date: Fri, 15 Dec 2023 10:23:42 +0100 Subject: [PATCH 1/2] fix NOT_ACCEPTED_BY_RANGE is not localized --- .../src/main/resources/actor/public/i18n/system_default.json.hbs | 1 + .../src/main/resources/actor/public/i18n/system_en-US.json.hbs | 1 + .../src/main/resources/actor/public/i18n/system_hu-HU.json.hbs | 1 + 3 files changed, 3 insertions(+) diff --git a/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs b/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs index fbc0ed76..c91868f4 100644 --- a/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs +++ b/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs @@ -124,6 +124,7 @@ "judo.error.validation-failed.PRECISION_VALIDATION_FAILED": "Number of digits must not exceed \{{error.details.precision}}.", "judo.error.validation-failed.SCALE_VALIDATION_FAILED": "Number of decimals must not exceed \{{error.details.scale}}.", "judo.error.validation-failed.IDENTIFIER_ATTRIBUTE_UNIQUENESS_VIOLATION": "Identifier attribute is not unique.", + "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "This value is not accepted by range.", "judo.error.boundary.navigate-to-dashboard": "Navigate to Dashboard", "judo.error.boundary.reset-settings": "Reset Settings", "judo.error.boundary.reload-page": "Reload Page", diff --git a/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs b/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs index fbc0ed76..c91868f4 100644 --- a/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs +++ b/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs @@ -124,6 +124,7 @@ "judo.error.validation-failed.PRECISION_VALIDATION_FAILED": "Number of digits must not exceed \{{error.details.precision}}.", "judo.error.validation-failed.SCALE_VALIDATION_FAILED": "Number of decimals must not exceed \{{error.details.scale}}.", "judo.error.validation-failed.IDENTIFIER_ATTRIBUTE_UNIQUENESS_VIOLATION": "Identifier attribute is not unique.", + "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "This value is not accepted by range.", "judo.error.boundary.navigate-to-dashboard": "Navigate to Dashboard", "judo.error.boundary.reset-settings": "Reset Settings", "judo.error.boundary.reload-page": "Reload Page", diff --git a/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs b/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs index 01e90e60..8941fd90 100644 --- a/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs +++ b/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs @@ -124,6 +124,7 @@ "judo.error.validation-failed.PRECISION_VALIDATION_FAILED": "A szám nem lehet hosszabb, mint \{{error.details.precision}}.", "judo.error.validation-failed.SCALE_VALIDATION_FAILED": "A tizedes jegyek száma nem haladhatja meg a \{{error.details.scale}}-t.", "judo.error.validation-failed.IDENTIFIER_ATTRIBUTE_UNIQUENESS_VIOLATION": "Ez az azonosító már létezik.", + "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "Nem elfogadott érték", "judo.error.boundary.navigate-to-dashboard": "Ugrás a kezdőlapra", "judo.error.boundary.reset-settings": "Beállítások törlése", "judo.error.boundary.reload-page": "Képernyő frissítése", From a5e27e9780bcf658d79d118b83b65c5b15129dd0 Mon Sep 17 00:00:00 2001 From: Madmat8 Date: Fri, 15 Dec 2023 18:52:11 +0100 Subject: [PATCH 2/2] localize not acceptd by range --- .../main/resources/actor/public/i18n/system_default.json.hbs | 2 +- .../src/main/resources/actor/public/i18n/system_en-US.json.hbs | 2 +- .../src/main/resources/actor/public/i18n/system_hu-HU.json.hbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs b/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs index c91868f4..723af94e 100644 --- a/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs +++ b/judo-ui-react/src/main/resources/actor/public/i18n/system_default.json.hbs @@ -124,7 +124,7 @@ "judo.error.validation-failed.PRECISION_VALIDATION_FAILED": "Number of digits must not exceed \{{error.details.precision}}.", "judo.error.validation-failed.SCALE_VALIDATION_FAILED": "Number of decimals must not exceed \{{error.details.scale}}.", "judo.error.validation-failed.IDENTIFIER_ATTRIBUTE_UNIQUENESS_VIOLATION": "Identifier attribute is not unique.", - "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "This value is not accepted by range.", + "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "Not accepted by the range.", "judo.error.boundary.navigate-to-dashboard": "Navigate to Dashboard", "judo.error.boundary.reset-settings": "Reset Settings", "judo.error.boundary.reload-page": "Reload Page", diff --git a/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs b/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs index c91868f4..723af94e 100644 --- a/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs +++ b/judo-ui-react/src/main/resources/actor/public/i18n/system_en-US.json.hbs @@ -124,7 +124,7 @@ "judo.error.validation-failed.PRECISION_VALIDATION_FAILED": "Number of digits must not exceed \{{error.details.precision}}.", "judo.error.validation-failed.SCALE_VALIDATION_FAILED": "Number of decimals must not exceed \{{error.details.scale}}.", "judo.error.validation-failed.IDENTIFIER_ATTRIBUTE_UNIQUENESS_VIOLATION": "Identifier attribute is not unique.", - "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "This value is not accepted by range.", + "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "Not accepted by the range.", "judo.error.boundary.navigate-to-dashboard": "Navigate to Dashboard", "judo.error.boundary.reset-settings": "Reset Settings", "judo.error.boundary.reload-page": "Reload Page", diff --git a/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs b/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs index 8941fd90..f24232c2 100644 --- a/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs +++ b/judo-ui-react/src/main/resources/actor/public/i18n/system_hu-HU.json.hbs @@ -124,7 +124,7 @@ "judo.error.validation-failed.PRECISION_VALIDATION_FAILED": "A szám nem lehet hosszabb, mint \{{error.details.precision}}.", "judo.error.validation-failed.SCALE_VALIDATION_FAILED": "A tizedes jegyek száma nem haladhatja meg a \{{error.details.scale}}-t.", "judo.error.validation-failed.IDENTIFIER_ATTRIBUTE_UNIQUENESS_VIOLATION": "Ez az azonosító már létezik.", - "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "Nem elfogadott érték", + "judo.error.validation-failed.NOT_ACCEPTED_BY_RANGE": "A tartomány által nem elfogadott érték", "judo.error.boundary.navigate-to-dashboard": "Ugrás a kezdőlapra", "judo.error.boundary.reset-settings": "Beállítások törlése", "judo.error.boundary.reload-page": "Képernyő frissítése",