X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FUpsertUser.vue;h=50b702da5e9d6156bedd06d6fc293029bc96ba62;hb=e71161fbfffe53b0f4b174e0467cdd98cc70b7b0;hp=222a8625a166c35e27258d907ad63c8d53c4e5a6;hpb=6808d7a16ec1e761c6a2dffec2281c96953e4d89;p=vchess.git diff --git a/client/src/components/UpsertUser.vue b/client/src/components/UpsertUser.vue index 222a8625..50b702da 100644 --- a/client/src/components/UpsertUser.vue +++ b/client/src/components/UpsertUser.vue @@ -1,31 +1,56 @@ @@ -126,7 +151,7 @@ export default { error = checkNameEmail({ [type]: this.nameOrEmail }); } else error = checkNameEmail(this.st.user); if (error) { - alert(error); + alert(this.st.tr[error]); return; } this.infoMsg = "Processing... Please wait"; @@ -156,8 +181,9 @@ export default {