Skip to content

Commit

Permalink
English
Browse files Browse the repository at this point in the history
  • Loading branch information
bbo51dog committed Feb 24, 2020
1 parent e7513d7 commit 1653580
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/net/bbo51dog/ecokkit/EcokkitPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class EcokkitPlugin : PluginBase() {
var path = dataFolder.absolutePath + "/${it}.ini"
if (File(path).exists()) {
var data: Map<String, Any> = Config(path, Config.PROPERTIES).all
langs.set(it, data)
langs.put(it, data)
}
}
return Language(langs, conf.getString("lang_default"))
Expand Down
16 changes: 16 additions & 0 deletions src/main/resources/eng.ini
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1653580

Please sign in to comment.