diff options
Diffstat (limited to 'main')
| -rw-r--r-- | main/res/values/changelog_release.xml | 2 | ||||
| -rw-r--r-- | main/src/cgeo/geocaching/files/GPXParser.java | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/main/res/values/changelog_release.xml b/main/res/values/changelog_release.xml index 45d522b..86863cf 100644 --- a/main/res/values/changelog_release.xml +++ b/main/res/values/changelog_release.xml @@ -2,7 +2,7 @@ <resources> <!-- changelog for the release branch --> <string name="changelog_release" translatable="false">\n - <b>2013.05.14:</b>\n + <b>2014.05.14:</b>\n ยท Fix: Adapting to changes on geocaching.com\n \n <b>2014.04.30:</b>\n diff --git a/main/src/cgeo/geocaching/files/GPXParser.java b/main/src/cgeo/geocaching/files/GPXParser.java index 5553927..6161088 100644 --- a/main/src/cgeo/geocaching/files/GPXParser.java +++ b/main/src/cgeo/geocaching/files/GPXParser.java @@ -951,6 +951,13 @@ public abstract class GPXParser extends FileParser { if ("final location".equalsIgnoreCase(sym)) { return WaypointType.FINAL; } + // renamed waypoint types + if ("Physical Stage".equalsIgnoreCase(sym)) { + return WaypointType.STAGE; + } + if ("Virtual Stage".equalsIgnoreCase(sym)) { + return WaypointType.PUZZLE; + } // this is not fully correct, but lets also look for localized waypoint types for (final WaypointType waypointType : WaypointType.ALL_TYPES_EXCEPT_OWN_AND_ORIGINAL) { final String localized = waypointType.getL10n(); |
