Qt Linguist 为翻译提供下列验证测试:
%1
,
%2
) appear both in the source text and in the translation.
To switch validation tests on or off, select Validation or use the toolbar buttons.
Not accepted strings that fail validation tests are marked with the Validation Failures icon in the Strings view. Accepted strings are marked with Accepted/Warnings .
If you switch validation off and then switch it on later, Qt Linguist rechecks all phrases and marks any that fail validation.
The Warnings view lists the strings that fail the active validation tests. The first warning is also shown in the status bar at the bottom of the main window.
注意: Only results of active validation tests are reported.