[PATCH 06/10] Update the MIME type for GeoJSON files to be RFC7946-compliant

John Zaitseff J.Zaitseff at zap.org.au
Tue Aug 27 11:55:08 BST 2019


---
 src/plugins/runner/json/marble_geojson.desktop           | 2 +-
 src/plugins/runner/json/marble_part_geojson.desktop      | 2 +-
 src/plugins/runner/json/marble_thumbnail_geojson.desktop | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/runner/json/marble_geojson.desktop b/src/plugins/runner/json/marble_geojson.desktop
index 33bbf4a7f..9b6256019 100644
--- a/src/plugins/runner/json/marble_geojson.desktop
+++ b/src/plugins/runner/json/marble_geojson.desktop
@@ -96,7 +96,7 @@ GenericName[uk]=Віртуальний глобус
 GenericName[x-test]=xxVirtual Globexx
 GenericName[zh_CN]=虚拟地球仪
 GenericName[zh_TW]=虛擬地球儀
-MimeType=application/vnd.geo+json;
+MimeType=application/geo+json;
 Icon=marble
 Terminal=false
 Categories=Qt;KDE;Education;Geography;
diff --git a/src/plugins/runner/json/marble_part_geojson.desktop b/src/plugins/runner/json/marble_part_geojson.desktop
index f135fa2a0..2373a1362 100644
--- a/src/plugins/runner/json/marble_part_geojson.desktop
+++ b/src/plugins/runner/json/marble_part_geojson.desktop
@@ -53,7 +53,7 @@ Name[uk]=Компонент Marble
 Name[x-test]=xxMarble Partxx
 Name[zh_CN]=Marble 组件
 Name[zh_TW]=Marble 部件
-MimeType=application/vnd.geo+json;
+MimeType=application/geo+json;
 X-KDE-ServiceTypes=Browser/View,KParts/ReadOnlyPart
 X-KDE-Library=libmarble_part
 Icon=marble
diff --git a/src/plugins/runner/json/marble_thumbnail_geojson.desktop b/src/plugins/runner/json/marble_thumbnail_geojson.desktop
index a3f9b0a2c..7008a4bdb 100644
--- a/src/plugins/runner/json/marble_thumbnail_geojson.desktop
+++ b/src/plugins/runner/json/marble_thumbnail_geojson.desktop
@@ -30,7 +30,7 @@ Name[zh_CN]=GeoJSON 地理数据
 Name[zh_TW]=GeoJSON 地理資料
 
 X-KDE-ServiceTypes=ThumbCreator
-MimeType=application/vnd.geo+json;
+MimeType=application/geo+json;
 
 X-KDE-Library=marblethumbnail
 CacheThumbnail=true
-- 
2.20.1



More information about the Marble-devel mailing list