You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/MapboxNavigation/SpeedLimitView.swift
+9-2
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,8 @@ public class SpeedLimitView: UIView {
95
95
return formatter
96
96
}()
97
97
98
+
letlocale=Locale.current
99
+
98
100
overrideinit(frame:CGRect){
99
101
super.init(frame: frame)
100
102
@@ -141,8 +143,13 @@ public class SpeedLimitView: UIView {
141
143
142
144
switch signStandard {
143
145
case.mutcd:
144
-
letlegend=NSLocalizedString("SPEED_LIMIT_LEGEND", bundle:.mapboxNavigation, value:"Max", comment:"Label above the speed limit in an MUTCD-style speed limit sign. Keep as short as possible.").uppercased()
letlegend=NSLocalizedString("SPEED_LIMIT_LEGEND", bundle:.mapboxNavigation, value:"Speed Limit", comment:"Label above the speed limit in an MUTCD-style speed limit sign. Keep as short as possible.").uppercased()
letlegend=NSLocalizedString("SPEED_LIMIT_LEGEND", bundle:.mapboxNavigation, value:"Max", comment:"Label above the speed limit in an MUTCD-style speed limit sign. Keep as short as possible.").uppercased()
0 commit comments