添加翻译

This commit is contained in:
18401019693 2023-07-05 18:15:18 +08:00
parent 9081ba4cd6
commit addab80997
4 changed files with 14 additions and 9 deletions

View File

@ -1230,7 +1230,7 @@
<string name="send_red_packet_illustrate7">4.未被領取的紅包如何處理?</string>
<string name="send_red_packet_illustrate8">紅包打開后未被領取,以及主播下播后未打開的紅包,會退回您的賬戶</string>
<string name="send_red_packet_illustrate9">5.搶到的紅包能幹嘛?</string>
<string name="send_red_packet_illustrate10">搶到紅包所得金豆可用於平臺一切金豆行爲,不轉增,不可體現</string>
<string name="send_red_packet_illustrate10">搶到紅包所得金豆可用於平臺一切金豆行爲,不轉增,不可體現</string>
<string name="congratulations_on_getting_the_red_envelope">恭喜搶到紅包</string>
<string name="cred_envelope_obtained">獲得%s</string>
<string name="view_lucky_viewers">查看幸運觀衆></string>

View File

@ -1229,7 +1229,7 @@
<string name="send_red_packet_illustrate7">4.未被領取的紅包如何處理?</string>
<string name="send_red_packet_illustrate8">紅包打開后未被領取,以及主播下播后未打開的紅包,會退回您的賬戶</string>
<string name="send_red_packet_illustrate9">5.搶到的紅包能幹嘛?</string>
<string name="send_red_packet_illustrate10">搶到紅包所得金豆可用於平臺一切金豆行爲,不轉增,不可體現</string>
<string name="send_red_packet_illustrate10">搶到紅包所得金豆可用於平臺一切金豆行爲,不轉增,不可體現</string>
<string name="congratulations_on_getting_the_red_envelope">恭喜搶到紅包</string>
<string name="cred_envelope_obtained">獲得%s</string>
<string name="view_lucky_viewers">查看幸運觀衆></string>

View File

@ -1230,7 +1230,7 @@
<string name="send_red_packet_illustrate7">4.未被領取的紅包如何處理?</string>
<string name="send_red_packet_illustrate8">紅包打開后未被領取,以及主播下播后未打開的紅包,會退回您的賬戶</string>
<string name="send_red_packet_illustrate9">5.搶到的紅包能幹嘛?</string>
<string name="send_red_packet_illustrate10">搶到紅包所得金豆可用於平臺一切金豆行爲,不轉增,不可體現</string>
<string name="send_red_packet_illustrate10">搶到紅包所得金豆可用於平臺一切金豆行爲,不轉增,不可體現</string>
<string name="congratulations_on_getting_the_red_envelope">恭喜搶到紅包</string>
<string name="cred_envelope_obtained">獲得%s</string>
<string name="view_lucky_viewers">查看幸運觀衆></string>

View File

@ -69,7 +69,6 @@ import com.yunbao.common.utils.LogUtil;
import com.yunbao.common.utils.MicStatusManager;
import com.yunbao.common.utils.StringUtil;
import com.yunbao.common.utils.ToastUtil;
import com.yunbao.common.utils.WordUtil;
import com.yunbao.common.views.LiveNewWishListPopup;
import com.yunbao.common.views.LiveRobotSettingCustomPopup;
import com.yunbao.faceunity.FaceManager;
@ -801,7 +800,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
mLiveAnchorViewHolder.startAnchorLiveTime();
}
mLiveBottomViewHolder = mLiveAnchorViewHolder;
mSocketRyClient = new SocketRyClient(mLiveUid, this,mContext);
mSocketRyClient = new SocketRyClient(mLiveUid, this, mContext);
mSocketRyClient.setLivePushRyViewHolder(mLivePushViewHolder);
CommonAppContext.Ingroup = 1;
@ -863,7 +862,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
* 关闭直播
*/
public void closeLive() {
DialogUitl.showSimpleDialog(mContext,mContext.getString(R.string.live_end_live), new DialogUitl.SimpleCallback() {
DialogUitl.showSimpleDialog(mContext, mContext.getString(R.string.live_end_live), new DialogUitl.SimpleCallback() {
@Override
public void onConfirmClick(Dialog dialog, String content) {
PKing = false;
@ -992,7 +991,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
@Override
public Dialog createLoadingDialog() {
return DialogUitl.loadingDialog(mContext,mContext.getString(R.string.live_end_ing));
return DialogUitl.loadingDialog(mContext, mContext.getString(R.string.live_end_ing));
}
});
}
@ -1124,7 +1123,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
@Override
public void onSuperCloseLive() {
endLive();
DialogUitl.showSimpleTipDialog(mContext,mContext.getString(R.string.live_illegal));
DialogUitl.showSimpleTipDialog(mContext, mContext.getString(R.string.live_illegal));
}
@Subscribe(threadMode = ThreadMode.MAIN)
@ -1495,7 +1494,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
mLiveRoomViewHolder.showGiftMessage(bean, false);
mLiveRoomViewHolder.updataWishList(bean.getGiftId(), bean.getGiftCount());
}
}else {
} else {
//购买守护
if (bean.ismTypeBuyGuard()) {
if (mLiveRoomViewHolder != null) {
@ -1649,6 +1648,12 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
mLiveRoomViewHolder.redPacketManage(event.getRedPacketModel());
}
break;
case BLIND_BOX:
if (mLiveRoomViewHolder != null) {
if (event.getAllServerNotifyEvent().isRedPacket())
mLiveRoomViewHolder.blindBoxAllServerNotify(event.getAllServerNotifyEvent());
}
break;
}
}