blob: d8d5003ec0660ff8c41bbd4d684a9ebd349622f0 [file] [log] [blame]
<html>
<body>
<font face="verdana" size="-1">This inspection reports problems in the properties files contained in the resource bundle.
<ul>
<li><b>Report missing translation</b>
</li>
</ul>
option controls search for an untranslated properties.<br>
It reports properties contained in parent properties file that are missing in inherited (unless it's a language dialect).<br>
E.g. having this resource bundle:<br>
<b>messages.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
<b>messages_fr.properties</b>: empty<br>
Property <font color="#000080"><b>abc</b></font> will be reported as untranslated.
<ul>
<li>
<b>Report inconsistent properties</b>
</li>
</ul>
option controls invalid resource bundle structure inspection.<br>
It reports properties contained in inherited properties file that are missing in parent (or in sibling if there is no parent).<br>
E.g. having this resource bundle:<br>
<b>messages_fr.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
<b>messages.properties</b>: empty<br>
Property <font color="#000080"><b>abc</b></font> translation here is not available for any language except French,
and, thus, will be reported as missing in the (default) properties file <b>messages.properties</b>.
<ul>
<li>
<b>Report properties overridden with the same value</b>
</li>
</ul>
option checks for properties which are copy-pasted into several properties files verbatim.<br>
E.g. in this resource bundle:<br>
<b>messages_fr.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
<b>messages.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
Property <font color="#000080"><b>abc</b></font> will be reported as unnecessarily inherited in the file <b>messages_fr.properties</b>.
<br>
</font>
</body>
</html>