diff options
Diffstat (limited to 'src/linguist/lupdate/cpp_clang.h')
-rw-r--r-- | src/linguist/lupdate/cpp_clang.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/linguist/lupdate/cpp_clang.h b/src/linguist/lupdate/cpp_clang.h index 4e6829f4b..eeab83b9b 100644 --- a/src/linguist/lupdate/cpp_clang.h +++ b/src/linguist/lupdate/cpp_clang.h @@ -234,7 +234,8 @@ struct Stores TranslationStores Preprocessor; WriteSynchronizedRef<TranslationRelatedStore> AST; WriteSynchronizedRef<TranslationRelatedStore> QDeclareTrWithContext; - WriteSynchronizedRef<TranslationRelatedStore> QNoopTranlsationWithContext; + WriteSynchronizedRef<TranslationRelatedStore> QNoopTranlsationWithContext; // or with warnings that need to be + //displayed in the same order, always }; namespace LupdatePrivate @@ -320,7 +321,7 @@ namespace ClangCppParser using TranslatorMessageVector = std::vector<TranslatorMessage>; void collectMessages(TranslatorMessageVector &result, TranslationRelatedStore &store); TranslatorMessage translatorMessage(const TranslationRelatedStore &store, - const QString &id, bool plural, bool isID); + const QString &id, bool plural, bool isID, bool isWarningOnly = false); void correctAstTranslationContext(ReadSynchronizedRef<TranslationRelatedStore> &ast, WriteSynchronizedRef<TranslationRelatedStore> &newAst, const TranslationStores &qDecl); |