diff --git a/components/locale/default.tsx b/components/locale/default.tsx index 67b2d7e924..8b48689255 100644 --- a/components/locale/default.tsx +++ b/components/locale/default.tsx @@ -28,9 +28,9 @@ const localeValues: Locale = { sortTitle: 'Sort', expand: 'Expand row', collapse: 'Collapse row', - triggerDesc: 'Click sort by descend', - triggerAsc: 'Click sort by ascend', - cancelSort: 'Click to cancel sort', + triggerDesc: 'Click to sort descending', + triggerAsc: 'Click to sort ascending', + cancelSort: 'Click to cancel sorting', }, Modal: { okText: 'OK', @@ -78,7 +78,7 @@ const localeValues: Locale = { Form: { optional: '(optional)', defaultValidateMessages: { - default: 'Field validation error ${label}', + default: 'Field validation error for ${label}', required: 'Please enter ${label}', enum: '${label} must be one of [${enum}]', whitespace: '${label} cannot be a blank character', @@ -104,14 +104,14 @@ const localeValues: Locale = { }, string: { len: '${label} must be ${len} characters', - min: '${label} at least ${min} characters', - max: '${label} up to ${max} characters', + min: '${label} must be at least ${min} characters', + max: '${label} must be up to ${max} characters', range: '${label} must be between ${min}-${max} characters', }, number: { len: '${label} must be equal to ${len}', - min: '${label} minimum value is ${min}', - max: '${label} maximum value is ${max}', + min: '${label} must be minimum ${min}', + max: '${label} must be maximum ${max}', range: '${label} must be between ${min}-${max}', }, array: { diff --git a/components/locale/en_GB.tsx b/components/locale/en_GB.tsx index 6db6ad5f4a..0d85dd73ec 100644 --- a/components/locale/en_GB.tsx +++ b/components/locale/en_GB.tsx @@ -46,7 +46,7 @@ const localeValues: Locale = { }, Form: { defaultValidateMessages: { - default: 'Field validation error ${label}', + default: 'Field validation error for ${label}', required: 'Please enter ${label}', enum: '${label} must be one of [${enum}]', whitespace: '${label} cannot be a blank character', @@ -72,14 +72,14 @@ const localeValues: Locale = { }, string: { len: '${label} must be ${len} characters', - min: '${label} at least ${min} characters', - max: '${label} up to ${max} characters', + min: '${label} must be at least ${min} characters', + max: '${label} must be up to ${max} characters', range: '${label} must be between ${min}-${max} characters', }, number: { len: '${label} must be equal to ${len}', - min: '${label} minimum value is ${min}', - max: '${label} maximum value is ${max}', + min: '${label} must be minimum ${min}', + max: '${label} must be maximum ${max}', range: '${label} must be between ${min}-${max}', }, array: { diff --git a/components/locale/ga_IE.tsx b/components/locale/ga_IE.tsx index 5c222a1b25..c50106706a 100644 --- a/components/locale/ga_IE.tsx +++ b/components/locale/ga_IE.tsx @@ -26,9 +26,9 @@ const localeValues: Locale = { sortTitle: 'Sort', expand: 'Expand row', collapse: 'Collapse row', - triggerDesc: 'Click sort by descend', - triggerAsc: 'Click sort by ascend', - cancelSort: 'Click to cancel sort', + triggerDesc: 'Click to sort descending', + triggerAsc: 'Click to sort ascending', + cancelSort: 'Click to cancel sorting', }, Modal: { okText: 'OK', @@ -75,7 +75,7 @@ const localeValues: Locale = { }, Form: { defaultValidateMessages: { - default: 'Field validation error ${label}', + default: 'Field validation error for ${label}', required: 'Please enter ${label}', enum: '${label} must be one of [${enum}]', whitespace: '${label} cannot be a blank character', @@ -101,14 +101,14 @@ const localeValues: Locale = { }, string: { len: '${label} must be ${len} characters', - min: '${label} at least ${min} characters', - max: '${label} up to ${max} characters', + min: '${label} must be at least ${min} characters', + max: '${label} must be up to ${max} characters', range: '${label} must be between ${min}-${max} characters', }, number: { len: '${label} must be equal to ${len}', - min: '${label} minimum value is ${min}', - max: '${label} maximum value is ${max}', + min: '${label} must be minimum ${min}', + max: '${label} must be maximum ${max}', range: '${label} must be between ${min}-${max}', }, array: {