translate/translate — pull request #3201 by nblock (2014-08-01 08:58:52+00:00)
Title: Output xml decleration for Qt Linguist files (fixes #3198).

lupdate uses »"« in the xml decleration but the tested versions of lxml (2.1.0, 3.2.1) emitted »'«, so I specified the xml header manually.

I tested multiple versions of lupdate with the following source file (main.cpp):
```
#include
#include

int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
qDebug() << QString(QObject::tr("A String"));

return app.exec();
}
```

Invocation of lupdate:
```
$ lupdate main.cpp -ts de.ts
```

lupdate (5.3.1):
```

QObject

A String

```

lupdate (4.8.6):
```

QObject

A String

```

lupdate (4.8.1):
```

QObject

A String

```

lupdate (4.6.2):
```

QObject

A String

```