File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 16401640 }
16411641 }
16421642 },
1643+ "relative_time_updated_format" : {
1644+ "extractionState" : "manual",
1645+ "localizations" : {
1646+ "en" : {
1647+ "stringUnit" : {
1648+ "state" : "translated",
1649+ "value" : "Updated %1$@"
1650+ }
1651+ },
1652+ "ko" : {
1653+ "stringUnit" : {
1654+ "state" : "translated",
1655+ "value" : "%1$@ 업데이트"
1656+ }
1657+ }
1658+ }
1659+ },
16431660 "root_network_disconnected_message" : {
16441661 "extractionState" : "manual",
16451662 "localizations" : {
Original file line number Diff line number Diff line change @@ -14,7 +14,12 @@ struct RelativeTimeText: View {
1414
1515 var body : some View {
1616 TimelineView ( . periodic( from: . now, by: 1.0 ) ) { context in
17- Text ( relativeTimeText ( from: date, now: context. date) + String( localized: " relative_time_updated_suffix " ) )
17+ Text (
18+ String . localizedStringWithFormat (
19+ String ( localized: " relative_time_updated_format " ) ,
20+ relativeTimeText ( from: date, now: context. date)
21+ )
22+ )
1823 . font ( bodyFont)
1924 . foregroundStyle ( bodyColor)
2025 }
You can’t perform that action at this time.
0 commit comments