= Updated Localizer to LocStrings

This commit is contained in:
Matthew Cech
2019-04-14 00:43:13 -07:00
parent 57aa8e204c
commit e65cfb498b
37 changed files with 138 additions and 138 deletions
+4 -4
View File
@@ -3,7 +3,7 @@ package commands;
import java.io.File;
import java.io.IOException;
import core.Command;
import core.Localizer;
import core.LocStrings;
import dataStructures.*;
import network.*;
import utils.ImageUtils;
@@ -15,13 +15,13 @@ public class CommandWolfram extends Command
public CommandWolfram(KittyRole level, KittyRating rating) { super(level, rating);}
@Override
public String HelpText() { return Localizer.Stub("WolframInfo"); }
public String HelpText() { return LocStrings.Stub("WolframInfo"); }
@Override
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
{
if(input.args == null || input.args.trim().length() == 0)
res.Call(Localizer.Stub("WolframNoArgs"));
res.Call(LocStrings.Stub("WolframNoArgs"));
try
{
@@ -31,7 +31,7 @@ public class CommandWolfram extends Command
}
catch (IOException e)
{
res.Call(Localizer.Stub("WolframError"));
res.Call(LocStrings.Stub("WolframError"));
}
}
}