feat(i18n): 라이브 모듈 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -104,7 +104,7 @@ struct LiveRoomChatItemView: View {
|
||||
VStack(alignment: .leading, spacing: 6.7) {
|
||||
HStack(spacing: 5) {
|
||||
if chatMessage.rank == -3 {
|
||||
Text("스탭")
|
||||
Text(I18n.LiveChat.staffBadge)
|
||||
.appFont(size: 10)
|
||||
.foregroundColor(.white)
|
||||
.padding(2)
|
||||
|
||||
@@ -40,17 +40,17 @@ struct LiveRoomDonationChatItemView: View {
|
||||
.appFont(size: 12)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("님이")
|
||||
Text(I18n.LiveChat.donationMemberSuffix)
|
||||
.appFont(size: 12, weight: .light)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("\(chatMessage.can)캔")
|
||||
Text(I18n.LiveChat.canWithUnit(chatMessage.can))
|
||||
.appFont(size: 15)
|
||||
.foregroundColor(Color(hex: "fdca2f"))
|
||||
|
||||
Text(chatMessage.chat.contains("비밀") ? "으로 비밀미션을 보냈습니다.🤫" : "을 후원하셨습니다.💰🪙")
|
||||
Text(chatMessage.chat.contains("비밀") ? I18n.LiveChat.secretMissionDonationSuffix : I18n.LiveChat.donationSuffix)
|
||||
.appFont(size: 15)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ struct LiveRoomHeartDonationChatItemView: View {
|
||||
.appFont(size: 12, weight: .bold)
|
||||
.foregroundColor(Color(hex: "ec3aa6"))
|
||||
|
||||
Text("'님이 마음을 전했습니다 : 💕")
|
||||
Text(I18n.LiveChat.heartDonationSuffix)
|
||||
.appFont(size: 12)
|
||||
.foregroundColor(Color.gray11)
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ struct LiveRoomJoinChatItemView: View {
|
||||
.appFont(size: 12, weight: .bold)
|
||||
.foregroundColor(Color.mainYellow)
|
||||
|
||||
Text("'님이 입장하셨습니다.")
|
||||
Text(I18n.LiveChat.joinSuffix)
|
||||
.appFont(size: 12)
|
||||
.foregroundColor(Color.grayee)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user