From 9aeb38db84b3cedaf090802157c8d3a553afd6e6 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Thu, 5 Oct 2023 14:26:25 -0400 Subject: [PATCH] Update --- app/assets/lang/en_US.toml | 6 ++---- app/login.ejs | 2 +- app/settings.ejs | 4 ++-- index.js | 4 +--- package-lock.json | 4 ++-- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/app/assets/lang/en_US.toml b/app/assets/lang/en_US.toml index 81b886b6..e6fdc0f5 100644 --- a/app/assets/lang/en_US.toml +++ b/app/assets/lang/en_US.toml @@ -35,7 +35,7 @@ loginButtonText = "LOGIN" loginNeedAccountLink = "https://minecraft.net/store/minecraft-java-edition/" loginNeedAccountText = "Need an Account?" loginPasswordDisclaimer1 = "Your password is sent directly to mojang and never stored." -loginPasswordDisclaimer2 = "<%= lang('app.title') %> is not affiliated with Mojang AB." +loginPasswordDisclaimer2 = "{appName} is not affiliated with Mojang AB." [ejs.loginOptions] loginOptionsTitle = "Login Options" @@ -104,8 +104,6 @@ javaReqDesc = "Requires Java 8 x64." javaPathDesc = "The path should end with {pathSuffix}." jvmOptsTitle = "Additional JVM Options" jvmOptsDesc = "Options to be provided to the JVM at runtime. -Xms and -Xmx should not be included." -jvmOptsLink = "https://docs.oracle.com/javase/8/docs/technotes/tools/<%= process.platform === 'win32' ? 'windows' : 'unix' %>/java.html" -jvmOptsLinkText = "Available Options for Java 8." launcherTabHeaderText = "Launcher Settings" launcherTabHeaderDesc = "Options related to the launcher itself." allowPrereleaseTitle = "Allow Pre-Release Updates." @@ -116,7 +114,7 @@ chooseFolder = "Choose Folder" dataDirectoryDesc = "All game files and local Java installations will be stored in the data directory.
Screenshots and world saves are stored in the instance folder for the corresponding server configuration." aboutTabHeaderText = "About" aboutTabHeaderDesc = "View information and release notes for the current version." -aboutTitle = "<%= lang('app.title') %>" +aboutTitle = "{appName}" aboutCurrentVersionCheck = "Stable Release" versionCheck = "✓" stableRelease = "Stable Release" diff --git a/app/login.ejs b/app/login.ejs index 0d5b3e0d..d059abed 100644 --- a/app/login.ejs +++ b/app/login.ejs @@ -57,7 +57,7 @@ <%- lang('login.loginNeedAccountText') %>

<%- lang('login.loginPasswordDisclaimer1') %>

-

<%- lang('login.loginPasswordDisclaimer2') %>

+

<%- lang('login.loginPasswordDisclaimer2', { appName: lang('app.title') }) %>

diff --git a/app/settings.ejs b/app/settings.ejs index 0be2cca1..f0d52dbb 100644 --- a/app/settings.ejs +++ b/app/settings.ejs @@ -266,7 +266,7 @@ -
<%- lang('settings.jvmOptsDesc') %>
<%- lang('settings.jvmOptsLinkText') %>
+
<%- lang('settings.jvmOptsDesc') %>