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 extensionTypes.ImageDetails #23534

Merged
merged 4 commits into from
Sep 21, 2024
Merged

Conversation

PassionPenguin
Copy link
Contributor

No description provided.

@PassionPenguin PassionPenguin requested a review from a team as a code owner September 13, 2024 13:24
@PassionPenguin PassionPenguin requested review from t7yang and removed request for a team September 13, 2024 13:24
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Sep 13, 2024
Copy link
Contributor

github-actions bot commented Sep 13, 2024

Preview URLs

Flaws (13)

URL: /zh-CN/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails
Title: extensionTypes.ImageDetails
Flaw count: 13

  • macros:
    • /zh-CN/docs/Mozilla/Add-ons/WebExtensions/Background_scripts does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts
    • /zh-CN/docs/Mozilla/Add-ons/WebExtensions/Working_with_files does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Working_with_files
    • /zh-CN/docs/Mozilla/Add-ons/WebExtensions/Differences_between_API_implementations does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/Differences_between_API_implementations
    • /zh-CN/docs/Mozilla/Add-ons/WebExtensions/user_interface/Sidebars does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Sidebars
    • /zh-CN/docs/Mozilla/Add-ons/WebExtensions/user_interface/Context_menu_items does not exist but fell back to /en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Context_menu_items
    • and 8 more flaws omitted
External URLs (2)

URL: /zh-CN/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails
Title: extensionTypes.ImageDetails

(comment last updated: 2024-09-21 04:26:10)


{{AddonSidebar}}

有关图片格式、质量、区域和缩放的详细信息。
Copy link
Member

Choose a reason for hiding this comment

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

不应翻译为“缩放”,前后文不一致了

Suggested change
有关图片格式、质量、区域和缩放的详细信息
有关捕获图片的格式、质量、区域和比例的详细信息

- `width`:矩形的宽度。
- `height`:矩形的高度。

该选项在 Firefox 82 中引入。若省略该属性,则将捕获当前可见视口。
Copy link
Member

Choose a reason for hiding this comment

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

专有名词,别翻译错了

Suggested change
该选项在 Firefox 82 中引入。若省略该属性,则将捕获当前可见视口
该选项在 Firefox 82 中引入。若省略该属性,则将捕获当前可视视口

{{WebExtExamples}}

> [!NOTE]
> 此 API 基于 Chromium 的 [`chrome.extensionTypes`](https://developer.chrome.com/docs/extensions/reference/extensionTypes/#type-ImageDetails) API。该文档衍生自 Chromium 代码中的 [`extension_types.json`](https://chromium.googlesource.com/chromium/src/+/master/extensions/common/api/extension_types.json)。
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
> 此 API 基于 Chromium 的 [`chrome.extensionTypes`](https://developer.chrome.com/docs/extensions/reference/extensionTypes/#type-ImageDetails) API。该文档衍生自 Chromium 代码中的 [`extension_types.json`](https://chromium.googlesource.com/chromium/src/+/master/extensions/common/api/extension_types.json)
> 此 API 基于 Chromium 的 [`chrome.extensionTypes`](https://developer.chrome.com/docs/extensions/reference/api/extensionTypes#type-ImageDetails) API。该文档衍生自 Chromium 代码中的 [`extension_types.json`](https://chromium.googlesource.com/chromium/src/+/master/extensions/common/api/extension_types.json)

title: extensionTypes.ImageDetails
slug: Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails
l10n:
sourceCommit: a16fecbf75f71fc11e03ef6cd0b0c34ad6f3d480
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
sourceCommit: a16fecbf75f71fc11e03ef6cd0b0c34ad6f3d480
sourceCommit: b8a0743ca8b1e1b1b1a95cc93a4413c020f11262

@yin1999 yin1999 merged commit 245f501 into mdn:main Sep 21, 2024
7 checks passed
@PassionPenguin PassionPenguin deleted the ext-15 branch September 22, 2024 02:25
sora32127 pushed a commit to sora32127/translated-content that referenced this pull request Oct 6, 2024
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