Skip to content

Commit

Permalink
Revise i18n translation before releases (#3428)
Browse files Browse the repository at this point in the history
- Fix some English grammar and text style
- Revise `Allow Cheats` to `Allow Commands/Cheats`
  - Due to the change from `Allow Cheats` to `Allow Commands` by Mojang in 24w04a.
  - https://minecraft.wiki/w/Java_Edition_24w04a
  • Loading branch information
3gf8jv4dv authored Nov 7, 2024
1 parent 13856b7 commit d5ec6d7
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
78 changes: 39 additions & 39 deletions HMCL/src/main/resources/assets/lang/I18N.properties
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ account.create.microsoft=Add a Microsoft Account
account.create.offline=Add an Offline Account
account.create.authlibInjector=Add an authlib-injector Account
account.email=Email
account.failed=Account refresh failed.
account.failed=Failed to refresh account.
account.failed.character_deleted=The player has already been deleted.
account.failed.connect_authentication_server=Unable to connect to the authentication server, your network connection may be down.
account.failed.connect_injector_server=Unable to connect to the authentication server. Please check your network and make sure you entered the correct URL.
account.failed.injector_download_failure=Unable to download the authlib-injector. Please check your network, or try switching to a different download source.
account.failed.connect_authentication_server=Failed to connect to the authentication server, your network connection may be down.
account.failed.connect_injector_server=Failed to connect to the authentication server. Please check your network and make sure you entered the correct URL.
account.failed.injector_download_failure=Failed to download the authlib-injector. Please check your network, or try switching to a different download source.
account.failed.invalid_credentials=Incorrect password or rate limited. Please try again later.
account.failed.invalid_password=Invalid password.
account.failed.invalid_token=Please try logging in again.
account.failed.migration=Your account needs to be migrated to a Microsoft account. If you already did, you should re-login to your migrated Microsoft account instead.
account.failed.migration=Your account needs to be migrated to a Microsoft account. If you already did, you should log in to your migrated Microsoft account again.
account.failed.no_character=There are no characters linked to this account.
account.failed.server_disconnected=Unable to connect to the authentication server. You can log in offline mode or try logging in again.\n\
If you try several times and still fail, please try adding the account again.
account.failed.server_disconnected=Failed to connect to the authentication server. You can log in using offline mode or try logging in again.\n\
If you try several times and still fail, please try logging in to the account again.
account.failed.server_response_malformed=Invalid server response. The authentication server may not be working.
account.failed.ssl=An SSL error occurred while connecting to the server. Please try updating your Java.
account.failed.wrong_account=You have logged in to the wrong account.
Expand All @@ -82,12 +82,12 @@ account.injector.link.register=Register
account.injector.server=Authentication Server
account.injector.server_url=Server URL
account.injector.server_name=Server Name
account.login=Login
account.login=Log in
account.login.hint=We never store your password.
account.login.skip=Login offline
account.login.skip=Log in offline
account.login.retry=Retry
account.login.refresh=Re-login
account.login.refresh.microsoft.hint=You need to re-add your Microsoft account because the account authorization is invalid.
account.login.refresh=Log in again
account.login.refresh.microsoft.hint=You need to log in to your Microsoft account again because the account authorization is invalid.
account.logout=Logout
account.register=Register
account.manage=Account List
Expand All @@ -108,12 +108,12 @@ account.methods.microsoft.error.no_character=Your account does not own the Minec
account.methods.microsoft.error.unknown=Failed to log in, error code: %d.
account.methods.microsoft.error.wrong_verify_method=Please log in using your password on the Microsoft account login page, and do not use a verification code to log in.
account.methods.microsoft.logging_in=Logging in...
account.methods.microsoft.hint=Please click "Login" and copy the code displayed here to complete the login process in the browser window that opens.\n\
account.methods.microsoft.hint=Please click "Log in" and copy the code displayed here to complete the login process in the browser window that opens.\n\
\n\
If the token used to log in to the Microsoft account is leaked, you can click "Deauthorize" to deauthorize it.
account.methods.microsoft.manual=Your device code is <b>%1$s</b>. Please click here to copy.\n\
\n\
After clicking "Login", you should complete the login process in the opened browser window. If it did not show, you can navigate to %2$s manually.\n\
After clicking "Log in", you should complete the login process in the opened browser window. If it did not show, you can navigate to %2$s manually.\n\
\n\
If the token used to log in to the Microsoft account is leaked, you can click "Deauthorize" to deauthorize it.
account.methods.microsoft.makegameidsettings=Create Profile / Edit Profile Name
Expand Down Expand Up @@ -154,7 +154,7 @@ account.skin.type.little_skin=LittleSkin
account.skin.type.little_skin.hint=You need to create a player with the same player name as your offline account on your skin provider site. Your skin will now be set to the skin assigned to your player on the skin provider site.
account.skin.type.local_file=Local Skin File
account.skin.upload=Upload/Edit Skin
account.skin.upload.failed=Unable to upload skin.
account.skin.upload.failed=Failed to upload skin.
account.skin.invalid_skin=Invalid skin file.
account.username=Username

Expand Down Expand Up @@ -329,7 +329,7 @@ download.external_link=Visit Download Website
download.failed=Failed to download "%1$s", response code: %2$d.
download.failed.empty=No versions are available. Please click here to go back.
download.failed.no_code=Failed to download "%s".
download.failed.refresh=Unable to fetch version list. Please click here to retry.
download.failed.refresh=Failed to fetch version list. Please click here to retry.
download.game=New Game
download.provider.bmclapi=BMCLAPI (bangbang93, https://bmclapi2.bangbang93.com/)
download.provider.mojang=Official (OptiFine is provided by BMCLAPI)
Expand All @@ -351,7 +351,7 @@ exception.access_denied=HMCL is unable to access the file "%s". It may be locked
For Windows users, you can open "Resource Monitor" to check if another process is currently using it. If so, you can try again after closing that process.\n\
If not, please check if your account has enough permissions to access it.
exception.artifact_malformed=Cannot verify the integrity of the downloaded files.
exception.ssl_handshake=Unable to establish an SSL connection due to the lack of an SSL certificate in the current Java installation. You can try opening HMCL in another Java and try again.
exception.ssl_handshake=Failed to establish an SSL connection due to the lack of an SSL certificate in the current Java installation. You can try opening HMCL in another Java and try again.

extension.bat=Windows Batch File (.bat)
extension.mod=Mod File
Expand Down Expand Up @@ -640,7 +640,7 @@ game.crash.reason.too_old_java=The game crashed due to you using an outdated Jav
\n\
You need to switch to a newer version (%1$s) of Java in "Global/Instance-specific Settings → Java" and then relaunch the game. You can download Java from <a href="https://learn.microsoft.com/java/openjdk/download">here</a>.
game.crash.reason.unknown=We are not able to figure out why the game crashed. Please refer to the game logs.
game.crash.reason.unsatisfied_link_error=Unable to launch Minecraft due to missing libraries: %1$s.\n\
game.crash.reason.unsatisfied_link_error=Failed to launch Minecraft due to missing libraries: %1$s.\n\
\n\
If you have edited the native library path, please make sure these libraries do exist. Or, please try launching again after reverting it to default.\n\
\n\
Expand All @@ -663,11 +663,11 @@ input.url=The input must be a valid URL.
install=New Instance
install.change_version=Change Version
install.change_version.confirm=Are you sure you want to switch %s from version %s to %s?
install.failed=Installation Failed
install.failed=Failed to install
install.failed.downloading=We are unable to download some required files.
install.failed.downloading.detail=Unable to download file: %s
install.failed.downloading.detail=Failed to download file: %s
install.failed.downloading.timeout=Download timeout when fetching: %s
install.failed.install_online=Unable to identify the provided file. If you are installing a mod, navigate to the "Mods" page.
install.failed.install_online=Failed to identify the provided file. If you are installing a mod, navigate to the "Mods" page.
install.failed.malformed=The downloaded files are corrupted. You can try resolving this problem by switching to another download source in "Settings → Download → Download Source".
install.failed.optifine_conflict=Cannot install both OptiFine and Fabric on Minecraft 1.13 or later.
install.failed.optifine_forge_1.17=For Minecraft 1.17.1, Forge is only compatible with OptiFine H1 pre2 or later. You can install them by checking "Snapshots" when choosing an OptiFine version in HMCL.
Expand Down Expand Up @@ -761,15 +761,15 @@ launch.failed=Failed to launch
launch.failed.cannot_create_jvm=We are unable to create a Java VM. It may be caused by incorrect Java VM arguments. You can try resolving it by removing all arguments you added in "Global/Instance-specific Settings → Advanced Settings → Java VM Options".
launch.failed.creating_process=We are unable to create a new process. Please check your Java path.\n
launch.failed.command_too_long=The command length exceeds the maximum length of a bat script. Please try exporting it as a PowerShell script.
launch.failed.decompressing_natives=Unable to extract native libraries.\n
launch.failed.download_library=Unable to download libraries "%s".
launch.failed.executable_permission=Unable to make the launch script executable.
launch.failed.decompressing_natives=Failed to extract native libraries.\n
launch.failed.download_library=Failed to download libraries "%s".
launch.failed.executable_permission=Failed to make the launch script executable.
launch.failed.execution_policy=Set Execution Policy
launch.failed.execution_policy.failed_to_set=Unable to set execution policy
launch.failed.execution_policy.failed_to_set=Failed to set execution policy
launch.failed.execution_policy.hint=The current execution policy prevents the execution of PowerShell scripts.\n\nClick "OK" to allow the current user to execute PowerShell scripts, or click "Cancel" to keep it as it is.
launch.failed.exited_abnormally=Game crashed. Please refer to the crash log for more details.
launch.failed.java_version_too_low=The Java version you specified is too low. Please reset the Java version.
launch.failed.no_accepted_java=Unable to find a compatible Java version, do you want to launch the game with the default Java?\nClick "Yes" to launch the game with the default Java.\nOr, you can navigate to "Global/Instance-specific Settings → Java" to choose one yourself.
launch.failed.no_accepted_java=Failed to find a compatible Java version, do you want to launch the game with the default Java?\nClick "Yes" to launch the game with the default Java.\nOr, you can navigate to "Global/Instance-specific Settings → Java" to choose one yourself.
launch.failed.sigkill=Game was forcibly terminated by the user or system.
launch.state.dependencies=Resolving dependencies
launch.state.done=Launched
Expand All @@ -795,7 +795,7 @@ launcher.cache_directory.clean=Clear Cache
launcher.cache_directory.choose=Choose cache directory
launcher.cache_directory.default=Default ("%APPDATA%/.minecraft" or "~/.minecraft")
launcher.cache_directory.disabled=Disabled
launcher.cache_directory.invalid=Unable to create a cache directory, falling back to default.
launcher.cache_directory.invalid=Failed to create a cache directory, falling back to default.
launcher.contact=Contact Us
launcher.crash=Hello Minecraft! Launcher has encountered a fatal error! Please copy the following log and ask for help on our Discord, QQ group, GitHub, or other Minecraft forum.
launcher.crash.java_internal_error=Hello Minecraft! Launcher has encountered a fatal error due to your Java being broken. Please uninstall your Java and download a suitable Java <a href="https://bell-sw.com/pages/downloads/#downloads">here</a>.
Expand All @@ -816,7 +816,7 @@ logwindow.export_dump.no_dependency=Your Java does not contain the dependencies

main_page=Home

message.cancelled=Operation was canceled
message.cancelled=Operation canceled
message.confirm=Confirm
message.copied=Copied to clipboard
message.default=Default
Expand Down Expand Up @@ -872,9 +872,9 @@ modpack.origin.mcbbs=MCBBS
modpack.origin.mcbbs.prompt=Post ID
modpack.scan=Parsing Modpack Index
modpack.task.install=Import Modpack
modpack.task.install.error=Unable to identify this modpack. We currently only support Curse, Modrinth, MultiMC, and MCBBS modpacks.
modpack.task.install.error=Failed to identify this modpack. We currently only support Curse, Modrinth, MultiMC, and MCBBS modpacks.
modpack.type.curse=Curse
modpack.type.curse.error=Unable to download dependencies. Please try again or use a proxy server.
modpack.type.curse.error=Failed to download dependencies. Please try again or use a proxy server.
modpack.type.curse.not_found=Some dependencies are no longer available. Please try installing a newer modpack version.
modpack.type.manual.warning=The modpack is manually packaged by the publisher, which may already contain a launcher. It is recommended to try extracting the modpack and running the game with its own launcher. HMCL can still import it, with no guarantee of its usability. Still continue?
modpack.type.mcbbs=MCBBS
Expand Down Expand Up @@ -1019,8 +1019,8 @@ mods.install=Install
mods.save_as=Save As

nbt.entries=%s entries
nbt.open.failed=Fail to open file
nbt.save.failed=Fail to save file
nbt.open.failed=Failed to open file
nbt.save.failed=Failed to save file
nbt.title=View File - %s

datapack=Datapacks
Expand All @@ -1029,7 +1029,7 @@ datapack.choose_datapack=Choose datapack to import
datapack.extension=Datapack
datapack.title=World [%s] - Datapacks

web.failed=Page loading failed
web.failed=Failed to load page
web.open_in_browser=Do you want to open this address in a browser:\n%s
web.view_in_browser=View in browser

Expand All @@ -1048,10 +1048,10 @@ world.game_version=Game Version
world.import.already_exists=This world already exists.
world.import.choose=Choose world archive you want to import
world.import.failed=Failed to import this world: %s
world.import.invalid=Unable to import the save.
world.import.invalid=Failed to parse the world.
world.info.title=World [%s] - Information
world.info.basic=Basic Information
world.info.allow_cheats=Allow Cheats
world.info.allow_cheats=Allow Commands/Cheats
world.info.dimension.the_nether=The Nether
world.info.dimension.the_end=The End
world.info.difficulty=Difficulty
Expand Down Expand Up @@ -1236,7 +1236,7 @@ settings.launcher.general=General
settings.launcher.language=Language (Applies After Restart)
settings.launcher.launcher_log.export=Export Launcher Logs
settings.launcher.launcher_log.reveal=Reveal Logs in Explorer
settings.launcher.launcher_log.export.failed=Unable to export logs.
settings.launcher.launcher_log.export.failed=Failed to export logs.
settings.launcher.launcher_log.export.success=Logs have been exported to "%s".
settings.launcher.log=Logging
settings.launcher.log.font=Font
Expand Down Expand Up @@ -1300,7 +1300,7 @@ update.channel.nightly.hint=You are currently using a Nightly channel build of t
update.channel.nightly.title=Nightly Channel Notice
update.channel.stable=Release
update.checking=Checking for Updates
update.failed=Unable to update
update.failed=Failed to update
update.found=Update Available!
update.newest_version=Latest version: %s
update.bubble.title=Update Available: %s
Expand All @@ -1312,7 +1312,7 @@ update.tooltip=Update

version=Games
version.name=Instance Name
version.cannot_read=Unable to parse the game instance, installation cannot continue.
version.cannot_read=Failed to parse the game instance, installation cannot continue.
version.empty=No Instances
version.empty.add=Add new instance
version.empty.launch=No instances. You can install one in "Download → New Game".
Expand All @@ -1326,7 +1326,7 @@ version.launch=Launch Game
version.launch.test=Test Launch
version.switch=Switch Instance
version.launch_script=Export Launch Script
version.launch_script.failed=Unable to export launch script.
version.launch_script.failed=Failed to export launch script.
version.launch_script.save=Export Launch Script
version.launch_script.success=Exported launch script as %s.
version.manage=All Instances
Expand All @@ -1347,7 +1347,7 @@ version.manage.remove_assets=Delete All Assets
version.manage.remove_libraries=Delete All Libraries
version.manage.rename=Rename Instance
version.manage.rename.message=Enter New Instance Name
version.manage.rename.fail=Unable to rename the instance, some files might be in use, or the name contains an invalid character.
version.manage.rename.fail=Failed to rename the instance, some files might be in use, or the name contains an invalid character.
version.settings=Settings
version.update=Update Modpack

Expand Down
2 changes: 1 addition & 1 deletion HMCL/src/main/resources/assets/lang/I18N_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ world.import.failed=Не удаётся импортировать этот ми
world.import.invalid=Не удаётся разобрать сохранение.
world.info.title=Сведения о мире %s
world.info.basic=Основные сведения
world.info.allow_cheats=Разрешить читы
world.info.allow_cheats=Разрешить команды/читы
world.info.dimension.the_nether=Нижний мир
world.info.dimension.the_end=Край
world.info.difficulty=Сложность
Expand Down
2 changes: 1 addition & 1 deletion HMCL/src/main/resources/assets/lang/I18N_zh.properties
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ world.import.failed=無法匯入此世界: %s
world.import.invalid=無法識別的存檔壓縮檔
world.info.title=世界 [%s] - 世界資訊
world.info.basic=基本資訊
world.info.allow_cheats=允許指令
world.info.allow_cheats=允許指令(作弊)
world.info.dimension.the_nether=地獄
world.info.dimension.the_end=末地
world.info.difficulty=難易度
Expand Down
2 changes: 1 addition & 1 deletion HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ world.import.failed=无法导入此世界:%s
world.import.invalid=无法识别该存档压缩包
world.info.title=世界 [%s] - 世界信息
world.info.basic=基本信息
world.info.allow_cheats=允许作弊
world.info.allow_cheats=允许命令(作弊)
world.info.dimension.the_nether=下界
world.info.dimension.the_end=末地
world.info.difficulty=难度
Expand Down

0 comments on commit d5ec6d7

Please sign in to comment.