diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-09-09 15:50:22 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-09-09 15:50:22 +0100 |
commit | c1eed8ebcd05afe5d2e31321428e016ca608e924 (patch) | |
tree | 509f6ae1c93c0c6fb0aa086a060a640b3ac0aa0a /Essentials | |
parent | b8d0cf4cc4214e2768ac84157ab53e01e8f71903 (diff) | |
download | Essentials-c1eed8ebcd05afe5d2e31321428e016ca608e924.tar Essentials-c1eed8ebcd05afe5d2e31321428e016ca608e924.tar.gz Essentials-c1eed8ebcd05afe5d2e31321428e016ca608e924.tar.lz Essentials-c1eed8ebcd05afe5d2e31321428e016ca608e924.tar.xz Essentials-c1eed8ebcd05afe5d2e31321428e016ca608e924.zip |
Missing TL keys
Diffstat (limited to 'Essentials')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java b/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java index c985ef725..03128eed0 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandgetpos.java @@ -1,5 +1,6 @@ package com.earth2me.essentials.commands; +import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.User; import org.bukkit.Location; import org.bukkit.Server; @@ -43,15 +44,15 @@ public class Commandgetpos extends EssentialsCommand //TODO: Translate private void outputPosition(final CommandSender sender, final Location coords, final Location distance) { - sender.sendMessage("§7World: " + coords.getWorld().getName()); - sender.sendMessage("§7X: " + coords.getBlockX() + " (+East <-> -West)"); - sender.sendMessage("§7Y: " + coords.getBlockY() + " (+Up <-> -Down)"); - sender.sendMessage("§7Z: " + coords.getBlockZ() + " (+South <-> -North)"); - sender.sendMessage("§7Yaw: " + (coords.getYaw() + 180 + 360) % 360 + " (Rotation)"); - sender.sendMessage("§7Pitch: " + coords.getPitch() + " (Head angle)"); + sender.sendMessage(_("currentWorld", coords.getWorld().getName())); + sender.sendMessage(_("posX", coords.getBlockX())); + sender.sendMessage(_("posY", coords.getBlockY())); + sender.sendMessage(_("posZ", coords.getBlockZ())); + sender.sendMessage(_("posYaw", (coords.getYaw() + 180 + 360) % 360)); + sender.sendMessage(_("posPitch", coords.getPitch())); if (distance != null && coords.getWorld().equals(distance.getWorld())) { - sender.sendMessage("§7Distance: " + coords.distance(distance)); + sender.sendMessage(_("distance", coords.distance(distance))); } } } |