Remove direct call to Pure Maps, use generic handler for geo: URIs now

This commit is contained in:
Sebastian Wolf 2022-04-26 22:26:54 +02:00
parent 46433109a6
commit 99bb0c7b85
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A
14 changed files with 1 additions and 94 deletions

View file

@ -29,9 +29,7 @@ MessageContentBase {
property string fileExtra;
onClicked: {
if(!processLauncher.launchProgram('harbour-pure-maps', ["geo:"+locationData.latitude+","+locationData.longitude])) {
imageNotification.show(qsTr("Install Pure Maps to inspect this location."));
}
Qt.openUrlExternally("geo:" + locationData.latitude + "," + locationData.longitude);
}
onLocationDataChanged: updatePicture()
onWidthChanged: updatePicture()

View file

@ -1050,13 +1050,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Installieren Sie Pure Maps, um diesen Ort zu erkunden.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1052,13 +1052,6 @@ messages</numerusform>
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Install Pure Maps to inspect this location.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1050,13 +1050,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Instalar Pure Maps para inspeccionar esta ubicación.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1051,13 +1051,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Asenna Pure Maps tarkastellaksesi sijaintia.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1050,13 +1050,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Installez Pure Maps pour afficher cette localisation.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1034,13 +1034,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1050,13 +1050,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Installa Pure Maps per conoscere questo luogo</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1066,13 +1066,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Zainstaluj Pure Maps, aby sprawdzić lokalizację.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1069,13 +1069,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Для просмотра карты, установите Pure Maps.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1066,13 +1066,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Pre skontrolovanie tejto polohy nainštalujte Pure Maps.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1050,13 +1050,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation>Installera Pure Maps för att inspektera den här platsen.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1035,13 +1035,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation> Pure Maps </translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>

View file

@ -1050,13 +1050,6 @@
</translation>
</message>
</context>
<context>
<name>MessageLocation</name>
<message>
<source>Install Pure Maps to inspect this location.</source>
<translation type="unfinished">Install Pure Maps to inspect this location.</translation>
</message>
</context>
<context>
<name>MessageOverlayFlickable</name>
<message>