콘텐츠 상세 구매 버튼 텍스트 다국어 처리
This commit is contained in:
@@ -134,8 +134,11 @@ struct ContentDetailView: View {
|
||||
} else {
|
||||
ContentDetailPurchaseButton(
|
||||
price: audioContent.price,
|
||||
title: audioContent.purchaseOption == .RENT_ONLY ? " 대여하기" :
|
||||
audioContent.purchaseOption == .BUY_ONLY ? " 소장하기" : " 구매하기",
|
||||
title: " " + (
|
||||
audioContent.purchaseOption == .RENT_ONLY ? I18n.Purchase.rent :
|
||||
audioContent.purchaseOption == .BUY_ONLY ? I18n.Purchase.buy :
|
||||
I18n.Purchase.purchase
|
||||
),
|
||||
backgroundColor: audioContent.purchaseOption == .RENT_ONLY ? Color(hex: "548f7d") :
|
||||
audioContent.purchaseOption == .BUY_ONLY ? Color(hex: "59548f") :
|
||||
Color.button
|
||||
|
||||
Reference in New Issue
Block a user