github-electron: Add app.getLocale()

This commit is contained in:
Elisée Maurer
2016-01-24 22:08:58 +01:00
parent 7fffbd3e04
commit 9112b90712

View File

@@ -1022,6 +1022,10 @@ declare module Electron {
* name by Electron.
*/
getName(): string;
/**
* @returns The current application locale.
**/
getLocale(): string;
/**
* Resolves the proxy information for url, the callback would be called with
* callback(proxy) when the request is done.