From c4420bf4dd473bc8cbf5d8ae47ba5c6e9437c6fe Mon Sep 17 00:00:00 2001 From: yukirij Date: Tue, 3 Sep 2024 21:22:04 -0700 Subject: [PATCH] Update language for name change. --- www/js/language.js | 4 +++- www/js/scene.js | 22 +++++++++++----------- www/js/ui.js | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/www/js/language.js b/www/js/language.js index 60f60cd..9032ad2 100644 --- a/www/js/language.js +++ b/www/js/language.js @@ -10,6 +10,8 @@ LANGUAGE.Term = class { }; LANGUAGE.Terms = { + title: new LANGUAGE.Term( "Dzura", "ヅラ" ), + dawn: new LANGUAGE.Term( "Dawn", "暁" ), dusk: new LANGUAGE.Term( "Dusk", "黄昏" ), @@ -67,7 +69,7 @@ LANGUAGE.Terms = { Castle: new LANGUAGE.Term( "Castle", "城" ), Dragon: new LANGUAGE.Term( "Dragon", "竜" ), Behemoth: new LANGUAGE.Term( "Behemoth", "獣" ), - Omen: new LANGUAGE.Term( "Omen", "兆" ), + Source: new LANGUAGE.Term( "Source", "元" ), //: new LANGUAGE.Term( "", "" ), diff --git a/www/js/scene.js b/www/js/scene.js index 93d3c2a..155fff2 100644 --- a/www/js/scene.js +++ b/www/js/scene.js @@ -234,7 +234,7 @@ const SCENES = { SCENE.refresh(); - history.pushState(null, "Omen", "/"); + history.pushState(null, "Dzura", "/"); return true; } refresh() { @@ -295,7 +295,7 @@ const SCENES = { SCENE.refresh(); - history.pushState(null, "Omen - Continue", "/continue/"); + history.pushState(null, "Dzura - Continue", "/continue/"); return true; } refresh() { @@ -347,7 +347,7 @@ const SCENES = { SCENE.refresh(); - history.pushState(null, "Omen - Join", "/join/"); + history.pushState(null, "Dzura - Join", "/join/"); return true; }, refresh() { @@ -410,7 +410,7 @@ const SCENES = { SCENE.refresh(); - history.pushState(null, "Omen - Live", "/live/"); + history.pushState(null, "Dzura - Live", "/live/"); return true; } refresh() { @@ -469,7 +469,7 @@ const SCENES = { SCENE.refresh(); - history.pushState(null, "Omen - History", "/history/"); + history.pushState(null, "Dzura - History", "/history/"); return true; } refresh() { @@ -509,7 +509,7 @@ const SCENES = { this.refresh("game.html"); - history.pushState(null, "Omen - Guide", "/guide/"); + history.pushState(null, "Dzura - Guide", "/guide/"); return true; } refresh(page) { @@ -537,7 +537,7 @@ const SCENES = { this.refresh("main.html"); - history.pushState(null, "Omen - About", "/about/"); + history.pushState(null, "Dzura - About", "/about/"); return true; } refresh(page) { @@ -601,7 +601,7 @@ const SCENES = { INTERFACE.init(data.token, data.mode); - history.pushState(null, "Omen - Game", "/game/" + PACK.base64(data.token).slice(0, -1)); + history.pushState(null, "Dzura - Game", "/game/" + PACK.base64(data.token).slice(0, -1)); return true; } unload() { @@ -643,7 +643,7 @@ const SCENES = { INTERFACE.init(null, INTERFACE.Mode.Local); - history.pushState(null, "Omen - Practice", "/practice/"); + history.pushState(null, "Dzura - Practice", "/practice/"); return true; } unload() { @@ -726,7 +726,7 @@ const SCENES = { SCENE.refresh(); - history.pushState(null, "Omen", "/challenge/"); + history.pushState(null, "Dzura", "/challenge/"); return true; } refresh() { @@ -805,7 +805,7 @@ const SCENES = { SCENE.refresh(); - history.pushState(null, "Omen", "/challenge/"); + history.pushState(null, "Dzura", "/challenge/"); return true; } refresh() { diff --git a/www/js/ui.js b/www/js/ui.js index a92975f..a4cd141 100644 --- a/www/js/ui.js +++ b/www/js/ui.js @@ -368,7 +368,7 @@ const UI = { MENU = document.createElement("nav"); let title = document.createElement("header"); - title.innerText = "Omen"; + title.innerText = "Dzura"; MENU.appendChild(title); MAIN = document.createElement("main");