mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:59:10 +08:00
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:
parent
069384e588
commit
92e520b230
@ -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.
|
// Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import QtQuick 2.2
|
import QtQuick 2.2
|
||||||
@ -12,7 +12,7 @@ UM.Dialog
|
|||||||
id: base
|
id: base
|
||||||
|
|
||||||
//: About dialog title
|
//: 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
|
minimumWidth: 500 * screenScaleFactor
|
||||||
minimumHeight: 650 * screenScaleFactor
|
minimumHeight: 650 * screenScaleFactor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user