From c1301fee18c9613b26bedf18d501e74acdee433b Mon Sep 17 00:00:00 2001 From: dillonj Date: Thu, 26 Feb 2026 12:52:09 -0700 Subject: [PATCH] deleting word from fixed removes it from correct at same time --- gui_proper_noun_player.py | 4 ++++ output_proper_nouns/pronunciation_fixes.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gui_proper_noun_player.py b/gui_proper_noun_player.py index 12d8ff3..8ed34de 100644 --- a/gui_proper_noun_player.py +++ b/gui_proper_noun_player.py @@ -661,6 +661,10 @@ class ProperNounAuditor(tk.Tk): if is_dict: self.fixes.pop(raw, None) save_json(FIXES_FILE, self.fixes) + # Also remove from correct so the word returns to Review, not Correct + if raw in self.correct: + self.correct.remove(raw) + save_json(CORRECT_FILE, self.correct) else: if raw in self.correct: self.correct.remove(raw) diff --git a/output_proper_nouns/pronunciation_fixes.json b/output_proper_nouns/pronunciation_fixes.json index 94e75dd..c0d1248 100644 --- a/output_proper_nouns/pronunciation_fixes.json +++ b/output_proper_nouns/pronunciation_fixes.json @@ -6,7 +6,6 @@ "Lehis": "Leehis", "Lehies": "Leehis", "Liahona": "Leeahona", - "Moroni": "Morero-ni", "Alma": "Al-ma", "Gadiantons": "Gadeeantuns", "Laban": "Layban", @@ -20,5 +19,6 @@ "Nephi-Im": "Kneefi-Im", "Nephitish": "Kneefitish", "Zenephi": "Zekneefi", - "Nephi": "Kneefi" + "Nephi": "Kneefi", + "Moroni": "Mor-oh-nye" } \ No newline at end of file