Skip to content

Commit 549c3ca

Browse files
committed
Fix months plural display and edit job action description
1 parent 9396b15 commit 549c3ca

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/shared/jobs/projects/JobList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function JobList({
5656
{
5757
key: 'edit',
5858
label: 'Edit',
59-
description: 'Edit the job parameters',
59+
description: 'Modify the parameters of the job',
6060
icon: <RiEditLine />,
6161
onPress: () => {},
6262
},

src/shared/projects/DetailedUsage.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ function Item({ label, value, color }: { label: string; value: number; color: st
3030
<div className={clsx('h-2 w-2 rounded-full', color)} />
3131

3232
<div className="leading-none">
33-
<span className="text-slate-500">{label}:</span> <span className="font-medium">{value} months</span>
33+
<span className="text-slate-500">{label}:</span>{' '}
34+
<span className="font-medium">
35+
{value} month{value > 1 ? 's' : ''}
36+
</span>
3437
</div>
3538
</div>
3639
);

0 commit comments

Comments
 (0)