From 4325fe5c797254f17092271e84a119558e4ed4bb Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Fri, 29 Jan 2016 17:13:09 +0300 Subject: [PATCH] [ios] Updated strings references. --- .../Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm | 6 +++--- iphone/Maps/Settings/SettingsViewController.mm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm index e5c01857d1..5d6c10a3b9 100644 --- a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm +++ b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm @@ -126,9 +126,9 @@ static NSString * const kDefaultAlertNibName = @"MWMDefaultAlert"; + (instancetype)needMigrationAlertWithOkBlock:(TMWMVoidBlock)block { - return [self defaultAlertWithTitle:@"need_migrate_title" - message:@"need_migrate_message" - rightButtonTitle:@"migrate" + return [self defaultAlertWithTitle:@"migrate_title" + message:@"migrate_and_split_mwms_message" + rightButtonTitle:@"delete_all" leftButtonTitle:@"not_now" rightButtonAction:block]; } diff --git a/iphone/Maps/Settings/SettingsViewController.mm b/iphone/Maps/Settings/SettingsViewController.mm index e32eb9e27c..8d6ba5eea9 100644 --- a/iphone/Maps/Settings/SettingsViewController.mm +++ b/iphone/Maps/Settings/SettingsViewController.mm @@ -138,7 +138,7 @@ typedef NS_ENUM(NSUInteger, Section) (void)Settings::Get(kAutoDownloadEnabledKey, autoDownloadEnabled); cell = [tableView dequeueReusableCellWithIdentifier:[SwitchCell className]]; SwitchCell * customCell = static_cast(cell); - customCell.titleLabel.text = L(@"mwm_autodownload"); + customCell.titleLabel.text = L(@"autodownload"); customCell.switchButton.on = autoDownloadEnabled; customCell.delegate = self; break;