From 3e1ce240ba3af846a3dc48b52880fd66de1dbe01 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 24 Jul 2016 10:56:12 +0200 Subject: [PATCH] translation items of OSX application menu --- src/Gui/Workbench.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Gui/Workbench.cpp b/src/Gui/Workbench.cpp index 12f73a0d2..24487e283 100644 --- a/src/Gui/Workbench.cpp +++ b/src/Gui/Workbench.cpp @@ -419,6 +419,16 @@ void Workbench::removeTaskWatcher(void) qApp->translate("Workbench", "Special Ops"); #endif +#if 0 // needed for the application menu on OSX + qApp->translate("MAC_APPLICATION_MENU", "Services"); + qApp->translate("MAC_APPLICATION_MENU", "Hide %1"); + qApp->translate("MAC_APPLICATION_MENU", "Hide Others"); + qApp->translate("MAC_APPLICATION_MENU", "Show All"); + qApp->translate("MAC_APPLICATION_MENU", "Preferences..."); + qApp->translate("MAC_APPLICATION_MENU", "Quit %1"); + qApp->translate("MAC_APPLICATION_MENU", "About %1"); +#endif + TYPESYSTEM_SOURCE(Gui::StdWorkbench, Gui::Workbench) StdWorkbench::StdWorkbench()