diff --git a/OsmAnd/src/net/osmand/plus/osmedit/EditingPOIDialogProvider.java b/OsmAnd/src/net/osmand/plus/osmedit/EditingPOIDialogProvider.java index 308039535d..c025be53c7 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/EditingPOIDialogProvider.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/EditingPOIDialogProvider.java @@ -46,6 +46,7 @@ import net.osmand.plus.R; import net.osmand.plus.activities.DialogProvider; import net.osmand.plus.activities.MapActivity; import net.osmand.plus.activities.OpeningHoursView; +import net.osmand.util.Algorithms; import net.osmand.util.OpeningHoursParser; import net.osmand.util.OpeningHoursParser.BasicOpeningHourRule; import net.osmand.util.OpeningHoursParser.OpeningHours; @@ -612,7 +613,7 @@ public class EditingPOIDialogProvider implements DialogProvider { Map subCategories = new LinkedHashMap<>(poiTypes.getAllTranslatedNames(poiCategory, false)); for (Map.Entry s : allTranslatedSubTypes.entrySet()) { if (!subCategories.containsKey(s.getKey())) { - subCategories.put(s.getKey(), s.getValue()); + subCategories.put(Algorithms.capitalizeFirstLetterAndLowercase(s.getKey()), s.getValue()); } } ArrayAdapter adapter = new ArrayAdapter(activity, R.layout.list_textview,