diff --git a/frontend/messages/de.json b/frontend/messages/de.json index 4c4caeb3..e2a06192 100644 --- a/frontend/messages/de.json +++ b/frontend/messages/de.json @@ -1050,6 +1050,7 @@ "timeline_aria_label": "Zeitachse Dokumentdichte", "timeline_clear_selection": "Auswahl zurücksetzen", "timeline_zoom_reset": "Zurück zur Übersicht", - "timeline_bar_aria": "{when}, {count} Dokumente", + "timeline_bar_aria_singular": "{when}, 1 Dokument", + "timeline_bar_aria_plural": "{when}, {count} Dokumente", "timeline_dragging_aria_live": "Zeitraum {from} bis {to} ausgewählt" } diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 536ca0fb..10c3bf2e 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -1050,6 +1050,7 @@ "timeline_aria_label": "Document density timeline", "timeline_clear_selection": "Clear selection", "timeline_zoom_reset": "Reset zoom", - "timeline_bar_aria": "{when}, {count} documents", + "timeline_bar_aria_singular": "{when}, 1 document", + "timeline_bar_aria_plural": "{when}, {count} documents", "timeline_dragging_aria_live": "Range {from} to {to} selected" } diff --git a/frontend/messages/es.json b/frontend/messages/es.json index f4677d90..ca2439d9 100644 --- a/frontend/messages/es.json +++ b/frontend/messages/es.json @@ -1050,6 +1050,7 @@ "timeline_aria_label": "Cronología de densidad de documentos", "timeline_clear_selection": "Borrar selección", "timeline_zoom_reset": "Restablecer zoom", - "timeline_bar_aria": "{when}, {count} documentos", + "timeline_bar_aria_singular": "{when}, 1 documento", + "timeline_bar_aria_plural": "{when}, {count} documentos", "timeline_dragging_aria_live": "Rango {from} a {to} seleccionado" } diff --git a/frontend/src/lib/document/TimelineBars.svelte b/frontend/src/lib/document/TimelineBars.svelte index 56bc96ea..cac4c180 100644 --- a/frontend/src/lib/document/TimelineBars.svelte +++ b/frontend/src/lib/document/TimelineBars.svelte @@ -51,10 +51,12 @@ function barHeight(count: number): number {