fix: changed sorting and validation labels to proper English (#27259)

* fix: sorting and validation labels in English

* fix: changed labels for ga_IE to proper English

* fix: changed labels for ga_IE to proper English

* Update en_GB.tsx
pull/27261/head
Michał Jasikowski 4 years ago committed by GitHub
parent f80828bfd6
commit 96c665a0bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: {

@ -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: {

@ -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: {

Loading…
Cancel
Save