feature: add filename validation & check the compatiblity of the filament from device (#132)

* Fix: didn't check the compatiblity of the filament which is gotten from machine

* Optimize the filename validation
This commit is contained in:
xiaoyeliu
2026-01-22 18:30:38 +08:00
committed by GitHub
parent ebae587e55
commit 5989d15428
5 changed files with 250 additions and 12 deletions

View File

@@ -16275,7 +16275,10 @@ msgstr ""
msgid "Point and point assembly"
msgstr ""
msgid "Please do not include the special characters #, *, and ;in filenames."
msgid "Please do not include the special characters #, *, ;, \\, /, :, \", <, >, or | in filenames."
msgstr ""
msgid "The filename '%s' contains special characters (#, *, ;, \\, /, :, \", <, >, or |) which may cause issues.Do you wish to continue?"
msgstr ""
msgid "Connection has been disconnected and recovery attempt failed. Please reconnect."

View File

@@ -15309,8 +15309,11 @@ msgstr "面和面组装"
msgid "Point and point assembly"
msgstr "点和点组装"
msgid "Please do not include the special characters #, *, and ;in filenames."
msgstr "在文件名中勿使用特殊字符“#”、“*”和“;”。"
msgid "Please do not include the special characters #, *, ;, \\, /, :, \", <, >, or | in filenames."
msgstr "在文件名中勿使用特殊字符"#"*"""""\\""/" ":"\""<"">"或"|"。"
msgid "The filename '%s' contains special characters (#, *, ;, \\, /, :, \", <, >, or |) which may cause issues.Do you wish to continue?"
msgstr "文件名"%s"包含特殊字符(# * ; \\ / : \" < > |)可能会导致问题。是否继续?"
msgid "Connection has been disconnected and recovery attempt failed. Please reconnect."
msgstr "已断开连接,尝试恢复连接失败。请重新连接。"