From 12e97b5fb4bedbc945b4d5409ba9044a7046488c Mon Sep 17 00:00:00 2001 From: Takumi Asaki Date: Wed, 17 Jul 2013 16:42:30 +0900 Subject: [PATCH] Fix typo in qdoc's messages. Change-Id: I837eaef4fb114c20a75ffc188b49aa612f07f507 Reviewed-by: Friedemann Kleint Reviewed-by: Martin Smith --- src/tools/qdoc/doc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/qdoc/doc.cpp b/src/tools/qdoc/doc.cpp index 12056502d5..42b98502e0 100644 --- a/src/tools/qdoc/doc.cpp +++ b/src/tools/qdoc/doc.cpp @@ -1068,7 +1068,7 @@ void DocParser::parse(const QString& source, } if (!inTableHeader && !inTableRow) { - location().warning(tr("Missing '\\%1' or '\\%1' before '\\%3'") + location().warning(tr("Missing '\\%1' or '\\%2' before '\\%3'") .arg(cmdName(CMD_HEADER)) .arg(cmdName(CMD_ROW)) .arg(cmdName(CMD_LI))); @@ -1190,7 +1190,7 @@ void DocParser::parse(const QString& source, leavePara(); p1 = getRestOfLine(); if (p1.isEmpty()) - location().warning(tr("Missing format name after '\\%1") + location().warning(tr("Missing format name after '\\%1'") .arg(cmdName(CMD_RAW))); append(Atom::FormatIf, p1); append(Atom::RawString, untabifyEtc(getUntilEnd(cmd)));