From dc43044613337573289ca5f4673d5df4b01fe274 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 29 Apr 2018 18:42:50 +0200 Subject: [PATCH] Added Polish --- WorldSystem/bin/.gitignore | 1 + WorldSystem/src/TODO.txt | 14 ---- .../src/de/butzlabben/world/WorldSystem.java | 1 + .../world/config/MessageConfig.java | 2 +- WorldSystem/src/pl.yml | 80 +++++++++++++++++++ WorldSystem/src/plugin.yml | 2 +- 6 files changed, 84 insertions(+), 16 deletions(-) delete mode 100644 WorldSystem/src/TODO.txt create mode 100644 WorldSystem/src/pl.yml diff --git a/WorldSystem/bin/.gitignore b/WorldSystem/bin/.gitignore index a811ae0..9e9a47b 100644 --- a/WorldSystem/bin/.gitignore +++ b/WorldSystem/bin/.gitignore @@ -10,3 +10,4 @@ /org/ /plugin.yml /settings.yml +/pl.yml diff --git a/WorldSystem/src/TODO.txt b/WorldSystem/src/TODO.txt deleted file mode 100644 index 9070714..0000000 --- a/WorldSystem/src/TODO.txt +++ /dev/null @@ -1,14 +0,0 @@ - -2.0.1: -- WorldPlayer, bsp: changeBuild auf WorldConfig 黚ertragen -- SystemWorld, GUI auch auf neue WorldConfig - -2.0.2: -- Events dokumentieren -- Config dokumentieren -- WorldConfig dokumentieren -- Mehrere TemplateWorlds, WeltGenerator konfigurieren - FLAT, DEFAULT, VOID, ... -- AutoUpdater - -2.0.3: -- PlotMe Generator erstellen -> Config gibt Feldgr鲞e an \ No newline at end of file diff --git a/WorldSystem/src/de/butzlabben/world/WorldSystem.java b/WorldSystem/src/de/butzlabben/world/WorldSystem.java index 493da0a..de3cf60 100644 --- a/WorldSystem/src/de/butzlabben/world/WorldSystem.java +++ b/WorldSystem/src/de/butzlabben/world/WorldSystem.java @@ -170,6 +170,7 @@ public class WorldSystem extends JavaPlugin { MessageConfig.checkConfig(new File(languages, "de.yml")); MessageConfig.checkConfig(new File(languages, "hu.yml")); MessageConfig.checkConfig(new File(languages, "nl.yml")); + MessageConfig.checkConfig(new File(languages, "pl.yml")); MessageConfig.checkConfig(new File(languages, PluginConfig.getLanguage() + ".yml")); if (!dconfig.exists()) { try { diff --git a/WorldSystem/src/de/butzlabben/world/config/MessageConfig.java b/WorldSystem/src/de/butzlabben/world/config/MessageConfig.java index 7907f5e..1202617 100644 --- a/WorldSystem/src/de/butzlabben/world/config/MessageConfig.java +++ b/WorldSystem/src/de/butzlabben/world/config/MessageConfig.java @@ -45,7 +45,7 @@ public class MessageConfig { if (file.exists() == false) { try { InputStream in = JavaPlugin.getPlugin(WorldSystem.class).getResource(f.getName()); - ; + if (in == null) { in = JavaPlugin.getPlugin(WorldSystem.class).getResource("custom.yml"); } diff --git a/WorldSystem/src/pl.yml b/WorldSystem/src/pl.yml new file mode 100644 index 0000000..00d267e --- /dev/null +++ b/WorldSystem/src/pl.yml @@ -0,0 +1,80 @@ +nopermission: "&cNie posiadasz uprawnie艅 do tego!" +unknown_error: "&cCo艣 posz艂o nie tak..." +lagdetection: "Wykryto laga na 艣wiecie: &c%world" +wrong_usage: "&c%usage" +not_registered: "&cTen gracz nie do艂膮czy艂 jeszcze na serwer!" + +world: + reseted: "Tw贸j 艣wiat zosta艂 zresetowany!" + still_loaded: "&cTw贸j serwer wci膮偶 si臋 艂aduje!" + not_on: "&cNie jeste艣 na swoim 艣wiecie!" + created: "Tw贸j 艣wiat jest gotowy. Dosta艅 si臋 na niego za pomoc膮 &a/ws home" + already_exists: "&cJu偶 posiadasz sw贸j 艣wiat!" + delete: + own: "&cTw贸j 艣wiat zosta艂 skasowany!" + other: "Usun膮艂e艣 艣wiat gracza: &c%player&6!" + does_not_exists: + own: "&cNie masz swojego 艣wiata!" + other: "&cTen gracz nie ma swojego 艣wiata!" + setting_up: "&aUstawianie 艣wiata..." + playerlist: "Gracze na tym 艣wiecie: %players" + +member: + removed: "Usun膮艂e艣 &c%player&6 ze swojego 艣wiata!" + added: "Doda艂e艣 &c%player&6 na sw贸j 艣wiat!" + already_added: "&cTen gracz jest ju偶 dodany na Twoim 艣wiecie!" + not_added: + own: "&cTen gracz nie jest dodany do Twojego 艣wiata!" + other: "&cNie jeste艣 dodany na ten 艣wiat!" + +request: + expired: "&cTwoja pro艣ba wygas艂a!" + confirm: "&cPotwierd藕 zresetowanie swojego 艣wiata komend膮: %command" + until_expire: "&cTw贸ja pro艣ba wyga艣nie za %time sek.!" + already_sent: "&cJu偶 wys艂a艂e艣 pro艣b臋!" + not_sent: "&cNie wys艂a艂e艣 pro艣by!" + invalid_input: "&c%input nie jest poprawnym argumentem komendy!" + +toggle: + gamemode: + enabled: "&a%player&6 mo偶e teraz zmieni膰 sw贸j gamemode!" + disabled: "&c%player&6 nie mo偶e ju偶 zmieni膰 swojego gamemode!" + teleport: + enabled: "&a%player&6 mo偶e teleportowa膰 si臋!" + disabled: "&c%player&6 nie mo偶e teleportowa膰 si臋!" + build: + enabled: "&a%player&6 mo偶e budowa膰!" + disabled: "&c%player&6 nie mo偶e ju偶 budowa膰!" + fire: + enabled: "&aW艂膮czy艂e艣 ogie艅!" + disabled: "&cWy艂膮czy艂e艣 ogie艅!" + tnt: + enabled: "&aW艂膮czy艂e艣 obra偶enia od TNT!" + disabled: "&cWy艂膮czy艂e艣 obra偶enia od TNT!" + +info: + owner: "W艂a艣ciciel: %data" + id: "ID: %data" + member: "Cz艂onek: %data" + tnt: "TNT: %data" + fire: "Ogie艅: %data" + enabled: "&aW艂膮czone" + disabled: "&cWy艂膮czone" + +command_help: + list: + - "/ws get &8- &7Will give you a world" + - "/ws home &8- &7Teleportuje Cie na Tw贸j 艣wiat" + - "/ws gui &8- &7Otwiera GUI 艣wiata je偶eli jeste艣 jego w艂a艣cicielem" + - "/ws tp &8- &7Teleportuje Cie na okre艣lony 艣wiat" + - "/ws addmember &8- &7Dodaj gracza na sw贸j 艣wiat" + - "/ws delmember &8- &7Usu艅 gracza ze swojego 艣wiata" + - "/ws leave &8- &7Opu艣膰 艣wiat" + - "/ws tnt &8- &7Zezw贸l/Odm贸w TNT na swoim 艣wiecie" + - "/ws fire &8- &7Zezw贸l/Odm贸w Ogie艅 na swoim 艣wiecie" + - "/ws togglegm &8- &7Zezw贸l/Odm贸w graczowi zmienia膰 sw贸j gamemode" + - "/ws togglebuild &8- &7Zezw贸l/Odm贸w graczowi budowanie" + - "/ws toggletp &8- &7Zezw贸l/Odm贸w graczowi teleportowanie si臋" + - "/ws info &8- &7Pokazuje informacje o 艣wiecie" + - "/ws reset &8- &7Zresetuje Tw贸j 艣wiat" + delete_command: "/ws delete &8- &7Usunie Tw贸j 艣wiat" \ No newline at end of file diff --git a/WorldSystem/src/plugin.yml b/WorldSystem/src/plugin.yml index 50ed22c..1d50940 100644 --- a/WorldSystem/src/plugin.yml +++ b/WorldSystem/src/plugin.yml @@ -1,5 +1,5 @@ name: WorldSystem -version: 2.0 +version: 2.0.1 author: Butzlabben main: de.butzlabben.world.WorldSystem