.qgs translation: ts-file empty #28381
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Project
Regression
Something which used to work, but doesn't anymore
Author Name: David Signer (@signedav)
Original Redmine Issue: 20561
Affected QGIS version: 3.5(master)
Redmine category:project_loading/saving
If there is a TS-File created, the only content is:
It's because the translatable object cannot be collected. This connection is never set up.
if ( QgsApplication::instance() )
connect( QgsApplication::instance(), &QgsApplication::requestForTranslatableObjects, this, &QgsProject::registerTranslatableObjects );
Seems, like it cannot get an instance of the QgsApplication. Possible QgsProject is created before the QgsApplication, what it hasn't before?
The text was updated successfully, but these errors were encountered: