修复默认设置的语言显示问题

pull/1050/head
lyswhut 2022-07-10 16:06:07 +08:00
parent 9521bba4ba
commit a2c613d380
3 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
"compilerOptions": { "compilerOptions": {
"baseUrl": "./", "baseUrl": "./",
"paths": { "paths": {
"@/*": ["src/*"],
"@main/*": ["src/main/*"], "@main/*": ["src/main/*"],
"@renderer/*": ["src/renderer/*"], "@renderer/*": ["src/renderer/*"],
"@lyric/*": ["src/renderer-lyric/*"], "@lyric/*": ["src/renderer-lyric/*"],

View File

@ -34,8 +34,8 @@ const defaultSetting = {
isLock: false, isLock: false,
isAlwaysOnTop: false, isAlwaysOnTop: false,
isAlwaysOnTopLoop: false, isAlwaysOnTopLoop: false,
width: 380, width: 450,
height: 420, height: 300,
x: null, x: null,
y: null, y: null,
theme: 0, theme: 0,

View File

@ -32,6 +32,7 @@ langs.forEach(item => {
langList.push({ langList.push({
name: item.name, name: item.name,
locale: item.locale, locale: item.locale,
alternate: item.alternate,
}) })
messages[item.locale] = item.message messages[item.locale] = item.message
}) })