From 0cc72f1f46decd030ee8762730603d7719d26924 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Fri, 22 Apr 2022 22:12:01 -0700 Subject: [PATCH] add language settings to locale --- languages/en.json | 2 ++ resources/js/translation.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/languages/en.json b/languages/en.json index 78ec32f..6f051d4 100644 --- a/languages/en.json +++ b/languages/en.json @@ -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.", diff --git a/resources/js/translation.js b/resources/js/translation.js index bcf78ec..1d24191 100644 --- a/resources/js/translation.js +++ b/resources/js/translation.js @@ -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)