diff --git a/test/common/ops/buy/buyGem.js b/test/common/ops/buy/buyGem.js index d0a726a86d..3c82516623 100644 --- a/test/common/ops/buy/buyGem.js +++ b/test/common/ops/buy/buyGem.js @@ -119,7 +119,7 @@ describe('shared.ops.buyGem', () => { buyGem(user, { params: { type: 'gems', key: 'gem' } }); } catch (err) { expect(err).to.be.an.instanceof(NotAuthorized); - expect(err.message).to.equal(i18n.t('reachedGoldToGemCap', { convCap: planGemLimits.convCap })); + expect(err.message).to.equal(i18n.t('maxBuyGems', { convCap: planGemLimits.convCap })); done(); } }); diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index 79fbaeae3d..e25409921b 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -7,8 +7,7 @@ "buyGemsGold": "Buy Gems with Gold", "buyGemsGoldText": "Alexander the Merchant will sell you Gems at a cost of 20 Gold per Gem. His monthly shipments are initially capped at 25 Gems per month, but for every 3 consecutive months that you are subscribed, this cap increases by 5 Gems, up to a maximum of 50 Gems per month!", "mustSubscribeToPurchaseGems": "Must subscribe to purchase gems with GP", - "reachedGoldToGemCap": "You've reached the Gold=>Gem conversion cap <%= convCap %> for this month. We have this to prevent abuse / farming. The cap resets within the first three days of each month.", - "reachedGoldToGemCapQuantity": "Your requested amount <%= quantity %> exceeds the Gold=>Gem conversion cap <%= convCap %> for this month. We have this to prevent abuse / farming. The cap resets within the first three days of each month.", + "reachedGoldToGemCapQuantity": "Your requested amount <%= quantity %> exceeds the amount you can buy for this month (<%= convCap %>). The full amount becomes available within the first three days of each month. Thanks for subscribing!", "retainHistory": "Retain additional history entries", "retainHistoryText": "Makes completed To-Dos and task history available for longer.", "doubleDrops": "Daily drop caps doubled", diff --git a/website/common/script/ops/buy/buyGem.js b/website/common/script/ops/buy/buyGem.js index e2793fcb35..426245fc8c 100644 --- a/website/common/script/ops/buy/buyGem.js +++ b/website/common/script/ops/buy/buyGem.js @@ -47,7 +47,7 @@ export class BuyGemOperation extends AbstractGoldItemOperation { // eslint-disab super.canUserPurchase(user, item); if (user.purchased.plan.gemsBought >= this.convCap) { - throw new NotAuthorized(this.i18n('reachedGoldToGemCap', { convCap: this.convCap })); + throw new NotAuthorized(this.i18n('maxBuyGems', { convCap: this.convCap })); } if (user.purchased.plan.gemsBought + this.quantity > this.convCap) {