Titlescreen: add disclaimer

This commit is contained in:
Bui
2019-01-28 11:43:18 +00:00
parent 12bf63c1b8
commit 2a4e566227
4 changed files with 41 additions and 2 deletions

View File

@@ -6,6 +6,8 @@
this.taikoWeb = "たいこウェブ"
this.titleProceed = "クリックするかEnterを押す"
this.titleDisclaimer = "この非公式シミュレーターはバンダイナムコとは関係がありません。"
this.titleCopyright = "Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc."
this.categories = {
"J-POP": "J-POP",
"アニメ": "アニメ",
@@ -104,6 +106,8 @@ function StringsEn(){
this.taikoWeb = "Taiko Web"
this.titleProceed = "Click or Press Enter!"
this.titleDisclaimer = "This unofficial simulator is unaffiliated with BANDAI NAMCO."
this.titleCopyright = "Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc."
this.categories = {
"J-POP": "Pop",
"アニメ": "Anime",
@@ -202,6 +206,8 @@ function StringsCn(){
this.taikoWeb = "太鼓网页"
this.titleProceed = "点击或按回车!"
this.titleDisclaimer = "この非公式シミュレーターはバンダイナムコとは関係がありません。"
this.titleCopyright = "Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc."
this.categories = {
"J-POP": "流行音乐",
"アニメ": "卡通动画音乐",
@@ -300,6 +306,8 @@ function StringsTw(){
this.taikoWeb = "太鼓網頁"
this.titleProceed = "點擊或按確認!"
this.titleDisclaimer = "この非公式シミュレーターはバンダイナムコとは関係がありません。"
this.titleCopyright = "Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc."
this.categories = {
"J-POP": "流行音樂",
"アニメ": "卡通動畫音樂",
@@ -398,6 +406,8 @@ function StringsKo(){
this.taikoWeb = "태고 웹"
this.titleProceed = "클릭하거나 Enter를 누릅니다!"
this.titleDisclaimer = "この非公式シミュレーターはバンダイナムコとは関係がありません。"
this.titleCopyright = "Taiko no Tatsujin ©&™ 2011 BANDAI NAMCO Entertainment Inc."
this.categories = {
"J-POP": "POP",
"アニメ": "애니메이션",

View File

@@ -6,7 +6,9 @@ class Titlescreen{
this.proceed = document.getElementById("title-proceed")
this.langDropdown = document.getElementById("lang-dropdown")
this.langId = document.getElementById("lang-id")
this.disclaimerText = document.getElementById("title-disclaimer-text")
this.disclaimerCopyright = document.getElementById("title-disclaimer-copyright")
this.logo = new Logo()
this.lang = this.getLang()
this.setLang(allStrings[this.lang])
@@ -97,6 +99,12 @@ class Titlescreen{
this.proceed.setAttribute("alt", strings.titleProceed)
this.langId.innerText = strings.id.toUpperCase()
this.langId.setAttribute("alt", strings.id.toUpperCase())
this.disclaimerText.innerText = strings.titleDisclaimer
this.disclaimerText.setAttribute("alt", strings.titleDisclaimer)
this.disclaimerCopyright.innerText = strings.titleCopyright
this.disclaimerCopyright.setAttribute("alt", strings.titleCopyright)
loader.screen.style.fontFamily = strings.font
loader.screen.style.fontWeight = strings.font === "Microsoft YaHei, sans-serif" ? "bold" : ""
if(failedTests.length !== 0){