Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zh.js #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/main/locales/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,47 +142,47 @@ var menus = [
label: '展开至',
submenu: [
{
label: '1级',
label: '1 级',
click: (item, focusedWindow) => {
if (focusedWindow) {
focusedWindow.webContents.send('cmd', { type: 'Expand-1' })
}
}
},
{
label: '2级',
label: '2 级',
click: (item, focusedWindow) => {
if (focusedWindow) {
focusedWindow.webContents.send('cmd', { type: 'Expand-2' })
}
}
},
{
label: '3级',
label: '3 级',
click: (item, focusedWindow) => {
if (focusedWindow) {
focusedWindow.webContents.send('cmd', { type: 'Expand-3' })
}
}
},
{
label: '4级',
label: '4 级',
click: (item, focusedWindow) => {
if (focusedWindow) {
focusedWindow.webContents.send('cmd', { type: 'Expand-4' })
}
}
},
{
label: '5级',
label: '5 级',
click: (item, focusedWindow) => {
if (focusedWindow) {
focusedWindow.webContents.send('cmd', { type: 'Expand-5' })
}
}
},
{
label: '6级',
label: '6 级',
click: (item, focusedWindow) => {
if (focusedWindow) {
focusedWindow.webContents.send('cmd', { type: 'Expand-6' })
Expand All @@ -191,7 +191,7 @@ var menus = [
},
]
}, {
label: '首选项',
label: '偏好设置',
click: function (item, focusedWindow) {
if (focusedWindow) {
focusedWindow.webContents.send('cmd', { type: 'Setting' })
Expand Down Expand Up @@ -269,4 +269,4 @@ var menus = [
])
}

module.exports=menus;
module.exports=menus;