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

Better Tooltips, Inventory Tweaks language support #5024

Closed
wants to merge 8 commits into from

Conversation

Nekiplay
Copy link
Contributor

@Nekiplay Nekiplay commented Nov 24, 2024

Type of change

  • Bug fix
  • New feature

Description

Support for different languages for Better Tooltips and Inventory Tweaks

Related issues

None

How Has This Been Tested?

image

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

@Nekiplay Nekiplay changed the title Better Tooltips language support Better Tooltips, Inventory Tweaks language support Nov 25, 2024
Copy link
Contributor

@RacoonDog RacoonDog left a comment

Choose a reason for hiding this comment

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

  • dont put formatting codes in the language files, do text styling in code (Text.translatable() can also take styled Text objects as template arguments)
  • add 'meteor-client' somewhere in all of the translation keys
  • dont do Text.literal(I18n.translate()), use Text.translatable()

@Nekiplay
Copy link
Contributor Author

Nekiplay commented Nov 25, 2024

  • dont put formatting codes in the language files, do text styling in code (Text.translatable() can also take styled Text objects as template arguments)

As far as I'm concerned they should be there as it allows resourcepack creators to edit colors

  • dont do Text.literal(I18n.translate()), use Text.translatable()

Text.translatable() not support colors in arguments and in language files

@Nekiplay Nekiplay requested a review from RacoonDog November 27, 2024 00:48
@duydzmc12
Copy link

Ccc

Nekiplay added a commit to MeteorClientPlus/MeteorPlus that referenced this pull request Dec 28, 2024
@Nekiplay
Copy link
Contributor Author

Now has in Meteor+

@Nekiplay Nekiplay closed this Dec 28, 2024
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.

3 participants