Permalink
Browse files

better i18n

  • Loading branch information...
elkodus committed Sep 29, 2012
1 parent 317bdd2 commit eb23283760f3b1097c19ed4230cdd06149923c05
@@ -1,12 +1,13 @@
package joptsimple;
+import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class Messages {
private static final String BUNDLE_NAME = "joptsimple.messages";
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME, Locale.getDefault() );
private Messages() {
}
@@ -0,0 +1,5 @@
+BuiltinHelpFormatter.default=default:
+BuiltinHelpFormatter.description=Description
+BuiltinHelpFormatter.noOptionsSpecified=No options specified
+BuiltinHelpFormatter.option=Option
+BuiltinHelpFormatter.optionRequired=Option (* = required)
@@ -0,0 +1,5 @@
+BuiltinHelpFormatter.default=domy\u015Blnie:
+BuiltinHelpFormatter.description=Opis
+BuiltinHelpFormatter.noOptionsSpecified=Brak opcji
+BuiltinHelpFormatter.option=Opcja
+BuiltinHelpFormatter.optionRequired=Opcja (* = wymagana)
Oops, something went wrong.

0 comments on commit eb23283

Please sign in to comment.