File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,7 @@ export default {
9898 this .AppStore .reconnect ();
9999 return ;
100100 } else
101- throw new Error (
102- " Não foi possível carregar o QR Code, se o erro persistir, reinicie a API e tente novamente."
103- );
101+ throw new Error (this .$t (' connectPhone.apiGenericError' ));
104102
105103 this .timeout = setTimeout (this .loadQr , 40000 );
106104 this .disabledRefresh = true ;
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ export default {
4141 profile : "Profile" ,
4242 } ,
4343 connectPhone : {
44- title : "Phone not connected"
44+ title : "Phone not connected" ,
45+ apiGenericError : "Could not load QR Code, if the error persists, restart the API and try again."
4546 }
4647}
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ export default {
4141 profile : "Perfil" ,
4242 } ,
4343 connectPhone : {
44- title : "Telefone não conectado"
44+ title : "Telefone não conectado" ,
45+ apiGenericError : "Não foi possível carregar o QR Code, se o erro persistir, reinicie a API e tente novamente."
4546 }
4647}
You can’t perform that action at this time.
0 commit comments