Skip to content

Commit 978cf0b

Browse files
authored
style(EMS-4157): declarations - modern slavery - content iterations (#3509)
1 parent 8ca0408 commit 978cf0b

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

e2e-tests/content-strings/error-messages.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -567,23 +567,24 @@ export const ERROR_MESSAGES = {
567567
IS_EMPTY: 'Select if you adhere to all the requirements of the Modern Slavery Act 2015',
568568
},
569569
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.HAS_NO_OFFENSES_OR_INVESTIGATIONS]: {
570-
IS_EMPTY: 'Select if you are under investigation or been fine, convicted or found guilty or not',
570+
IS_EMPTY: 'Select if you are under investigation, or, have been fined, convicted, or, found guilty',
571571
},
572572
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.IS_NOT_AWARE_OF_EXISTING_SLAVERY]: {
573-
IS_EMPTY: 'Select if you are or are not aware of Modern Slavery in respect of yourself, the export contract, holding company or supply chain',
573+
IS_EMPTY:
574+
'Select if you are not aware of the existence of Modern Slavery in respect of yourself, the export contract(s), your immediate holding company or your supply chain',
574575
},
575576
CONDITIONAL_REASONS: {
576577
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASONS.CANNOT_ADHERE_TO_ALL_REQUIREMENTS]: {
577-
IS_EMPTY: 'Enter full details of why you cannot adhere',
578-
ABOVE_MAXIMUM: `The explanation of why you cannot adhere cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
578+
IS_EMPTY: 'Enter full details as to why you cannot adhere',
579+
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
579580
},
580581
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASONS.OFFENSES_OR_INVESTIGATIONS]: {
581-
IS_EMPTY: 'Enter full details of why you cannot confirm',
582-
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
582+
IS_EMPTY: 'Enter full details as to why you cannot confirm',
583+
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
583584
},
584585
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASONS.AWARE_OF_EXISTING_SLAVERY]: {
585-
IS_EMPTY: 'Enter full details of why you cannot confirm',
586-
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
586+
IS_EMPTY: 'Enter full details as to why you cannot confirm',
587+
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
587588
},
588589
},
589590
},

src/ui/server/content-strings/error-messages.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -571,23 +571,24 @@ export const ERROR_MESSAGES = {
571571
IS_EMPTY: 'Select if you adhere to all the requirements of the Modern Slavery Act 2015',
572572
},
573573
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.HAS_NO_OFFENSES_OR_INVESTIGATIONS]: {
574-
IS_EMPTY: 'Select if you are under investigation or been fine, convicted or found guilty or not',
574+
IS_EMPTY: 'Select if you are under investigation, or, have been fined, convicted, or, found guilty',
575575
},
576576
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.IS_NOT_AWARE_OF_EXISTING_SLAVERY]: {
577-
IS_EMPTY: 'Select if you are or are not aware of Modern Slavery in respect of yourself, the export contract, holding company or supply chain',
577+
IS_EMPTY:
578+
'Select if you are not aware of the existence of Modern Slavery in respect of yourself, the export contract(s), your immediate holding company or your supply chain',
578579
},
579580
CONDITIONAL_REASONS: {
580581
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASONS.CANNOT_ADHERE_TO_ALL_REQUIREMENTS]: {
581-
IS_EMPTY: 'Enter full details of why you cannot adhere',
582-
ABOVE_MAXIMUM: `The explanation of why you cannot adhere cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
582+
IS_EMPTY: 'Enter full details as to why you cannot adhere',
583+
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
583584
},
584585
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASONS.OFFENSES_OR_INVESTIGATIONS]: {
585-
IS_EMPTY: 'Enter full details of why you cannot confirm',
586-
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
586+
IS_EMPTY: 'Enter full details as to why you cannot confirm',
587+
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
587588
},
588589
[FIELD_IDS.INSURANCE.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASONS.AWARE_OF_EXISTING_SLAVERY]: {
589-
IS_EMPTY: 'Enter full details of why you cannot confirm',
590-
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
590+
IS_EMPTY: 'Enter full details as to why you cannot confirm',
591+
ABOVE_MAXIMUM: `The explanation of why you cannot confirm cannot be more than ${MAXIMUM_CHARACTERS.DECLARATIONS.MODERN_SLAVERY.CONDITIONAL_REASON} characters`,
591592
},
592593
},
593594
},

0 commit comments

Comments
 (0)