Skip to content
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]: create docs for HTMLTrackElement #23060

Merged
merged 6 commits into from
Aug 23, 2024
Merged

Conversation

fuchunhui
Copy link
Contributor

Description

Motivation

Additional details

Related issues and pull requests

@fuchunhui fuchunhui requested a review from a team as a code owner August 13, 2024 11:44
@fuchunhui fuchunhui requested review from irvin and removed request for a team August 13, 2024 11:44
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Aug 13, 2024
Copy link
Contributor

github-actions bot commented Aug 13, 2024

Preview URLs

Flaws (13)

Note! 1 document with no flaws that don't need to be listed. 🎉

URL: /zh-CN/docs/Web/API/HTMLTrackElement
Title: HTMLTrackElement
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/HTMLTrackElement/kind does not exist
    • /zh-CN/docs/Web/API/HTMLTrackElement/srclang does not exist
    • /zh-CN/docs/Web/API/HTMLTrackElement/label does not exist
    • /zh-CN/docs/Web/API/HTMLTrackElement/default does not exist
    • /zh-CN/docs/Web/API/HTMLTrackElement/readyState does not exist
    • and 4 more flaws omitted

URL: /zh-CN/docs/Web/API/HTMLTrackElement/cuechange_event
Title: HTMLTrackElement:cuechange 事件
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/TextTrack does not exist but fell back to /en-US/docs/Web/API/TextTrack
    • /zh-CN/docs/Web/API/HTMLTrackElement/track does not exist
    • /zh-CN/docs/Web/API/TextTrack does not exist but fell back to /en-US/docs/Web/API/TextTrack
    • /zh-CN/docs/Web/API/TextTrack does not exist but fell back to /en-US/docs/Web/API/TextTrack

(comment last updated: 2024-08-23 01:38:49)

Copy link
Member

@yin1999 yin1999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cue 的翻译来自哪里(目前仅审查了第一个文档,感觉翻译还有待改进,请校对一下后两个文档)

@yin1999
Copy link
Member

yin1999 commented Aug 20, 2024

cue 的翻译有引用来源吗

@fuchunhui
Copy link
Contributor Author

cue 的翻译有引用来源吗

我按照理解,直接翻译处理的,没有引用来源,也不知道该参考哪里。

@yin1999
Copy link
Member

yin1999 commented Aug 21, 2024

cue 的翻译有引用来源吗

我按照理解,直接翻译处理的,没有引用来源,也不知道该参考哪里。

下次遇到这种词请先去检索相应的文档资料。我们不能稀里糊涂地就把错误的翻译引入到文档中。就像以前中英文夹杂的翻译或者是样式完全不对的内容。

我检索的 CUE 相关的文档如下:

维基百科和索尼均未给出 cue 的翻译

@fuchunhui
Copy link
Contributor Author

cue 的翻译有引用来源吗

我按照理解,直接翻译处理的,没有引用来源,也不知道该参考哪里。

下次遇到这种词请先去检索相应的文档资料。我们不能稀里糊涂地就把错误的翻译引入到文档中。就像以前中英文夹杂的翻译或者是样式完全不对的内容。

我检索的 CUE 相关的文档如下:

维基百科和索尼均未给出 cue 的翻译

我明白你的意思了,很感谢帮忙指出问题点。
我查阅了一些资料,绝大多数场景中是作为关键词存在,不应该直译。例如与其相关的 WebVTT 中是关键词,https://developer.mozilla.org/zh-CN/docs/Web/API/WebVTT_API#cue_%E8%AE%BE%E7%BD%AE。

以及 Google 对 Cue in video and autio 的解释,还有 AI 给推荐的相关资料,也是作为关键词。

在本地化过程中,我建议保留一个翻译为提示且加上注释说明,其他保留关键字,提升理解。类似下方效果
image

image

@yin1999 yin1999 merged commit 45bf7fb into mdn:main Aug 23, 2024
7 checks passed
@fuchunhui fuchunhui deleted the HTMLTrackElement branch August 23, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants