更多翻译
This commit is contained in:
parent
96d67f0b6a
commit
fbc14e854a
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wewechat",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.1.1",
|
||||
"description": "make weweChat great again!!!",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
@ -78,7 +78,7 @@ export default class Forward extends Component {
|
||||
onCancel={e => this.close()}
|
||||
show={this.props.show}>
|
||||
<ModalBody className={classes.container}>
|
||||
Forward Message
|
||||
转发消息
|
||||
|
||||
<div className={classes.avatars}>
|
||||
{
|
||||
@ -100,7 +100,7 @@ export default class Forward extends Component {
|
||||
<button
|
||||
disabled={!this.state.selected.length}
|
||||
onClick={e => this.send(this.state.selected)}>
|
||||
Send Message
|
||||
发送消息
|
||||
</button>
|
||||
|
||||
<button onClick={e => this.close()}>Cancel</button>
|
||||
|
@ -448,7 +448,7 @@ export default class ChatContent extends Component {
|
||||
var caniforward = [1, 3, 47, 43, 49 + 6].includes(message.MsgType);
|
||||
var templates = [
|
||||
{
|
||||
label: 'Delete',
|
||||
label: '删除',
|
||||
click: () => {
|
||||
this.props.deleteMessage(message.MsgId);
|
||||
}
|
||||
@ -458,7 +458,7 @@ export default class ChatContent extends Component {
|
||||
|
||||
if (caniforward) {
|
||||
templates.unshift({
|
||||
label: 'Forward',
|
||||
label: '转发',
|
||||
click: () => {
|
||||
this.props.showForward(message);
|
||||
}
|
||||
@ -468,7 +468,7 @@ export default class ChatContent extends Component {
|
||||
if (message.isme
|
||||
&& message.CreateTime - new Date() < 2 * 60 * 1000) {
|
||||
templates.unshift({
|
||||
label: 'Recall',
|
||||
label: '撤回',
|
||||
click: () => {
|
||||
this.props.recallMessage(message);
|
||||
}
|
||||
@ -494,7 +494,7 @@ export default class ChatContent extends Component {
|
||||
type: 'separator',
|
||||
},
|
||||
{
|
||||
label: 'Empty Content',
|
||||
label: '清空聊天内容',
|
||||
click: () => {
|
||||
this.props.empty(user);
|
||||
}
|
||||
@ -503,13 +503,13 @@ export default class ChatContent extends Component {
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: helper.isTop(user) ? 'Unsticky' : 'Sticky on Top',
|
||||
label: helper.isTop(user) ? '取消置顶' : '聊天置顶',
|
||||
click: () => {
|
||||
this.props.sticky(user);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Delete',
|
||||
label: '删除',
|
||||
click: () => {
|
||||
this.props.removeChat(user);
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ export default class Chats extends Component {
|
||||
showContextMenu(user) {
|
||||
var menu = new remote.Menu.buildFromTemplate([
|
||||
{
|
||||
label: 'Send Message',
|
||||
label: '发送消息',
|
||||
click: () => {
|
||||
this.props.chatTo(user);
|
||||
}
|
||||
@ -65,19 +65,19 @@ export default class Chats extends Component {
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: helper.isTop(user) ? 'Unsticky' : 'Sticky on Top',
|
||||
label: helper.isTop(user) ? '取消置顶' : '聊天置顶',
|
||||
click: () => {
|
||||
this.props.sticky(user);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Delete',
|
||||
label: '删除',
|
||||
click: () => {
|
||||
this.props.removeChat(user);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Mark as Read',
|
||||
label: '标为已读',
|
||||
click: () => {
|
||||
this.props.markedRead(user.UserName);
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ class UserInfo extends Component {
|
||||
color: buttonColor,
|
||||
opacity: .6,
|
||||
}}>
|
||||
{helper.isChatRoom(UserName) || isFriend ? 'Send Message' : 'Add Friend'}
|
||||
{helper.isChatRoom(UserName) || isFriend ? '发送消息' : '添加好友'}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user