More i18n work
This commit is contained in:
parent
e9029cd8b9
commit
56775d645d
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ class VerifyEmail extends React.Component {
|
||||||
Accounts.verifyEmail(match.params.token, (error) => {
|
Accounts.verifyEmail(match.params.token, (error) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
Bert.alert(T9n.get(`error.accounts.${error.reason}`), 'danger');
|
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.` });
|
// this.setState({ error: `${error.reason}. Please try again.` });
|
||||||
} else {
|
} else {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue