Merge pull request #20 from memetrollsXD/main

Add support for Dutch and Spanish
This commit is contained in:
SpikeHD 2022-04-23 17:04:53 -07:00 committed by GitHub
commit 7ccb591ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 99 additions and 21 deletions

View File

@ -40,7 +40,7 @@ Grasscutter launcher for easily switching between Official and Private servers
* [x] Server IP input
* [x] Fun fancy CSS styling n stuff (CoD: MW 2019-style vertical menu for choosing between official and private servers? [See this](https://charlieintel.com/wp-content/uploads/2020/11/MW-new-menu.png))
* [ ] Custom images for private server sections (anyone is welcome to submit a pull request to add some!)
* [ ] Optional username/password creation for servers before entering (not implemented in GrassCutter yet)
* [ ] Optional username/password creation for servers before entering (not implemented in Grasscutter yet)
* [x] Kill switch script (optional)
* [x] Automatically run `install.cmd` when opening for the first time
* [ ] Fix Windows scaling issues?

View File

@ -3,11 +3,11 @@
"appName": "GrassClipper",
"playOfficial": "Play Official",
"playPrivate": "Play Private",
"playPrivate": "Play on Grasscutter",
"launchLocalServer": "Launch Local Server",
"genshinFolderSet": "Set \"Genshin Impact Game\" folder",
"grasscutterFileSet": "Set \"GrassCutter\" .jar file",
"grasscutterFileSet": "Set \"Grasscutter\" .jar file",
"folderNotSet": "Not set",
"ipPlaceholder": "IP Address",
@ -20,7 +20,7 @@
"proxyOption": "Proxy",
"proxySubtitle": "Install the proxy server via the install script",
"updateOption": "Update",
"updateSubtitle": "Auto updating is temporarily disabled. Check GitHub for the newest releease.",
"updateSubtitle": "Auto updating is temporarily disabled. Check GitHub for the newest release.",
"languageOption": "Language",
"languageSubtitle": "Select your language!",
"enableServerLauncherOption": "Enable Server Launcher",
@ -35,5 +35,5 @@
"proxyInstallDeny": "No thanks",
"genshinFolderDialog": "Select Genshin Impact Game folder",
"grasscutterFileDialog": "Select GrassCutter server jar file"
"grasscutterFileDialog": "Select Grasscutter server jar file"
}

39
languages/es.json Normal file
View File

@ -0,0 +1,39 @@
{
"fullLangName": "Español (México)",
"appName": "GrassClipper",
"playOfficial": "Jugar en oficial",
"playPrivate": "Jugar en Grasscutter",
"launchLocalServer": "Iniciar servidor local",
"genshinFolderSet": "Establece el folder \"Genshin Impact Game\"",
"grasscutterFileSet": "Establece el archivo .jar de \"Grasscutter\"",
"folderNotSet": "No establecido",
"ipPlaceholder": "Dirección IP",
"noFavorites": "No hay favoritos",
"settingsTitle": "Ajustes",
"scriptsSectionTitle": "Scripts",
"killswitchOption": "Kill Switch",
"killswitchSubtitle": "Solo para aquellos muy paranoicos con bans. Cierra el proceso del juego *y tu Internet* si algo le sucede al proxy.",
"proxyOption": "Proxy",
"proxySubtitle": "Instale el servidor proxy a través del script de instalación",
"updateOption": "Update",
"updateSubtitle": "Las actualizaciónes automáticas están deshabilitadas temporalmente. Consulte GitHub para ver la versión más reciente.",
"languageOption": "Idioma",
"languageSubtitle": "Seleccióne su idioma!",
"enableServerLauncherOption": "Habilita el launcher del servidor",
"enableServerLauncherSubtitle": "Habilite el tile del launche del servidor para iniciar una instancia local de Grasscutter.",
"introSen1": "¡Parece que es la primera vez que abres GrassClipper!",
"introSen2": "En primer lugar, ¡bienvenido, feliz de verte por aquí! :)",
"introSen3": "Quieres ejecutar el instalador de proxy?",
"introSen4": "(necesario para conectarse a los servidores)",
"proxyInstallBtn": "Instalar",
"proxyInstallDeny": "No gracias",
"genshinFolderDialog": "Selecciona la carpeta Genshin Impact game",
"grasscutterFileDialog": "Selecciona el archivo .jar de Grasscutter"
}

View File

@ -3,11 +3,11 @@
"appName": "GrassClipper",
"playOfficial": "Mainkan Official",
"playPrivate": "Mainkan Private",
"playPrivate": "Mainkan Grasscutter",
"launchLocalServer": "Luncurkan Local Server",
"genshinFolderSet": "Atur folder \"Genshin Impact Game\"",
"grasscutterFileSet": "Atur file \"GrassCutter\" .jar",
"grasscutterFileSet": "Atur file \"Grasscutter\" .jar",
"folderNotSet": "Belum diatur",
"ipPlaceholder": "Alamat IP",
@ -35,5 +35,5 @@
"proxyInstallDeny": "Tidak terima kasih",
"genshinFolderDialog": "Pilih folder Genshin Impact Game",
"grasscutterFileDialog": "Pilih file jar server GrassCutter"
"grasscutterFileDialog": "Pilih file jar server Grasscutter"
}

