copy(cloud): W10 — cap off the pricing fine print; 'You can run N'; start error matches the card

This commit is contained in:
Neil
2026-11-09 17:31:06 -08:00
parent 7c9abb57f1
commit 8ca59fb6f5
5 changed files with 10 additions and 13 deletions
@@ -306,11 +306,8 @@ export function PlansView(props: PlansViewProps): React.JSX.Element {
<div className="space-y-1 text-center text-xs text-muted-foreground text-pretty">
<p>
{t(
'auto.components.billing.plans.footHours4',
'Hours reset every month, including on annual plans. Each seat can run {{value0}} sandboxes at once.',
// The cap is enforced by the control plane; the fine print states it before anyone
// reaches the limit card, while the Team card keeps to the marketing bullets.
{ value0: String(offers.team.concurrentSandboxesPerSeat) }
'auto.components.billing.plans.footHours3',
'Hours reset every month, including on annual plans.'
)}
</p>
<p>
@@ -16,8 +16,8 @@ export function describeError(error: string, reason?: string, t: Translate = tra
const limit = sandboxLimitFromBilling(getLastBillingStatus())
return limit
? t(
'auto.components.cloudWorkspaces.errorConcurrencyLimitCount',
"You're at your team's limit: your team can run {{value0}} sandboxes at once ({{value1}} per seat). Put one to sleep or delete it, then try again.",
'auto.components.cloudWorkspaces.errorConcurrencyLimitCount2',
'Your team can run {{value0}} sandboxes at once ({{value1}} per seat). Put one to sleep or delete it, then try again.',
{ value0: String(limit.team), value1: String(limit.perSeat) }
)
: t(
@@ -143,8 +143,8 @@ export function vmBuildFailureCopy(
),
body: sandboxLimit
? t(
'auto.components.worktree.creation.VmBuildFailureCard.memberLimitBody',
'Each person can run {{value0}} sandboxes at once. Put one to sleep or delete it, then try again. Nothing was created, and you weren’t charged.',
'auto.components.worktree.creation.VmBuildFailureCard.memberLimitBody2',
'You can run {{value0}} sandboxes at once. Put one to sleep or delete it, then try again. Nothing was created, and you weren’t charged.',
{ value0: String(sandboxLimit.perSeat) }
)
: t(
@@ -115,7 +115,7 @@ describe('vmBuildFailureCopy', () => {
'Your team can run 12 sandboxes at once (3 per seat). Put one to sleep or delete it'
)
expect(copy({ kind: 'memberConcurrency' }, { perSeat: 3, team: 12 })).toContain(
'Each person can run 3 sandboxes at once. Put one to sleep or delete it'
'You can run 3 sandboxes at once. Put one to sleep or delete it'
)
expect(copy({ kind: 'concurrency' }, null)).toMatch(/^Put one to sleep or delete it/)
})
+3 -3
View File
@@ -4109,7 +4109,7 @@
"teamLimitTitle": "You’re at your team’s limit of running sandboxes",
"limitBody": "Put one to sleep or delete it, then try again. Nothing was created, and you weren’t charged.",
"teamLimitBody": "Your team can run {{value0}} sandboxes at once ({{value1}} per seat). Put one to sleep or delete it, then try again. Nothing was created, and you weren’t charged.",
"memberLimitBody": "Each person can run {{value0}} sandboxes at once. Put one to sleep or delete it, then try again. Nothing was created, and you weren’t charged.",
"memberLimitBody2": "You can run {{value0}} sandboxes at once. Put one to sleep or delete it, then try again. Nothing was created, and you weren’t charged.",
"memberLimitTitle": "You’re at your limit of running sandboxes",
"githubNotConnectedTitle": "GitHub isn’t connected for {{repo}}",
"githubNotConnectedBody": "Orca Cloud clones your code from GitHub and needs access to this repository first. Connect GitHub, then try again. Nothing was created, and you weren’t charged.",
@@ -20542,7 +20542,7 @@
"vpSecretsTitle3": "API keys stay out of the sandbox",
"billedYearlyAmount2": "{{value0}} per seat, billed yearly",
"entPriced2": "Priced for your team",
"footHours4": "Hours reset every month, including on annual plans. Each seat can run {{value0}} sandboxes at once.",
"footHours3": "Hours reset every month, including on annual plans.",
"perSeatPerMonth": "per seat per month",
"seatsPerMember_one": "{{count}} seat, one per team member",
"seatsPerMember_other": "{{count}} seats, one per team member",
@@ -20678,7 +20678,7 @@
"emptyTeamTitle": "No team workspaces yet",
"environmentName": "{{value0}} (cloud)",
"errorConcurrencyLimit": "You're at your team's limit of running sandboxes. Put one to sleep or delete it, then try again.",
"errorConcurrencyLimitCount": "You're at your team's limit: your team can run {{value0}} sandboxes at once ({{value1}} per seat). Put one to sleep or delete it, then try again.",
"errorConcurrencyLimitCount2": "Your team can run {{value0}} sandboxes at once ({{value1}} per seat). Put one to sleep or delete it, then try again.",
"errorMemberConcurrencyLimit": "You're at your limit of running sandboxes. Put one to sleep or delete it, then try again.",
"errorConflict": "This workspace is still starting or going to sleep. Nothing was changed. Try again in a moment.",
"errorConflictInline": "This workspace is still starting or going to sleep. Nothing was changed.",