+ Added localization to 4 files. Revised format to use files as sections.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package commands;
|
||||
|
||||
import core.Command;
|
||||
import core.Localizer;
|
||||
import dataStructures.*;
|
||||
|
||||
public class CommandBeansShow extends Command
|
||||
@@ -8,12 +9,11 @@ public class CommandBeansShow extends Command
|
||||
public CommandBeansShow(KittyRole level, KittyRating rating) { super(level, rating); }
|
||||
|
||||
@Override
|
||||
public String HelpText() { return "Displays how many beans you have"; };
|
||||
public String HelpText() { return Localizer.Stub("Displays how many beans you have"); };
|
||||
|
||||
@Override
|
||||
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
||||
{
|
||||
String beans = "You have " + user.GetBeans() + " beans!";
|
||||
res.Call(beans);
|
||||
res.Call(String.format(Localizer.Stub("You have %s beans!"), user.GetBeans()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user