diff --git a/spellchecker/src/com/intellij/spellchecker/inspections/SpellCheckingInspection.java b/spellchecker/src/com/intellij/spellchecker/inspections/SpellCheckingInspection.java index 9da8207d16cc..190b909d83f1 100644 --- a/spellchecker/src/com/intellij/spellchecker/inspections/SpellCheckingInspection.java +++ b/spellchecker/src/com/intellij/spellchecker/inspections/SpellCheckingInspection.java @@ -165,7 +165,7 @@ public class SpellCheckingInspection extends LocalInspectionTool { } assert textRange.getStartOffset() >= 0; - final String description = SpellCheckerBundle.message("typo.in.word.ref", wordWithTypo); + final String description = SpellCheckerBundle.message("typo.in.word.ref"); return holder.getManager() .createProblemDescriptor(element, textRange, description, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, onTheFly, fixes); } diff --git a/spellchecker/src/com/intellij/spellchecker/util/SpellCheckerBundle.properties b/spellchecker/src/com/intellij/spellchecker/util/SpellCheckerBundle.properties index 543332dccc9d..cc25f1be79f1 100644 --- a/spellchecker/src/com/intellij/spellchecker/util/SpellCheckerBundle.properties +++ b/spellchecker/src/com/intellij/spellchecker/util/SpellCheckerBundle.properties @@ -4,18 +4,14 @@ rename.to.0=Typo: Rename to ''{0}'' rename.to=Typo: Rename to... spelling=Spelling spellchecking.inspection.name=Typo -comments.with.mistakes=Comments with mistakes -typo.in.word.ref=Typo: In word ''{0}'' +typo.in.word.ref=Typo: In word '#ref' add.0.to.dictionary=Typo: Save ''{0}'' to dictionary add.to.dictionary=Save to dictionary class.name.with.mistakes=Class name with mistakes method.name.with.mistakes=Method name with mistakes field.name.with.mistakes=Field name with mistakes -xml.with.mistakes=XML with mistakes property.value.with.mistakes=Property value with mistakes string.value.with.mistakes=Literal expression with mistakes -local.variable.name.with.mistakes=Local variable name with mistakes -doccomment.with.mistakes=Doc comment with mistake user.dictionary=User Dictionary ignored.words=Ignored Words enter.simple.word=Enter word: