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: init the translation of mathml scripts #16887

Merged
merged 9 commits into from
Nov 16, 2023

Conversation

hanyujie2002
Copy link
Contributor

Description

Same as title

Motivation

ditto

Additional details

I am not sure how to translate "underscript/overscript" (note not subscript and superscript), and I translate them as "底标/顶标"

Related issues and pull requests

Relates to #16668

@hanyujie2002 hanyujie2002 requested a review from a team as a code owner November 9, 2023 13:39
@hanyujie2002 hanyujie2002 requested review from t7yang and removed request for a team November 9, 2023 13:39
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Nov 9, 2023
Copy link
Contributor

github-actions bot commented Nov 9, 2023

Preview URLs

Flaws (127)

URL: /zh-CN/docs/Learn/MathML/First_steps
Title: MathML 入门概述
Flaw count: 24

  • macros:
    • /zh-CN/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Deployment does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Deployment
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_events_state does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_events_state
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_filtering_conditional_rendering does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_filtering_conditional_rendering
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_accessibility does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_accessibility
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_resources does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_resources
    • and 19 more flaws omitted

URL: /zh-CN/docs/Learn/MathML/First_steps/Scripts
Title: MathML 附加符号
Flaw count: 52

  • macros:
    • /zh-CN/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Deployment does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Deployment
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_events_state does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_events_state
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_filtering_conditional_rendering does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_filtering_conditional_rendering
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_accessibility does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_accessibility
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_resources does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_resources
    • and 43 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 11 possible)

URL: /zh-CN/docs/Learn/MathML/First_steps/Fractions_and_roots
Title: MathML 分数和根号
Flaw count: 51

  • macros:
    • /zh-CN/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Deployment does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Deployment
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_events_state does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_events_state
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_filtering_conditional_rendering does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_interactivity_filtering_conditional_rendering
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_accessibility does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_accessibility
    • /zh-CN/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_resources does not exist but fell back to /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_resources
    • and 43 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 7 possible)

(comment last updated: 2023-11-16 10:23:24)

@@ -0,0 +1,486 @@
---
title: MathML 标记
Copy link
Member

Choose a reason for hiding this comment

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

我从昨天到现在没找到相关的资料,直接将“script element”翻译为“标记”是存在现有的资料吗

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, there is no reference. superscript/subscript are translated as "上标/下标", so I translate script as "标记"

Copy link
Member

Choose a reason for hiding this comment

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

标记是一个容易被误解的词语,我们通常会将其与“markup”相关联,因为在 HTML 里面,我们会说“HTML 标记”(HTML Markup),我在第一次看到这个标题的时候,也会想当然地将其当作“MathML Markup”(MathML 是 HTML 的扩展)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Umm 🤔 How about "记号"? I'd love to hear your opinion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Then how about "附标" or "附注"? @yin1999

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"标注" seems also ok.

Copy link
Member

Choose a reason for hiding this comment

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

我查阅了一下国家标准,目前只找到了一个对此类符号做了统称的标准:

X 为主体符号,一般应采用 GB 3102 中所给出的符号,其他七个为附加符号

image

因该标准为现行标准,且维基百科等资料给出的用法与之相近。

因此,我推荐使用“附加符号”这一翻译。

/cc @jasonren0403

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good Job

files/zh-cn/learn/mathml/first_steps/scripts/index.md Outdated Show resolved Hide resolved
files/zh-cn/learn/mathml/first_steps/scripts/index.md Outdated Show resolved Hide resolved
@hanyujie2002 hanyujie2002 requested a review from yin1999 November 14, 2023 13:05
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.

Thanks @hanyujie2002. I'll look though all the other documents to align the translation. And after that, I'll merge this PR 🚢

@yin1999 yin1999 self-assigned this Nov 16, 2023
@yin1999 yin1999 merged commit 55704f1 into mdn:main Nov 16, 2023
7 checks passed
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants