From 7d2ea0b77ea7c1f393954d7307735c0601c0c7ca Mon Sep 17 00:00:00 2001 From: huangyuhui Date: Sun, 1 Jul 2018 13:37:09 +0800 Subject: [PATCH] Add Tranditional Chinese translation --- .../java/org/jackhuang/hmcl/Launcher.java | 2 +- .../org/jackhuang/hmcl/setting/Locales.java | 2 +- .../resources/assets/lang/I18N_zh.properties | 334 ++++++++++++++++++ 3 files changed, 336 insertions(+), 2 deletions(-) create mode 100644 HMCL/src/main/resources/assets/lang/I18N_zh.properties diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/Launcher.java b/HMCL/src/main/java/org/jackhuang/hmcl/Launcher.java index fe8882d9c..92be229f5 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/Launcher.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/Launcher.java @@ -160,7 +160,7 @@ public final class Launcher extends Application { public static final IUpgrader UPGRADER = new AppDataUpgrader(); public static final CrashReporter CRASH_REPORTER = new CrashReporter(); - public static final String UPDATE_SERVER = "https://hmcl.huangyuhui.net"; + public static final String UPDATE_SERVER = "https://www.huangyuhui.net"; public static final String CONTACT = UPDATE_SERVER + "/hmcl.php"; public static final String PUBLISH = "http://www.mcbbs.net/thread-142335-1-1.html"; } diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Locales.java b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Locales.java index f23274680..b5a8d8bd4 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Locales.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Locales.java @@ -53,7 +53,7 @@ public final class Locales { */ public static final SupportedLocale RU = new SupportedLocale(new Locale("ru")); - public static final List LOCALES = Lang.immutableListOf(DEFAULT, EN, ZH_CN); + public static final List LOCALES = Lang.immutableListOf(DEFAULT, EN, ZH_CN, ZH); public static SupportedLocale getLocale(int index) { return Lang.get(LOCALES, index).orElse(DEFAULT); diff --git a/HMCL/src/main/resources/assets/lang/I18N_zh.properties b/HMCL/src/main/resources/assets/lang/I18N_zh.properties new file mode 100644 index 000000000..67989b98b --- /dev/null +++ b/HMCL/src/main/resources/assets/lang/I18N_zh.properties @@ -0,0 +1,334 @@ +# Hello Minecraft! Launcher. +# Copyright (C) 2013 huangyuhui +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see {http://www.gnu.org/licenses/}. +# +#author: huangyuhui +about.copyright=版權 +about.copyright.statement=Copyright (c) 2018 huangyuhui. +about.author=作者 +about.author.statement=huanghongxun (hmcl@huangyuhui.net) +about.thanks_to=鳴謝 +about.thanks_to.statement=bangbang93 (BMCLAPI, https://bmclapi2.bangbang93.com/)\ngamerteam (默認背景圖)\n所有通過 Issues、Pull Requests 等方式參與本項目的貢獻者 +about.dependency=依賴 +# 由於篇幅限制,僅列出第一作者 +about.dependency.statement=JFoenix (Shadi Shaheen, Apache 2.0)\nGson (Google, Apache 2.0)\nApache Commons Compress (ASF, Apache 2.0)\nXZ for Java (Lasse Collin, Public Domain)\nfx-gson (Joffrey Bion, MIT) +about.claim=免責聲明 +about.claim.statement=Minecraft 版權歸 Mojang AB 所有,使用本軟件產生的版權問題,軟件製作方概不負責。請支持正版。 +about.open_source=開源 +about.open_source.statement=GPL v3 (https://github.com/huanghongxun/HMCL/) + +account=賬戶 +account.character=角色 +account.choose=選擇一個角色 +account.create=新建賬戶 +account.email=郵箱 +account.failed.connect_authentication_server=無法連接認證服務器,可能是網絡問題 +account.failed.invalid_credentials=您的用戶名或密碼錯誤,或者登錄次數過多被暫時禁止登錄,請稍後再試 +account.failed.invalid_password=無效的密碼 +account.failed.invalid_token=請嘗試登出並重新輸入密碼登錄 +account.failed.no_character=該帳號沒有角色 +account.failed.no_selected_server=未選擇認證服務器 +account.failed.connect_injector_server=無法連接認證服務器,可能是網絡故障或 URL 輸入錯誤 +account.injector.add=添加認證服務器 +account.injector.manage=管理認證服務器 +account.injector.http=警告:此服務器使用不安全的 HTTP 協議,您的密碼在登錄時會被明文傳輸。 +account.injector.server=認證服務器 +account.injector.server_url=服務器地址 +account.injector.server_name=服務器名稱 +account.methods=登錄方式 +account.methods.authlib_injector=authlib-injector 登錄 +account.methods.no_method=沒有登入方式 +account.methods.offline=離線模式 +account.methods.yggdrasil=正版登錄 +account.missing=沒有賬戶 +account.password=密碼 +account.username=用戶名 + +archive.author=作者 +archive.game_version=遊戲版本 +archive.version=版本 + +assets.download=下載資源 +assets.download_all=檢查資源文件完整性 + +button.cancel=取消 +button.clear=清除 +button.delete=刪除 +button.edit=修改 +button.install=安裝 +button.no=否 +button.ok=確定 +button.refresh=刷新 +button.save=保存 +button.yes=是 + +color.recent=推薦 +color.custom=自定義顏色 + +crash.NoClassDefFound=請確認 HMCL 本體是否完整,或更新您的 Java。 +crash.user_fault=您的系統或 Java 環境可能安裝不當導致本軟件崩潰,請檢查您的 Java 環境或您的電腦!可以嘗試重新安裝 Java。 + +download=下載 +download.BMCL=BMCLAPI(bangbang93,https://bmclapi2.bangbang93.com/) +download.failed=下載失敗 +download.failed.refresh=加載版本列表失敗,點擊此處重試。 +download.mojang=官方 + +extension.bat=Windows 腳本 +extension.mod=模組文件 +extension.png=圖片文件 +extension.sh=Bash 腳本 + +folder.config=配置文件夾 +folder.coremod=核心MOD文件夾 +folder.game=遊戲文件夾 +folder.mod=MOD文件夾 +folder.resourcepacks=資源包文件夾 +folder.saves=存檔文件夾 +folder.screenshots=截圖文件夾 + +general.prompt.empty=(無) + +input.email=用戶名必須是郵箱 +input.number=必須是數字 +input.not_empty=必填項 +input.url=必須是合法的鏈接 + +install=添加遊戲 +install.failed=安裝失敗 +install.installer.choose=選擇 %s 版本 +install.installer.forge=Forge +install.installer.game=遊戲 +install.installer.install=安裝 %s +install.installer.liteloader=LiteLoader +install.installer.not_installed=暫不安裝 %s,可以點擊此處安裝 +install.installer.optifine=OptiFine +install.installer.version=%s 版本 +install.modpack=安裝整合包 +install.new_game=安裝新遊戲版本 +install.new_game.already_exists=此版本已經存在,請換一個名字 +install.new_game.current_game_version=當前遊戲版本 +install.select=請選擇安裝方式 +install.success=安裝成功 + +lang=繁體中文 +lang.default=跟隨系統語言 + +launch.advice.different_platform=您的系統是 64 位的但是 Java 是 32 位的,推薦您安裝 64 位 Java。 +launch.advice.java8_1_13=Minecraft 1.13 只支持 Java 8 或更高版本,請使用 Java 8 或最新版本。 +launch.advice.java9=不高於 1.13 的安裝了 Mod 的 Minecraft 不支持 Java 9 或更高版本,請使用 Java 8。 +launch.advice.newer_java=檢測到您未使用 Java 8 及更新版本,Java 8 能使遊戲更流暢而且 Minecraft 1.12 及更新版本和很多 Mod 強制需要需要 Java 8。 +launch.advice.not_enough_space=您設置的內存大小過大,由於超過了系統內存大小 %dMB,所以可能影響遊戲體驗或無法啓動遊戲,啓動器仍會嘗試啓動。 +launch.advice.too_large_memory_for_32bit=您設置的內存大小過大,由於可能超過了 32 位 Java 的內存分配限制,所以可能無法啓動遊戲,請將內存調至 1024MB 或更小,啓動器仍會嘗試啓動。 +launch.failed=啓動失敗 +launch.failed.cannot_create_jvm=截獲到無法創建 Java 虛擬機,可能是 Java 參數有問題,可以在設置中開啓無參數模式啓動。 +launch.failed.creating_process=啓動失敗,在創建新進程時發生錯誤,可能是 Java 路徑錯誤。 +launch.failed.decompressing_natives=未能解壓遊戲本地庫。 +launch.failed.executable_permission=未能爲啓動文件添加執行權限。 +launch.failed.exited_abnormally=遊戲非正常退出,請查看日志文件,或聯繫他人尋求幫助。 +launch.state.dependencies=正在處理遊戲依賴 +launch.state.done=啓動完成 +launch.state.logging_in=登錄中 +launch.state.modpack=正在下載必要文件 +launch.state.waiting_launching=等待遊戲啓動 +launch.wrong_javadir=錯誤的 Java 路徑,將自動重置爲默認 Java 路徑。 + +launcher=啓動器 +launcher.background=背景地址 +launcher.background.choose=選擇背景路徑 +launcher.background.default=默認(自動檢索啓動器同目錄下的 background.png/jpg 及 bg 文件夾內的圖片) +launcher.common_directory=公共文件夾 +launcher.common_directory.choose=選擇公共文件夾 +launcher.contact=聯繫我們 +launcher.crash=Hello Minecraft! Launcher 遇到了無法處理的錯誤,請複製下列內容並通過 MCBBS、貼吧、GitHub 或 Minecraft Forum 反饋 bug。 +launcher.crash_out_dated=Hello Minecraft! Launcher 遇到了無法處理的錯誤,已檢測到您的啓動器不是最新版本,請更新後再試! +launcher.update_java=請更新您的 Java + +login.empty_username=你還未設置用戶名! +login.enter_password=請輸入您的密碼 + +logwindow.show_lines=顯示行數 +logwindow.terminate_game=結束遊戲進程 +logwindow.title=日誌 + +main_page=主頁 + +message.confirm=提示 +message.doing=請耐心等待 +message.downloading=正在下載... +message.error=錯誤 +message.info=提示 +message.success=已完成 +message.unknown=未知 + + +modpack=整合包 +modpack.choose=選擇要安裝的遊戲整合包文件 +modpack.desc=描述你要製作的整合包,比如整合包注意事項和更新記錄,支持 Markdown(圖片請用網絡圖)。 +modpack.enter_name=給遊戲起個你喜歡的名字 +modpack.export=導出整合包 +modpack.files.blueprints=BuildCraft 藍圖 +modpack.files.config=Mod 配置文件 +modpack.files.dumps=NEI 調試輸出 +modpack.files.liteconfig=Mod 配置文件 +modpack.files.mods=Mod +modpack.files.mods.voxelmods=VoxelMods 配置,如小地圖 +modpack.files.options_txt=遊戲設定 +modpack.files.optionsshaders_txt=光影設定 +modpack.files.resourcepacks=資源包(材質包) +modpack.files.saves=遊戲存檔 +modpack.files.scripts=MineTweaker 配置 +modpack.files.servers_dat=多人遊戲服務器列表 +modpack.install=安裝%s整合包 +modpack.installing=正在安裝整合包 +modpack.introduction=支持 Curse、MultiMC、HMCL、MCBBS 整合包。 +modpack.invalid=無效的整合包升級文件,可能是下載時出現問題。 +modpack.mismatched_type=整合包類型不匹配,當前遊戲是 %s 整合包,但是提供的整合包更新文件是 %s 整合包。 +modpack.name=整合包名稱 +modpack.not_a_valid_name=不是一個有效的整合包名稱 +modpack.scan=解析整合包 +modpack.task.install=導入整合包 +modpack.task.install.error=安裝失敗,可能是整合包格式不正確或操作文件失敗。 +modpack.task.install.will=將會安裝整合包: +modpack.type.curse=Curse +modpack.type.curse.completion=下載 Curse 整合包相關文件 +modpack.type.curse.error=未能完成 Curse 整合包的下载,请多次重试或设置代理 +modpack.type.hmcl=HMCL +modpack.type.multimc=MultiMC +modpack.unsupported=該整合包不被支持。僅 HMCL、MultiMC、Curse 整合包受支持。 +modpack.update=正在升級整合包 +modpack.wizard=導出整合包嚮導 +modpack.wizard.step.1=基本設置 +modpack.wizard.step.1.title=設置整合包的主要信息 +modpack.wizard.step.2=文件選擇 +modpack.wizard.step.2.title=選中你想加到整合包中的文件或文件夾 +modpack.wizard.step.3=整合包描述 +modpack.wizard.step.initialization.exported_version=要導出的遊戲版本 +modpack.wizard.step.initialization.include_launcher=包含啓動器 +modpack.wizard.step.initialization.save=選擇要導出到的遊戲整合包位置 +modpack.wizard.step.initialization.warning=在製作整合包前,請您確認您選擇的版本可以正常啓動,\n並保證您的 Minecraft 是正式版而非快照版,\n而且不應當將不允許非官方途徑傳播的 Mod、材質包等納入整合包。\n整合包會保存您目前的下載源設置 + +mods=模組管理 +mods.add=添加模組 +mods.add.failed=添加模組 %s 失敗。 +mods.add.success=成功添加模組 %s。 +mods.choose_mod=選擇模組 +mods.remove=刪除 + + +profile=配置 +profile.default=當前目錄 +profile.home=主文件夾 +profile.instance_directory=遊戲路徑 +profile.instance_directory.choose=選擇遊戲路徑 +profile.new=新建配置 +profile.title=遊戲目錄 +profile.selected=已選中 + +selector.choose=選擇 +selector.choose_file=選擇文件 +selector.custom=自定義 + +settings=普通設置 + +settings.advanced=高級設置 +settings.advanced.dont_check_game_completeness=不檢查遊戲完整性 +settings.advanced.game_dir.default=默認(.minecraft/) +settings.advanced.game_dir.independent=各版本獨立(.minecraft/versions/<版本名>/,除 assets、libraries) +settings.advanced.java_args_default=啓動器默認添加的參數(請不要重複添加):-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -XX:MaxPermSize=???m -Xmx???m -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true +settings.advanced.java_permanent_generation_space=內存永久保存區域(不必填寫,MB) +settings.advanced.jvm_args=Java 虛擬機參數(不必填寫) +settings.advanced.launcher_visibility.close=遊戲啓動後結束啓動器 +settings.advanced.launcher_visibility.hide=遊戲啓動後隱藏啓動器 +settings.advanced.launcher_visibility.hide_reopen=隱藏啓動器並在遊戲結束後重新打開 +settings.advanced.launcher_visibility.keep=保持啓動器可見 +settings.advanced.launcher_visible=啓動器可見性 +settings.advanced.minecraft_arguments=Minecraft 額外參數(不必填寫) +settings.advanced.no_common=不使用公共路徑 +settings.advanced.no_jvm_args=不添加默認的 JVM 參數(使用 Java 9 時必勾) +settings.advanced.precall_command=啓動前執行命令(不必填寫,將在遊戲啓動前調用) +settings.advanced.server_ip=直入服務器 IP 地址(不必填寫,啓動遊戲後直接進入對應服務器) +settings.advanced.wrapper_launcher=前置指令(不必填寫,如 optirun) + +settings.custom=自定義 + +settings.game=遊戲設置 +settings.game.dimension=遊戲窗口分辨率 +settings.game.exploration=瀏覽 +settings.game.fullscreen=全屏 +settings.game.game_directory=遊戲路徑(版本隔離) +settings.game.game_directory.choose=選擇遊戲路徑 +settings.game.java_directory=Java 路徑 +settings.game.java_directory.choose=選擇 Java 路徑 +settings.game.management=管理 + +settings.icon=遊戲圖標 + +settings.launcher=啓動器設置 +settings.launcher.common_path.tooltip=啓動器將所有遊戲資源及依賴庫文件放於此集中管理,如果遊戲文件夾內有現成的將不會使用公共庫文件 +settings.launcher.download_source=下載源 +settings.launcher.language=語言 +settings.launcher.log_font=日誌字體 +settings.launcher.proxy=代理 +settings.launcher.proxy.authentication=代理賬戶 +settings.launcher.proxy.no_proxy=直連 +settings.launcher.proxy.has_proxy=啓用驗證 +settings.launcher.proxy.host=主機 +settings.launcher.proxy.http=HTTP +settings.launcher.proxy.password=密碼 +settings.launcher.proxy.port=端口 +settings.launcher.proxy.socks=Socks +settings.launcher.proxy.username=賬戶 +settings.launcher.theme=主題 + +settings.max_memory=最大內存(MB) +settings.physical_memory=物理內存大小 +settings.show_log=查看日誌 +settings.tabs.installers=自動安裝 +settings.type.global=全局版本設置(使用該設置的版本共用一套設定) +settings.type=版本設置類型 +settings.type.special=單獨版本設置(不會影響到其他版本的設定) + +update=啓動器更新 +update.failed=檢查更新失敗 +update.found=發現更新 +update.newest_version=最新版本爲:%s +update.latest=當前版本爲最新版本 +update.no_browser=無法打開瀏覽器,網址已經複製到剪貼板了,您可以手動粘貼網址打開頁面 +update.tooltip=更新 + +version.cannot_read=讀取遊戲版本失敗,無法進行自動安裝 +version.forbidden_name=此版本名稱不受支持,請換一個名字 +version.game.old=遠古版 +version.game.release=穩定版 +version.game.snapshot=測試版 +version.launch=啓動遊戲 +version.launch_script=生成啓動腳本 +version.launch_script.failed=生成啓動腳本失敗 +version.launch_script.save=保存啓動腳本 +version.launch_script.success=啓動腳本已生成完畢:%s +version.manage.redownload_assets_index=重新下載資源配置(assets_index.json) +version.manage.remove=刪除該版本 +version.manage.remove.confirm=真的要刪除版本 %s 嗎? +version.manage.remove_libraries=刪除所有庫文件 +version.manage.rename=重命名該版本 +version.manage.rename.message=請輸入要改成的名字 +version.settings=遊戲設置 +version.update=更新 + +wizard.prev=< 上一步 +wizard.failed=失敗 +wizard.finish=完成 +wizard.next=下一步 >