From e035e57fc2e3ac161ebd3ce11d5665579559c5b5 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 19 Dec 2025 16:16:07 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=EC=9D=98=20=EC=84=B9=EC=85=98=20=EC=A0=9C=EB=AA=A9=20?= =?UTF-8?q?=EB=8B=A4=EA=B5=AD=EC=96=B4=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Content/Detail/ContentDetailView.swift | 4 ++-- SodaLive/Sources/I18n/I18n.swift | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/SodaLive/Sources/Content/Detail/ContentDetailView.swift b/SodaLive/Sources/Content/Detail/ContentDetailView.swift index cc71a8e..fe30a68 100644 --- a/SodaLive/Sources/Content/Detail/ContentDetailView.swift +++ b/SodaLive/Sources/Content/Detail/ContentDetailView.swift @@ -182,7 +182,7 @@ struct ContentDetailView: View { } ContentDetailOtherContentView( - title: "크리에이터의 다른 콘텐츠", + title: I18n.ContentDetail.creatorOtherContents, items: audioContent.creatorOtherContentList, onClickItem: { viewModel.contentId = $0 } ) @@ -195,7 +195,7 @@ struct ContentDetailView: View { .padding(.top, 24) ContentDetailOtherContentView( - title: "테마의 다른 콘텐츠", + title: I18n.ContentDetail.themeOtherContents, items: audioContent.sameThemeOtherContentList, onClickItem: { viewModel.contentId = $0 } ) diff --git a/SodaLive/Sources/I18n/I18n.swift b/SodaLive/Sources/I18n/I18n.swift index 22ae754..b2917d6 100644 --- a/SodaLive/Sources/I18n/I18n.swift +++ b/SodaLive/Sources/I18n/I18n.swift @@ -11,6 +11,23 @@ import Foundation // String Catalog를 사용하지 않는 컨텍스트에서 사용할 하드코딩 맵 기반 i18n. // 기준 언어 선택은 LanguageHeaderProvider.current("ko"|"en"|"ja"). enum I18n { + enum ContentDetail { + static var creatorOtherContents: String { + pick( + ko: "크리에이터의 다른 콘텐츠", + en: "More from this creator", + ja: "このクリエイターの他のコンテンツ" + ) + } + + static var themeOtherContents: String { + pick( + ko: "테마의 다른 콘텐츠", + en: "More in this theme", + ja: "このテーマの他のコンテンツ" + ) + } + } enum Time { static var justNow: String { pick(ko: "방금 전", en: "Just now", ja: "たった今")