mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
Fix API phoneConnect error i18n
This commit is contained in:
parent
790755de55
commit
b75a794ec3
@ -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;
|
||||||
|
@ -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."
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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."
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user