Commit dabb1cce by ludi

整理翻译

parent 1a1925cc
...@@ -536,7 +536,7 @@ extension SocialSharePlatform { ...@@ -536,7 +536,7 @@ extension SocialSharePlatform {
case .MessengerPlatform: case .MessengerPlatform:
return "Messenger" return "Messenger"
case .BarcodePhotoPlatform: case .BarcodePhotoPlatform:
return .fus_versionLocalString("二维码") return .fus_localString("二维码")
default: default:
return "" return ""
} }
......
"您可陪伴%ld分钟,%ld/分钟" = "您可陪伴%ld分鐘,%ld/分鐘";
"新增表演" = "添加表演";
"购票支持" = "購票支持";
"%zd人在陪伴" = "%zd人正在陪伴";
"告诉朋友前往应用商店搜寻“Fusi Live”" = "告訴朋友前往應用商店搜尋“Fusi Live”"; "告诉朋友前往应用商店搜寻“Fusi Live”" = "告訴朋友前往應用商店搜尋“Fusi Live”";
"告诉朋友前往自己手机熟悉的应用商店,并搜寻“Fusi Live” 关键词" = "告訴朋友前往自己手機熟悉的應用商店,並搜尋“Fusi Live” 關鍵詞"; "告诉朋友前往自己手机熟悉的应用商店,并搜寻“Fusi Live” 关键词" = "告訴朋友前往自己手機熟悉的應用商店,並搜尋“Fusi Live” 關鍵詞";
...@@ -464,8 +472,6 @@ ...@@ -464,8 +472,6 @@
"打开后,将在私信上进行个人曝光" = "打開后,將在私信上進行個人曝光"; "打开后,将在私信上进行个人曝光" = "打開后,將在私信上進行個人曝光";
"萤火提现" = "螢火提領";
"有效期至%@" = "有效期至%@"; "有效期至%@" = "有效期至%@";
"亲密" = "親密"; "亲密" = "親密";
...@@ -1398,7 +1404,7 @@ ...@@ -1398,7 +1404,7 @@
"切换后的直播时长不计入直播奖励活动" = "切換後的直播時長不計入直播獎勵活動"; "切换后的直播时长不计入直播奖励活动" = "切換後的直播時長不計入直播獎勵活動";
"可提现" = "可提領"; "可兑换" = "可兌換";
"确认&更换" = "確認&更換"; "确认&更换" = "確認&更換";
...@@ -2346,7 +2352,7 @@ ...@@ -2346,7 +2352,7 @@
"装配" = "裝配"; "装配" = "裝配";
"收益提现同意事项" = "收益提現同意事項"; "收益兑换同意事项" = "收益兌換同意事項";
"《自由职业者服务协定》" = "《自由職業者服務協定》"; "《自由职业者服务协定》" = "《自由職業者服務協定》";
...@@ -3496,8 +3502,7 @@ ...@@ -3496,8 +3502,7 @@
"进入限时表演" = "進入限時表演"; "进入限时表演" = "進入限時表演";
"购票看秀 "购票看秀" = "購票看秀";
" = "购票看秀";
"已集票数 %zd 张!" = "已集票數 %zd 張!"; "已集票数 %zd 张!" = "已集票數 %zd 張!";
...@@ -3610,3 +3615,21 @@ ...@@ -3610,3 +3615,21 @@
"张票已全部退回" = "張票已全部退回"; "张票已全部退回" = "張票已全部退回";
"本活动由主播个人主办,详细活动办法与内容请咨询主播。集票达成或未达成主播自愿表演,本活动才算成立;若集票未达成且主播不愿意表演,则活动取消,并退回宝石。若活动已经开始表演,请注意剩余时间,确保您不会错过精彩表演时刻。本平台保留活动说明的权利,可随时修改、变更及解释活动之权利。" = "本活動由主播個人主辦,詳細活動辦法與內容請洽詢主播。集票達成或未達成主播自願表演,本活動才算成立;若集票未達成且主播不願意表演,則活動取消,並退回寶石。若活動已經開始表演,請注意剩餘時間,確保你不會錯過精彩表演時刻。本平台保有活動說明的權利,可隨時修改、變更及解釋活動之權利。"; "本活动由主播个人主办,详细活动办法与内容请咨询主播。集票达成或未达成主播自愿表演,本活动才算成立;若集票未达成且主播不愿意表演,则活动取消,并退回宝石。若活动已经开始表演,请注意剩余时间,确保您不会错过精彩表演时刻。本平台保留活动说明的权利,可随时修改、变更及解释活动之权利。" = "本活動由主播個人主辦,詳細活動辦法與內容請洽詢主播。集票達成或未達成主播自願表演,本活動才算成立;若集票未達成且主播不願意表演,則活動取消,並退回寶石。若活動已經開始表演,請注意剩餘時間,確保你不會錯過精彩表演時刻。本平台保有活動說明的權利,可隨時修改、變更及解釋活動之權利。";
"完善個人資料,回復私信獲得更高分成," = "完善個人資料,回覆私信獲得更高分成,";
"去完善 >" = "去完善 >";
"点击进入" = "點擊進入";
"订阅消息" = "訂閱消息";
"订阅" = "訂閱";
"未开启订阅" = "未開啓訂閱";
"点击开启订阅" = "點擊開啓訂閱";
"聊天账号已失效,请重新登录" = "聊天賬號已失效,請重新登錄";
"聊天账号已被限制,请重新登录" = "聊天賬號已被限制,請重新登錄";
...@@ -413,7 +413,7 @@ static const CGFloat kFUSSubscribeCardMaxHeight = 240.0f; ...@@ -413,7 +413,7 @@ static const CGFloat kFUSSubscribeCardMaxHeight = 240.0f;
/// 获取订阅消息卡片底部提示文案的高度。 /// 获取订阅消息卡片底部提示文案的高度。
+ (CGFloat)fus_subscribeTipsHeight { + (CGFloat)fus_subscribeTipsHeight {
return ceil([[NSString fus_versionLocalString:@"点击进入"] sizeWithFont:[UIFont fus_themeBoldFont:13] maxWidth:CGFLOAT_MAX].height); return ceil([[NSString fus_localString:@"点击进入"] sizeWithFont:[UIFont fus_themeBoldFont:13] maxWidth:CGFLOAT_MAX].height);
} }
/// 获取订阅消息详情文案的展示宽度。 /// 获取订阅消息详情文案的展示宽度。
......
...@@ -393,14 +393,14 @@ static NSString *fus_subscribeDisplayText(NSString *text) { ...@@ -393,14 +393,14 @@ static NSString *fus_subscribeDisplayText(NSString *text) {
- (void)userAccountDidRemoveFromServer - (void)userAccountDidRemoveFromServer
{ {
[self fus_notifyIMLoginStateChanged]; [self fus_notifyIMLoginStateChanged];
[FUSDialogView fus_showDialog:[NSString fus_versionLocalString:@"聊天账号已失效,请重新登录"]]; [FUSDialogView fus_showDialog:[NSString fus_localString:@"聊天账号已失效,请重新登录"]];
[FUSRouter.userRouter logOut]; [FUSRouter.userRouter logOut];
} }
- (void)userDidForbidByServer - (void)userDidForbidByServer
{ {
[self fus_notifyIMLoginStateChanged]; [self fus_notifyIMLoginStateChanged];
[FUSDialogView fus_showDialog:[NSString fus_versionLocalString:@"聊天账号已被限制,请重新登录"]]; [FUSDialogView fus_showDialog:[NSString fus_localString:@"聊天账号已被限制,请重新登录"]];
[FUSRouter.userRouter logOut]; [FUSRouter.userRouter logOut];
} }
...@@ -455,7 +455,7 @@ static NSString *fus_subscribeDisplayText(NSString *text) { ...@@ -455,7 +455,7 @@ static NSString *fus_subscribeDisplayText(NSString *text) {
case FUSIMChatMessageTypeSubscribePriceChanged: // 订阅费用变更 case FUSIMChatMessageTypeSubscribePriceChanged: // 订阅费用变更
{ {
NSDictionary *subscribeInfo = fus_subscribeMessageInfo(msg.ext); NSDictionary *subscribeInfo = fus_subscribeMessageInfo(msg.ext);
NSString *subscribeTitle = [NSString isNull:subscribeInfo[@"showtit"]] ? [NSString fus_versionLocalString:@"订阅消息"] : [subscribeInfo[@"showtit"] description]; NSString *subscribeTitle = [NSString isNull:subscribeInfo[@"showtit"]] ? [NSString fus_localString:@"订阅消息"] : [subscribeInfo[@"showtit"] description];
skeletonizeMsg = [NSString stringWithFormat:@"[%@]", subscribeTitle]; skeletonizeMsg = [NSString stringWithFormat:@"[%@]", subscribeTitle];
} }
break; break;
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
_tipsLabel = [[UILabel alloc] init]; _tipsLabel = [[UILabel alloc] init];
_tipsLabel.textColor = messageBgColor; _tipsLabel.textColor = messageBgColor;
_tipsLabel.font = [UIFont fus_themeBoldFont:13]; _tipsLabel.font = [UIFont fus_themeBoldFont:13];
_tipsLabel.text = [NSString fus_versionLocalString:@"查看详情"]; _tipsLabel.text = [NSString fus_localString:@"查看详情"];
[_tipsLabel sizeToFit]; [_tipsLabel sizeToFit];
self.backgroundView.layer.cornerRadius = BORDER_IMAGE_CORNERRADIUS; self.backgroundView.layer.cornerRadius = BORDER_IMAGE_CORNERRADIUS;
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
_subscribeIconImageView.frame = CGRectMake(self.width - icon_W - 12, _subscribeDetailLabel.y + 6, icon_W, icon_W); _subscribeIconImageView.frame = CGRectMake(self.width - icon_W - 12, _subscribeDetailLabel.y + 6, icon_W, icon_W);
_subscribeIconImageView.hidden = needHideSubscribeIcon; _subscribeIconImageView.hidden = needHideSubscribeIcon;
_tipsLabel.text = [NSString fus_versionLocalString:@"点击进入"]; _tipsLabel.text = [NSString fus_localString:@"点击进入"];
[_tipsLabel sizeToFit]; [_tipsLabel sizeToFit];
_tipsLabel.x = self.width - _tipsLabel.width - 12; _tipsLabel.x = self.width - _tipsLabel.width - 12;
_tipsLabel.y = self.height - _tipsLabel.height - 8; _tipsLabel.y = self.height - _tipsLabel.height - 8;
......
...@@ -360,11 +360,11 @@ extension FUSLiveChatInputToolAlertView: UICollectionViewDelegate, UICollectionV ...@@ -360,11 +360,11 @@ extension FUSLiveChatInputToolAlertView: UICollectionViewDelegate, UICollectionV
cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_normal"), for: .normal) cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_normal"), for: .normal)
cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_normal"), for: .highlighted) cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_normal"), for: .highlighted)
case .password: case .password:
cell.titleLabel.text = .fus_versionLocalString("私享屋") cell.titleLabel.text = .fus_localString("私享屋")
cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_password"), for: .normal) cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_password"), for: .normal)
cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_password"), for: .highlighted) cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_password"), for: .highlighted)
case .pay: case .pay:
cell.titleLabel.text = .fus_versionLocalString("付费屋") cell.titleLabel.text = .fus_localString("付费屋")
cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_pay"), for: .normal) cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_pay"), for: .normal)
cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_pay"), for: .highlighted) cell.iconImageBtn.setImage(FUSShowRoomCenterBunble.imageNamed("live_RoomScope_pay"), for: .highlighted)
default: default:
...@@ -437,20 +437,12 @@ extension FUSLiveBottomToolType{ ...@@ -437,20 +437,12 @@ extension FUSLiveBottomToolType{
return .fus_localString("小窗播放") return .fus_localString("小窗播放")
case FUSLiveBottomToolTypeLiveSetting: case FUSLiveBottomToolTypeLiveSetting:
return .fus_localString("直播设置") return .fus_localString("直播设置")
// case FUSLiveBottomToolTypeNovaBuild:
// return .fus_localString("新星养成")
case FUSLiveBottomToolTypeRoomScope: case FUSLiveBottomToolTypeRoomScope:
return .fus_localString("全公开") return .fus_localString("全公开")
case FUSLiveBottomToolTypeMessage: case FUSLiveBottomToolTypeMessage:
return .fus_localString("聊天") return .fus_localString("聊天")
return .fus_versionLocalString("PK")
case FUSLiveBottomToolTypeShowTime: case FUSLiveBottomToolTypeShowTime:
return .fus_versionLocalString("限时表演") return .fus_localString("限时表演")
// case FUSLiveBottomToolTypeLuckWheel:
// return .fus_versionLocalString("转盘")
// case FUSLiveBottomToolTypeOpenRoom:
// return .fus_versionLocalString("公开房")
case FUSLiveBottomToolTypePK: case FUSLiveBottomToolTypePK:
return .fus_localString("PK") return .fus_localString("PK")
case FUSLiveBottomToolTypeBeautySticker: case FUSLiveBottomToolTypeBeautySticker:
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
case FUSMyZoneNewsFeedTabTypeLike: case FUSMyZoneNewsFeedTabTypeLike:
return [NSString fus_localString:@"点赞"]; return [NSString fus_localString:@"点赞"];
case FUSMyZoneNewsFeedTabTypeSubscribe: case FUSMyZoneNewsFeedTabTypeSubscribe:
return [NSString fus_versionLocalString:@"订阅"]; return [NSString fus_localString:@"订阅"];
} }
} }
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
self.subscribeButton.titleLabel.font = [UIFont fus_themeBoldFont:16]; self.subscribeButton.titleLabel.font = [UIFont fus_themeBoldFont:16];
self.subscribeButton.backgroundColor = [UIColor colorWithWhite:0 alpha:0.12]; self.subscribeButton.backgroundColor = [UIColor colorWithWhite:0 alpha:0.12];
[self.subscribeButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal]; [self.subscribeButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
[self.subscribeButton setTitle:[NSString stringWithFormat:@" %@",[NSString fus_versionLocalString:@"未开启订阅"]] forState:UIControlStateNormal]; [self.subscribeButton setTitle:[NSString stringWithFormat:@" %@",[NSString fus_localString:@"未开启订阅"]] forState:UIControlStateNormal];
[self.subscribeButton setImage:[FUSUserCenterBunble imageNamed:@"zone_subscribe_info_subscribeBtn_off"] forState:UIControlStateNormal]; [self.subscribeButton setImage:[FUSUserCenterBunble imageNamed:@"zone_subscribe_info_subscribeBtn_off"] forState:UIControlStateNormal];
self.subscribeButton.layer.cornerRadius = 26.0; self.subscribeButton.layer.cornerRadius = 26.0;
self.subscribeButton.layer.masksToBounds = YES; self.subscribeButton.layer.masksToBounds = YES;
...@@ -170,13 +170,13 @@ ...@@ -170,13 +170,13 @@
// 他人的空间或者sh都是未开启 // 他人的空间或者sh都是未开启
self.subscribeButton.backgroundColor = [UIColor colorWithWhite:0 alpha:0.12]; self.subscribeButton.backgroundColor = [UIColor colorWithWhite:0 alpha:0.12];
[self.subscribeButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal]; [self.subscribeButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
[self.subscribeButton setTitle:[NSString stringWithFormat:@" %@",[NSString fus_versionLocalString:@"未开启订阅"]] forState:UIControlStateNormal]; [self.subscribeButton setTitle:[NSString stringWithFormat:@" %@",[NSString fus_localString:@"未开启订阅"]] forState:UIControlStateNormal];
[self.subscribeButton setImage:[FUSUserCenterBunble imageNamed:@"zone_subscribe_info_subscribeBtn_off"] forState:UIControlStateNormal]; [self.subscribeButton setImage:[FUSUserCenterBunble imageNamed:@"zone_subscribe_info_subscribeBtn_off"] forState:UIControlStateNormal];
} }
else { else {
self.subscribeButton.backgroundColor = [UIColor fus_themeColor]; self.subscribeButton.backgroundColor = [UIColor fus_themeColor];
[self.subscribeButton setTitleColor:[UIColor fus_textColorRich] forState:UIControlStateNormal]; [self.subscribeButton setTitleColor:[UIColor fus_textColorRich] forState:UIControlStateNormal];
[self.subscribeButton setTitle:[NSString stringWithFormat:@"%@",[NSString fus_versionLocalString:@"点击开启订阅"]] forState:UIControlStateNormal]; [self.subscribeButton setTitle:[NSString stringWithFormat:@"%@",[NSString fus_localString:@"点击开启订阅"]] forState:UIControlStateNormal];
[self.subscribeButton setImage:nil forState:UIControlStateNormal]; [self.subscribeButton setImage:nil forState:UIControlStateNormal];
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment