Fix typo in qdoc's messages.

Change-Id: I837eaef4fb114c20a75ffc188b49aa612f07f507
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
Takumi Asaki 2013-07-17 16:42:30 +09:00 committed by The Qt Project
parent c9182bc11b
commit 12e97b5fb4

View File

@ -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)));