mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
Changes and translations
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import I18n from 'coral-framework/modules/i18n/i18n';
|
||||
import translations from './translations';
|
||||
const lang = new I18n(translations);
|
||||
|
||||
export default {
|
||||
email: 'Not a valid E-Mail',
|
||||
password: 'Password must be at least 8 characters',
|
||||
displayName: 'Display name is too short',
|
||||
confirmPassword: 'Passwords don`t match. Please, check again'
|
||||
email: lang.t('error.email'),
|
||||
password: lang.t('error.password'),
|
||||
displayName: lang.t('error.displayName'),
|
||||
confirmPassword: lang.t('error.confirmPassword')
|
||||
};
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"en": {
|
||||
"error": {
|
||||
"email": "Not a valid E-Mail",
|
||||
"password": "Password must be at least 8 characters",
|
||||
"displayName": "Display name is too short",
|
||||
"confirmPassword": "Passwords don`t match. Please, check again"
|
||||
}
|
||||
},
|
||||
"es": {
|
||||
"error": {
|
||||
"email": "No es un email válido",
|
||||
"password": "La contraseña debe tener por lo menos 8 caracteres",
|
||||
"displayName": "El nombre es muy corto",
|
||||
"confirmPassword": "Las contraseñas no coinciden"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user