+ Added localization to 4 files. Revised format to use files as sections.
This commit is contained in:
@@ -60,7 +60,7 @@ public class CommandBoop extends Command
|
||||
}
|
||||
|
||||
@Override
|
||||
public String HelpText() { return "Kitty will react with a counter"; }
|
||||
public String HelpText() { return Localizer.Stub("Kitty will react with a counter"); }
|
||||
|
||||
// Called when the command is run!
|
||||
@Override
|
||||
@@ -69,16 +69,17 @@ public class CommandBoop extends Command
|
||||
if(input.mentions == null)
|
||||
{
|
||||
boopTracker.ApplyBoop();
|
||||
res.Call("Woah! " + user.name + " booped me! That's " + boopTracker.HowMany() + " total!");
|
||||
res.Call(String.format(Localizer.Stub("Woah! %s booped me! That's %s total!"), user.name, boopTracker.HowMany()));
|
||||
}
|
||||
else
|
||||
{
|
||||
if(input.mentions.length == 1)
|
||||
{
|
||||
boopTracker.ApplyBoop();
|
||||
res.Call(user.name + " booped " + input.mentions[0].name + "!");
|
||||
res.Call(String.format(Localizer.Stub("%s booped %s!"), user.name, input.mentions[0].name));
|
||||
return;
|
||||
}
|
||||
|
||||
String booped = "";
|
||||
for(int i = 0; i < input.mentions.length; i++)
|
||||
{
|
||||
@@ -88,7 +89,8 @@ public class CommandBoop extends Command
|
||||
else
|
||||
booped += "and " + input.mentions[i].name;
|
||||
}
|
||||
res.Call(user.name + " booped " + booped + "!");
|
||||
|
||||
res.Call(String.format(Localizer.Stub("%s booped several others - %s!"), user.name, booped));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user