diff options
author | fluxgen <fluxgen> | 2002-04-04 11:28:19 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-04 11:28:19 (GMT) |
commit | 2526e4bce821eedcd4bcc13e0f27ac7b9e255350 (patch) | |
tree | f86898efe146ecb882e597955e1e94b375154b19 /src/Workspacemenu.cc | |
parent | bd05695cfa6d066e5e5368d857eef8c0b11987c1 (diff) | |
download | fluxbox_pavel-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.zip fluxbox_pavel-2526e4bce821eedcd4bcc13e0f27ac7b9e255350.tar.bz2 |
moved nls defines to enums in namespace FBNLS
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 | ||