minor fix

This commit is contained in:
daniel31x13 2024-11-09 15:27:15 -05:00
parent 213105942b
commit 9c9fd969bc
2 changed files with 7 additions and 1 deletions

View File

@ -255,7 +255,12 @@ export default function Billing() {
</table>
</div>
<p className="text-sm text-center font-bold mt-3">
{t("seats_purchased", { count: account?.subscription?.quantity })}
{t(
account?.subscription?.quantity === 1
? "seat_purchased"
: "seats_purchased",
{ count: account?.subscription?.quantity }
)}
</p>
{inviteModal && <InviteModal onClose={() => setInviteModal(false)} />}
{deleteUserModal.isOpen && deleteUserModal.userId && (

View File

@ -411,6 +411,7 @@
"active": "Active",
"manage_seats": "Manage Seats",
"seats_purchased": "{{count}} seats purchased",
"seat_purchased": "{{count}} seat purchased",
"date_added": "Date Added",
"resend_invite": "Resend Invitation",
"resend_invite_success": "Invitation Resent!",