Localize /mmoedit, /mmoupdate, and /mcpurge

This commit is contained in:
GJ
2013-01-16 23:31:28 -05:00
parent 89da8b832f
commit ea7fee2a53
6 changed files with 31 additions and 11 deletions

View File

@ -1,12 +1,13 @@
package com.gmail.nossr50.commands.mc;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.commands.CommandHelper;
import com.gmail.nossr50.config.Config;
import com.gmail.nossr50.locale.LocaleLoader;
import com.gmail.nossr50.util.Database;
public class McpurgeCommand implements CommandExecutor{
@ -29,7 +30,7 @@ public class McpurgeCommand implements CommandExecutor{
//TODO: Make this work for Flatfile data.
}
sender.sendMessage(ChatColor.GREEN + "The database was successfully purged!"); //TODO: Locale)
sender.sendMessage(LocaleLoader.getString("Commands.mcpurge.Success"));
return true;
}
}