Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
feat: update source content
Browse files Browse the repository at this point in the history
  • Loading branch information
electron-bot committed Sep 14, 2021
1 parent e5f55d0 commit 7d0ec4b
Show file tree
Hide file tree
Showing 6 changed files with 292 additions and 288 deletions.
2 changes: 1 addition & 1 deletion content/en-US/docs/api/auto-updater.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The installer generated with Squirrel will create a shortcut icon with an
same ID for your app with `app.setAppUserModelId` API, otherwise Windows will
not be able to pin your app properly in task bar.

Unlike Squirrel.Mac, Windows can host updates on S3 or any other static file host.
Like Squirrel.Mac, Windows can host updates on S3 or any other static file host.
You can read the documents of [Squirrel.Windows][squirrel-windows] to get more details
about how Squirrel.Windows works.

Expand Down
8 changes: 6 additions & 2 deletions content/en-US/docs/api/webview-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,16 @@ browser plugins. Plugins are disabled by default.
### `preload`

```html
<!-- from a file -->
<webview src="https://www.github.com/" preload="./test.js"></webview>
<!-- or if you want to load from an asar archive -->
<webview src="https://www.github.com/" preload="./app.asar/test.js"></webview>
```

A `String` that specifies a script that will be loaded before other scripts run in the guest
page. The protocol of script's URL must be either `file:` or `asar:`, because it
will be loaded by `require` in guest page under the hood.
page. The protocol of script's URL must be `file:` (even when using `asar:` archives) because
it will be loaded by Node's `require` under the hood, which treats `asar:` archives as virtual
directories.

When the guest page doesn't have node integration this script will still have
access to all Node APIs, but global objects injected by Node will be deleted
Expand Down
502 changes: 251 additions & 251 deletions content/en-US/electron-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"upload-crowdin-glossary": "ts-node script/upload-crowdin-glossary.ts",
"automerge": "ts-node ./script/automerge.ts"
},
"electronLatestStableTag": "v14.0.0",
"electronLatestStableTag": "v14.0.1",
"engines": {
"node": ">=10"
}
Expand Down
58 changes: 29 additions & 29 deletions stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
{
"name": "Chinese Simplified",
"code": "zh-CN",
"phrases": "14602",
"translated": "8570",
"phrases": "14630",
"translated": "8569",
"approved": "8179",
"words": "158662",
"words_translated": "85661",
"words": "158995",
"words_translated": "85592",
"words_approved": "81373",
"translated_progress": 53,
"approved_progress": 51,
Expand All @@ -15,23 +15,23 @@
{
"name": "French",
"code": "fr",
"phrases": "14602",
"translated": "8400",
"approved": "8088",
"words": "158662",
"words_translated": "78362",
"words_approved": "75860",
"phrases": "14630",
"translated": "8417",
"approved": "8089",
"words": "158995",
"words_translated": "78519",
"words_approved": "75874",
"translated_progress": 49,
"approved_progress": 47,
"qa_issues": 99
"qa_issues": 104
},
{
"name": "German",
"code": "de",
"phrases": "14602",
"phrases": "14630",
"translated": "3484",
"approved": "3309",
"words": "158662",
"words": "158995",
"words_translated": "25503",
"words_approved": "23263",
"translated_progress": 16,
Expand All @@ -41,36 +41,36 @@
{
"name": "Japanese",
"code": "ja",
"phrases": "14602",
"translated": "14559",
"phrases": "14630",
"translated": "14630",
"approved": "14263",
"words": "158662",
"words_translated": "158123",
"words": "158995",
"words_translated": "158995",
"words_approved": "154613",
"translated_progress": 99,
"translated_progress": 100,
"approved_progress": 97,
"qa_issues": 11
"qa_issues": 16
},
{
"name": "Portuguese, Brazilian",
"code": "pt-BR",
"phrases": "14602",
"translated": "3574",
"phrases": "14630",
"translated": "3598",
"approved": "3557",
"words": "158662",
"words_translated": "29891",
"words": "158995",
"words_translated": "30327",
"words_approved": "29738",
"translated_progress": 18,
"translated_progress": 19,
"approved_progress": 18,
"qa_issues": 5
"qa_issues": 8
},
{
"name": "Russian",
"code": "ru",
"phrases": "14602",
"phrases": "14630",
"translated": "6391",
"approved": "6251",
"words": "158662",
"words": "158995",
"words_translated": "58077",
"words_approved": "56175",
"translated_progress": 36,
Expand All @@ -80,10 +80,10 @@
{
"name": "Spanish",
"code": "es-ES",
"phrases": "14602",
"phrases": "14630",
"translated": "9673",
"approved": "9587",
"words": "158662",
"words": "158995",
"words_translated": "95576",
"words_approved": "94896",
"translated_progress": 60,
Expand Down
8 changes: 4 additions & 4 deletions wordcount.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Stat | Value
---- | -----
total files | 292
total words | 308465
unique words | 14194
total words | 308542
unique words | 14196
average words per file | 1056

## Blog English
Expand All @@ -23,6 +23,6 @@ average words per file | 738
Stat | Value
---- | -----
total files | 2329
total words | 1677524
unique words | 55881
total words | 1678154
unique words | 55899
average words per file | 720

0 comments on commit 7d0ec4b

Please sign in to comment.