From ea15865333a3bc23be583fd80b0c81911881decd 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) {