部分简单转繁体
This commit is contained in:
@@ -210,9 +210,9 @@
|
||||
///最小化进房 人数不对的问题
|
||||
[[[NIMSDK sharedSDK] chatroomManager] fetchChatroomInfo:[NSString stringWithFormat:@"%ld", (long)self.hostDelegate.getRoomInfo.roomId] completion:^(NSError * _Nullable error, NIMChatroom * _Nullable chatroom) {
|
||||
if (error == nil) {
|
||||
self.idLabel.text = [NSString stringWithFormat:@"在线:%ld ID:%ld", (long)(chatroom.onlineUserCount > 0 ? chatroom.onlineUserCount : 0), (long)roomInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:YMLocalizedString(@"RoomHeaderView3"), (long)(chatroom.onlineUserCount > 0 ? chatroom.onlineUserCount : 0), (long)roomInfo.erbanNo];
|
||||
} else {
|
||||
self.idLabel.text = [NSString stringWithFormat:@"在线:%ld ID:%ld", (long)(roomInfo.onlineNum > 0 ? roomInfo.onlineNum : 0), (long)roomInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:YMLocalizedString(@"RoomHeaderView3"), (long)(roomInfo.onlineNum > 0 ? roomInfo.onlineNum : 0), (long)roomInfo.erbanNo];
|
||||
}
|
||||
}];
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
- (void)onRoomUpdate {
|
||||
RoomInfoModel* roomInfo = self.hostDelegate.getRoomInfo;
|
||||
self.titleLabel.text = roomInfo.title;
|
||||
self.idLabel.text = [NSString stringWithFormat:@"在线:%ld ID:%ld", (long)(roomInfo.onlineNum > 0 ? roomInfo.onlineNum : 0), (long)roomInfo.erbanNo];
|
||||
self.idLabel.text = [NSString stringWithFormat:YMLocalizedString(@"RoomHeaderView3"), (long)(roomInfo.onlineNum > 0 ? roomInfo.onlineNum : 0), (long)roomInfo.erbanNo];
|
||||
self.giftEffectImageView.hidden = roomInfo.hasAnimationEffect;
|
||||
if (roomInfo.uid == [AccountInfoStorage instance].getUid.integerValue) {
|
||||
self.collectButton.hidden = YES;
|
||||
@@ -259,7 +259,7 @@
|
||||
RoomInfoModel * roomInfo = [self.hostDelegate getRoomInfo];
|
||||
XPShareInfoModel * shareInfo = [[XPShareInfoModel alloc] init];
|
||||
shareInfo.shareTitle = YMLocalizedString(@"RoomHeaderView10");
|
||||
shareInfo.shareContent = [NSString stringWithFormat:@"%@ 这个房间很好玩,推荐给你,快来和我一起玩吧~", roomInfo.title];
|
||||
shareInfo.shareContent = [NSString stringWithFormat:YMLocalizedString(@"RoomHeaderView11"), roomInfo.title];
|
||||
shareInfo.shareImageUrl = [self.hostDelegate getRoomInfo].avatar;
|
||||
shareInfo.type = ShareType_Room;
|
||||
shareInfo.roomUid = roomInfo.uid;
|
||||
|
Reference in New Issue
Block a user