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
+4 -4
View File
@@ -1,10 +1,10 @@
{# env配置CSS Tab无需 JS+ 双列表单 #}
{# env配置:CSS Tab(无需 JS)+ 双列表单 #}
<div class="env-config-page">
<div class="env-config-head card">
<div class="env-config-head-row">
<div>
<h2>env 配置</h2>
<p class="settings-env-hint env-config-head-hint">按分类修改改完点保存含「需重启」的项请用「保存并重启」<strong>AI 配置</strong>请在中控 → 系统设置 → AI 配置统一维护</p>
<p class="settings-env-hint env-config-head-hint">按分类修改,改完点保存.含「需重启」的项请用「保存并重启」.<strong>AI 配置</strong>请在中控 → 系统设置 → AI 配置统一维护.</p>
</div>
<div class="env-config-toolbar">
<button type="button" class="btn-primary btn-sm" id="env-config-save">保存</button>
@@ -29,7 +29,7 @@
{% for group in env_config_groups %}
<section class="env-panel env-panel--{{ loop.index0 }}" role="tabpanel">
{% if group.has_restart %}
<p class="env-panel-hint">本组含需重启项修改后请点「保存并重启」</p>
<p class="env-panel-hint">本组含需重启项,修改后请点「保存并重启」.</p>
{% endif %}
<div class="env-form-grid">
{% for field in group.fields %}
@@ -56,7 +56,7 @@
id="env-f-{{ field.key }}"
type="password"
data-env-key="{{ field.key }}"
placeholder="{% if field.has_value %}修改时填写新值留空不修改{% else %}请输入{% endif %}"
placeholder="{% if field.has_value %}修改时填写新值,留空不修改{% else %}请输入{% endif %}"
autocomplete="off"
>
{% else %}