fix(i18n): 후원 탭 빈 상태를 다국어화한다
This commit is contained in:
@@ -3526,6 +3526,16 @@ If you block this user, the following features will be restricted.
|
||||
static var exitModalContinue: String { pick(ko: "계속 작성", en: "Keep writing", ja: "続ける") }
|
||||
}
|
||||
|
||||
enum CreatorChannelDonation {
|
||||
static var emptyMessage: String {
|
||||
pick(
|
||||
ko: "아직 후원이 없습니다.\n처음으로 크리에이터를 후원해 보세요!",
|
||||
en: "No support yet.\nBe the first to support this creator!",
|
||||
ja: "まだサポートがありません。\n最初のサポートをしてみましょう!"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
enum HomeRecommendation {
|
||||
static var activityLive: String {
|
||||
pick(ko: "라이브", en: "Live", ja: "ライブ")
|
||||
|
||||
@@ -6,7 +6,7 @@ struct CreatorChannelDonationEmptyView: View {
|
||||
|
||||
var body: some View {
|
||||
VStack(spacing: SodaSpacing.s20) {
|
||||
Text("아직 후원이 없습니다.\n처음으로 크리에이터를 후원해 보세요!")
|
||||
Text(I18n.CreatorChannelDonation.emptyMessage)
|
||||
.appFont(size: 16, weight: .medium)
|
||||
.foregroundColor(Color.gray500)
|
||||
.multilineTextAlignment(.center)
|
||||
@@ -22,7 +22,7 @@ struct CreatorChannelDonationEmptyView: View {
|
||||
.scaledToFit()
|
||||
.frame(width: 20, height: 20)
|
||||
|
||||
Text("후원하기")
|
||||
Text(I18n.ContentDetail.DonationDialog.title)
|
||||
.appFont(size: 16, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
.lineLimit(1)
|
||||
|
||||
Reference in New Issue
Block a user