Merge pull request #18 from igrechuhin/ig-bugfix

[ios] Added search placeholder localization.
This commit is contained in:
Vlad Mihaylenko 2015-09-24 16:48:02 +03:00
commit cc647aafa6
2 changed files with 2 additions and 1 deletions

View file

@ -48,6 +48,7 @@ extern NSString * const kAlohalyticsTapEventKey;
self.delegate = delegate;
self.rootView.delegate = delegate;
self.parentView = view;
self.searchTextField.placeholder = L(@"search");
self.state = MWMSearchManagerStateHidden;
}
return self;

View file

@ -118,7 +118,7 @@
<constraint firstAttribute="height" constant="20" id="uq8-gE-5iC"/>
</constraints>
</view>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Search" adjustsFontSizeToFit="NO" minimumFontSize="17" clearButtonMode="always" translatesAutoresizingMaskIntoConstraints="NO" id="hna-zw-Zor" userLabel="Search" customClass="MWMSearchTextField">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" adjustsFontSizeToFit="NO" minimumFontSize="17" clearButtonMode="always" translatesAutoresizingMaskIntoConstraints="NO" id="hna-zw-Zor" userLabel="Search" customClass="MWMSearchTextField">
<rect key="frame" x="8" y="4" width="246" height="36"/>
<fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" returnKeyType="search"/>