feat(i18n): 주요 UI 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-03-31 17:09:01 +09:00
parent 47085dc1ca
commit b2f66cf408
17 changed files with 448 additions and 196 deletions

View File

@@ -25,12 +25,12 @@ struct LiveRoomPasswordDialog: View {
.frame(width: geo.size.width, height: geo.size.height)
VStack(spacing: 0) {
Text("비밀번호 입력")
Text(I18n.Dialog.LiveRoomPassword.title)
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "bbbbbb"))
.padding(.top, 40)
Text("비공개 라이브의 입장 비밀번호를\n입력해 주세요.")
Text(I18n.Dialog.LiveRoomPassword.description)
.appFont(size: 13, weight: .medium)
.foregroundColor(Color(hex: "bbbbbb"))
.multilineTextAlignment(.center)
@@ -38,8 +38,8 @@ struct LiveRoomPasswordDialog: View {
.padding(.horizontal, 13.3)
UserTextField(
title: "비밀번호",
hint: "비밀번호를 입력해 주세요",
title: I18n.Dialog.LiveRoomPassword.passwordFieldTitle,
hint: I18n.Dialog.LiveRoomPassword.passwordFieldPlaceholder,
isSecure: false,
variable: $password,
keyboardType: .numberPad
@@ -48,7 +48,7 @@ struct LiveRoomPasswordDialog: View {
.padding(.top, 13.3)
HStack(spacing: 13.3) {
Text("취소")
Text(I18n.Common.cancel)
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color(hex: "3bb9f1"))
.padding(.vertical, 16)
@@ -73,7 +73,7 @@ struct LiveRoomPasswordDialog: View {
.resizable()
.frame(width: 20, height: 20)
Text("으로 입장")
Text(I18n.Dialog.LiveRoomPassword.enterSuffix)
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color(hex: "ffffff"))
}
@@ -90,7 +90,7 @@ struct LiveRoomPasswordDialog: View {
isShowing = false
}
} else {
Text("입장하기")
Text(I18n.Dialog.LiveRoomPassword.enter)
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color(hex: "ffffff"))
.padding(.vertical, 16)