From: Kern Sibbald Date: Tue, 13 May 2008 08:13:50 +0000 (+0000) Subject: Tweak jobs dialog X-Git-Tag: Release-2.4.0~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ad7f9d7e9786418b081ab221ae705a770b064d0;p=bacula%2Fbacula Tweak jobs dialog git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6967 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/jobs/jobs.cpp b/bacula/src/qt-console/jobs/jobs.cpp index c7dade59cf..bc1046363f 100644 --- a/bacula/src/qt-console/jobs/jobs.cpp +++ b/bacula/src/qt-console/jobs/jobs.cpp @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2007-2007 Free Software Foundation Europe e.V. + Copyright (C) 2007-2008 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -75,9 +75,11 @@ void Jobs::populateTree() m_checkcurwidget = false; mp_treeWidget->clear(); m_checkcurwidget = true; - QStringList headerlist = (QStringList() << "Job Name" << "Pool" << "Messages" - << "Client" << "Storage" << "Where" << "Level" << "Type" << "FileSet" - << "Catalog" << "Enabled"); + QStringList headerlist = (QStringList() << tr("Job Name") + << tr("Pool") << tr("Messages") << tr("Client") + << tr("Storage") << tr("Level") << tr("Type") + << tr("FileSet") << tr("Catalog") << tr("Enabled") + << tr("Where")); m_typeIndex = headerlist.indexOf("Type"); topItem = new QTreeWidgetItem(mp_treeWidget); @@ -104,7 +106,6 @@ void Jobs::populateTree() jobsItem->setText(col++, job_defs.messages_name); jobsItem->setText(col++, job_defs.client_name); jobsItem->setText(col++, job_defs.store_name); - jobsItem->setText(col++, job_defs.where); jobsItem->setText(col++, job_defs.level); jobsItem->setText(col++, job_defs.type); jobsItem->setText(col++, job_defs.fileset_name); @@ -114,6 +115,7 @@ void Jobs::populateTree() } else { jobsItem->setText(col++, "No"); } + jobsItem->setText(col++, job_defs.where); } } /* Resize the columns */