From fb0f5cd6965ee37ffd66f28fc9e3ee422323c2af Mon Sep 17 00:00:00 2001 From: iamsivin Date: Fri, 31 Oct 2025 15:46:52 +0530 Subject: [PATCH] chore: Update credit grants --- .../dashboard/i18n/locale/en/settings.json | 9 +- .../billing-v2/components/CreditGrants.vue | 122 ++++++++++-------- 2 files changed, 73 insertions(+), 58 deletions(-) diff --git a/app/javascript/dashboard/i18n/locale/en/settings.json b/app/javascript/dashboard/i18n/locale/en/settings.json index 648f058ac..8cdf43b7c 100644 --- a/app/javascript/dashboard/i18n/locale/en/settings.json +++ b/app/javascript/dashboard/i18n/locale/en/settings.json @@ -460,11 +460,14 @@ "CREDIT_GRANTS": { "TITLE": "Credit History", "DESCRIPTION": "View all your credit grants including topups and monthly credits.", - "CREDITS": "credits", + "CREDITS": "{credits} credits", "EXPIRES": "Expires", "NO_EXPIRY": "Never expires", - "ADDED": "Added", - "NO_GRANTS": "No credit grants yet." + "ADDED": "Added on {date}", + "VOIDED": "Voided", + "NO_GRANTS": "No credit grants yet.", + "TOPUPS": "Topups", + "MONTHLY": "Monthly" }, "SUBSCRIBE_MODAL": { "TITLE": "Confirm Subscription", diff --git a/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CreditGrants.vue b/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CreditGrants.vue index 27ab0d605..b920f036e 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CreditGrants.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/billing-v2/components/CreditGrants.vue @@ -1,7 +1,9 @@