From 74e2ade6edb3164c68d0eb939730257c112a9a68 Mon Sep 17 00:00:00 2001 From: Chisom Chima <87203527+Chisomchima@users.noreply.github.com> Date: Tue, 5 Nov 2024 06:37:53 +0100 Subject: [PATCH 1/4] Update src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx Co-authored-by: Birk Johansson --- .../form/CategoryOptionGroupSetFormFields.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx b/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx index c30c477a..8754200f 100644 --- a/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx +++ b/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx @@ -96,7 +96,7 @@ function CategoryOptionGroupSetFormFields() { query={{ resource: 'categoryOptionGroups', }} - leftHeader={i18n.t('Available category options')} + leftHeader={i18n.t('Available category option groups')} rightHeader={i18n.t('Selected category options')} filterPlaceholder={i18n.t( 'Filter available category options' From 958e94f567c3278cc6d02bb7063351929fc71280 Mon Sep 17 00:00:00 2001 From: Chisom Chima <87203527+Chisomchima@users.noreply.github.com> Date: Tue, 5 Nov 2024 06:38:15 +0100 Subject: [PATCH 2/4] Update src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx Co-authored-by: Birk Johansson --- .../form/CategoryOptionGroupSetFormFields.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx b/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx index 8754200f..3c9381a1 100644 --- a/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx +++ b/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx @@ -99,7 +99,7 @@ function CategoryOptionGroupSetFormFields() { leftHeader={i18n.t('Available category option groups')} rightHeader={i18n.t('Selected category options')} filterPlaceholder={i18n.t( - 'Filter available category options' + 'Filter available category option groups' )} filterPlaceholderPicked={i18n.t( 'Filter selected category options' From e39f96100f999f4ca334a2e436bc28a1b203e8be Mon Sep 17 00:00:00 2001 From: Chisom Chima <87203527+Chisomchima@users.noreply.github.com> Date: Tue, 5 Nov 2024 06:38:22 +0100 Subject: [PATCH 3/4] Update src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx Co-authored-by: Birk Johansson --- .../form/CategoryOptionGroupSetFormFields.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx b/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx index 3c9381a1..830c06e4 100644 --- a/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx +++ b/src/pages/categoryOptionGroupSets/form/CategoryOptionGroupSetFormFields.tsx @@ -97,7 +97,7 @@ function CategoryOptionGroupSetFormFields() { resource: 'categoryOptionGroups', }} leftHeader={i18n.t('Available category option groups')} - rightHeader={i18n.t('Selected category options')} + rightHeader={i18n.t('Selected category option groups')} filterPlaceholder={i18n.t( 'Filter available category option groups' )} From a5d88d9b83052f1d66bf6de630b15930ad4fd5f1 Mon Sep 17 00:00:00 2001 From: Chisom Chima <87203527+Chisomchima@users.noreply.github.com> Date: Tue, 5 Nov 2024 06:38:29 +0100 Subject: [PATCH 4/4] Update src/pages/categoryOptionGroupSets/form/categoryOptionGroupSetSchema.ts Co-authored-by: Birk Johansson --- .../form/categoryOptionGroupSetSchema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/categoryOptionGroupSets/form/categoryOptionGroupSetSchema.ts b/src/pages/categoryOptionGroupSets/form/categoryOptionGroupSetSchema.ts index 34e02730..954af986 100644 --- a/src/pages/categoryOptionGroupSets/form/categoryOptionGroupSetSchema.ts +++ b/src/pages/categoryOptionGroupSets/form/categoryOptionGroupSetSchema.ts @@ -16,7 +16,7 @@ export const categoryOptionGroupSetSchema = identifiable .default(CategoryOptionGroupSet.dataDimensionType.DISAGGREGATION), dataDimension: z.boolean().default(true), categoryOptionGroups: referenceCollection - .min(1, 'At least one category option is required') + .min(1, 'At least one category option group is required') .default([]), })