Fixed WelcomRisu settings not being applied
This commit is contained in:
BIN
public/ss4.webp
Normal file
BIN
public/ss4.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
@@ -94,6 +94,8 @@ export const languageEnglish = {
|
||||
apiKeyhelp: "You can get api key from: ",
|
||||
setupSelfHelp: "Setup yourself in settings, after Welcome screen ends.",
|
||||
theme: "Select your theme",
|
||||
themeDescWifulike: "Not suitable for mobile",
|
||||
themeDescWifuCut: "Suitable for mobile",
|
||||
texttheme: "Select your text color",
|
||||
inputName: "Lastly, Input your Nickname."
|
||||
},
|
||||
|
||||
@@ -203,6 +203,8 @@ export const languageKorean = {
|
||||
apiKeyhelp: "이곳에서 API키를 얻을 수 있습니다: ",
|
||||
setupSelfHelp: "첫 셋업 화면이 끝난 뒤, 설정에서 직접 수정해 주세요",
|
||||
theme: "테마를 입력해 주세요",
|
||||
themeDescWifulike: "모바일에 적합하지 않습니다",
|
||||
themeDescWifuCut: "모바일 환경에 적합합니다",
|
||||
texttheme: "텍스트 색상을 선택해주세요",
|
||||
inputName: "마지막으로, 닉네임을 입력해 주세요"
|
||||
},
|
||||
|
||||
@@ -23,10 +23,12 @@
|
||||
<div class="flex flex-col items-start ml-2">
|
||||
<button class="hover:text-green-500 transition-colors" on:click={() => {
|
||||
changeLanguage('en')
|
||||
$DataBase.language='en'
|
||||
step = 1
|
||||
}}>• English</button>
|
||||
<button class="hover:text-green-500 transition-colors" on:click={() => {
|
||||
changeLanguage('ko')
|
||||
$DataBase.language='ko'
|
||||
step = 1
|
||||
}}>• 한국어</button>
|
||||
</div>
|
||||
@@ -100,14 +102,19 @@
|
||||
<button class="hover:text-green-500 transition-colors flex flex-col items-start" on:click={() => {
|
||||
$DataBase.theme = 'waifu'
|
||||
step += 1
|
||||
}}><span>• Waifulike (Not suitable for mobile)</span>
|
||||
}}><span>• Waifulike ({language.setup.themeDescWifulike})</span>
|
||||
<img class="w-3/4 mt-2" src="/ss3.webp" alt="example"></button>
|
||||
<button class="hover:text-green-500 transition-colors flex flex-col items-start" on:click={() => {
|
||||
$DataBase.theme = 'waifuMobile'
|
||||
step += 1
|
||||
}}><span>• WaifuCut ({language.setup.themeDescWifuCut})</span>
|
||||
<img class="w-3/4 mt-2" src="/ss4.webp" alt="example"></button>
|
||||
</div>
|
||||
{:else if step === 4}
|
||||
<h2>{language.setup.texttheme}</h2>
|
||||
<div class="flex flex-col items-start ml-2">
|
||||
<button class="hover:text-green-500 transition-colors flex flex-col items-start" on:click={() => {
|
||||
$DataBase.theme = ''
|
||||
$DataBase.textTheme = 'standard'
|
||||
step += 1
|
||||
}}><span>• {language.classicRisu}</span>
|
||||
<div class="border-borderc py-2 px-8 not-prose">
|
||||
@@ -120,7 +127,7 @@
|
||||
</div>
|
||||
<div class="flex flex-col items-start ml-2 mt-2 mb-2">
|
||||
<button class="hover:text-green-500 transition-colors flex flex-col items-start" on:click={() => {
|
||||
$DataBase.theme = ''
|
||||
$DataBase.textTheme = 'highcontrast'
|
||||
step += 1
|
||||
}}><span>• {language.highcontrast}</span>
|
||||
<div class="border-borderc p-2 py-2 px-8 not-prose">
|
||||
|
||||
Reference in New Issue
Block a user