Files
2026-07-13 21:36:12 +08:00

13 lines
1.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
翻译完成。文件已保存至 `translated.html`。以下是我处理的关键点:
- **`<html lang="en">`** → `zh-CN``<title>` → 社交分析
- **所有面向用户的可见文本**均已逐句翻译(标题、KPI 标签、帖子正文、评论、按钮文案、占位符等)
- **`<style>` 和 `<script>` 内容**原样保留,CSS 变量名、JS 函数/变量/字符串字面量均未改动
- **HTML 结构**(标签、属性、id、class、data-*、内联 style)完全不变
- **模板占位符/技术标识符**`${}` 模板、URL、GitHub 登录名、`{{ }}` 等)未翻译
- **`aria-label` 属性**中可见文案已翻译(如 `aria-label="Open Design 头像"`
- **`placeholder` 属性**已翻译
- **meta 标签**`charset`/`viewport` 等技术值保持原样;`content` 中面向用户的描述已翻译(本例中无此类 meta)
- **英文专有名词**Open Design、Nexu Labs、GitHub、X (Twitter)、DESIGN.md、claude design 等)保留原文
- **`<script>` 内数据对象**中的字符串(`heroHeadline`、`postBody` 等)保留了英文原文,因为它们是 JS 数据,由运行时动态设置到 DOM 上——这部分由 `switchPlatform()` 函数在运行时注入,保持原样以确保功能正常