From a068583678501f0d1dcf116cb77f17c059929107 Mon Sep 17 00:00:00 2001 From: Nick Porillo Date: Tue, 12 May 2015 21:49:27 -0400 Subject: [PATCH] Add default faction description TL implemented from hcf with love <3 --- .../com/massivecraft/factions/zcore/persist/MemoryFaction.java | 2 +- src/main/java/com/massivecraft/factions/zcore/util/TL.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java index 800fa2af..110605ee 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java @@ -287,7 +287,7 @@ public abstract class MemoryFaction implements Faction, EconomyParticipator { this.id = id; this.open = Conf.newFactionsDefaultOpen; this.tag = "???"; - this.description = "Default faction description :("; + this.description = TL.GENERIC_DEFAULTDESCRIPTION.toString(); this.lastPlayerLoggedOffTime = 0; this.peaceful = false; this.peacefulExplosionsEnabled = false; diff --git a/src/main/java/com/massivecraft/factions/zcore/util/TL.java b/src/main/java/com/massivecraft/factions/zcore/util/TL.java index de31cc14..cdef10e9 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TL.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TL.java @@ -561,6 +561,7 @@ public enum TL { GENERIC_NOPLAYERFOUND("No player \"

%1$s\" could not be found."), GENERIC_ARGS_TOOFEW("Too few arguments. Use like this:"), GENERIC_ARGS_TOOMANY("Strange argument \"

%1$s\". Use the command like this:"), + GENERIC_DEFAULTDESCRIPTION("Default faction description :("), GENERIC_OWNERS("Owner(s): %1$s"), GENERIC_PUBLICLAND("Public faction land."), GENERIC_FACTIONLESS("factionless"),