From 4af85aa91b3eba033c649c88159d93d73a24fc07 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sun, 17 Feb 2013 10:49:52 +0100 Subject: Add missing translation entries --- nls/fluxbox-nls.hh | 4 +++- src/Screen.cc | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nls/fluxbox-nls.hh b/nls/fluxbox-nls.hh index 6c3d5f0..a218ea9 100644 --- a/nls/fluxbox-nls.hh +++ b/nls/fluxbox-nls.hh @@ -145,7 +145,9 @@ enum { MenuErrorEndEncoding = 10, MenuFieldNotString = 11, MenuMenuNotTable = 12, - + MenuRootLoad = 13, + MenuWindowLoad = 14, + MenuUnknownType = 15, RememberSet = 11, RememberDecorations = 1, diff --git a/src/Screen.cc b/src/Screen.cc index 93de6ca..44b6771 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1394,6 +1394,7 @@ void BScreen::rereadMenu() { MenuCreator::createMenu(*m_rootmenu, l, m_rootmenu->reloadHelper()); } catch(std::runtime_error &e) { + _FB_USES_NLS; cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading root menu failed: ", "Actual error message follows this string") << e.what() << endl; } @@ -1437,7 +1438,8 @@ void BScreen::rereadWindowMenu() { MenuCreator::createMenu(*m_windowmenu, l, m_windowmenu->reloadHelper()); } catch(std::runtime_error &e) { - cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading window menu failed: ", + _FB_USES_NLS; + cerr << _FB_CONSOLETEXT(Menu, WindowLoad, "Loading window menu failed: ", "Actual error message follows this string") << e.what() << endl; } } -- cgit v0.11.2