diff options
Diffstat (limited to 'src/Workspacemenu.cc')
-rw-r--r-- | src/Workspacemenu.cc | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/src/Workspacemenu.cc b/src/Workspacemenu.cc index bedb6c0..ba4ff0a 100644 --- a/src/Workspacemenu.cc +++ b/src/Workspacemenu.cc | |||
@@ -44,29 +44,16 @@ Workspacemenu::Workspacemenu(BScreen *scrn) : Basemenu(scrn) { | |||
44 | 44 | ||
45 | setInternalMenu(); | 45 | setInternalMenu(); |
46 | I18n *i18n = I18n::instance(); | 46 | I18n *i18n = I18n::instance(); |
47 | 47 | using namespace FBNLS; | |
48 | setLabel(i18n->getMessage( | 48 | setLabel(i18n->getMessage( |
49 | #ifdef NLS | 49 | WorkspacemenuSet, WorkspacemenuWorkspacesTitle, |
50 | WorkspacemenuSet, WorkspacemenuWorkspacesTitle, | 50 | "Workspaces")); |
51 | #else // !NLS | ||
52 | 0, 0, | ||
53 | #endif // NLS | ||
54 | "Workspaces")); | ||
55 | |||
56 | insert(i18n->getMessage( | 51 | insert(i18n->getMessage( |
57 | #ifdef NLS | 52 | WorkspacemenuSet, WorkspacemenuNewWorkspace, |
58 | WorkspacemenuSet, WorkspacemenuNewWorkspace, | 53 | "New Workspace")); |
59 | #else // !NLS | ||
60 | 0, 0, | ||
61 | #endif // NLS | ||
62 | "New Workspace")); | ||
63 | insert(i18n->getMessage( | 54 | insert(i18n->getMessage( |
64 | #ifdef NLS | 55 | WorkspacemenuSet, WorkspacemenuRemoveLast, |
65 | WorkspacemenuSet, WorkspacemenuRemoveLast, | 56 | "Remove Last")); |
66 | #else // !NLS | ||
67 | 0, 0, | ||
68 | #endif // NLS | ||
69 | "Remove Last")); | ||
70 | } | 57 | } |
71 | 58 | ||
72 | 59 | ||