From 9c4f44e94ac77307f7aa81b30a1b6f59d6ba694e Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 3 May 2021 20:44:11 +0200 Subject: [PATCH] Add RegionType Multilingual --- BauSystem_Main/src/BauSystem.properties | 7 ++++++- .../src/de/steamwar/bausystem/region/utils/RegionType.java | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index 8fa1770c..35646ee1 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -27,4 +27,9 @@ FLAG_COLOR = Color FLAG_TNT = TNT FLAG_FIRE = Fire FLAG_FREEZE = Freeze -FLAG_PROTECT = Protect \ No newline at end of file +FLAG_PROTECT = Protect + +# Region +REGION_TYPE_NORMAL = Normal +REGION_TYPE_BUILD = Baubereich +REGION_TYPE_ONLY_TB = Testblock \ No newline at end of file diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java b/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java index f81fe9ad..0172a6bf 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/utils/RegionType.java @@ -25,9 +25,9 @@ import lombok.Getter; @AllArgsConstructor public enum RegionType implements EnumDisplay { - NORMAL("Normal"), - BUILD("Baubereich"), - TESTBLOCK("Testblock"); + NORMAL("REGION_TYPE_NORMAL"), + BUILD("REGION_TYPE_BUILD"), + TESTBLOCK("REGION_TYPE_ONLY_TB"); @Getter