Update translations and help

This commit is contained in:
2023-11-16 19:11:36 +01:00
parent a42abb05ea
commit 61e0c542f5
10 changed files with 73 additions and 94 deletions
+6 -4
View File
@@ -11,8 +11,8 @@ img { margin: 5px; }
<p>Tenmon is intended primarily for viewing astro photos and images. It supports the following formats: <p>Tenmon is intended primarily for viewing astro photos and images. It supports the following formats:
<ul> <ul>
<li>FITS 8, 16 bit integer and 32 bit float</li> <li>FITS 8, 16, 32 bit integer and 32, 64 bit float</li>
<li>XISF 8, 16 bit integer and 32 bit float</li> <li>XISF 8, 16, 32 bit integer and 32, 64 bit float</li>
<li>JPEG, PNG, BMP, GIF, PBM, PGM, PPM and SVG images</li> <li>JPEG, PNG, BMP, GIF, PBM, PGM, PPM and SVG images</li>
<li>CR2, NEF, DNG raw images</li> <li>CR2, NEF, DNG raw images</li>
</ul> </ul>
@@ -54,12 +54,14 @@ To open an image, you can also drag and drop it to main window.</p>
<li>mid point - defines the value to be stretched to 50% intensity</li> <li>mid point - defines the value to be stretched to 50% intensity</li>
<li>white point - all pixels with higher value (brighter) than this will be clipped white</li> <li>white point - all pixels with higher value (brighter) than this will be clipped white</li>
</ul> </ul>
Following the slider are 5 buttons for automatic stretching: Following the slider are 7 buttons for automatic stretching:
<ul> <ul>
<li><i>Linked channels</i> toggle stretching each RGB channel individually.</li>
<li><i>Auto Stretch</i> automatically apply black and mid points to render the image with optimal brightness.</li> <li><i>Auto Stretch</i> automatically apply black and mid points to render the image with optimal brightness.</li>
<li><i>Reset</i> reset three values for black, mid and white point to default.</li> <li><i>Reset</i> reset three values for black, mid and white point to default.</li>
<li><i>Invert</i> invert colors to display the image as negative.</li> <li><i>Invert</i> invert colors to display the image as negative.</li>
<li><i>Super pixel CFA </i> average 2x2 pixels into one (suitable for images from colour camera).</li> <li><i>False colors</i> show black and white in false colour palette.</li>
<li><i>Debayer CFA</i> Demosaicing black and white image from CFA sensor to color one.</li>
<li><i>Apply Auto stretch on load</i> toggle automatically applying Autostretch for each image when loaded.</p> <li><i>Apply Auto stretch on load</i> toggle automatically applying Autostretch for each image when loaded.</p>
</ul> </ul>
+6 -3
View File
@@ -10,8 +10,8 @@ p { padding:0px; margin:5px 5px 10px 5px; }
<p>Tenmon slúži primárne na zobrazenie astronomických fotiek a obrázkov. Dokáže otvoriť nasledovné formáty: <p>Tenmon slúži primárne na zobrazenie astronomických fotiek a obrázkov. Dokáže otvoriť nasledovné formáty:
<ul> <ul>
<li>FITS 8, 16 bitové celočíselné a 32 bitové s plávajúcou čiarkou</li> <li>FITS 8, 16, 32 bitové celočíselné 32 a 64 bitové s plávajúcou čiarkou</li>
<li>XISF 8, 16 bitové celočíselné a 32 bitové s plávajúcou čiarkou</li> <li>XISF 8, 16, 32 bitové celočíselné 32 a 64 bitové s plávajúcou čiarkou</li>
<li>JPEG, PNG, BMP, GIF, PBM, PGM, PPM a SVG obrázky</li> <li>JPEG, PNG, BMP, GIF, PBM, PGM, PPM a SVG obrázky</li>
<li>CR2, NEF, DNG raw obrázky</li> <li>CR2, NEF, DNG raw obrázky</li>
</ul> </ul>
@@ -49,9 +49,12 @@ na ktorej sa dajú nastaviť tri body.
<li>stredný bod - pixeli s touto hodnotou budú zobrazené ako 50% šedá</li> <li>stredný bod - pixeli s touto hodnotou budú zobrazené ako 50% šedá</li>
<li>biely bod - pixeli nad touto hodnotou budú zobrazené ako biele</li> <li>biely bod - pixeli nad touto hodnotou budú zobrazené ako biele</li>
</ul> </ul>
Prvé tlačidlo prepína prepojenie nastavenia čierneho, stretdného a bieleho bodu. Po prepnutí sa dá každý farebný kanál nastaviť
samostatne.
Nasleduje tlačidlo ktoré nastaví hodnoty čierneho a stredného bodu tak aby bol obrázok zobrazený optimálnym jasom. Nasleduje tlačidlo ktoré nastaví hodnoty čierneho a stredného bodu tak aby bol obrázok zobrazený optimálnym jasom.
Druhé tlačidlo resetuje hodnoty pre čierny, stredný a biely bod na východzie hodnoty. Invertovanie farieb zobrazí obrázok ako negatív. Druhé tlačidlo resetuje hodnoty pre čierny, stredný a biely bod na východzie hodnoty. Invertovanie farieb zobrazí obrázok ako negatív.
Super pixel CFA spriemeruje dva krát dva pixeli do jedného čo je vhodné pri prezeraní surových obrázkov z farebných kamier. Falošné farby zobraí čiernobiele obrázky vo farebnej škále.
Prevoď CFA na farbu prevedie demozaikovanie čiernobieleho obrázku na farebný.
Posledné tlačidlo zapína a vypína nastavovanie optimálnych hodnôt úrovní pre každý obrázok zvlášť.</p> Posledné tlačidlo zapína a vypína nastavovanie optimálnych hodnôt úrovní pre každý obrázok zvlášť.</p>
<h3>Označovanie obrázkov</h3> <h3>Označovanie obrázkov</h3>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

