Update translation and metainfo

This commit is contained in:
2022-12-09 19:33:26 +01:00
parent efd36f96c3
commit f3f194bcef
9 changed files with 80 additions and 6 deletions
+4 -3
View File
@@ -366,9 +366,10 @@ void MainWindow::copyOrMove(bool copy, const QString &dest)
#endif
if(!result)
{
QString c = copy ? tr("copy") : tr("move");
QMessageBox::StandardButton button = QMessageBox::warning(this, tr("Failed to %1").arg(c),
tr("Failed to %1 from %2 to %3.").arg(c).arg(srcFile.fileName()).arg(dir.absolutePath()),
QString t = copy ? tr("Failed to copy") : tr("Failed to move");
QString m = copy ? tr("Failed to copy from %1 to %2") : tr("Failed to move from %1 to %2");
QMessageBox::StandardButton button = QMessageBox::warning(this, t,
m.arg(srcFile.fileName()).arg(dir.absolutePath()),
QMessageBox::Ignore | QMessageBox::Abort);
qDebug() << button;
if(button == QMessageBox::Abort)return;