From 0a40bdbee8393c15ebea3bacc61fec8f6696f9d4 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 23 Jan 2026 06:01:13 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B4=EA=B4=80=ED=95=A8=20=EB=AC=B8?= =?UTF-8?q?=EC=9E=90=EC=97=B4=20=EA=B5=AD=EC=A0=9C=ED=99=94=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/Content/Box/ContentBoxTabView.swift | 2 +- SodaLive/Sources/Content/Box/ContentBoxView.swift | 6 +++--- SodaLive/Sources/I18n/I18n.swift | 13 +++++++++++++ 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/SodaLive/Sources/Content/Box/ContentBoxTabView.swift b/SodaLive/Sources/Content/Box/ContentBoxTabView.swift index 13c4369..2d1e688 100644 --- a/SodaLive/Sources/Content/Box/ContentBoxTabView.swift +++ b/SodaLive/Sources/Content/Box/ContentBoxTabView.swift @@ -27,5 +27,5 @@ struct ContentBoxTabView: View { } #Preview { - ContentBoxTabView(title: "재생목록", isSelected: false) + ContentBoxTabView(title: I18n.ContentBox.tabPlaylist, isSelected: false) } diff --git a/SodaLive/Sources/Content/Box/ContentBoxView.swift b/SodaLive/Sources/Content/Box/ContentBoxView.swift index 1ee447c..6118d1a 100644 --- a/SodaLive/Sources/Content/Box/ContentBoxView.swift +++ b/SodaLive/Sources/Content/Box/ContentBoxView.swift @@ -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 { diff --git a/SodaLive/Sources/I18n/I18n.swift b/SodaLive/Sources/I18n/I18n.swift index 41c9c92..424de77 100644 --- a/SodaLive/Sources/I18n/I18n.swift +++ b/SodaLive/Sources/I18n/I18n.swift @@ -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: "購入確認")