Translate ScoreboardPanel game label to English

This commit is contained in:
Pandipipas
2026-02-17 14:08:57 +01:00
parent 45fd2e2deb
commit c4cfa178ff
4 changed files with 32 additions and 32 deletions
+13 -13
View File
@@ -1,26 +1,26 @@
# scoreko-dev # scoreko-dev
Bundle de NodeCG para producción de overlays de fighting games. NodeCG bundle for producing fighting game overlays.
## Proyecto ## Project
- Repositorio: https://github.com/Pandipipas/scoreko-dev - Repository: https://github.com/Pandipipas/scoreko-dev
- Stack: NodeCG, Vue 3, TypeScript, Quasar y Vite. - Stack: NodeCG, Vue 3, TypeScript, Quasar, and Vite.
## Requisitos ## Requirements
- Node.js 22+ - Node.js 22+
- NodeCG 2.3+ - NodeCG 2.3+
## Scripts ## Scripts
- `npm run autofix`: corrige errores de lint automáticamente. - `npm run autofix`: automatically fixes lint errors.
- `npm run build`: compila dashboard/graphics y extensión. - `npm run build`: builds dashboard/graphics and extension.
- `npm run lint`: valida linting del proyecto. - `npm run lint`: validates project linting.
- `npm run schema-types`: genera tipos desde schemas. - `npm run schema-types`: generates types from schemas.
- `npm run start`: inicia NodeCG. - `npm run start`: starts NodeCG.
- `npm run watch`: modo desarrollo con watch. - `npm run watch`: development mode with watch.
## Versión ## Version
Versión inicial del proyecto: `0.1.0`. Initial project version: `0.1.0`.
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "scoreko-dev", "name": "scoreko-dev",
"version": "0.1.0", "version": "0.1.0",
"description": "Bundle de NodeCG para overlays de fighting games.", "description": "NodeCG bundle for fighting game overlays.",
"homepage": "https://github.com/Pandipipas/scoreko-dev#readme", "homepage": "https://github.com/Pandipipas/scoreko-dev#readme",
"bugs": { "bugs": {
"url": "https://github.com/Pandipipas/scoreko-dev/issues" "url": "https://github.com/Pandipipas/scoreko-dev/issues"
@@ -848,7 +848,7 @@ watch(
v-model="scoreboardStore.scoreboard.game" v-model="scoreboardStore.scoreboard.game"
v-model:input-value="gameInput" v-model:input-value="gameInput"
:options="fightingGameOptions" :options="fightingGameOptions"
label="Juego" label="Game"
dense dense
emit-value emit-value
map-options map-options
+17 -17
View File
@@ -25,7 +25,7 @@ const latestRelease = ref<ReleaseResponse | null>(null);
const collaborators = [ const collaborators = [
{ {
name: 'Pandipipas', name: 'Pandipipas',
role: 'Desarrollo y mantenimiento de Scoreko-dev', role: 'Development and maintenance of Scoreko-dev',
url: 'https://github.com/Pandipipas/scoreko-dev' url: 'https://github.com/Pandipipas/scoreko-dev'
}, },
{ {
@@ -104,13 +104,13 @@ async function checkForUpdates() {
); );
if (!response.ok) { if (!response.ok) {
throw new Error(`GitHub respondió con estado ${response.status}.`); throw new Error(`GitHub responded with status ${response.status}.`);
} }
latestRelease.value = await response.json() as ReleaseResponse; latestRelease.value = await response.json() as ReleaseResponse;
} catch (error) { } catch (error) {
latestRelease.value = null; latestRelease.value = null;
updateError.value = error instanceof Error ? error.message : 'Error desconocido revisando releases.'; updateError.value = error instanceof Error ? error.message : 'Unknown error while checking releases.';
} finally { } finally {
checkingUpdates.value = false; checkingUpdates.value = false;
} }
@@ -148,7 +148,7 @@ onMounted(() => {
{{ appName }} {{ appName }}
</div> </div>
<div class="text-caption text-grey-7"> <div class="text-caption text-grey-7">
Versión {{ currentVersion }} Version {{ currentVersion }}
</div> </div>
</div> </div>
</QCardSection> </QCardSection>
@@ -157,7 +157,7 @@ onMounted(() => {
<QCardSection> <QCardSection>
<p class="q-mb-sm"> <p class="q-mb-sm">
Dashboard para producción de overlays de fighting games usando NodeCG, Vue y Quasar. Dashboard for producing fighting game overlays using NodeCG, Vue, and Quasar.
</p> </p>
<div class="column q-gutter-sm"> <div class="column q-gutter-sm">
<QBtn <QBtn
@@ -165,7 +165,7 @@ onMounted(() => {
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
icon="open_in_new" icon="open_in_new"
label="Repositorio en GitHub" label="GitHub Repository"
color="primary" color="primary"
flat flat
no-caps no-caps
@@ -189,7 +189,7 @@ onMounted(() => {
<QCardSection> <QCardSection>
<div class="text-subtitle2 q-mb-sm"> <div class="text-subtitle2 q-mb-sm">
Colaboradores y agradecimientos Collaborators and acknowledgments
</div> </div>
<QList dense> <QList dense>
<QItem <QItem
@@ -219,10 +219,10 @@ onMounted(() => {
> >
<QCardSection> <QCardSection>
<div class="text-h6"> <div class="text-h6">
Sistema de updates (GitHub Releases) Update system (GitHub Releases)
</div> </div>
<div class="text-body2 text-grey-7 q-mt-xs"> <div class="text-body2 text-grey-7 q-mt-xs">
Este chequeo consulta el último release del repo y lo compara con la versión actual. This check fetches the latest release from the repository and compares it with the current version.
</div> </div>
</QCardSection> </QCardSection>
@@ -243,7 +243,7 @@ onMounted(() => {
/> />
<QBtn <QBtn
label="Buscar updates" label="Check for updates"
color="primary" color="primary"
icon="sync" icon="sync"
:loading="checkingUpdates" :loading="checkingUpdates"
@@ -263,19 +263,19 @@ onMounted(() => {
/> />
</template> </template>
<div class="text-subtitle2"> <div class="text-subtitle2">
Último release: {{ releaseLabel }} Latest release: {{ releaseLabel }}
</div> </div>
<div class="text-caption text-grey-7"> <div class="text-caption text-grey-7">
Publicado: {{ new Date(latestRelease.published_at).toLocaleString() }} Published: {{ new Date(latestRelease.published_at).toLocaleString() }}
</div> </div>
<div class="q-mt-sm"> <div class="q-mt-sm">
{{ hasUpdate ? 'Hay una versión más nueva disponible.' : 'Tu versión está actualizada frente al último release.' }} {{ hasUpdate ? 'A newer version is available.' : 'Your version is up to date with the latest release.' }}
</div> </div>
<template #action> <template #action>
<QBtn <QBtn
flat flat
color="primary" color="primary"
label="Ver release" label="View release"
:href="releaseUrl" :href="releaseUrl"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
@@ -296,9 +296,9 @@ onMounted(() => {
rounded rounded
class="bg-blue-1 text-blue-10" class="bg-blue-1 text-blue-10"
> >
Nota para Electron: este panel implementa solo <strong>detección y aviso</strong>. Para updates Note for Electron: this panel only implements <strong>detection and notification</strong>. For real automatic
automáticos reales en desktop, hay que integrar `autoUpdater` en el proceso principal de Electron desktop updates, you need to integrate `autoUpdater` into Electron's main process
y publicar artefactos firmados por plataforma. and publish signed artifacts per platform.
</QBanner> </QBanner>
</QCardSection> </QCardSection>
</QCard> </QCard>