Fix name in bar badge

This commit is contained in:
Petr Mironychev 2024-10-19 20:11:09 +02:00
parent 496d8feb66
commit 693e429bdd

View File

@ -154,7 +154,7 @@ ChatRootView {
spacing: 10
Badge {
text: "%1/%2".arg(root.chatModel.totalTokens).arg(root.chatModel.tokensThreshold)
text: qsTr("tokens:%1/%2").arg(root.chatModel.totalTokens).arg(root.chatModel.tokensThreshold)
color: root.codeColor
fontColor: root.primaryColor.hslLightness > 0.5 ? "black" : "white"
}