/*
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.
QStringList titles;
setupUi(this);
- m_name = "Restore Select";
+ m_name = tr("Restore Select");
pgInitialize();
QTreeWidgetItem* thisitem = mainWin->getFromHash(this);
thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/restore.png")));
setFont(m_console->get_font());
m_console->displayToPrompt();
- titles << "Mark" << "File" << "Mode" << "User" << "Group" << "Size" << "Date";
+ titles << tr("Mark") << tr("File") << tr("Mode") << tr("User")
+ << tr("Group") << tr("Size") << tr("Date");
fileWidget->setHeaderLabels(titles);
get_cwd();
bool windrive = false;
if (mainWin->m_miscDebug) {
- QString msg = QString("In addDirectory cwd \"%1\" newdir \"%2\"\n")
+ QString msg = QString(tr("In addDirectory cwd \"%1\" newdir \"%2\"\n"))
.arg(m_cwd)
.arg(newdir);
Pmsg0(000, msg.toUtf8().data());
} else {
ok = false;
if (mainWin->m_miscDebug) {
- QString msg = QString("In else of if parent cwd \"%1\" newdir \"%2\"\n")
+ QString msg = QString(tr("In else of if parent cwd \"%1\" newdir \"%2\"\n"))
.arg(m_cwd)
.arg(newdir);
Pmsg0(000, msg.toUtf8().data());
this->hide();
m_console->write("quit");
m_console->displayToPrompt();
- mainWin->set_status("Canceled");
+ mainWin->set_status(tr("Canceled"));
closeStackPage();
m_console->notify(true);
mainWin->resetFocus();