diff --git a/Core/src/main/java/com/plotsquared/core/command/Info.java b/Core/src/main/java/com/plotsquared/core/command/Info.java index b7845ede8..3efabe114 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Info.java +++ b/Core/src/main/java/com/plotsquared/core/command/Info.java @@ -20,7 +20,6 @@ package com.plotsquared.core.command; import com.plotsquared.core.configuration.Settings; import com.plotsquared.core.configuration.caption.Caption; -import com.plotsquared.core.configuration.caption.StaticCaption; import com.plotsquared.core.configuration.caption.TranslatableCaption; import com.plotsquared.core.database.DBFunc; import com.plotsquared.core.permissions.Permission; @@ -131,13 +130,9 @@ public class Info extends SubCommand { info = getCaption(arg); if (info == null) { if (Settings.Ratings.USE_LIKES) { - player.sendMessage(StaticCaption.of( - "&6Categories&7: &amembers&7, &aalias&7, &abiome&7, &aseen&7, &adenied&7, &aflags&7, &aid&7, &asize&7, &atrusted&7, " - + "&aowner&7, " + " &alikes")); + player.sendMessage(TranslatableCaption.of("info.plot_info_categories.use_likes")); } else { - player.sendMessage(StaticCaption.of( - "&6Categories&7: &amembers&7, &aalias&7, &abiome&7, &aseen&7, &adenied&7, &aflags&7, &aid&7, &asize&7, &atrusted&7, " - + "&aowner&7, " + " &arating")); + player.sendMessage(TranslatableCaption.of("info.plot_info_categories.use_rating")); } return false; } diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index 25874c27c..0a0a5c017 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -353,6 +353,8 @@ "info.infinite": "Infinite", "info.plot_unowned": "The current plot must have an owner to perform this action.", "info.plot_info_unclaimed": "Plot is not yet claimed.", + "info.plot_info_categories.use_rating": "Categories: members, alias, biome, seen, denied, flags, id, size, trusted, owner, rating", + "info.plot_info_categories.use_likes": "Categories: members, alias, biome, seen, denied, flags, id, size, trusted, owner, likes", "info.plot_info_header": "--------- INFO ---------", "info.plot_info_hidden": "You cannot view the information about this plot.", "info.plot_info_format": "
\nID: \nCreation: \nArea: \nAlias: \nOwner: \nBiome: \nCan Build: \nRating: \nSeen: \nTrusted: \nMembers: \nDenied: \nFlags: \nDescription: \n