Resourceful Config

Resourceful Config

32M Downloads

[Bug]: Buttons translations are broken

costantino2000 opened this issue ยท 0 comments

commented

Bug Description

For some reason the translations do not work for config buttons. They work normally for config entries though.

Here is an example:
@ConfigButton(text = "Button text", translation = "Translation id in the lang file", target = "Button target", position = Position.BEFORE)
public static void function() { do stuff }

Even though the translation id is correct it won't take the string from the lang file, and will keep using the default one specified in the "text" parameter.

How to Reproduce?

No response

Expected Behavior

No response

Version

2.5.1

Mod Loader Version

1.20.6 - 0.15.11

Mod Loader

Fabric

Logs or additional context

No response