diff options
Diffstat (limited to 'iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC')
4 files changed, 7 insertions, 7 deletions
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift index 4b07eca444..934281d937 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift @@ -17,7 +17,7 @@ final class UGCAddReviewRatingCell: MWMTableViewCell { var model: UGCRatingStars! { didSet { - titleLabel.text = model.title + titleLabel.text = L(model.title) ratingView.value = model.value ratingView.starsCount = 5 } diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.xib b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.xib index 941c206d15..6e447516ac 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.xib +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.xib @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> <dependencies> <deployment identifier="iOS"/> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -19,7 +19,7 @@ <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZYO-sw-mr0"> - <rect key="frame" x="8" y="14" width="42" height="15.5"/> + <rect key="frame" x="16" y="14" width="42" height="15.5"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <nil key="textColor"/> <nil key="highlightedColor"/> @@ -41,7 +41,7 @@ <constraints> <constraint firstAttribute="bottom" secondItem="ZYO-sw-mr0" secondAttribute="bottom" constant="14" id="JGH-iW-T5A"/> <constraint firstAttribute="trailing" secondItem="FRG-q1-pKr" secondAttribute="trailing" constant="16" id="RsB-As-Tpo"/> - <constraint firstItem="ZYO-sw-mr0" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="8" id="UzX-2P-uVU"/> + <constraint firstItem="ZYO-sw-mr0" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="UzX-2P-uVU"/> <constraint firstItem="FRG-q1-pKr" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Yo0-tP-fqk"/> <constraint firstItem="ZYO-sw-mr0" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="14" id="mps-PB-xMQ"/> </constraints> diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewTextCell.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewTextCell.swift index 49994841e0..18fa8fe1f0 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewTextCell.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewTextCell.swift @@ -1,7 +1,7 @@ final class UGCAddReviewTextCell: MWMTableViewCell { @IBOutlet private weak var textView: MWMTextView! { didSet { - textView.placeholder = L("review_placeholder") + textView.placeholder = L("placepage_reviews_hint") textView.font = UIFont.regular16() textView.textColor = UIColor.blackPrimaryText() textView.placeholderView.textColor = UIColor.blackSecondaryText() diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift index 722ecad58a..d840532253 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift @@ -12,7 +12,7 @@ final class UGCSummaryRatingStarsCell: UICollectionViewCell { } func config(rating: UGCRatingStars) { - ratingView.topText = rating.title + ratingView.topText = L(rating.title) ratingView.value = rating.value ratingView.starsCount = Int(rating.maxValue) } |