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 #endif
if(!result) if(!result)
{ {
QString c = copy ? tr("copy") : tr("move"); QString t = copy ? tr("Failed to copy") : tr("Failed to move");
QMessageBox::StandardButton button = QMessageBox::warning(this, tr("Failed to %1").arg(c), QString m = copy ? tr("Failed to copy from %1 to %2") : tr("Failed to move from %1 to %2");
tr("Failed to %1 from %2 to %3.").arg(c).arg(srcFile.fileName()).arg(dir.absolutePath()), QMessageBox::StandardButton button = QMessageBox::warning(this, t,
m.arg(srcFile.fileName()).arg(dir.absolutePath()),
QMessageBox::Ignore | QMessageBox::Abort); QMessageBox::Ignore | QMessageBox::Abort);
qDebug() << button; qDebug() << button;
if(button == QMessageBox::Abort)return; if(button == QMessageBox::Abort)return;
+1 -1
View File
@@ -4,6 +4,6 @@ Exec=tenmon %U
Icon=space.nouspiro.tenmon Icon=space.nouspiro.tenmon
Comment=FITS Image viewer Comment=FITS Image viewer
Name=Tenmon Name=Tenmon
Categories=Graphics;2DGraphics;RasterGraphics;Viewer; Categories=Graphics;2DGraphics;RasterGraphics;Viewer;Science;Astronomy
MimeType=image/fits;image/x-xisf; MimeType=image/fits;image/x-xisf;
Terminal=false Terminal=false
+3 -2
View File
@@ -12,9 +12,10 @@
<ul> <ul>
<li>FITS 8, 16 bit integer and 32 bit float</li> <li>FITS 8, 16 bit integer and 32 bit float</li>
<li>XISF 8, 16 bit integer and 32 bit float</li> <li>XISF 8, 16 bit integer and 32 bit float</li>
<li>JPEG and PNG images</li> <li>JPEG, PNG, BMP, GIF, PBM, PGM, PPM and SVG images</li>
</ul> </ul>
</p> </p>
<p>
Features: Features:
<ul> <ul>
<li>Using same stretch function as PixInsight</li> <li>Using same stretch function as PixInsight</li>
@@ -27,7 +28,6 @@
<li>Support for WCS</li> <li>Support for WCS</li>
<li>Thumbnails</li> <li>Thumbnails</li>
</ul> </ul>
<p>
</p> </p>
</description> </description>
<url type="homepage">https://nouspiro.space/?page_id=206</url> <url type="homepage">https://nouspiro.space/?page_id=206</url>
@@ -38,6 +38,7 @@
</screenshots> </screenshots>
<content_rating type="oars-1.1"/> <content_rating type="oars-1.1"/>
<releases> <releases>
<release version="20221209" date="2022-12-09"/>
<release version="20221126" date="2022-11-26"/> <release version="20221126" date="2022-11-26"/>
<release version="20221121" date="2022-11-11"/> <release version="20221121" date="2022-11-11"/>
<release version="20221023" date="2022-10-23"/> <release version="20221023" date="2022-10-23"/>
Binary file not shown.
+24
View File
@@ -346,6 +346,30 @@
<source>FITS (*.fits *.fit);;XISF (*.xisf);;</source> <source>FITS (*.fits *.fit);;XISF (*.xisf);;</source>
<translation>FITS image (*.fits *.fit);;XISF image (*.xisf);;</translation> <translation>FITS image (*.fits *.fit);;XISF image (*.xisf);;</translation>
</message> </message>
<message>
<source>Failed to copy</source>
<translation>Failed to copy</translation>
</message>
<message>
<source>Failed to move</source>
<translation>Failed to move</translation>
</message>
<message>
<source>Failed to copy %1 from to %2</source>
<translation type="vanished">Failed to copy from %1 to %2</translation>
</message>
<message>
<source>Failed to move from %1 to %2</source>
<translation>Failed to move from %1 to %2</translation>
</message>
<message>
<source>Failed to copy from %1 to %2</source>
<translation>Failed to copy from %1 to %2</translation>
</message>
<message>
<source>Failed to move from %1 to %2ˇ</source>
<translation type="obsolete">Failed to move from %1 to %2ˇ {1 ?}</translation>
</message>
</context> </context>
<context> <context>
<name>MarkedFiles</name> <name>MarkedFiles</name>
Binary file not shown.
+24
View File
@@ -346,6 +346,30 @@
<source>FITS (*.fits *.fit);;XISF (*.xisf);;</source> <source>FITS (*.fits *.fit);;XISF (*.xisf);;</source>
<translation>FITS image (*.fits *.fit);;XISF image (*.xisf);;</translation> <translation>FITS image (*.fits *.fit);;XISF image (*.xisf);;</translation>
</message> </message>
<message>
<source>Failed to copy</source>
<translation type="unfinished">Échec de la copie</translation>
</message>
<message>
<source>Failed to move</source>
<translation type="unfinished">Échec du déplacement</translation>
</message>
<message>
<source>Failed to copy %1 from to %2</source>
<translation type="obsolete">Échec de la copie de %1 vers %2</translation>
</message>
<message>
<source>Failed to move from %1 to %2</source>
<translation type="unfinished">Échec du déplacement de %1 vers %2</translation>
</message>
<message>
<source>Failed to copy from %1 to %2</source>
<translation type="unfinished">Échec de la copie de %1 vers %2</translation>
</message>
<message>
<source>Failed to move from %1 to %2ˇ</source>
<translation type="obsolete">Échec du déplacement de %1 vers %2ˇ {1 ?}</translation>
</message>
</context> </context>
<context> <context>
<name>MarkedFiles</name> <name>MarkedFiles</name>
Binary file not shown.
+24
View File
@@ -359,6 +359,30 @@
<source>FITS (*.fits *.fit);;XISF (*.xisf);;</source> <source>FITS (*.fits *.fit);;XISF (*.xisf);;</source>
<translation>Obrázok FITS (*.fits *.fit);;Obrázok XISF (*.xisf);;</translation> <translation>Obrázok FITS (*.fits *.fit);;Obrázok XISF (*.xisf);;</translation>
</message> </message>
<message>
<source>Failed to copy</source>
<translation>Zlyhalo kopírovanie</translation>
</message>
<message>
<source>Failed to move</source>
<translation>Zlyhalo presúvanie</translation>
</message>
<message>
<source>Failed to copy %1 from to %2</source>
<translation type="vanished">Zlyhalo kopírovanie z %1 do %2</translation>
</message>
<message>
<source>Failed to move from %1 to %2</source>
<translation>Zlyhalo presúvanie z %1 do %2</translation>
</message>
<message>
<source>Failed to copy from %1 to %2</source>
<translation>Zlyhalo kopírovanie z %1 do %2</translation>
</message>
<message>
<source>Failed to move from %1 to %2ˇ</source>
<translation type="obsolete">Zlyhalo presúvanie z %1 do %2ˇ {1 ?}</translation>
</message>
</context> </context>
<context> <context>
<name>MarkedFiles</name> <name>MarkedFiles</name>