Add missing translation markers

This commit is contained in:
Arjen Hiemstra 2015-05-07 16:33:37 +02:00
parent ef62725cc1
commit acf5120cff
13 changed files with 76 additions and 40 deletions

View file

@ -9,7 +9,22 @@ Rectangle
Text
{
text: manager.progress == 0 ? "Starting firmware update, may take a while.": manager.progress > 99 ? "Firmware update completed.": "Updating firmware."
text: {
if (manager.progress == 0)
{
//: Firmware update status label
return qsTr("Starting firmware update, this may take a while.")
}
else if (manager.progress > 99)
{
//: Firmware update status label
return qsTr("Firmware update completed.")
}
else
{
//: Firmware update status label
return qsTr("Updating firmware.")
}
}
ProgressBar
{
@ -26,4 +41,4 @@ Rectangle
height: 25
}
}
}
}