mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:55:59 +08:00
Also don't translate 'configure' keyword on MacOS
Another attempt at finalising CURA-8245.
This commit is contained in:
parent
109fce5211
commit
e04a2b5e92
@ -180,7 +180,14 @@ Item
|
|||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: preferencesAction
|
id: preferencesAction
|
||||||
text: catalog.i18nc("@action:inmenu", "Configure Cura...")
|
//On MacOS, don't translate the "Configure" word.
|
||||||
|
//Qt moves the "configure" entry to a different place, and if it got renamed can't find it again when it
|
||||||
|
//attempts to delete the item upon closing the application, causing a crash.
|
||||||
|
//In the new location, these items are translated automatically according to the system's language.
|
||||||
|
//For more information, see:
|
||||||
|
//- https://doc.qt.io/qt-5/macos-issues.html#menu-bar
|
||||||
|
//- https://doc.qt.io/qt-5/qmenubar.html#qmenubar-as-a-global-menu-bar
|
||||||
|
text: (Qt.platform.os == "osx") ? "Configure Cura..." : catalog.i18nc("@action:inmenu", "Configure Cura...")
|
||||||
iconName: "configure"
|
iconName: "configure"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user