Commit 89f352bc authored by LoveEevee's avatar LoveEevee

Add an issue template translation

parent a0635812
###### 下記の問題を説明してください。 スクリーンショットと診断情報を含めてください。
###### Describe the problem you are having below. Please include a screenshot and the diagnostic information.
class About{
class About{
constructor(touchEnabled){
this.issueTemplate = "###### Describe the problem you are having below. Please include a screenshot and the diagnostic information."
this.issueTemplate = [
"###### 下記の問題を説明してください。 スクリーンショットと診断情報を含めてください。",
"###### Describe the problem you are having below. Please include a screenshot and the diagnostic information."
]
this.touchEnabled = touchEnabled
loader.changePage("about")
......@@ -115,7 +118,7 @@ class About{
}
}
var issueBody = this.issueTemplate + "\n\n\n\n" + diag
var issueBody = this.issueTemplate.join("\n") + "\n\n\n\n" + diag
this.getLink(this.linkGithub).href += "?body=" + encodeURIComponent(issueBody)
this.getLink(this.linkEmail).href += "?body=" + encodeURIComponent(issueBody.replace(/\n/g, "\r\n"))
}
......
......@@ -169,8 +169,8 @@ class SongSelect{
this.selectedDiff = 0
assets.sounds["bgm_songsel"].playLoop(0.1, false, 0, 1.442, 3.506)
if(!touchEnabled && !fromTutorial && !("selectedSong" in localStorage)){
fromTutorial = "tutorial"
if(!fromTutorial && !("selectedSong" in localStorage)){
fromTutorial = touchEnabled ? "about" : "tutorial"
}
if(fromTutorial){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment