ChatView: use correct plurals for "N Source(s)" (#2885)

Signed-off-by: cosmic-snow <134004613+cosmic-snow@users.noreply.github.com>
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Co-authored-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
cosmic-snow
2024-08-19 18:01:18 +02:00
committed by GitHub
parent 739121ea1e
commit 432430811d
9 changed files with 60 additions and 3224 deletions

View File

@@ -1142,7 +1142,7 @@ Rectangle {
}
Text {
text: qsTr("%1 Sources").arg(consolidatedSources.length)
text: qsTr("%n Source(s)", "", consolidatedSources.length)
padding: 0
font.pixelSize: theme.fontSizeLarge
font.bold: true