1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix typos in tooltips

transmit -> tranfer
This commit is contained in:
tux3 2015-04-24 21:51:25 +02:00
parent 137d1ae2d5
commit 110a6ca850
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -397,11 +397,11 @@ void FileTransferWidget::setupButtons()
case ToxFile::TRANSMITTING:
ui->topButton->setIcon(QIcon(":/ui/fileTransferInstance/no.svg"));
ui->topButton->setObjectName("cancel");
ui->topButton->setToolTip(tr("Cancel transmit."));
ui->topButton->setToolTip(tr("Cancel transfer"));
ui->bottomButton->setIcon(QIcon(":/ui/fileTransferInstance/pause.svg"));
ui->bottomButton->setObjectName("pause");
ui->bottomButton->setToolTip(tr("Pause transmit."));
ui->bottomButton->setToolTip(tr("Pause transfer"));
setButtonColor(Style::getColor(Style::Green));
@ -409,11 +409,11 @@ void FileTransferWidget::setupButtons()
case ToxFile::PAUSED:
ui->topButton->setIcon(QIcon(":/ui/fileTransferInstance/no.svg"));
ui->topButton->setObjectName("cancel");
ui->topButton->setToolTip(tr("Cancel transmit."));
ui->topButton->setToolTip(tr("Cancel transfer"));
ui->bottomButton->setIcon(QIcon(":/ui/fileTransferInstance/arrow_white.svg"));
ui->bottomButton->setObjectName("resume");
ui->bottomButton->setToolTip(tr("Resume transmit."));
ui->bottomButton->setToolTip(tr("Resume transfer"));
setButtonColor(Style::getColor(Style::LightGrey));
@ -422,19 +422,19 @@ void FileTransferWidget::setupButtons()
case ToxFile::BROKEN: //TODO: ?
ui->topButton->setIcon(QIcon(":/ui/fileTransferInstance/no.svg"));
ui->topButton->setObjectName("cancel");
ui->topButton->setToolTip(tr("Cancel transmit."));
ui->topButton->setToolTip(tr("Cancel transfer"));
if(fileInfo.direction == ToxFile::SENDING)
{
ui->bottomButton->setIcon(QIcon(":/ui/fileTransferInstance/pause.svg"));
ui->bottomButton->setObjectName("pause");
ui->bottomButton->setToolTip(tr("Pause transmit."));
ui->bottomButton->setToolTip(tr("Pause transfer"));
}
else
{
ui->bottomButton->setIcon(QIcon(":/ui/fileTransferInstance/yes.svg"));
ui->bottomButton->setObjectName("accept");
ui->bottomButton->setToolTip(tr("Accept transmit"));
ui->bottomButton->setToolTip(tr("Accept transfer"));
}
break;
}