mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Adds extra context to the topbar menu-items
So the translators know in which groups to group the menu-items. The reason for this is that the translator choose alt key accelerators that are unique within its own group. Contributes to #CURA-526
This commit is contained in:
parent
6711cd3070
commit
993f026545
2 changed files with 31 additions and 31 deletions
|
|
@ -44,7 +44,7 @@ UM.MainWindow
|
|||
{
|
||||
id: fileMenu
|
||||
//: File menu
|
||||
title: catalog.i18nc("@title:menu","&File");
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel","&File");
|
||||
|
||||
MenuItem {
|
||||
action: actions.open;
|
||||
|
|
@ -53,7 +53,7 @@ UM.MainWindow
|
|||
Menu
|
||||
{
|
||||
id: recentFilesMenu;
|
||||
title: catalog.i18nc("@title:menu", "Open &Recent")
|
||||
title: catalog.i18nc("@title:menu menubar:file", "Open &Recent")
|
||||
iconName: "document-open-recent";
|
||||
|
||||
enabled: Printer.recentFiles.length > 0;
|
||||
|
|
@ -82,7 +82,7 @@ UM.MainWindow
|
|||
|
||||
MenuItem
|
||||
{
|
||||
text: catalog.i18nc("@action:inmenu", "&Save Selection to File");
|
||||
text: catalog.i18nc("@action:inmenu menubar:file", "&Save Selection to File");
|
||||
enabled: UM.Selection.hasSelection;
|
||||
iconName: "document-save-as";
|
||||
onTriggered: UM.OutputDeviceManager.requestWriteSelectionToDevice("local_file", Printer.jobName);
|
||||
|
|
@ -90,7 +90,7 @@ UM.MainWindow
|
|||
Menu
|
||||
{
|
||||
id: saveAllMenu
|
||||
title: catalog.i18nc("@title:menu","Save &All")
|
||||
title: catalog.i18nc("@title:menu menubar:file","Save &All")
|
||||
iconName: "document-save-all";
|
||||
enabled: devicesModel.rowCount() > 0 && UM.Backend.progress > 0.99;
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ UM.MainWindow
|
|||
Menu
|
||||
{
|
||||
//: Edit menu
|
||||
title: catalog.i18nc("@title:menu","&Edit");
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel","&Edit");
|
||||
|
||||
MenuItem { action: actions.undo; }
|
||||
MenuItem { action: actions.redo; }
|
||||
|
|
@ -135,7 +135,7 @@ UM.MainWindow
|
|||
|
||||
Menu
|
||||
{
|
||||
title: catalog.i18nc("@title:menu","&View");
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel","&View");
|
||||
id: top_view_menu
|
||||
Instantiator
|
||||
{
|
||||
|
|
@ -157,7 +157,7 @@ UM.MainWindow
|
|||
{
|
||||
id: machineMenu;
|
||||
//: Machine menu
|
||||
title: catalog.i18nc("@title:menu","&Printer");
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel","&Printer");
|
||||
|
||||
Instantiator
|
||||
{
|
||||
|
|
@ -203,7 +203,7 @@ UM.MainWindow
|
|||
Menu
|
||||
{
|
||||
id: profileMenu
|
||||
title: catalog.i18nc("@title:menu", "P&rofile")
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel", "P&rofile")
|
||||
|
||||
Instantiator
|
||||
{
|
||||
|
|
@ -230,7 +230,7 @@ UM.MainWindow
|
|||
{
|
||||
id: extension_menu
|
||||
//: Extensions menu
|
||||
title: catalog.i18nc("@title:menu","E&xtensions");
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel","E&xtensions");
|
||||
|
||||
Instantiator
|
||||
{
|
||||
|
|
@ -263,7 +263,7 @@ UM.MainWindow
|
|||
Menu
|
||||
{
|
||||
//: Settings menu
|
||||
title: catalog.i18nc("@title:menu","&Settings");
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel","&Settings");
|
||||
|
||||
MenuItem { action: actions.preferences; }
|
||||
}
|
||||
|
|
@ -271,7 +271,7 @@ UM.MainWindow
|
|||
Menu
|
||||
{
|
||||
//: Help menu
|
||||
title: catalog.i18nc("@title:menu","&Help");
|
||||
title: catalog.i18nc("@title:menu menubar:toplevel","&Help");
|
||||
|
||||
MenuItem { action: actions.showEngineLog; }
|
||||
MenuItem { action: actions.documentation; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue