diff options
author | Tobias Roeser <[email protected]> | 2012-11-24 18:05:33 +0100 |
---|---|---|
committer | Tobias Roeser <[email protected]> | 2012-11-24 18:05:33 +0100 |
commit | 86cedeb856c8f40d057a21e8d7f3bddef5f0e214 (patch) | |
tree | 41fa2190826ca98b811f60c12d253eeabca9bc17 /api/src/main/java | |
parent | 0ba43fdcaa8643cc9d6daa5a0bc2c07cf23f6267 (diff) |
Added German translation for command line options.
Diffstat (limited to 'api/src/main/java')
-rwxr-xr-x | api/src/main/java/org/semver/Main.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/main/java/org/semver/Main.java b/api/src/main/java/org/semver/Main.java index a0f6b36..2870c78 100755 --- a/api/src/main/java/org/semver/Main.java +++ b/api/src/main/java/org/semver/Main.java @@ -90,6 +90,8 @@ public class Main { public static void main(final String[] args) throws IOException { Config config = new Config(); CmdlineParser cmdlineParser = new CmdlineParser(config); + // Load translations of command line descriptions + cmdlineParser.setResourceBundle(Main.class.getPackage().getName() + ".Messages", Main.class.getClassLoader()); cmdlineParser.setProgramName("semver"); cmdlineParser.setAboutLine("Semantic Version validator version 0.9.16-SNAPSHOT."); try { @@ -125,5 +127,4 @@ public class Main { } } - } |