From 4026288c710355c558810988ca9efdb701b85c2d Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Thu, 10 Nov 2016 17:04:23 +0300 Subject: [PATCH] Fix #3250 --- OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index deb9f77046..668a3f506e 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -1066,8 +1066,13 @@ public class ConfigureMapMenu { final Spinner spinner = (Spinner) spinnerView.findViewById(R.id.spinner); TextView description = (TextView) spinnerView.findViewById(R.id.description); - title.setText(p.getName()); - description.setText(p.getDescription()); + String propertyName = SettingsActivity.getStringPropertyName(activity, p.getAttrName(), + p.getName()); + String propertyDescr = SettingsActivity.getStringPropertyDescription(activity, + p.getAttrName(), p.getName()); + + title.setText(propertyName); + description.setText(propertyDescr); int i = Arrays.asList(p.getPossibleValues()).indexOf(pref.get()); if (i >= 0) {