Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@mapswithme.com>2015-05-29 19:22:49 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:49:23 +0300
commitbcf82598e3a850587c096612beb4d29295a18383 (patch)
tree6206ad5916272538c6d973e7f08f99c115849831 /iphone
parenta1277c2c8d2e3e1bfc1c7f2a949a5130cf2972ad (diff)
[ios] Add no location status notification.
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.mm7
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.xib (renamed from iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonView.xib)19
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.h18
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.m65
-rw-r--r--iphone/Maps/Maps.xcodeproj/project.pbxproj14
-rw-r--r--iphone/Maps/ar.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/cs.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/da.lproj/Localizable.strings5
-rw-r--r--iphone/Maps/de.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/en.lproj/Localizable.strings5
-rw-r--r--iphone/Maps/es.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/fr.lproj/Localizable.strings5
-rw-r--r--iphone/Maps/hu.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/it.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/ja.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/ko.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/nl.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/pl.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/pt.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/ru.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/sk.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/sv.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/th.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/tr.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/uk.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/zh-Hans.lproj/Localizable.strings3
-rw-r--r--iphone/Maps/zh-Hant.lproj/Localizable.strings3
27 files changed, 187 insertions, 8 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.mm
index 5c9c057f28..88e2467288 100644
--- a/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.mm
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.mm
@@ -8,14 +8,16 @@
#import "MWMLocationButton.h"
#import "MWMLocationButtonView.h"
+#import "MWMLocationButtonStatusLabel.h"
#include "Framework.h"
-static NSString * const kMWMLocationButtonViewNibName = @"MWMLocationButtonView";
+static NSString * const kMWMLocationButtonViewNibName = @"MWMLocationButton";
@interface MWMLocationButton()
@property (nonatomic) IBOutlet MWMLocationButtonView * button;
+@property (nonatomic) IBOutlet MWMLocationButtonStatusLabel * statusLabel;
@end
@@ -28,6 +30,7 @@ static NSString * const kMWMLocationButtonViewNibName = @"MWMLocationButtonView"
{
[[NSBundle mainBundle] loadNibNamed:kMWMLocationButtonViewNibName owner:self options:nil];
[view addSubview:self.button];
+ [view addSubview:self.statusLabel];
[self configLocationListener];
}
return self;
@@ -45,6 +48,8 @@ static NSString * const kMWMLocationButtonViewNibName = @"MWMLocationButtonView"
- (void)onLocationStateModeChanged:(location::State::Mode)state
{
self.button.locationState = state;
+ if (state == location::State::Mode::UnknownPosition)
+ [self.statusLabel show];
}
- (IBAction)buttonPressed:(id)sender
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonView.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.xib
index 95b104e636..0cf6c95f7c 100644
--- a/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonView.xib
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButton.xib
@@ -8,6 +8,7 @@
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MWMLocationButton">
<connections>
<outlet property="button" destination="5qS-Qi-k1g" id="YgC-Eq-sz4"/>
+ <outlet property="statusLabel" destination="MnZ-WC-gT0" id="XF3-8D-jWV"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
@@ -18,11 +19,29 @@
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<state key="highlighted" image="btn_white_target_off_1_pressed"/>
+ <userDefinedRuntimeAttributes>
+ <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="download_maps"/>
+ </userDefinedRuntimeAttributes>
<connections>
<action selector="buttonPressed:" destination="-1" eventType="touchUpInside" id="qeG-JS-5c9"/>
</connections>
<point key="canvasLocation" x="267.5" y="254"/>
</button>
+ <label hidden="YES" opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GPS отключен" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" adjustsFontSizeToFit="NO" id="MnZ-WC-gT0" customClass="MWMLocationButtonStatusLabel">
+ <rect key="frame" x="0.0" y="0.0" width="105" height="21"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/>
+ <fontDescription key="fontDescription" type="system" pointSize="14"/>
+ <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <nil key="highlightedColor"/>
+ <userDefinedRuntimeAttributes>
+ <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="location_mode_off"/>
+ <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
+ <integer key="value" value="4"/>
+ </userDefinedRuntimeAttribute>
+ </userDefinedRuntimeAttributes>
+ <point key="canvasLocation" x="474.5" y="271.5"/>
+ </label>
</objects>
<resources>
<image name="btn_white_target_off_1" width="56" height="56"/>
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.h b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.h
new file mode 100644
index 0000000000..08c2ea0e5e
--- /dev/null
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.h
@@ -0,0 +1,18 @@
+//
+// MWMLocationButtonStatusLabel.h
+// Maps
+//
+// Created by Ilya Grechuhin on 29.05.15.
+// Copyright (c) 2015 MapsWithMe. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface MWMLocationButtonStatusLabel : UILabel
+
+- (instancetype)initWithFrame:(CGRect)frame __attribute__((unavailable("initWithFrame is not available")));
+- (instancetype)init __attribute__((unavailable("init is not available")));
+
+- (void)show;
+
+@end
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.m b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.m
new file mode 100644
index 0000000000..273e721317
--- /dev/null
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/LocationButton/MWMLocationButtonStatusLabel.m
@@ -0,0 +1,65 @@
+//
+// MWMLocationButtonStatusLabel.m
+// Maps
+//
+// Created by Ilya Grechuhin on 29.05.15.
+// Copyright (c) 2015 MapsWithMe. All rights reserved.
+//
+
+#import "MWMLocationButtonStatusLabel.h"
+#import "MWMMapViewControlsCommon.h"
+#import "UIKitCategories.h"
+
+@implementation MWMLocationButtonStatusLabel
+
+- (instancetype)initWithCoder:(NSCoder *)aDecoder
+{
+ self = [super initWithCoder:aDecoder];
+ if (!self)
+ return nil;
+ self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
+ return self;
+}
+
+- (void)layoutSubviews
+{
+ static CGFloat const maxLabelWidthPercentOfScreen = 0.52;
+ static CGFloat const hSpacing = 4.0;
+ static CGFloat const vSpacing = 1.0;
+
+ [super layoutSubviews];
+ self.width = maxLabelWidthPercentOfScreen * self.superview.width;
+ [self sizeToFit];
+ self.width = self.width + 2.0 * hSpacing;
+ self.height = self.height + 2.0 * vSpacing;
+ self.midX = self.superview.midX;
+ self.maxY = self.superview.height - 2.0 * kViewControlsOffsetToBounds;
+}
+
+- (void)show
+{
+ self.hidden = NO;
+ self.alpha = 0.0;
+ [UIView animateWithDuration:framesDuration(1) animations:^
+ {
+ self.alpha = 1.0;
+ }
+ completion:^(BOOL finished)
+ {
+ [self performSelector:@selector(hide) withObject:self afterDelay:framesDuration(30)];
+ }];
+}
+
+- (void)hide
+{
+ [UIView animateWithDuration:framesDuration(1) animations:^
+ {
+ self.alpha = 0.0;
+ }
+ completion:^(BOOL finished)
+ {
+ self.hidden = YES;
+ }];
+}
+
+@end
diff --git a/iphone/Maps/Maps.xcodeproj/project.pbxproj b/iphone/Maps/Maps.xcodeproj/project.pbxproj
index 038bc17851..a410251906 100644
--- a/iphone/Maps/Maps.xcodeproj/project.pbxproj
+++ b/iphone/Maps/Maps.xcodeproj/project.pbxproj
@@ -37,7 +37,7 @@
34A743001AE5468200CE15EB /* storage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 34A742FF1AE5468200CE15EB /* storage.cpp */; };
34BC72211B0DECAE0012A34B /* MWMLocationButton.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34BC720C1B0DECAE0012A34B /* MWMLocationButton.mm */; };
34BC72221B0DECAE0012A34B /* MWMLocationButtonView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34BC720E1B0DECAE0012A34B /* MWMLocationButtonView.mm */; };
- 34BC72231B0DECAE0012A34B /* MWMLocationButtonView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 34BC720F1B0DECAE0012A34B /* MWMLocationButtonView.xib */; };
+ 34BC72231B0DECAE0012A34B /* MWMLocationButton.xib in Resources */ = {isa = PBXBuildFile; fileRef = 34BC720F1B0DECAE0012A34B /* MWMLocationButton.xib */; };
34BC72241B0DECAE0012A34B /* MWMMapViewControlsManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34BC72111B0DECAE0012A34B /* MWMMapViewControlsManager.mm */; };
34BC72251B0DECAE0012A34B /* MWMSideMenuButton.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34BC72151B0DECAE0012A34B /* MWMSideMenuButton.mm */; };
34BC72261B0DECAE0012A34B /* MWMSideMenuManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34BC72171B0DECAE0012A34B /* MWMSideMenuManager.mm */; };
@@ -47,6 +47,7 @@
34BC722A1B0DECAE0012A34B /* MWMZoomButtonsView.m in Sources */ = {isa = PBXBuildFile; fileRef = 34BC721F1B0DECAE0012A34B /* MWMZoomButtonsView.m */; };
34BC722B1B0DECAE0012A34B /* MWMZoomButtonsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 34BC72201B0DECAE0012A34B /* MWMZoomButtonsView.xib */; };
34DF4D111AE77B9F0012702D /* MWMWKInterfaceController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34DF4D101AE77B9F0012702D /* MWMWKInterfaceController.mm */; };
+ 34F209691B18BCEE005744D6 /* MWMLocationButtonStatusLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 34F209681B18BCEE005744D6 /* MWMLocationButtonStatusLabel.m */; };
45159BF91B0CA2D5009BFA85 /* resources-6plus in Resources */ = {isa = PBXBuildFile; fileRef = 45159BF81B0CA2D5009BFA85 /* resources-6plus */; };
454040621AD2D75E007A9B12 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 46F26C7210F61FD600ECCA39 /* OpenGLES.framework */; };
454040631AD2D83A007A9B12 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 97C98655186C734000AF7E9E /* AVFoundation.framework */; };
@@ -345,7 +346,7 @@
34BC720C1B0DECAE0012A34B /* MWMLocationButton.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMLocationButton.mm; sourceTree = "<group>"; };
34BC720D1B0DECAE0012A34B /* MWMLocationButtonView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMLocationButtonView.h; sourceTree = "<group>"; };
34BC720E1B0DECAE0012A34B /* MWMLocationButtonView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMLocationButtonView.mm; sourceTree = "<group>"; };
- 34BC720F1B0DECAE0012A34B /* MWMLocationButtonView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMLocationButtonView.xib; sourceTree = "<group>"; };
+ 34BC720F1B0DECAE0012A34B /* MWMLocationButton.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMLocationButton.xib; sourceTree = "<group>"; };
34BC72101B0DECAE0012A34B /* MWMMapViewControlsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMMapViewControlsManager.h; sourceTree = "<group>"; };
34BC72111B0DECAE0012A34B /* MWMMapViewControlsManager.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMMapViewControlsManager.mm; sourceTree = "<group>"; };
34BC72131B0DECAE0012A34B /* MWMMapViewControlsCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMMapViewControlsCommon.h; sourceTree = "<group>"; };
@@ -363,6 +364,8 @@
34BC72201B0DECAE0012A34B /* MWMZoomButtonsView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMZoomButtonsView.xib; sourceTree = "<group>"; };
34DF4D0F1AE77B9F0012702D /* MWMWKInterfaceController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMWKInterfaceController.h; sourceTree = "<group>"; };
34DF4D101AE77B9F0012702D /* MWMWKInterfaceController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMWKInterfaceController.mm; sourceTree = "<group>"; };
+ 34F209671B18BCEE005744D6 /* MWMLocationButtonStatusLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMLocationButtonStatusLabel.h; sourceTree = "<group>"; };
+ 34F209681B18BCEE005744D6 /* MWMLocationButtonStatusLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MWMLocationButtonStatusLabel.m; sourceTree = "<group>"; };
3D443C9C19E421EE0025C2FC /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Localizable.strings; sourceTree = "<group>"; };
45159BF81B0CA2D5009BFA85 /* resources-6plus */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "resources-6plus"; path = "../../data/resources-6plus"; sourceTree = "<group>"; };
454040681AD2D8D2007A9B12 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; };
@@ -983,9 +986,11 @@
children = (
34BC720B1B0DECAE0012A34B /* MWMLocationButton.h */,
34BC720C1B0DECAE0012A34B /* MWMLocationButton.mm */,
+ 34BC720F1B0DECAE0012A34B /* MWMLocationButton.xib */,
34BC720D1B0DECAE0012A34B /* MWMLocationButtonView.h */,
34BC720E1B0DECAE0012A34B /* MWMLocationButtonView.mm */,
- 34BC720F1B0DECAE0012A34B /* MWMLocationButtonView.xib */,
+ 34F209671B18BCEE005744D6 /* MWMLocationButtonStatusLabel.h */,
+ 34F209681B18BCEE005744D6 /* MWMLocationButtonStatusLabel.m */,
);
path = LocationButton;
sourceTree = "<group>";
@@ -1740,7 +1745,7 @@
F7E7BA221672328F00B4492E /* atm.png in Resources */,
F7E7BA231672328F00B4492E /* atm@2x.png in Resources */,
F7E7BA241672328F00B4492E /* bank.png in Resources */,
- 34BC72231B0DECAE0012A34B /* MWMLocationButtonView.xib in Resources */,
+ 34BC72231B0DECAE0012A34B /* MWMLocationButton.xib in Resources */,
F7E7BA251672328F00B4492E /* bank@2x.png in Resources */,
F7E7BA261672328F00B4492E /* entertainment.png in Resources */,
F7E7BA271672328F00B4492E /* entertainment@2x.png in Resources */,
@@ -1873,6 +1878,7 @@
46F26CD810F623BA00ECCA39 /* EAGLView.mm in Sources */,
EED10A4511F78D120095FAD4 /* MapViewController.mm in Sources */,
F61579341AC2CE9A0032D8E9 /* MWMRateAlert.mm in Sources */,
+ 34F209691B18BCEE005744D6 /* MWMLocationButtonStatusLabel.m in Sources */,
A3CC2CD41A1C723900B832E1 /* LocationPredictor.mm in Sources */,
EE7F29811219ECA300EB67A9 /* RenderBuffer.mm in Sources */,
6C93FAEC1AD8063900A2C4AE /* MWMWatchNotification.m in Sources */,
diff --git a/iphone/Maps/ar.lproj/Localizable.strings b/iphone/Maps/ar.lproj/Localizable.strings
index e3f3036846..e96e60a921 100644
--- a/iphone/Maps/ar.lproj/Localizable.strings
+++ b/iphone/Maps/ar.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "احصل على الخريطة";
+
+/* location mode off */
+"location_mode_off" = "Location positioning mode: off";
diff --git a/iphone/Maps/cs.lproj/Localizable.strings b/iphone/Maps/cs.lproj/Localizable.strings
index 485817c159..2eeb9b3166 100644
--- a/iphone/Maps/cs.lproj/Localizable.strings
+++ b/iphone/Maps/cs.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Získejte mapu";
+
+/* location mode off */
+"location_mode_off" = "Režim zjišťování pozice: vypnut";
diff --git a/iphone/Maps/da.lproj/Localizable.strings b/iphone/Maps/da.lproj/Localizable.strings
index e334d986c4..0129d68e2a 100644
--- a/iphone/Maps/da.lproj/Localizable.strings
+++ b/iphone/Maps/da.lproj/Localizable.strings
@@ -674,7 +674,7 @@
"routing_failed_dst_point_not_found" = "Kan ikke beregne ruten. Ingen veje nær din destination.";
/* PointsInDifferentMWM */
-"routing_failed_cross_mwm_building" = "Ruter kan kun oprettes, hvis de er fuldt indeholdt i ét enkelt kort";
+"routing_failed_cross_mwm_building" = "Ruter kan kun oprettes, hvis de er fuldt indeholdt i ét enkelt kort.";
/* RouteNotFound */
"routing_failed_route_not_found" = "Der blev ikke fundet en rute mellem det valgte begyndelsespunkt og destinationen. Venligst vælg et andet start- eller slutpunkt.";
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Få kort";
+
+/* location mode off */
+"location_mode_off" = "Positionsbestemmelses-tilstand: Fra";
diff --git a/iphone/Maps/de.lproj/Localizable.strings b/iphone/Maps/de.lproj/Localizable.strings
index 12560cf2b4..90a031edc9 100644
--- a/iphone/Maps/de.lproj/Localizable.strings
+++ b/iphone/Maps/de.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Karte abrufen";
+
+/* location mode off */
+"location_mode_off" = "Standortpositionierungsmodus: Aus";
diff --git a/iphone/Maps/en.lproj/Localizable.strings b/iphone/Maps/en.lproj/Localizable.strings
index 3ad199eeca..20c0b702e0 100644
--- a/iphone/Maps/en.lproj/Localizable.strings
+++ b/iphone/Maps/en.lproj/Localizable.strings
@@ -677,7 +677,7 @@
"routing_failed_cross_mwm_building" = "Routes can only be created that are fully contained within a single map.";
/* RouteNotFound */
-"routing_failed_route_not_found" = "There is no route found between the selected origin and destination.Please select a different start or end point.";
+"routing_failed_route_not_found" = "There is no route found between the selected origin and destination. Please select a different start or end point.";
/* InternalError */
"routing_failed_internal_error" = "Internal error occurred. Please try to delete and download the map again. If problem persist please contact us at support@maps.me.";
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Get the map";
+
+/* location mode off */
+"location_mode_off" = "Location positioning mode: off";
diff --git a/iphone/Maps/es.lproj/Localizable.strings b/iphone/Maps/es.lproj/Localizable.strings
index cdef0ddba6..68245d9e27 100644
--- a/iphone/Maps/es.lproj/Localizable.strings
+++ b/iphone/Maps/es.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Obtén el mapa";
+
+/* location mode off */
+"location_mode_off" = "Modo posicionamiento de ubicación: desactivado";
diff --git a/iphone/Maps/fr.lproj/Localizable.strings b/iphone/Maps/fr.lproj/Localizable.strings
index aeec558ca9..3b1e394c76 100644
--- a/iphone/Maps/fr.lproj/Localizable.strings
+++ b/iphone/Maps/fr.lproj/Localizable.strings
@@ -677,7 +677,7 @@
"routing_failed_cross_mwm_building" = "Les itinéraires entièrement contenus sur une seule carte peuvent être créés.";
/* RouteNotFound */
-"routing_failed_route_not_found" = "Il n'existe aucun itinéraire entre l'origine et la destination choisies . Veuillez sélectionner un point de départ ou d'arrivée différent.";
+"routing_failed_route_not_found" = "Il n'existe aucun itinéraire entre l'origine et la destination choisies. Veuillez sélectionner un point de départ ou d'arrivée différent.";
/* InternalError */
"routing_failed_internal_error" = "Une erreur interne s'est produite. Veuillez essayer de supprimer la carte et téléchargez la à nouveau. Si le problème persiste, veuillez contacter support@maps.me.";
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Téléchargez des cartes";
+
+/* location mode off */
+"location_mode_off" = "Mode positionnement de l'emplacement : désactivé";
diff --git a/iphone/Maps/hu.lproj/Localizable.strings b/iphone/Maps/hu.lproj/Localizable.strings
index 53006afbed..1472593584 100644
--- a/iphone/Maps/hu.lproj/Localizable.strings
+++ b/iphone/Maps/hu.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Térkép megszerzése";
+
+/* location mode off */
+"location_mode_off" = "Helypozicionáló mód: ki";
diff --git a/iphone/Maps/it.lproj/Localizable.strings b/iphone/Maps/it.lproj/Localizable.strings
index dd91f7a3db..cd7419ef0b 100644
--- a/iphone/Maps/it.lproj/Localizable.strings
+++ b/iphone/Maps/it.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Scarica la mappa";
+
+/* location mode off */
+"location_mode_off" = "Modalità posizionamento luogo: off";
diff --git a/iphone/Maps/ja.lproj/Localizable.strings b/iphone/Maps/ja.lproj/Localizable.strings
index e6ad195bc4..9d7cee68ab 100644
--- a/iphone/Maps/ja.lproj/Localizable.strings
+++ b/iphone/Maps/ja.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "地図を入手";
+
+/* location mode off */
+"location_mode_off" = "位置測位モード:オフ";
diff --git a/iphone/Maps/ko.lproj/Localizable.strings b/iphone/Maps/ko.lproj/Localizable.strings
index 5e8b0fb94a..c672f34769 100644
--- a/iphone/Maps/ko.lproj/Localizable.strings
+++ b/iphone/Maps/ko.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "지도 가져오기";
+
+/* location mode off */
+"location_mode_off" = "위치 지정 모드 : 끄기";
diff --git a/iphone/Maps/nl.lproj/Localizable.strings b/iphone/Maps/nl.lproj/Localizable.strings
index c10e9293da..9228fdb5c4 100644
--- a/iphone/Maps/nl.lproj/Localizable.strings
+++ b/iphone/Maps/nl.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Krijg kaart";
+
+/* location mode off */
+"location_mode_off" = "Modus locatie positioneren: uit";
diff --git a/iphone/Maps/pl.lproj/Localizable.strings b/iphone/Maps/pl.lproj/Localizable.strings
index 07b3cfd0cd..5e94e5ca70 100644
--- a/iphone/Maps/pl.lproj/Localizable.strings
+++ b/iphone/Maps/pl.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Pobierz mapę";
+
+/* location mode off */
+"location_mode_off" = "Tryb umiejscawiania lokalizacji: wył.";
diff --git a/iphone/Maps/pt.lproj/Localizable.strings b/iphone/Maps/pt.lproj/Localizable.strings
index a0ff991032..47fe15b161 100644
--- a/iphone/Maps/pt.lproj/Localizable.strings
+++ b/iphone/Maps/pt.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Obter mapa";
+
+/* location mode off */
+"location_mode_off" = "Localização do modo de posicionamento: desligado";
diff --git a/iphone/Maps/ru.lproj/Localizable.strings b/iphone/Maps/ru.lproj/Localizable.strings
index 45e0487ba1..b155204d09 100644
--- a/iphone/Maps/ru.lproj/Localizable.strings
+++ b/iphone/Maps/ru.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Загрузить карту";
+
+/* location mode off */
+"location_mode_off" = "Режим определения местоположения: выкл";
diff --git a/iphone/Maps/sk.lproj/Localizable.strings b/iphone/Maps/sk.lproj/Localizable.strings
index 42c5bacf6b..088f4e493f 100644
--- a/iphone/Maps/sk.lproj/Localizable.strings
+++ b/iphone/Maps/sk.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Stiahnuť mapu";
+
+/* location mode off */
+"location_mode_off" = "Režim zacieľovania polohy: vypnutý";
diff --git a/iphone/Maps/sv.lproj/Localizable.strings b/iphone/Maps/sv.lproj/Localizable.strings
index 9a15540c03..58324645b0 100644
--- a/iphone/Maps/sv.lproj/Localizable.strings
+++ b/iphone/Maps/sv.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Hämta karta";
+
+/* location mode off */
+"location_mode_off" = "Platspositioneringsläge: av";
diff --git a/iphone/Maps/th.lproj/Localizable.strings b/iphone/Maps/th.lproj/Localizable.strings
index 8940e7d0e1..054c56f15c 100644
--- a/iphone/Maps/th.lproj/Localizable.strings
+++ b/iphone/Maps/th.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "รับแผนที่";
+
+/* location mode off */
+"location_mode_off" = "โหมดการวางตำแหน่งที่ตั้ง: ปิด";
diff --git a/iphone/Maps/tr.lproj/Localizable.strings b/iphone/Maps/tr.lproj/Localizable.strings
index 53a5b47b4b..29ea480f3f 100644
--- a/iphone/Maps/tr.lproj/Localizable.strings
+++ b/iphone/Maps/tr.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Harita alın";
+
+/* location mode off */
+"location_mode_off" = "Konum ayarlama modu: kapalı";
diff --git a/iphone/Maps/uk.lproj/Localizable.strings b/iphone/Maps/uk.lproj/Localizable.strings
index b4499a7121..e7f4b2301d 100644
--- a/iphone/Maps/uk.lproj/Localizable.strings
+++ b/iphone/Maps/uk.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "Отримати карту";
+
+/* location mode off */
+"location_mode_off" = "Режим \"Місце розташування\": викл";
diff --git a/iphone/Maps/zh-Hans.lproj/Localizable.strings b/iphone/Maps/zh-Hans.lproj/Localizable.strings
index cc100b7ce6..aa2ea91642 100644
--- a/iphone/Maps/zh-Hans.lproj/Localizable.strings
+++ b/iphone/Maps/zh-Hans.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "获取地图";
+
+/* location mode off */
+"location_mode_off" = "位置定位模式:关";
diff --git a/iphone/Maps/zh-Hant.lproj/Localizable.strings b/iphone/Maps/zh-Hant.lproj/Localizable.strings
index a2854dd1b0..246e0c25d5 100644
--- a/iphone/Maps/zh-Hant.lproj/Localizable.strings
+++ b/iphone/Maps/zh-Hant.lproj/Localizable.strings
@@ -1077,3 +1077,6 @@
/* get the map */
"get_the_map" = "獲取地圖";
+
+/* location mode off */
+"location_mode_off" = "位置定位模式:關";