diff --git "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/[\345\256\236\351\252\214\346\200\247]remove_html_comments_noenter.py" "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/[\345\256\236\351\252\214\346\200\247]remove_html_comments_noenter.py" index a28be12..f65daff 100644 --- "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/[\345\256\236\351\252\214\346\200\247]remove_html_comments_noenter.py" +++ "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/[\345\256\236\351\252\214\346\200\247]remove_html_comments_noenter.py" @@ -55,7 +55,7 @@ def main(): root = tk.Tk() root.withdraw() # 不显示主窗口 - file_path = filedialog.askopenfilename(filetypes=[("HTML files", "*.html *.htm")]) + file_path = filedialog.askopenfilename(filetypes=[("HTML文件", "*.html *.htm")]) if not file_path: print("没有选择文件。") return diff --git "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_c_style_comments.py" "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_c_style_comments.py" index 9c947b8..1aa022e 100644 --- "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_c_style_comments.py" +++ "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_c_style_comments.py" @@ -38,12 +38,12 @@ def main(): # 弹出文件选择对话框让 file_path = filedialog.askopenfilename(filetypes=[ - ("C/C++/Objective-C files", "*.c *.cpp *.h *.cxx *.cc *.hpp *.m"), - ("Java files", "*.java"), - ("C# files", "*.cs"), - ("JavaScript files", "*.js"), - ("Kotlin files", "*.kt"), - ("All files", "*.*") + ("C/C++/Objective-C文件", "*.c *.cpp *.h *.cxx *.cc *.hpp *.m"), + ("Java文件", "*.java"), + ("C#文件", "*.cs"), + ("JavaScript文件", "*.js"), + ("Kotlin文件", "*.kt"), + ("所有文件", "*.*") ]) if not file_path: print("没有选择文件。") diff --git "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_html_comments.py" "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_html_comments.py" index 3f46da2..89108a6 100644 --- "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_html_comments.py" +++ "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_html_comments.py" @@ -47,7 +47,7 @@ def main(): root = tk.Tk() root.withdraw() # 不显示主窗口 - file_path = filedialog.askopenfilename(filetypes=[("HTML files", "*.html *.htm")]) + file_path = filedialog.askopenfilename(filetypes=[("HTML文件", "*.html *.htm")]) if not file_path: print("没有选择文件。") return diff --git "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_python_comments.py" "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_python_comments.py" index b83bc5a..bfabbca 100644 --- "a/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_python_comments.py" +++ "b/Tools/\345\216\273\351\231\244\344\273\243\347\240\201\346\263\250\351\207\212/remove_python_comments.py" @@ -38,7 +38,7 @@ def main(): root = tk.Tk() root.withdraw() # 不显示主窗口 - file_path = filedialog.askopenfilename(filetypes=[("Python files", "*.py *.pyw")]) + file_path = filedialog.askopenfilename(filetypes=[("Python文件", "*.py *.pyw")]) if not file_path: print("没有选择文件。") return