fix(i18n): 팬레터 탭 빈 상태를 다국어화한다

This commit is contained in:
Yu Sung
2026-08-14 18:40:47 +09:00
parent d002920567
commit 2203fc9089
4 changed files with 75 additions and 15 deletions

View File

@@ -3519,6 +3519,14 @@ If you block this user, the following features will be restricted.
}
enum CreatorChannelFanTalk {
static var emptyMessage: String {
pick(
ko: "아직 응원이 없습니다.\n처음으로 크리에이터를 응원해 보세요!",
en: "No fan letters yet.\nBe the first to send one!",
ja: "まだファンレターがありません。\n最初のファンレターを送ってみましょう!"
)
}
static var writeAction: String { pick(ko: "응원남기기", en: "Send a fan letter", ja: "ファンレターを送る") }
static var send: String { pick(ko: "보내기", en: "Send", ja: "送信") }
static var exitModalTitle: String { pick(ko: "입력 종료", en: "Discard input", ja: "入力終了") }
static var exitModalMessage: String { pick(ko: "입력을 종료할까요?\n지금 나가면 입력한 내용이 저장되지 않아요.", en: "Discard your input?\nIf you leave now, your input will not be saved.", ja: "入力を終了しますか?\n終了すると、入力内容は保存されません。") }

View File

@@ -6,7 +6,7 @@ struct CreatorChannelFanTalkEmptyView: View {
var body: some View {
VStack(spacing: SodaSpacing.s20) {
Text("아직 응원이 없습니다.\n처음으로 크리에이터를 응원해 보세요!")
Text(I18n.CreatorChannelFanTalk.emptyMessage)
.appFont(size: 16, weight: .medium)
.foregroundColor(Color.gray500)
.multilineTextAlignment(.center)
@@ -22,14 +22,14 @@ struct CreatorChannelFanTalkEmptyView: View {
.scaledToFit()
.frame(width: 20, height: 20)
Text("응원 남기기")
Text(I18n.CreatorChannelFanTalk.writeAction)
.appFont(size: 16, weight: .medium)
.foregroundColor(.white)
.lineLimit(1)
}
.padding(.horizontal, SodaSpacing.s20)
.frame(height: 44)
.background(Color.soda400)
.background(Color.gray800)
.clipShape(Capsule())
}
.buttonStyle(.plain)