From d108bfb92dc217cb82650f59e38374aac71638eb Mon Sep 17 00:00:00 2001 From: gsc Date: Tue, 5 Mar 2024 09:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=AF=AD=E8=A8=80=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E5=90=8E=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 787b01f..777b616 100644 --- a/main.py +++ b/main.py @@ -145,13 +145,16 @@ def change_language(_, language_combo: ttk.Combobox): global language language = LanguageType.find_value(language_combo.get()) if language == LanguageType.SIMPLIFIED_CHINESE: - log('语言已更改为简体中文\n请重启程序以应用更改\n') - messagebox.showinfo('提示', '语言已更改为简体中文\n请重启程序以应用更改') + log('语言设置已更改为"简体中文"\n请在当前操作完成后手动重启此程序以应用更改') + messagebox.showinfo( + '提示', + '语言设置已更改为"简体中文"\n请在当前操作完成后手动重启此程序以应用更改' + ) else: - log('Language has been changed to English\nPlease restart the program to apply the changes') + log('Language setting has been changed to "English"\nPlease manually restart this program after the current operation is completed to apply the changes') messagebox.showinfo( 'Prompt', - 'Language has been changed to English\nPlease restart the program to apply the changes' + 'Language setting has been changed to "English"\nPlease manually restart this program after the current operation is completed to apply the changes' )