콘텐츠 상세 구매 버튼 텍스트 다국어 처리

This commit is contained in:
Yu Sung
2025-12-19 16:11:43 +09:00
parent bea50b0085
commit c80246adbf
2 changed files with 12 additions and 2 deletions
+7
View File
@@ -251,6 +251,13 @@ enum I18n {
pick(ko: "총 \(count)화", en: "Total \(count) episodes", ja: "全\(count)話")
}
}
// 콘텐츠 구매/대여 관련 공통 액션 라벨
enum Purchase {
static var rent: String { pick(ko: "대여하기", en: "Rent", ja: "レンタルする") }
static var buy: String { pick(ko: "소장하기", en: "Buy", ja: "購入する") }
static var purchase: String { pick(ko: "구매하기", en: "Purchase", ja: "購入する") }
}
}
// MARK: - 내부 헬퍼