Spanish translations for intro messages and some menus. Added Empty (save file) to lang files

This commit is contained in:
rnicar 2024-05-03 20:54:20 +02:00
parent 9fc6bdde21
commit 03c10364ec
7 changed files with 23 additions and 14 deletions

View File

@ -39,5 +39,6 @@ export const menu: SimpleTranslationEntries = {
"weeklyRankings": "Weekly Rankings",
"noRankings": "No Rankings",
"loading": "Loading…",
"playersOnline": "Players Online"
"playersOnline": "Players Online",
"empty":"Empty",
} as const;

View File

@ -39,5 +39,6 @@ export const menu: SimpleTranslationEntries = {
"weeklyRankings": "Weekly Rankings",
"noRankings": "No Rankings",
"loading": "Loading…",
"playersOnline": "Players Online"
"playersOnline": "Players Online",
"empty":"Empty",
} as const;

View File

@ -19,9 +19,10 @@ export const menu: SimpleTranslationEntries = {
"boyOrGirl": "¿Eres un chico o una chica?",
"boy": "Chico",
"girl": "Chica",
"dailyRankings": "Daily Rankings",
"weeklyRankings": "Weekly Rankings",
"noRankings": "No Rankings",
"loading": "Loading…",
"playersOnline": "Players Online"
"dailyRankings": "Rankings diarios",
"weeklyRankings": "Rankings semanales",
"noRankings": "Sin rankings",
"loading": "Cargando…",
"playersOnline": "Jugadores en línea",
"empty":"Vacío",
} as const;

View File

@ -1,10 +1,13 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const tutorial: SimpleTranslationEntries = {
"intro": `Welcome to PokéRogue! This is a battle-focused Pokémon fangame with roguelite elements.
$This game is not monetized and we claim no ownership of Pokémon nor of the copyrighted assets used.
$The game is a work in progress, but fully playable.\nFor bug reports, please use the Discord community.
$If the game runs slowly, please ensure 'Hardware Acceleration' is turned on in your browser settings.`,
"intro": `¡Bienvenido/a a PokéRogue! Este es un fangame de Pokémon centrado en el combate con elementos roguelite.
$Este juego no está monetizado y no reclamamos ningún derecho de propiedad sobre Pokémon ni sobre ninguno de
$los recursos con copyright utilizados.
$El juego está en proceso, pero es completamente jugable.\nPara reportar bugs, por favor, hazlo en nuestra
$comunidad de Discord.
$Si el juego va lento, por favor, asegúrate de que tienes activada la opción 'Aceleración de gráficos' en los
$ajustes de tu navegador.`,
"accessMenu": `To access the menu, press M or Escape while awaiting input.\nThe menu contains settings and various features.`,

View File

@ -34,5 +34,6 @@ export const menu: SimpleTranslationEntries = {
"weeklyRankings": "Classement de la Semaine",
"noRankings": "Pas de Classement",
"loading": "Chargement…",
"playersOnline": "Joueurs Connectés"
"playersOnline": "Joueurs Connectés",
"empty":"Empty",
} as const;

View File

@ -39,5 +39,6 @@ export const menu: SimpleTranslationEntries = {
"weeklyRankings": "Weekly Rankings",
"noRankings": "No Rankings",
"loading": "Loading…",
"playersOnline": "Players Online"
"playersOnline": "Players Online",
"empty":"Empty",
} as const;

View File

@ -8,6 +8,7 @@ import * as Utils from "../utils";
import PokemonData from "../system/pokemon-data";
import { PokemonHeldItemModifier } from "../modifier/modifier";
import MessageUiHandler from "./message-ui-handler";
import i18next from "i18next";
const sessionSlotCount = 5;
@ -314,7 +315,7 @@ class SessionSlot extends Phaser.GameObjects.Container {
this.scene.gameData.getSession(this.slotId).then(async sessionData => {
if (!sessionData) {
this.hasData = false;
this.loadingLabel.setText('Empty');
this.loadingLabel.setText(i18next.t("menu:empty"));
resolve(false);
return;
}