Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

demo-orgs: Update banner string to be marked for plurals.

Lauryn Menardf1b38251faee
diff --git a/web/src/demo_organizations_ui.ts b/web/src/demo_organizations_ui.ts
index ad81bc5d225..477743fee6a 100644
--- a/web/src/demo_organizations_ui.ts
+++ b/web/src/demo_organizations_ui.ts
@@ -53,10 +53,10 @@ export function insert_demo_organization_warning(): void {
label: $t(
{
defaultMessage:
- "This demo organization will be automatically deleted in {days_remaining} days, unless it's converted into a permanent organization.",
+ "This demo organization will be automatically deleted in {N, plural, one {# day} other {# days}}, unless it's converted into a permanent organization.",
},
{
- days_remaining,
+ N: days_remaining,
},
),
buttons,
diff --git a/web/src/navbar_alerts.ts b/web/src/navbar_alerts.ts
index 889feb796c8..4bec7a90928 100644
--- a/web/src/navbar_alerts.ts
+++ b/web/src/navbar_alerts.ts
@@ -388,10 +388,10 @@ const demo_organization_deadline_banner = (): AlertBanner => {
label: $t(
{
defaultMessage:
- "This demo organization will be automatically deleted in {days_remaining} days, unless it's converted into a permanent organization.",
+ "This demo organization will be automatically deleted in {N, plural, one {# day} other {# days}}, unless it's converted into a permanent organization.",
},
{
- days_remaining,
+ N: days_remaining,
},
),
buttons,