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-TW]: update setInterval #24986

Merged
merged 10 commits into from
Dec 25, 2024
Merged

[zh-TW]: update setInterval #24986

merged 10 commits into from
Dec 25, 2024

Conversation

Dr-XYZ
Copy link
Contributor

@Dr-XYZ Dr-XYZ commented Dec 9, 2024

Description

Motivation

Additional details

Related issues and pull requests

@Dr-XYZ Dr-XYZ requested a review from a team as a code owner December 9, 2024 14:48
@Dr-XYZ Dr-XYZ requested review from JasonLamv-t and removed request for a team December 9, 2024 14:48
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Dec 9, 2024
Copy link
Contributor

github-actions bot commented Dec 9, 2024

Preview URLs

Flaws (14)

URL: /zh-TW/docs/Web/API/Window/setInterval
Title: Window:setInterval() 方法
Flaw count: 14

  • macros:
    • /zh-TW/docs/Web/API/Window does not exist but fell back to /en-US/docs/Web/API/Window
    • /zh-TW/docs/Web/API/Window/clearInterval does not exist but fell back to /en-US/docs/Web/API/Window/clearInterval
    • /zh-TW/docs/Web/JavaScript/Reference/Global_Objects/function does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Function
    • /zh-TW/docs/Web/JavaScript/Reference/Global_Objects/eval does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
    • /zh-TW/docs/Web/API/Window/clearInterval does not exist but fell back to /en-US/docs/Web/API/Window/clearInterval
    • and 8 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)
External URLs (1)

URL: /zh-TW/docs/Web/API/Window/setInterval
Title: Window:setInterval() 方法

(comment last updated: 2024-12-24 11:47:19)

@Dr-XYZ
Copy link
Contributor Author

Dr-XYZ commented Dec 9, 2024

#13196

@Dr-XYZ Dr-XYZ changed the title [zg-TW]: update setInterval [zh-TW]: update setInterval Dec 9, 2024
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot added the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Dec 13, 2024
@github-actions github-actions bot removed the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Dec 16, 2024
@Dr-XYZ Dr-XYZ requested a review from yin1999 December 19, 2024 08:56
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved

The `setInterval()` function is commonly used to set a delay for functions that are executed again and again, such as animations. You can cancel the interval using {{domxref("Window.clearInterval", "clearInterval()")}}.
`setInterval()` 函數常用來設定重複執行的延遲,比如動畫等。你可以使用 {{domxref("Window.clearInterval", "clearInterval()")}} 來取消定時器。
Copy link
Member

Choose a reason for hiding this comment

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

前面将“interval”翻译成了“间隔”

Copy link
Contributor Author

Choose a reason for hiding this comment

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

它的原文是"Delay restrictions",不是"interval"

Copy link
Member

Choose a reason for hiding this comment

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

“You can cancel the interval using clearInterval().”,这句话里面是“interval”不是“timer”

files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
files/zh-tw/web/api/window/setinterval/index.md Outdated Show resolved Hide resolved
@Dr-XYZ Dr-XYZ requested a review from yin1999 December 24, 2024 09:51
@yin1999 yin1999 merged commit 57199a1 into mdn:main Dec 25, 2024
7 checks passed
@Dr-XYZ Dr-XYZ deleted the setinterval_1 branch December 25, 2024 03:06
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