Skip to content

Localization of gui elements and textures#114

Merged
Dream-Master merged 3 commits intomasterfrom
Ranzu/Localization
Mar 8, 2026
Merged

Localization of gui elements and textures#114
Dream-Master merged 3 commits intomasterfrom
Ranzu/Localization

Conversation

@Ranzuu
Copy link
Copy Markdown

@Ranzuu Ranzuu commented Jan 22, 2026

  • Localized texture (no more drawing some textures with code)
  • Localized a lot of keys to be used for translation (+ some optional keys for re-coloring)

All tested on daily 332. works fine, no missing lang keys or wrong textures

@Ranzuu Ranzuu added the enhancement New feature or request label Jan 22, 2026
@Ranzuu Ranzuu self-assigned this Jan 22, 2026
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 24, 2026
@Ranzuu
Copy link
Copy Markdown
Author

Ranzuu commented Feb 2, 2026

Pictures of some of the gui elements from Experimental, to tell that this works :>
image
image
image

@Ranzuu Ranzuu requested a review from a team February 22, 2026 17:27
Copy link
Copy Markdown
Member

@slprime slprime left a comment

Choose a reason for hiding this comment

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

I’ve noticed this pattern appears quite frequently, so it may be worth moving it into a utility method. Aside from that, everything looks good.

String entryFormat = StringUtils.translate("gui.module.ItemSink.text");
String entryText = entryFormat.equals("gui.module.ItemSink.text") ? entry : String.format(entryFormat, entry);

@Dream-Master Dream-Master merged commit 5be56b5 into master Mar 8, 2026
2 checks passed
@Dream-Master Dream-Master deleted the Ranzu/Localization branch March 8, 2026 21:29
@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants