mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
move locale doc to command line switches
This commit is contained in:
@@ -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.
|
||||
|
||||
### `app.setLocale(locale)`
|
||||
|
||||
* `locale` String
|
||||
|
||||
Set the locale of the app (must be called before the `ready` event).
|
||||
|
||||
### `app.addRecentDocument(path)` _macOS_ _Windows_
|
||||
|
||||
* `path` String
|
||||
|
||||
@@ -28,6 +28,10 @@ Disables the disk cache for HTTP requests.
|
||||
|
||||
Disable HTTP/2 and SPDY/3.1 protocols.
|
||||
|
||||
## --lang
|
||||
|
||||
Set a custom locale.
|
||||
|
||||
## --inspect=`port` and --inspect-brk=`port`
|
||||
|
||||
Debug-related flags, see the [Debugging the Main Process][debugging-main-process] guide for details.
|
||||
|
||||
Reference in New Issue
Block a user