Merge pull request #4965 from atom/docs-get-locale
docs: Add notes on app.getLocale
This commit is contained in:
commit
303290bfb4
1 changed files with 6 additions and 1 deletions
|
@ -341,6 +341,11 @@ Overrides the current application's name.
|
|||
|
||||
Returns the current application locale.
|
||||
|
||||
**Note:** When distributing your packaged app, you have to also ship the
|
||||
`locales` folder.
|
||||
|
||||
**Note:** On Windows you have to call it after the `ready` events gets emitted.
|
||||
|
||||
### `app.addRecentDocument(path)` _OS X_ _Windows_
|
||||
|
||||
* `path` String
|
||||
|
|
Loading…
Reference in a new issue