1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 13:14:47 +01:00

Compare commits

...

8 Commits

Author SHA1 Message Date
Hosted Weblate
a2728b6227
Merge branch 'origin/master' into Weblate. 2024-09-13 22:26:36 +02:00
99 efi
9641130656
Translated using Weblate (Hungarian)
Currently translated at 100.0% (488 of 488 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/hu/
2024-09-13 22:26:35 +02:00
6b86f7ba97 Render some more missing Garmin marine stuff 2024-09-13 22:25:48 +02:00
6bc8be58fc Improve capitalization algorithm 2024-09-13 22:24:58 +02:00
99 efi
6c018ce884
Translated using Weblate (Hungarian)
Currently translated at 100.0% (488 of 488 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/hu/
2024-09-13 00:09:30 +00:00
gallegonovato
22b90dfd85
Translated using Weblate (Spanish)
Currently translated at 100.0% (488 of 488 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/es/
2024-09-13 00:09:29 +00:00
Oğuz Ersen
13642eaa10
Translated using Weblate (Turkish)
Currently translated at 100.0% (488 of 488 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/tr/
2024-09-13 00:09:29 +00:00
Cloud Esp
845c1ae38d
Translated using Weblate (French)
Currently translated at 100.0% (488 of 488 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fr/
2024-09-13 00:09:28 +00:00
6 changed files with 27 additions and 20 deletions

View File

@ -486,17 +486,17 @@
<message>
<location filename="../src/GUI/gui.cpp" line="370"/>
<source>All</source>
<translation type="unfinished"></translation>
<translation>Todo</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="374"/>
<source>Raster only</source>
<translation type="unfinished"></translation>
<translation>Solo cuadrícula</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="378"/>
<source>Vector only</source>
<translation type="unfinished"></translation>
<translation>Solo vectores</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="385"/>
@ -723,7 +723,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="695"/>
<source>Layers</source>
<translation type="unfinished"></translation>
<translation>Capas</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="704"/>

View File

@ -504,17 +504,17 @@
<message>
<location filename="../src/GUI/gui.cpp" line="370"/>
<source>All</source>
<translation type="unfinished"></translation>
<translation>Toutes</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="374"/>
<source>Raster only</source>
<translation type="unfinished"></translation>
<translation>Raster uniquement</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="378"/>
<source>Vector only</source>
<translation type="unfinished"></translation>
<translation>Vecteur uniquement</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="385"/>
@ -711,7 +711,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="695"/>
<source>Layers</source>
<translation type="unfinished"></translation>
<translation>Couches</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="721"/>

View File

@ -486,17 +486,17 @@
<message>
<location filename="../src/GUI/gui.cpp" line="370"/>
<source>All</source>
<translation type="unfinished"></translation>
<translation>Mind</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="374"/>
<source>Raster only</source>
<translation type="unfinished"></translation>
<translation>Csak raszter</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="378"/>
<source>Vector only</source>
<translation type="unfinished"></translation>
<translation>Csak vektor</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="385"/>
@ -723,7 +723,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="695"/>
<source>Layers</source>
<translation type="unfinished"></translation>
<translation>Rétegek</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="704"/>
@ -1869,7 +1869,7 @@
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="667"/>
<source>Hillshading</source>
<translation>Dombárnyékolás</translation>
<translation>Domborzatárnyékolás</translation>
</message>
<message>
<location filename="../src/GUI/optionsdialog.cpp" line="687"/>

View File

@ -486,17 +486,17 @@
<message>
<location filename="../src/GUI/gui.cpp" line="370"/>
<source>All</source>
<translation type="unfinished"></translation>
<translation>Tümü</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="374"/>
<source>Raster only</source>
<translation type="unfinished"></translation>
<translation>Yalnızca raster</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="378"/>
<source>Vector only</source>
<translation type="unfinished"></translation>
<translation>Yalnızca vektör</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="385"/>
@ -723,7 +723,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="695"/>
<source>Layers</source>
<translation type="unfinished"></translation>
<translation>Katmanlar</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="704"/>

View File

@ -33,7 +33,8 @@ static QString capitalized(const QString &str)
QChar last(str.at(i-1));
QChar c(str.at(i));
ret[i] = (last.isSpace() || last == '(') ? c : c.toLower();
ret[i] = (last.isSpace() || last == '(' || last == '"')
? c : c.toLower();
}
return ret;

View File

@ -282,24 +282,28 @@ void Style::defaultPolygonStyle()
_polygons[0x10102] = Polygon(QBrush(QColor(0xd9, 0x8b, 0x21)));
_polygons[0x10104] = Polygon(QBrush(QColor(0xff, 0xff, 0xff)));
_polygons[0x10105] = Polygon(QBrush(QColor(0xa5, 0x81, 0x40)));
_polygons[0x10106] = Polygon(QBrush(QColor(0xf1, 0xf0, 0xe5)));
_polygons[0x10301] = Polygon(QBrush(QColor(0x98, 0xc0, 0x64)));
_polygons[0x10302] = Polygon(QBrush(QColor(0xa0, 0xa0, 0xff)));
_polygons[0x10303] = Polygon(QBrush(QColor(0xb0, 0xb0, 0xff)));
_polygons[0x10304] = Polygon(QBrush(QColor(0xc0, 0xc0, 0xff)));
_polygons[0x10305] = Polygon(QBrush(QColor(0xc0, 0xd0, 0xff)));
_polygons[0x10306] = Polygon(QBrush(QColor(0xc0, 0xe0, 0xff)));
_polygons[0x10307] = Polygon(QBrush(QColor(0xff, 0xff, 0xff)));
_polygons[0x10308] = Polygon(QBrush(QColor(0xff, 0xff, 0xff)));
_polygons[0x10409] = Polygon(QBrush(QColor(0xff, 0x40, 0x40),
Qt::FDiagPattern));
_polygons[0x10503] = Polygon(QBrush(QColor(0xff, 0x40, 0x40),
Qt::FDiagPattern));
_polygons[0x10601] = Polygon(QBrush(QColor(0xaa, 0xaa, 0xaa)));
_polygons[0x1060a] = Polygon(QBrush(QColor(0xfc, 0xb4, 0xfc)));
_polygons[0x10614] = Polygon(QBrush(QColor(0xff, 0xff, 0xff)));
// Draw order
_drawOrder
<< TYPE(0x4b) << 0x10d01 << 0x10104 << TYPE(0x4a)
<< TYPE(0x4b) << 0x10d01 << 0x10106 << 0x10104 << TYPE(0x4a) << 0x10614
<< 0x10101 << 0x10102 << 0x10301 << 0x10302 << 0x10303 << 0x10304
<< 0x10305 << 0x10306 << 0x10601 << 0x10105
<< 0x10305 << 0x10306 << 0x10307 << 0x10308 << 0x10601 << 0x10105
<< TYPE(0x01) << 0x10800 << TYPE(0x02) << 0x10801 << TYPE(0x03) << 0x10802
<< TYPE(0x17) << 0x10a04 << TYPE(0x18) << 0x1090c << TYPE(0x1a) << 0x1090e
<< TYPE(0x28) << 0x10b01 << TYPE(0x32) << 0x10b02 << TYPE(0x3c) << 0x10b03
@ -690,9 +694,11 @@ void Style::defaultPointStyle(qreal ratio)
_points[0x10205] = Point(QImage(":/marine/buoy.png"), QPoint(6, -6));
_points[0x10206] = Point(QImage(":/marine/beacon.png"), QPoint(0, -8));
_points[0x10207] = Point(QImage(":/marine/spar-buoy.png"), QPoint(2, -9));
_points[0x10208] = Point(QImage(":/marine/buoy.png"), QPoint(2, -9));
_points[0x10209] = Point(QImage(":/marine/buoy.png"), QPoint(6, -6));
_points[0x1020a] = Point(QImage(":/marine/buoy.png"), QPoint(6, -6));
_points[0x1020b] = Point(QImage(":/marine/buoy.png"), QPoint(6, -6));
_points[0x1020c] = Point(QImage(":/marine/buoy.png"), QPoint(6, -6));
_points[0x1020d] = Point(QImage(":/marine/light-platform.png"),
QPoint(8, -8));
_points[0x1020e] = Point(QImage(":/marine/beacon.png"), QPoint(0, -8));