1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Compare commits

..

6 Commits

Author SHA1 Message Date
raf
ad178db57e
Translated using Weblate (Catalan)
Currently translated at 100.0% (479 of 479 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/ca/
2024-05-27 23:44:33 +02:00
Nikolay Korotkiy
4d6affb43c
Translated using Weblate (Esperanto)
Currently translated at 92.6% (444 of 479 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/eo/
2024-05-27 23:44:33 +02:00
99 efi
171d3108fc
Translated using Weblate (Hungarian)
Currently translated at 99.7% (478 of 479 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/hu/
2024-05-27 23:44:33 +02:00
Nikolay Korotkiy
5c9aee99d5
Translated using Weblate (Russian)
Currently translated at 100.0% (479 of 479 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/ru/
2024-05-27 23:44:33 +02:00
Nikolay Korotkiy
df2af2f419
Translated using Weblate (Finnish)
Currently translated at 96.0% (460 of 479 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fi/
2024-05-27 23:44:33 +02:00
39dd5ceba0 Added sanity checks 2024-05-27 17:56:45 +02:00
7 changed files with 30 additions and 28 deletions

View File

@ -1453,7 +1453,7 @@
<location filename="../src/GUI/optionsdialog.cpp" line="265"/>
<location filename="../src/GUI/optionsdialog.cpp" line="626"/>
<source>px</source>
<translation type="unfinished">px</translation>
<translation>px</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="163"/>
@ -1851,27 +1851,27 @@
<location filename="../src/GUI/optionsdialog.cpp" line="306"/>
<location filename="../src/GUI/optionsdialog.cpp" line="642"/>
<source>Opacity:</source>
<translation type="unfinished"></translation>
<translation>Opacitat:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="643"/>
<source>Blur radius:</source>
<translation type="unfinished"></translation>
<translation>Radi de desenfocament:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="645"/>
<source>Azimuth:</source>
<translation type="unfinished"></translation>
<translation>Azimut:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="646"/>
<source>Altitude:</source>
<translation type="unfinished"></translation>
<translation>Altitud:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="647"/>
<source>Z Factor:</source>
<translation type="unfinished"></translation>
<translation>Factor Z:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="652"/>
@ -1882,7 +1882,7 @@
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="653"/>
<source>Hillshading</source>
<translation type="unfinished"></translation>
<translation>Ombrejat</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="673"/>

View File

@ -1782,7 +1782,7 @@
<location filename="../src/GUI/optionsdialog.cpp" line="265"/>
<location filename="../src/GUI/optionsdialog.cpp" line="626"/>
<source>px</source>
<translation type="unfinished">px</translation>
<translation>px</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="301"/>
@ -1851,7 +1851,7 @@
<location filename="../src/GUI/optionsdialog.cpp" line="306"/>
<location filename="../src/GUI/optionsdialog.cpp" line="642"/>
<source>Opacity:</source>
<translation type="unfinished"></translation>
<translation>Opakeco:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="643"/>
@ -1861,7 +1861,7 @@
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="645"/>
<source>Azimuth:</source>
<translation type="unfinished"></translation>
<translation>Azimuto:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="646"/>

View File

@ -1759,7 +1759,7 @@
<location filename="../src/GUI/optionsdialog.cpp" line="265"/>
<location filename="../src/GUI/optionsdialog.cpp" line="626"/>
<source>px</source>
<translation type="unfinished">px</translation>
<translation>px</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="175"/>
@ -1844,17 +1844,17 @@
<location filename="../src/GUI/optionsdialog.cpp" line="306"/>
<location filename="../src/GUI/optionsdialog.cpp" line="642"/>
<source>Opacity:</source>
<translation type="unfinished"></translation>
<translation>Peittävyys:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="643"/>
<source>Blur radius:</source>
<translation type="unfinished"></translation>
<translation>Sumennuksen säde:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="645"/>
<source>Azimuth:</source>
<translation type="unfinished"></translation>
<translation>Atsimuutti:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="646"/>

View File

@ -1827,27 +1827,27 @@
<location filename="../src/GUI/optionsdialog.cpp" line="306"/>
<location filename="../src/GUI/optionsdialog.cpp" line="642"/>
<source>Opacity:</source>
<translation type="unfinished"></translation>
<translation>Átlátszatlanság:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="643"/>
<source>Blur radius:</source>
<translation type="unfinished"></translation>
<translation>Elhomályosítási sugár:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="645"/>
<source>Azimuth:</source>
<translation type="unfinished"></translation>
<translation>Azimut:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="646"/>
<source>Altitude:</source>
<translation type="unfinished"></translation>
<translation>Magasság:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="647"/>
<source>Z Factor:</source>
<translation type="unfinished"></translation>
<translation>Z-tényező:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="652"/>
@ -1858,7 +1858,7 @@
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="653"/>
<source>Hillshading</source>
<translation type="unfinished"></translation>
<translation>Dombárnyékolás</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="673"/>

View File

@ -1761,7 +1761,7 @@
<location filename="../src/GUI/optionsdialog.cpp" line="265"/>
<location filename="../src/GUI/optionsdialog.cpp" line="626"/>
<source>px</source>
<translation type="unfinished">пикс</translation>
<translation>пикс</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="175"/>
@ -1846,27 +1846,27 @@
<location filename="../src/GUI/optionsdialog.cpp" line="306"/>
<location filename="../src/GUI/optionsdialog.cpp" line="642"/>
<source>Opacity:</source>
<translation type="unfinished"></translation>
<translation>Непрозрачность:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="643"/>
<source>Blur radius:</source>
<translation type="unfinished"></translation>
<translation>Радиус размытия:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="645"/>
<source>Azimuth:</source>
<translation type="unfinished"></translation>
<translation>Азимут:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="646"/>
<source>Altitude:</source>
<translation type="unfinished"></translation>
<translation>Высота:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="647"/>
<source>Z Factor:</source>
<translation type="unfinished"></translation>
<translation>Z-фактор:</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="652"/>
@ -1877,7 +1877,7 @@
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="653"/>
<source>Hillshading</source>
<translation type="unfinished"></translation>
<translation>Отмывка рельефа</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="673"/>

View File

@ -33,7 +33,7 @@ bool HuffmanTable::load(const RGNFile *rgn, SubFile::Handle &rgnHdl)
_aclTable = _bsrchTable + _bsrchEntryBytes * _bsrchEntries;
_huffmanTable = _aclTable + (_aclEntryBytes << _aclBits);
return (_symBits <= 32 && _symbolBits <= 32);
return (_symBits > 0 && _symBits <= 32 && _symbolBits <= 32);
}
quint32 HuffmanTable::symbol(quint32 data, quint8 &size) const

View File

@ -78,6 +78,8 @@ QImage HillShading::render(const MatrixD &m, int extend)
getConstants(_azimuth, _altitude, c);
Q_ASSERT(extend > 0);
for (int y = extend; y < m.h() - extend; y++) {
for (int x = extend; x < m.w() - extend; x++) {
getSubmatrix(x, y, m, sm);