diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 1acefc1..a051941 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1370,6 +1370,7 @@ void BScreen::rereadMenu() { | |||
1370 | MenuCreator::createMenu(*m_rootmenu, l, m_rootmenu->reloadHelper()); | 1370 | MenuCreator::createMenu(*m_rootmenu, l, m_rootmenu->reloadHelper()); |
1371 | } | 1371 | } |
1372 | catch(std::runtime_error &e) { | 1372 | catch(std::runtime_error &e) { |
1373 | _FB_USES_NLS; | ||
1373 | cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading root menu failed: ", | 1374 | cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading root menu failed: ", |
1374 | "Actual error message follows this string") << e.what() << endl; | 1375 | "Actual error message follows this string") << e.what() << endl; |
1375 | } | 1376 | } |
@@ -1407,7 +1408,8 @@ void BScreen::rereadWindowMenu() { | |||
1407 | MenuCreator::createMenu(*m_windowmenu, l, m_windowmenu->reloadHelper()); | 1408 | MenuCreator::createMenu(*m_windowmenu, l, m_windowmenu->reloadHelper()); |
1408 | } | 1409 | } |
1409 | catch(std::runtime_error &e) { | 1410 | catch(std::runtime_error &e) { |
1410 | cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading window menu failed: ", | 1411 | _FB_USES_NLS; |
1412 | cerr << _FB_CONSOLETEXT(Menu, WindowLoad, "Loading window menu failed: ", | ||
1411 | "Actual error message follows this string") << e.what() << endl; | 1413 | "Actual error message follows this string") << e.what() << endl; |
1412 | } | 1414 | } |
1413 | } | 1415 | } |