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:
authorvng <viktor.govako@gmail.com>2012-06-06 05:58:15 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:39:30 +0300
commitc66c90971058697ad1cc7026fcc932387f0fcc7e (patch)
tree26e417034b03bde7374d2a98e746aa95eb1bcc2a /iphone
parent74a22a60ada2362bc76d7053b52a80346b8590e5 (diff)
Fix StringBundle routine - remove unnecessary stuff.
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/MapViewController.mm16
1 files changed, 6 insertions, 10 deletions
diff --git a/iphone/Maps/Classes/MapViewController.mm b/iphone/Maps/Classes/MapViewController.mm
index daee45e1fe..fba9042d0d 100644
--- a/iphone/Maps/Classes/MapViewController.mm
+++ b/iphone/Maps/Classes/MapViewController.mm
@@ -167,16 +167,12 @@
Framework & f = GetFramework();
- StringsBundle b = f.GetDefaultStringsBundle();
-
- b.SetString("country_status_added_to_queue", [NSLocalizedString(@"%is added to the\ndownloading queue.", @"Message to display at the center of the screen when the country is added to the downloading queue") UTF8String]);
- b.SetString("country_status_downloading", [NSLocalizedString(@"Downloading%(%\\%)", @"Message to display at the center of the screen when the country is downloading") UTF8String]);
- b.SetString("country_status_download", [NSLocalizedString(@"Download%", @"Button text for the button at the center of the screen when the country is not downloaded") UTF8String]);
- b.SetString("country_status_download_failed", [NSLocalizedString(@"Downloading%\nhas failed", @"Message to display at the center of the screen when the country download has failed") UTF8String]);
- b.SetString("try_again", [NSLocalizedString(@"Try Again", @"Button text for the button under the country_status_download_failed message") UTF8String]);
-
- f.SetStringsBundle(b);
-
+ f.AddString("country_status_added_to_queue", [NSLocalizedString(@"%is added to the\ndownloading queue.", @"Message to display at the center of the screen when the country is added to the downloading queue") UTF8String]);
+ f.AddString("country_status_downloading", [NSLocalizedString(@"Downloading%(%\\%)", @"Message to display at the center of the screen when the country is downloading") UTF8String]);
+ f.AddString("country_status_download", [NSLocalizedString(@"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(@"Downloading%\nhas 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]);
+
m_StickyThreshold = 10;
m_CurrentAction = NOTHING;