From 300300682dc9c43a208955263574f86813319cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B0=D1=86=D0=B5=D0=BF=D0=B8=D0=BD?= Date: Wed, 18 Sep 2019 19:36:32 +0300 Subject: [PATCH] [android] Updated string ids on bookmark payment screen and bookmark subs screen --- android/res/layout/bookmark_subscription_fragment.xml | 4 ++-- .../com/mapswithme/maps/purchase/BookmarkPaymentFragment.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/res/layout/bookmark_subscription_fragment.xml b/android/res/layout/bookmark_subscription_fragment.xml index 23fba02feb..d6ef039e29 100644 --- a/android/res/layout/bookmark_subscription_fragment.xml +++ b/android/res/layout/bookmark_subscription_fragment.xml @@ -37,7 +37,7 @@ android:textSize="@dimen/text_size_title" android:layout_gravity="center" android:textColor="?subscriptionTitleColor" - android:text="@string/native_screen_subscription_title" + android:text="@string/subscription_screen_native_title_version_2" android:fontFamily="@string/robotoMedium" android:layout_marginRight="@dimen/height_item_oneline" android:layout_marginStart="@dimen/height_item_oneline" @@ -54,7 +54,7 @@ android:id="@+id/subtitle" android:layout_marginTop="@dimen/margin_base" tools:text="Every kind of journey. Whether alone or with friends, hiking or sunbathing" - android:text="@string/native_screen_subscription_message" + android:text="@string/subscription_screen_native_message_version_2" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" diff --git a/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java b/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java index 16c5887dcd..05e60adef1 100644 --- a/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java +++ b/android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java @@ -348,7 +348,7 @@ public class BookmarkPaymentFragment extends BaseMwmFragment String formattedPrice = Utils.formatCurrencyString(mSubsProductDetails.getPrice(), mSubsProductDetails.getCurrencyCode()); TextView subsButton = getViewOrThrow().findViewById(R.id.buy_subs_btn); - String priceString = getString(R.string.buy_btn_for_subscription, formattedPrice); + String priceString = getString(R.string.buy_btn_for_subscription_1, formattedPrice); String priceWithPeriod = priceString + getString(R.string.per_month); subsButton.setText(priceWithPeriod); }