eclipse: project name should be found in .project (IDEA-52070 )
[fedora-idea.git] / resources-en / src / inspectionDescriptions / InconsistentResourceBundle.html
blob64bd39a4d8fa461a0d9d39de0801f07a6c91f626
1 <html>
2 <body>
3 <font face="verdana" size="-1">This inspection reports problems in the properties files contained in the resource bundle.
4 <ul>
5 <li><b>Report missing translation</b>
6 </li>
7 </ul>
8 option controls search for an untranslated properties.<br>
9 It reports properties contained in parent properties file that are missing in inherited (unless it's a language dialect).<br>
10 E.g. having this resource bundle:<br>
12 <b>messages.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
13 <b>messages_fr.properties</b>: empty<br>
15 Property <font color="#000080"><b>abc</b></font> will be reported as untranslated.
16 <ul>
17 <li>
19 <b>Report inconsistent properties</b>
20 </li>
21 </ul>
22 option controls invalid resource bundle structure inspection.<br>
23 It reports properties contained in inherited properties file that are missing in parent (or in sibling if there is no parent).<br>
24 E.g. having this resource bundle:<br>
25 <b>messages_fr.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
26 <b>messages.properties</b>: empty<br>
28 Property <font color="#000080"><b>abc</b></font> translation here is not available for any language except French,
29 and, thus, will be reported as missing in the (default) properties file <b>messages.properties</b>.
31 <ul>
32 <li>
34 <b>Report properties overridden with the same value</b>
35 </li>
36 </ul>
37 option checks for properties which are copy-pasted into several properties files verbatim.<br>
38 E.g. in this resource bundle:<br>
39 <b>messages_fr.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
40 <b>messages.properties</b>: <font color="#000080"><b>abc=xxx</b></font><br>
42 Property <font color="#000080"><b>abc</b></font> will be reported as unnecessarily inherited in the file <b>messages_fr.properties</b>.
43 <br>
44 </font>
45 <p><font face="verdana" size="-2">New in 7</font></p>
46 </body>
47 </html>