add language settings to locale

This commit is contained in:
SpikeHD 2022-04-22 22:12:01 -07:00
parent 7ddc39ad2c
commit 0cc72f1f46
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@
"proxySubtitle": "Install the proxy server via the install script",
"updateOption": "Update",
"updateSubtitle": "Auto updating is temporarily disabled. Check GitHub for the newest releease.",
"languageOption": "Language",
"languageSubtitle": "Select your language!",
"enableServerLauncherOption": "Enable Server Launcher",
"enableServerLauncherSubtitle": "Enable to server launcher tile for launcher a local Grasscutter instance.",

View File

@ -43,6 +43,8 @@ async function doTranslation() {
set('updateBtn', localeObj.updateOption)
set('updateTitle', localeObj.updateOption)
set('updateSubtitle', localeObj.updateSubtitle)
set('languageTitle', localeObj.languageOption)
set('languageSubtitle', localeObj.languageSubtitle)
set('serverLaunchTitle', localeObj.enableServerLauncherOption)
set('serverSubtitle', localeObj.enableServerLauncherSubtitle)