From a9fc0b61601862590961df235b98a2503b546465 Mon Sep 17 00:00:00 2001 From: shenmo Date: Fri, 2 Sep 2022 09:40:28 +0800 Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20ma?= =?UTF-8?q?in.js=20=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20src/js/pag?= =?UTF-8?q?es/Login/index.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 10 +++++----- src/js/pages/Login/index.js | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/main.js b/main.js index a3090fb..0933cd7 100644 --- a/main.js +++ b/main.js @@ -139,7 +139,7 @@ let mainMenu = [ ] }, { - label: 'Conversations', + label: '群聊', submenu: [ { label: 'Loading...', @@ -147,7 +147,7 @@ let mainMenu = [ ], }, { - label: 'Contacts', + label: '私聊', submenu: [ { label: 'Loading...', @@ -203,7 +203,7 @@ let mainMenu = [ } }, { - label: 'Toggle Conversations', + label: 'Toggle 群聊', accelerator: !isOsx ? 'Ctrl+Shift+M' : 'Shift+Cmd+M', click() { mainWindow.show(); @@ -548,8 +548,8 @@ const createMainWindow = () => { ipcMain.on('menu-update', async(event, args) => { var { cookies, contacts = [], conversations = [] } = args; - var conversationsMenu = mainMenu.find(e => e.label === 'Conversations'); - var contactsMenu = mainMenu.find(e => e.label === 'Contacts'); + var conversationsMenu = mainMenu.find(e => e.label === '群聊'); + var contactsMenu = mainMenu.find(e => e.label === '私聊'); var shouldUpdate = false; // if (!isOsx) { diff --git a/src/js/pages/Login/index.js b/src/js/pages/Login/index.js index 4b7f45d..d43de03 100644 --- a/src/js/pages/Login/index.js +++ b/src/js/pages/Login/index.js @@ -39,10 +39,10 @@ export default class Login extends Component { code && () } - Refresh the QR Code + 刷新二维码 -

Scan to log in to WeChat

-

Log in on phone to use WeChat on Web

+

扫描二维码登录微信

+

使用手机登录网页版微信

); }