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

Compare commits

...

12 Commits

Author SHA1 Message Date
a245043573 Merge remote-tracking branch 'weblate/master' 2022-08-08 23:28:04 +02:00
42dbc91143
Translated using Weblate (German)
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/de/
2022-08-08 23:27:19 +02:00
mtriau
23a7c6d4eb
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/zh_Hans/
2022-08-08 23:26:40 +02:00
Nikolay Korotkiy
b6b4319f89
Translated using Weblate (Esperanto)
Currently translated at 92.8% (431 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/eo/
2022-08-08 23:26:39 +02:00
99 efi
8673c00a23
Translated using Weblate (Hungarian)
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/hu/
2022-08-08 23:26:39 +02:00
Nikolay Korotkiy
90280fb018
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/uk/
2022-08-08 23:26:39 +02:00
Oğuz Ersen
285022c17a
Translated using Weblate (Turkish)
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/tr/
2022-08-08 23:26:39 +02:00
Åke Engelbrektson
e76bb40d10
Translated using Weblate (Swedish)
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/sv/
2022-08-08 23:26:38 +02:00
Nikolay Korotkiy
bbf5c09377
Translated using Weblate (Russian)
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/ru/
2022-08-08 23:26:38 +02:00
Nikolay Korotkiy
e1c7ad18e6
Translated using Weblate (Finnish)
Currently translated at 97.4% (452 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/fi/
2022-08-08 23:26:38 +02:00
99792f2984
Translated using Weblate (Czech)
Currently translated at 100.0% (464 of 464 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/cs/
2022-08-08 23:26:19 +02:00
6d2e6f64d3 Added support for LAEA projections to Orux maps 2022-08-08 23:24:33 +02:00
11 changed files with 28 additions and 10 deletions

View File

@ -1257,7 +1257,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux mapy</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1256,7 +1256,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux-Karten</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1256,7 +1256,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux-mapoj</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1256,7 +1256,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux-kartat</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1255,7 +1255,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux térképek</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1257,7 +1257,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux карты</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1256,7 +1256,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux-kartor</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1255,7 +1255,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux haritaları</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1257,7 +1257,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux мапи</translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -1255,7 +1255,7 @@
<message> <message>
<location filename="../src/map/maplist.cpp" line="166"/> <location filename="../src/map/maplist.cpp" line="166"/>
<source>Orux maps</source> <source>Orux maps</source>
<translation type="unfinished"></translation> <translation>Orux </translation>
</message> </message>
<message> <message>
<location filename="../src/map/maplist.cpp" line="167"/> <location filename="../src/map/maplist.cpp" line="167"/>

View File

@ -92,6 +92,22 @@ static Projection::Setup lcc2setup(const QStringList &list)
params[5], params[2], params[3]); params[5], params[2], params[3]);
} }
static Projection::Setup laea2setup(const QStringList &list)
{
double params[2];
bool ok;
if (list.size() < 3)
return Projection::Setup();
for (int i = 1; i < 3; i++) {
params[i - 1] = list.at(i).toDouble(&ok);
if (!ok)
return Projection::Setup();
}
return Projection::Setup(params[1], params[0], NAN, 0, 0, NAN, NAN);
}
static Projection::Setup polyconic2setup(const QStringList &list) static Projection::Setup polyconic2setup(const QStringList &list)
{ {
double params[3]; double params[3];
@ -156,6 +172,8 @@ static Projection createProjection(const GCS &gcs, const QString &name)
pcs = PCS(gcs, 9807, tm2setup(pl), 9001); pcs = PCS(gcs, 9807, tm2setup(pl), 9001);
else if (pl.first() == "Lambert Conformal Conic") else if (pl.first() == "Lambert Conformal Conic")
pcs = PCS(gcs, 9802, lcc2setup(pl), 9001); pcs = PCS(gcs, 9802, lcc2setup(pl), 9001);
else if (pl.first() == "(A)Lambert Azimuthual Equal Area")
pcs = PCS(gcs, 9820, laea2setup(pl), 9001);
else if (pl.first() == "Polyconic (American)") else if (pl.first() == "Polyconic (American)")
pcs = PCS(gcs, 9818, polyconic2setup(pl), 9001); pcs = PCS(gcs, 9818, polyconic2setup(pl), 9001);
else if (pl.first() == "(NZTM2) New Zealand TM 2000") else if (pl.first() == "(NZTM2) New Zealand TM 2000")