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

Added locale support for gm command #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pathaleon
Copy link
Contributor

Message returned on use of the gm command did not previously support the
localization file.

Message returned on use of the gm command did not previously support the
localization file.
@wizjany
Copy link
Contributor

wizjany commented Sep 3, 2015

tr("gameModeCommands.switch", GameType.getById(mode))

...

gameModeCommands.switch=§eYou have switched to {0} mode.

edit: while you're at it, there's an extra newline on line 40

@Pathaleon
Copy link
Contributor Author

Ah so that's how you include the variables. I guessed it was but I wasn't aware how to use in the module side.

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.

2 participants