v2_0_0_Build_2007
pre_v2_0_0_Build_2007
synchronized with trunk changes
see #2012
Added Slf4j to several projects
prepares_v2_refactor
Fixed tranlations bug of libUIComponents (by cmartinez)
See #296
Load property files in a more predictable way
Repair a bug which avoided spanish translations to be loaded in some corner case
- Quitados warnings de imports no usados.
Correct translation key
Add translations to gvsig-i18n.jar. Update some translations.
Add hasLocales method, to check if any language has been added to the preferred locales list
Add a template for the brige-class Messages, to be used in libraries
Update package description
Update comments on getText methods
Don't return empty translations, return key instead
Show the callerName when logging
Add TranslationDatabase and MessagesClassLoader classes
Separate languages in different hashmaps, to properly load keys from a second file where they were already loaded from a fallback language
Optimize data structures: use HashMap, ArrayList. Don't show the missing resource exception, show the message instead. Implement the parameter "log" in some getText methods (it was present but not implemented).
Correct a corner case in addResourceFamily
Add package.html. Remove unused members. Add a new getString method
Complete and polish Javadoc comments. Tidy the sources a bit. Remove some methods which are implementation-dependent. Add a size() method and make it protected, as is only intended for the unitTests
Catch MissingResourceException exception and log it, instead of failing
Create a default PrivateClassLoader. Add methods removeLocale, removeResources
Use localized errors again, now in a safe way
Don't use a lozalized message for the 'Message not found error'. It might produce infine loops
Add simple getText(key) method
Add callerName param to log failures.Use ResourceBundle again to load translations, to properly read Unicode escaped properties files. Add ClassLoader param to achieve this.