Too many properties files in a resource bundle.
Brought to you by:
essiembre
[Submitted by Bart Vanhaute from eclipse-plugins.info]
The plugin is picking up too many files as part of one
resource bundle. For instance, the following will all
belong to one editor page:
x.properties
x_en.properties
x_fr.properties
x-1.properties
x-1_en.properties.
....
It looks like the regular expression for selecting
files is not strict enough : maybe try something like
"^"+name+"(_[a-z][a-z])?(_[A-Z][A-Z])?(_.*)?\."+extension+"$"
Logged In: YES
user_id=1012642
The regex pattern was adapted to something close to proposed
solution. The new pattern is:
"^" + name +
"((_[a-z]{2})|(_[a-z]{2}_[A-Z]{2})|(_[a-z]{2}_[A-Z]{2}_\w*))?\."
+ extension + "$"