summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-05-20 16:46:39 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-05-20 16:46:39 (GMT)
commitbe9d25dc7f06ce8d7a9bb7524bb9b11609c9ec90 (patch)
treec56edb29949723b4c18293dae91166c61f571aa4 /tools/qdoc3
parent49564fa573cd15b5a6e4673b8945af6a92717432 (diff)
downloadQt-be9d25dc7f06ce8d7a9bb7524bb9b11609c9ec90.zip
Qt-be9d25dc7f06ce8d7a9bb7524bb9b11609c9ec90.tar.gz
Qt-be9d25dc7f06ce8d7a9bb7524bb9b11609c9ec90.tar.bz2
qdoc: Propagate the language information into the XML as before.
Reviewed-by: Trust Me
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index e352364..2774833 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1781,7 +1781,7 @@ void HtmlGenerator::generateHeader(const QString& title,
{
out() << QString("<?xml version=\"1.0\" encoding=\"%1\"?>\n").arg(outputEncoding);
out() << "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
- out() << "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n";
+ out() << QString("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"%1\" lang=\"%1\">\n").arg(naturalLanguage);
out() << "<head>\n";
out() << " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
QString shortVersion;