fix: unifies strings format (lowercase)

This commit is contained in:
2025-12-24 21:58:59 -03:00
parent a00aaef3c6
commit 10f9b77807

View File

@@ -15,15 +15,15 @@ export const strings = Object.freeze({
editContact: 'edit contact', editContact: 'edit contact',
editContactSuccessNotification: 'contact edited successfully', editContactSuccessNotification: 'contact edited successfully',
editTheContact: 'edit the contact', editTheContact: 'edit the contact',
errorMessageMaxLength: (maxLen: number) => `Must be ${maxLen} characters or fewer.`, errorMessageMaxLength: (maxLen: number) => `must be ${maxLen} characters or fewer`,
errorMessagePhonePattern: `Valid format: + (optional) plus 12 to 15 digits`, errorMessagePhonePattern: `valid format: + (optional) plus 12 to 15 digits`,
errorMessageRequired: 'This field is required.', errorMessageRequired: 'this field is required.',
errorNotification: 'Oops, there was an error', errorNotification: 'oops, there was an error',
goBack: 'go back', goBack: 'go back',
name: 'name', name: 'name',
phone: 'phone', phone: 'phone',
save: 'save', save: 'save',
searchContactPlaceholder: 'Search contact...', searchContactPlaceholder: 'search contact...',
}, },
es: { es: {
actions: 'acciones', actions: 'acciones',
@@ -41,8 +41,8 @@ export const strings = Object.freeze({
editContact: 'editar contacto', editContact: 'editar contacto',
editContactSuccessNotification: 'contacto editado correctamente', editContactSuccessNotification: 'contacto editado correctamente',
editTheContact: 'edite el contacto. ', editTheContact: 'edite el contacto. ',
errorMessageMaxLength: (maxLen: number) => `Debe contener ${maxLen} caracteres or menos.`, errorMessageMaxLength: (maxLen: number) => `debe contener ${maxLen} caracteres or menos`,
errorMessagePhonePattern: `Formato: + (opcional) y 12 a 15 digitos`, errorMessagePhonePattern: `formato: + (opcional) y 12 a 15 digitos`,
errorMessageRequired: 'este campo es requerido.', errorMessageRequired: 'este campo es requerido.',
errorNotification: 'hubo un error', errorNotification: 'hubo un error',
goBack: 'volver', goBack: 'volver',