This inspection reports problems in the properties files contained in the resource bundle.
- Report missing translation
option controls search for an untranslated properties.
It reports properties contained in parent properties file that are missing in inherited (unless it's a language dialect).
E.g. having this resource bundle:
messages.properties: abc=xxx
messages_fr.properties: empty
Property abc will be reported as untranslated.
-
Report inconsistent properties
option controls invalid resource bundle structure inspection.
It reports properties contained in inherited properties file that are missing in parent (or in sibling if there is no parent).
E.g. having this resource bundle:
messages_fr.properties: abc=xxx
messages.properties: empty
Property abc translation here is not available for any language except French,
and, thus, will be reported as missing in the (default) properties file messages.properties.
-
Report properties overridden with the same value
option checks for properties which are copy-pasted into several properties files verbatim.
E.g. in this resource bundle:
messages_fr.properties: abc=xxx
messages.properties: abc=xxx
Property abc will be reported as unnecessarily inherited in the file messages_fr.properties.
New in 7