Don't start message with a newline

That breaks a couple of things:
* It messes up the layout of the message.
* The translations need to have this newline in as well, or they won't be accepted by gettext.
* The x-test translation puts 'xxxx' before the translation, so this one won't compile any more.

Contributes to issue CURA-7201.
This commit is contained in:
Ghostkeeper 2020-02-24 14:21:39 +01:00
parent 526f275a42
commit 633bdac21a
No known key found for this signature in database
GPG key ID: 37E2020986774393

View file

@ -90,7 +90,7 @@ class CloudPackageChecker(QObject):
Logger.log("d", "Discrepancy found between Cloud subscribed packages and Cura installed packages")
sync_message = Message(self._i18n_catalog.i18nc(
"@info:generic",
"\nDo you want to sync material and software packages with your account?"),
"Do you want to sync material and software packages with your account?"),
title = self._i18n_catalog.i18nc("@info:title", "Changes detected from your Ultimaker account", ),
lifetime = 0)
sync_message.addAction("sync",