mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
[java-inspections] DialogTitleCapitalization.html: add language tag
GitOrigin-RevId: 427bb46c293c0f5b1920ef081b4c130fa28f7cbe
This commit is contained in:
committed by
intellij-monorepo-bot
parent
247aefa8f1
commit
151e0e4109
@@ -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>
|
||||
Reference in New Issue
Block a user