From 381b875587153a09ac861b14d657b6c0ff14d594 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 18 Feb 2008 08:05:42 +0000 Subject: [PATCH] move tranlations to ts + minor cleanups git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6442 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/README | 22 + bacula/src/qt-console/bat.pro.in | 2 + bacula/src/qt-console/relabel/relabel.cpp | 9 +- bacula/src/qt-console/run/prune.cpp | 18 +- bacula/src/qt-console/run/run.cpp | 6 +- bacula/src/qt-console/run/runcmd.cpp | 11 +- bacula/src/qt-console/select/select.cpp | 6 +- bacula/src/qt-console/status/dirstat.cpp | 2 +- bacula/src/qt-console/storage/storage.cpp | 10 +- bacula/src/qt-console/ts/bat_de.ts | 2905 +++++++++++++++++ .../qt-console/{translations => ts}/bat_fr.ts | 247 +- 11 files changed, 3150 insertions(+), 88 deletions(-) create mode 100644 bacula/src/qt-console/ts/bat_de.ts rename bacula/src/qt-console/{translations => ts}/bat_fr.ts (93%) diff --git a/bacula/src/qt-console/README b/bacula/src/qt-console/README index 0e2be96e73..6f392ffc37 100644 --- a/bacula/src/qt-console/README +++ b/bacula/src/qt-console/README @@ -27,6 +27,28 @@ Development status as of 05/06/07 Items not implemented: - Nothing on the brestore page + +Translations: +- All translatable strings should be written as tr("string") ... +- To extract the strings for translation run: + + lupdate bat.pro + +- To translate the strings, do: + + linguist ts/bat_xx.ts + + where xx is the country code (e.g. fr or de) + +- To "compile" the translated strings do: + + lrelease bat.pro + + The necessary binary files will be in ts/bat_xx.qm + As far as I can tell, these files must be on your path or + in the same directory as bat for them to be used, otherwise + it reverts to English. Selecting the translation is based on + how your system is setup or the LANG environment variable. Design decisions: - If possible all code for a particular component will be kept in diff --git a/bacula/src/qt-console/bat.pro.in b/bacula/src/qt-console/bat.pro.in index 801169a288..a35ea14666 100644 --- a/bacula/src/qt-console/bat.pro.in +++ b/bacula/src/qt-console/bat.pro.in @@ -133,3 +133,5 @@ INSTALLS += bins INSTALLS += confs QMAKE_EXTRA_TARGETS += depend + +TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts diff --git a/bacula/src/qt-console/relabel/relabel.cpp b/bacula/src/qt-console/relabel/relabel.cpp index e035118842..42074d0d4c 100644 --- a/bacula/src/qt-console/relabel/relabel.cpp +++ b/bacula/src/qt-console/relabel/relabel.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. @@ -50,7 +50,7 @@ relabelDialog::relabelDialog(Console *console, QString &fromVolume) storageCombo->addItems(console->storage_list); poolCombo->addItems(console->pool_list); volumeName->setText(fromVolume); - QString fromText("From Volume : "); + QString fromText(tr("From Volume : ")); fromText += fromVolume; fromLabel->setText(fromText); this->show(); @@ -61,12 +61,13 @@ void relabelDialog::accept() { QString scmd; if (volumeName->text().toUtf8().data()[0] == 0) { - QMessageBox::warning(this, "No Volume name", "No Volume name given", + QMessageBox::warning(this, tr("No Volume name"), tr("No Volume name given"), QMessageBox::Ok, QMessageBox::Ok); return; } if (m_fromVolume == volumeName->text().toUtf8()) { - QMessageBox::warning(this, "New name must be different", "New name must be different", + QMessageBox::warning(this, tr("New name must be different"), + tr("New name must be different"), QMessageBox::Ok, QMessageBox::Ok); return; } diff --git a/bacula/src/qt-console/run/prune.cpp b/bacula/src/qt-console/run/prune.cpp index d9caff91f9..72a951d2f8 100644 --- a/bacula/src/qt-console/run/prune.cpp +++ b/bacula/src/qt-console/run/prune.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. @@ -44,7 +44,7 @@ prunePage::prunePage(const QString &volume, const QString &client) { QDateTime dt; - m_name = "Prune"; + m_name = tr("Prune"); pgInitialize(); setupUi(this); m_console->notify(false); @@ -64,9 +64,9 @@ prunePage::prunePage(const QString &volume, const QString &client) } /* foreach resultline */ } /* if results from query */ - volumeCombo->addItem("Any"); + volumeCombo->addItem(tr("Any")); volumeCombo->addItems(volumeList); - clientCombo->addItem("Any"); + clientCombo->addItem(tr("Any")); clientCombo->addItems(m_console->client_list); connect(okButton, SIGNAL(pressed()), this, SLOT(okButtonPushed())); connect(cancelButton, SIGNAL(pressed()), this, SLOT(cancelButtonPushed())); @@ -100,10 +100,10 @@ void prunePage::okButtonPushed() if (filesRadioButton->isChecked()) { cmd += " volume"; } - if (volumeCombo->currentText() != "Any") { + if (volumeCombo->currentText() != tr("Any")) { cmd += " volume=\"" + volumeCombo->currentText() + "\""; } - if (clientCombo->currentText() != "Any") { + if (clientCombo->currentText() != tr("Any")) { cmd += " client=\"" + clientCombo->currentText() + "\""; } cmd += " yes"; @@ -121,7 +121,7 @@ void prunePage::okButtonPushed() void prunePage::cancelButtonPushed() { - mainWin->set_status(" Canceled"); + mainWin->set_status(tr(" Canceled")); this->hide(); m_console->notify(true); closeStackPage(); @@ -130,14 +130,14 @@ void prunePage::cancelButtonPushed() void prunePage::volumeChanged() { - if ((volumeCombo->currentText() == "Any") && (clientCombo->currentText() == "Any")) { + if ((volumeCombo->currentText() == tr("Any")) && (clientCombo->currentText() == tr("Any"))) { clientCombo->setCurrentIndex(1); } } void prunePage::clientChanged() { - if ((volumeCombo->currentText() == "Any") && (clientCombo->currentText() == "Any")) { + if ((volumeCombo->currentText() == tr("Any")) && (clientCombo->currentText() == tr("Any"))) { volumeCombo->setCurrentIndex(1); } } diff --git a/bacula/src/qt-console/run/run.cpp b/bacula/src/qt-console/run/run.cpp index 6365b3494d..68f0300321 100644 --- a/bacula/src/qt-console/run/run.cpp +++ b/bacula/src/qt-console/run/run.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. @@ -44,7 +44,7 @@ runPage::runPage(const QString &defJob) { QDateTime dt; - m_name = "Run"; + m_name = tr("Run"); pgInitialize(); setupUi(this); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); @@ -114,7 +114,7 @@ void runPage::okButtonPushed() void runPage::cancelButtonPushed() { - mainWin->set_status(" Canceled"); + mainWin->set_status(tr(" Canceled")); this->hide(); m_console->notify(true); closeStackPage(); diff --git a/bacula/src/qt-console/run/runcmd.cpp b/bacula/src/qt-console/run/runcmd.cpp index 2533159ccf..65e8380f5a 100644 --- a/bacula/src/qt-console/run/runcmd.cpp +++ b/bacula/src/qt-console/run/runcmd.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. @@ -48,7 +48,7 @@ */ runCmdPage::runCmdPage() { - m_name = "Restore Run"; + m_name = tr("Restore Run"); pgInitialize(); setupUi(this); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); @@ -74,8 +74,9 @@ void runCmdPage::fill() clientCombo->addItems(m_console->client_list); filesetCombo->addItems(m_console->fileset_list); - replaceCombo->addItems(QStringList() << "never" << "always" << "ifnewer" << "ifolder"); - replaceCombo->setCurrentIndex(replaceCombo->findText("never", Qt::MatchExactly)); + replaceCombo->addItems(QStringList() << tr("never") << tr("always") << tr("ifnewer") + << tr("ifolder")); + replaceCombo->setCurrentIndex(replaceCombo->findText(tr("never"), Qt::MatchExactly)); storageCombo->addItems(m_console->storage_list); dateTimeEdit->setDisplayFormat(mainWin->m_dtformat); @@ -173,7 +174,7 @@ void runCmdPage::cancelButtonPushed() m_console->displayToPrompt(); m_console->write_dir("."); m_console->displayToPrompt(); - mainWin->set_status(" Canceled"); + mainWin->set_status(tr(" Canceled")); this->hide(); m_console->notify(true); closeStackPage(); diff --git a/bacula/src/qt-console/select/select.cpp b/bacula/src/qt-console/select/select.cpp index 11acd6deaa..061027d5af 100644 --- a/bacula/src/qt-console/select/select.cpp +++ b/bacula/src/qt-console/select/select.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. @@ -80,7 +80,7 @@ void selectDialog::accept() void selectDialog::reject() { this->hide(); - mainWin->set_status(" Canceled"); + mainWin->set_status(tr(" Canceled")); this->close(); mainWin->resetFocus(); m_console->beginNewCommand(); @@ -108,7 +108,7 @@ yesnoPopUp::yesnoPopUp(Console *console) setAttribute(Qt::WA_DeleteOnClose); console->read(); /* get yesno question */ - msgBox.setWindowTitle("Bat Question"); + msgBox.setWindowTitle(tr("Bat Question")); msgBox.setText(console->msg()); msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); console->displayToPrompt(); diff --git a/bacula/src/qt-console/status/dirstat.cpp b/bacula/src/qt-console/status/dirstat.cpp index 355e96fe26..5bec9d3016 100644 --- a/bacula/src/qt-console/status/dirstat.cpp +++ b/bacula/src/qt-console/status/dirstat.cpp @@ -42,7 +42,7 @@ DirStat::DirStat() { setupUi(this); - m_name = "Director Status"; + m_name = tr("Director Status"); m_closeable = true; pgInitialize(); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); diff --git a/bacula/src/qt-console/storage/storage.cpp b/bacula/src/qt-console/storage/storage.cpp index 6e8ffedcb5..6129c35e3c 100644 --- a/bacula/src/qt-console/storage/storage.cpp +++ b/bacula/src/qt-console/storage/storage.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. @@ -45,7 +45,7 @@ Storage::Storage() { setupUi(this); - m_name = "Storage"; + m_name = tr("Storage"); pgInitialize(); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/package-x-generic.png"))); @@ -80,11 +80,11 @@ void Storage::populateTree() mp_treeWidget->clear(); m_checkcurwidget = true; - QStringList headerlist = (QStringList() << "Storage Name" << "Storage Id" - << "Auto Changer"); + QStringList headerlist = (QStringList() << tr("Storage Name") << tr("Storage Id") + << tr("Auto Changer")); topItem = new QTreeWidgetItem(mp_treeWidget); - topItem->setText(0, "Storage"); + topItem->setText(0, tr("Storage")); topItem->setData(0, Qt::UserRole, 0); topItem->setExpanded(true); diff --git a/bacula/src/qt-console/ts/bat_de.ts b/bacula/src/qt-console/ts/bat_de.ts new file mode 100644 index 0000000000..e65a97c2a7 --- /dev/null +++ b/bacula/src/qt-console/ts/bat_de.ts @@ -0,0 +1,2905 @@ + + + + ClientForm + + + Client Tree + + + + + Refresh Client List + + + + + Requery the director for the list of clients. + + + + + List Jobs of Client + + + + + Open a joblist page selecting this client. + + + + + Status Client In Console + + + + + Execute status client in console. + + + + + Purge Jobs + + + + + Purge jobs peformed from this client. + + + + + Prune Jobs + + + + + Open the diaolog to prune for this client. + + + + + Clients + + + Clients + + + + + Client Name + + + + + File Retention + + + + + Job Retention + + + + + AutoPrune + + + + + ClientId + + + + + Uname + + + + + Are you sure you want to purge ?? !!!. +The Purge command will delete associated Catalog database records from Jobs and Volumes without considering the retention period. Purge works only on the Catalog database and does not affect data written to Volumes. This command can be dangerous because you can delete catalog records associated with current backups of files, and we recommend that you do not use it unless you know what you are doing. + + Is there any way I can get you to click Cancel here? You really don't want to do this + +Press OK to proceed with the purge operation? + + + + + ConsoleForm + + + Console + + + + + StatusDir + + + + + Console Help + + + + + Request Messages + + + + + Reload bacula-dir.conf + + + + + DirComm + + + Bat + + + + + DirStat + + + Job Id + + + + + Job Level + + + + + Job Files + + + + + Job Bytes + + + + + Job Status + + + + + Job Time + + + + + Job Name + + + + + Job Type + + + + + Priority + + + + + Volume + + + + + Job Data + + + + + Job Info + + + + + Director Status + + + + + DirStatForm + + + Form + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:13pt; font-weight:600;">Scheduled Jobs</span></p></body></html> + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:13pt; font-weight:600;">Running Jobs</span></p></body></html> + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:13pt; font-weight:600;">Terminated Jobs</span></p></body></html> + + + + + FileSet + + + FileSets + + + + + FileSet Name + + + + + FileSet Id + + + + + Create Time + + + + + FileSet + + + + + FileSetForm + + + FileSet Tree + + + + + Refresh FileSet List + + + + + Requery the director for the list of storage objects. + + + + + Status FileSet In Console + + + + + ShowJobs + + + + + Help + + + Help: %1 + + + + + JobList + + + Any + + + + + Job Id + + + + + Job Name + + + + + Client + + + + + Job Starttime + + + + + Job Type + + + + + Job Level + + + + + Job Files + + + + + Job Bytes + + + + + Job Status + + + + + Purged + + + + + File Set + + + + + IS + + + + + NOT + + + + + Backup + + + + + Restore + + + + + The Jobs query returned no results. +Press OK to continue? + + + + + Are you sure you want to delete?? !!!. +This delete command is used to delete a Job record and all associated catalog records that were created. This command operates only on the Catalog database and has no effect on the actual data written to a Volume. This command can be dangerous and we strongly recommend that you do not use it unless you know what you are doing. The Job and all its associated records (File and JobMedia) will be deleted from the catalog.Press OK to proceed with delete operation.? + + + + + Are you sure you want to purge ?? !!!. +The Purge command will delete associated Catalog database records from Jobs and Volumes without considering the retention period. Purge works only on the Catalog database and does not affect data written to Volumes. This command can be dangerous because you can delete catalog records associated with current backups of files, and we recommend that you do not use it unless you know what you are doing. +Press OK to proceed with the purge operation? + + + + + JobListForm + + + Form + + + + + Refresh + + + + + Graph + + + + + FileSet + + + + + Status + + + + + Purged + + + + + Record Limit + + + + + Days Limit + + + + + Clients + + + + + Volume + + + + + Job + + + + + Level + + + + + Refresh Job List + + + + + Requery the director for the list of jobs. + + + + + ListJobid + + + + + List Files On Job + + + + + ListJobMedia + + + + + ListVolumes + + + + + DeleteJob + + + + + PurgeFiles + + + + + Restore From Job + + + + + Restore From Time + + + + + Show Log for Job + + + + + Cancel Currently Running Job + + + + + List Job Totals in Console + + + + + JobLog + + + Bat + + + + + There were no results ?? !!!. +It is possible you may need to add "catalog = all" to the Messages stanza for this job. + + + + + + JobLogForm + + + Job Log + + + + + JobPlot + + + Bat + + + + + The Jobs query returned no results. +Press OK to continue? + + + + + JobPlotControlsForm + + + Form + + + + + File Data + + + + + Byte Data + + + + + Refresh + + + + + Status + + + + + Level + + + + + Purged + + + + + FileSet + + + + + Volume + + + + + Client + + + + + Job + + + + + Days Limit + + + + + Record Limit + + + + + Byte Symbol Type + + + + + File Symbol Type + + + + + Graph Type + + + + + Jobs + + + Jobs + + + + + Job Name + + + + + Pool + + + + + Messages + + + + + Client + + + + + Storage + + + + + Where + + + + + Level + + + + + Type + + + + + FileSet + + + + + Catalog + + + + + Enabled + + + + + Backup + + + + + MainForm + + + bat - Bacula Admin Tool + + + + + Bacula Administration Tool + + + + + It's a Dock widget to allow page selection + + + + + &Edit + + + + + Settings + + + + + &Help + + + + + &File + + + + + Current Status + + + + + Tool Bar + + + + + Page Selector + + + + + Selects panel window + + + + + Use items in this tree to select what window is in panel + + + + + Console Entry + + + + + Enter a bacula command + + + + + Console Command entry Dock Widget + + + + + Console Command Line Entry + + + + + Command: + + + + + Click here to enter command + + + + + &Quit + + + + + Ctrl+Q + + + + + &About bat + + + + + &Copy + + + + + Cu&t + + + + + new + + + + + open + + + + + &Paste + + + + + &Print + + + + + Print + + + + + &Save + + + + + Save (not implemented) + + + + + Connect + + + + + Connect/disconnect + + + + + Label + + + + + Label a Volume + + + + + Restore + + + + + Restore Files + + + + + Run Job + + + + + Run a Job + + + + + Estimate Job + + + + + Estimate a Job + + + + + Status Dir + Query status of director + + + + + Status Dir + + + + + Query status of director in console + + + + + &Select Font ... + + + + + Undock Window + + + + + Undock Current Window + + + + + ToggleDock + + + + + Toggle Dock Status + + + + + Close Page + + + + + Close The Current Page + + + + + Messages + + + + + Display any messages queued at the director + + + + + &Preferences ... + + + + + Set Preferences + + + + + bat &Help + + + + + Browse + + + + + Browse Cataloged Files + + + + + JobPlot + + + + + Plot Job Files and Bytes + + + + + Status Dir Page + + + + + Director Status Page + + + + + MainWin + + + Director not connected. Click on connect button. + + + + + About bat + + + + + <br><h2>bat 1.0, by Dirk H Bartley and Kern Sibbald</h2><p>Copyright &copy; 2007- + + + + + Ready + + + + + MediaEdit + + + Media Edit + + + + + No Volume name + + + + + No Volume name given + + + + + MediaList + + + Media + + + + + Volume Name + + + + + Id + + + + + Status + + + + + Enabled + + + + + Bytes + + + + + Files + + + + + Jobs + + + + + Retention + + + + + Media Type + + + + + Slot + + + + + Use Duration + + + + + Max Jobs + + + + + Max Files + + + + + Max Bytes + + + + + Recycle + + + + + RecyclePool + + + + + Last Written + + + + + Pools + + + + + Are you sure you want to delete?? !!!. +This delete command is used to delete a Volume record and all associated catalog records that were created. This command operates only on the Catalog database and has no effect on the actual data written to a Volume. This command can be dangerous and we strongly recommend that you do not use it unless you know what you are doing. All Jobs and all associated records (File and JobMedia) will be deleted from the catalog.Press OK to proceed with delete operation.? + + + + + Are you sure you want to purge ?? !!!. +The Purge command will delete associated Catalog database records from Jobs and Volumes without considering the retention period. Purge works only on the Catalog database and does not affect data written to Volumes. This command can be dangerous because you can delete catalog records associated with current backups of files, and we recommend that you do not use it unless you know what you are doing. +Press OK to proceed with the purge operation? + + + + + MediaListForm + + + Media Tree + + + + + Refresh Media List + + + + + Requery the director for the list of media. + + + + + Edit Volume + + + + + List Jobs On Volume + + + + + Delete Volume + + + + + Prune Volume + + + + + Purge Volume + + + + + Relabel Volume + + + + + Update all Volumes From Pool + + + + + Update all Volumes from all Pools + + + + + Volume From Pool + + + + + Pages + + + of Director + + + + + UnDock + + + + + ReDock + + + + + Window + + + + + PrefsForm + + + Preferences + + + + + Messages + + + + + Messages Options + + + + + Message check interval in seconds + + + + + Check Messages + + + + + Joblist + + + + + Jolist Limit Options + + + + + Days Limit + + + + + Record Limit + + + + + Misc + + + + + Convert + + + + + Convert Off + + + + + Convert Bytes with IEC 1000B = KB + + + + + Convert Bytes with 1024B = KB + + + + + Context Sensitive List Commands + + + + + Execute Long List + + + + + GroupBox + + + + + Open Plot page on startup + + + + + Open Browser page on startup + + + + + Open Director Status page on startup + + + + + Debug + + + + + Debugging Options + + + + + Debug comm + + + + + Display all messages in console + + + + + Debug Commands + + + + + Debug Sql queries + + + + + Debug Miscelaneous Items + + + + + RestoreTree + + + + + Restore Debug 2 + + + + + Directory Item Changed + + + + + Restore Debug 1 + + + + + Directory Current Item Changed Debug + + + + + Update File Table Debug + + + + + Version Table Item Changed Debug + + + + + File Table Item Changed Debug + + + + + Icon State Debug + + + + + Update Checks Debug + + + + + Restore Debug 3 + + + + + Update Version Table Debug + + + + + Populate Directory Debug + + + + + <h2>Preferences</h2> + + + + + Storage + + + Storage + + + + + Storage Name + + + + + Storage Id + + + + + Auto Changer + + + + + StorageForm + + + Storage Tree + + + + + Refresh Storage List + + + + + Requery the director for the list of storage objects. + + + + + Status Storage In Console + + + + + Label Storage + + + + + MountStorage + + + + + UnMount Storage + + + + + Update Slots + + + + + Update Slots Scan + + + + + Release + + + + + bRestoreForm + + + brestore + + + + + File list + + + + + Type + + + + + File Name + + + + + Size + + + + + Date + + + + + File revisions + + + + + InChanger + + + + + Volume + + + + + JobId + + + + + Chksum + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Restore items list</span></p></body></html> + + + + + Clear + + + + + Estimate + + + + + Restore + + + + + FileName + + + + + FileIndex + + + + + Nb Files + + + + + Location + + + + + estimateForm + + + Form + + + + + List Files + + + + + Level: + + + + + Client: + + + + + Job: + + + + + FileSet: + + + + + <h3>Estimate a backup Job</h3> + + + + + OK + + + + + Cancel + + + + + estimatePage + + + Estimate + + + + + helpForm + + + Form + + + + + &Home + + + + + &Back + + + + + Close + + + + + jobsForm + + + Client Tree + + + + + Refresh Jobs List + + + + + Requery the director for the list of clients. + + + + + List Files Command + + + + + List Volumes Command + + + + + List Next Volume Command + + + + + Enable Job Command + + + + + Disable Job Command + + + + + Open JobList on Job + + + + + Cancel Job Command + + + + + RunJob + + + + + labelForm + + + Form + + + + + OK + + + + + Cancel + + + + + Volume Name: + + + + + Storage: + + + + + Slot: + + + + + Execute Automount + + + + + On + + + + + Off + + + + + Pool: + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Label a Volume</span></p></body></html> + + + + + mediaEditForm + + + Form + + + + + Pool: + + + + + Volume Status: + + + + + Max Volume Bytes: + + + + + Slot: + + + + + Max Volume Jobs: + + + + + Use Duration: + + + + + OK + + + + + Cancel + + + + + Retension: + + + + + Recycle Pool: + + + + + Enabled + + + + + Max Volume Files: + + + + + Years + + + + + Seconds + + + + + Use Duration + + + + + Days + + + + + Hours + + + + + Months + + + + + Retention + + + + + Minutes + + + + + Volume : + + + + + Recycle + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Edit a Volume</span></p></body></html> + + + + + mountForm + + + Label + + + + + TextLabel + + + + + Slot: + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Mount a Slot</span></p></body></html> + + + + + prefsDialog + + + Canceled + + + + + prerestoreForm + + + Form + + + + + All Files + + + + + Select Files + + + + + Job + + + + + JobIds + + + + + yyyy-mm-dd h:mm:ss + + + + + Use Most Recent + + + + + File Set: + + + + + Client: + + + + + Storage: + + + + + Before: + + + + + Pool: + + + + + OK + + + + + Cancel + + + + + <h3>Select Jobs</h3> + + + + + prerestorePage + + + Restore + + + + + Any + + + + + Comma separted list of Job Ids + + + + + Canceled + + + + + There can be no spaces in the text for the joblist. +Press OK to continue? + + + + + The string is not a comma separated list of integers. +Press OK to continue? + + + + + Bat + + + + + At least one of the jobs is not a valid job of type "Backup". +Press OK to continue? + + + + + All jobs in the list must be of the same jobName and same client. +Press OK to continue? + + + + + pruneForm + + + Form + + + + + Prune Files + + + + + Volume: + + + + + <h3>Prune Files/Jobs/Volumes</h3> + + + + + Prune Jobs + + + + + OK + + + + + Cancel + + + + + Client: + + + + + Prune Volumes + + + + + prunePage + + + Prune + + + + + Any + + + + + Canceled + + + + + relabelDialog + + + From Volume : + + + + + No Volume name + + + + + No Volume name given + + + + + New name must be different + + + + + relabelForm + + + Label + + + + + From Volume : + + + + + Pool: + + + + + Storage: + + + + + New Volume Name: + + + + + Slot: + + + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Relabel a Volume</span></p></body></html> + + + + + restoreForm + + + Form + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + 5 + + + + + 6 + + + + + <h2>Directories</h2> + + + + + <h3>Restore Select</h3> + + + + + Up + + + + + Mark + + + + + Unmark + + + + + <h2>Files</h2> + + + + + Status: + + + + + Current Dir: + + + + + OK + + + + + Cancel + + + + + UnMark + + + + + restorePage + + + Restore Select + + + + + Mark + + + + + File + + + + + Mode + + + + + User + + + + + Group + + + + + Size + + + + + Date + + + + + In addDirectory cwd "%1" newdir "%2" + + + + + + In else of if parent cwd "%1" newdir "%2" + + + + + + Canceled + + + + + restoreTree + + + Version Browser + + + + + Directories + + + + + Any + + + + + Refresh From Re-Select + + + + + Refresh From JobChecks + + + + + Task + + + + + Querying Database + + + + + Querying Jobs + + + + + Querying for Directories + + + + + Processing Directories + + + + + No jobs were selected in the job query !!!. +Press OK to continue? + + + + + In addDirectory cwd "%1" newdir "%2" + + + + + + In else of if parent cwd "%1" newdir "%2" + + + + + + File Name + + + + + Filename Id + + + + + Present Working Directory : + + + + + Job Id + + + + + Type + + + + + End Time + + + + + Hash + + + + + FileId + + + + + RestoreTreePage + + + + + Level + + + + + Name + + + + + Purged + + + + + TU + + + + + TD + + + + + restoreTreeForm + + + Form + + + + + Jobs + + + + + TextLabel + + + + + Files + + + + + Versions of File + + + + + FileName + + + + + Refresh + + + + + Restore + + + + + Job + + + + + Job List Job Criterion Selector + + + + + Client + + + + + Job List Client Criterion Selector + + + + + FileSet + + + + + Job List Fileset Criterion Selector + + + + + Record Limit + + + + + Days Limit + + + + + Directory + + + + + Select Directory + + + + + UnselectDirectory + + + + + runCmdForm + + + Form + + + + + Priority: + + + + + yyyy-mm-dd hh:mm:ss + + + + + When: + + + + + Where: + + + + + Bootstrap: + + + + + Job: + + + + + Storage: + + + + + FileSet: + + + + + Replace: + + + + + To client: + + + + + Catalog: + + + + + OK + + + + + Cancel + + + + + <h3>Run Restore Job</h3> + + + + + runCmdPage + + + Restore Run + + + + + never + + + + + always + + + + + ifnewer + + + + + ifolder + + + + + Canceled + + + + + runForm + + + Form + + + + + Level: + + + + + Bootstrap: + + + + + yyyy-mm-dd hh:mm:ss + + + + + Job: + + + + + Pool: + + + + + Type: + + + + + <h3>Backup<h3/> + + + + + FileSet: + + + + + Messages: + + + + + <h3>Run a Job</h3> + + + + + Priority: + + + + + Client: + + + + + OK + + + + + Cancel + + + + + Storage: + + + + + When: + + + + + runPage + + + Run + + + + + Canceled + + + + + selectDialog + + + Canceled + + + + + selectForm + + + Selection dialog + + + + + yesnoPopUp + + + Bat Question + + + + diff --git a/bacula/src/qt-console/translations/bat_fr.ts b/bacula/src/qt-console/ts/bat_fr.ts similarity index 93% rename from bacula/src/qt-console/translations/bat_fr.ts rename to bacula/src/qt-console/ts/bat_fr.ts index 4d6dd5f46f..46f171139e 100644 --- a/bacula/src/qt-console/translations/bat_fr.ts +++ b/bacula/src/qt-console/ts/bat_fr.ts @@ -204,6 +204,11 @@ Press OK to proceed with the purge operation? Job Info + + + Director Status + + DirStatForm @@ -1269,211 +1274,234 @@ Press OK to proceed with the purge operation? PrefsForm - + Preferences - + Messages - + Messages Options - + Message check interval in seconds - + Check Messages - + Joblist - + Jolist Limit Options - + Days Limit - + Record Limit - + Misc - + Convert - + Convert Off - + Convert Bytes with IEC 1000B = KB - + Convert Bytes with 1024B = KB - + Context Sensitive List Commands - + Execute Long List - + GroupBox - + Open Plot page on startup - + Open Browser page on startup - + Open Director Status page on startup - + Debug - + Debugging Options - + Debug comm - + Display all messages in console - + Debug Commands - + Debug Sql queries - + Debug Miscelaneous Items - + RestoreTree - + Restore Debug 2 - + Directory Item Changed - + Restore Debug 1 - + Directory Current Item Changed Debug - + Update File Table Debug - + Version Table Item Changed Debug - + File Table Item Changed Debug - + Icon State Debug - + Update Checks Debug - + Restore Debug 3 - + Update Version Table Debug - + Populate Directory Debug - + <h2>Preferences</h2> + + Storage + + + Storage + + + + + Storage Name + + + + + Storage Id + + + + + Auto Changer + + + StorageForm @@ -2164,6 +2192,47 @@ Press OK to continue? + + prunePage + + + Prune + + + + + Any + + + + + Canceled + + + + + relabelDialog + + + From Volume : + + + + + No Volume name + + + + + No Volume name given + + + + + New name must be different + + + relabelForm @@ -2213,87 +2282,87 @@ p, li { white-space: pre-wrap; } - + 1 - + 2 - + 3 - + 4 - + 5 - + 6 - + <h2>Directories</h2> - + <h3>Restore Select</h3> - + Up - + Mark - + Unmark - + <h2>Files</h2> - + Status: - + Current Dir: - + OK - + Cancel - + UnMark @@ -2675,6 +2744,39 @@ Press OK to continue? + + runCmdPage + + + Restore Run + + + + + never + + + + + always + + + + + ifnewer + + + + + ifolder + + + + + Canceled + + + runForm @@ -2763,6 +2865,27 @@ Press OK to continue? + + runPage + + + Run + + + + + Canceled + + + + + selectDialog + + + Canceled + + + selectForm @@ -2771,4 +2894,12 @@ Press OK to continue? + + yesnoPopUp + + + Bat Question + + + -- 2.39.5