From d983a402a5c7106935439c95d08eaadbf0b26b60 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Wed, 11 Dec 2024 14:27:26 +0200 Subject: [PATCH] QDecompressHelper: add comment for translators in readBrotli() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spotted by Friedemann Kleint in code review. Amends 763c47e055376bf6dbd4cd8fe1603b88aa3b72f0. Pick-to: 6.9 Change-Id: I3092c51964c167da30b6d1400ab2ba1e2f4df829 Reviewed-by: Friedemann Kleint Reviewed-by: MÃ¥rten Nordheim --- src/network/access/qdecompresshelper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/access/qdecompresshelper.cpp b/src/network/access/qdecompresshelper.cpp index 270e845c98c..0edcc49dc73 100644 --- a/src/network/access/qdecompresshelper.cpp +++ b/src/network/access/qdecompresshelper.cpp @@ -720,6 +720,7 @@ qsizetype QDecompressHelper::readBrotli(char *data, const qsizetype maxSize) switch (result) { Q_UNLIKELY_BRANCH case BROTLI_DECODER_RESULT_ERROR: + //: Brotli (compression algorithm) decoding error, e.g. corrupted input or memory allocation problem. errorStr = QCoreApplication::translate("QHttp", "Brotli error: %1") .arg(QUtf8StringView{BrotliDecoderErrorString( BrotliDecoderGetErrorCode(brotliDecoderState))});