Skip to content

Commit

Permalink
v3.04 Emergency fix: Invalid language value.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamToki committed Nov 12, 2024
1 parent ed18013 commit 33d4506
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions PROJECT/KanaMaster/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="icon" type="image/x-icon" href="icons/favicon.ico" />
<title>假名征服者</title>
<meta name="author" content="SAM TOKI STUDIO" />
<meta name="version" content="v3.03 (2024/11/12). Since 2023/11/05." />
<meta name="version" content="v3.04 (2024/11/12). Since 2023/11/05." />
<meta name="description" content="日文假名记忆训练游戏,结合了音游的元素。本游戏针对日语初学者,也欢迎 N1 大佬来挑战高难度。" />
<meta name="keywords" content="Sam Toki, SAM TOKI STUDIO, 假名征服者, KanaMaster, かなマスター, 日语学习, 日语入门, 五十音图" />
<meta name="copyright" content="(C) 2023 SAM TOKI STUDIO" />
Expand Down Expand Up @@ -750,7 +750,7 @@ <h4>音频</h4>
<legend>关于</legend>
<p>假名征服者</p>
<p>by SAM TOKI STUDIO</p>
<p>版本 v3.03 (<time datetime="2024-11-12" pubdate="pubdate">2024/11/12</time>)<br />
<p>版本 v3.04 (<time datetime="2024-11-12" pubdate="pubdate">2024/11/12</time>)<br />
始于 2023/11/05</p>
<ul class="CtrlGroup BelowParagraph">
<li class="Ctrl">
Expand Down
4 changes: 2 additions & 2 deletions PROJECT/KanaMaster/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Declare variables
"use strict";
// Unsaved
const CurrentVersion = 3.03,
const CurrentVersion = 3.04,
KanaGrid = [
["", "准备", "暂停"],
[0, "あ", "か", "さ", "た", "な", "は", "ま", "や", "ら", "わ", "が", "ざ", "だ", "ば", "ぱ", "", "", "", "", ""],
Expand Down Expand Up @@ -566,7 +566,7 @@
Highscore[6][4] = Game.Stats.MaxCombo;
}
Highscore[6][1] = "最新";
Highscore[6][2] = new Date(Date.now()).toLocaleDateString(System.I18n.Language);
Highscore[6][2] = new Date(Date.now()).toLocaleDateString(ReadLanguage("Html"));
Highscore[6][3] = Game.Stats.Score.toString().padStart(8, "0");
Highscore[6][5] = Game.Stats.Accuracy.toFixed(2) + "%";
Highscore[6][6] = (Game.Stats.AvgReactionTime / 1000).toFixed(3) + "s";
Expand Down
3 changes: 3 additions & 0 deletions PROJECT/scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
function ReadValue(ID) {
return document.getElementById(ID).value;
}
function ReadLanguage(ID) {
return document.getElementById(ID).lang;
}

// Position
function ReadTop(ID) {
Expand Down

0 comments on commit 33d4506

Please sign in to comment.