about.ui
details.ui
mainwin.ui
+ make-dialog.ui
+ make-progress-dialog.ui
options.ui
relocate.ui
session-dialog.ui
TrMainWindow::newTorrent ()
{
MakeDialog * dialog = new MakeDialog (mySession, this);
+ dialog->setAttribute (Qt::WA_DeleteOnClose);
dialog->show ();
}
* $Id$
*/
-#include <cassert>
-#include <iostream>
-
-#include <QCheckBox>
-#include <QDialogButtonBox>
-#include <QFileDialog>
-#include <QFileIconProvider>
-#include <QHBoxLayout>
-#include <QLabel>
-#include <QLineEdit>
-#include <QList>
+#include <QDir>
+#include <QFileInfo>
#include <QMimeData>
-#include <QPlainTextEdit>
-#include <QProgressBar>
#include <QPushButton>
-#include <QRadioButton>
-#include <QSize>
-#include <QStyle>
#include <QTimer>
-#include <QVBoxLayout>
#include <libtransmission/transmission.h>
#include <libtransmission/makemeta.h>
#include <libtransmission/utils.h>
#include "formatter.h"
-#include "hig.h"
#include "make-dialog.h"
#include "session.h"
#include "utils.h"
-/***
-****
-***/
+#include "ui_make-progress-dialog.h"
-void
-MakeDialog::onNewDialogDestroyed (QObject * o)
+namespace
{
- Q_UNUSED (o);
+ class MakeProgressDialog: public QDialog
+ {
+ Q_OBJECT
+
+ public:
+ MakeProgressDialog (Session& session, tr_metainfo_builder& builder, QWidget * parent = nullptr);
+
+ private slots:
+ void onButtonBoxClicked (QAbstractButton *);
+ void onProgress ();
+
+ private:
+ Session& mySession;
+ tr_metainfo_builder& myBuilder;
+ Ui::MakeProgressDialog ui;
+ QTimer myTimer;
+ };
+}
+
+MakeProgressDialog::MakeProgressDialog (Session& session, tr_metainfo_builder& builder, QWidget * parent):
+ QDialog (parent),
+ mySession (session),
+ myBuilder (builder)
+{
+ ui.setupUi (this);
+
+ connect (ui.dialogButtons, SIGNAL (clicked (QAbstractButton *)),
+ this, SLOT (onButtonBoxClicked (QAbstractButton *)));
+
+ connect (&myTimer, SIGNAL (timeout ()), this, SLOT (onProgress ()));
+ myTimer.start (100);
- myTimer.stop ();
+ onProgress ();
}
void
-MakeDialog::onNewButtonBoxClicked (QAbstractButton * button)
+MakeProgressDialog::onButtonBoxClicked (QAbstractButton * button)
{
- switch (myNewButtonBox->standardButton (button))
+ switch (ui.dialogButtons->standardButton (button))
{
case QDialogButtonBox::Open:
- mySession.addNewlyCreatedTorrent (myTarget, QFileInfo(QString::fromUtf8(myBuilder->top)).dir().path());
+ mySession.addNewlyCreatedTorrent (QString::fromUtf8 (myBuilder.outputFile),
+ QFileInfo (QString::fromUtf8 (myBuilder.top)).dir ().path ());
break;
case QDialogButtonBox::Abort:
- myBuilder->abortFlag = true;
+ myBuilder.abortFlag = true;
break;
default: // QDialogButtonBox::Ok:
break;
}
- myNewDialog->deleteLater ();
+ close ();
}
void
-MakeDialog::onProgress ()
+MakeProgressDialog::onProgress ()
{
// progress bar
- const tr_metainfo_builder * b = myBuilder;
- const double denom = b->pieceCount ? b->pieceCount : 1;
- myNewProgress->setValue (static_cast<int> ((100.0 * b->pieceIndex) / denom));
+ const tr_metainfo_builder& b = myBuilder;
+ const double denom = b.pieceCount ? b.pieceCount : 1;
+ ui.progressBar->setValue (static_cast<int> ((100.0 * b.pieceIndex) / denom));
// progress label
- const QString top = QString::fromLocal8Bit (myBuilder->top);
- const QString base (QFileInfo(top).completeBaseName());
+ const QString top = QString::fromUtf8 (b.top);
+ const QString base (QFileInfo (top).completeBaseName ());
QString str;
- if (!b->isDone)
+ if (!b.isDone)
str = tr ("Creating \"%1\"").arg (base);
- else if (b->result == TR_MAKEMETA_OK)
+ else if (b.result == TR_MAKEMETA_OK)
str = tr ("Created \"%1\"!").arg (base);
- else if (b->result == TR_MAKEMETA_URL)
- str = tr ("Error: invalid announce URL \"%1\"").arg (QString::fromLocal8Bit (b->errfile));
- else if (b->result == TR_MAKEMETA_CANCELLED)
+ else if (b.result == TR_MAKEMETA_URL)
+ str = tr ("Error: invalid announce URL \"%1\"").arg (QString::fromUtf8 (b.errfile));
+ else if (b.result == TR_MAKEMETA_CANCELLED)
str = tr ("Cancelled");
- else if (b->result == TR_MAKEMETA_IO_READ)
- str = tr ("Error reading \"%1\": %2").arg (QString::fromLocal8Bit(b->errfile)).arg (QString::fromLocal8Bit(strerror(b->my_errno)));
- else if (b->result == TR_MAKEMETA_IO_WRITE)
- str = tr ("Error writing \"%1\": %2").arg (QString::fromLocal8Bit(b->errfile)).arg (QString::fromLocal8Bit(strerror(b->my_errno)));
- myNewLabel->setText (str);
+ else if (b.result == TR_MAKEMETA_IO_READ)
+ str = tr ("Error reading \"%1\": %2").arg (QString::fromUtf8 (b.errfile)).
+ arg (QString::fromLocal8Bit (tr_strerror (b.my_errno)));
+ else if (b.result == TR_MAKEMETA_IO_WRITE)
+ str = tr ("Error writing \"%1\": %2").arg (QString::fromUtf8 (b.errfile)).
+ arg (QString::fromLocal8Bit (tr_strerror (b.my_errno)));
+ ui.progressLabel->setText (str);
// buttons
- (myNewButtonBox->button(QDialogButtonBox::Abort))->setEnabled (!b->isDone);
- (myNewButtonBox->button(QDialogButtonBox::Ok))->setEnabled (b->isDone);
- (myNewButtonBox->button(QDialogButtonBox::Open))->setEnabled (b->isDone && !b->result);
+ ui.dialogButtons->button (QDialogButtonBox::Abort)->setEnabled (!b.isDone);
+ ui.dialogButtons->button (QDialogButtonBox::Ok)->setEnabled (b.isDone);
+ ui.dialogButtons->button (QDialogButtonBox::Open)->setEnabled (b.isDone && b.result == TR_MAKEMETA_OK);
}
+#include "make-dialog.moc"
+
+/***
+****
+***/
void
MakeDialog::makeTorrent ()
{
- if (!myBuilder)
+ if (myBuilder == nullptr)
return;
// get the tiers
int tier = 0;
QVector<tr_tracker_info> trackers;
- foreach (QString line, myTrackerEdit->toPlainText().split("\n"))
+ foreach (QString line, ui.trackersEdit->toPlainText ().split ("\n"))
{
line = line.trimmed ();
if (line.isEmpty ())
else
{
tr_tracker_info tmp;
- tmp.announce = tr_strdup (line.toUtf8().constData ());
+ tmp.announce = tr_strdup (line.toUtf8 ().constData ());
tmp.tier = tier;
trackers.append (tmp);
}
}
- // pop up the dialog
- QDialog * dialog = new QDialog (this);
- dialog->setWindowTitle (tr ("New Torrent"));
- myNewDialog = dialog;
- QVBoxLayout * top = new QVBoxLayout (dialog);
- top->addWidget( (myNewLabel = new QLabel));
- top->addWidget( (myNewProgress = new QProgressBar));
- QDialogButtonBox * buttons = new QDialogButtonBox (QDialogButtonBox::Ok
- | QDialogButtonBox::Open
- | QDialogButtonBox::Abort);
- myNewButtonBox = buttons;
- connect (buttons, SIGNAL(clicked(QAbstractButton*)),
- this, SLOT(onNewButtonBoxClicked(QAbstractButton*)));
- top->addWidget (buttons);
- onProgress ();
- dialog->show ();
- connect (dialog, SIGNAL(destroyed(QObject*)),
- this, SLOT(onNewDialogDestroyed(QObject*)));
- myTimer.start (100);
-
// the file to create
const QString path = QString::fromUtf8 (myBuilder->top);
- const QString torrentName = QFileInfo(path).completeBaseName() + ".torrent";
- myTarget = QDir (myDestination).filePath (torrentName);
+ const QString torrentName = QFileInfo (path).completeBaseName () + ".torrent";
+ const QString target = QDir (ui.destinationButton->path ()).filePath (torrentName);
// comment
QString comment;
- if (myCommentCheck->isChecked())
- comment = myCommentEdit->text();
+ if (ui.commentCheck->isChecked ())
+ comment = ui.commentEdit->text ();
// start making the torrent
- tr_makeMetaInfo (myBuilder,
- myTarget.toUtf8().constData(),
- (trackers.isEmpty() ? NULL : trackers.data()),
- trackers.size(),
- (comment.isEmpty() ? NULL : comment.toUtf8().constData()),
- myPrivateCheck->isChecked());
+ tr_makeMetaInfo (myBuilder.get (),
+ target.toUtf8 ().constData (),
+ trackers.isEmpty () ? NULL : trackers.data (),
+ trackers.size (),
+ comment.isEmpty () ? NULL : comment.toUtf8 ().constData (),
+ ui.privateCheck->isChecked ());
+
+ // pop up the dialog
+ MakeProgressDialog * dialog = new MakeProgressDialog (mySession, *myBuilder, this);
+ dialog->setAttribute (Qt::WA_DeleteOnClose);
+ dialog->open ();
}
/***
****
***/
-void
-MakeDialog::onFileClicked ()
-{
- QFileDialog * d = new QFileDialog (this, tr ("Select File"));
- d->setFileMode (QFileDialog::ExistingFile);
- d->setAttribute (Qt::WA_DeleteOnClose);
- connect (d, SIGNAL(filesSelected(QStringList)),
- this, SLOT(onFileSelected(QStringList)));
- d->show ();
-}
-void
-MakeDialog::onFileSelected (const QStringList& list)
-{
- if (!list.empty ())
- onFileSelected (list.front ());
-}
-void
-MakeDialog::onFileSelected (const QString& filename)
-{
- myFile = Utils::removeTrailingDirSeparator (filename);
- myFileButton->setText (QFileInfo(myFile).fileName());
- onSourceChanged ();
-}
-
-void
-MakeDialog::onFolderClicked ()
-{
- QFileDialog * d = new QFileDialog (this, tr ("Select Folder"));
- d->setFileMode (QFileDialog::Directory);
- d->setOption (QFileDialog::ShowDirsOnly);
- d->setAttribute (Qt::WA_DeleteOnClose);
- connect (d, SIGNAL(filesSelected(QStringList)),
- this, SLOT(onFolderSelected(QStringList)));
- d->show ();
-}
-
-void
-MakeDialog::onFolderSelected (const QStringList& list)
-{
- if (!list.empty ())
- onFolderSelected (list.front ());
-}
-
-void
-MakeDialog::onFolderSelected (const QString& filename)
-{
- myFolder = Utils::removeTrailingDirSeparator (filename);
- myFolderButton->setText (QFileInfo(myFolder).fileName());
- onSourceChanged ();
-}
-
-void
-MakeDialog::onDestinationClicked ()
-{
- QFileDialog * d = new QFileDialog (this, tr ("Select Folder"));
- d->setFileMode (QFileDialog::Directory);
- d->setOption (QFileDialog::ShowDirsOnly);
- d->setAttribute (Qt::WA_DeleteOnClose);
- connect (d, SIGNAL(filesSelected(QStringList)),
- this, SLOT(onDestinationSelected(QStringList)));
- d->show ();
-}
-void
-MakeDialog::onDestinationSelected (const QStringList& list)
-{
- if (!list.empty ())
- onDestinationSelected (list.front());
-}
-void
-MakeDialog::onDestinationSelected (const QString& filename)
-{
- myDestination = Utils::removeTrailingDirSeparator (filename);
- myDestinationButton->setText (QFileInfo(myDestination).fileName());
-}
-
-void
-MakeDialog::enableBuddyWhenChecked (QRadioButton * box, QWidget * buddy)
-{
- connect (box, SIGNAL(toggled(bool)), buddy, SLOT(setEnabled(bool)));
- buddy->setEnabled (box->isChecked ());
-}
-void
-MakeDialog::enableBuddyWhenChecked (QCheckBox * box, QWidget * buddy)
-{
- connect (box, SIGNAL(toggled(bool)), buddy, SLOT(setEnabled(bool)));
- buddy->setEnabled (box->isChecked ());
-}
-
QString
MakeDialog::getSource () const
{
- return myFileRadio->isChecked () ? myFile : myFolder;
-}
-
-void
-MakeDialog::onButtonBoxClicked (QAbstractButton * button)
-{
- switch (myButtonBox->standardButton (button))
- {
- case QDialogButtonBox::Ok:
- makeTorrent ();
- break;
-
- default: // QDialogButtonBox::Close:
- deleteLater ();
- break;
- }
+ return (ui.sourceFileRadio->isChecked () ? ui.sourceFileButton : ui.sourceFolderButton)->path ();
}
/***
void
MakeDialog::onSourceChanged ()
{
- if (myBuilder)
- {
- tr_metaInfoBuilderFree (myBuilder);
- myBuilder = 0;
- }
+ myBuilder.reset ();
const QString filename = getSource ();
if (!filename.isEmpty ())
- myBuilder = tr_metaInfoBuilderCreate (filename.toUtf8().constData());
+ myBuilder.reset (tr_metaInfoBuilderCreate (filename.toUtf8 ().constData ()));
QString text;
- if (!myBuilder)
+ if (myBuilder == nullptr)
{
text = tr ("<i>No source selected<i>");
}
.arg (Formatter::sizeToString (myBuilder->pieceSize));
}
- mySourceLabel->setText (text);
+ ui.sourceSizeLabel->setText (text);
}
-
-// bah, there doesn't seem to be any cleaner way to override
-// QPlainTextEdit's default desire to be 12 lines tall
-class ShortPlainTextEdit: public QPlainTextEdit
-{
- public:
- virtual ~ShortPlainTextEdit () {}
- ShortPlainTextEdit (QWidget * parent = 0): QPlainTextEdit(parent) {}
- virtual QSize sizeHint () const { return QSize (256, 50); }
-};
-
MakeDialog::MakeDialog (Session& session, QWidget * parent):
QDialog (parent, Qt::Dialog),
mySession (session),
- myBuilder (0)
+ myBuilder (nullptr, &tr_metaInfoBuilderFree)
{
- setAcceptDrops (true);
-
- connect (&myTimer, SIGNAL(timeout()), this, SLOT(onProgress()));
-
- setWindowTitle (tr ("New Torrent"));
- QVBoxLayout * top = new QVBoxLayout (this);
- top->setSpacing (HIG::PAD);
-
- HIG * hig = new HIG;
- hig->setContentsMargins (0, 0, 0, 0);
- hig->addSectionTitle (tr ("Files"));
-
- QFileIconProvider iconProvider;
- const int iconSize (style()->pixelMetric (QStyle::PM_SmallIconSize));
- const QIcon folderIcon = iconProvider.icon (QFileIconProvider::Folder);
- const QPixmap folderPixmap = folderIcon.pixmap (iconSize);
- QPushButton * b = new QPushButton;
- b->setIcon (folderPixmap);
- b->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
- myDestination = QDir::homePath();
- b->setText (myDestination);
- connect (b, SIGNAL(clicked(bool)),
- this, SLOT(onDestinationClicked()));
- myDestinationButton = b;
- hig->addRow (tr ("Sa&ve to:"), b);
-
- myFolderRadio = new QRadioButton (tr ("Source F&older:"));
- connect (myFolderRadio, SIGNAL(toggled(bool)),
- this, SLOT(onSourceChanged()));
- myFolderButton = new QPushButton;
- myFolderButton->setIcon (folderPixmap);
- myFolderButton->setText (tr ("(None)"));
- myFolderButton->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
- connect (myFolderButton, SIGNAL(clicked(bool)),
- this, SLOT(onFolderClicked()));
- hig->addRow (myFolderRadio, myFolderButton);
- enableBuddyWhenChecked (myFolderRadio, myFolderButton);
-
- const QIcon fileIcon = iconProvider.icon (QFileIconProvider::File);
- const QPixmap filePixmap = fileIcon.pixmap (iconSize);
- myFileRadio = new QRadioButton (tr ("Source &File:"));
- myFileRadio->setChecked (true);
- connect (myFileRadio, SIGNAL(toggled(bool)),
- this, SLOT(onSourceChanged()));
- myFileButton = new QPushButton;
- myFileButton->setText (tr ("(None)"));
- myFileButton->setIcon (filePixmap);
- myFileButton->setStyleSheet (QString::fromUtf8 ("text-align: left; padding-left: 5; padding-right: 5"));
- connect (myFileButton, SIGNAL(clicked(bool)),
- this, SLOT(onFileClicked()));
- hig->addRow (myFileRadio, myFileButton);
- enableBuddyWhenChecked (myFileRadio, myFileButton);
-
- mySourceLabel = new QLabel (this);
- hig->addRow (tr (""), mySourceLabel);
-
- hig->addSectionDivider ();
- hig->addSectionTitle (tr ("Properties"));
-
- hig->addWideControl (myTrackerEdit = new ShortPlainTextEdit);
- const int height = fontMetrics().size (0, QString::fromUtf8("\n\n\n\n")).height ();
- myTrackerEdit->setMinimumHeight (height);
- hig->addTallRow (tr ("&Trackers:"), myTrackerEdit);
- QLabel * l = new QLabel (tr ("To add a backup URL, add it on the line after the primary URL.\nTo add another primary URL, add it after a blank line."));
- l->setAlignment (Qt::AlignLeft);
- hig->addRow (tr (""), l);
- myTrackerEdit->resize (500, height);
-
- myCommentCheck = new QCheckBox (tr ("Co&mment"));
- myCommentEdit = new QLineEdit ();
- hig->addRow (myCommentCheck, myCommentEdit);
- enableBuddyWhenChecked (myCommentCheck, myCommentEdit);
-
- myPrivateCheck = hig->addWideCheckBox (tr ("&Private torrent"), false);
-
- hig->finish ();
- top->addWidget (hig, 1);
-
- myButtonBox = new QDialogButtonBox (QDialogButtonBox::Ok
- | QDialogButtonBox::Close);
- connect (myButtonBox, SIGNAL(clicked(QAbstractButton*)),
- this, SLOT(onButtonBoxClicked(QAbstractButton*)));
-
- top->addWidget (myButtonBox);
+ ui.setupUi (this);
+
+ ui.destinationButton->setMode (TrPathButton::DirectoryMode);
+ ui.destinationButton->setPath (QDir::homePath ());
+
+ ui.sourceFolderButton->setMode (TrPathButton::DirectoryMode);
+ ui.sourceFileButton->setMode (TrPathButton::FileMode);
+
+ connect (ui.sourceFolderRadio, SIGNAL (toggled (bool)), this, SLOT (onSourceChanged ()));
+ connect (ui.sourceFolderButton, SIGNAL (pathChanged (QString)), this, SLOT (onSourceChanged ()));
+ connect (ui.sourceFileRadio, SIGNAL (toggled (bool)), this, SLOT (onSourceChanged ()));
+ connect (ui.sourceFileButton, SIGNAL (pathChanged (QString)), this, SLOT (onSourceChanged ()));
+
+ connect (ui.dialogButtons, SIGNAL (accepted ()), this, SLOT (makeTorrent ()));
+ connect (ui.dialogButtons, SIGNAL (rejected ()), this, SLOT (close ()));
+
onSourceChanged ();
}
MakeDialog::~MakeDialog ()
{
- if (myBuilder)
- tr_metaInfoBuilderFree (myBuilder);
}
/***
{
const QMimeData * mime = event->mimeData ();
- if (mime->urls().size() && QFile(mime->urls().front().path()).exists ())
- event->acceptProposedAction();
+ if (!mime->urls ().isEmpty () && QFileInfo (mime->urls ().front ().path ()).exists ())
+ event->acceptProposedAction ();
}
void
MakeDialog::dropEvent (QDropEvent * event)
{
- const QString filename = event->mimeData()->urls().front().path();
+ const QString filename = event->mimeData ()->urls ().front ().path ();
const QFileInfo fileInfo (filename);
if (fileInfo.exists ())
{
if (fileInfo.isDir ())
{
- myFolderRadio->setChecked (true);
- onFolderSelected (filename );
+ ui.sourceFolderRadio->setChecked (true);
+ ui.sourceFolderButton->setPath (filename);
}
else // it's a file
{
- myFileRadio->setChecked (true);
- onFileSelected (filename);
+ ui.sourceFileRadio->setChecked (true);
+ ui.sourceFileButton->setPath (filename);
}
}
}
#ifndef MAKE_DIALOG_H
#define MAKE_DIALOG_H
+#include <memory>
+
#include <QDialog>
-#include <QTimer>
+
+#include "ui_make-dialog.h"
class QAbstractButton;
-class QPlainTextEdit;
-class QLineEdit;
-class QCheckBox;
-class QLabel;
-class QPushButton;
-class QRadioButton;
+
class Session;
-class QProgressBar;
-class QDialogButtonBox;
extern "C"
{
private slots:
void onSourceChanged ();
- void onButtonBoxClicked (QAbstractButton*);
- void onNewButtonBoxClicked (QAbstractButton*);
- void onNewDialogDestroyed (QObject*);
- void onProgress ();
-
- void onFolderClicked ();
- void onFolderSelected (const QString&);
- void onFolderSelected (const QStringList&);
-
- void onFileClicked ();
- void onFileSelected (const QString&);
- void onFileSelected (const QStringList&);
-
- void onDestinationClicked ();
- void onDestinationSelected (const QString&);
- void onDestinationSelected (const QStringList&);
+ void makeTorrent ();
private:
- void makeTorrent ();
QString getSource () const;
- void enableBuddyWhenChecked (QCheckBox *, QWidget *);
- void enableBuddyWhenChecked (QRadioButton *, QWidget *);
private:
Session& mySession;
- QString myDestination;
- QString myTarget;
- QString myFile;
- QString myFolder;
- QTimer myTimer;
- QRadioButton * myFolderRadio;
- QRadioButton * myFileRadio;
- QPushButton * myDestinationButton;
- QPushButton * myFileButton;
- QPushButton * myFolderButton;
- QPlainTextEdit * myTrackerEdit;
- QCheckBox * myCommentCheck;
- QLineEdit * myCommentEdit;
- QCheckBox * myPrivateCheck;
- QLabel * mySourceLabel;
- QDialogButtonBox * myButtonBox;
- QProgressBar * myNewProgress;
- QLabel * myNewLabel;
- QDialogButtonBox * myNewButtonBox;
- QDialog * myNewDialog;
- tr_metainfo_builder * myBuilder;
+ Ui::MakeDialog ui;
+ std::unique_ptr<tr_metainfo_builder, void(*)(tr_metainfo_builder*)> myBuilder;
protected:
virtual void dragEnterEvent (QDragEnterEvent *);
public:
MakeDialog (Session&, QWidget * parent = 0);
- ~MakeDialog ();
+ virtual ~MakeDialog ();
};
#endif
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MakeDialog</class>
+ <widget class="QDialog" name="MakeDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>566</width>
+ <height>417</height>
+ </rect>
+ </property>
+ <property name="acceptDrops">
+ <bool>true</bool>
+ </property>
+ <property name="windowTitle">
+ <string>New Torrent</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">[tr-style~="form-section"]
+{
+ font-weight: bold;
+ margin-top: 12px;
+ margin-bottom: 1px;
+}
+[tr-style~="form-section"][tr-style~="first"]
+{
+ margin-top: 0;
+}
+[tr-style~="form-label"]
+{
+ margin-left: 18px;
+}</string>
+ </property>
+ <layout class="QGridLayout" name="dialogLayout">
+ <item row="0" column="0" colspan="2">
+ <widget class="QLabel" name="filesSectionLabel">
+ <property name="text">
+ <string>Files</string>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-section first</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="destinationLabel">
+ <property name="text">
+ <string>Sa&ve to:</string>
+ </property>
+ <property name="buddy">
+ <cstring>destinationButton</cstring>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-label</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="TrPathButton" name="destinationButton">
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextBesideIcon</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QRadioButton" name="sourceFolderRadio">
+ <property name="text">
+ <string>Source f&older:</string>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-label</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="TrPathButton" name="sourceFolderButton">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextBesideIcon</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QRadioButton" name="sourceFileRadio">
+ <property name="text">
+ <string>Source &file:</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-label</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="TrPathButton" name="sourceFileButton">
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextBesideIcon</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLabel" name="sourceSizeLabel">
+ <property name="text">
+ <string notr="true">...</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0" colspan="2">
+ <widget class="QLabel" name="propertiesSectionLabel">
+ <property name="text">
+ <string>Properties</string>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-section</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QLabel" name="trackersLabel">
+ <property name="text">
+ <string>&Trackers:</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ </property>
+ <property name="buddy">
+ <cstring>trackersEdit</cstring>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-label</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="1">
+ <widget class="QPlainTextEdit" name="trackersEdit">
+ <property name="tabChangesFocus">
+ <bool>true</bool>
+ </property>
+ <property name="lineWrapMode">
+ <enum>QPlainTextEdit::NoWrap</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <widget class="QLabel" name="trackersDescriptionLabel">
+ <property name="text">
+ <string>To add a backup URL, add it on the line after the primary URL.
+To add another primary URL, add it after a blank line.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
+ <widget class="QCheckBox" name="commentCheck">
+ <property name="text">
+ <string>Co&mment:</string>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-label</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="1">
+ <widget class="QLineEdit" name="commentEdit">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0" colspan="2">
+ <widget class="QCheckBox" name="privateCheck">
+ <property name="text">
+ <string>&Private torrent</string>
+ </property>
+ <property name="tr-style" stdset="0">
+ <string notr="true">form-label</string>
+ </property>
+ </widget>
+ </item>
+ <item row="10" column="0" colspan="2">
+ <widget class="QDialogButtonBox" name="dialogButtons">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <customwidgets>
+ <customwidget>
+ <class>TrPathButton</class>
+ <extends>QToolButton</extends>
+ <header>path-button.h</header>
+ </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>commentCheck</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>commentEdit</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>76</x>
+ <y>333</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>360</x>
+ <y>333</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>sourceFolderRadio</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>sourceFolderButton</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>72</x>
+ <y>83</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>360</x>
+ <y>82</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>sourceFileRadio</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>sourceFileButton</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>72</x>
+ <y>119</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>360</x>
+ <y>118</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MakeProgressDialog</class>
+ <widget class="QDialog" name="MakeProgressDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>424</width>
+ <height>101</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>New Torrent</string>
+ </property>
+ <layout class="QVBoxLayout" name="dialogLayout">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetFixedSize</enum>
+ </property>
+ <item>
+ <widget class="QLabel" name="progressLabel">
+ <property name="minimumSize">
+ <size>
+ <width>400</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="text">
+ <string notr="true">...</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QProgressBar" name="progressBar"/>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="dialogButtons">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Abort|QDialogButtonBox::Ok|QDialogButtonBox::Open</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
* $Id$
*/
-#include <QFileDialog>
-#include <QFileIconProvider>
#include <QFileInfo>
#include <QPushButton>
myNameFilter (),
myPath ()
{
+ setSizePolicy(QSizePolicy (QSizePolicy::Preferred, QSizePolicy::Fixed));
+
updateAppearance ();
connect (this, SIGNAL (clicked ()), this, SLOT (onClicked ()));
FORMS += about.ui \
details.ui \
mainwin.ui \
+ make-dialog.ui \
+ make-progress-dialog.ui \
options.ui \
relocate.ui \
session-dialog.ui \
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation type="unfinished"></translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
+ <location line="+20"/>
+ <source>Source f&older:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
+ <location line="+8"/>
+ <source>Co&mment:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation type="unfinished"></translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+400"/>
+ <location line="+401"/>
<source>Torrent Files (*.torrent);;All Files (*.*)</source>
<translation type="unfinished"></translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-897"/>
+ <location line="-898"/>
<source>Speed Limits</source>
<translation type="unfinished"></translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+131"/>
+ <location line="+132"/>
<source>Remove torrent?</source>
<translation type="unfinished"></translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished"></translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>Creando "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>¡"%1" Creado!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Error: URL para anuncio invalido "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Cancelado</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>Error leyendo "%1": %2</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>Error escribiendo "%1": %2</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Nuevo torrent</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Seleccione archivo</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Seleccione folder</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>No se seleccionó la fuente<i></translation>
</message>
<translation>%1 en %2; %3 @ %4</translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Archivos</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>&Guardar en:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
+ <location line="+20"/>
+ <source>Source f&older:</source>
<translation>&Folder fuente:</translation>
</message>
<message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Ninguno)</translation>
- </message>
- <message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>&Archivo fuente:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Propiedades</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>&Seguidores</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>Para agregar una URL de respaldo, agreguela en la línea siguiente al URL primario.
Para agregar otro URL primario, agrueguelo después de una línea en blanco.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>Co&mentario</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>Co&mentario:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>Torrent &Privado</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Nuevo torrent</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">Creando "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">¡"%1" Creado!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Error: URL para anuncio invalido "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Cancelado</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">Error leyendo "%1": %2</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">Error escribiendo "%1": %2</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation>Abrir Torrent</translation>
</message>
<translation>Bajada: %1, Subida: %2</translation>
</message>
<message>
- <location line="+398"/>
+ <location line="+399"/>
<source>Open Torrent</source>
<translation>Abrir Torrent</translation>
</message>
<translation>Archivos de torrent (*.torrent);;Todos los archivos (*.*)</translation>
</message>
<message>
- <location line="-899"/>
+ <location line="-900"/>
<source>Speed Limits</source>
<translation>Límites de velocidad</translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+37"/>
+ <location line="+38"/>
<source>Show &options dialog</source>
<translation>Mostar diálogo de &opciones</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Ninguno)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>"%1" sortzen</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>"%1" sortuta!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Akatsa: iragarpen URL baliogabea "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Ezeztatuta</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>Akatsa irakurtzen "%1": %2</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>Akatsa idazten "%1": %2</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Torrent Berria</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Hautatu Agiria</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Hautatu Agiritegia</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>Ez dago iturbururik hautatuta<i></translation>
</message>
<translation>%1 -> %2; %3 @ %4</translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Agiriak</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>&Gorde hemen:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
- <translation>&Iturburu Agiritegia:</translation>
- </message>
- <message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Ezer ez)</translation>
+ <location line="+20"/>
+ <source>Source f&older:</source>
+ <translation>&Iturburu agiritegia:</translation>
</message>
<message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>I&turburu Agiria:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Ezaugarriak</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>A&ztarnariak:</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>Babeskopia URL bat gehitzeko, gehitu hura lehen URL-aren ondorengo lerroan.
Beste lehen URL bat gehitzeko, gehitu hura lerro huts baten ondoren.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>&Aipamena</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>&Aipamena:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>&Torrent pribatua</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Torrent Berria</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">"%1" sortzen</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">"%1" sortuta!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Akatsa: iragarpen URL baliogabea "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Ezeztatuta</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">Akatsa irakurtzen "%1": %2</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">Akatsa idazten "%1": %2</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation>Ireki Torrenta</translation>
</message>
<translation>Jeisketa: %1, Igoera: %2</translation>
</message>
<message>
- <location line="+400"/>
+ <location line="+401"/>
<source>Torrent Files (*.torrent);;All Files (*.*)</source>
<translation>Torrent Agiriak (*.torrent);;Agiri Guzitak (*.*)</translation>
</message>
<translation>Ireki Torrenta</translation>
</message>
<message>
- <location line="-897"/>
+ <location line="-898"/>
<source>Speed Limits</source>
<translation>Abiadura Mugak</translation>
</message>
(%1 jeitsiera, %2 igoera)</translation>
</message>
<message>
- <location line="+131"/>
+ <location line="+132"/>
<source>Remove torrent?</source>
<translation>Kendu torrenta?</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Ezer ez)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>Création de "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>"%1" créé!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Erreur: URL d'annonce invalide "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Annulé</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>Erreur de lecture "%1": %2</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>Erreur d'écriture "%1": %2</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Nouveau Torrent</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Sélectionner le fichier</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Sélectionner le dossier</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>Pas de source seléctionnée<i></translation>
</message>
<translation>%1 sur %2; %3 @ %4</translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Fichiers</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>S&auvegarder vers:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
+ <location line="+20"/>
+ <source>Source f&older:</source>
<translation>Répert&oire source:</translation>
</message>
<message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Aucun)</translation>
- </message>
- <message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>&Fichier source:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Propriétés</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>&Traqueurs:</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>"Pour ajouter une URL de secours, placez-la sur la ligne après l'URL primaire.
Pour ajouter une autre URL primaire, placez-la après une ligne vide.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>Co&mmentaire</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>Co&mmentaire:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>&Torrent privé</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Nouveau Torrent</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">Création de "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">"%1" créé!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Erreur: URL d'annonce invalide "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Annulé</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">Erreur de lecture "%1": %2</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">Erreur d'écriture "%1": %2</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation>Ouvrir un torrent</translation>
</message>
<translation>Réception: %1, Envoi: %2</translation>
</message>
<message>
- <location line="+400"/>
+ <location line="+401"/>
<source>Torrent Files (*.torrent);;All Files (*.*)</source>
<translation>Fichiers Torrent (*.torrent);;Tous les fichiers (*.*)</translation>
</message>
<translation>Ouvrir un torrent</translation>
</message>
<message>
- <location line="-447"/>
+ <location line="-448"/>
<source>Network Error</source>
<translation type="unfinished"></translation>
</message>
(%1 down, %2 up)</translation>
</message>
<message>
- <location line="+131"/>
+ <location line="+132"/>
<source>Remove torrent?</source>
<translation>Enlever le torrent?</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Aucun)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>"%1" létrehozás alatt</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>"%1" létrehozva!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Hibás announce URL: "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Megszakítva</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>"%2" hiba történt a(z) "%1" olvasásakor</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>"%2" hiba történt a(z) "%1" írásakor</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Új Torrent</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Fájl kiválasztása</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Mapp kiválasztása</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>Nincs forrás kiválasztva<i></translation>
</message>
<translation>%1 in %2; %3 @ %4</translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Fájlok</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>Mentés &ide:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
+ <location line="+20"/>
+ <source>Source f&older:</source>
<translation>Forrás&mappa:</translation>
</message>
<message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Nincs)</translation>
- </message>
- <message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>&Forrásfájl:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Tulajdonságok</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>&Trackerek:</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>Ha tartalék URL-t kívánsz hozzáadni írd azt az elsődleges után vele egy sorba.
Másik elsődleges URL-t új sorba írva adhatsz hozzá.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>Megje&gyzés</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>Megje&gyzés:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>&Privát torrent</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Új Torrent</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">"%1" létrehozás alatt</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">"%1" létrehozva!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Hibás announce URL: "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Megszakítva</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">"%2" hiba történt a(z) "%1" olvasásakor</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">"%2" hiba történt a(z) "%1" írásakor</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation>Torrent megnyitása</translation>
</message>
<translation>Le: %1, Fel: %2</translation>
</message>
<message>
- <location line="+398"/>
+ <location line="+399"/>
<source>Open Torrent</source>
<translation>Torrent megnyitása</translation>
</message>
<translation>&Opciók ablak megjelenítése</translation>
</message>
<message>
- <location line="-453"/>
+ <location line="-454"/>
<source>Network Error</source>
<translation type="unfinished"></translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+131"/>
+ <location line="+132"/>
<source>Remove torrent?</source>
<translation>Valóban törölni kívánod a torrentet?</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Nincs)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>Жасалуда %1</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>Жасалды %1!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Қате: дүрыс емес анонс URL-ы %1</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Бас тартылды</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>"%1" оқу қатесі: %2</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>"%1" жазу қатесі: %2</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Жаңа торрент</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Файлдан жасау</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Бумадан жасау</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>Көзі таңдалмаған</i></translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Файлдар</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>Қа&йда сақтау:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
+ <location line="+20"/>
+ <source>Source f&older:</source>
<translation>Бу&мадан жасау:</translation>
</message>
<message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Ешнәрсе)</translation>
- </message>
- <message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>Фай&лдан жасау:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Қасиеттері</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>&Трекерлер:</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>Қор URL-ын қосу үшін оны бастапқы URL жолынан кейін қосыңыз.
Басқа бастапқы URL қосу үшін оны бір бос жолдан кейін қосыңыз.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>К&омментарийі</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>К&омментарийі:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>&Жабық торрент</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Жаңа торрент</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">Жасалуда %1</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">Жасалды %1!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Қате: дүрыс емес анонс URL-ы %1</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Бас тартылды</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">"%1" оқу қатесі: %2</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">"%1" жазу қатесі: %2</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation type="unfinished"></translation>
</message>
<translation>Қабылданған: %1, Таратылған: %2</translation>
</message>
<message>
- <location line="+400"/>
+ <location line="+401"/>
<source>Torrent Files (*.torrent);;All Files (*.*)</source>
<translation type="unfinished"></translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-897"/>
+ <location line="-898"/>
<source>Speed Limits</source>
<translation type="unfinished">Жылдамдықты шектеу</translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+131"/>
+ <location line="+132"/>
<source>Remove torrent?</source>
<translation>Торрентт(ерд)і өшіру керек пе?</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Ешнәрсе)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+309"/>
+ <location filename="../make-dialog.cc" line="+206"/>
<source>%1 in %2; %3 @ %4</source>
<translation>%1, %2; %3 po %4</translation>
</message>
</translation>
</message>
<message>
- <location line="+100"/>
+ <location filename="../make-dialog.ui" line="+177"/>
<source>&Private torrent</source>
<translation>&Privatus torentas</translation>
</message>
<message>
- <location line="-11"/>
+ <location line="-51"/>
<source>&Trackers:</source>
<translation>&Sekikliai:</translation>
</message>
<message>
- <location line="-31"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Joks)</translation>
- </message>
- <message>
- <location line="-77"/>
+ <location filename="../make-dialog.cc" line="-5"/>
<source><i>No source selected<i></source>
<translation><i>Nepasirinktas šaltinis</i></translation>
</message>
<message>
- <location line="-211"/>
- <source>Cancelled</source>
- <translation>Atsisakyta</translation>
+ <location filename="../make-dialog.ui" line="+34"/>
+ <source>Co&mment:</source>
+ <translation>&Komentaras:</translation>
</message>
<message>
- <location line="+311"/>
- <source>Co&mment</source>
- <translation>&Komentaras</translation>
+ <location line="-121"/>
+ <source>Files</source>
+ <translation>Failai</translation>
</message>
<message>
- <location line="-315"/>
- <source>Created "%1"!</source>
- <translation>Sukurtas „%1“!</translation>
+ <location line="-22"/>
+ <source>New Torrent</source>
+ <translation>Naujas torentas</translation>
</message>
<message>
- <location line="-2"/>
- <source>Creating "%1"</source>
- <translation>Kuriamas „%1“</translation>
+ <location line="+99"/>
+ <source>Properties</source>
+ <translation>Savybės</translation>
</message>
<message>
- <location line="+8"/>
- <source>Error reading "%1": %2</source>
- <translation>Klaida skaitant „%1“: %2</translation>
+ <location line="-67"/>
+ <source>Sa&ve to:</source>
+ <translation>Į&rašyti į:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>Klaida rašant „%1“: %2</translation>
+ <location line="+40"/>
+ <source>Source &file:</source>
+ <translation>Šaltinio &failas:</translation>
</message>
<message>
- <location line="-6"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Klaida: netinkamas pranešimo URL „%1“</translation>
+ <location line="-20"/>
+ <source>Source f&older:</source>
+ <translation>Šaltinio &aplankas:</translation>
</message>
<message>
- <location line="+255"/>
- <source>Files</source>
- <translation>Failai</translation>
+ <location line="+83"/>
+ <source>To add a backup URL, add it on the line after the primary URL.
+To add another primary URL, add it after a blank line.</source>
+ <translation>Atsarginį URL adresą veskite atskiroje eilutėje po pirminiu URL adresu.
+Papildomą pirminį URL adresą galite įvesti, palikę prieš jį tuščią eilutę.</translation>
</message>
+</context>
+<context>
+ <name>MakeProgressDialog</name>
<message>
- <location line="-212"/>
- <location line="+206"/>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
<source>New Torrent</source>
- <translation>Naujas torentas</translation>
+ <translation type="unfinished">Naujas torentas</translation>
</message>
<message>
- <location line="+53"/>
- <source>Properties</source>
- <translation>Savybės</translation>
- </message>
- <message>
- <location line="-33"/>
- <source>Sa&ve to:</source>
- <translation>Į&rašyti į:</translation>
+ <location filename="../make-dialog.cc" line="-102"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">Kuriamas „%1“</translation>
</message>
<message>
- <location line="-182"/>
- <source>Select File</source>
- <translation>Parinkite failą</translation>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">Sukurtas „%1“!</translation>
</message>
<message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Parinkite aplanką</translation>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Klaida: netinkamas pranešimo URL „%1“</translation>
</message>
<message>
- <location line="+147"/>
- <source>Source &File:</source>
- <translation>Šaltinio &failas:</translation>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Atsisakyta</translation>
</message>
<message>
- <location line="-14"/>
- <source>Source F&older:</source>
- <translation>Šaltinio &aplankas:</translation>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">Klaida skaitant „%1“: %2</translation>
</message>
<message>
- <location line="+37"/>
- <source>To add a backup URL, add it on the line after the primary URL.
-To add another primary URL, add it after a blank line.</source>
- <translation>Atsarginį URL adresą veskite atskiroje eilutėje po pirminiu URL adresu.
-Papildomą pirminį URL adresą galite įvesti, palikę prieš jį tuščią eilutę.</translation>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">Klaida rašant „%1“: %2</translation>
</message>
</context>
<context>
<translation>Paskirties &aplankas:</translation>
</message>
<message>
- <location filename="../options.cc" line="+115"/>
+ <location filename="../options.cc" line="+113"/>
<source>&Verify Local Data</source>
<translation>Pa&tikrinti turimus duomenis</translation>
</message>
<translation>Ribojama iki %1</translation>
</message>
<message>
- <location line="+214"/>
+ <location line="+215"/>
<source>Once removed, continuing the transfers will require the torrent files or magnet links.</source>
<translation>Jeigu pašalinsite, norint tęsti siuntimus, jums prireiks atitinkamų torentų failų arba magnet nuorodų.</translation>
</message>
<translation>Atverti torentą</translation>
</message>
<message>
- <location line="-409"/>
+ <location line="-410"/>
<location line="+16"/>
<source>Ratio: %1</source>
<translation>Santykis: %1</translation>
</message>
<message>
- <location line="+494"/>
+ <location line="+495"/>
<source>Remove %1 torrents?</source>
<translation>Pašalinti %1 torentus(-ų)?</translation>
</message>
<translation>Šie torentai prisijungę prie siuntėjų.</translation>
</message>
<message>
- <location line="-819"/>
+ <location line="-820"/>
<source>Seed Forever</source>
<translation>Skleisti visada</translation>
</message>
<message>
- <location line="+699"/>
+ <location line="+700"/>
<source>Show &options dialog</source>
<translation>Rodyti &parinkčių langą</translation>
</message>
<message>
- <location line="-477"/>
+ <location line="-478"/>
<source> - %1:%2</source>
<translation> - %1:%2</translation>
</message>
<message>
- <location line="+578"/>
+ <location line="+579"/>
<source>Delete these %1 torrents' downloaded files?</source>
<translation>Pašalinti šių %1 torentų atsiųstus failus?</translation>
</message>
<translation>Pašalinti šio torento atsiųstus failus?</translation>
</message>
<message>
- <location line="-1003"/>
+ <location line="-1004"/>
<source>Speed Limits</source>
<translation type="unfinished">Greičio ribojimai</translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+144"/>
+ <location line="+145"/>
<source>Once removed, continuing the transfer will require the torrent file or magnet link.</source>
<translation>Jeigu pašalinsite, norint tęsti siuntimą, jums prireiks torento failo arba magnet nuorodos.</translation>
</message>
<translation>Vienas šių torentų dar neatsiųstas.</translation>
</message>
<message>
- <location line="-842"/>
+ <location line="-843"/>
<source>Stop Seeding at Ratio</source>
<translation>Nebeskleisti esant santykiui</translation>
</message>
<translation>Nebeskleisti esant santykiui (%1)</translation>
</message>
<message>
- <location line="+212"/>
+ <location line="+213"/>
<source>These torrents have not finished downloading.</source>
<translation>Šie torentai dar neatsiųsti.</translation>
</message>
<translation>Šis torentas dar neatsiųstas.</translation>
</message>
<message>
- <location line="-857"/>
+ <location line="-858"/>
<location line="+22"/>
<source>Unlimited</source>
<translation>Be ribojimų</translation>
</message>
<message>
- <location line="+920"/>
+ <location line="+921"/>
<source>%1 has not responded yet</source>
<translation type="unfinished"></translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Joks)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>Criando "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>"%1" Criado!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Erro: URL de anúncio inválida "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Cancelado</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>Erro na leitura de "%1": %2</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>Erro na gravação de "%1": %2</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Novo Torrent</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Selecionar Arquivo</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Selecionar Pasta</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>Nenhuma fonte selecionada<i></translation>
</message>
<translation>%1 em %2; %3 @ %4</translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Arquivos</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>Salvar em:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
- <translation>Pasta Fonte:</translation>
- </message>
- <message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Nenhuma)</translation>
+ <location line="+20"/>
+ <source>Source f&older:</source>
+ <translation>Pasta fonte:</translation>
</message>
<message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>Arquivo Fonte:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Propriedades</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>Rastreadores:</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>Adicione uma URL reserva na linha após a primária.
Adicione outra URL primária depois de uma linha em branco.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>Comentário</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>Comentário:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>Torrent Privado</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Novo Torrent</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">Criando "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">"%1" Criado!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Erro: URL de anúncio inválida "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Cancelado</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">Erro na leitura de "%1": %2</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">Erro na gravação de "%1": %2</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation type="unfinished"></translation>
</message>
<translation>Baixado: %1 - Enviado: %2</translation>
</message>
<message>
- <location line="+400"/>
+ <location line="+401"/>
<source>Torrent Files (*.torrent);;All Files (*.*)</source>
<translation>Arquivos Torrent (*.torrent);;Todos os Arquivos (*.*)</translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="-897"/>
+ <location line="-898"/>
<source>Speed Limits</source>
<translation type="unfinished">Limites de Velocidade</translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+131"/>
+ <location line="+132"/>
<source>Remove torrent?</source>
<translation>Remover torrent?</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Nenhuma)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>Создание "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>Создан "%1"!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Ошибка: неверный URL-адрес объявлений "%1"</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Отменено</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>Ошибка чтения "%1": %2</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>Ошибка записи "%1": %2</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Создание нового торрента</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Выбор файла</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Выбор папки</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>Не выбраны исходные данные<i></translation>
</message>
<translation>%1 в %2; %3 @ %4</translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Файлы</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>&Сохранить в папку:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
+ <location line="+20"/>
+ <source>Source f&older:</source>
<translation>Исходный к&аталог:</translation>
</message>
<message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Не выбран)</translation>
- </message>
- <message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>&Исходный файл:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Свойства</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>&Трекеры:</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>Чтобы добавить резервный URL, добавьте его после основного URL в той же строке.
Чтобы добавить ещё один основной URL, добавьте его в новой строке.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>&Комментарий</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>&Комментарий:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>&Закрытый торрент</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Создание нового торрента</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">Создание "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">Создан "%1"!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Ошибка: неверный URL-адрес объявлений "%1"</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Отменено</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">Ошибка чтения "%1": %2</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">Ошибка записи "%1": %2</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation>Открытие файла</translation>
</message>
<translation>Принято: %1, Роздано: %2</translation>
</message>
<message>
- <location line="+398"/>
+ <location line="+399"/>
<source>Open Torrent</source>
<translation>Открытие файла</translation>
</message>
<message>
- <location line="-897"/>
+ <location line="-898"/>
<source>Speed Limits</source>
<translation type="unfinished">Ограничения скорости</translation>
</message>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+33"/>
+ <location line="+34"/>
<source>Torrent Files (*.torrent);;All Files (*.*)</source>
<translation>Торрент-файлы (*.torrent);;Все файлы (*.*)</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Не выбран)</translation>
</message>
<context>
<name>MakeDialog</name>
<message>
- <location filename="../make-dialog.cc" line="+86"/>
- <source>Creating "%1"</source>
- <translation>Створюється «%1»</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Created "%1"!</source>
- <translation>«%1» створено!</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error: invalid announce URL "%1"</source>
- <translation>Помилка: пошкоджена адреса оголошень «%1»</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Cancelled</source>
- <translation>Скасовано</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error reading "%1": %2</source>
- <translation>Не вдалося прочитати «%1»: %2</translation>
- </message>
- <message>
- <location line="+2"/>
- <source>Error writing "%1": %2</source>
- <translation>Не вдалося записати «%1»: %2</translation>
- </message>
- <message>
- <location line="+37"/>
- <location line="+206"/>
+ <location filename="../make-dialog.ui" line="+17"/>
<source>New Torrent</source>
<translation>Новий торент</translation>
</message>
<message>
- <location line="-162"/>
- <source>Select File</source>
- <translation>Обрати файл</translation>
- </message>
- <message>
- <location line="+24"/>
- <location line="+27"/>
- <source>Select Folder</source>
- <translation>Обрати теку</translation>
- </message>
- <message>
- <location line="+75"/>
+ <location filename="../make-dialog.cc" line="+200"/>
<source><i>No source selected<i></source>
<translation><i>Не вказано джерела<i></translation>
</message>
<translation>%1 у %2; %3 @ %4</translation>
</message>
<message>
- <location line="+36"/>
+ <location filename="../make-dialog.ui" line="+22"/>
<source>Files</source>
<translation>Файли</translation>
</message>
<message>
- <location line="+14"/>
+ <location line="+10"/>
<source>Sa&ve to:</source>
<translation>З&берегти до:</translation>
</message>
<message>
- <location line="+2"/>
- <source>Source F&older:</source>
+ <location line="+20"/>
+ <source>Source f&older:</source>
<translation>Тека з &даними:</translation>
</message>
<message>
- <location line="+5"/>
- <location line="+14"/>
- <source>(None)</source>
- <translation>(Нічого)</translation>
- </message>
- <message>
- <location line="-5"/>
- <source>Source &File:</source>
+ <location line="+20"/>
+ <source>Source &file:</source>
<translation>&Файл даних:</translation>
</message>
<message>
- <location line="+17"/>
+ <location line="+27"/>
<source>Properties</source>
<translation>Властивості</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+10"/>
<source>&Trackers:</source>
<translation>&Трекери:</translation>
</message>
<message>
- <location line="+1"/>
+ <location line="+26"/>
<source>To add a backup URL, add it on the line after the primary URL.
To add another primary URL, add it after a blank line.</source>
<translation>Резервну адресу додавайте після основної.
Щоб додати нову основну адресу, допишіть її після порожнього рядка.</translation>
</message>
<message>
- <location line="+5"/>
- <source>Co&mment</source>
- <translation>Ком&ентар</translation>
+ <location line="+8"/>
+ <source>Co&mment:</source>
+ <translation>Ком&ентар:</translation>
</message>
<message>
- <location line="+5"/>
+ <location line="+17"/>
<source>&Private torrent</source>
<translation>&Приватний торент</translation>
</message>
</context>
+<context>
+ <name>MakeProgressDialog</name>
+ <message>
+ <location filename="../make-progress-dialog.ui" line="+14"/>
+ <source>New Torrent</source>
+ <translation type="unfinished">Новий торент</translation>
+ </message>
+ <message>
+ <location filename="../make-dialog.cc" line="-108"/>
+ <source>Creating "%1"</source>
+ <translation type="unfinished">Створюється «%1»</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Created "%1"!</source>
+ <translation type="unfinished">«%1» створено!</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error: invalid announce URL "%1"</source>
+ <translation type="unfinished">Помилка: пошкоджена адреса оголошень «%1»</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Cancelled</source>
+ <translation type="unfinished">Скасовано</translation>
+ </message>
+ <message>
+ <location line="+2"/>
+ <source>Error reading "%1": %2</source>
+ <translation type="unfinished">Не вдалося прочитати «%1»: %2</translation>
+ </message>
+ <message>
+ <location line="+3"/>
+ <source>Error writing "%1": %2</source>
+ <translation type="unfinished">Не вдалося записати «%1»: %2</translation>
+ </message>
+</context>
<context>
<name>MyApp</name>
<message>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../options.cc" line="+59"/>
+ <location filename="../options.cc" line="+57"/>
<source>Open Torrent</source>
<translation>Відкрити торент</translation>
</message>
<translation>Завн: %1, Пошир: %2</translation>
</message>
<message>
- <location line="+400"/>
+ <location line="+401"/>
<source>Torrent Files (*.torrent);;All Files (*.*)</source>
<translation>Торент файли (*.torrent);;Всі файли (*.*)</translation>
</message>
<translation>Відкрити торент</translation>
</message>
<message>
- <location line="-897"/>
+ <location line="-898"/>
<source>Speed Limits</source>
<translation>Обмеження швидкості</translation>
</message>
(%1 завантаження, %2 поширення)</translation>
</message>
<message>
- <location line="+131"/>
+ <location line="+132"/>
<source>Remove torrent?</source>
<translation>Вилучити торент?</translation>
</message>
<context>
<name>TrPathButton</name>
<message>
- <location filename="../path-button.cc" line="+111"/>
+ <location filename="../path-button.cc" line="+113"/>
<source>(None)</source>
<translation type="unfinished">(Нічого)</translation>
</message>