mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07: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 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue