diff options
author | simonb <simonb> | 2006-06-21 14:41:16 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-06-21 14:41:16 (GMT) |
commit | 3ada3b1f0d6d2debaaab48eecf828a406e964c8e (patch) | |
tree | 3c2f02462317408ee8604d0c7bb41092ecfd1c3a /src/Workspace.cc | |
parent | 62a298b0b30aa5b4990f462aece224e09e4fafe6 (diff) | |
download | fluxbox-3ada3b1f0d6d2debaaab48eecf828a406e964c8e.zip fluxbox-3ada3b1f0d6d2debaaab48eecf828a406e964c8e.tar.bz2 |
fix nls... notably classify text on conversion whether its for X or
console, plus handle catalogs better.
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index e3f9d74..46d3078 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -374,10 +374,9 @@ void Workspace::setName(const std::string &name) { | |||
374 | _FB_USES_NLS; | 374 | _FB_USES_NLS; |
375 | char tname[128]; | 375 | char tname[128]; |
376 | sprintf(tname, | 376 | sprintf(tname, |
377 | _FBTEXT(Workspace, DefaultNameFormat, | 377 | _FB_XTEXT(Workspace, DefaultNameFormat, |
378 | "Workspace %d", "Default workspace names, with a %d for the workspace number").c_str(), | 378 | "Workspace %d", "Default workspace names, with a %d for the workspace number").c_str(), |
379 | m_id + 1); //m_id starts at 0 | 379 | m_id + 1); //m_id starts at 0 |
380 | m_name = FbTk::FbStringUtil::LocaleStrToFb(tname); | ||
381 | } | 380 | } |
382 | 381 | ||
383 | screen().updateWorkspaceNamesAtom(); | 382 | screen().updateWorkspaceNamesAtom(); |