Fix translation with an argument

There are multiple issues with that line:
* Other languages might have the application name before their version of 'About'. The previous line can't account for those languages because the application name is always appended at the end.
* The old one was trying to translate CuraApplication.applicationDisplayName which can't be statically determined.
* The old one had no explanation towards the translator.
This commit is contained in:
Ghostkeeper 2020-02-24 13:09:29 +01:00
parent 069384e588
commit 92e520b230
No known key found for this signature in database
GPG Key ID: 37E2020986774393

View File

@ -1,4 +1,4 @@
// Copyright (c) 2018 Ultimaker B.V.
// Copyright (c) 2020 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.2
@ -12,7 +12,7 @@ UM.Dialog
id: base
//: About dialog title
title: catalog.i18nc("@title:window","About " + catalog.i18nc("@title:window", CuraApplication.applicationDisplayName))
title: catalog.i18nc("@title:window The argument is the application name.", "About %1").arg(CuraApplication.applicationDisplayName)
minimumWidth: 500 * screenScaleFactor
minimumHeight: 650 * screenScaleFactor