summaryrefslogtreecommitdiff
path: root/resources-en/src/inspectionDescriptions/InconsistentResourceBundle.html
diff options
context:
space:
mode:
Diffstat (limited to 'resources-en/src/inspectionDescriptions/InconsistentResourceBundle.html')
-rw-r--r--resources-en/src/inspectionDescriptions/InconsistentResourceBundle.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/resources-en/src/inspectionDescriptions/InconsistentResourceBundle.html b/resources-en/src/inspectionDescriptions/InconsistentResourceBundle.html
new file mode 100644
index 000000000000..d8d5003ec066
--- /dev/null
+++ b/resources-en/src/inspectionDescriptions/InconsistentResourceBundle.html
@@ -0,0 +1,47 @@
+<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>