aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2013-02-17 09:49:52 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-17 09:49:52 (GMT)
commit4af85aa91b3eba033c649c88159d93d73a24fc07 (patch)
treee9ecd34f85d682435309602ec757c3c30821b6b5
parent3ec18bbdc84aa17c2cbbbcfcaa599a8e021b60de (diff)
downloadfluxbox_pavel-4af85aa91b3eba033c649c88159d93d73a24fc07.zip
fluxbox_pavel-4af85aa91b3eba033c649c88159d93d73a24fc07.tar.bz2
Add missing translation entries
-rw-r--r--nls/fluxbox-nls.hh4
-rw-r--r--src/Screen.cc4
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 {
145 MenuErrorEndEncoding = 10, 145 MenuErrorEndEncoding = 10,
146 MenuFieldNotString = 11, 146 MenuFieldNotString = 11,
147 MenuMenuNotTable = 12, 147 MenuMenuNotTable = 12,
148 148 MenuRootLoad = 13,
149 MenuWindowLoad = 14,
150 MenuUnknownType = 15,
149 151
150 RememberSet = 11, 152 RememberSet = 11,
151 RememberDecorations = 1, 153 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() {
1394 MenuCreator::createMenu(*m_rootmenu, l, m_rootmenu->reloadHelper()); 1394 MenuCreator::createMenu(*m_rootmenu, l, m_rootmenu->reloadHelper());
1395 } 1395 }
1396 catch(std::runtime_error &e) { 1396 catch(std::runtime_error &e) {
1397 _FB_USES_NLS;
1397 cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading root menu failed: ", 1398 cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading root menu failed: ",
1398 "Actual error message follows this string") << e.what() << endl; 1399 "Actual error message follows this string") << e.what() << endl;
1399 } 1400 }
@@ -1437,7 +1438,8 @@ void BScreen::rereadWindowMenu() {
1437 MenuCreator::createMenu(*m_windowmenu, l, m_windowmenu->reloadHelper()); 1438 MenuCreator::createMenu(*m_windowmenu, l, m_windowmenu->reloadHelper());
1438 } 1439 }
1439 catch(std::runtime_error &e) { 1440 catch(std::runtime_error &e) {
1440 cerr << _FB_CONSOLETEXT(Menu, RootLoad, "Loading window menu failed: ", 1441 _FB_USES_NLS;
1442 cerr << _FB_CONSOLETEXT(Menu, WindowLoad, "Loading window menu failed: ",
1441 "Actual error message follows this string") << e.what() << endl; 1443 "Actual error message follows this string") << e.what() << endl;
1442 } 1444 }
1443} 1445}