copy(cloud): W10 — team list cell spells out 'sandbox hours' (drops the column when narrow); '{{n}} sandbox hours of overage this month'

This commit is contained in:
Neil
2026-11-10 01:55:59 -08:00
parent d4653c15d3
commit 6feed28d32
5 changed files with 19 additions and 8 deletions
@@ -61,7 +61,7 @@ export const overageCapReached = defineFixture({
usedSeconds: 333 * HOUR,
remainingIncludedSeconds: 0,
usageWarningPercent: 100,
overageSeconds: 33 * HOUR,
overageSeconds: 25 * HOUR,
overage: {
optedIn: true,
active: true,
@@ -95,9 +95,15 @@ export function UsageSummary({
) : null}
{entitlement.overageSeconds > 0 ? (
<p className="text-xs text-muted-foreground tabular-nums">
{t('auto.components.billing.overageHoursOnly', '{{value0}} overage hours this month', {
value0: formatHours(entitlement.overageSeconds)
})}
{t(
'auto.components.billing.overageHoursOnly2',
'{{hours}} sandbox hours of overage this month',
{
count: Number(formatHours(entitlement.overageSeconds)),
hours: formatHours(entitlement.overageSeconds),
defaultValue_one: '{{hours}} sandbox hour of overage this month'
}
)}
</p>
) : null}
{entitlement.usageWarningPercent !== null && entitlement.usageWarningPercent < 100 ? (
@@ -169,7 +169,7 @@ export function CloudWorkspaceRow({
}
}}
className={cn(
'group relative isolate flex items-center gap-3 rounded-lg pr-2 transition-colors hover:bg-accent',
'group @container relative isolate flex items-center gap-3 rounded-lg pr-2 transition-colors hover:bg-accent',
menuOpen && 'bg-accent'
)}
>
@@ -295,8 +295,10 @@ export function CloudWorkspaceRow({
/>
<Tooltip>
<TooltipTrigger asChild>
<span className="w-14 text-right text-xs tabular-nums text-muted-foreground">
{hours}
{/* The list has no column headers, so the unit is spelled out; a narrow row drops the
column rather than the unit. */}
<span className="hidden shrink-0 text-right text-xs tabular-nums whitespace-nowrap text-muted-foreground @[34rem]:inline">
{usage}
</span>
</TooltipTrigger>
<TooltipContent side="top">
+2
View File
@@ -205,6 +205,8 @@
}
},
"billing": {
"overageHoursOnly2_one": "{{hours}} sandbox hour of overage this month",
"overageHoursOnly2_other": "{{hours}} sandbox hours of overage this month",
"plans": {
"seatsPerMember_one": "{{count}} seat, one per team member",
"seatsPerMember_other": "{{count}} seats, one per team member"
+2 -1
View File
@@ -20688,7 +20688,8 @@
"openForbidden2": "Only an owner or admin can manage billing.",
"openSignedOut2": "Sign in to Orca again to manage your team.",
"overageDescription5": "Optional overage at {{value0}}/hour, up to a monthly spend cap you set ({{value1}} by default).",
"overageHoursOnly": "{{value0}} overage hours this month",
"overageHoursOnly2_one": "{{hours}} sandbox hour of overage this month",
"overageHoursOnly2_other": "{{hours}} sandbox hours of overage this month",
"overageMemberHint": "Owners and admins can change overage.",
"overageOffRead": "Off",
"overageOnRead": "On",