Skip to content

Commit

Permalink
fix(ui): Use tn for crons max_runtime placeholder (#56524)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser authored Sep 20, 2023
1 parent e7e1550 commit 9987ce4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion static/app/views/monitors/components/monitorForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,11 @@ function MonitorForm({
/>
<NumberField
name="config.max_runtime"
placeholder={`Defaults to ${DEFAULT_MAX_RUNTIME} minutes`}
placeholder={tn(
'Defaults to %s minute',
'Defaults to %s minutes',
DEFAULT_MAX_RUNTIME
)}
help={t(
'Number of a minutes before an in-progress check-in is marked timed out.'
)}
Expand Down

0 comments on commit 9987ce4

Please sign in to comment.