[ios] MoreAppsVC localization fix

This commit is contained in:
Igor Khmurets 2014-02-15 01:59:56 +03:00 committed by Alex Zolotarev
parent 940be86d7a
commit a9b53daa54

View file

@ -59,13 +59,7 @@ using namespace::storage;
TitleMWM = @"MapsWithMe Pro";
TitleGuides = NSLocalizedString(@"more_apps_guides", nil);
NSDictionary * texts = [[AppInfo sharedInfo] featureValue:AppFeatureMoreAppsBanner forKey:@"Texts"];
NSString * text = texts[[[NSLocale preferredLanguages] firstObject]];
if (!text)
text = texts[@"*"];
if (!text)
text = @"iAd";
TitleAds = text;
TitleAds = NSLocalizedString(@"more_apps_ads", nil);
[self updateData];