EssentialsX

EssentialsX

2M Downloads

Command Description string do not respect locale when not exist in the message config

itsme-to opened this issue ยท 2 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=624a170c9e294469b03506604bcbb935

Error log (if applicable)

No response

Bug description

To give an example, I have a message configuration in French, so all message descriptions and usages are not present in it.

EssentialsX correctly uses the messages it has in its jar to display in the same language except for commandDescription; it's the only message that defaults to English.

Steps to reproduce

Set the locale option to fr, create a messages file config for french with only some message, don't include command description.

Expected behaviour

All message is style display in french from the default lang of the plugin

Actual behaviour

commandDescription message is in english

Additional Information

No response

commented

This issue is not related to per-player-locale, the bug exist even without it enabled.
CleanShot 2024-08-26 at 12 59 25

commented

Same for usage messages, not just descriptions. The new title is lacking that part