Remove more unneeded translations.

This commit is contained in:
Daniel Scalzi 2023-10-05 15:23:58 -04:00
parent 45a24314b1
commit a8996cc3c5
No known key found for this signature in database
GPG Key ID: 9E3E2AFE45328AA5
5 changed files with 6 additions and 11 deletions

View File

@ -9,7 +9,6 @@ const { Type } = require('helios-distribution-types')
const AuthManager = require('./assets/js/authmanager') const AuthManager = require('./assets/js/authmanager')
const ConfigManager = require('./assets/js/configmanager') const ConfigManager = require('./assets/js/configmanager')
const { DistroAPI } = require('./assets/js/distromanager') const { DistroAPI } = require('./assets/js/distromanager')
const Lang = require('./assets/js/langloader')
let rscShouldLoad = false let rscShouldLoad = false
let fatalStartupError = false let fatalStartupError = false

View File

@ -10,6 +10,7 @@ const {ipcRenderer, shell, webFrame} = require('electron')
const remote = require('@electron/remote') const remote = require('@electron/remote')
const isDev = require('./assets/js/isdev') const isDev = require('./assets/js/isdev')
const { LoggerUtil } = require('helios-core') const { LoggerUtil } = require('helios-core')
const Lang = require('./assets/js/langloader')
const loggerUICore = LoggerUtil.getLogger('UICore') const loggerUICore = LoggerUtil.getLogger('UICore')
const loggerAutoUpdater = LoggerUtil.getLogger('AutoUpdater') const loggerAutoUpdater = LoggerUtil.getLogger('AutoUpdater')

View File

@ -11,7 +11,6 @@ mojangStatusNETitle = "Non Essential"
newsButton = "NEWS" newsButton = "NEWS"
launchButton = "PLAY" launchButton = "PLAY"
launchButtonPlaceholder = "• No Server Selected" launchButtonPlaceholder = "• No Server Selected"
launchProgressLabel = "0%"
launchDetails = "Please wait.." launchDetails = "Please wait.."
newsNavigationStatus = "{currentPage} of {totalPages}" newsNavigationStatus = "{currentPage} of {totalPages}"
newsErrorLoadSpan = "Checking for News.." newsErrorLoadSpan = "Checking for News.."
@ -68,7 +67,6 @@ addMojangAccount = "+ Add Mojang Account"
minecraftTabHeaderText = "Minecraft Settings" minecraftTabHeaderText = "Minecraft Settings"
minecraftTabHeaderDesc = "Options related to game launch." minecraftTabHeaderDesc = "Options related to game launch."
gameResolutionTitle = "Game Resolution" gameResolutionTitle = "Game Resolution"
gameResolutionCross = "✖"
launchFullscreenTitle = "Launch in fullscreen." launchFullscreenTitle = "Launch in fullscreen."
autoConnectTitle = "Automatically connect to the server on launch." autoConnectTitle = "Automatically connect to the server on launch."
launchDetachedTitle = "Launch game process detached from launcher." launchDetachedTitle = "Launch game process detached from launcher."
@ -83,7 +81,6 @@ addMods = "Add Mods"
dropinRefreshNote = "(F5 to Refresh)" dropinRefreshNote = "(F5 to Refresh)"
shaderpacks = "Shaderpacks" shaderpacks = "Shaderpacks"
shaderpackDesc = "Enable or disable shaders. Please note, shaders will only run smoothly on powerful setups. You may add custom packs here." shaderpackDesc = "Enable or disable shaders. Please note, shaders will only run smoothly on powerful setups. You may add custom packs here."
shaderpackButton = " + "
selectShaderpack = "Select Shaderpack" selectShaderpack = "Select Shaderpack"
tabJavaHeaderText = "Java Settings" tabJavaHeaderText = "Java Settings"
tabJavaHeaderDesc = "Manage the Java configuration (advanced)." tabJavaHeaderDesc = "Manage the Java configuration (advanced)."
@ -94,7 +91,6 @@ memoryDesc = "The recommended minimum RAM is 3 gigabytes. Setting the minimum an
memoryTotalTitle = "Total" memoryTotalTitle = "Total"
memoryAvailableTitle = "Available" memoryAvailableTitle = "Available"
javaExecutableTitle = "Java Executable" javaExecutableTitle = "Java Executable"
javaExecDetails = "Selected: Java 8 Update 172 (x64)"
javaExecSelDialogTitle = "Select Java Executable" javaExecSelDialogTitle = "Select Java Executable"
javaExecSelButtonText = "Choose File" javaExecSelButtonText = "Choose File"
javaExecDesc = "The Java executable is validated before game launch." javaExecDesc = "The Java executable is validated before game launch."
@ -123,7 +119,6 @@ noReleaseNotes = "No Release Notes"
viewReleaseNotes = "View Release Notes on GitHub" viewReleaseNotes = "View Release Notes on GitHub"
launcherUpdatesHeaderText = "Launcher Updates" launcherUpdatesHeaderText = "Launcher Updates"
launcherUpdatesHeaderDesc = "Download, install, and review updates for the launcher." launcherUpdatesHeaderDesc = "Download, install, and review updates for the launcher."
latestVersion = "You Are Running the Latest Version"
checkForUpdates = "Check for Updates" checkForUpdates = "Check for Updates"
whatsNew = "What's New" whatsNew = "What's New"
updateReleaseNotes = "Update Release Notes" updateReleaseNotes = "Update Release Notes"

