move locale doc to command line switches

This commit is contained in:
Shelley Vohr 2018-02-08 11:49:28 -05:00
parent ca34978e73
commit 1018cdc225
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 4 additions and 6 deletions

View file

@ -530,12 +530,6 @@ Returns `String` - The current application locale. Possible return values are do
**Note:** On Windows you have to call it after the `ready` events gets emitted. **Note:** On Windows you have to call it after the `ready` events gets emitted.
### `app.setLocale(locale)`
* `locale` String
Set the locale of the app (must be called before the `ready` event).
### `app.addRecentDocument(path)` _macOS_ _Windows_ ### `app.addRecentDocument(path)` _macOS_ _Windows_
* `path` String * `path` String

View file

@ -28,6 +28,10 @@ Disables the disk cache for HTTP requests.
Disable HTTP/2 and SPDY/3.1 protocols. Disable HTTP/2 and SPDY/3.1 protocols.
## --lang
Set a custom locale.
## --inspect=`port` and --inspect-brk=`port` ## --inspect=`port` and --inspect-brk=`port`
Debug-related flags, see the [Debugging the Main Process][debugging-main-process] guide for details. Debug-related flags, see the [Debugging the Main Process][debugging-main-process] guide for details.