refactor(home): 팔로잉 문구를 다국어화한다

This commit is contained in:
Yu Sung
2026-07-01 14:13:43 +09:00
parent e3dd508528
commit 641b00e66b
5 changed files with 45 additions and 9 deletions

View File

@@ -132,7 +132,7 @@ private struct DateBoxView: View {
var body: some View {
VStack(alignment: .center, spacing: SodaSpacing.s4) {
if schedule.isToday {
Text("오늘")
Text(I18n.HomeFollowing.today)
.appFont(size: 22, weight: .bold)
.foregroundColor(.white)
.lineLimit(1)
@@ -189,7 +189,7 @@ private extension FollowingScheduleResponse {
var statusText: String {
if isOnAir {
return "On Air"
return I18n.HomeFollowing.onAirStatus
}
guard let scheduledDate else { return scheduledAtUtc }
@@ -201,13 +201,13 @@ private extension CreatorActivityType {
var scheduleTagTitle: String {
switch self {
case .live:
return "라이브"
return I18n.HomeFollowing.liveScheduleTag
case .liveReplay:
return "다시보기"
return I18n.HomeFollowing.liveReplayScheduleTag
case .audio:
return "오디오"
return I18n.HomeFollowing.audioScheduleTag
case .community:
return "커뮤니티"
return I18n.HomeFollowing.communityScheduleTag
case .unknown(let rawValue):
return rawValue
}