Normalize fullwidth punctuation to ASCII across codebase.

Add scripts/normalize_ambiguous_unicode.py; fix corrupted patch_instance_theme_templates.py. Preserves curly quotes in string literals; removes Git homoglyph warnings on .env.example.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 23:42:26 +08:00
parent aaa72c7961
commit b733e551a0
392 changed files with 71522 additions and 71369 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
/**
* 表单提交防重复网络慢时禁用按钮并显示「提交中」
* 表单提交防重复:网络慢时禁用按钮并显示「提交中」.
*/
(function (global) {
"use strict";
@@ -49,7 +49,7 @@
return !!(form && form.dataset.submitGuard === "locked");
}
/** 已锁定时仅更新按钮文案校验通过 → 真正提交前 */
/** 已锁定时仅更新按钮文案(校验通过 → 真正提交前) */
function setSubmitLabel(form, label) {
if (!form || !label) return;
submitButtons(form).forEach(function (btn) {
@@ -58,7 +58,7 @@
});
}
/** 已通过前端校验发起最终 POST页面将跳转 */
/** 已通过前端校验,发起最终 POST(页面将跳转) */
function nativeSubmitOnce(form, label) {
if (!form) return;
var text = label || "提交中…";