修改: main.js
修改: package.json
This commit is contained in:
parent
3bfde67f69
commit
d45193bbfe
18
main.js
18
main.js
@ -83,7 +83,7 @@ let mainMenu = [
|
|||||||
label: 'File',
|
label: 'File',
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'New Chat',
|
label: '新建聊天',
|
||||||
accelerator: !isOsx ? 'Ctrl+N' : 'Cmd+N',
|
accelerator: !isOsx ? 'Ctrl+N' : 'Cmd+N',
|
||||||
click() {
|
click() {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
@ -91,7 +91,7 @@ let mainMenu = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Search...',
|
label: '搜索',
|
||||||
accelerator: !isOsx ? 'Ctrl+F' : 'Cmd+F',
|
accelerator: !isOsx ? 'Ctrl+F' : 'Cmd+F',
|
||||||
click() {
|
click() {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
@ -99,7 +99,7 @@ let mainMenu = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Batch Send Message',
|
label: '群发消息',
|
||||||
accelerator: !isOsx ? 'Ctrl+B' : 'Cmd+B',
|
accelerator: !isOsx ? 'Ctrl+B' : 'Cmd+B',
|
||||||
click() {
|
click() {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
@ -110,7 +110,7 @@ let mainMenu = [
|
|||||||
type: 'separator',
|
type: 'separator',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Insert emoji',
|
label: '插入表情符号',
|
||||||
accelerator: !isOsx ? 'Ctrl+I' : 'Cmd+I',
|
accelerator: !isOsx ? 'Ctrl+I' : 'Cmd+I',
|
||||||
click() {
|
click() {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
@ -121,7 +121,7 @@ let mainMenu = [
|
|||||||
type: 'separator',
|
type: 'separator',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Next conversation',
|
label: '下一个聊天',
|
||||||
accelerator: !isOsx ? 'Ctrl+J' : 'Cmd+J',
|
accelerator: !isOsx ? 'Ctrl+J' : 'Cmd+J',
|
||||||
click() {
|
click() {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
@ -129,7 +129,7 @@ let mainMenu = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Previous conversation',
|
label: '上一个聊天',
|
||||||
accelerator: !isOsx ? 'Ctrl+K' : 'Cmd+K',
|
accelerator: !isOsx ? 'Ctrl+K' : 'Cmd+K',
|
||||||
click() {
|
click() {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
@ -158,7 +158,7 @@ let mainMenu = [
|
|||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Edit',
|
label: '编辑',
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
role: 'undo'
|
role: 'undo'
|
||||||
@ -242,7 +242,7 @@ let mainMenu = [
|
|||||||
role: 'help',
|
role: 'help',
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: '反馈(不一定解决)',
|
label: '反馈',
|
||||||
click() {
|
click() {
|
||||||
shell.openExternal('https://gitee.com/spark-community-works-collections/wewechat-plus-plus/issues');
|
shell.openExternal('https://gitee.com/spark-community-works-collections/wewechat-plus-plus/issues');
|
||||||
}
|
}
|
||||||
@ -316,7 +316,7 @@ let trayMenu = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Quit weweChat',
|
label: '退出 weweChat',
|
||||||
accelerator: !isOsx ? 'Alt+Q' : 'Command+Q',
|
accelerator: !isOsx ? 'Alt+Q' : 'Command+Q',
|
||||||
selector: 'terminate:',
|
selector: 'terminate:',
|
||||||
click() {
|
click() {
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
"category": "Chat",
|
"category": "Chat",
|
||||||
"executableName": "wewechat",
|
"executableName": "wewechat",
|
||||||
"target": [
|
"target": [
|
||||||
|
"deb",
|
||||||
"AppImage"
|
"AppImage"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user