add translation to styles choose dialog

This commit is contained in:
Chumva 2018-06-08 14:20:15 +03:00
parent af57ed7252
commit c3c32ad78f

View file

@ -179,7 +179,7 @@ public class SelectMapViewQuickActionsBottomSheet extends MenuBottomSheetDialogF
List<String> stylesList = mapStyleAction.getFilteredStyles();
for (String entry : stylesList) {
boolean selected = entry.equals(selectedItem);
createItemRow(selected, counter, entry, entry);
createItemRow(selected, counter, mapStyleAction.getTranslatedItemName(context, entry), entry);
counter++;
}
} else if (action instanceof SwitchableAction) {