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

cantGamemode message doesn't return the translated values for gamemodes #5763

Closed
davidgb8246 opened this issue Apr 14, 2024 · 1 comment · Fixed by #5771
Closed

cantGamemode message doesn't return the translated values for gamemodes #5763

davidgb8246 opened this issue Apr 14, 2024 · 1 comment · Fixed by #5771
Labels
bug: confirmed Confirmed bugs in EssentialsX.

Comments

@davidgb8246
Copy link

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=b73afca8ddd842cf93bbbf36454f8c37

Error log (if applicable)

No response

Bug description

When a player runs the command "/gamemode creative", the plugin sends the message "cantGamemode". The issue is that the placeholder {0} of that message doesn't return the values on "adventure", "creative"...

image
image
image

Steps to reproduce

  1. Install the plugin.
  2. Change the locale configuration on the plugin's config.
  3. Modify the values of the game modes.
  4. Run that command.

Expected behaviour

The plugin should return the translated values instead of the default ones in upper case.

Actual behaviour

The plugin doesn't return the translated values on that message.

Additional Information

No response

@davidgb8246 davidgb8246 added the bug: unconfirmed Potential bugs that need replicating to verify. label Apr 14, 2024
@Evidentsinger14
Copy link
Member

Confirmed - the plugin is only pulling from the English translation file. should just be as simple as removing that hardcoded value.

@Evidentsinger14 Evidentsinger14 added bug: confirmed Confirmed bugs in EssentialsX. and removed bug: unconfirmed Potential bugs that need replicating to verify. labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: confirmed Confirmed bugs in EssentialsX.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants