1
0
Fork 0

Add missing translation calls in aircraft download panel

This commit is contained in:
Gonzalo Pesquero 2021-11-20 22:38:57 +01:00 committed by Florent Rougon
parent e5fe747662
commit cf5b724776

View file

@ -141,7 +141,7 @@ Item {
anchors.left: button.right
anchors.leftMargin: 6
anchors.verticalCenter: button.verticalCenter
text: "Size: " + (root.packageSize / 0x100000).toFixed(1) + "MB"
text: qsTr("Size: ") + (root.packageSize / 0x100000).toFixed(1) + qsTr(" MB")
}
Column {
@ -182,8 +182,8 @@ Item {
StyledText {
id: statusText
visible: false
text: (compact ? "" : "Downloaded ") + (root.downloadedBytes / 0x100000).toFixed(1) +
"MB of " + (root.packageSize / 0x100000).toFixed(1) + "MB";
text: (compact ? "" : qsTr("Downloaded ")) + (root.downloadedBytes / 0x100000).toFixed(1) +
qsTr(" MB of ") + (root.packageSize / 0x100000).toFixed(1) + qsTr(" MB");
}
} // item container for progress bar and text