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 2, 2021
1 parent f11c047 commit 46819cc
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 36 deletions.
6 changes: 4 additions & 2 deletions content/en-US/docs/tutorial/process-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ As a practical example, the app shown in the [quick start guide][quick-start-lif
uses `app` APIs to create a more native application window experience.

```js title='main.js'
// quitting the app when no windows are open on macOS
// quitting the app when no windows are open on non-macOS platforms
app.on('window-all-closed', function () {
if (process.platform !== 'darwin') app.quit()
})
Expand Down Expand Up @@ -148,7 +148,9 @@ A preload script can be attached to the main process in the `BrowserWindow` cons
const { BrowserWindow } = require('electron')
//...
const win = new BrowserWindow({
preload: 'path/to/preload.js'
webPreferences: {
preload: 'path/to/preload.js'
}
})
//...
```
Expand Down
64 changes: 32 additions & 32 deletions stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,36 @@
{
"name": "Chinese Simplified",
"code": "zh-CN",
"phrases": "14592",
"translated": "8566",
"approved": "8178",
"words": "158547",
"words_translated": "85585",
"words_approved": "81333",
"phrases": "14596",
"translated": "8567",
"approved": "8179",
"words": "158623",
"words_translated": "85625",
"words_approved": "81373",
"translated_progress": 53,
"approved_progress": 51,
"qa_issues": 14
},
{
"name": "French",
"code": "fr",
"phrases": "14592",
"translated": "8392",
"approved": "8087",
"words": "158547",
"words_translated": "78264",
"words_approved": "75820",
"phrases": "14596",
"translated": "8393",
"approved": "8088",
"words": "158623",
"words_translated": "78304",
"words_approved": "75860",
"translated_progress": 49,
"approved_progress": 47,
"qa_issues": 97
},
{
"name": "German",
"code": "de",
"phrases": "14592",
"phrases": "14596",
"translated": "3375",
"approved": "3309",
"words": "158547",
"words": "158623",
"words_translated": "23839",
"words_approved": "23263",
"translated_progress": 15,
Expand All @@ -41,23 +41,23 @@
{
"name": "Japanese",
"code": "ja",
"phrases": "14592",
"translated": "14545",
"approved": "14262",
"words": "158547",
"words_translated": "157961",
"words_approved": "154573",
"phrases": "14596",
"translated": "14549",
"approved": "14263",
"words": "158623",
"words_translated": "158037",
"words_approved": "154613",
"translated_progress": 99,
"approved_progress": 97,
"qa_issues": 11
},
{
"name": "Portuguese, Brazilian",
"code": "pt-BR",
"phrases": "14592",
"phrases": "14596",
"translated": "3574",
"approved": "3557",
"words": "158547",
"words": "158623",
"words_translated": "29891",
"words_approved": "29738",
"translated_progress": 18,
Expand All @@ -67,11 +67,11 @@
{
"name": "Russian",
"code": "ru",
"phrases": "14592",
"translated": "6381",
"phrases": "14596",
"translated": "6385",
"approved": "6251",
"words": "158547",
"words_translated": "57985",
"words": "158623",
"words_translated": "58038",
"words_approved": "56175",
"translated_progress": 36,
"approved_progress": 35,
Expand All @@ -80,12 +80,12 @@
{
"name": "Spanish",
"code": "es-ES",
"phrases": "14592",
"translated": "9658",
"approved": "9586",
"words": "158547",
"words_translated": "95364",
"words_approved": "94856",
"phrases": "14596",
"translated": "9659",
"approved": "9587",
"words": "158623",
"words_translated": "95404",
"words_approved": "94896",
"translated_progress": 60,
"approved_progress": 59,
"qa_issues": 19
Expand Down
4 changes: 2 additions & 2 deletions wordcount.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Stat | Value
---- | -----
total files | 292
total words | 308313
total words | 308316
unique words | 14193
average words per file | 1055

Expand All @@ -23,6 +23,6 @@ average words per file | 738
Stat | Value
---- | -----
total files | 2329
total words | 1676795
total words | 1676798
unique words | 55852
average words per file | 719

0 comments on commit 46819cc

Please sign in to comment.