39 case Validator::SuperfluousAccelerator:
40 addError(model, tr(
"Accelerator possibly superfluous in translation: %1").arg(arg));
42 case Validator::MissingAccelerator:
43 addError(model, tr(
"Accelerator possibly missing in translation: %1").arg(arg));
45 case Validator::SurroundingWhitespaceDiffers:
47 tr(
"Translation does not have same leading and trailing whitespace as the source "
51 case Validator::PunctuationDiffers:
53 tr(
"Translation does not end with the same punctuation as the source text: %1")
56 case Validator::IgnoredPhrasebook:
57 addError(model, tr(
"A phrase book suggestion for '%1' was ignored.").arg(arg));
59 case Validator::PlaceMarkersDiffer:
62 tr(
"Translation does not refer to the same place markers as in the source text: %1")
65 case Validator::NumerusMarkerMissing:
67 tr(
"Translation does not contain the necessary %n/%Ln place marker: %1").arg(arg));
70 addError(model, tr(
"Unknown error"));