diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-12-08 19:12:50 +0300 |
---|---|---|
committer | Илья Гречухин <i.grechuhin@gmail.com> | 2016-12-09 11:27:35 +0300 |
commit | 347c661a99e13ce78de1acf622ceb5bedb859b10 (patch) | |
tree | 92f7d61e5a1d22f09477c32cf3f17be5842120fe /iphone/Maps | |
parent | a6d2e97434ae09d3d7972ec6d79411270fdacb94 (diff) |
[ios] Localized banners.
Diffstat (limited to 'iphone/Maps')
-rw-r--r-- | iphone/Maps/Classes/MWMPlacePageData.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePageData.mm b/iphone/Maps/Classes/MWMPlacePageData.mm index bd3338101b..00af84d4b0 100644 --- a/iphone/Maps/Classes/MWMPlacePageData.mm +++ b/iphone/Maps/Classes/MWMPlacePageData.mm @@ -227,12 +227,12 @@ using namespace place_page; - (NSString *)bannerTitle { - return m_info.HasBanner() ? @(m_info.GetBannerTitleId().c_str()) : nil; + return m_info.HasBanner() ? L(@(m_info.GetBannerTitleId().c_str())) : nil; } - (NSString *)bannerContent { - return m_info.HasBanner() ? @(m_info.GetBannerMessageId().c_str()) : nil; + return m_info.HasBanner() ? L(@(m_info.GetBannerMessageId().c_str())) : nil; } - (NSURL *)bannerIconURL |