Translation for number of occurrences (#25117)

* Translation for number of occurrences

* Update src/translations/en.json
This commit is contained in:
Simon Lamon 2025-04-21 10:47:43 +02:00 committed by GitHub
parent 09a17131ab
commit 6bf8faa96a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View File

@ -159,9 +159,11 @@ class DialogSystemLogDetail extends LitElement {
this.hass!.locale,
this.hass!.config
)}
(${item.count}
${this.hass.localize(
"ui.panel.config.logs.detail.occurrences"
(${this.hass.localize(
"ui.panel.config.logs.detail.number_of_occurrences",
{
count: item.count,
}
)}) <br />
`
: ""}

View File

@ -3162,7 +3162,7 @@
"documentation": "documentation",
"issues": "issues",
"first_occurred": "First occurred",
"occurrences": "occurrences",
"number_of_occurrences": "{count} {count, plural,\n one {occurrence}\n other {occurrences}\n}",
"last_logged": "Last logged"
}
},
@ -9320,7 +9320,6 @@
"documentation": "[%key:ui::panel::config::logs::detail::documentation%]",
"issues": "[%key:ui::panel::config::logs::detail::issues%]",
"first_occurred": "[%key:ui::panel::config::logs::detail::first_occurred%]",
"occurrences": "[%key:ui::panel::config::logs::detail::occurrences%]",
"last_logged": "[%key:ui::panel::config::logs::detail::last_logged%]"
}
}