Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Overhaul #3287

Closed
wants to merge 58 commits into from
Closed

Language Overhaul #3287

wants to merge 58 commits into from

Conversation

3gf8jv4dv
Copy link
Contributor

@3gf8jv4dv 3gf8jv4dv commented Sep 12, 2024

Continuation of #3150.

This PR makes important quality improvements to the language used by the main users of HMCL (Chinese and some English users). Due to my limited ability, for other languages, there are only minor revisions. If I get a chance later, I might overhaul other languages.

I would appreciate it if you could take the time to review this PR.

Changelog

  • Major revisions to English and Chinese variants
  • Minor revisions to Spanish, Japanese and Russian
  • For All Languages: Unified the format of all line breaks, and it is now easier to read in plain text
  • For All Languages: Optimized homepage hints to make them look cleaner
  • For All Languages: Adjusted the order of translation keys for Curse, Modrinth and game.crash.reason
  • For All Languages: Fixed some wrong key names and some irrelevant translations
  • For English and Chinese variants: Unified most terms to avoid confusion
  • For English and Chinese variants: Changed some terminology to make it consistent with the current situation and align with the terminology of some authoritative websites
  • For English and Chinese variants: Optimized some translated descriptions to make them more accurate and easier to understand
  • For English and Chinese variants: Supplemented all translations, now the number of translation keys should be consistent for English and Chinese variants
  • For GitHub Action: Removed unnecessary translation checks
  • For Launcher: Added category items above "Settings → Global Settings"
  • For Launcher: Capitalized the text above the sidebar
  • For Launcher: Separated mod update channel from game update channel (Why do so many places that should be translated differently use the same key...)
  • For Launcher: Unified launcher update channel names
    ...

Check out all commits or the Files changed section for all changes.

Format all language files
Fix some key typos
Fix other language translations mixed in ja and ru
Overhaul of Chinese (Simplified, Mainland China)
Overhaul of English (United States)
Revise and unify some links
- Overhaul of Chinese (Simplified, Mainland China)
- Minor revision of English (United States)
Various revisions for:
- English (United States)
- Chinese (Simplified, Mainland China)

Several translations port from HMCL-dev#3129.
Misc revisions.
- Overhaul of Chinese (Traditional, Taiwan)
- Major revisions of English (United States) and Chinese (Simplified, Mainland China)
- Various revisions of other languages
- Curse & Modrinth translation key order adjustment
- Fix CheckTranslations
- Remove unnecessary translation checks
Redesign homepage hint style for all languages.
Various revisions of English and Chinese variants.
Various revisions of various languages.
- Add the category item `Game` above `Global Settings`
- Some translation revisions of Chinese (Traditional, Taiwan)
- Optimize translation related to World page
- Various revisions
Capitalize text above the sidebar line
- Optimize the Russian partial translation so that it can be fully displayed in the UI
- Optimize the loader offline installer description to make it shorter
- Various revisions
@3gf8jv4dv
Copy link
Contributor Author

@burningtnt @Glavo @zkitefly or others who are interested in this...

It is now almost complete, your review is greatly needed. You can check the Files changed section, or download a build from GHA to test it.

Minor revisions of Chinese variants.
build.gradle.kts Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个检测还是有必要的,以防有人输错

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a more appropriate form is to give a reminder in the form of review/suggestion when a user submits a related PR. But let’s see what others think.

HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties Outdated Show resolved Hide resolved
HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties Outdated Show resolved Hide resolved
HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties Outdated Show resolved Hide resolved
HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties Outdated Show resolved Hide resolved
HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties Outdated Show resolved Hide resolved
3gf8jv4dv and others added 8 commits September 15, 2024 19:22
Apply suggestions from zkitefly (semicolon)

Co-authored-by: Zkitefly <[email protected]>
Apply suggestion from hejiehao (terms upper/lower case)

Co-authored-by: hejiehao <[email protected]>
Apply suggestions from zkitefly (你/您)

Co-authored-by: Zkitefly <[email protected]>
Misc revisions of Chinese (Simplified, Mainland China)
- Fix a mistake I made
- Misc revisions
- Revert changes of `version.game.snapshot(s)`
- Improve translation of `version.game.old` in Chinese variants
- Improve translation of `install.failed.optifine_conflict`
- Improve spacing style of slashes
- Improve some punctuation
- Fix some translations of Chinese variants
Various revisions of English and Chinese variants
Oops...
Fix line wrapping in some error messages
Oops...
@3gf8jv4dv
Copy link
Contributor Author

3gf8jv4dv commented Sep 23, 2024

Now the revision of English and Chinese is basically completed (REALLY).

Next plan:

  • Try to fix some UI translation issues (such issues require code changes to resolve)
  • Continue to review and revise English and Chinese
  • Try to overhaul the other three languages
  • Add several new languages (if I still have time and energy)

In the meantime, any reviews are still welcome.

- Unify brackets in Chinese language
- Various revisions
Fix proxy `host` and `port` translation halignment being different from other translations
Revise Microsoft login hint of Chinese language to be consistent with
actual content displayed on Microsoft website
- For Chinese, rewrite Microsoft login hint to make it clean and clear
- Remove some useless translation keys
- For `game.crash.reason.graphics_driver`, remove the content about
  OpenGL, since OpenGL is now used by default, this is not needed
Various revisions
Various revisions
- Emphasis on "版本隔离" in the Mainland Chinese variant
- Fix some English grammar — it should be more perfect now
Minor revision of Traditional Chinese
Various revisions
oops...
Various revisions
Revision of Chinese (Traditional, Taiwan)
@Glavo
Copy link
Member

Glavo commented Oct 13, 2024

I think this is a very large PR and it's difficult to review and give feedback. Can you split it into multiple smaller PRs?

@3gf8jv4dv
Copy link
Contributor Author

I think this is a very large PR and it's difficult to review and give feedback. Can you split it into multiple smaller PRs?

OK. I will do it later.

@3gf8jv4dv
Copy link
Contributor Author

3gf8jv4dv commented Oct 14, 2024

Changes involving the code have been ported to the following PRs:

Regarding language revision, i18n key revision and line wrapping optimization, I am still working hard on porting...

cc @Glavo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants