Generalized Localizer File

This commit is contained in:
Alex Stewart
2019-04-14 00:25:52 -07:00
parent fbd047849c
commit e0c761dfc0
36 changed files with 268 additions and 213 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ public class CommandHelpBuilder extends Command {
}
@Override
public String HelpText() { return Localizer.Stub("Emit help for all commands as formatted HTML"); }
public String HelpText() { return Localizer.Stub("HelpBuilderInfo"); }
@Override
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
@@ -96,7 +96,7 @@ public class CommandHelpBuilder extends Command {
roleStr = roleStr.substring(0, 1).toUpperCase() + roleStr.toLowerCase().substring(1);
// Section header
accumulated += headerStart + roleStr + " " + Localizer.Stub("commands") + headerEnd;
accumulated += headerStart + roleStr + " commands" + headerEnd;
accumulated += sectionStart;
// Section content