Skip to content

Commit 9c371c9

Browse files
committed
string templates
1 parent 80ca015 commit 9c371c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main-process/menus/application-menu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ let template = [{
121121
function addUpdateMenuItems (items, position) {
122122
const version = electron.app.getVersion()
123123
let updateItems = [{
124-
label: 'Version ' + version,
124+
label: `Version ${version}`,
125125
enabled: false
126126
}, {
127127
label: 'Checking for Update',
@@ -152,7 +152,7 @@ if (process.platform === 'darwin') {
152152
template.unshift({
153153
label: name,
154154
submenu: [{
155-
label: 'About ' + name,
155+
label: `About ${name}`,
156156
role: 'about'
157157
}, {
158158
type: 'separator'
@@ -163,7 +163,7 @@ if (process.platform === 'darwin') {
163163
}, {
164164
type: 'separator'
165165
}, {
166-
label: 'Hide ' + name,
166+
label: `Hide ${name}`,
167167
accelerator: 'Command+H',
168168
role: 'hide'
169169
}, {

0 commit comments

Comments
 (0)