From c3c32ad78f184318117b9f9a7c255f6f0cf8b365 Mon Sep 17 00:00:00 2001 From: Chumva Date: Fri, 8 Jun 2018 14:20:15 +0300 Subject: [PATCH] add translation to styles choose dialog --- .../plus/dialogs/SelectMapViewQuickActionsBottomSheet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/SelectMapViewQuickActionsBottomSheet.java b/OsmAnd/src/net/osmand/plus/dialogs/SelectMapViewQuickActionsBottomSheet.java index d4bff3fbf7..3a6a7f43bf 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/SelectMapViewQuickActionsBottomSheet.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/SelectMapViewQuickActionsBottomSheet.java @@ -179,7 +179,7 @@ public class SelectMapViewQuickActionsBottomSheet extends MenuBottomSheetDialogF List 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) {