From 56775d645d18640f31440f019f91919c0bb4b411 Mon Sep 17 00:00:00 2001 From: vjrj Date: Wed, 29 Nov 2017 10:55:26 +0100 Subject: [PATCH] More i18n work --- imports/ui/pages/VerifyEmail/VerifyEmail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/ui/pages/VerifyEmail/VerifyEmail.js b/imports/ui/pages/VerifyEmail/VerifyEmail.js index 4cc23ec..4db8bc1 100644 --- a/imports/ui/pages/VerifyEmail/VerifyEmail.js +++ b/imports/ui/pages/VerifyEmail/VerifyEmail.js @@ -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(() => {