= Updated Localizer to LocStrings
This commit is contained in:
@@ -14,7 +14,7 @@ public class CommandChoose extends Command
|
||||
public CommandChoose(KittyRole level, KittyRating rating) { super(level, rating); }
|
||||
|
||||
@Override
|
||||
public String HelpText() { return Localizer.Stub("ChooseInfo"); }
|
||||
public String HelpText() { return LocStrings.Stub("ChooseInfo"); }
|
||||
|
||||
@Override
|
||||
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
||||
@@ -22,10 +22,10 @@ public class CommandChoose extends Command
|
||||
String [] choices = input.args.split(",");
|
||||
if(choices.length == 1)
|
||||
{
|
||||
res.Call(Localizer.Stub("ChooseOne"));
|
||||
res.Call(LocStrings.Stub("ChooseOne"));
|
||||
return;
|
||||
}
|
||||
|
||||
res.Call(String.format(Localizer.Stub("ChooseChoice"), (choices[(int) (Math.random()*choices.length)]).toString()));
|
||||
res.Call(String.format(LocStrings.Stub("ChooseChoice"), (choices[(int) (Math.random()*choices.length)]).toString()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user