= Selectively adjusted casing on localization stubs.

This commit is contained in:
Matthew Cech
2019-06-02 17:49:23 -07:00
parent 1bbce7eb58
commit 5212ef64bf
55 changed files with 214 additions and 214 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ public class CommandGuildRoleRemove extends Command
public CommandGuildRoleRemove(KittyRole level, KittyRating rating) { super(level, rating); }
@Override
public String getHelpText() { return LocStrings.Stub("GuildRoleRemoveInfo"); };
public String getHelpText() { return LocStrings.stub("GuildRoleRemoveInfo"); };
@Override
public void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
@@ -25,16 +25,16 @@ public class CommandGuildRoleRemove extends Command
{
if(guild.control.removeRole(user.discordID, role))
{
res.Call(String.format(LocStrings.Stub("GuildRoleRemoveSuccess"), role, user.name));
res.Call(String.format(LocStrings.stub("GuildRoleRemoveSuccess"), role, user.name));
}
else
{
res.Call(String.format(LocStrings.Stub("GuildRoleRemoveFailure"), role, user.name));
res.Call(String.format(LocStrings.stub("GuildRoleRemoveFailure"), role, user.name));
}
}
else
{
res.Call(String.format(LocStrings.Stub("GuildRoleRemoveNotAllowed"), role));
res.Call(String.format(LocStrings.stub("GuildRoleRemoveNotAllowed"), role));
}
}
}