* 翻译
This commit is contained in:
shenmo 2022-09-02 03:33:04 +00:00
parent 29ef5be718
commit ae58bf7a27
10 changed files with 23 additions and 23 deletions

View File

@ -68,7 +68,7 @@ let mainMenu = [
type: 'separator' type: 'separator'
}, },
{ {
label: 'Quit weweChat', label: '退出 weweChat',
accelerator: !isOsx ? 'Alt+Q' : 'Command+Q', accelerator: !isOsx ? 'Alt+Q' : 'Command+Q',
selector: 'terminate:', selector: 'terminate:',
click() { click() {
@ -80,7 +80,7 @@ let mainMenu = [
] ]
}, },
{ {
label: 'File', label: '聊天操作',
submenu: [ submenu: [
{ {
label: '新建聊天', label: '新建聊天',
@ -312,7 +312,7 @@ let trayMenu = [
label: '检查更新', label: '检查更新',
accelerator: !isOsx ? 'Ctrl+U' : 'Cmd+U', accelerator: !isOsx ? 'Ctrl+U' : 'Cmd+U',
click() { click() {
checkForUpdates(); shell.openExternal('spk://store/chat/wewechat');
} }
}, },
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -180,7 +180,7 @@ export default class MessageInput extends Component {
id="messageInput" id="messageInput"
ref="input" ref="input"
type="text" type="text"
placeholder="Type something to send..." placeholder="在此输入内容..."
readOnly={!canisend} readOnly={!canisend}
onPaste={e => this.handlePaste(e)} onPaste={e => this.handlePaste(e)}
onKeyPress={e => this.handleEnter(e)} onKeyPress={e => this.handleEnter(e)}

View File

@ -58,7 +58,7 @@ export default class Contacts extends Component {
dangerouslySetInnerHTML={{__html: e.RemarkName || e.NickName}} /> dangerouslySetInnerHTML={{__html: e.RemarkName || e.NickName}} />
<p <p
className={classes.signature} className={classes.signature}
dangerouslySetInnerHTML={{__html: e.Signature || 'No Signature'}} /> dangerouslySetInnerHTML={{__html: e.Signature || '无签名'}} />
</div> </div>
</div> </div>
); );

View File

@ -37,13 +37,13 @@ export default class Filter extends Component {
<div className={classes.contacts}> <div className={classes.contacts}>
<input <input
onInput={e => this.doFilter(e.target.value)} onInput={e => this.doFilter(e.target.value)}
placeholder="Type something to search..." placeholder="在此搜索..."
ref="filter" ref="filter"
type="text" /> type="text" />
<div className={classes.action}> <div className={classes.action}>
<label htmlFor="showGroup"> <label htmlFor="showGroup">
<span className={classes.options}>Show Groups</span> <span className={classes.options}>显示群聊</span>
<Switch <Switch
defaultChecked={this.props.showGroup} defaultChecked={this.props.showGroup}
id="showGroup" id="showGroup"

View File

@ -11,7 +11,7 @@ export default class Placeholder extends Component {
className={classes.button} className={classes.button}
href="mailto:var.845541909@qq.com?Subject=WeWeChat%20Feedback" href="mailto:var.845541909@qq.com?Subject=WeWeChat%20Feedback"
target="_blank"> target="_blank">
Send feedback 发送反馈
<i className="icon-ion-ios-email-outline" /> <i className="icon-ion-ios-email-outline" />
</a> </a>

View File

@ -670,7 +670,7 @@ export default class ChatContent extends Component {
<img <img
className="disabledDrag" className="disabledDrag"
src="assets/images/noselected.png" /> src="assets/images/noselected.png" />
<h1>No Chat selected :(</h1> <h1>未选择聊天 :(</h1>
</div> </div>
) )
} }

View File

@ -146,7 +146,7 @@ export default class Chats extends Component {
<span <span
className={classes.message} className={classes.message}
dangerouslySetInnerHTML={{__html: helper.getMessageContent(message) || 'No Message'}} /> dangerouslySetInnerHTML={{__html: helper.getMessageContent(message) || '未收到消息'}} />
</div> </div>
</div> </div>

View File

@ -109,7 +109,7 @@ export default class Members extends Component {
id="messageInput" id="messageInput"
maxLength={30} maxLength={30}
onInput={e => this.props.search(e.target.value)} onInput={e => this.props.search(e.target.value)}
placeholder="Type something to search..." placeholder="在此搜索..."
ref="input" ref="input"
type="text" /> type="text" />
</div> </div>

View File

@ -66,14 +66,14 @@ export default class Settings extends Component {
return ( return (
<div className={classes.container}> <div className={classes.container}>
<div className={classes.column}> <div className={classes.column}>
<h2>Settings</h2> <h2>设置</h2>
<ul> <ul>
{ {
user && ( user && (
<li className={classes.user}> <li className={classes.user}>
<Avatar src={this.props.user.User.HeadImgUrl} /> <Avatar src={this.props.user.User.HeadImgUrl} />
<button onClick={e => this.props.logout()}>Logout</button> <button onClick={e => this.props.logout()}>登出</button>
</li> </li>
) )
} }
@ -83,15 +83,15 @@ export default class Settings extends Component {
onChange={e => setDownloads(e.target.files[0])} onChange={e => setDownloads(e.target.files[0])}
ref="downloads" ref="downloads"
type="file" /> type="file" />
<p>Downloads</p> <p>下载目录</p>
<p onClick={e => this.choiceDownloadDir()}>{downloads}</p> <p onClick={e => this.choiceDownloadDir()}>{downloads}</p>
</div> </div>
<button onClick={e => this.choiceDownloadDir()}>Change</button> <button onClick={e => this.choiceDownloadDir()}>更改</button>
</li> </li>
<li> <li>
<label htmlFor="alwaysOnTop"> <label htmlFor="alwaysOnTop">
<span>Always on Top</span> <span>窗口置顶</span>
<Switch <Switch
checked={alwaysOnTop} checked={alwaysOnTop}
id="alwaysOnTop" id="alwaysOnTop"
@ -101,7 +101,7 @@ export default class Settings extends Component {
<li> <li>
<label htmlFor="showOnTray"> <label htmlFor="showOnTray">
<span>Show on Tray</span> <span>显示托盘图标</span>
<Switch <Switch
checked={showOnTray} checked={showOnTray}
disabled={!helper.isOsx} disabled={!helper.isOsx}
@ -112,7 +112,7 @@ export default class Settings extends Component {
<li> <li>
<label htmlFor="showNotification"> <label htmlFor="showNotification">
<span>Send Desktop Notifications</span> <span>发送桌面通知</span>
<Switch <Switch
checked={showNotification} checked={showNotification}
id="showNotification" id="showNotification"
@ -122,7 +122,7 @@ export default class Settings extends Component {
<li> <li>
<label htmlFor="blockRecall"> <label htmlFor="blockRecall">
<span>Block Message Recall</span> <span>反撤回功能</span>
<Switch <Switch
checked={blockRecall} checked={blockRecall}
id="blockRecall" id="blockRecall"
@ -132,7 +132,7 @@ export default class Settings extends Component {
<li> <li>
<label htmlFor="rememberConversation"> <label htmlFor="rememberConversation">
<span>Remember the last Conversation</span> <span>记住上次的聊天内容</span>
<Switch <Switch
checked={rememberConversation} checked={rememberConversation}
id="rememberConversation" id="rememberConversation"
@ -142,7 +142,7 @@ export default class Settings extends Component {
<li> <li>
<label htmlFor="showRedIcon"> <label htmlFor="showRedIcon">
<span>Show the red button</span> <span>显示首页红色加号按钮</span>
<Switch <Switch
checked={showRedIcon} checked={showRedIcon}
id="showRedIcon" id="showRedIcon"
@ -152,7 +152,7 @@ export default class Settings extends Component {
<li> <li>
<label htmlFor="confirmImagePaste"> <label htmlFor="confirmImagePaste">
<span>Image paste Confirmation</span> <span>在粘贴图片时弹框确认</span>
<Switch <Switch
checked={confirmImagePaste} checked={confirmImagePaste}
id="confirmImagePaste" id="confirmImagePaste"
@ -162,7 +162,7 @@ export default class Settings extends Component {
<li> <li>
<label htmlFor="startup"> <label htmlFor="startup">
<span>Launch at startup</span> <span>开机自启动</span>
<Switch <Switch
checked={startup} checked={startup}
id="startup" id="startup"