[java-inspections] DialogTitleCapitalization.html: add language tag

GitOrigin-RevId: 427bb46c293c0f5b1920ef081b4c130fa28f7cbe
This commit is contained in:
Tagir Valeev
2024-02-21 18:05:32 +01:00
committed by intellij-monorepo-bot
parent 247aefa8f1
commit 151e0e4109

View File

@@ -2,12 +2,12 @@
Reports strings in method parameters and return values annotated with <code>@Nls</code> and having the capitalization parameter
to conform to capitalization rules existing in most platform UI guidelines.
<p><b>Example:</b></p>
<pre><code>
<pre><code lang="java">
void setTitle(@NlsContexts.DialogTitle String title) {}
setTitle("This is sentence capitalization but should be title");
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
<pre><code lang="java">
setTitle("This Is Sentence Capitalization but Should Be Title");
</code></pre>
</body></html>