= Localized past testing files for indicator, choose, coliru, 8ball

This commit is contained in:
Matthew Cech
2019-04-06 22:51:09 -07:00
parent 8efadf63ea
commit b04e26cbc6
6 changed files with 77 additions and 17 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ public class CommandChoose extends Command
public CommandChoose(KittyRole level, KittyRating rating) { super(level, rating); }
@Override
public String HelpText() { return "With an input of x,y,z where x y and z are all choices, kitty will choose one"; }
public String HelpText() { return Localizer.Stub("With an input of x,y,z where x y and z are all choices, kitty will choose one"); }
@Override
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
@@ -26,6 +26,6 @@ public class CommandChoose extends Command
return;
}
res.Call("I chooooooose" + choices[(int) (Math.random()*choices.length)] + "!");
res.Call(String.format(Localizer.Stub("I chooooooose %s!"), (choices[(int) (Math.random()*choices.length)]).toString()));
}
}