args4j icon indicating copy to clipboard operation
args4j copied to clipboard

Don't use default meta variable for resource bundle lookup?

Open anba opened this issue 10 years ago • 0 comments

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.

anba avatar May 19 '14 16:05 anba