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: replace the namespace identifier to avoid confusion #22314

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

Stan-BK
Copy link
Contributor

@Stan-BK Stan-BK commented Jul 8, 2024

Description

Fix variable name error in object which aims to refer wasm code.

Motivation

Correct the variable name "imports" to "my_namespace".

Fix variable name error in object which aims to refer wasm code.
@Stan-BK Stan-BK requested a review from a team as a code owner July 8, 2024 04:26
@Stan-BK Stan-BK requested review from irvin and removed request for a team July 8, 2024 04:26
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Jul 8, 2024
Copy link
Contributor

github-actions bot commented Jul 8, 2024

Preview URLs

Flaws (13)

URL: /zh-CN/docs/WebAssembly/Using_the_JavaScript_API
Title: 使用 WebAssembly JavaScript API
Flaw count: 13

  • macros:
    • Wrong xref macro used (consider changing which macro you use). Error processing path /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory
    • /zh-CN/docs/Web/JavaScript/Reference/Memory/grow does not exist
    • /zh-CN/docs/Web/JavaScript/Reference/WebAssembly/RangeError does not exist
    • Wrong xref macro used (consider changing which macro you use). Error processing path /zh-CN/docs/Web/API/ArrayBuffer
    • /zh-CN/docs/Web/JavaScript/Reference/Memory/grow does not exist
    • and 1 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/WebAssembly/Text_format_to_wasm#初识文本格式
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance/exports
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/set
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/grow
    • and 2 more flaws omitted

(comment last updated: 2024-07-08 04:48:30)

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.

感谢 @Stan-BK。我将一些代码块的语法转变成了更加现代的写法(与英文文档同步),我想我们可以合并这个 PR 了。

欢迎来到 MDN 社区 🎉

@yin1999 yin1999 changed the title Update index.md Jul 8, 2024
@yin1999 yin1999 merged commit 752c818 into mdn:main Jul 8, 2024
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.
2 participants