39
languages/nl.json Normal file
View File

@ -0,0 +1,39 @@
{
"fullLangName": "Nederlands",
"appName": "GrassClipper",
"playOfficial": "Normaal spelen",
"playPrivate": "Op Grasscutter spelen",
"launchLocalServer": "Lokale server starten",
"genshinFolderSet": "Selecteer de \"Genshin Impact Game\" folder",
"grasscutterFileSet": "Selecteer het \"Grasscutter\" .jar bestand",
"folderNotSet": "Niet geselecteerd",
"ipPlaceholder": "IP adres",
"noFavorites": "Geen favorieten",
"settingsTitle": "Instellingen",
"scriptsSectionTitle": "Scripts",
"killswitchOption": "Kill Switch",
"killswitchSubtitle": "Alleen voor de paranoïde gebruikers. Als iets met de proxy gebeurt, sluit dit jouw spel *en je internet* af.",
"proxyOption": "Proxy",
"proxySubtitle": "Installeer de proxy server via de installeer script",
"updateOption": "Update",
"updateSubtitle": "Automatisch updaten is tijdelijk uitgeschakeld. Ga naar de GitHub voor de nieuwste release.",
"languageOption": "Taal",
"languageSubtitle": "Selecteer je taal!",
"enableServerLauncherOption": "Server Launcher inschakelen",
"enableServerLauncherSubtitle": "Schakel dit in om de server launcher tile te gebruiken om een lokale Grasscutter server te starten.",
"introSen1": "Het lijkt erop dat het de eerste keer is dat je Grasscutter gebruikt!",
"introSen2": "Ten eerste, welkom, goed om jou hier te zien! :)",
"introSen3": "Wil je de proxy installer uitvoeren?",
"introSen4": "(vereist om te verbinden naar servers)",
"proxyInstallBtn": "Installeren",
"proxyInstallDeny": "Nee dank je",
"genshinFolderDialog": "Selecteer de Genshin Impact Game folder",
"grasscutterFileDialog": "Selecteer het Grasscutter server jar bestand"
}

View File

