mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Simplify spellchecker settings: quick-fix name
GitOrigin-RevId: 72cab382a13f1ad205c0e82fa80f80847e2d11fd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ad030d4304
commit
96f25f6a4b
@@ -8,7 +8,7 @@ spellchecking.inspection.name=Typo
|
||||
typo.in.word.ref=Typo: In word '#ref'
|
||||
add.0.to.dictionary=Typo: Save ''{0}'' to dictionary
|
||||
add.to.dictionary=Save to dictionary
|
||||
save.0.to.1=Save {0} to {1}
|
||||
save.0.to.1=Save {0} to dictionary
|
||||
0.in.qoutes=''{0}''
|
||||
class.name.with.mistakes=Class name with mistakes
|
||||
method.name.with.mistakes=Method name with mistakes
|
||||
|
||||
@@ -47,9 +47,7 @@ public class SaveTo implements SpellCheckerQuickFix, LowPriorityAction {
|
||||
@Override
|
||||
@NotNull
|
||||
public String getName() {
|
||||
final String dictionary = myLevel != DictionaryLevel.NOT_SPECIFIED ? myLevel.getName() + DICTIONARY : DOTS;
|
||||
final String word = myWord != null ? SpellCheckerBundle.message("0.in.qoutes", myWord) : "";
|
||||
return SpellCheckerBundle.message("save.0.to.1", word, dictionary);
|
||||
return SpellCheckerBundle.message("save.0.to.1", myWord != null ? SpellCheckerBundle.message("0.in.qoutes", myWord) : "");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user