diff --git a/src/dashboard/scoreko-dev/views/Players.vue b/src/dashboard/scoreko-dev/views/Players.vue index ae99327..deec974 100644 --- a/src/dashboard/scoreko-dev/views/Players.vue +++ b/src/dashboard/scoreko-dev/views/Players.vue @@ -275,13 +275,13 @@ const checkOAuthStatus = async () => { oauthLoading.value = false; clearOAuthPolling(); oauthSessionId.value = ''; - tournamentsError.value = status.error || 'No se pudo completar el login OAuth con start.gg.'; + tournamentsError.value = status.error || 'Could not complete OAuth login with start.gg.'; } } catch (error) { oauthLoading.value = false; clearOAuthPolling(); oauthSessionId.value = ''; - tournamentsError.value = error instanceof Error ? error.message : 'No se pudo verificar el estado OAuth.'; + tournamentsError.value = error instanceof Error ? error.message : 'Could not verify OAuth status.'; } }; @@ -300,7 +300,7 @@ const connectWithStartGGOAuth = async () => { }, 1500); } catch (error) { oauthLoading.value = false; - tournamentsError.value = error instanceof Error ? error.message : 'No se pudo iniciar OAuth con start.gg.'; + tournamentsError.value = error instanceof Error ? error.message : 'Could not start OAuth with start.gg.'; } }; @@ -325,7 +325,7 @@ const saveManualToken = () => { const loadRecentTournaments = async () => { const token = startGGToken.value.trim(); if (!token) { - tournamentsError.value = 'Añade tu token de start.gg para cargar torneos.'; + tournamentsError.value = 'Add your start.gg token to load tournaments.'; recentTournaments.value = []; return; } @@ -338,10 +338,10 @@ const loadRecentTournaments = async () => { }); recentTournaments.value = tournaments; if (!tournaments.length) { - tournamentsError.value = 'No hay torneos recientes para esta cuenta.'; + tournamentsError.value = 'There are no recent tournaments for this account.'; } } catch (error) { - tournamentsError.value = error instanceof Error ? error.message : 'No se pudieron cargar torneos.'; + tournamentsError.value = error instanceof Error ? error.message : 'Could not load tournaments.'; recentTournaments.value = []; } finally { loadingTournaments.value = false; @@ -365,7 +365,7 @@ const openStartGGImportDialog = async (tournament: StartGGTournament) => { startGGPlayers.value = importedPlayers; selectedStartGGPlayerIds.value = importedPlayers.map((player) => player.id); } catch (error) { - const message = error instanceof Error ? error.message : 'No se pudieron cargar jugadores'; + const message = error instanceof Error ? error.message : 'Could not load players'; window.alert(message); isImportDialogOpen.value = false; } finally { @@ -599,7 +599,7 @@ onBeforeUnmount(() => { StartGG
${message}
-Puedes cerrar esta pestaña y volver a Scoreko.
+You can close this tab and return to Scoreko.