-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[zh-cn]: update the translation of HTML <track>
element
#24499
Conversation
Preview URLs Flaws (12)URL:
External URLs (2)URL:
(comment last updated: 2024-11-21 09:02:12) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
麻烦检查一下预览页面(有格式错误),有些词汇的翻译还得再注意一下(比如,我们不翻译“Web”一词)。请全文检查一遍,我再继续审查
不是,你没懂我的意思。定义列表的渲染有错误,你得检查一下格式。我希望这种错误能自己排查出来。 注:关于定义列表的格式,请参阅如何使用 Markdown 来撰写文档 |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
这个我改完之后还是会有这个问题,有什么页面可以参考一下的吗 |
- `chapters` | ||
|
||
- 视频内容的文本描述。 | ||
- 适用于失明用户或者当视频不可见的场景。 | ||
- 章节标题用于用户浏览媒体资源时使用。 | ||
|
||
- `chapters` | ||
- `metadata` | ||
|
||
- 章节标题用于用户浏览媒体资源的时候。 | ||
- 由脚本元素使用的轨道。对用户不可见。 | ||
|
||
- `metadata` | ||
- `label` | ||
|
||
- 脚本使用的 track。对用户不可见。 | ||
- : 用户可读的文本 track 标题,浏览器在列出可用文本 track 时使用。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看 diff 对比一下,这里的缩进被你破坏了。
**`<track>`** [HTML](/zh-CN/docs/Web/HTML) 元素作为媒体元素 {{HTMLElement("audio")}} 和 {{HTMLElement("video")}} 的子元素使用。每个文本 track 元素允许你指定一个定时文本 track(或基于时间的数据),可以与媒体元素并行显示,例如在视频上叠加字幕或隐藏式字幕,或与音频 track 一起显示。 | ||
|
||
一个`media` 元素的任意两个 `track` 子元素不能有相同的 `kind`, `srclang`, 和 `label`属性。 | ||
可以为一个 media 元素指定多个 track,包含不同种类的定时文本数据,或为不同区域翻译的定时文本数据。使用的数据将是已设置为默认的 track,或者基于用户偏好的类型和语言翻译。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里为啥不翻译“track”和“media”,可以说一下是考虑到哪一点了吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我的我的,我之前改错了。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
根据 #23060 修正了“cue”一词的翻译。感谢 @T34-active
Description
Related issues and pull requests