docs: Default message is not localized

This commit is contained in:
Cheng Zhao 2018-03-06 11:24:42 +09:00
Родитель 26a071ea00
Коммит d8f16f4116
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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.
* `safeDialogs` Boolean (optional) - Whether to enable browser style
consecutive dialog protection. Default is `false`.
* `safeDialogsMessage` String (optional) - The message to display when consecutive
dialog protection is triggered. Default is empty string.
* `safeDialogsMessage` String (optional) - The message to display when
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`/
`minHeight`/`maxHeight`, it only constrains the users. It won't prevent you from