feat(i18n): 라이브 룸 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -28,7 +28,7 @@ struct RouletteSettingsView: View {
|
||||
GeometryReader { proxy in
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: String(localized: "룰렛 설정")) {
|
||||
DetailNavigationBar(title: I18n.CreateLive.rouletteSettingsTitle) {
|
||||
isShowing = false
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ struct RouletteSettingsView: View {
|
||||
|
||||
if availableActive {
|
||||
HStack(spacing: 0) {
|
||||
Text("룰렛을 활성화 하시겠습니까?")
|
||||
Text(I18n.CreateLive.rouletteActivatePrompt)
|
||||
.appFont(size: 16, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -90,12 +90,12 @@ struct RouletteSettingsView: View {
|
||||
}
|
||||
|
||||
VStack(alignment: .leading, spacing: 13.3) {
|
||||
Text("룰렛 금액 설정")
|
||||
Text(I18n.CreateLive.rouletteCanSettingTitle)
|
||||
.appFont(size: 16, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
HStack(spacing: 8) {
|
||||
TextField("룰렛 금액을 입력해 주세요 (최소 5캔)", text: Binding(
|
||||
TextField(I18n.CreateLive.rouletteCanPlaceholder, text: Binding(
|
||||
get: {
|
||||
self.viewModel.canText
|
||||
},
|
||||
@@ -117,7 +117,7 @@ struct RouletteSettingsView: View {
|
||||
|
||||
Spacer()
|
||||
|
||||
Text("캔")
|
||||
Text(I18n.CreateLive.canUnit)
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
}
|
||||
@@ -126,12 +126,12 @@ struct RouletteSettingsView: View {
|
||||
.id("roulette_can_input")
|
||||
|
||||
VStack(alignment: .leading, spacing: 21.3) {
|
||||
Text("룰렛 옵션 설정")
|
||||
Text(I18n.CreateLive.rouletteOptionSettingTitle)
|
||||
.appFont(size: 16, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("※ 룰렛 옵션은 최소 2개,\n최대 10개까지 설정할 수 있습니다.")
|
||||
Text(I18n.CreateLive.rouletteOptionLimitNotice)
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.mainRed)
|
||||
|
||||
@@ -144,7 +144,7 @@ struct RouletteSettingsView: View {
|
||||
.padding(.top, 26.7)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("옵션 확률 합계")
|
||||
Text(I18n.CreateLive.rouletteProbabilitySum)
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
@@ -186,7 +186,7 @@ struct RouletteSettingsView: View {
|
||||
Spacer()
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
Text("미리보기")
|
||||
Text(I18n.CreateLive.roulettePreviewAction)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.vertical, 16)
|
||||
@@ -200,7 +200,7 @@ struct RouletteSettingsView: View {
|
||||
viewModel.onClickPreview()
|
||||
}
|
||||
|
||||
Text("설정완료")
|
||||
Text(I18n.CreateLive.rouletteCompleteAction)
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 16)
|
||||
@@ -232,7 +232,7 @@ struct RouletteSettingsView: View {
|
||||
if let preview = viewModel.previewData, viewModel.isShowPreview {
|
||||
RoulettePreviewDialog(
|
||||
isShowing: $viewModel.isShowPreview,
|
||||
title: "룰렛 미리보기",
|
||||
title: I18n.CreateLive.roulettePreviewTitle,
|
||||
onClickSpin: nil,
|
||||
previewList: [preview]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user