Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 674b9e7c87 |
@@ -534,6 +534,7 @@ function renderStep3() {
|
|||||||
section.innerHTML =
|
section.innerHTML =
|
||||||
'<h2>' + escapeHtml(tt('step3.heading')) + '</h2>' +
|
'<h2>' + escapeHtml(tt('step3.heading')) + '</h2>' +
|
||||||
'<p class="formMessage">' + escapeHtml(tt('step3.message')) + '</p>' +
|
'<p class="formMessage">' + escapeHtml(tt('step3.message')) + '</p>' +
|
||||||
|
'<p class="formMessage">' + escapeHtml(tt('step3.applyNotice')) + '</p>' +
|
||||||
(state.resourcepackPath
|
(state.resourcepackPath
|
||||||
? '<p class="formMessage"><code>' + escapeHtml(state.resourcepackPath) + '</code></p>'
|
? '<p class="formMessage"><code>' + escapeHtml(state.resourcepackPath) + '</code></p>'
|
||||||
: '') +
|
: '') +
|
||||||
|
|||||||
@@ -96,6 +96,20 @@ function clearPage() {
|
|||||||
pageHost.innerHTML = ''
|
pageHost.innerHTML = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 첫 진입 안내 페이지: 마인크래프트 런처를 끄고 시작하도록 안내.
|
||||||
|
function renderIntro() {
|
||||||
|
setActiveStep(1)
|
||||||
|
clearPage()
|
||||||
|
var section = document.createElement('section')
|
||||||
|
section.className = 'page'
|
||||||
|
section.innerHTML =
|
||||||
|
'<h2>' + tt('intro.heading') + '</h2>' +
|
||||||
|
'<p class="formMessage">' + tt('intro.message') + '</p>' +
|
||||||
|
'<div class="actionRow"><button class="primaryBtn" id="introNext">' + tt('common.next') + '</button></div>'
|
||||||
|
pageHost.appendChild(section)
|
||||||
|
section.querySelector('#introNext').addEventListener('click', renderStep1)
|
||||||
|
}
|
||||||
|
|
||||||
function renderStep1() {
|
function renderStep1() {
|
||||||
setActiveStep(1)
|
setActiveStep(1)
|
||||||
clearPage()
|
clearPage()
|
||||||
@@ -972,5 +986,5 @@ function escapeHtml(s) {
|
|||||||
I18N = (await installerApi.loadLocale()) || {}
|
I18N = (await installerApi.loadLocale()) || {}
|
||||||
} catch (_) { I18N = {} }
|
} catch (_) { I18N = {} }
|
||||||
applyStaticI18n()
|
applyStaticI18n()
|
||||||
renderStep1()
|
renderIntro()
|
||||||
})()
|
})()
|
||||||
|
|||||||
@@ -63,7 +63,8 @@
|
|||||||
},
|
},
|
||||||
"step3": {
|
"step3": {
|
||||||
"heading": "완료",
|
"heading": "완료",
|
||||||
"message": "리소스팩 설치를 완료했습니다."
|
"message": "사용자 동의하에 리소스팩이 설치되었습니다.",
|
||||||
|
"applyNotice": "리소스팩은 직접 적용해주세요."
|
||||||
},
|
},
|
||||||
"install": {
|
"install": {
|
||||||
"errorMessage": "설치 중 오류가 발생했습니다: {{message}}",
|
"errorMessage": "설치 중 오류가 발생했습니다: {{message}}",
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
"intro": {
|
||||||
|
"heading": "시작하기 전에",
|
||||||
|
"message": "마인크래프트 런처를 끄고 시작해주세요."
|
||||||
|
},
|
||||||
"common": {
|
"common": {
|
||||||
"back": "이전",
|
"back": "이전",
|
||||||
"next": "다음",
|
"next": "다음",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "minecraft-music-quiz-installer",
|
"name": "minecraft-music-quiz-installer",
|
||||||
"version": "0.3.11",
|
"version": "0.3.12",
|
||||||
"description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트",
|
"description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트",
|
||||||
"main": "dist/installer/main.js",
|
"main": "dist/installer/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user