+4 -3
View File
@@ -64,8 +64,9 @@ StretchToolbar::StretchToolbar(QWidget *parent) : QToolBar(tr("Stretch toolbar")
emit paramChanged(m_mtfParam); emit paramChanged(m_mtfParam);
}); });
QAction *rgbStretch = addAction(QIcon(":/link.png"), tr("Linked stretch")); QAction *rgbStretch = addAction(QIcon(":/link.png"), tr("Linked channels"));
rgbStretch->setCheckable(true); rgbStretch->setCheckable(true);
rgbStretch->setChecked(true);
connect(rgbStretch, &QAction::toggled, this, &StretchToolbar::unlinkStretch); connect(rgbStretch, &QAction::toggled, this, &StretchToolbar::unlinkStretch);
QAction *autoStretchButton = addAction(QIcon(":/nuke.png"), tr("Auto Stretch F12")); QAction *autoStretchButton = addAction(QIcon(":/nuke.png"), tr("Auto Stretch F12"));
@@ -80,7 +81,7 @@ StretchToolbar::StretchToolbar(QWidget *parent) : QToolBar(tr("Stretch toolbar")
invertButton->setCheckable(true); invertButton->setCheckable(true);
connect(invertButton, &QAction::toggled, this, &StretchToolbar::invert); connect(invertButton, &QAction::toggled, this, &StretchToolbar::invert);
QAction *falseColorButton = addAction(QIcon(":/falsecolor.png"), tr("False color")); QAction *falseColorButton = addAction(QIcon(":/falsecolor.png"), tr("False colors"));
falseColorButton->setCheckable(true); falseColorButton->setCheckable(true);
connect(falseColorButton, &QAction::toggled, this, &StretchToolbar::falseColor); connect(falseColorButton, &QAction::toggled, this, &StretchToolbar::falseColor);
@@ -178,7 +179,7 @@ void StretchToolbar::imageLoaded(Image *img)
void StretchToolbar::unlinkStretch(bool enable) void StretchToolbar::unlinkStretch(bool enable)
{ {
if(enable) if(!enable)
{ {
m_stack->setCurrentIndex(1); m_stack->setCurrentIndex(1);
m_mtfParam.blackPoint[0] = m_stfSliderR->blackPoint(); m_mtfParam.midPoint[0] = m_stfSliderR->midPoint(); m_mtfParam.whitePoint[0] = m_stfSliderR->whitePoint(); m_mtfParam.blackPoint[0] = m_stfSliderR->blackPoint(); m_mtfParam.midPoint[0] = m_stfSliderR->midPoint(); m_mtfParam.whitePoint[0] = m_stfSliderR->whitePoint();
Binary file not shown.
+19 -28
View File
@@ -106,6 +106,13 @@
<translation>Help</translation> <translation>Help</translation>
</message> </message>
</context> </context>
<context>
<name>Histogram</name>
<message>
<source>Logarithmic scale</source>
<translation>Logarithmic scale</translation>
</message>
</context>
<context> <context>
<name>ImageInfo</name> <name>ImageInfo</name>
<message> <message>
@@ -225,10 +232,6 @@
<source>100%</source> <source>100%</source>
<translation>100%</translation> <translation>100%</translation>
</message> </message>
<message>
<source>Fullscreen</source>
<translation type="vanished">Fullscreen</translation>
</message>
<message> <message>
<source>Select</source> <source>Select</source>
<translation>Select</translation> <translation>Select</translation>
@@ -337,10 +340,6 @@
<source>Edit</source> <source>Edit</source>
<translation>Edit</translation> <translation>Edit</translation>
</message> </message>
<message>
<source>FITS header editor</source>
<translation type="vanished">FITS header editor</translation>
</message>
<message> <message>
<source>Settings</source> <source>Settings</source>
<translation>Settings</translation> <translation>Settings</translation>
@@ -405,6 +404,10 @@
<source>CSV file (*.csv)</source> <source>CSV file (*.csv)</source>
<translation>CSV files (*.csv)</translation> <translation>CSV files (*.csv)</translation>
</message> </message>
<message>
<source>Histogram</source>
<translation>Histogram</translation>
</message>
</context> </context>
<context> <context>
<name>MarkedFiles</name> <name>MarkedFiles</name>
@@ -475,22 +478,6 @@
<source>MAD</source> <source>MAD</source>
<translation>MAD</translation> <translation>MAD</translation>
</message> </message>
<message>
<source>Peaks</source>
<translation>Peaks</translation>
</message>
<message>
<source>Peaks draw</source>
<translation type="vanished">Peaks draw</translation>
</message>
<message>
<source>FWHM X</source>
<translation>FWHM X</translation>
</message>
<message>
<source>FWHM Y</source>
<translation>FWHM Y</translation>
</message>
<message> <message>
<source>Unsupported sample format</source> <source>Unsupported sample format</source>
<translation>Unsupported sample format</translation> <translation>Unsupported sample format</translation>
@@ -536,10 +523,6 @@
<source>Thumbnails size</source> <source>Thumbnails size</source>
<translation>Thumbnails size</translation> <translation>Thumbnails size</translation>
</message> </message>
<message>
<source>Changes in settings will take effect after program restart.</source>
<translation type="vanished">Changes in settings will take effect after program restart.</translation>
</message>
<message> <message>
<source>Don&apos;t use native file dialog</source> <source>Don&apos;t use native file dialog</source>
<translation>Don&apos;t use native file dialog</translation> <translation>Don&apos;t use native file dialog</translation>
@@ -581,5 +564,13 @@ For RAW files you may set 22%</translation>
<source>Debayer CFA</source> <source>Debayer CFA</source>
<translation>Debayer CFA</translation> <translation>Debayer CFA</translation>
</message> </message>
<message>
<source>False colors</source>
<translation>False colors</translation>
</message>
<message>
<source>Linked channels</source>
<translation>Linked channels</translation>
</message>
</context> </context>
</TS> </TS>
Binary file not shown.
+19 -28
View File
@@ -106,6 +106,13 @@
<translation>Aide</translation> <translation>Aide</translation>
</message> </message>
</context> </context>
<context>
<name>Histogram</name>
<message>
<source>Logarithmic scale</source>
<translation>Échelle logarithmique</translation>
</message>
</context>
<context> <context>
<name>ImageInfo</name> <name>ImageInfo</name>
<message> <message>
@@ -225,10 +232,6 @@
<source>100%</source> <source>100%</source>
<translation>100%</translation> <translation>100%</translation>
</message> </message>
<message>
<source>Fullscreen</source>
<translation type="vanished">Plein écran</translation>
</message>
<message> <message>
<source>Select</source> <source>Select</source>
<translation>Sélectionner</translation> <translation>Sélectionner</translation>
@@ -337,10 +340,6 @@
<source>Edit</source> <source>Edit</source>
<translation>Éditer</translation> <translation>Éditer</translation>
</message> </message>
<message>
<source>FITS header editor</source>
<translation type="vanished">Éditeur d&apos;en-tête FITS</translation>
</message>
<message> <message>
<source>Settings</source> <source>Settings</source>
<translation>Réglages</translation> <translation>Réglages</translation>
@@ -405,6 +404,10 @@
<source>CSV file (*.csv)</source> <source>CSV file (*.csv)</source>
<translation>Fichiers CSV (*.csv)</translation> <translation>Fichiers CSV (*.csv)</translation>
</message> </message>
<message>
<source>Histogram</source>
<translation>Histogramme</translation>
</message>
</context> </context>
<context> <context>
<name>MarkedFiles</name> <name>MarkedFiles</name>
@@ -475,22 +478,6 @@
<source>MAD</source> <source>MAD</source>
<translation>MAD</translation> <translation>MAD</translation>
</message> </message>
<message>
<source>Peaks</source>
<translation>Pics</translation>
</message>
<message>
<source>Peaks draw</source>
<translation type="vanished">Dessin des pic</translation>
</message>
<message>
<source>FWHM X</source>
<translation>FWHM X</translation>
</message>
<message>
<source>FWHM Y</source>
<translation>FWHM Y</translation>
</message>
<message> <message>
<source>Unsupported sample format</source> <source>Unsupported sample format</source>
<translation>Format non pris en charge</translation> <translation>Format non pris en charge</translation>
@@ -536,10 +523,6 @@
<source>Thumbnails size</source> <source>Thumbnails size</source>
<translation>Taille des vignette</translation> <translation>Taille des vignette</translation>
</message> </message>
<message>
<source>Changes in settings will take effect after program restart.</source>
<translation type="vanished">Les changements de paramètres prendront effet après le redémarrage du programme.</translation>
</message>
<message> <message>
<source>Don&apos;t use native file dialog</source> <source>Don&apos;t use native file dialog</source>
<translation>N&apos;utilisez pas la boîte de dialogue de fichier natif</translation> <translation>N&apos;utilisez pas la boîte de dialogue de fichier natif</translation>
@@ -581,5 +564,13 @@ Pour les fichiers RAW, vous pouvez définir 22&#xa0;%</translation>
<source>Debayer CFA</source> <source>Debayer CFA</source>
<translation>Débayeriser CFA</translation> <translation>Débayeriser CFA</translation>
</message> </message>
<message>
<source>False colors</source>
<translation>Fausses couleurs</translation>
</message>
<message>
<source>Linked channels</source>
<translation>Chaînes liées</translation>
</message>
</context> </context>
</TS> </TS>
Binary file not shown.
+19 -28
View File
@@ -107,6 +107,13 @@
<translation>Pomoc</translation> <translation>Pomoc</translation>
</message> </message>
</context> </context>
<context>
<name>Histogram</name>
<message>
<source>Logarithmic scale</source>
<translation>Logaritmická stupnica</translation>
</message>
</context>
<context> <context>
<name>ImageInfo</name> <name>ImageInfo</name>
<message> <message>
@@ -222,10 +229,6 @@
<source>100%</source> <source>100%</source>
<translation>100%</translation> <translation>100%</translation>
</message> </message>
<message>
<source>Fullscreen</source>
<translation type="vanished">Celá obrazovka</translation>
</message>
<message> <message>
<source>Select</source> <source>Select</source>
<translation>Výber</translation> <translation>Výber</translation>
@@ -338,10 +341,6 @@
<source>Edit</source> <source>Edit</source>
<translation>Upraviť</translation> <translation>Upraviť</translation>
</message> </message>
<message>
<source>FITS header editor</source>
<translation type="vanished">Editor FITS hlavičky</translation>
</message>
<message> <message>
<source>Settings</source> <source>Settings</source>
<translation>Nastavenia</translation> <translation>Nastavenia</translation>
@@ -406,6 +405,10 @@
<source>CSV file (*.csv)</source> <source>CSV file (*.csv)</source>
<translation>Súbory CSV (*.csv)</translation> <translation>Súbory CSV (*.csv)</translation>
</message> </message>
<message>
<source>Histogram</source>
<translation>Histogram</translation>
</message>
</context> </context>
<context> <context>
<name>MarkedFiles</name> <name>MarkedFiles</name>
@@ -480,22 +483,6 @@
<source>MAD</source> <source>MAD</source>
<translation>MAD</translation> <translation>MAD</translation>
</message> </message>
<message>
<source>Peaks</source>
<translation>Vrcholky</translation>
</message>
<message>
<source>Peaks draw</source>
<translation type="vanished">Vykreslené vrcholky</translation>
</message>
<message>
<source>FWHM X</source>
<translation>FWHM X</translation>
</message>
<message>
<source>FWHM Y</source>
<translation>FWHM Y</translation>
</message>
<message> <message>
<source>Saturated</source> <source>Saturated</source>
<translation>Saturované</translation> <translation>Saturované</translation>
@@ -537,10 +524,6 @@
<source>Thumbnails size</source> <source>Thumbnails size</source>
<translation>Veľkosť náhľadu</translation> <translation>Veľkosť náhľadu</translation>
</message> </message>
<message>
<source>Changes in settings will take effect after program restart.</source>
<translation type="vanished">Zmeny v nastaveniach sa prejavia po reštarte programu.</translation>
</message>
<message> <message>
<source>Don&apos;t use native file dialog</source> <source>Don&apos;t use native file dialog</source>
<translation>Nepoužívať natívny súborový dialóg</translation> <translation>Nepoužívať natívny súborový dialóg</translation>
@@ -582,5 +565,13 @@ Pre RAW súbory možno treba nastaviť 22%</translation>
<source>Debayer CFA</source> <source>Debayer CFA</source>
<translation>Preveď CFA na farbu</translation> <translation>Preveď CFA na farbu</translation>
</message> </message>
<message>
<source>False colors</source>
<translation>Falošné farby</translation>
</message>
<message>
<source>Linked channels</source>
<translation>Prepojené kanály</translation>
</message>
</context> </context>
</TS> </TS>