feat(chat): 채팅 모듈 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-03-31 16:30:48 +09:00
parent 222520d5e9
commit 47085dc1ca
27 changed files with 464 additions and 128 deletions

View File

@@ -8,7 +8,7 @@
import SwiftUI
struct CharacterSectionView: View {
let title: LocalizedStringResource
let title: String
let items: [Character]
let isShowRank: Bool
var trailingTitle: String? = nil
@@ -52,7 +52,7 @@ struct CharacterSectionView: View {
#Preview {
CharacterSectionView(
title: "신규 캐릭터",
title: I18n.Chat.Character.newSectionTitle,
items: [
Character(characterId: 1, name: "찰리", description: "새로운 친구", imageUrl: "https://picsum.photos/300", isNew: true),
Character(characterId: 2, name: "데이지", description: "", imageUrl: "https://picsum.photos/300", isNew: false)