Skip to content

Commit 6eb69cd

Browse files
authored
[#353, #354] 로컬라이징에 더 적합하도록 문자열과 UI을 수정한다 (#355)
* chore: 한국어 대신 자체 키를 생성하여 그에 대응되는 형태로 수정 * chore: nav_* 형태로 탭바, 내비게이션 타이틀 일원화 * chore: 오늘 -> 투데이 로 수정 * chore: 필터링 옵션 중 '완료 + 미완료' -> '전체' 형태로 수정 * chore: 안쓰는 l10n 키 제거 * chore: '인터넷' -> '네트워크' 수정 * chore: Alerts -> Notifications 로 수정 * chore: '~다' 체에서 '~요' 체로 수정 * file: 한글 지역화가 달라짐에 따라 이미지 수정 * file: 캡쳐 기기를 iPhone 17 Pro Max로 수정 * fix: 영어로 사용 시 월요일, 수요일이 셀 보다 크기가 커 '...' 으로 보이는 이슈 해결 * refactor: print문 제거 * ui: 차트 trailing 쪽 축 제거 * ui: 주차 라벨을 차트 하단으로 이동시켜 차트 범주 ui 개선 * ui: 분기 표시를 로컬라이징 처리
1 parent eb1f13b commit 6eb69cd

23 files changed

+198
-1324
lines changed

DevLog/Presentation/ViewModel/ProfileViewModel.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,11 @@ extension ProfileViewModel {
262262
let year = calendar.component(.year, from: start)
263263
let month = calendar.component(.month, from: start)
264264
let quarter = ((month - 1) / 3) + 1
265-
return "\(year) Q\(quarter)"
265+
return String.localizedStringWithFormat(
266+
String(localized: "profile_year_quarter_format"),
267+
String(year),
268+
String(quarter)
269+
)
266270
}
267271

268272
var selectedDayActivities: [ProfileSelectedDayActivity] {

0 commit comments

Comments
 (0)