diff --git a/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java b/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java index aa982640fe..07cc006282 100644 --- a/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java +++ b/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java @@ -6,7 +6,6 @@ import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; -import java.util.Set; import java.util.TreeMap; import net.osmand.PlatformUtil; @@ -77,14 +76,11 @@ public class MapPoiTypes { return otherCategory; } - public Map getAllTranslatedNames(boolean onlyTranslation) { + public Map getAllTranslatedNames() { Map translation = new TreeMap(); for(PoiCategory pc : categories) { for(PoiType pt : pc.getPoiTypes()) { translation.put(pt.getTranslation(), pt); - if (!onlyTranslation) { - translation.put(Algorithms.capitalizeFirstLetterAndLowercase(pt.getKeyName().replace('_', ' ')), pt); - } } } return translation; @@ -95,7 +91,8 @@ public class MapPoiTypes { for (PoiType pt : pc.getPoiTypes()) { translation.put(pt.getTranslation(), pt); if (!onlyTranslation) { - translation.put(pt.getKeyName(), pt); +// translation.put(pt.getKeyName(), pt); + translation.put(Algorithms.capitalizeFirstLetterAndLowercase(pt.getKeyName().replace('_', ' ')), pt); } } return translation; diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml index 7b8f7210cb..fb72491c7c 100644 --- a/OsmAnd/AndroidManifest.xml +++ b/OsmAnd/AndroidManifest.xml @@ -240,7 +240,6 @@ - + + + + +