From 376171b2cf9addcc443f23f9a35edb4199cd6567 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Sat, 7 May 2022 20:13:54 -0700 Subject: [PATCH] data file options and translations --- languages/en.json | 3 +++ resources/index.html | 13 ++++++++++--- resources/js/translation.js | 3 +++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/languages/en.json b/languages/en.json index 674781a..38d2d9e 100644 --- a/languages/en.json +++ b/languages/en.json @@ -28,6 +28,7 @@ "enableServerLauncherSubtitle": "Enable to server launcher tile for launching a local Grasscutter instance.", "httpsOption": "Use HTTPS", "httpsSubtitle": "Choose between using HTTPS or HTTP.", + "debugOption": "Debugging", "introSen1": "Looks like this is your first time opening GrassClipper!", "introSen2": "First of all, welcome, happy to see you here! :)", @@ -74,6 +75,8 @@ "devSubtitle": "Install Grasscutter development branch. This build sometimes has bugs, and is frequently updated. Use at your own risk.", "downloadResources": "Download Grasscutter Resources", "resourceSubtitle": "Downloads Grasscutter resources into the currently set Grasscutter folder. This should be done unless you plan on getting resources externally.", + "downloadData": "Download Grasscutter Data", + "dataSubtitle": "Downloads Grasscutter data files, such as keys, spawns, and other vital files.", "gcScriptRunning": "Running...", "stableInstall": "Download", diff --git a/resources/index.html b/resources/index.html index 0e0c52a..79b6e2b 100644 --- a/resources/index.html +++ b/resources/index.html @@ -185,10 +185,10 @@
Download Data Files - +
- - Downloads Grasscutter resources into the currently set Grasscutter folder. This should be done unless you plan on getting resources externally. + + Downloads Grasscutter data files, such as keys, spawns, and other vital files.
@@ -262,6 +262,13 @@ Choose between using HTTPS or HTTP. +
+
+ Debugging + + +
+
diff --git a/resources/js/translation.js b/resources/js/translation.js index 17276bd..2d4da23 100644 --- a/resources/js/translation.js +++ b/resources/js/translation.js @@ -58,6 +58,7 @@ async function doTranslation() { set('serverSubtitle', 'enableServerLauncherSubtitle') set('httpsTitle', 'httpsOption') set('httpsSubtitle', 'httpsSubtitle') + set('debugTitle', 'debugOption') // Intro popup const popup = document.getElementById('firstTimeNotice') @@ -100,6 +101,8 @@ async function doTranslation() { set('stableSubtitle', 'stableSubtitle') set('downloadDev', 'downloadDev') set('devSubtitle', 'devSubtitle') + set('dataSubtitle', 'dataSubtitle') + set('downloadData', 'downloadData') set('downloadResources', 'downloadResources') set('resourceSubtitle', 'resourceSubtitle') set('stableInstall', 'stableInstall')