summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLUserLocationAnnotationView.m
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-04-23 20:32:10 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-24 16:17:43 -0700
commitf1200d47db78b036e8b7eef2c224c5878c1c3a01 (patch)
tree3a4c0ca3c444d1e7724c00c9a30c8bb91be49bad /platform/ios/src/MGLUserLocationAnnotationView.m
parente4752912dad7dcedfb5853e5773b2194980e07e1 (diff)
downloadqtlocation-mapboxgl-f1200d47db78b036e8b7eef2c224c5878c1c3a01.tar.gz
[ios, osx] Made localizable strings unique; unlocalized iosapp
Assigned unique IDs to localizable English strings in code. Made iosapp non-localizable. For the time being, it isn’t worth the trouble to localize more strings for this demo application than for the SDK itself.
Diffstat (limited to 'platform/ios/src/MGLUserLocationAnnotationView.m')
-rw-r--r--platform/ios/src/MGLUserLocationAnnotationView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLUserLocationAnnotationView.m b/platform/ios/src/MGLUserLocationAnnotationView.m
index d0497416b8..be93b78841 100644
--- a/platform/ios/src/MGLUserLocationAnnotationView.m
+++ b/platform/ios/src/MGLUserLocationAnnotationView.m
@@ -54,7 +54,7 @@ const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuck
self.annotation = [[MGLUserLocation alloc] initWithMapView:mapView];
_mapView = mapView;
[self setupLayers];
- self.accessibilityLabel = NSLocalizedString(@"User location", @"Accessibility label");
+ self.accessibilityLabel = NSLocalizedStringWithDefaultValue(@"USER_DOT_A11Y_LABEL", nil, nil, @"User location", @"Accessibility label");
}
return self;
}