feat(i18n): 콘텐츠 모듈 그룹1 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-04-01 15:36:39 +09:00
parent 038d66e363
commit 49e2487617
11 changed files with 173 additions and 41 deletions

View File

@@ -19,7 +19,11 @@ struct ContentAllView: View {
Group {
BaseView(isLoading: $viewModel.isLoading) {
VStack(spacing: 0) {
DetailNavigationBar(title: isFree ? String(localized: "무료 콘텐츠 전체") : isPointAvailableOnly ? String(localized: "포인트 대여 전체") : String(localized: "콘텐츠 전체"))
DetailNavigationBar(
title: isFree ?
I18n.Content.All.freeTitle :
isPointAvailableOnly ? I18n.Content.All.pointRentalTitle : I18n.Content.All.title
)
if !viewModel.themeList.isEmpty {
ContentMainContentThemeView(
@@ -32,7 +36,7 @@ struct ContentAllView: View {
HStack(spacing: 12) {
Spacer()
Text("최신순")
Text(I18n.Content.Sort.newest)
.appFont(size: 16, weight: .medium)
.foregroundColor(
Color(hex: "e2e2e2")
@@ -44,7 +48,7 @@ struct ContentAllView: View {
}
}
Text("인기순")
Text(I18n.Content.Sort.popularity)
.appFont(size: 16, weight: .medium)
.foregroundColor(
Color(hex: "e2e2e2")