Skip to content

Commit

Permalink
Localize command usage string
Browse files Browse the repository at this point in the history
  • Loading branch information
ljfa-ag committed Mar 9, 2017
1 parent 858b1c7 commit 0534577
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins {

apply plugin: 'net.minecraftforge.gradle.forge'

version = "1.2.1"
version = "1.2.2"
group= "ljfa.tntutils"
archivesBaseName = "tnt_utilities-mc1.11.2"

Expand Down
3 changes: 1 addition & 2 deletions src/main/java/ljfa/tntutils/command/CommandExplosion.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ public int getRequiredPermissionLevel() {

@Override
public String getUsage(ICommandSender sender) {
return "explosion <x> <y> <z> [strength] [damage blocks] [set fires]. "
+ "Default strength: 4 (TNT)";
return "tnt_utilities.commands.explosion.usage";
}

@Override
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/tnt_utilities/lang/de_DE.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tnt_utilities.commands.explosion.usage=/explosion <x> <y> <z> [Stärke] [Blöcke zerstören] [Feuer verursachen]. Standardstärke: 4 (TNT)
1 change: 1 addition & 0 deletions src/main/resources/assets/tnt_utilities/lang/en_US.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tnt_utilities.commands.explosion.usage=/explosion <x> <y> <z> [strength] [damage blocks] [set fires]. Default strength: 4 (TNT)

0 comments on commit 0534577

Please sign in to comment.