Refresh the bitrate text when the language changes

This commit is contained in:
Cameron Gutman 2023-09-02 18:47:42 -05:00
parent f1f3c8bfb9
commit b53333d1ba

View file

@ -641,6 +641,11 @@ Flickable {
bitrateTitle.text = qsTr("Video bitrate: %1 Mbps").arg(value / 1000.0)
StreamingPreferences.bitrateKbps = value
}
Component.onCompleted: {
// Refresh the text after translations change
languageChanged.connect(onValueChanged)
}
}
Label {