라이브 전체보기 국제화
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user