diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2014-05-14 19:43:51 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2014-05-14 19:43:51 +0200 |
commit | f1ce7876f01fceed22b51e1576b75042daf8d18c (patch) | |
tree | 814234b511d537ecacab9921748862423e5522a9 /main/src | |
parent | 3188a7ef866dff3c08c1c2e45c5e87d295461326 (diff) | |
parent | 6089f9db35f16797bde5f59c2bcda1d0803cfec6 (diff) | |
download | cgeo-f1ce7876f01fceed22b51e1576b75042daf8d18c.zip cgeo-f1ce7876f01fceed22b51e1576b75042daf8d18c.tar.gz cgeo-f1ce7876f01fceed22b51e1576b75042daf8d18c.tar.bz2 |
Merge remote-tracking branch 'origin/release'
Conflicts:
main/res/values/changelog_release.xml
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/cgeo/geocaching/files/GPXParser.java | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |