summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/atom.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2013-02-07 10:39:22 +0100
committerThe Qt Project <[email protected]>2013-02-07 12:36:00 +0100
commit41dfd254c3a972fd77389713d0e370b98247a12d (patch)
tree06f4e97c5aded6a1a12b7f8d8b94e83fba7ef8ce /src/tools/qdoc/atom.cpp
parent5221ae5f424f24000d877d2a4394e2d75a052cca (diff)
qdoc: Fix translation contexts.
Put all translations into the namespace QDoc and fix warnings about invalid tr()-usage by removing the free tr()-function from tr.h. Provide QCoreApplication::translate() for bootstrap builds. Change-Id: I2b6931188346f290e80e14b84adff8892d8a860f Reviewed-by: Martin Smith <[email protected]> Reviewed-by: Oswald Buddenhagen <[email protected]>
Diffstat (limited to 'src/tools/qdoc/atom.cpp')
-rw-r--r--src/tools/qdoc/atom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qdoc/atom.cpp b/src/tools/qdoc/atom.cpp
index 481cfffd751..6f9da3790d7 100644
--- a/src/tools/qdoc/atom.cpp
+++ b/src/tools/qdoc/atom.cpp
@@ -349,7 +349,7 @@ QString Atom::typeString() const
int i = 0;
while (atms[i].english != 0) {
if (atms[i].no != i)
- Location::internalError(tr("atom %1 missing").arg(i));
+ Location::internalError(QCoreApplication::translate("QDoc::Atom", "atom %1 missing").arg(i));
i++;
}
deja = true;