docs: Default message is not localized

This commit is contained in:
Cheng Zhao 2018-03-06 11:24:42 +09:00
parent 26a071ea00
commit d8f16f4116

View file

@ -364,8 +364,10 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
bits of data down to renderer process preload scripts. bits of data down to renderer process preload scripts.
* `safeDialogs` Boolean (optional) - Whether to enable browser style * `safeDialogs` Boolean (optional) - Whether to enable browser style
consecutive dialog protection. Default is `false`. consecutive dialog protection. Default is `false`.
* `safeDialogsMessage` String (optional) - The message to display when consecutive * `safeDialogsMessage` String (optional) - The message to display when
dialog protection is triggered. Default is empty string. consecutive dialog protection is triggered. If not defined the default
message would be used, note that currently the default message is in
English and not localized.
When setting minimum or maximum window size with `minWidth`/`maxWidth`/ When setting minimum or maximum window size with `minWidth`/`maxWidth`/
`minHeight`/`maxHeight`, it only constrains the users. It won't prevent you from `minHeight`/`maxHeight`, it only constrains the users. It won't prevent you from