Localization: Localized error message for server connection issue (#2598)
* Localization: localized error message for server connection issue * forgor about the portuguese translation * Update src/locales/fr/menu.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> * switched the chinese and portuguese translations * Update src/locales/de/menu.ts Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> * Update src/locales/zh_CN/menu.ts Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com> * Update src/locales/ko/menu.ts Co-authored-by: Enoch <enoch.jwsong@gmail.com> * updated pt translation * last german fix * Update src/locales/es/menu.ts Co-authored-by: Arxxer <javiptn7@gmail.com> --------- Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com> Co-authored-by: Enoch <enoch.jwsong@gmail.com> Co-authored-by: Arxxer <javiptn7@gmail.com>
This commit is contained in:
parent
e521862096
commit
5ec8bf1620
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "HAFTUNGSAUSSCHLUSS",
|
||||
"disclaimerDescription": "Dieses Spiel ist ein unfertiges Produkt. Es kann spielbeinträchtigende Fehler (bis hin zum Verlust des Speicherstandes)\n aufweisen, sich ohne Vorankündigung ändern und es gibt keine Garantie dass es weiterentwickelt oder fertiggestellt wird.",
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"errorServerDown": "Ups! Es gab einen Fehler beim Versuch\nden Server zu kontaktieren\nLasse dieses Fenster offen\nDu wirst automatisch neu verbunden.",
|
||||
} as const;
|
||||
|
|
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "DISCLAIMER",
|
||||
"disclaimerDescription": "This game is an unfinished product; it might have playability issues (including the potential loss of save data),\n change without notice, and may or may not be updated further or completed.",
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"errorServerDown": "Oops! There was an issue contacting the server.\n\nYou may leave this window open,\nthe game will automatically reconnect.",
|
||||
} as const;
|
||||
|
|
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "AVISO",
|
||||
"disclaimerDescription": "Este juego es un producto inacabado; puede tener problemas de jugabilidad (incluyendo la posible pérdida\n de datos de guardado),cambiar sin avisar, y puede o no puede ser actualizado hasta ser completado.",
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"errorServerDown": "¡Ups! Ha habido un problema al contactar con el servidor.\n\nPuedes mantener esta ventana abierta,\nel juego se reconectará automáticamente.",
|
||||
} as const;
|
||||
|
|
|
@ -49,4 +49,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "AVERTISSEMENT",
|
||||
"disclaimerDescription": "Ce jeu n’est pas un produit fini et peut contenir des problèmes de jouabilité, dont de possibles pertes de sauvegardes,\ndes modifications sans avertissement et pourrait ou non encore être mis à jour ou terminé.",
|
||||
"choosePokemon": "Sélectionnez un Pokémon.",
|
||||
"errorServerDown": "Oupsi ! Un problème de connexion au serveur est survenu.\n\nVous pouvez garder cette fenêtre ouverte,\nle jeu se reconnectera automatiquement.",
|
||||
} as const;
|
||||
|
|
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "DISCLAIMER",
|
||||
"disclaimerDescription": "Questo gioco è un prodotto incompleto; si potrebbero riscontrare errori (inclusa la perdita dei dati di salvataggio),\ncambiamenti impercettibili, e non è detto che venga aggiornato nel tempo o mai completato del tutto.",
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"errorServerDown": "Oops! There was an issue contacting the server.\n\nYou may leave this window open,\nthe game will automatically reconnect.",
|
||||
} as const;
|
||||
|
|
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "면책 조항",
|
||||
"disclaimerDescription": "이 게임은 완전히 개발되지 않았습니다- (세이브 데이터 소실을 포함) 플레이에 지장을 주는 문제가 생길 수 있으며,\n공지 없이 업데이트가 진행 혹은 중지될 수 있습니다.",
|
||||
"choosePokemon": "포켓몬을 선택하세요.",
|
||||
"errorServerDown": "서버 연결 중 문제가 발생했습니다.\n\n이 창을 종료하지 않고 두면,\n게임은 자동으로 재접속됩니다.",
|
||||
} as const;
|
||||
|
|
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "AVISO",
|
||||
"disclaimerDescription": "Este jogo é um produto inacabado; ele pode ter problemas de jogabilidade (incluindo possíveis\n perdas de dados salvos), sofrer alterações sem aviso prévio e pode ou não ser atualizado ou concluído.",
|
||||
"choosePokemon": "Escolha um Pokémon.",
|
||||
"errorServerDown": "Opa! Não foi possível conectar-se ao servidor.\n\nVocê pode deixar essa janela aberta,\npois o jogo irá se reconectar automaticamente.",
|
||||
} as const;
|
||||
|
|
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "免责声明",
|
||||
"disclaimerDescription": "这个游戏尚未完成; 可能存在游戏性问题(包括潜在的丢档风险)、\n 不经通知的调整、 未来可能会更新或完成更多内容",
|
||||
"choosePokemon": "选择一只宝可梦。",
|
||||
"errorServerDown": "糟糕!访问服务器时发生了错误。\n\n你可以保持页面开启,\n游戏会自动重新连接。",
|
||||
} as const;
|
||||
|
|
|
@ -54,4 +54,5 @@ export const menu: SimpleTranslationEntries = {
|
|||
"disclaimer": "DISCLAIMER",
|
||||
"disclaimerDescription": "This game is an unfinished product; it might have playability issues (including the potential loss of save data),\n change without notice, and may or may not be updated further or completed.",
|
||||
"choosePokemon": "Choose a Pokémon.",
|
||||
"errorServerDown": "Oops! There was an issue contacting the server.\n\nYou may leave this window open,\nthe game will automatically reconnect.",
|
||||
} as const;
|
||||
|
|
|
@ -4,6 +4,7 @@ import { addTextObject, TextStyle } from "./text";
|
|||
import { Mode } from "./ui";
|
||||
import { updateUserInfo } from "#app/account";
|
||||
import * as Utils from "#app/utils";
|
||||
import i18next from "i18next";
|
||||
|
||||
export default class UnavailableModalUiHandler extends ModalUiHandler {
|
||||
private reconnectTimer: NodeJS.Timeout;
|
||||
|
@ -43,7 +44,7 @@ export default class UnavailableModalUiHandler extends ModalUiHandler {
|
|||
setup(): void {
|
||||
super.setup();
|
||||
|
||||
const label = addTextObject(this.scene, this.getWidth() / 2, this.getHeight() / 2, "Oops! There was an issue contacting the server.\n\nYou may leave this window open,\nthe game will automatically reconnect.", TextStyle.WINDOW, { fontSize: "48px", align: "center" });
|
||||
const label = addTextObject(this.scene, this.getWidth() / 2, this.getHeight() / 2, i18next.t("menu:errorServerDown"), TextStyle.WINDOW, { fontSize: "48px", align: "center" });
|
||||
label.setOrigin(0.5, 0.5);
|
||||
|
||||
this.modalContainer.add(label);
|
||||
|
|
Loading…
Reference in New Issue