diff --git a/mainwindow.cpp b/mainwindow.cpp index aa65340..df0e069 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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; diff --git a/space.nouspiro.tenmon.desktop b/space.nouspiro.tenmon.desktop index 0ff8e0a..0249660 100644 --- a/space.nouspiro.tenmon.desktop +++ b/space.nouspiro.tenmon.desktop @@ -4,6 +4,6 @@ Exec=tenmon %U Icon=space.nouspiro.tenmon Comment=FITS Image viewer Name=Tenmon -Categories=Graphics;2DGraphics;RasterGraphics;Viewer; +Categories=Graphics;2DGraphics;RasterGraphics;Viewer;Science;Astronomy MimeType=image/fits;image/x-xisf; Terminal=false diff --git a/space.nouspiro.tenmon.metainfo.xml b/space.nouspiro.tenmon.metainfo.xml index c57ffe5..ba79735 100644 --- a/space.nouspiro.tenmon.metainfo.xml +++ b/space.nouspiro.tenmon.metainfo.xml @@ -12,9 +12,10 @@

+

Features:

-

https://nouspiro.space/?page_id=206 @@ -38,6 +38,7 @@ + diff --git a/translations/tenmon_en.qm b/translations/tenmon_en.qm index 74122ff..43351a7 100644 Binary files a/translations/tenmon_en.qm and b/translations/tenmon_en.qm differ diff --git a/translations/tenmon_en.ts b/translations/tenmon_en.ts index 6e6875e..32c5102 100644 --- a/translations/tenmon_en.ts +++ b/translations/tenmon_en.ts @@ -346,6 +346,30 @@ FITS (*.fits *.fit);;XISF (*.xisf);; FITS image (*.fits *.fit);;XISF image (*.xisf);; + + Failed to copy + Failed to copy + + + Failed to move + Failed to move + + + Failed to copy %1 from to %2 + Failed to copy from %1 to %2 + + + Failed to move from %1 to %2 + Failed to move from %1 to %2 + + + Failed to copy from %1 to %2 + Failed to copy from %1 to %2 + + + Failed to move from %1 to %2ˇ + Failed to move from %1 to %2ˇ {1 ?} + MarkedFiles diff --git a/translations/tenmon_fr.qm b/translations/tenmon_fr.qm index 9771758..80f3878 100644 Binary files a/translations/tenmon_fr.qm and b/translations/tenmon_fr.qm differ diff --git a/translations/tenmon_fr.ts b/translations/tenmon_fr.ts index bed7586..3c9ff65 100644 --- a/translations/tenmon_fr.ts +++ b/translations/tenmon_fr.ts @@ -346,6 +346,30 @@ FITS (*.fits *.fit);;XISF (*.xisf);; FITS image (*.fits *.fit);;XISF image (*.xisf);; + + Failed to copy + Échec de la copie + + + Failed to move + Échec du déplacement + + + Failed to copy %1 from to %2 + Échec de la copie de %1 vers %2 + + + Failed to move from %1 to %2 + Échec du déplacement de %1 vers %2 + + + Failed to copy from %1 to %2 + Échec de la copie de %1 vers %2 + + + Failed to move from %1 to %2ˇ + Échec du déplacement de %1 vers %2ˇ {1 ?} + MarkedFiles diff --git a/translations/tenmon_sk.qm b/translations/tenmon_sk.qm index a965078..950829b 100644 Binary files a/translations/tenmon_sk.qm and b/translations/tenmon_sk.qm differ diff --git a/translations/tenmon_sk.ts b/translations/tenmon_sk.ts index aa9534c..da6250c 100644 --- a/translations/tenmon_sk.ts +++ b/translations/tenmon_sk.ts @@ -359,6 +359,30 @@ FITS (*.fits *.fit);;XISF (*.xisf);; Obrázok FITS (*.fits *.fit);;Obrázok XISF (*.xisf);; + + Failed to copy + Zlyhalo kopírovanie + + + Failed to move + Zlyhalo presúvanie + + + Failed to copy %1 from to %2 + Zlyhalo kopírovanie z %1 do %2 + + + Failed to move from %1 to %2 + Zlyhalo presúvanie z %1 do %2 + + + Failed to copy from %1 to %2 + Zlyhalo kopírovanie z %1 do %2 + + + Failed to move from %1 to %2ˇ + Zlyhalo presúvanie z %1 do %2ˇ {1 ?} + MarkedFiles