From 84fcfa30d89c5d37754db90ecd29a137d46d8fa5 Mon Sep 17 00:00:00 2001 From: Luna Grace <842551475@qq.com> Date: Tue, 25 Jun 2024 18:59:25 +0800 Subject: [PATCH] =?UTF-8?q?clsstyle:=20=E6=9B=B4=E6=AD=A3=E9=80=89?= =?UTF-8?q?=E5=8F=96=E6=96=87=E4=BB=B6=E6=97=B6=E7=9A=84=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\214\346\200\247]remove_html_comments_noenter.py" | 2 +- .../remove_c_style_comments.py" | 12 ++++++------ .../remove_html_comments.py" | 2 +- .../remove_python_comments.py" | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) 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