mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 02:58:03 +01:00
Fix Missing TL key
This commit is contained in:
parent
029162bba7
commit
3691417848
@ -41,7 +41,6 @@ public class Commandgetpos extends EssentialsCommand
|
|||||||
outputPosition(sender, user.getLocation(), null);
|
outputPosition(sender, user.getLocation(), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Translate
|
|
||||||
private void outputPosition(final CommandSender sender, final Location coords, final Location distance)
|
private void outputPosition(final CommandSender sender, final Location coords, final Location distance)
|
||||||
{
|
{
|
||||||
sender.sendMessage(_("currentWorld", coords.getWorld().getName()));
|
sender.sendMessage(_("currentWorld", coords.getWorld().getName()));
|
||||||
|
@ -5,7 +5,6 @@ import com.earth2me.essentials.User;
|
|||||||
import com.earth2me.essentials.Util;
|
import com.earth2me.essentials.Util;
|
||||||
import com.earth2me.essentials.craftbukkit.InventoryWorkaround;
|
import com.earth2me.essentials.craftbukkit.InventoryWorkaround;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import org.bukkit.ChatColor;
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.Server;
|
import org.bukkit.Server;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
@ -91,9 +90,8 @@ public class Commandgive extends EssentialsCommand
|
|||||||
throw new Exception(_("cantSpawnItem", "Air"));
|
throw new Exception(_("cantSpawnItem", "Air"));
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: TL this.
|
|
||||||
final String itemName = stack.getType().toString().toLowerCase(Locale.ENGLISH).replace('_', ' ');
|
final String itemName = stack.getType().toString().toLowerCase(Locale.ENGLISH).replace('_', ' ');
|
||||||
sender.sendMessage(ChatColor.BLUE + "Giving " + stack.getAmount() + " of " + itemName + " to " + giveTo.getDisplayName() + ".");
|
sender.sendMessage(_("giveSpawn", stack.getAmount(), itemName, giveTo.getDisplayName()));
|
||||||
if (giveTo.isAuthorized("essentials.oversizedstacks"))
|
if (giveTo.isAuthorized("essentials.oversizedstacks"))
|
||||||
{
|
{
|
||||||
InventoryWorkaround.addItem(giveTo.getInventory(), true, ess.getSettings().getOversizedStackSize(), stack);
|
InventoryWorkaround.addItem(giveTo.getInventory(), true, ess.getSettings().getOversizedStackSize(), stack);
|
||||||
|
@ -142,7 +142,7 @@ illegalDate=Illegal date format.
|
|||||||
infoChapter=Select chapter:
|
infoChapter=Select chapter:
|
||||||
infoChapterPages=\u00a76Chapter {0}, page \u00a7c{1}\u00a76 of \u00a7c{2}\u00a76:
|
infoChapterPages=\u00a76Chapter {0}, page \u00a7c{1}\u00a76 of \u00a7c{2}\u00a76:
|
||||||
infoFileDoesNotExist=File info.txt does not exist. Creating one for you.
|
infoFileDoesNotExist=File info.txt does not exist. Creating one for you.
|
||||||
infoPages=\u00a76 ---- \u00a76{2} \u00a7e--\u00a76 Page \u00a7c{0}\u00a76/\u00a7c{1} \u00a7e----
|
infoPages=\u00a7e ---- \u00a76{2} \u00a7e--\u00a76 Page \u00a7c{0}\u00a76/\u00a7c{1} \u00a7e----
|
||||||
infoUnknownChapter=Unknown chapter.
|
infoUnknownChapter=Unknown chapter.
|
||||||
invBigger=\u00a74The other users inventory is bigger than yours.
|
invBigger=\u00a74The other users inventory is bigger than yours.
|
||||||
invRestored=\u00a76Your inventory has been restored.
|
invRestored=\u00a76Your inventory has been restored.
|
||||||
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -456,3 +456,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -142,7 +142,7 @@ illegalDate=Illegal date format.
|
|||||||
infoChapter=Select chapter:
|
infoChapter=Select chapter:
|
||||||
infoChapterPages=\u00a76Chapter {0}, page \u00a7c{1}\u00a76 of \u00a7c{2}\u00a76:
|
infoChapterPages=\u00a76Chapter {0}, page \u00a7c{1}\u00a76 of \u00a7c{2}\u00a76:
|
||||||
infoFileDoesNotExist=File info.txt does not exist. Creating one for you.
|
infoFileDoesNotExist=File info.txt does not exist. Creating one for you.
|
||||||
infoPages=\u00a76 ---- \u00a76{2} \u00a7e--\u00a76 Page \u00a7c{0}\u00a76/\u00a7c{1} \u00a7e----
|
infoPages=\u00a7e ---- \u00a76{2} \u00a7e--\u00a76 Page \u00a7c{0}\u00a76/\u00a7c{1} \u00a7e----
|
||||||
infoUnknownChapter=Unknown chapter.
|
infoUnknownChapter=Unknown chapter.
|
||||||
invBigger=\u00a74The other users inventory is bigger than yours.
|
invBigger=\u00a74The other users inventory is bigger than yours.
|
||||||
invRestored=\u00a76Your inventory has been restored.
|
invRestored=\u00a76Your inventory has been restored.
|
||||||
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
@ -453,3 +453,4 @@ posZ=\u00a76Z: {0} (+South <-> -North)
|
|||||||
posYaw=\u00a76Yaw: {0} (Rotation)
|
posYaw=\u00a76Yaw: {0} (Rotation)
|
||||||
posPitch=\u00a76Pitch: {0} (Head angle)
|
posPitch=\u00a76Pitch: {0} (Head angle)
|
||||||
distance=\u00a76Distance: {0}
|
distance=\u00a76Distance: {0}
|
||||||
|
giveSpawn=\u00a76Giving\u00a7c {0} \u00a76of\u00a7c {1} to\u00a7c {2}\u00a76.
|
||||||
|
Loading…
Reference in New Issue
Block a user