Skip to content

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