diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-06-12 00:16:09 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-06-12 00:16:09 +0100 |
commit | 4f2f166824db8162ee18ca3ab2d1b789324f10b1 (patch) | |
tree | d49577691d83aa03fdaa478d0aa709bd87037645 | |
parent | 593f1dd67fc53824f40fcfa4a438d84dbb929e4d (diff) | |
download | Essentials-4f2f166824db8162ee18ca3ab2d1b789324f10b1.tar Essentials-4f2f166824db8162ee18ca3ab2d1b789324f10b1.tar.gz Essentials-4f2f166824db8162ee18ca3ab2d1b789324f10b1.tar.lz Essentials-4f2f166824db8162ee18ca3ab2d1b789324f10b1.tar.xz Essentials-4f2f166824db8162ee18ca3ab2d1b789324f10b1.zip |
Adding mute status to /whois
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandwhois.java | 5 | ||||
-rw-r--r-- | Essentials/src/messages.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_cs.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_da.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_de.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_en.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_es.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_fr.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_it.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_nl.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_pl.properties | 1 | ||||
-rw-r--r-- | Essentials/src/messages_pt.properties | 1 |
12 files changed, 16 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java index e799905f3..29807fe6c 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java @@ -72,6 +72,11 @@ public class Commandwhois extends EssentialsCommand ? Util.formatDateDiff(user.getJailTimeout()) : _("true") : _("false")))); + sender.sendMessage(_("whoisMute", (user.isMuted() + ? user.getMuteTimeout() > 0 + ? Util.formatDateDiff(user.getMuteTimeout()) + : _("true") + : _("false")))); sender.sendMessage(user.isAfk() ? _("whoisStatusAway") : _("whoisStatusAvailable")); diff --git a/Essentials/src/messages.properties b/Essentials/src/messages.properties index d49c7283a..d16ed5f8a 100644 --- a/Essentials/src/messages.properties +++ b/Essentials/src/messages.properties @@ -434,3 +434,4 @@ year=year years=years youAreHealed=\u00a77You have been healed. youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_cs.properties b/Essentials/src/messages_cs.properties index 6ceb7240c..25fe57a19 100644 --- a/Essentials/src/messages_cs.properties +++ b/Essentials/src/messages_cs.properties @@ -437,3 +437,4 @@ year=rok years=roky youAreHealed=\u00a77Byl jsi uzdraven. youHaveNewMail=\u00a7cMas {0} zprav!\u00a7f Napis \u00a77/mail read\u00a7f aby jsi si precetl sve zpravy. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_da.properties b/Essentials/src/messages_da.properties index df7ae4c33..a6e4966cf 100644 --- a/Essentials/src/messages_da.properties +++ b/Essentials/src/messages_da.properties @@ -434,3 +434,4 @@ year=\u00e5r years=\u00e5r youAreHealed=\u00a77Du er blevet healed. Halleluja! youHaveNewMail=\u00a7cDu har {0} flaskeposter!\u00a7f Type \u00a77/mail read for at se din flaskepost. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_de.properties b/Essentials/src/messages_de.properties index 07ca7483e..c80c744fc 100644 --- a/Essentials/src/messages_de.properties +++ b/Essentials/src/messages_de.properties @@ -434,3 +434,4 @@ year=Jahr years=Jahre youAreHealed=\u00a77Du wurdest geheilt. youHaveNewMail=\u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_en.properties b/Essentials/src/messages_en.properties index d49c7283a..d16ed5f8a 100644 --- a/Essentials/src/messages_en.properties +++ b/Essentials/src/messages_en.properties @@ -434,3 +434,4 @@ year=year years=years youAreHealed=\u00a77You have been healed. youHaveNewMail=\u00a7cYou have {0} messages!\u00a7f Type \u00a77/mail read\u00a7f to view your mail. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_es.properties b/Essentials/src/messages_es.properties index ff4e12a75..bc16cb436 100644 --- a/Essentials/src/messages_es.properties +++ b/Essentials/src/messages_es.properties @@ -434,3 +434,4 @@ year=año years=años youAreHealed=\u00a77Has sido curado. youHaveNewMail=\u00a7cTienes {0} mensajes!\u00a7f Pon \u00a77/mail read\u00a7f para ver tus emails no leidos!. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_fr.properties b/Essentials/src/messages_fr.properties index 37120be63..69e7ffa47 100644 --- a/Essentials/src/messages_fr.properties +++ b/Essentials/src/messages_fr.properties @@ -434,3 +434,4 @@ year=ann\u00e9e years=ann\u00e9es youAreHealed=\u00a77Vous avez \u00e9t\u00e9 soign\u00e9. youHaveNewMail=\u00a7cVous avez {0} messages ! \u00a7fEntrez \u00a77/mail read\u00a7f pour voir votre courrier. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_it.properties b/Essentials/src/messages_it.properties index ee94f30d5..56c2a834b 100644 --- a/Essentials/src/messages_it.properties +++ b/Essentials/src/messages_it.properties @@ -434,3 +434,4 @@ hatFail=\u00a7cYou must have something to wear in your hand. hatArmor=\u00a7cError, you cannot use this item as a hat! durability=\u00a77This tool has \u00a7c{0}\u00a77 uses left noDurability=\u00a7cThis item does not have a durability. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_nl.properties b/Essentials/src/messages_nl.properties index 8418a43ee..20e09d47c 100644 --- a/Essentials/src/messages_nl.properties +++ b/Essentials/src/messages_nl.properties @@ -434,3 +434,4 @@ hatFail=\u00a7cYou must have something to wear in your hand. hatArmor=\u00a7cError, you cannot use this item as a hat! durability=\u00a77This tool has \u00a7c{0}\u00a77 uses left noDurability=\u00a7cThis item does not have a durability. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_pl.properties b/Essentials/src/messages_pl.properties index ab8c8290b..1d3973d6a 100644 --- a/Essentials/src/messages_pl.properties +++ b/Essentials/src/messages_pl.properties @@ -434,3 +434,4 @@ year=rok years=lat youAreHealed=\u00a77Zostales/as uleczony/na. youHaveNewMail=\u00a7cMasz {0} wiadomosci!\u00a7f napisz \u00a77/mail read\u00a7f aby je przeczytac. +whoisMute=\u00a79 - Jail: {0} diff --git a/Essentials/src/messages_pt.properties b/Essentials/src/messages_pt.properties index b27fdb91f..700aa84ac 100644 --- a/Essentials/src/messages_pt.properties +++ b/Essentials/src/messages_pt.properties @@ -434,3 +434,4 @@ year=ano years=anos youAreHealed=\u00a77Voc\u00ea foi curado. youHaveNewMail=\u00a7cVoc\u00ea tem {0} mensagens!\u00a7f Digite \u00a77/mail read\u00a7f para ver seu email. +whoisMute=\u00a79 - Jail: {0} |