diff --git a/website/client/src/components/shops/buyModal.vue b/website/client/src/components/shops/buyModal.vue index 513299dc5b..a773a6f81f 100644 --- a/website/client/src/components/shops/buyModal.vue +++ b/website/client/src/components/shops/buyModal.vue @@ -187,15 +187,22 @@
- {{ $t('monthlyGems') }} - - {{ gemsLeft }} {{ $t('gemsRemaining') }} - - - {{ $t('maxBuyGems') }} - +
+ {{ $t('monthlyGems') }}   + {{ gemsLeft }} / {{ totalGems }} {{ $t('gemsRemaining') }} +
+
+ {{ $t('monthlyGems') }}   + {{ gemsLeft }} / {{ totalGems }} {{ $t('gemsRemaining') }} +
@@ -615,6 +630,11 @@ export default { return planGemLimits.convCap + this.user.purchased.plan.consecutive.gemCapExtra - this.user.purchased.plan.gemsBought; }, + totalGems () { + if (!this.user.purchased.plan) return 0; + return planGemLimits.convCap + + this.user.purchased.plan.consecutive.gemCapExtra; + }, attemptingToPurchaseMoreGemsThanAreLeft () { if (this.item && this.item.key && this.item.key === 'gem' && this.selectedAmountToBuy > this.gemsLeft) return true; return false; diff --git a/website/common/locales/ach/subscriber.json b/website/common/locales/ach/subscriber.json index 1d673a17ae..3c9a6e7697 100755 --- a/website/common/locales/ach/subscriber.json +++ b/website/common/locales/ach/subscriber.json @@ -133,5 +133,4 @@ "purchaseAll": "Purchase Set", "gemsRemaining": "gems remaining", "notEnoughGemsToBuy": "You are unable to buy that amount of gems", - "monthlyGems": "Monthly Gems:" } diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index 977bc08ef2..4a26167d82 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -190,7 +190,7 @@ "subscriptionBenefit5": "Receive the Royal Purple Jackalope pet when you become a new subscriber.", "subscriptionBenefit6": "Earn Mystic Hourglasses to purchase items in the Time Traveler’s Shop!", "purchaseAll": "Purchase Set", - "gemsRemaining": "Gems remaining", + "gemsRemaining": "remaining", "notEnoughGemsToBuy": "You are unable to buy that amount of Gems", "subscribersReceiveBenefits": "Subscribers receive these useful benefits!", "monthlyMysteryItems": "Monthly Mystery Items", @@ -213,5 +213,6 @@ "haveNonRecurringSub": "You have a non-recurring gift subscription.", "switchToRecurring": "Switch to a recurring subscription?", "continueGiftSubBenefits": "Want to continue your benefits? You can start a new subscription before your gifted one runs out to keep your benefits active.", - "subscriptionCreditConversion": "Starting a new subscription will convert any remaining months to credit that will be used after the recurring subscription is canceled." + "subscriptionCreditConversion": "Starting a new subscription will convert any remaining months to credit that will be used after the recurring subscription is canceled.", + "monthlyGems": "Monthly Gems:" }