From 5d7bad4920956ce0e8d51efa8efb59a18da20d36 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 25 Mar 2025 22:04:26 +0100 Subject: [PATCH] core-components: fix AlertDisplay messaging Signed-off-by: Patrik Oldsberg --- .changeset/funny-lizards-clean.md | 5 +++++ packages/core-components/src/translation.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/funny-lizards-clean.md diff --git a/.changeset/funny-lizards-clean.md b/.changeset/funny-lizards-clean.md new file mode 100644 index 0000000000..7c85e28188 --- /dev/null +++ b/.changeset/funny-lizards-clean.md @@ -0,0 +1,5 @@ +--- +'@backstage/core-components': patch +--- + +Fixed the messaging in the `AlertDisplay` where it was claiming that there were older messages available rather than newer. diff --git a/packages/core-components/src/translation.ts b/packages/core-components/src/translation.ts index 13bd62bab8..40b6e94798 100644 --- a/packages/core-components/src/translation.ts +++ b/packages/core-components/src/translation.ts @@ -106,8 +106,8 @@ export const coreComponentsTranslationRef = createTranslationRef({ }, }, alertDisplay: { - message_one: '({{ count }} older message)', - message_other: '({{ count }} older messages)', + message_one: '({{ count }} newer message)', + message_other: '({{ count }} newer messages)', }, autoLogout: { stillTherePrompt: {