diff --git a/OsmAnd/res/values-ru/strings.xml b/OsmAnd/res/values-ru/strings.xml index ec9cf5cae0..99345d6f45 100644 --- a/OsmAnd/res/values-ru/strings.xml +++ b/OsmAnd/res/values-ru/strings.xml @@ -1999,4 +1999,5 @@ Введите категорию Введите описание Выберите категорию + Цвет по умолчанию diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 4f289d00ef..e4bbd9d300 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -10,6 +10,7 @@ PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + Default color Choose category Enter name Enter category diff --git a/OsmAnd/src/net/osmand/plus/helpers/ColorDialogs.java b/OsmAnd/src/net/osmand/plus/helpers/ColorDialogs.java index ded0315821..6618bad650 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/ColorDialogs.java +++ b/OsmAnd/src/net/osmand/plus/helpers/ColorDialogs.java @@ -107,7 +107,7 @@ public class ColorDialogs { } if(selection == -1) { colors.insert(0, selectedColor); - colorNames.add(0, colorToString(selectedColor)); + colorNames.add(0, ((OsmandApplication)ctx.getApplicationContext()).accessibilityEnabled() ? ctx.getString(R.string.access_default_color) : colorToString(selectedColor)); selection = 0; } ArrayAdapter adapter = new ArrayAdapter(ctx, android.R.layout.simple_spinner_item, colorNames) {