多语言切换

This commit is contained in:
18401019693 2023-04-18 14:51:26 +08:00
parent d0e2278df7
commit 293c9dcf9e
9 changed files with 14 additions and 5 deletions

View File

@ -1137,4 +1137,6 @@ Limited ride And limited avatar frame</string>
<string name="chat_prompt9">New activity, system message</string>
<string name="chat_prompt10">Broadcast notice</string>
<string name="chat_prompt11">Get live notification after opening</string>
<string name="PK_Ladder_Race">PK Ladder Race</string>
<string name="party_studio">Confirm whether to go to the other party\'s studio</string>
</resources>

View File

@ -1132,4 +1132,6 @@
<string name="chat_prompt9">新活動、系統消息</string>
<string name="chat_prompt10">開播通知</string>
<string name="chat_prompt11">開啟後獲得直播通知</string>
<string name="PK_Ladder_Race">PK天梯赛</string>
<string name="party_studio">是否確認前往對方直播間?</string>
</resources>

View File

@ -1132,4 +1132,5 @@
<string name="chat_prompt9">新活動、系統消息</string>
<string name="chat_prompt10">開播通知</string>
<string name="chat_prompt11">開啟後獲得直播通知</string>
<string name="PK_Ladder_Race">PK天梯赛</string>
</resources>

View File

@ -1132,4 +1132,6 @@
<string name="chat_prompt9">新活動、系統消息</string>
<string name="chat_prompt10">開播通知</string>
<string name="chat_prompt11">開啟後獲得直播通知</string>
<string name="PK_Ladder_Race">PK天梯赛</string>
<string name="party_studio">是否確認前往對方直播間?</string>
</resources>

View File

@ -1136,5 +1136,7 @@ Limited ride And limited avatar frame</string>
<string name="chat_prompt8">System notification</string>
<string name="chat_prompt9">New activity, system message</string>
<string name="chat_prompt10">Broadcast notice</string>
<string name="PK_Ladder_Race">PK Ladder Race</string>
<string name="chat_prompt11">Get live notification after opening</string>
<string name="party_studio">Confirm whether to go to the other party\'s studio</string>
</resources>

View File

@ -9,9 +9,9 @@ ext {
]
manifestPlaceholders = [
//
// serverHost : "https://napi.yaoulive.com",
serverHost : "https://napi.yaoulive.com",
//
serverHost : "https://ceshi.yaoulive.com",
// serverHost : "https://ceshi.yaoulive.com",
//
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",

View File

@ -589,7 +589,7 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
private void gotoLive(String live_id) {
DialogUitl.showSimpleDialog(mContext, "是否確認前往對方直播間?", new DialogUitl.SimpleCallback() {
DialogUitl.showSimpleDialog(mContext, mContext.getString(R.string.party_studio), new DialogUitl.SimpleCallback() {
@Override
public void onConfirmClick(Dialog dialog, String content) {
LiveUserDialogFragment.this.dismiss();

View File

@ -2054,7 +2054,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
mPkRankText.setLayoutParams(textParams);
mPkRankText.setGravity(Gravity.START);
ImgLoader.display(mContext, bean.getVsImgUrl(), titleIcon);
titleText.setText("PK天梯赛");
titleText.setText(R.string.PK_Ladder_Race);
titleText.setLayoutParams(textParams);
titleIcon.setLayoutParams(params);
mPkRankIcon.setLayoutParams(params);

View File

@ -8,7 +8,7 @@
android:id="@+id/rootView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"/>
android:orientation="vertical" />
<ProgressBar
android:id="@+id/progressbar"