Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.qgs translation: ts-file empty #28381

Closed
qgib opened this issue Nov 20, 2018 · 1 comment
Closed

.qgs translation: ts-file empty #28381

qgib opened this issue Nov 20, 2018 · 1 comment
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

Comments

@qgib
Copy link
Contributor

qgib commented Nov 20, 2018

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?

@qgib
Copy link
Contributor Author

qgib commented Dec 6, 2018

Author Name: David Signer (@signedav)


Applied in changeset f3943f5.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Dec 6, 2018
@qgib qgib added 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 labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant