From 93effb79c079dfed018e4908091192f3f6604b70 Mon Sep 17 00:00:00 2001 From: Maik Aussendorf Date: Sat, 4 May 2013 13:14:38 +0200 Subject: [PATCH] BAT gives cryptic error message BAT gives cryptic error message, if director network address is configured wrong. Fixes #21: bat gives cryptic error message, if director network address is configured wrong Signed-off-by: Marco van Wieringen --- src/qt-console/console/console.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qt-console/console/console.cpp b/src/qt-console/console/console.cpp index 618e21c2f39..b35740209d7 100644 --- a/src/qt-console/console/console.cpp +++ b/src/qt-console/console/console.cpp @@ -146,7 +146,8 @@ void Console::populateLists(bool /*forcenew*/) if (!getDirComm(conn)) { if (mainWin->m_connDebug) Pmsg0(000, "call newDirComm\n"); if (!newDirComm(conn)) { - Emsg1(M_ABORT, 0, "Failed to connect to %s for populateLists.\n", m_dir->name()); + Emsg1(M_ABORT, 0, _("Failed to connect to director %s for populateLists." + " Check, if director's address or hostname is configured properly\n"), m_dir->name()); return; } }