args4j
args4j copied to clipboard
Don't use default meta variable for resource bundle lookup?
OptionHandler#getMetaVariable(...)
uses the default meta variable as a resource bundle key, see lines 79-80. This is somewhat unlikely to be the correct choice, I'd rather expect that the default meta variable is not subject to localization.
For example the default meta variable for enums
is the concatenation of the string representation of individual enum constants. This enum:
enum OptionEnum {
OptionA, OptionB, OptionC
}
requires users to use the resource bundle key [OptionA\ |\ OptionB\ |\ OptionC]
. And it's not even possible to omit that bundle key due to issue #70.