From 879ffb0af09743f047ccd0d0ccbb1a74985e90ad Mon Sep 17 00:00:00 2001 From: Anirudha <67697720+anirudha-deshpande@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:44:45 +0000 Subject: [PATCH 1/2] DTSCCI-1440: Remove character limit for the Claim Summary and Defence Summary --- src/main/common/form/models/defence.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/common/form/models/defence.ts b/src/main/common/form/models/defence.ts index 332154d34c2..c07321d624d 100644 --- a/src/main/common/form/models/defence.ts +++ b/src/main/common/form/models/defence.ts @@ -1,9 +1,8 @@ -import {IsDefined, IsNotEmpty, MaxLength} from 'class-validator'; +import {IsDefined, IsNotEmpty} from 'class-validator'; export class Defence { @IsDefined({message: 'ERRORS.DEFENCE_REQUIRED'}) @IsNotEmpty({message: 'ERRORS.DEFENCE_REQUIRED'}) - @MaxLength(800, {message: 'ERRORS.TEXT800_TOO_LONG'}) text?: string; constructor(text?: string) { From 1b22a2f9814d7e3a30bc7faf3a841a0819d6a69f Mon Sep 17 00:00:00 2001 From: Anirudha <67697720+anirudha-deshpande@users.noreply.github.com> Date: Wed, 15 Jan 2025 13:33:59 +0000 Subject: [PATCH 2/2] DTSCCI-1440: Remove unused language pack entries --- src/main/modules/i18n/locales/cy.json | 1 - src/main/modules/i18n/locales/en.json | 1 - 2 files changed, 2 deletions(-) diff --git a/src/main/modules/i18n/locales/cy.json b/src/main/modules/i18n/locales/cy.json index ecdfbf6072f..0f5fad9c7e8 100644 --- a/src/main/modules/i18n/locales/cy.json +++ b/src/main/modules/i18n/locales/cy.json @@ -5175,7 +5175,6 @@ "ADDRESS_LINE_TOO_MANY_JO": "Ni ddylai bob llinell y cyfeiriad fod yn hirach na 35 o nodau", "TOWN_CITY_TOO_MANY": "Ni ddylai tref neu ddinas fod yn hirach na 50 o nodau", "TOWN_CITY_TOO_MANY_JO": "Ni ddylai tref neu ddinas fod yn hirach na 35 o nodau", - "TEXT800_TOO_LONG": "Rhaid i'r rheswm fod yn 800 o nodau neu'n llai", "THERE_IS_A_PROBLEM": "Mae yna broblem", "THERE_WAS_A_PROBLEM": "Roedd problem", "TRY_AGAIN": "Rhowch gynnig arall arni neu teipiwch y cyfeiriad.", diff --git a/src/main/modules/i18n/locales/en.json b/src/main/modules/i18n/locales/en.json index cd72c41c049..203277587e0 100644 --- a/src/main/modules/i18n/locales/en.json +++ b/src/main/modules/i18n/locales/en.json @@ -5175,7 +5175,6 @@ "ADDRESS_LINE_TOO_MANY_JO": "Each address line must be no longer than 35 characters", "TOWN_CITY_TOO_MANY": "Town or City must no longer than 50 characters", "TOWN_CITY_TOO_MANY_JO": "Town or City must no longer than 35 characters", - "TEXT800_TOO_LONG": "Reason must be 800 characters or fewer", "THERE_IS_A_PROBLEM": "There is a problem", "THERE_WAS_A_PROBLEM": "There was a problem", "TRY_AGAIN": "Try again or enter the address manually.",