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

@@ -17,7 +17,7 @@ struct LiveRoomNewChatView: View {
HStack(spacing: 6.7) {
Image("ic_bottom_white")
Text("새로운 채팅")
Text(I18n.CreateLive.newChatLabel)
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.grayee)
}

View File

@@ -17,7 +17,7 @@ struct LiveRoomInputChatView: View {
var body: some View {
HStack(spacing: 6.7) {
ChatTextFieldView(text: $chatMessage, placeholder: "채팅을 입력하세요", isEnabled: !isInputDisabled) {
ChatTextFieldView(text: $chatMessage, placeholder: I18n.LiveRoom.chatInputPlaceholder, isEnabled: !isInputDisabled) {
if sendMessage(chatMessage) {
chatMessage = ""
}

View File

@@ -56,7 +56,7 @@ struct LiveRoomViewV2: View {
}
if viewModel.isNoChatting {
return "\(viewModel.remainingNoChattingTime)초 동안 채팅하실 수 없습니다"
return I18n.CreateLive.remainingNoChattingMessage(viewModel.remainingNoChattingTime)
}
return I18n.LiveRoom.chatFreezeBlockedMessage
@@ -494,7 +494,7 @@ struct LiveRoomViewV2: View {
.padding(.leading, 13.3)
VStack(alignment: .leading, spacing: 8) {
Text("[방송공지]")
Text(I18n.CreateLive.noticeTag)
.appFont(size: 11.3, weight: .bold)
.foregroundColor(.white)
@@ -529,7 +529,7 @@ struct LiveRoomViewV2: View {
ScrollView(.vertical) {
VStack(alignment: .leading, spacing: 8) {
Text("[메뉴판]")
Text(I18n.CreateLive.menuTag)
.appFont(size: 11.3, weight: .bold)
.foregroundColor(.white)
@@ -1104,10 +1104,10 @@ struct LiveRoomViewV2: View {
private func inviteSpeaker(peerId: Int) {
if viewModel.liveRoomInfo!.speakerList.count <= 5 {
viewModel.inviteSpeaker(peerId: peerId)
self.viewModel.popupContent = "스피커 요청을 보냈습니다.\n잠시만 기다려 주세요."
self.viewModel.popupContent = I18n.CreateLive.speakerRequestSent
self.viewModel.isShowPopup = true
} else {
viewModel.popupContent = "스피커 정원을 초과했습니다."
viewModel.popupContent = I18n.CreateLive.speakerCapacityExceeded
viewModel.isShowPopup = true
}
}