mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
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:
parent
526f275a42
commit
633bdac21a
1 changed files with 7 additions and 7 deletions
|
@ -90,14 +90,14 @@ class CloudPackageChecker(QObject):
|
||||||
Logger.log("d", "Discrepancy found between Cloud subscribed packages and Cura installed packages")
|
Logger.log("d", "Discrepancy found between Cloud subscribed packages and Cura installed packages")
|
||||||
sync_message = Message(self._i18n_catalog.i18nc(
|
sync_message = Message(self._i18n_catalog.i18nc(
|
||||||
"@info:generic",
|
"@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", ),
|
title = self._i18n_catalog.i18nc("@info:title", "Changes detected from your Ultimaker account", ),
|
||||||
lifetime=0)
|
lifetime = 0)
|
||||||
sync_message.addAction("sync",
|
sync_message.addAction("sync",
|
||||||
name=self._i18n_catalog.i18nc("@action:button", "Sync"),
|
name = self._i18n_catalog.i18nc("@action:button", "Sync"),
|
||||||
icon="",
|
icon = "",
|
||||||
description="Sync your Cloud subscribed packages to your local environment.",
|
description = "Sync your Cloud subscribed packages to your local environment.",
|
||||||
button_align=Message.ActionButtonAlignment.ALIGN_RIGHT)
|
button_align = Message.ActionButtonAlignment.ALIGN_RIGHT)
|
||||||
sync_message.actionTriggered.connect(self._onSyncButtonClicked)
|
sync_message.actionTriggered.connect(self._onSyncButtonClicked)
|
||||||
sync_message.show()
|
sync_message.show()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue