콘텐츠 상세의 섹션 제목 다국어 처리

This commit is contained in:
Yu Sung
2025-12-19 16:16:07 +09:00
parent c80246adbf
commit e035e57fc2
2 changed files with 19 additions and 2 deletions

View File

@@ -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: "たった今")