registry login translations

This commit is contained in:
SpikeHD 2022-04-29 22:45:14 -07:00
parent cbae9f31c2
commit 141f8dbeb2
4 changed files with 6 additions and 2 deletions

View File

@ -28,6 +28,8 @@
"enableServerLauncherSubtitle": "Enable to server launcher tile for launching a local Grasscutter instance.",
"httpsOption": "Use HTTPS",
"httpsSubtitle": "Choose between using HTTPS or HTTP.",
"registryOption": "Login via Windows Registry",
"registrySubtitle": "Instead of copying login tokens when authenticating, you can login via a modification to the registry. Clears the registry data on game close.",
"introSen1": "Looks like this is your first time opening GrassClipper!",
"introSen2": "First of all, welcome, happy to see you here! :)",

View File

@ -184,7 +184,7 @@
</div>
<div class="settingsRow">
<div class="settingSection">
<span class="settingLabel", id="registryLoginTitle">Login with Registry</span>
<span class="settingLabel", id="registryLoginTitle">Login via Windows Registry</span>
<input type="checkbox" id="registryOption" onchange="toggleRegistryLogin()" />
</select>
</div>

View File

@ -58,6 +58,8 @@ async function doTranslation() {
set('serverSubtitle', 'enableServerLauncherSubtitle')
set('httpsTitle', 'httpsOption')
set('httpsSubtitle', 'httpsSubtitle')
set('registryLoginTitle', 'registryOption')
set('registrySubtitle', 'registrySubtitle')
// Intro popup
const popup = document.getElementById('firstTimeNotice')

View File

@ -84,7 +84,7 @@ taskkill /f /im mitmdump.exe
echo Done, see you next time
:: Just in case the user has corutils installed, use this hacky timeout instead of the timeout command
ping 127.0.0.1 -n 2 > nul
ping 127.0.0.1 -n 1 > nul
:: Attempt to kill either
taskkill /f /fi "WINDOWTITLE eq Administrator: PS Launcher Script"