src: Use format strings when constructing MessageDialogs
Otherwise translations of the messages passed in might contain format placeholders which would then cause a read from an unexpected bit of the stack.
This incorporates a patch by Cosimo Cecchi cosimo@endlessm.com.
Signed-off-by: Philip Withnall withnall@endlessm.com