diff --git a/YuMi/Modules/YMRoom/View/MenuContainerView/MSRoomMenuGameVC.m b/YuMi/Modules/YMRoom/View/MenuContainerView/MSRoomMenuGameVC.m index d06dd82e..55819fcc 100644 --- a/YuMi/Modules/YMRoom/View/MenuContainerView/MSRoomMenuGameVC.m +++ b/YuMi/Modules/YMRoom/View/MenuContainerView/MSRoomMenuGameVC.m @@ -126,19 +126,18 @@ -(void)ms_didSelectLittleGameItemAtIndexPath:(LittleGameInfoModel *)model { if (self.hostDelegate.isManagerOrOwner) { @kWeakify(self); - [TTPopup alertWithMessage:@"确认开启游戏?" confirmHandler:^{ + [TTPopup alertWithMessage:YMLocalizedString(@"MSRoomMenuGameVC0") confirmHandler:^{ @kStrongify(self); [self startLittleGameWith:model]; } cancelHandler:^{}]; } else { - [XNDJTDDLoadingTool showErrorWithMessage:@"无权发起该游戏,请联系房主或管理员~"]; + [XNDJTDDLoadingTool showErrorWithMessage:YMLocalizedString(@"MSRoomMenuGameVC1")]; } } - (void)startLittleGameWith:(LittleGameInfoModel *)model { RoomInfoModel * roomInfo = self.hostDelegate.getRoomInfo; NSMutableDictionary * params = [NSMutableDictionary dictionary]; - NSString * uid = [AccountInfoStorage instance].getUid; NSString * ticket = [AccountInfoStorage instance].getTicket; [params setObject:ticket forKey:@"ticket"]; [params setObject:@(roomInfo.uid).stringValue forKey:@"uid"]; diff --git a/YuMi/ar.lproj/Localizable.strings b/YuMi/ar.lproj/Localizable.strings index e2f62d7b..4bdcd654 100644 --- a/YuMi/ar.lproj/Localizable.strings +++ b/YuMi/ar.lproj/Localizable.strings @@ -3832,3 +3832,6 @@ ineHeadView12" = "الحمل"; "MSRoomGameVC1"="المحفظة"; //XPMineAccountView "XPMineAccountView1"="أدخل بسرعة لإعادة الشحن"; +//MSRoomMenuGameVC +"MSRoomMenuGameVC0"="تأكيد لبدء اللعبة؟"; +"MSRoomMenuGameVC1"="ليس لديك إذن بتشغيل هذه اللعبة، يرجى التواصل بصاحب أومشرف الغرفة ~"; diff --git a/YuMi/en.lproj/Localizable.strings b/YuMi/en.lproj/Localizable.strings index 70e3bfeb..74daaab2 100644 --- a/YuMi/en.lproj/Localizable.strings +++ b/YuMi/en.lproj/Localizable.strings @@ -3633,3 +3633,6 @@ "MSRoomGameVC1"="Wallet"; //XPMineAccountView "XPMineAccountView1"="Quick access to recharge"; +//MSRoomMenuGameVC +"MSRoomMenuGameVC0"="Confirm to start the game?"; +"MSRoomMenuGameVC1"="You do not have the right to start this game, please contact the room owner or administrator~"; diff --git a/YuMi/zh-Hans.lproj/Localizable.strings b/YuMi/zh-Hans.lproj/Localizable.strings index 2a826b26..641d0e36 100644 --- a/YuMi/zh-Hans.lproj/Localizable.strings +++ b/YuMi/zh-Hans.lproj/Localizable.strings @@ -3295,5 +3295,6 @@ //XPMineAccountView "XPMineAccountView1"="快速进入充值"; - - +//MSRoomMenuGameVC +"MSRoomMenuGameVC0"="确认开启游戏?"; +"MSRoomMenuGameVC1"="无权发起该游戏,请联系房主或管理员~"; diff --git a/YuMi/zh-Hant.lproj/Localizable.strings b/YuMi/zh-Hant.lproj/Localizable.strings index aed1843f..6ed00ce8 100644 --- a/YuMi/zh-Hant.lproj/Localizable.strings +++ b/YuMi/zh-Hant.lproj/Localizable.strings @@ -3285,3 +3285,6 @@ //XPMineAccountView "XPMineAccountView1"="快速進入充值"; +//MSRoomMenuGameVC +"MSRoomMenuGameVC0"="確認開啟遊戲?"; +"MSRoomMenuGameVC1"="無權發起該遊戲,請聯系房主或管理員~";