mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-12-31 20:42:17 +00:00
Add translation key for /near entries (#4740)
This commit is contained in:
parent
a9585bb525
commit
5c46bea2ca
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,6 @@ package com.earth2me.essentials.commands;
|
||||||
import com.earth2me.essentials.CommandSource;
|
import com.earth2me.essentials.CommandSource;
|
||||||
import com.earth2me.essentials.User;
|
import com.earth2me.essentials.User;
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import org.bukkit.ChatColor;
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Server;
|
import org.bukkit.Server;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
|
@ -109,7 +108,7 @@ public class Commandnear extends EssentialsCommand {
|
||||||
if (nearbyPlayer == null) {
|
if (nearbyPlayer == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
output.append(nearbyPlayer.getDisplayName()).append(ChatColor.WHITE + "(" + ChatColor.RED).append((long) nearbyPlayer.getLocation().distance(loc)).append("m" + ChatColor.WHITE + ")");
|
output.append(tl("nearbyPlayersList", nearbyPlayer.getDisplayName(), (long)nearbyPlayer.getLocation().distance(loc)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return output.length() > 1 ? output.toString() : tl("none");
|
return output.length() > 1 ? output.toString() : tl("none");
|
||||||
|
|
|
@ -779,6 +779,7 @@ nearCommandUsage3Description=Lists all players within the default near radius of
|
||||||
nearCommandUsage4=/<command> <player> <radius>
|
nearCommandUsage4=/<command> <player> <radius>
|
||||||
nearCommandUsage4Description=Lists all players within the given radius of the specified player
|
nearCommandUsage4Description=Lists all players within the given radius of the specified player
|
||||||
nearbyPlayers=\u00a76Players nearby\:\u00a7r {0}
|
nearbyPlayers=\u00a76Players nearby\:\u00a7r {0}
|
||||||
|
nearbyPlayersList={0}\u00a7f(\u00a7c{1}m\u00a7f)
|
||||||
negativeBalanceError=\u00a74User is not allowed to have a negative balance.
|
negativeBalanceError=\u00a74User is not allowed to have a negative balance.
|
||||||
nickChanged=\u00a76Nickname changed.
|
nickChanged=\u00a76Nickname changed.
|
||||||
nickCommandDescription=Change your nickname or that of another player.
|
nickCommandDescription=Change your nickname or that of another player.
|
||||||
|
|
Loading…
Reference in a new issue