From 9590d4cd75a50ab64a4f52f31f8b6e5125afe318 Mon Sep 17 00:00:00 2001 From: Charles DeLancey <46200123+Evidentsinger14@users.noreply.github.com> Date: Sun, 24 Nov 2024 21:28:49 -0500 Subject: [PATCH] Add translation key for /alts output (#5595) Co-authored-by: JRoy <10731363+JRoy@users.noreply.github.com> --- .../main/java/com/earth2me/essentials/commands/Commandseen.java | 2 +- Essentials/src/main/resources/messages.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java index 6acfc2c45..6827650c5 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java +++ b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java @@ -216,7 +216,7 @@ public class Commandseen extends EssentialsCommand { if (matches.size() > 0) { sender.sendTl("matchingIPAddress"); - sender.sendMessage(StringUtil.joinList(matches)); + sender.sendTl("matchingAccounts", StringUtil.joinList(matches)); } else { sender.sendTl("noMatchingPlayers"); } diff --git a/Essentials/src/main/resources/messages.properties b/Essentials/src/main/resources/messages.properties index 841428d1a..843cd3770 100644 --- a/Essentials/src/main/resources/messages.properties +++ b/Essentials/src/main/resources/messages.properties @@ -750,6 +750,7 @@ mailSentToExpire={0} has been sent the following mail which mailTooLong=Mail message too long. Try to keep it below 1000 characters. markMailAsRead=To mark your mail as read, type /mail clear. matchingIPAddress=The following players previously logged in from that IP address\: +matchingAccounts={0} maxHomes=You cannot set more than {0} homes. maxMoney=This transaction would exceed the balance limit for this account. mayNotJail=You may not jail that person\!