core-components: fix AlertDisplay messaging

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-03-25 22:04:26 +01:00
parent 613b98a7c0
commit 5d7bad4920
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -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.
+2 -2
View File
@@ -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: {