* 翻译
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'
},
{
label: 'Quit weweChat',
label: '退出 weweChat',
accelerator: !isOsx ? 'Alt+Q' : 'Command+Q',
selector: 'terminate:',
click() {
@ -80,7 +80,7 @@ let mainMenu = [
]
},
{
label: 'File',
label: '聊天操作',
submenu: [
{
label: '新建聊天',
@ -312,7 +312,7 @@ let trayMenu = [
label: '检查更新',
accelerator: !isOsx ? 'Ctrl+U' : 'Cmd+U',
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"
ref="input"
type="text"
placeholder="Type something to send..."
placeholder="在此输入内容..."
readOnly={!canisend}
onPaste={e => this.handlePaste(e)}
onKeyPress={e => this.handleEnter(e)}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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