From d4e4b1bcb5f1e3cad3b36633e4662c06c4156cc6 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Mon, 6 Jan 2025 18:34:30 +0100 Subject: [PATCH] tweak text --- Habitica/res/values/strings.xml | 9 ++++++--- .../ui/views/subscriptions/SubscriptionOptionView.kt | 4 ++-- version.properties | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Habitica/res/values/strings.xml b/Habitica/res/values/strings.xml index fbf423e32..4b32420ed 100644 --- a/Habitica/res/values/strings.xml +++ b/Habitica/res/values/strings.xml @@ -407,7 +407,7 @@ Recurring every %s For %s Subscribe - Get up to 50 Gems in the Market to buy Quests, Customizations, Pets, and more! + Get up to 50 Gold-purchasable Gems in the Market to buy Quests, Customizations, Pets, and more! Never miss an item with 1 Mystic Hourglass a month to use in the Time Travelers Shop! Subscribe now to get an exclusive set now and receive new items every month! Subscribe now to get this %s and receive new items every month! @@ -1548,10 +1548,10 @@ Clear Cache Best Deal Unlock %d Gems per month in the Market - Unlocks %d Gems per month in the Market + They unlock %d Gems per month in the Market %d Gems Earn +2 Gems every month you\'re subscribed - Earns +2 Gems every month they\'re subscribed + Earn +2 Gems every month they\'re subscribed +2 Gems Popular Choose Member @@ -1560,6 +1560,9 @@ Enjoy all these exclusive benefits with your subscription Subscribe again to continue receiving Mystic Hourglasses Max Gem Cap + Instantly start at the max Gem Cap + They instantly start at the Max Gem Cap + Gem Cap Get 12 Mystic Hourglasses immediately after your first 12 month subscription! 12 Mystic Hourglasses diff --git a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/subscriptions/SubscriptionOptionView.kt b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/subscriptions/SubscriptionOptionView.kt index 3d067812a..b60b013a1 100644 --- a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/subscriptions/SubscriptionOptionView.kt +++ b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/subscriptions/SubscriptionOptionView.kt @@ -72,7 +72,7 @@ class SubscriptionOptionView(context: Context, attrs: AttributeSet) : FrameLayou } private fun updateGemCapText() { - binding.gemCapTextView.text = highlightText(context.getString(if (isGifted) R.string.unlock_x_gems_per_month else R.string.unlock_x_gems_per_month, gemCap), + binding.gemCapTextView.text = highlightText(context.getString(if (isGifted) R.string.unlocks_x_gems_per_month else R.string.unlock_x_gems_per_month, gemCap), context.getString(R.string.x_gems, gemCap), ContextCompat.getColor(context, if (isSubscriptionSelected) R.color.yellow_5 else R.color.white)) } @@ -80,7 +80,7 @@ class SubscriptionOptionView(context: Context, attrs: AttributeSet) : FrameLayou private fun setAddtlGemText(isSelected: Boolean) { if (gemCap == 50) { binding.hourglassTextView.text = highlightText( - context.getString(R.string.max_gem_cap), + context.getString(if (isGifted) R.string.max_gem_cap_text_gift else R.string.max_gem_cap_text), context.getString(R.string.gem_cap), ContextCompat.getColor(context, if (isSelected) R.color.yellow_5 else R.color.white) ) diff --git a/version.properties b/version.properties index 01c6d94e9..ac9ee06d8 100644 --- a/version.properties +++ b/version.properties @@ -1,2 +1,2 @@ NAME=4.6.0 -CODE=9261 +CODE=9301 \ No newline at end of file