Skip to content

Commit

Permalink
[zh-CN]: sync translation for Badging API & Web Share API (#23626)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Sep 18, 2024
1 parent dfa3197 commit 1e6e228
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/badging_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Badging API
slug: Web/API/Badging_API
l10n:
sourceCommit: 8a999418acafeb44b4491e37d02721d32607ec3a
sourceCommit: a4675b9077ae32f989c7ecac94f454db2653c4fc
---

{{DefaultAPISidebar("Badging API")}}{{securecontext_header}}{{AvailableInWorkers}}
Expand All @@ -28,7 +28,7 @@ Web 开发人员经常更新文档图标或标题以指示状态。Badging API
- : 表示当前未设置徽章。若徽章被应用程序清除或被用户代理重置,徽章可能会处于此状态。
- `flag`
- : 表示已设置徽章,但没有具体数据可显示。如果应用程序已设置徽章,但未将任何值传递给该方法,则徽章将处于此状态。
- `an integer`
- 一个整数
- : 设置徽章时传递的值。该值永远不会是 `0`,设置徽章时传递值 `0` 将导致用户代理通过将其设置为 `nothing` 来清除徽章。

### 设置徽章
Expand Down
2 changes: 1 addition & 1 deletion files/zh-cn/web/api/web_share_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Web 共享 API
slug: Web/API/Web_Share_API
l10n:
sourceCommit: 91907f1383139ec2bd1d309d02ffac30b4eee757
sourceCommit: 44c4ec928281dc2d7c5ea42b7d2c74a2013f16ac
---

{{DefaultAPISidebar("Web Share API")}}{{securecontext_header}}
Expand Down

0 comments on commit 1e6e228

Please sign in to comment.