From e04298519f97d2897ff35d1e86d44914f8c6e1b7 Mon Sep 17 00:00:00 2001 From: Ate329 Date: Sun, 10 Dec 2023 22:34:11 +0200 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E5=A4=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/analysis/analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/analysis/analysis.py b/app/analysis/analysis.py index f57f8f8..89c1ff0 100644 --- a/app/analysis/analysis.py +++ b/app/analysis/analysis.py @@ -62,8 +62,8 @@ class StopwordsWindow(tk.Tk): # Check if each word already exists in the original file before appending duplicates = [word for word in word_list if word in self.original_stopwords] if duplicates: - message = f"Words {', '.join(duplicates)} already exist in the original file." - messagebox.showinfo("Duplicate Words", message) + message = f"以下屏蔽词已存在于原始文件中: {', '.join(duplicates)}" + messagebox.showinfo("重复词汇", message) else: # Update the original stopwords set with new words self.original_stopwords.update(word_list)