feat(i18n): 시리즈 리스트 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-03-31 18:50:22 +09:00
parent 9216db51da
commit 3f61a08a04
2 changed files with 36 additions and 10 deletions

View File

@@ -29,15 +29,15 @@ struct SeriesListItemView: View {
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 3.3) {
if !item.isComplete && item.isNew {
SeriesItemBadgeView(title: "신작", backgroundColor: .button)
SeriesItemBadgeView(title: I18n.Series.new, backgroundColor: .button)
}
if item.isComplete {
SeriesItemBadgeView(title: "완결", backgroundColor: Color(hex: "002abd"))
SeriesItemBadgeView(title: I18n.Series.complete, backgroundColor: Color(hex: "002abd"))
}
if item.isPopular {
SeriesItemBadgeView(title: "인기", backgroundColor: Color(hex: "ec6033"))
SeriesItemBadgeView(title: I18n.Series.popular, backgroundColor: Color(hex: "ec6033"))
}
Spacer()
@@ -48,7 +48,7 @@ struct SeriesListItemView: View {
HStack {
Spacer()
SeriesItemBadgeView(title: "\(item.numberOfContent)", backgroundColor: Color.gray33.opacity(0.7))
SeriesItemBadgeView(title: I18n.Series.totalEpisodes(item.numberOfContent), backgroundColor: Color.gray33.opacity(0.7))
}
}
.padding(3.3)