feat(i18n): 라이브 룸 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-04-01 13:52:02 +09:00
parent 540238eb48
commit bceec46ebc
36 changed files with 571 additions and 324 deletions

View File

@@ -35,7 +35,7 @@ struct LiveRoomProfilesDialogView: View {
self.profiles.append(
AnyView(
LiveRoomProfileItemTitleView(
title: "스탭",
title: I18n.CreateLive.staffTitle,
count: roomInfo.managerList.count,
totalCount: nil
)
@@ -71,7 +71,7 @@ struct LiveRoomProfilesDialogView: View {
self.profiles.append(
AnyView(
LiveRoomProfileItemTitleView(
title: "스피커",
title: I18n.CreateLive.speakerTitle,
count: roomInfo.speakerList.count - 1,
totalCount: roomInfo.totalAvailableParticipantsCount
)
@@ -127,7 +127,7 @@ struct LiveRoomProfilesDialogView: View {
self.profiles.append(
AnyView(
LiveRoomProfileItemTitleView(
title: "리스너",
title: I18n.CreateLive.listenerTitle,
count: nil,
totalCount: nil
)
@@ -150,10 +150,10 @@ struct LiveRoomProfilesDialogView: View {
onClickInviteSpeaker: {
if viewModel.liveRoomInfo!.speakerList.count <= 5 {
viewModel.inviteSpeaker(peerId: $0)
viewModel.popupContent = "스피커 요청을 보냈습니다.\n잠시만 기다려 주세요."
viewModel.popupContent = I18n.CreateLive.speakerRequestSent
viewModel.isShowPopup = true
} else {
viewModel.errorMessage = "스피커 정원을 초과했습니다."
viewModel.errorMessage = I18n.CreateLive.speakerCapacityExceeded
viewModel.isShowErrorPopup = true
}
},
@@ -173,7 +173,7 @@ struct LiveRoomProfilesDialogView: View {
ZStack {
VStack(spacing: 16.7) {
HStack(spacing: 0) {
Text("참여자")
Text(I18n.CreateLive.participantTitle)
.appFont(size: 15, weight: .bold)
.foregroundColor(Color.grayee)