라이브 생성 문구를 I18n으로 이동한다
라이브 생성 화면 문구를 다국어 리소스로 통합한다.\n공지 입력 검증을 5자 이상으로 적용한다.
This commit is contained in:
@@ -161,10 +161,10 @@ struct LiveRoomCreateView: View {
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
SelectedButtonView(title: "가능", isActive: true, isSelected: viewModel.isAvailableJoinCreator)
|
||||
SelectedButtonView(title: I18n.CreateLive.joinAllowed, isActive: true, isSelected: viewModel.isAvailableJoinCreator)
|
||||
.onTapGesture { viewModel.isAvailableJoinCreator = true }
|
||||
|
||||
SelectedButtonView(title: "불가능", isActive: true, isSelected: !viewModel.isAvailableJoinCreator)
|
||||
SelectedButtonView(title: I18n.CreateLive.joinNotAllowed, isActive: true, isSelected: !viewModel.isAvailableJoinCreator)
|
||||
.onTapGesture { viewModel.isAvailableJoinCreator = false }
|
||||
}
|
||||
}
|
||||
@@ -374,7 +374,7 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
TextViewWrapper(
|
||||
text: $viewModel.content,
|
||||
placeholder: viewModel.placeholder,
|
||||
placeholder: I18n.CreateLive.noticePlaceholder,
|
||||
textColorHex: "eeeeee",
|
||||
backgroundColorHex: "303030"
|
||||
)
|
||||
@@ -394,13 +394,13 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
TimeSettingSelectButton(
|
||||
title: "지금 즉시",
|
||||
title: I18n.CreateLive.startNow,
|
||||
timeSettingMode: .NOW,
|
||||
buttonWidth: (screenSize().width - 40) / 2
|
||||
)
|
||||
|
||||
TimeSettingSelectButton(
|
||||
title: "예약 설정",
|
||||
title: I18n.CreateLive.schedule,
|
||||
timeSettingMode: .RESERVATION,
|
||||
buttonWidth: (screenSize().width - 40) / 2
|
||||
)
|
||||
@@ -587,13 +587,13 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
RoomTypeSelectButton(
|
||||
title: "공개",
|
||||
title: I18n.CreateLive.publicRoom,
|
||||
type: .OPEN,
|
||||
buttonWidth: (screenSize().width - 40) / 2
|
||||
)
|
||||
|
||||
RoomTypeSelectButton(
|
||||
title: "비공개",
|
||||
title: I18n.CreateLive.privateRoom,
|
||||
type: .PRIVATE,
|
||||
buttonWidth: (screenSize().width - 40) / 2
|
||||
)
|
||||
@@ -663,13 +663,13 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
AdultSettingSelectButton(
|
||||
title: "전체 연령",
|
||||
title: I18n.CreateLive.allAges,
|
||||
isAdult: false,
|
||||
buttonWidth: (screenSize().width - 40) / 2
|
||||
)
|
||||
|
||||
AdultSettingSelectButton(
|
||||
title: "19세 이상",
|
||||
title: I18n.CreateLive.over19,
|
||||
isAdult: true,
|
||||
buttonWidth: (screenSize().width - 40) / 2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user