mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-22 17:26:13 +08:00
Add an issue template translation
This commit is contained in:
parent
a0635812bb
commit
89f352bc60
1
.github/ISSUE_TEMPLATE.md
vendored
1
.github/ISSUE_TEMPLATE.md
vendored
@ -1,2 +1,3 @@
|
||||
###### 下記の問題を説明してください。 スクリーンショットと診断情報を含めてください。
|
||||
###### Describe the problem you are having below. Please include a screenshot and the diagnostic information.
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
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){
|
||||
|
Loading…
Reference in New Issue
Block a user