mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08:00
Fix english typo.
This commit is contained in:
parent
296c7d3c13
commit
4927d26877
@ -163,7 +163,7 @@ bool Session::moveItem(const QString &itemPath, const QString &destPath, QString
|
||||
auto item = m_itemsByPath.value(itemPath);
|
||||
if (!item) {
|
||||
if (error)
|
||||
*error = tr("Item doesn't exists: %1.").arg(itemPath);
|
||||
*error = tr("Item doesn't exist: %1.").arg(itemPath);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -201,7 +201,7 @@ bool Session::removeItem(const QString &itemPath, QString *error)
|
||||
auto item = m_itemsByPath.value(itemPath);
|
||||
if (!item) {
|
||||
if (error)
|
||||
*error = tr("Item doesn't exists: %1.").arg(itemPath);
|
||||
*error = tr("Item doesn't exist: %1.").arg(itemPath);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user