diff --git a/screenshots/ttvduw_gui.png b/screenshots/ttvduw_gui.png index b7c9bb2..8e7df68 100644 Binary files a/screenshots/ttvduw_gui.png and b/screenshots/ttvduw_gui.png differ diff --git a/screenshots/ttvduw_gui_2.png b/screenshots/ttvduw_gui_2.png new file mode 100644 index 0000000..47192c6 Binary files /dev/null and b/screenshots/ttvduw_gui_2.png differ diff --git a/ttvduw_gui.py b/ttvduw_gui.py index 0467b73..819b4d8 100644 --- a/ttvduw_gui.py +++ b/ttvduw_gui.py @@ -202,12 +202,12 @@ def custom_outname_window(self): window.title('自定义输出文件名') window.grab_set() # so that this window is modal - # 最多在图形界面上展示too_many_keys_thersh个复选框 + # 最多在图形界面上展示too_many_keys_thresh个复选框 has_too_many_keys = False - too_many_keys_thersh = 20 + too_many_keys_thresh = 20 label_1 = ttk.Label( window, - text=f"你可以选择如下字段名来设置输出文件名。这里最多显示{too_many_keys_thersh}个字段" + text=f"你可以选择如下字段名来设置输出文件名。这里最多显示{too_many_keys_thresh}个字段" ) label_1.pack() label_2 = ttk.Label( @@ -230,7 +230,7 @@ def custom_outname_window(self): command=self._set_custom_keys ) checkbox.grid(column=0, row=i, sticky=tk.W) - if i > too_many_keys_thersh: + if i > too_many_keys_thresh: has_too_many_keys = True break if has_too_many_keys: