= Localized beans, help, help builder, info, invite

help builder localization currently will collapse for header titles. This isn't too big of a deal, but the word for 'commands' at least can be localized.
This commit is contained in:
Matthew Cech
2019-04-06 23:02:16 -07:00
parent b04e26cbc6
commit 9ea68605a4
6 changed files with 55 additions and 33 deletions
+3 -3
View File
@@ -1,6 +1,7 @@
package commands;
import core.Command;
import core.Localizer;
import dataStructures.KittyChannel;
import dataStructures.KittyGuild;
import dataStructures.KittyRating;
@@ -14,13 +15,12 @@ public class CommandInfo extends Command
public CommandInfo(KittyRole level, KittyRating rating) { super(level, rating); }
@Override
public String HelpText() { return "Provides author info and a link to Kitty's website"; }
public String HelpText() { return Localizer.Stub("Provides author info and a link to Kitty's website"); }
@Override
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
{
String info = "I'm made by `Rin#8904` and `Reverie Wisp#3703`!\n"
+ "You can find more info about me along with a Patreon link to support us and GitHub link for filing bugs https://www.rinsnowmew.com/bot/" ;
String info = Localizer.Stub("I'm made by `Rin#8904` and `Reverie Wisp#3703`!\nYou can find more info about me along with a Patreon link to support us and GitHub link for filing bugs https://www.rinsnowmew.com/bot/");
res.Call(info);
}
}