Wrapping up the localizations... though I'm sure there are probably

still some that got missed.
This commit is contained in:
GJ
2013-01-17 11:02:55 -05:00
parent 49610e372f
commit a9c722de67
11 changed files with 38 additions and 14 deletions

View File

@ -41,7 +41,7 @@ public class Herbalism {
boolean hasSeeds = inventory.contains(Material.SEEDS);
if (!hasSeeds) {
player.sendMessage("You need more seeds to spread Green Terra"); //TODO: Needs more locale.
player.sendMessage(LocaleLoader.getString("Herbalism.Ability.GTe.NeedMore"));
}
else if (hasSeeds && !block.getType().equals(Material.WHEAT)) {
inventory.removeItem(new ItemStack(Material.SEEDS));

View File

@ -124,7 +124,7 @@ public class SimpleRepairManager implements RepairManager {
// This should never happen, but if it does we need to complain loudly about it.
if (repairItemLocation == -1) {
player.sendMessage("mcMMO encountered an error attempting to repair this item!"); // TODO: Locale ?
player.sendMessage(LocaleLoader.getString("Repair.Error"));
return;
}