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:
authorAleksey Belouosv <aleksey@maps.me>2019-02-28 14:08:43 +0300
committerAleksey Belousov <beloal@users.noreply.github.com>2019-03-01 18:28:21 +0300
commit91ecdfc7c9cd0201297e026fda5df38bec7b82b1 (patch)
treef08e16faaa1d933a551dba4a1b6309c63de55071 /iphone
parentbfb83cbd345eefeb8ba5ac8482f8d5232b1fe2e7 (diff)
[iOS] fix power management settings localization
https://jira.mail.ru/browse/MAPSME-9858
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/UI/Settings/MWMPowerManagmentViewController.mm4
-rw-r--r--iphone/Maps/UI/Settings/MWMSettingsViewController.mm6
-rw-r--r--iphone/Maps/UI/Storyboard/Settings.storyboard4
3 files changed, 7 insertions, 7 deletions
diff --git a/iphone/Maps/UI/Settings/MWMPowerManagmentViewController.mm b/iphone/Maps/UI/Settings/MWMPowerManagmentViewController.mm
index 8cf162abb7..d430f11f8b 100644
--- a/iphone/Maps/UI/Settings/MWMPowerManagmentViewController.mm
+++ b/iphone/Maps/UI/Settings/MWMPowerManagmentViewController.mm
@@ -20,7 +20,7 @@ using namespace power_management;
- (void)viewDidLoad
{
[super viewDidLoad];
- self.title = L(@"power_management_title");
+ self.title = L(@"power_managment_title");
SettingsTableViewSelectableCell * selectedCell;
switch (GetFramework().GetPowerManager().GetScheme())
@@ -76,7 +76,7 @@ using namespace power_management;
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section
{
- return L(@"power_management_description");
+ return L(@"power_managment_description");
}
@end
diff --git a/iphone/Maps/UI/Settings/MWMSettingsViewController.mm b/iphone/Maps/UI/Settings/MWMSettingsViewController.mm
index cc78a491ac..dbef215740 100644
--- a/iphone/Maps/UI/Settings/MWMSettingsViewController.mm
+++ b/iphone/Maps/UI/Settings/MWMSettingsViewController.mm
@@ -122,12 +122,12 @@ using namespace power_management;
switch (GetFramework().GetPowerManager().GetScheme())
{
case Scheme::None: break;
- case Scheme::Normal: powerManagement = L(@"power_management_setting_never"); break;
+ case Scheme::Normal: powerManagement = L(@"power_managment_setting_never"); break;
case Scheme::EconomyMedium: break;
case Scheme::EconomyMaximum: powerManagement = L(@"power_managment_setting_manual_max"); break;
- case Scheme::Auto: powerManagement = L(@"power_management_setting_auto"); break;
+ case Scheme::Auto: powerManagement = L(@"power_managment_setting_auto"); break;
}
- [self.powerManagementCell configWithTitle:L(@"power_management_title") info:powerManagement];
+ [self.powerManagementCell configWithTitle:L(@"power_managment_title") info:powerManagement];
NSString * recentTrack = nil;
if (!GpsTracker::Instance().IsEnabled())
diff --git a/iphone/Maps/UI/Storyboard/Settings.storyboard b/iphone/Maps/UI/Storyboard/Settings.storyboard
index c20436d349..c00671cd6c 100644
--- a/iphone/Maps/UI/Storyboard/Settings.storyboard
+++ b/iphone/Maps/UI/Storyboard/Settings.storyboard
@@ -2050,7 +2050,7 @@
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/>
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/>
- <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="power_management_setting_never"/>
+ <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="power_managment_setting_never"/>
</userDefinedRuntimeAttributes>
</label>
</subviews>
@@ -2110,7 +2110,7 @@
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/>
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/>
- <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="power_management_setting_auto"/>
+ <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="power_managment_setting_auto"/>
</userDefinedRuntimeAttributes>
</label>
</subviews>