Skip to content

Commit 19fd75c

Browse files
Update dialogs.html
1 parent f3a41ca commit 19fd75c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

sections/native-ui/dialogs.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>The <code>dialog</code> module in Electron allows you to use native system d
1717
<div class="demo">
1818
<div class="demo-wrapper">
1919
<button id="open-file-demo-toggle" class="js-container-target demo-toggle-button">Open a File or Directory
20-
<div class="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
20+
<div class="demo-meta u-avoid-clicks">Supports: Win, macOS, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
2121
</button>
2222
<div class="demo-box">
2323
<div class="demo-controls">
@@ -32,8 +32,8 @@ <h5>Main Process</h5>
3232

3333
<div class="demo-protip">
3434
<h2>ProTip</h2>
35-
<strong>The sheet-style dialog on OS X.</strong>
36-
<p>On OS X you can choose between a "sheet" dialog or a default dialog. The sheet version descends from the top of the window. To use sheet version, pass the <code>window</code> as the first argument in the dialog method.</p>
35+
<strong>The sheet-style dialog on macOS.</strong>
36+
<p>On macOS you can choose between a "sheet" dialog or a default dialog. The sheet version descends from the top of the window. To use sheet version, pass the <code>window</code> as the first argument in the dialog method.</p>
3737
<pre><code class="language-js">const ipc = require('electron').ipcMain
3838
const dialog = require('electron').dialog
3939
const BrowserWindow = require('electron').BrowserWindow
@@ -51,7 +51,7 @@ <h2>ProTip</h2>
5151
<div class="demo">
5252
<div class="demo-wrapper">
5353
<button id="error-dialog-demo-toggle" class="js-container-target demo-toggle-button">Error Dialog
54-
<div class="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
54+
<div class="demo-meta u-avoid-clicks">Supports: Win, macOS, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
5555
</button>
5656
<div class="demo-box">
5757
<div class="demo-controls">
@@ -71,7 +71,7 @@ <h5>Main Process</h5>
7171
<div class="demo">
7272
<div class="demo-wrapper">
7373
<button id="information-dialog-demo-toggle" class="js-container-target demo-toggle-button">Information Dialog
74-
<div class="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
74+
<div class="demo-meta u-avoid-clicks">Supports: Win, macOS, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
7575
</button>
7676
<div class="demo-box">
7777
<div class="demo-controls">
@@ -80,7 +80,7 @@ <h5>Main Process</h5>
8080
</div>
8181
<p>In this demo, the <code>ipc</code> module is used to send a message from the renderer process instructing the main process to launch the information dialog. Options may be provided for responses which can then be relayed back to the renderer process.</p>
8282

83-
<p>Note: The <code>title</code> property is not displayed in OS X.</p>
83+
<p>Note: The <code>title</code> property is not displayed in macOS.</p>
8484

8585
<p>An information dialog can contain an icon, your choice of buttons, title and message.</p>
8686
<h5>Renderer Process</h5>
@@ -94,7 +94,7 @@ <h5>Main Process</h5>
9494
<div class="demo">
9595
<div class="demo-wrapper">
9696
<button id="save-dialog-demo-toggle" class="js-container-target demo-toggle-button">Save Dialog
97-
<div class="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
97+
<div class="demo-meta u-avoid-clicks">Supports: Win, macOS, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
9898
</button>
9999
<div class="demo-box">
100100
<div class="demo-controls">

0 commit comments

Comments
 (0)