From b81bc8b7d229b9c805c2a9fbaa4d738e019d2557 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Tue, 10 Apr 2018 15:21:13 +0300 Subject: [PATCH] Removed obsolete string --- .../com/mapswithme/maps/widget/placepage/PlacePageView.java | 4 ++-- .../Content/BookingCells/PPReviewHeaderCell.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java index f788fbe7a9..266ff8c405 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java +++ b/android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java @@ -755,8 +755,8 @@ public class PlacePageView extends RelativeLayout mReviewAdapter.setItems(new ArrayList<>(Arrays.asList(info.mReviews))); //noinspection ConstantConditions mHotelRating.setText(mSponsored.getRating()); - String text = getResources().getString(R.string.booking_based_on_reviews, - info.mReviewsAmount); + String text = getResources().getString(R.string.placepage_summary_rating_description, + String.valueOf(info.mReviewsAmount)); mHotelRatingBase.setText(text); TextView previewReviewCountView = (TextView) mPreviewRatingInfo.findViewById(R.id.tv__review_count); previewReviewCountView.setText(text); diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPReviewHeaderCell.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPReviewHeaderCell.swift index 0541e2b6f1..168d5131c6 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPReviewHeaderCell.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPReviewHeaderCell.swift @@ -5,6 +5,6 @@ final class PPReviewHeaderCell: UITableViewCell { @objc func config(rating: UGCRatingValueType, numberOfReviews: Int) { self.rating.text = rating.value - count.text = String(format: L("booking_based_on_reviews"), numberOfReviews) + count.text = String(coreFormat: L("placepage_summary_rating_description"), arguments: [numberOfReviews]) } }