File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 979979 }
980980 }
981981 },
982- "profile_week_format" : {
983- "extractionState" : "manual",
984- "localizations" : {
985- "en" : {
986- "stringUnit" : {
987- "state" : "translated",
988- "value" : "Week %1$lld"
989- }
990- },
991- "ko" : {
992- "stringUnit" : {
993- "state" : "translated",
994- "value" : "%1$lld주"
995- }
996- }
997- }
998- },
999982 "profile_weekday_fri" : {
1000983 "extractionState" : "manual",
1001984 "localizations" : {
34553438 }
34563439 },
34573440 "version" : "1.0"
3458- }
3441+ }
Original file line number Diff line number Diff line change @@ -54,12 +54,7 @@ struct ProfileTrendChartView: View {
5454 AxisMarks ( values: axisWeekIndices) { value in
5555 AxisValueLabel {
5656 if let weekIndex = value. as ( Int . self) {
57- Text (
58- String . localizedStringWithFormat (
59- String ( localized: " profile_week_format " ) ,
60- Int64 ( weekIndex)
61- )
62- )
57+ Text ( " \( weekIndex) " )
6358 . font ( . caption2)
6459 . fixedSize ( )
6560 }
@@ -88,6 +83,10 @@ struct ProfileTrendChartView: View {
8883 . clipShape ( RoundedRectangle ( cornerRadius: 10 ) )
8984 }
9085 . frame ( height: chartHeight)
86+
87+ Text ( String ( localized: " profile_week_axis " ) )
88+ . font ( . caption2)
89+ . foregroundStyle ( . secondary)
9190 } else {
9291 VStack ( spacing: 6 ) {
9392 Image ( systemName: " chart.line.uptrend.xyaxis " )
You can’t perform that action at this time.
0 commit comments