translation setup for downloads

This commit is contained in:
SpikeHD 2022-05-01 23:40:11 -07:00
parent 42290412ba
commit fdc3abb600
3 changed files with 32 additions and 1 deletions

View File

@ -63,5 +63,21 @@
"alertAuthNoRegister": "Authentication is disabled, no need to register!", "alertAuthNoRegister": "Authentication is disabled, no need to register!",
"alertRegisterSuccess": "Registration successful!", "alertRegisterSuccess": "Registration successful!",
"downloadTitle": "Downloads",
"grassclipperTitle": "GrassClipper",
"grasscutterTitle": "Grasscutter",
"installerTitle": "Installer",
"installerSubtitle": "Installs proxy and other tools. Required for Grasscutter servers.",
"downloadStable": "Download Grasscutter Stable Build",
"stableSubtitle": "Install Grasscutter stable branch. This build usually has less bugs, but also less features.",
"downloadDev": "Download Grasscutter Development Build",
"downloadSubtitle": "Install Grasscutter development branch. This build sometimes has bugs, and is frequently updated. Use at your own risk.",
"downloadResources": "Download Grasscutter Resources",
"devSubtitle": "Downloads Grasscutter resources into the currently set Grasscutter folder. This should be done unless you plan on getting resources externally.",
"gcScriptRunning": "Running...",
"stableInstall": "Download",
"devInstall": "Download",
"updateNotifText": "A new update is available! Newest version: " "updateNotifText": "A new update is available! Newest version: "
} }

View File

@ -135,7 +135,7 @@
Installs proxy and other tools. Required for Grasscutter servers. Installs proxy and other tools. Required for Grasscutter servers.
</span> </span>
</div> </div>
<div class="downloadTitle", id="grassclipperTitle"> <div class="downloadTitle", id="grasscutterTitle">
Grasscutter Grasscutter
</div> </div>
<div class="downloadRow"> <div class="downloadRow">

View File

@ -90,6 +90,21 @@ async function doTranslation() {
set('loginPopupContentBodyBtnRegister', 'authRegisterBtn') set('loginPopupContentBodyBtnRegister', 'authRegisterBtn')
set('noLoginBtn', 'launchWithoutAuth') set('noLoginBtn', 'launchWithoutAuth')
// Downloads section
set('downloadTitle', 'downloadTitle')
set('grassclipperTitle', 'grassclipperTitle')
set('grasscutterTitle', 'grasscutterTitle')
set('installerTitle', 'installerTitle')
set('installerSubtitle', 'installerSubtitle')
set('downloadStable', 'downloadStable')
set('stableSubtitle', 'stableSubtitle')
set('downloadDev', 'downloadDev')
set('downloadSubtitle', 'downloadSubtitle')
set('downloadResources', 'downloadResources')
set('devSubtitle', 'devSubtitle')
set('stableInstall', 'stableInstall')
set('devInstall', 'devInstall')
// update notification // update notification
set('updateNotifText', 'updateNotifText') set('updateNotifText', 'updateNotifText')
} }