diff --git a/pom.xml b/pom.xml index 9a9b282..eac6074 100644 --- a/pom.xml +++ b/pom.xml @@ -66,7 +66,7 @@ -LOCAL - 1.13.0 + 1.14.0 BentoBoxWorld_Warps bentobox-world @@ -312,7 +312,7 @@ org.jacoco jacoco-maven-plugin - 0.8.11 + 0.8.10 true diff --git a/src/main/java/world/bentobox/warps/commands/WarpsCommand.java b/src/main/java/world/bentobox/warps/commands/WarpsCommand.java index 108a255..de81de5 100644 --- a/src/main/java/world/bentobox/warps/commands/WarpsCommand.java +++ b/src/main/java/world/bentobox/warps/commands/WarpsCommand.java @@ -34,7 +34,7 @@ public class WarpsCommand extends CompositeCommand { */ @Override public void setup() { - this.setPermission(this.getParent() == null ? Warp.WELCOME_WARP_SIGNS + ".warp" : "island.warp"); + this.setPermission(this.getParent() == null ? Warp.WELCOME_WARP_SIGNS + ".warps" : "island.warps"); this.setOnlyPlayer(true); this.setDescription("warps.help.description"); } diff --git a/src/main/resources/locales/pl.yml b/src/main/resources/locales/pl.yml index 7dc32e8..6209a9a 100644 --- a/src/main/resources/locales/pl.yml +++ b/src/main/resources/locales/pl.yml @@ -4,16 +4,16 @@ warp: description: teleportuje cię do tabliczki innego gracza parameters: "" warps: - deactivate: "&c Stary teleport zdezaktywowany!" + deactivate: "&c Stary teleport został zdezaktywowany!" error: does-not-exist: "&c Ten teleport nie istnieje." no-permission: "&c Brak uprawnień!" no-remove: "&c Nie możesz usunąć tej tabliczki!" - no-warps-yet: "&c Nie ma jeszcze teleportów." + no-warps-yet: "&c Nie ma jeszcze stworzonych teleportów." not-enough-level: "&c Twój poziom wyspy nie jest wystarczająco wysoki!" not-on-island: "&c Musisz być na wyspie, by to zrobić." not-safe: "&c Ten teleport nie jest bezpieczny!" - your-level-is: "&c Twój poziom wyspy to [level], a musi wynosić co namniej [required]. + your-level-is: "&c Twój poziom wyspy to [level], a musi wynosić co najmniej [required]. Użyj komendy /is level." help: description: otwiera panel warpów @@ -34,7 +34,7 @@ warps: description: "&7 Przełącz na stronę [number]" warp: name: "&f&l [name]" - description: "[sing_text]" + description: "[sign_text]" random: name: "&f&l Losowa wyspa" description: "&7 Hmm, gdzie się pojawię?" diff --git a/src/test/java/world/bentobox/warps/commands/WarpsCommandTest.java b/src/test/java/world/bentobox/warps/commands/WarpsCommandTest.java index 07a046f..27fd6ff 100644 --- a/src/test/java/world/bentobox/warps/commands/WarpsCommandTest.java +++ b/src/test/java/world/bentobox/warps/commands/WarpsCommandTest.java @@ -123,7 +123,7 @@ public class WarpsCommandTest { @Test public void testSetupWarpCompositeCommand() { warpCommandWarpsCompositeCommand(); - assertEquals("bskyblock.island.warp", wc.getPermission()); + assertEquals("bskyblock.island.warps", wc.getPermission()); assertTrue(wc.isOnlyPlayer()); assertEquals("warps.help.description", wc.getDescription()); } @@ -134,7 +134,7 @@ public class WarpsCommandTest { @Test public void testSetupWarp() { warpCommandWarps(); - assertEquals(Warp.WELCOME_WARP_SIGNS + ".warp", wc.getPermission()); + assertEquals(Warp.WELCOME_WARP_SIGNS + ".warps", wc.getPermission()); assertTrue(wc.isOnlyPlayer()); assertEquals("warps.help.description", wc.getDescription()); }