diff --git a/SodaLive/Sources/I18n/I18n.swift b/SodaLive/Sources/I18n/I18n.swift index 76b10f2..de7ef87 100644 --- a/SodaLive/Sources/I18n/I18n.swift +++ b/SodaLive/Sources/I18n/I18n.swift @@ -730,6 +730,16 @@ enum I18n { static var participants: String { pick(ko: "참여자", en: "Participants", ja: "リスナー") } } + enum LiveNow { + static var allTitle: String { + pick(ko: "지금 라이브 중 전체보기", en: "Live Now - All", ja: "ライブ配信中(全て)") + } + + static var remaining: String { + pick(ko: "잔여", en: "Remaining", ja: "残り") + } + } + enum LiveCancel { static var reasonPlaceholder: String { pick( diff --git a/SodaLive/Sources/Live/Now/All/LiveNowAllItemView.swift b/SodaLive/Sources/Live/Now/All/LiveNowAllItemView.swift index 03aecc9..1b428af 100644 --- a/SodaLive/Sources/Live/Now/All/LiveNowAllItemView.swift +++ b/SodaLive/Sources/Live/Now/All/LiveNowAllItemView.swift @@ -43,7 +43,7 @@ struct LiveNowAllItemView: View { Image("ic_can_white") } - Text(item.price > 0 ? "\(item.price)" : "무료") + Text(item.price > 0 ? "\(item.price)" : I18n.CreateContent.free) .appFont(size: 12, weight: .medium) .foregroundColor(Color.white) } @@ -73,7 +73,7 @@ struct LiveNowAllItemView: View { Spacer() HStack(spacing: 2) { - Text("잔여") + Text(I18n.LiveNow.remaining) .appFont(size: 12, weight: .medium) .foregroundColor(Color.grayee) @@ -141,7 +141,7 @@ struct LiveNowAllItemView_Previews: PreviewProvider { coverImageUrl: "https://test-cf.sodalive.net/profile/default-profile.png", isAdult: true, price: 20, - tags: ["팬미팅", "힐링"], + tags: ["fanmeeting", "healing"], channelName: nil, creatorProfileImage: "https://test-cf.sodalive.net/profile/default-profile.png", creatorNickname: "user8", diff --git a/SodaLive/Sources/Live/Now/All/LiveNowAllView.swift b/SodaLive/Sources/Live/Now/All/LiveNowAllView.swift index 1a7d706..586191f 100644 --- a/SodaLive/Sources/Live/Now/All/LiveNowAllView.swift +++ b/SodaLive/Sources/Live/Now/All/LiveNowAllView.swift @@ -26,7 +26,7 @@ struct LiveNowAllView: View { BaseView(isLoading: $viewModel.isLoading) { GeometryReader { proxy in VStack(spacing: 0) { - DetailNavigationBar(title: "지금 라이브 중 전체보기") + DetailNavigationBar(title: I18n.LiveNow.allTitle) RefreshableScrollView( refreshing: $viewModel.isRefresh,