View File

@ -147,7 +147,7 @@
</div> </div>
<div id="launch_details"> <div id="launch_details">
<div id="launch_details_left"> <div id="launch_details_left">
<span id="launch_progress_label"><%- lang('landing.launchProgressLabel') %></span> <span id="launch_progress_label">0%</span>
<div class="bot_divider"></div> <div class="bot_divider"></div>
</div> </div>
<div id="launch_details_right"> <div id="launch_details_right">

View File

@ -78,7 +78,7 @@
<span class="settingsFieldTitle"><%- lang('settings.gameResolutionTitle') %></span> <span class="settingsFieldTitle"><%- lang('settings.gameResolutionTitle') %></span>
<div id="settingsGameResolutionContent"> <div id="settingsGameResolutionContent">
<input type="number" id="settingsGameWidth" min="0" cValue="GameWidth"> <input type="number" id="settingsGameWidth" min="0" cValue="GameWidth">
<div id="settingsGameResolutionCross"><%- lang('settings.gameResolutionCross') %></div> <div id="settingsGameResolutionCross">&#10006;</div>
<input type="number" id="settingsGameHeight" min="0" cValue="GameHeight"> <input type="number" id="settingsGameHeight" min="0" cValue="GameHeight">
</div> </div>
</div> </div>
@ -156,7 +156,7 @@
<div class="settingsModsHeader"><%- lang('settings.shaderpacks') %></div> <div class="settingsModsHeader"><%- lang('settings.shaderpacks') %></div>
<div id="settingsShaderpackDesc"><%- lang('settings.shaderpackDesc') %></div> <div id="settingsShaderpackDesc"><%- lang('settings.shaderpackDesc') %></div>
<div id="settingsShaderpackWrapper"> <div id="settingsShaderpackWrapper">
<button id="settingsShaderpackButton"><%- lang('settings.shaderpackButton') %></button> <button id="settingsShaderpackButton"> + </button>
<div class="settingsSelectContainer"> <div class="settingsSelectContainer">
<div class="settingsSelectSelected" id="settingsShadersSelected"><%- lang('settings.selectShaderpack') %></div> <div class="settingsSelectSelected" id="settingsShadersSelected"><%- lang('settings.selectShaderpack') %></div>
<div class="settingsSelectOptions" id="settingsShadersOptions" hidden> <div class="settingsSelectOptions" id="settingsShadersOptions" hidden>
@ -225,7 +225,7 @@
<div class="settingsFileSelContainer"> <div class="settingsFileSelContainer">
<div class="settingsFileSelTitle"><%- lang('settings.javaExecutableTitle') %></div> <div class="settingsFileSelTitle"><%- lang('settings.javaExecutableTitle') %></div>
<div class="settingsFileSelContent"> <div class="settingsFileSelContent">
<div id="settingsJavaExecDetails"><%- lang('settings.javaExecDetails') %></div> <div id="settingsJavaExecDetails"><!-- Invalid Selection --></div>
<div class="settingsFileSelActions"> <div class="settingsFileSelActions">
<div class="settingsFileSelIcon"> <div class="settingsFileSelIcon">
<svg class="settingsFileSelSVG" x="0px" y="0px" viewBox="0 0 305.001 305.001"> <svg class="settingsFileSelSVG" x="0px" y="0px" viewBox="0 0 305.001 305.001">
@ -359,7 +359,7 @@
<div id="settingsUpdateStatusContainer"> <div id="settingsUpdateStatusContainer">
<div id="settingsUpdateStatusContent"> <div id="settingsUpdateStatusContent">
<div id="settingsUpdateStatusHeadline"> <div id="settingsUpdateStatusHeadline">
<span id="settingsUpdateTitle"><%- lang('settings.latestVersion') %></span> <span id="settingsUpdateTitle"><!-- You Are Running the Latest Version --></span>
</div> </div>
<div id="settingsUpdateVersion"> <div id="settingsUpdateVersion">
<div id="settingsUpdateVersionCheck">&#10003;</div> <div id="settingsUpdateVersionCheck">&#10003;</div>