mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
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:
@@ -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
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user