From d5cd6ed2ef0616e15077ae3c65733e2486971b8e Mon Sep 17 00:00:00 2001 From: Ilia Permiashkin Date: Mon, 27 Oct 2025 22:01:36 +0000 Subject: [PATCH] [grazie] IJPL-35187 "Save to dictionary" button has wrong spacing Merge-request: IJ-MR-180271 Merged-by: Ilia Permiashkin GitOrigin-RevId: 8b877ec87482e91fa9594bb2b580d5face4deb77 --- spellchecker/resources/messages/SpellCheckerBundle.properties | 1 + .../src/com/intellij/spellchecker/quickfixes/SaveTo.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spellchecker/resources/messages/SpellCheckerBundle.properties b/spellchecker/resources/messages/SpellCheckerBundle.properties index 9229f9e07f8d..b584f8261336 100644 --- a/spellchecker/resources/messages/SpellCheckerBundle.properties +++ b/spellchecker/resources/messages/SpellCheckerBundle.properties @@ -8,6 +8,7 @@ spellchecking.inspection.name=Spelling typo.in.word.ref=Typo: In word '#ref' add.0.to.dictionary=Typo: Save ''{0}'' to dictionary add.to.dictionary=Save to dictionary +save.to.dictionary.fix=Save to dictionary save.0.to.dictionary.fix=Save {0} to dictionary save.0.to.dictionary.action=Save {0} to Dictionary 0.in.quotes=''{0}'' diff --git a/spellchecker/src/com/intellij/spellchecker/quickfixes/SaveTo.java b/spellchecker/src/com/intellij/spellchecker/quickfixes/SaveTo.java index 84a30b92393a..79fc61008495 100644 --- a/spellchecker/src/com/intellij/spellchecker/quickfixes/SaveTo.java +++ b/spellchecker/src/com/intellij/spellchecker/quickfixes/SaveTo.java @@ -67,7 +67,7 @@ public final class SaveTo implements SpellCheckerQuickFix, LowPriorityAction, Du @Override public @NotNull String getFamilyName() { - return SpellCheckerBundle.message("save.0.to.dictionary.fix", ""); + return SpellCheckerBundle.message("save.to.dictionary.fix"); } @Override @@ -165,6 +165,6 @@ public final class SaveTo implements SpellCheckerQuickFix, LowPriorityAction, Du } public static String getFixName() { - return SpellCheckerBundle.message("save.0.to.dictionary.fix", ""); + return SpellCheckerBundle.message("save.to.dictionary.fix"); } }