mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix i18n spelling
IDEA-39555 GitOrigin-RevId: f643f5282f9071f7f53b9a811db4d4dac4aece30
This commit is contained in:
committed by
intellij-monorepo-bot
parent
028a78cae3
commit
df6f5b23ad
@@ -145,7 +145,7 @@ i18n.quickfix.property.panel.property.key.label=Property &key:
|
||||
i18n.quickfix.code.panel.title=Java Code Info
|
||||
i18n.quickfix.code.panel.resource.bundle.expression.label=Resource bundle &expression:
|
||||
i18n.quickfix.preview.panel.title=Preview
|
||||
quickfix.i18n.concatentation=I18nize string concatenation containing hard coded string literal
|
||||
quickfix.i18n.concatentation=I18nize string concatenation containing hardcoded string literal
|
||||
quickfix.i18n.concatentation.error=String concatenation not found
|
||||
quickfix.i18n.command.name=I18nize
|
||||
inspection.i18n.display.name=Hard coded strings
|
||||
@@ -156,8 +156,8 @@ inspection.i18n.option.ignore.for.junit.assert.arguments=Ignore for JUnit assert
|
||||
inspection.i18n.option.ignore.qualified.class.names=Ignore literals which have value equal to existing qualified class name
|
||||
inspection.i18n.option.ignore.property.keys=Ignore literals which have value equal to existing property key
|
||||
inspection.i18n.option.ignore.nonalphanumerics=Ignore literals which do not contain alphabetic characters
|
||||
inspection.i18n.quickfix=I18nize hard coded string literal
|
||||
inspection.i18n.message.general.with.value=Hard coded string literal: {0}
|
||||
inspection.i18n.quickfix=I18nize hardcoded string literal
|
||||
inspection.i18n.message.general.with.value=Hardcoded string literal: {0}
|
||||
inspection.unresolved.property.key.reference.name=Invalid property key
|
||||
inspection.unresolved.property.key.reference.message=String literal ''{0}'' doesn''t appear to be valid property key
|
||||
inspection.invalid.resource.bundle.reference=Invalid resource bundle reference ''{0}''
|
||||
|
||||
@@ -5,7 +5,7 @@ class Test {
|
||||
}
|
||||
|
||||
public void foo(String s) {
|
||||
bar(new InnerTest(<warning descr="Hard coded string literal: \"Literal\"">"Literal"</warning>) { public void run() { } });
|
||||
bar(new InnerTest(<warning descr="Hardcoded string literal: \"Literal\"">"Literal"</warning>) { public void run() { } });
|
||||
}
|
||||
|
||||
public void bar(InnerTest t) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
enum Test {
|
||||
CHECKIN(<warning descr="Hard coded string literal: \"Text1\"">"Text1"</warning>),
|
||||
ADD(<warning descr="Hard coded string literal: \"Rext2\"">"Rext2"</warning>);
|
||||
CHECKIN(<warning descr="Hardcoded string literal: \"Text1\"">"Text1"</warning>),
|
||||
ADD(<warning descr="Hardcoded string literal: \"Rext2\"">"Rext2"</warning>);
|
||||
|
||||
Test(final String id) {
|
||||
myId = id;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class Foo {
|
||||
void foo(String s) {
|
||||
foo(<warning descr="Hard coded string literal: \"text\"">"text"</warning>);
|
||||
foo(<warning descr="Hardcoded string literal: \"text\"">"text"</warning>);
|
||||
}
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
String value();
|
||||
}
|
||||
|
||||
@Anno(<warning descr="Hard coded string literal: \"abcd\"">"abcd"</warning>)
|
||||
@Anno(<warning descr="Hardcoded string literal: \"abcd\"">"abcd"</warning>)
|
||||
class Test {
|
||||
@Anno(<warning descr="Hard coded string literal: \"abcd\"">"abcd"</warning>)
|
||||
@Anno(<warning descr="Hardcoded string literal: \"abcd\"">"abcd"</warning>)
|
||||
int field;
|
||||
|
||||
@Anno(<warning descr="Hard coded string literal: \"abcd\"">"abcd"</warning>)
|
||||
void m(@Anno(<warning descr="Hard coded string literal: \"abcd\"">"abcd"</warning>) int i) {}
|
||||
@Anno(<warning descr="Hardcoded string literal: \"abcd\"">"abcd"</warning>)
|
||||
void m(@Anno(<warning descr="Hardcoded string literal: \"abcd\"">"abcd"</warning>) int i) {}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ class Test {
|
||||
public static void main(String[] args){
|
||||
ActionListener listener = new ActionListener(){
|
||||
{
|
||||
final String test = <warning descr="Hard coded string literal: \"problem reported twice\"">"problem reported twice"</warning>;
|
||||
final String test = <warning descr="Hardcoded string literal: \"problem reported twice\"">"problem reported twice"</warning>;
|
||||
}
|
||||
public void actionPerformed(final ActionEvent e) {
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
class Foo {
|
||||
void foo() {
|
||||
String v1 = <warning descr="Hard coded string literal: \"text\"">"text"</warning>;
|
||||
String v1 = <warning descr="Hardcoded string literal: \"text\"">"text"</warning>;
|
||||
@org.jetbrains.annotations.NonNls String v2 = "text";
|
||||
String v3;
|
||||
@org.jetbrains.annotations.NonNls String v4;
|
||||
|
||||
v3 = <warning descr="Hard coded string literal: \"text\"">"text"</warning>;
|
||||
v3 = <warning descr="Hardcoded string literal: \"text\"">"text"</warning>;
|
||||
v4 = "text";
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
class Foo {
|
||||
void foo(String... s) {
|
||||
foo("literal", "literal"); // MYNON-NLS0
|
||||
String d = <warning descr="Hard coded string literal: \"xxxxx\"">"xxxxx"</warning>; // NON-NLS
|
||||
String d = <warning descr="Hardcoded string literal: \"xxxxx\"">"xxxxx"</warning>; // NON-NLS
|
||||
String d0 = "xxxxx", d01="sssss"; //MYNON-NLS
|
||||
String d1 = "xxxxx"; // MYNON-NLS?
|
||||
|
||||
String d2 = "xxxxx"; /* MYNON-NLS ??? */
|
||||
String wtf=<warning descr="Hard coded string literal: \"MYNON-NLS\"">"MYNON-NLS"</warning>;
|
||||
String wtf=<warning descr="Hardcoded string literal: \"MYNON-NLS\"">"MYNON-NLS"</warning>;
|
||||
String dw2 = "xxxxx"; String wtw="MYNON-NLS"; /* MYNON-NLS ??? */
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
class Foo {
|
||||
void test(@org.jetbrains.annotations.NonNls String s, String s1) {
|
||||
if (s.equals("bar")) {}
|
||||
if (s1.equals(<warning descr="Hard coded string literal: \"bar\"">"bar"</warning>)) {}
|
||||
if (s1.equals(<warning descr="Hardcoded string literal: \"bar\"">"bar"</warning>)) {}
|
||||
if ("bar".equals(s)) {}
|
||||
if (<warning descr="Hard coded string literal: \"bar\"">"bar"</warning>.equals(s1)) {}
|
||||
if (<warning descr="Hardcoded string literal: \"bar\"">"bar"</warning>.equals(s1)) {}
|
||||
if (("bar").equals((s))) {}
|
||||
if ((s).equals(("bar"))) {}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<error descr="Cyclic inheritance involving 'A'">class A extends C</error>{
|
||||
String foo(String p){ return <warning descr="Hard coded string literal: \"text\"">"text"</warning>;}
|
||||
String foo(String p){ return <warning descr="Hardcoded string literal: \"text\"">"text"</warning>;}
|
||||
}
|
||||
|
||||
<error descr="Cyclic inheritance involving 'A'">class B extends A</error>{
|
||||
String foo(String p){ return <warning descr="Hard coded string literal: \"text\"">"text"</warning>;}
|
||||
String foo(String p){ return <warning descr="Hardcoded string literal: \"text\"">"text"</warning>;}
|
||||
}
|
||||
|
||||
<error descr="Cyclic inheritance involving 'C'">class C extends A</error>{
|
||||
String foo(String p){
|
||||
foo<error descr="Ambiguous method call: both 'C.foo(String)' and 'A.foo(String)' match">(<warning descr="Hard coded string literal: \"text\"">"text"</warning>)</error>;
|
||||
return <warning descr="Hard coded string literal: \"text\"">"text"</warning>;
|
||||
foo<error descr="Ambiguous method call: both 'C.foo(String)' and 'A.foo(String)' match">(<warning descr="Hardcoded string literal: \"text\"">"text"</warning>)</error>;
|
||||
return <warning descr="Hardcoded string literal: \"text\"">"text"</warning>;
|
||||
}
|
||||
}
|
||||
@@ -49,7 +49,7 @@
|
||||
<localInspection language="TEXT" displayName="Typo in a UI form"
|
||||
groupKey="form.inspections.group" alternativeId="SpellCheckingInspection" enabledByDefault="true" level="WARNING"
|
||||
implementationClass="com.intellij.uiDesigner.inspections.FormSpellCheckingInspection"/>
|
||||
<localInspection language="TEXT" displayName="Hard coded string literal in a UI form"
|
||||
<localInspection language="TEXT" displayName="Hardcoded string literal in a UI form"
|
||||
groupKey="form.inspections.group" alternativeId="HardCodedStringLiteral" enabledByDefault="true" level="WARNING"
|
||||
implementationClass="com.intellij.uiDesigner.i18n.I18nFormInspection"/>
|
||||
<localInspection language="TEXT" shortName="DuplicateMnemonic" bundle="messages.UIDesignerBundle" key="inspection.duplicate.mnemonics"
|
||||
|
||||
@@ -475,7 +475,7 @@ inspection.invalid.property.in.form.quickfix.error.bundle.not.specified=Bundle n
|
||||
inspection.invalid.property.in.form.quickfix.error.property.key.not.specified=Property key not specified
|
||||
inspection.invalid.property.in.form.quickfix.error.bundle.not.found=Bundle ''{0}'' not found
|
||||
inspection.invalid.property.in.form.quickfix.error.key.not.found=Key ''{0}'' not found in bundle ''{1}'' for locale ''{2}''
|
||||
inspection.i18n.message.in.form=Hard coded string literal in form: ''{0}''
|
||||
inspection.i18n.message.in.form=Hardcoded string literal in form: ''{0}''
|
||||
command.paste=Paste
|
||||
add.component.error.qualified.name.required=Please enter a qualified class name
|
||||
add.component.error.component.required=Please select a class derived from JComponent
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<problem>
|
||||
<file>Test.form</file>
|
||||
<line>1</line>
|
||||
<description>Hard coded string literal</description>
|
||||
<description>Hardcoded string literal</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user