From 16535807e140948b0c578786a7c5c9b0deed9504 Mon Sep 17 00:00:00 2001 From: bbo51dog Date: Mon, 24 Feb 2020 12:48:25 +0900 Subject: [PATCH] English --- .../kotlin/net/bbo51dog/ecokkit/EcokkitPlugin.kt | 2 +- src/main/resources/eng.ini | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/eng.ini diff --git a/src/main/kotlin/net/bbo51dog/ecokkit/EcokkitPlugin.kt b/src/main/kotlin/net/bbo51dog/ecokkit/EcokkitPlugin.kt index 148deb9..52be4ee 100644 --- a/src/main/kotlin/net/bbo51dog/ecokkit/EcokkitPlugin.kt +++ b/src/main/kotlin/net/bbo51dog/ecokkit/EcokkitPlugin.kt @@ -59,7 +59,7 @@ class EcokkitPlugin : PluginBase() { var path = dataFolder.absolutePath + "/${it}.ini" if (File(path).exists()) { var data: Map = Config(path, Config.PROPERTIES).all - langs.set(it, data) + langs.put(it, data) } } return Language(langs, conf.getString("lang_default")) diff --git a/src/main/resources/eng.ini b/src/main/resources/eng.ini new file mode 100644 index 0000000..dc393ea --- /dev/null +++ b/src/main/resources/eng.ini @@ -0,0 +1,16 @@ +prefix=§l§a[§6Ecokkit§a]§r +sender.not.player=§cYou cannot use this command on console +player.not.found=Player %player not found +invalid.value=Invalid value is passed +command.usage=Usage: %usage +command.mine=Your money §e>> §r%unit%money +command.see=%player's money §e>> §r%unit%money +command.pay.lacking=You don't have enough money +command.pay.success.sender=You paid %unit%money to %player +command.pay.success.target=%player paid %unit%money to you +command.set.success.sender=You set %player 's money to %unit%money +command.set.success.target=%player set your money to %unit%money +command.add.success.sender=You added %unit%money to %player's money +command.add.success.target=%player added %unit%money to your money +command.reduce.success.sender=You reduced %player's money by %unit%money +command.reduce.success.target=%player reduced your money by %unit%money \ No newline at end of file