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:
Tamara Hogenhout 2016-01-12 15:57:43 +01:00
parent 6711cd3070
commit 993f026545
2 changed files with 31 additions and 31 deletions

View file

@ -54,7 +54,7 @@ Item
Action
{
id: undoAction;
text: catalog.i18nc("@action:inmenu","&Undo");
text: catalog.i18nc("@action:inmenu menubar:edit","&Undo");
iconName: "edit-undo";
shortcut: StandardKey.Undo;
}
@ -62,7 +62,7 @@ Item
Action
{
id: redoAction;
text: catalog.i18nc("@action:inmenu","&Redo");
text: catalog.i18nc("@action:inmenu menubar:edit","&Redo");
iconName: "edit-redo";
shortcut: StandardKey.Redo;
}
@ -70,7 +70,7 @@ Item
Action
{
id: quitAction;
text: catalog.i18nc("@action:inmenu","&Quit");
text: catalog.i18nc("@action:inmenu menubar:file","&Quit");
iconName: "application-exit";
shortcut: StandardKey.Quit;
}
@ -78,55 +78,55 @@ Item
Action
{
id: preferencesAction;
text: catalog.i18nc("@action:inmenu","&Preferences...");
text: catalog.i18nc("@action:inmenu menubar:settings","&Preferences...");
iconName: "configure";
}
Action
{
id: addMachineAction;
text: catalog.i18nc("@action:inmenu","&Add Printer...");
text: catalog.i18nc("@action:inmenu menubar:printer","&Add Printer...");
}
Action
{
id: settingsAction;
text: catalog.i18nc("@action:inmenu","Manage Pr&inters...");
text: catalog.i18nc("@action:inmenu menubar:printer","Manage Pr&inters...");
iconName: "configure";
}
Action
{
id: manageProfilesAction;
text: catalog.i18nc("@action:inmenu","Manage Profiles...");
text: catalog.i18nc("@action:inmenu menubar:profile","Manage Profiles...");
iconName: "configure";
}
Action
{
id: documentationAction;
text: catalog.i18nc("@action:inmenu","Show Online &Documentation");
text: catalog.i18nc("@action:inmenu menubar:help","Show Online &Documentation");
iconName: "help-contents";
shortcut: StandardKey.Help;
}
Action {
id: reportBugAction;
text: catalog.i18nc("@action:inmenu","Report a &Bug");
text: catalog.i18nc("@action:inmenu menubar:help","Report a &Bug");
iconName: "tools-report-bug";
}
Action
{
id: aboutAction;
text: catalog.i18nc("@action:inmenu","&About...");
text: catalog.i18nc("@action:inmenu menubar:help","&About...");
iconName: "help-about";
}
Action
{
id: deleteSelectionAction;
text: catalog.i18nc("@action:inmenu","Delete &Selection");
text: catalog.i18nc("@action:inmenu menubar:edit","Delete &Selection");
iconName: "edit-delete";
shortcut: StandardKey.Delete;
}
@ -147,7 +147,7 @@ Item
Action
{
id: groupObjectsAction
text: catalog.i18nc("@action:inmenu","&Group Objects");
text: catalog.i18nc("@action:inmenu menubar:edit","&Group Objects");
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
iconName: "object-group"
}
@ -155,7 +155,7 @@ Item
Action
{
id: unGroupObjectsAction
text: catalog.i18nc("@action:inmenu","Ungroup Objects");
text: catalog.i18nc("@action:inmenu menubar:edit","Ungroup Objects");
enabled: UM.Scene.isGroupSelected
iconName: "object-ungroup"
}
@ -163,7 +163,7 @@ Item
Action
{
id: mergeObjectsAction
text: catalog.i18nc("@action:inmenu","&Merge Objects");
text: catalog.i18nc("@action:inmenu menubar:edit","&Merge Objects");
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
iconName: "merge";
}
@ -178,7 +178,7 @@ Item
Action
{
id: deleteAllAction;
text: catalog.i18nc("@action:inmenu","&Clear Build Platform");
text: catalog.i18nc("@action:inmenu menubar:edit","&Clear Build Platform");
iconName: "edit-delete";
shortcut: "Ctrl+D";
}
@ -186,26 +186,26 @@ Item
Action
{
id: reloadAllAction;
text: catalog.i18nc("@action:inmenu","Re&load All Objects");
text: catalog.i18nc("@action:inmenu menubar:file","Re&load All Objects");
iconName: "document-revert";
}
Action
{
id: resetAllTranslationAction;
text: catalog.i18nc("@action:inmenu","Reset All Object Positions");
text: catalog.i18nc("@action:inmenu menubar:edit","Reset All Object Positions");
}
Action
{
id: resetAllAction;
text: catalog.i18nc("@action:inmenu","Reset All Object &Transformations");
text: catalog.i18nc("@action:inmenu menubar:edit","Reset All Object &Transformations");
}
Action
{
id: openAction;
text: catalog.i18nc("@action:inmenu","&Open File...");
text: catalog.i18nc("@action:inmenu menubar:file","&Open File...");
iconName: "document-open";
shortcut: StandardKey.Open;
}
@ -213,7 +213,7 @@ Item
Action
{
id: showEngineLogAction;
text: catalog.i18nc("@action:inmenu","Show Engine &Log...");
text: catalog.i18nc("@action:inmenu menubar:help","Show Engine &Log...");
iconName: "view-list-text";
shortcut: StandardKey.WhatsThis;
}