diff --git a/electron/main.mjs b/electron/main.mjs index ed0eb8b..8087165 100644 --- a/electron/main.mjs +++ b/electron/main.mjs @@ -34,7 +34,7 @@ function waitForServer(url, timeoutMs = 30_000) { } if (Date.now() - started > timeoutMs) { - rejectPromise(new Error('NodeCG no respondió a tiempo.')); + rejectPromise(new Error('NodeCG did not respond in time.')); return; } @@ -43,7 +43,7 @@ function waitForServer(url, timeoutMs = 30_000) { request.on('error', () => { if (Date.now() - started > timeoutMs) { - rejectPromise(new Error('No fue posible conectar a NodeCG.')); + rejectPromise(new Error('Could not connect to NodeCG.')); return; } @@ -71,8 +71,8 @@ function startNodeCG() { nodecgProcess.on('exit', (code) => { if (!app.isQuiting) { dialog.showErrorBox( - 'NodeCG finalizado', - `El proceso de NodeCG terminó inesperadamente con código ${code ?? 'desconocido'}.` + 'NodeCG exited', + `The NodeCG process ended unexpectedly with code ${code ?? 'unknown'}.` ); app.quit(); } @@ -80,8 +80,8 @@ function startNodeCG() { nodecgProcess.on('error', (error) => { dialog.showErrorBox( - 'No se pudo iniciar NodeCG', - `No se pudo ejecutar \"${runtimeBinary}\". ${useElectronNodeForNodeCG ? 'Desactivá NODECG_USE_ELECTRON_NODE o revisá Electron.' : 'Definí NODE_BINARY con la ruta de Node.js.'}\n\nDetalle: ${error.message}` + 'Could not start NodeCG', + `Could not run \"${runtimeBinary}\". ${useElectronNodeForNodeCG ? 'Disable NODECG_USE_ELECTRON_NODE or check your Electron setup.' : 'Set NODE_BINARY to your Node.js path.'}\n\nDetails: ${error.message}` ); app.quit(); }); @@ -117,7 +117,7 @@ app.whenReady().then(async () => { await waitForServer(`http://127.0.0.1:${nodecgPort}`); await createWindow(); } catch (error) { - dialog.showErrorBox('No se pudo iniciar', error instanceof Error ? error.message : String(error)); + dialog.showErrorBox('Could not start', error instanceof Error ? error.message : String(error)); app.quit(); } }); diff --git a/src/dashboard/example/components/ScoreboardPanel.vue b/src/dashboard/example/components/ScoreboardPanel.vue index 3a54afd..a526328 100644 --- a/src/dashboard/example/components/ScoreboardPanel.vue +++ b/src/dashboard/example/components/ScoreboardPanel.vue @@ -482,7 +482,7 @@ watchEffect(() => { >
- Lado izquierdo + Left side
@@ -491,7 +491,7 @@ watchEffect(() => { v-model="scoreboardStore.scoreboard.leftPlayerId" v-model:input-value="leftInput" :options="leftPlayerOptions" - label="Jugador" + label="Player" dense outlined emit-value @@ -535,7 +535,7 @@ watchEffect(() => { v-if="leftCanSave" color="primary" icon="save" - label="Guardar jugador" + label="Save player" class="q-mt-sm" @click="saveLeftPlayer" /> @@ -543,7 +543,7 @@ watchEffect(() => { v-if="leftHasSelectedPlayerChanges" color="primary" icon="save" - label="Guardar cambios del jugador" + label="Save player changes" class="q-mt-sm q-ml-sm" @click="saveLeftSelectedPlayerChanges" /> @@ -567,7 +567,7 @@ watchEffect(() => { >
- Lado derecho + Right side
@@ -576,7 +576,7 @@ watchEffect(() => { v-model="scoreboardStore.scoreboard.rightPlayerId" v-model:input-value="rightInput" :options="rightPlayerOptions" - label="Jugador" + label="Player" dense outlined emit-value @@ -620,7 +620,7 @@ watchEffect(() => { v-if="rightCanSave" color="primary" icon="save" - label="Guardar jugador" + label="Save player" class="q-mt-sm" @click="saveRightPlayer" /> @@ -628,7 +628,7 @@ watchEffect(() => { v-if="rightHasSelectedPlayerChanges" color="primary" icon="save" - label="Guardar cambios del jugador" + label="Save player changes" class="q-mt-sm q-ml-sm" @click="saveRightSelectedPlayerChanges" /> diff --git a/src/dashboard/example/views/About.vue b/src/dashboard/example/views/About.vue index 0b63f7a..91f4cc4 100644 --- a/src/dashboard/example/views/About.vue +++ b/src/dashboard/example/views/About.vue @@ -12,7 +12,7 @@ useHead({ title: 'About' }); About
- Información del bundle y enlaces relevantes. + Bundle information and relevant links.
diff --git a/src/dashboard/example/views/Graphics.vue b/src/dashboard/example/views/Graphics.vue index fd7b422..52f7cf8 100644 --- a/src/dashboard/example/views/Graphics.vue +++ b/src/dashboard/example/views/Graphics.vue @@ -71,14 +71,14 @@ const onDragStart = (event: DragEvent, graphic: GraphicConfig) => { Graphics
- Controles y estado de gráficos del bundle. + Bundle graphics controls and status.
- No hay gráficos configurados en el bundle. + There are no graphics configured in this bundle.
@@ -122,7 +122,7 @@ const onDragStart = (event: DragEvent, graphic: GraphicConfig) => { { }; const deletePlayer = (row: PlayerRow) => { - const confirmed = window.confirm(`¿Eliminar a ${row.gamertag || 'este jugador'}?`); + const confirmed = window.confirm(`Delete ${row.gamertag || 'this player'}?`); if (!confirmed) { return; } @@ -134,7 +134,7 @@ const handleImport = async (event: Event) => { const parsed = JSON.parse(text) as unknown; playersStore.setPlayers(parsed as PlayersMap); } catch { - window.alert('No se pudo importar el JSON. Verifica el formato.'); + window.alert('Could not import JSON. Check the format.'); } finally { if (target) { target.value = ''; @@ -153,7 +153,7 @@ const handleImport = async (event: Event) => { @@ -164,7 +164,7 @@ const handleImport = async (event: Event) => { v-model="filter" dense outlined - placeholder="Buscar..." + placeholder="Search..." class="players-search" clearable > @@ -176,14 +176,14 @@ const handleImport = async (event: Event) => { color="secondary" outline icon="file_upload" - label="Importar JSON" + label="Import JSON" @click="triggerImport" /> {
- {{ editingId ? 'Editar jugador' : 'Nuevo jugador' }} + {{ editingId ? 'Edit player' : 'New player' }}
@@ -294,13 +294,13 @@ const handleImport = async (event: Event) => { diff --git a/src/dashboard/example/views/Settings.vue b/src/dashboard/example/views/Settings.vue index 2f16f6f..da9425b 100644 --- a/src/dashboard/example/views/Settings.vue +++ b/src/dashboard/example/views/Settings.vue @@ -12,7 +12,7 @@ useHead({ title: 'Settings' }); Settings
- Configuración del dashboard y del bundle. + Dashboard and bundle configuration.
diff --git a/src/graphics/scoreboard/main.vue b/src/graphics/scoreboard/main.vue index ad60fc2..8deb6f4 100644 --- a/src/graphics/scoreboard/main.vue +++ b/src/graphics/scoreboard/main.vue @@ -29,7 +29,7 @@ const leftName = computed(() => { return scoreboard.value.leftNameOverride; } const player = players.value[scoreboard.value.leftPlayerId]; - return player?.gamertag || 'Jugador 1'; + return player?.gamertag || 'Player 1'; }); const rightName = computed(() => { @@ -37,7 +37,7 @@ const rightName = computed(() => { return scoreboard.value.rightNameOverride; } const player = players.value[scoreboard.value.rightPlayerId]; - return player?.gamertag || 'Jugador 2'; + return player?.gamertag || 'Player 2'; }); const leftTeam = computed(() => scoreboard.value.leftTeamOverride || '');