String Catalog가 적용되지 않는 부분을 I18n 파일에 언어별로 하드코딩 하여 보완

This commit is contained in:
Yu Sung
2025-12-17 12:03:32 +09:00
parent da2e8d0209
commit ad9f26c8a0
5 changed files with 198 additions and 124 deletions

View File

@@ -20,8 +20,13 @@ struct HomeWeeklyChartView: View {
let contentList: [GetAudioContentRankingItem]
let onTapSort: (String) -> Void
let sortList = ["매출", "판매량", "댓글", "좋아요"]
@State private var selectedSort = "매출"
let sortList = [
I18n.RankingSort.revenue,
I18n.RankingSort.salesVolume,
I18n.RankingSort.comments,
I18n.RankingSort.likes
]
@State private var selectedSort = I18n.RankingSort.revenue
var body: some View {
VStack(spacing: 16) {