From 02fd9876bd1a41a53ac989316fbe8b74692216ea Mon Sep 17 00:00:00 2001 From: peunsu <44690893+peunsu@users.noreply.github.com> Date: Sun, 11 Feb 2024 09:13:31 +0000 Subject: [PATCH] Add translation and change anything saying "Helios" to "MRS" --- README.md | 9 +- app/assets/js/configmanager.js | 2 +- app/assets/js/ipcconstants.js | 2 +- app/assets/js/langloader.js | 2 +- app/assets/js/processbuilder.js | 4 +- app/assets/js/scripts/settings.js | 2 +- app/assets/js/scripts/uicore.js | 2 +- app/assets/lang/_custom.toml | 16 +- app/assets/lang/ko_KR.toml | 297 ++++++++++++++++++++++++++++++ 9 files changed, 316 insertions(+), 20 deletions(-) create mode 100644 app/assets/lang/ko_KR.toml diff --git a/README.md b/README.md index ad71c472..00ac0789 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -* Original Source: [https://github.com/dscalzi/HeliosLauncher](https://github.com/dscalzi/HeliosLauncher) -
-](https://github.com/peunsu/MRSLauncher/actions) [](https://github.com/peunsu/MRSLauncher/releases) +[
](https://mysticred.space) [](https://discord.gg/Z8j6ahF4MJ) +
Join modded servers without worrying about installing Java, Forge, or other mods. We'll handle that for you.
![Screenshot 1](https://i.imgur.com/hL9gCr3.jpg) @@ -191,7 +191,6 @@ For instructions on setting up Microsoft Authentication, see https://github.com/ * [Wiki][wiki] * [Nebula (Create Distribution.json)][nebula] -* [v2 Rewrite Branch (Inactive)][v2branch] The best way to contact the developers is on Discord. diff --git a/app/assets/js/configmanager.js b/app/assets/js/configmanager.js index 38f864fe..97549f37 100644 --- a/app/assets/js/configmanager.js +++ b/app/assets/js/configmanager.js @@ -7,7 +7,7 @@ const logger = LoggerUtil.getLogger('ConfigManager') const sysRoot = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/Application Support' : process.env.HOME) -const dataPath = path.join(sysRoot, '.helioslauncher') +const dataPath = path.join(sysRoot, '.mrslauncher') const launcherDir = require('@electron/remote').app.getPath('userData') diff --git a/app/assets/js/ipcconstants.js b/app/assets/js/ipcconstants.js index a1cd6385..1e9638b1 100644 --- a/app/assets/js/ipcconstants.js +++ b/app/assets/js/ipcconstants.js @@ -1,7 +1,7 @@ // NOTE FOR THIRD-PARTY // REPLACE THIS CLIENT ID WITH YOUR APPLICATION ID. // SEE https://github.com/dscalzi/HeliosLauncher/blob/master/docs/MicrosoftAuth.md -exports.AZURE_CLIENT_ID = '1ce6e35a-126f-48fd-97fb-54d143ac6d45' +exports.AZURE_CLIENT_ID = '8f387cc5-3138-4699-89a9-f97948e3927e' // SEE NOTE ABOVE. diff --git a/app/assets/js/langloader.js b/app/assets/js/langloader.js index b1f13c96..1b5e40e7 100644 --- a/app/assets/js/langloader.js +++ b/app/assets/js/langloader.js @@ -36,7 +36,7 @@ exports.setupLanguage = function(){ // Load Language Files exports.loadLanguage('en_US') // Uncomment this when translations are ready - //exports.loadLanguage('xx_XX') + exports.loadLanguage('ko_KR') // Load Custom Language File for Launcher Customizer exports.loadLanguage('_custom') diff --git a/app/assets/js/processbuilder.js b/app/assets/js/processbuilder.js index 0e955621..387a1216 100644 --- a/app/assets/js/processbuilder.js +++ b/app/assets/js/processbuilder.js @@ -368,7 +368,7 @@ class ProcessBuilder { // Java Arguments if(process.platform === 'darwin'){ - args.push('-Xdock:name=HeliosLauncher') + args.push('-Xdock:name=MRSLauncher') args.push('-Xdock:icon=' + path.join(__dirname, '..', 'images', 'minecraft.icns')) } args.push('-Xmx' + ConfigManager.getMaxRAM(this.server.rawServer.id)) @@ -521,7 +521,7 @@ class ProcessBuilder { val = args[i].replace(argDiscovery, tempNativePath) break case 'launcher_name': - val = args[i].replace(argDiscovery, 'Helios-Launcher') + val = args[i].replace(argDiscovery, 'MRS-Launcher') break case 'launcher_version': val = args[i].replace(argDiscovery, this.launcherVersion) diff --git a/app/assets/js/scripts/settings.js b/app/assets/js/scripts/settings.js index 81a65a70..b6709388 100644 --- a/app/assets/js/scripts/settings.js +++ b/app/assets/js/scripts/settings.js @@ -1453,7 +1453,7 @@ function populateAboutVersionInformation(){ */ function populateReleaseNotes(){ $.ajax({ - url: 'https://github.com/dscalzi/HeliosLauncher/releases.atom', + url: 'https://github.com/peunsu/MRSLauncher/releases.atom', success: (data) => { const version = 'v' + remote.app.getVersion() const entries = $(data).find('entry') diff --git a/app/assets/js/scripts/uicore.js b/app/assets/js/scripts/uicore.js index 02e9b5da..8fb14f82 100644 --- a/app/assets/js/scripts/uicore.js +++ b/app/assets/js/scripts/uicore.js @@ -49,7 +49,7 @@ if(!isDev){ loggerAutoUpdater.info('New update available', info.version) if(process.platform === 'darwin'){ - info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/Helios-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg` + info.darwindownload = `https://github.com/peunsu/MRSLauncher/releases/download/v${info.version}/MRS-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg` showUpdateUI(info) } diff --git a/app/assets/lang/_custom.toml b/app/assets/lang/_custom.toml index da17faf9..9a3495b3 100644 --- a/app/assets/lang/_custom.toml +++ b/app/assets/lang/_custom.toml @@ -1,20 +1,20 @@ # Custom Language File for Launcher Customizer [ejs.app] -title = "Helios Launcher" +title = "MRS Launcher" [ejs.landing] -mediaGitHubURL = "https://github.com/dscalzi/HeliosLauncher" +mediaGitHubURL = "https://github.com/peunsu/MRSLauncher" mediaTwitterURL = "#" mediaInstagramURL = "#" mediaYouTubeURL = "#" -mediaDiscordURL = "https://discord.gg/zNWUXdt" +mediaDiscordURL = "https://discord.gg/Z8j6ahF4MJ" [ejs.settings] -sourceGithubLink = "https://github.com/dscalZi/HeliosLauncher" -supportLink = "https://github.com/dscalZi/HeliosLauncher/issues" +sourceGithubLink = "https://github.com/peunsu/MRSLauncher" +supportLink = "https://github.com/peunsu/MRSLauncher/issues" [ejs.welcome] -welcomeHeader = "WELCOME TO WESTEROSCRAFT" -welcomeDescription = "Our mission is to recreate the universe imagined by author George RR Martin in his fantasy series, A Song of Ice and Fire. Through the collaborative effort of thousands of community members, we have sought to create Westeros as accurately and precisely as possible within Minecraft. The world we are creating is yours to explore. Journey from Dorne to Castle Black, and if you aren’t afraid, beyond the Wall itself, but best not delay. As the words of House Stark ominously warn: Winter is Coming." -welcomeDescCTA = "You are just a few clicks away from Westeros." +welcomeHeader = "Mystic Red Space" +welcomeDescription = "2017년, 작은 모드팩 서버로 시작한 Mystic Red Space는 오랜 시간동안 모드팩 유저의 사랑을 받으면서 현재까지 수십 개 이상의 모드팩 서버를 제공하였습니다. 이제 MRS는 단순한 마인크래프트 모드팩 서버를 넘어서, 더 많은 사람들이 마인크래프트 모드 정보를 쉽게 접하고 모드팩에 대한 관심을 키울 수 있는 모드 커뮤니티로 한 걸음 나아가고 있습니다." +welcomeDescCTA = "모드팩을 사랑하는 당신을 위한 최고의 선물이 되겠습니다." diff --git a/app/assets/lang/ko_KR.toml b/app/assets/lang/ko_KR.toml new file mode 100644 index 00000000..1dc136da --- /dev/null +++ b/app/assets/lang/ko_KR.toml @@ -0,0 +1,297 @@ +[ejs.landing] +updateAvailableTooltip = "업데이트 가능" +usernamePlaceholder = "사용자 이름" +usernameEditButton = "편집" +settingsTooltip = "설정" +serverStatus = "서버" +serverStatusPlaceholder = "오프라인" +mojangStatus = "MOJANG 상태" +mojangStatusTooltipTitle = "서비스" +mojangStatusNETitle = "Non Essential" +newsButton = "NEWS" +launchButton = "PLAY" +launchButtonPlaceholder = "• 선택된 서버 없음" +launchDetails = "잠시만 기다려주세요.." +newsNavigationStatus = "{currentPage} / {totalPages}" +newsErrorLoadSpan = "뉴스를 확인하는 중.." +newsErrorFailedSpan = "뉴스 불러오기 실패" +newsErrorRetryButton = "다시 시도" +newsErrorNoneSpan = "뉴스 없음" + +[ejs.login] +loginCancelText = "취소" +loginSubheader = "마인크래프트 로그인" +loginEmailError = "* 유효하지 않은 값" +loginEmailPlaceholder = "이메일 또는 사용자 이름" +loginPasswordError = "* 필수 항목" +loginPasswordPlaceholder = "비밀번호" +loginForgotPasswordLink = "https://minecraft.net/password/forgot/" +loginForgotPasswordText = "비밀번호를 잊으셨나요?" +loginRememberMeText = "로그인 저장" +loginButtonText = "로그인" +loginNeedAccountLink = "https://minecraft.net/store/minecraft-java-edition/" +loginNeedAccountText = "계정이 없으신가요?" +loginPasswordDisclaimer1 = "비밀번호는 Mojang에 직접 전송되며 저장되지 않습니다." +loginPasswordDisclaimer2 = "{appName}는 Mojang AB와 관련이 없습니다." + +[ejs.loginOptions] +loginOptionsTitle = "로그인 옵션" +loginWithMicrosoft = "Microsoft 계정으로 로그인" +loginWithMojang = "Mojang 계정으로 로그인" +cancelButton = "취소" + +[ejs.overlay] +serverSelectHeader = "서버 선택" +serverSelectConfirm = "선택" +serverSelectCancel = "취소" +accountSelectHeader = "계정 선택" +accountSelectConfirm = "선택" +accountSelectCancel = "취소" + +[ejs.settings] +navHeaderText = "설정" +navAccount = "계정" +navMinecraft = "마인크래프트" +navMods = "모드" +navJava = "Java" +navLauncher = "런처" +navAbout = "정보" +navUpdates = "업데이트" +navDone = "완료" +tabAccountHeaderText = "계정 설정" +tabAccountHeaderDesc = "새로운 계정을 추가하거나 기존 계정을 관리합니다." +microsoftAccount = "Microsoft" +addMicrosoftAccount = "+ Microsoft 계정 추가" +mojangAccount = "Mojang" +addMojangAccount = "+ Mojang 계정 추가" +minecraftTabHeaderText = "마인크래프트 설정" +minecraftTabHeaderDesc = "게임 실행과 관련된 설정입니다." +gameResolutionTitle = "게임 해상도" +launchFullscreenTitle = "전체 화면으로 실행합니다." +autoConnectTitle = "게임 실행 후 자동으로 서버에 접속합니다." +launchDetachedTitle = "런처와 게임 프로세스를 분리하여 실행합니다." +launchDetachedDesc = "이 옵션을 사용하면 런처를 닫아도 게임이 계속 실행됩니다." +tabModsHeaderText = "모드 설정" +tabModsHeaderDesc = "모드를 활성화하거나 비활성화합니다." +switchServerButton = "변경" +requiredMods = "필수 모드" +optionalMods = "선택 모드" +dropinMods = "사용자 추가 모드" +addMods = "모드 추가" +dropinRefreshNote = "(F5를 눌러 새로고침)" +shaderpacks = "쉐이더팩" +shaderpackDesc = "쉐이더를 활성화하거나 비활성화합니다. 쉐이더가 원활하게 작동하려면 높은 컴퓨터 성능이 필요합니다. 여기서 쉐이더팩을 추가할 수 있습니다." +selectShaderpack = "쉐이더팩 선택" +tabJavaHeaderText = "Java 설정" +tabJavaHeaderDesc = "Java 설정을 관리합니다 (고급 설정)." +memoryTitle = "메모리" +maxRAM = "최대 RAM" +minRAM = "최소 RAM" +memoryDesc = "권장하는 최소 RAM은 4GB입니다. 최소와 최대 RAM을 같은 값으로 설정하면 게임 렉을 줄일 수 있습니다." +memoryTotalTitle = "전체" +memoryAvailableTitle = "사용 가능" +javaExecutableTitle = "Java 실행 파일" +javaExecSelDialogTitle = "Java 실행 파일 선택" +javaExecSelButtonText = "파일 선택" +javaExecDesc = "게임 실행 전에 Java 실행 파일의 유효성을 검사합니다." +javaPathDesc = "Java 실행 파일의 경로는 반드시 {pathSuffix}로 끝나야 합니다." +jvmOptsTitle = "JVM 인수 설정" +jvmOptsDesc = "실행 시 JVM에 전달할 추가 인수를 설정합니다. -Xms와 -Xmx는 포함되지 않아야 합니다." +launcherTabHeaderText = "런처 설정" +launcherTabHeaderDesc = "런처와 관련된 설정입니다." +allowPrereleaseTitle = "Pre-Release 업데이트를 허용합니다." +allowPrereleaseDesc = "Pre-Release는 안정성이 보장되지 않은 기능을 포함할 수 있습니다.