@ -3,11 +3,11 @@
"appName": "GrassClipper",
"playOfficial": "Jogar (Oficial)",
"playPrivate": "Jogar (Privado)",
"playPrivate": "Jogar (Grasscutter)",
"launchLocalServer": "Abrir Servidor Local",
"genshinFolderSet": "Definir a pasta: \"Genshin Impact Game\" ",
"grasscutterFileSet": "Definir o arquivo .jar de \"GrassCutter\" ",
"grasscutterFileSet": "Definir o arquivo .jar de \"Grasscutter\" ",
"folderNotSet": "Não Definida",
"ipPlaceholder": "Endereço Ip",
@ -24,7 +24,7 @@
"languageOption": "Idioma",
"languageSubtitle": "Selecione seu idioma!",
"enableServerLauncherOption": "Permitir ao launcher ligar o servidor",
"enableServerLauncherSubtitle": "Permitir ao launcher iniciar uma instancia local do GrassCutter",
"enableServerLauncherSubtitle": "Permitir ao launcher iniciar uma instancia local do Grasscutter",
"introSen1": "Parece que essa é a sua primeira vez usando o GrassClipper!",
"introSen2": "Primeiramente, bem-vindo, estou feliz de te ver aqui! :)",
@ -35,5 +35,5 @@
"proxyInstallDeny": "Não obrigado",
"genshinFolderDialog": "Selecione a pasta Genshin Impact Game",
"grasscutterFileDialog": "Selecione o arquivo jar do GrassCutter"
"grasscutterFileDialog": "Selecione o arquivo jar do Grasscutter"
}

View File

@ -3,11 +3,11 @@
"appName": "GrassClipper",
"playOfficial": "Máy chủ chính thức",
"playPrivate": "Máy chủ riêng tư",
"playPrivate": "Grasscutter",
"launchLocalServer": "Khởi động Grasscutter",
"genshinFolderSet": "Chỉnh địa điểm thư mục \"Genshin Impact Game\"",
"grasscutterFileSet": "Chỉnh địa điểm file \"GrassCutter\"",
"grasscutterFileSet": "Chỉnh địa điểm file \"Grasscutter\"",
"folderNotSet": "Chưa chỉnh file",
"ipPlaceholder": "Địa chỉ IP",

View File

@ -3,12 +3,12 @@
"appName": "GrassClipper启动器",
"playOfficial": "游玩官方服务器",
"playPrivate": "游玩私人服务器",
"playPrivate": "在 Grasscutter 上播放",
"launchLocalServer": "启动本地服务器",
"genshinFolderSet": "选择 \"原神\" 文件夹",
"grasscutterFileSet": "选择 \"GrassCutter\" .jar 文件",
"folderNotSet": "没有设置原神文件夹或GrassCutter文件",
"grasscutterFileSet": "选择 \"Grasscutter\" .jar 文件",
"folderNotSet": "没有设置原神文件夹或Grasscutter文件",
"ipPlaceholder": "IP地址",
"noFavorites": "没有收藏",
@ -35,5 +35,5 @@
"proxyInstallDeny": "不用了,谢谢",
"genshinFolderDialog": "选择原神文件夹",
"grasscutterFileDialog": "选择GrassCutter服务器jar文件"
"grasscutterFileDialog": "选择Grasscutter服务器jar文件"
}

View File

@ -1,5 +1,5 @@
{
"name": "GrassClipper",
"name": "grassclipper",
"version": "0.6.4",
"repository": "https://github.com/Grasscutters/GrassClipper.git",
"author": "SpikeHD <spikegdofficial@gmail.com>",

View File

@ -121,7 +121,7 @@
<span id="genshinPath" style="margin-top: 4px;"></span>
</div>
<div style="display: none;">
<button class="smolBtn" onclick="setGrassCutterFolder()" id="grasscutterFileSet">Set "GrassCutter" .jar file</button>
<button class="smolBtn" onclick="setGrasscutterFolder()" id="grasscutterFileSet">Set "Grasscutter" .jar file</button>
<span id="serverPath" style="margin-top: 4px;"></span>
</div>
</div>

View File

@ -339,7 +339,7 @@ async function setGenshinImpactFolder() {
enableButtons()
}
async function setGrassCutterFolder() {
async function setGrasscutterFolder() {
const folder = await Neutralino.os.showOpenDialog(localeObj.grasscutterFileDialog, {
filters: [
{ name: 'Jar files', extensions: ['jar'] }