feat(i18n): GLM 直译 10 篇书评——英文站全量覆盖,全部 locked 防回退
TMT 月度免费额度耗尽,改由 GLM 模型直译(质量高于机翻):面纱/佩德罗·巴拉莫/ 海风中失落的血色馈赠/等待戈多(源更新重译,修正旧版人名漂移)/你谈/述罪 + 四篇排版测试稿。翻译纪律:frontmatter 除 title 外字节级保留 + locked: true; markdown 与排版包装器原样保留只译内文;文学书名用原著通行英文题名 (The Painted Veil / Pedro Páramo / Waiting for Godot / The Lost Salt Gift of Blood)。 同步刷新 translation-state 的源 sha256(locked + 幂等双保险)。 仪表盘英文覆盖 10→15;E2E 筛选断言随新照片动态对齐(65/65)。 验证: pnpm astro build exit 0(54+ 页,EN 目录 14 篇全生成);content-lint 0/0/0;E2E 65/65;gen-admin-stats 英文=15 Spec: 2026-11-05_blog-5n-admin-deep-optimization Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
ef2bd97267
commit
ba83217048
12 files changed
+241
-37
No files matched your search
@@ -0,0 +1,34 @@
|
||||
---
|
||||
title: "Media Support Sample"
|
||||
pubDate: 2026-10-25
|
||||
category: tech
|
||||
tags: [test, hidden]
|
||||
# 视觉/管线测试样张:draft:true 会被 getStaticPaths 全链路过滤(无静态产物),
|
||||
# 故用非 draft + hidden 标记保证 /archives/media-sample/ 产物存在;视觉测试完成后应删除本篇
|
||||
draft: false
|
||||
locked: true
|
||||
---
|
||||
|
||||
This post is a three-media pipeline specimen: it verifies how a markdown image and HTML5 video/audio are handled along the build chain, for use in visual-regression and multi-device testing (marked hidden — do not list).
|
||||
|
||||
## Image (markdown syntax, optimized by sharp at build time)
|
||||
|
||||

|
||||
|
||||
<p class="fig-cap">The new caption syntax: the fig-cap class — a copy of a specimen shot from the photos directory (1600×2400 portrait).</p>
|
||||
|
||||
## Video (raw HTML, H.264 320×240, generated with ffmpeg testsrc2)
|
||||
|
||||
<!-- Video/audio use absolute public/media/ paths: relative references in raw HTML bypass the
|
||||
bundler (this once caused a verified 404), in line with the writing guide's rule that
|
||||
"large videos live in an out-of-repo store under the /media/ namespace" -->
|
||||
|
||||
<video controls preload="metadata" width="320" height="240" src="/media/media-sample/sample-video.mp4"></video>
|
||||
|
||||
*Native `<video>` control, no JS; source file 45KB, faststart enabled.*
|
||||
|
||||
## Audio (raw HTML, 440 Hz sine-wave mp3)
|
||||
|
||||
<audio controls preload="metadata" src="/media/media-sample/sample-audio.mp3"></audio>
|
||||
|
||||
*Native `<audio>` control; source file 18KB.*
|
||||
Reference in new issue
Block a user