More i18n work

This commit is contained in:
vjrj 2017-11-29 10:55:26 +01:00
parent e9029cd8b9
commit 56775d645d

View file

@ -19,7 +19,7 @@ class VerifyEmail extends React.Component {
Accounts.verifyEmail(match.params.token, (error) => {
if (error) {
Bert.alert(T9n.get(`error.accounts.${error.reason}`), 'danger');
this.setState({ error: error.reason + ". " + this.t("Por favor, inténtalo otra vez.")});
this.setState({ error: T9n.get(`error.accounts.${error.reason}`) + ". " + this.t("Por favor, inténtalo otra vez.")});
// this.setState({ error: `${error.reason}. Please try again.` });
} else {
setTimeout(() => {