Skip to content

Instantly share code, notes, and snippets.

@alekseysidorov
Created June 16, 2016 13:35
Show Gist options
  • Save alekseysidorov/cc6bbf75dbb0c90df34ad8e9e93d4a55 to your computer and use it in GitHub Desktop.
Save alekseysidorov/cc6bbf75dbb0c90df34ad8e9e93d4a55 to your computer and use it in GitHub Desktop.
text: messageTextOnChecking.quantity() > 2000 ?
qsTr("Check that <font color='white'>\"%1\"</font>" +
" is full of <font color='white'>%2 %3</font>" +
" and add more if necessary"
).arg(worker.drawerToCheck(loadSubstratePage.machineName).drawerId)
.arg(worker.drawerToCheck(loadSubstratePage.machineName).humanizedSize)
.arg(messageTextOnChecking.substrateName())
:
qsTr("Check that there is at least <font color='white'>%1 sheets" +
" (%2 inches)</font>" +
" of <font color='white'>%3 %4</font>" +
" in <font color='white'>\"%5\"</font>" +
" and add more if necessary"
).arg(messageTextOnChecking.quantity())
.arg(messageTextOnChecking.thickness())
.arg(worker.drawerToCheck(loadSubstratePage.machineName).humanizedSize)
.arg(messageTextOnChecking.substrateName())
.arg(worker.drawerToCheck(loadSubstratePage.machineName).drawerId)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment