Fix API phoneConnect error i18n

This commit is contained in:
Gabriel Pastori 2023-12-14 14:13:39 -03:00
parent 790755de55
commit b75a794ec3
3 changed files with 5 additions and 5 deletions

View File

@ -98,9 +98,7 @@ export default {
this.AppStore.reconnect(); this.AppStore.reconnect();
return; return;
} else } else
throw new Error( throw new Error(this.$t('connectPhone.apiGenericError'));
"Não foi possível carregar o QR Code, se o erro persistir, reinicie a API e tente novamente."
);
this.timeout = setTimeout(this.loadQr, 40000); this.timeout = setTimeout(this.loadQr, 40000);
this.disabledRefresh = true; this.disabledRefresh = true;

View File

@ -41,6 +41,7 @@ export default {
profile: "Profile", profile: "Profile",
}, },
connectPhone: { connectPhone: {
title: "Phone not connected" title: "Phone not connected",
apiGenericError: "Could not load QR Code, if the error persists, restart the API and try again."
} }
} }

View File

@ -41,6 +41,7 @@ export default {
profile: "Perfil", profile: "Perfil",
}, },
connectPhone: { connectPhone: {
title: "Telefone não conectado" title: "Telefone não conectado",
apiGenericError: "Não foi possível carregar o QR Code, se o erro persistir, reinicie a API e tente novamente."
} }
} }