From 601ef2515adc21220a1d0fdd0da1f90324065c38 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 8 Mar 2015 23:00:41 +0100 Subject: [PATCH] shared_string_favorites (2) --- OsmAnd/res/values/strings.xml | 1 - .../src/net/osmand/plus/activities/FavoritesTreeFragment.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 27f5187761..537fd3e30a 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -1989,7 +1989,6 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Target Show OpenStreetBugs on map Show OpenStreetBugs - Favorites Add to Favorites Select between native and English names Use English names in maps diff --git a/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java b/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java index 9dbe378e80..b3860410ba 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavoritesTreeFragment.java @@ -735,7 +735,7 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment { adjustIndicator(groupPosition, isExpanded, row, getMyApplication().getSettings().isLightContent()); TextView label = (TextView) row.findViewById(R.id.category_name); final FavoriteGroup model = getGroup(groupPosition); - label.setText(model.name.length() == 0? getString(R.string.favourites_activity) : model.name); + label.setText(model.name.length() == 0? getString(R.string.shared_string_favorites) : model.name); if (selectionMode) { final CheckBox ch = (CheckBox) row.findViewById(R.id.check_item);