refactor(home): 팔로잉 문구를 다국어화한다
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user