refactor: drop dead code left over from Cloudflare era

- Remove vietnamese-number.js + test: build-time Python script
  (generate-audio.py) is the sole spec for pre-baked MP3s; runtime
  no longer reads the JS module.
- Remove resetMaster() export: only ever called from tests; inline
  the two-line body at test sites.
- Update Python docstring to drop the JS-mirror reference.
- Rewrite stale "CF Pages root" comment in svelte.config.js.
This commit is contained in:
tiennm99 committed 2026-05-10 00:36:39 +07:00
1 parent 8fc3ec6ebd
commit 777b2dbaec
6 files changed
+6 -130

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ ONES = [
def number_to_vietnamese(n: int) -> str:
"""Mirror of src/lib/vietnamese-number.js for build-time use."""
"""Canonical Vietnamese number speller for build-time audio generation."""
if n < 10:
return ONES[n]
if n == 10: