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:
authorAlex Zolotarev <deathbaba@gmail.com>2013-01-14 17:34:42 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:48:42 +0300
commit2c7001741aa276c045d77aeb68e5b8027be2f644 (patch)
treef785d87c6374dc081abb38981e49450d5ed6530b /iphone
parentc73841b9f47397c463d6cb7072462690b52e5113 (diff)
[ios] Automatically add bookmark pin on opened geo:// url scheme
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/MapsAppDelegate.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/MapsAppDelegate.mm b/iphone/Maps/Classes/MapsAppDelegate.mm
index 1ce5a158ba..f18d6b3b61 100644
--- a/iphone/Maps/Classes/MapsAppDelegate.mm
+++ b/iphone/Maps/Classes/MapsAppDelegate.mm
@@ -20,6 +20,9 @@ void InitLocalizedStrings()
f.AddString("country_status_download", [NSLocalizedString(@"country_status_download", @"Button text for the button at the center of the screen when the country is not downloaded") UTF8String]);
f.AddString("country_status_download_failed", [NSLocalizedString(@"country_status_download_failed", @"Message to display at the center of the screen when the country download has failed") UTF8String]);
f.AddString("try_again", [NSLocalizedString(@"try_again", @"Button text for the button under the country_status_download_failed message") UTF8String]);
+ // Default texts for bookmarks added in C++ code (by URL Scheme API)
+ f.AddString("dropped_pin", [NSLocalizedString(@"dropped_pin", nil) UTF8String]);
+ f.AddString("my_places", [NSLocalizedString(@"my_places", nil) UTF8String]);
}
@implementation MapsAppDelegate