보관함 문자열 국제화 적용
This commit is contained in:
@@ -27,5 +27,5 @@ struct ContentBoxTabView: View {
|
||||
}
|
||||
|
||||
#Preview {
|
||||
ContentBoxTabView(title: "재생목록", isSelected: false)
|
||||
ContentBoxTabView(title: I18n.ContentBox.tabPlaylist, isSelected: false)
|
||||
}
|
||||
|
||||
@@ -23,12 +23,12 @@ struct ContentBoxView: View {
|
||||
ZStack {
|
||||
NavigationView {
|
||||
VStack(spacing: 13.3) {
|
||||
DetailNavigationBar(title: "내 보관함")
|
||||
DetailNavigationBar(title: I18n.ContentBox.title)
|
||||
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
HStack(spacing: 12) {
|
||||
ContentBoxTabView(
|
||||
title: "구매목록",
|
||||
title: I18n.ContentBox.tabOrderList,
|
||||
isSelected: viewModel.currentTab == .orderlist
|
||||
)
|
||||
.onTapGesture {
|
||||
@@ -38,7 +38,7 @@ struct ContentBoxView: View {
|
||||
}
|
||||
|
||||
ContentBoxTabView(
|
||||
title: "재생목록",
|
||||
title: I18n.ContentBox.tabPlaylist,
|
||||
isSelected: viewModel.currentTab == .playlist
|
||||
)
|
||||
.onTapGesture {
|
||||
|
||||
@@ -139,6 +139,19 @@ enum I18n {
|
||||
)
|
||||
}
|
||||
}
|
||||
enum ContentBox {
|
||||
static var title: String {
|
||||
pick(ko: "내 보관함", en: "My Library", ja: "マイライブラリ")
|
||||
}
|
||||
|
||||
static var tabOrderList: String {
|
||||
pick(ko: "구매목록", en: "Purchases", ja: "購入一覧")
|
||||
}
|
||||
|
||||
static var tabPlaylist: String {
|
||||
pick(ko: "재생목록", en: "Playlists", ja: "プレイリスト")
|
||||
}
|
||||
}
|
||||
enum CharacterDetailGallery {
|
||||
static var purchaseConfirmTitle: String {
|
||||
pick(ko: "구매 확인", en: "Confirmation", ja: "購入確認")
|
||||
|
||||
Reference in New Issue
Block a user