Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Composer/packages/client/src/pages/publish/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ export const getPublishedNotificationCardProps = (item: BotStatus): CardProps =>
export const getPendingNotificationCardProps = (items: BotStatus[]): CardProps => {
return {
title: '',
description: formatMessage(`Publishing {count} bots`, { count: items.length }),
description: formatMessage(
`Publishing {
count, plural,
=1 {one bot}
other {# bots}
}`,
{ count: items.length }
),
type: 'pending',
onRenderCardContent: (props) => (
<div css={cardContent}>
Expand Down
4 changes: 2 additions & 2 deletions Composer/packages/server/src/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2840,8 +2840,8 @@
"published_4bb5209e": {
"message": "Published"
},
"publishing_count_bots_b2a7f564": {
"message": "Publishing { count } bots"
"publishing_count_plural_1_one_bot_other_bots_11edc1e9": {
"message": "Publishing { count, plural,\n =1 {one bot}\n other {# bots}\n}"
},
"publishing_d63a8f2d": {
"message": "Publishing"
Expand Down