deleting word from fixed removes it from correct at same time

This commit is contained in:
2026-02-26 12:52:09 -07:00
parent 6781efe3f3
commit c1301fee18
2 changed files with 6 additions and 2 deletions

View File

@ -661,6 +661,10 @@ class ProperNounAuditor(tk.Tk):
if is_dict: if is_dict:
self.fixes.pop(raw, None) self.fixes.pop(raw, None)
save_json(FIXES_FILE, self.fixes) 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: else:
if raw in self.correct: if raw in self.correct:
self.correct.remove(raw) self.correct.remove(raw)

View File

@ -6,7 +6,6 @@
"Lehis": "Leehis", "Lehis": "Leehis",
"Lehies": "Leehis", "Lehies": "Leehis",
"Liahona": "Leeahona", "Liahona": "Leeahona",
"Moroni": "Morero-ni",
"Alma": "Al-ma", "Alma": "Al-ma",
"Gadiantons": "Gadeeantuns", "Gadiantons": "Gadeeantuns",
"Laban": "Layban", "Laban": "Layban",
@ -20,5 +19,6 @@
"Nephi-Im": "Kneefi-Im", "Nephi-Im": "Kneefi-Im",
"Nephitish": "Kneefitish", "Nephitish": "Kneefitish",
"Zenephi": "Zekneefi", "Zenephi": "Zekneefi",
"Nephi": "Kneefi" "Nephi": "Kneefi",
"Moroni": "Mor-oh-nye"
} }