shared_string_favorites (2)

This commit is contained in:
sonora 2015-03-08 23:00:41 +01:00
parent 7ef6cb379b
commit 601ef2515a
2 changed files with 1 additions and 2 deletions

View file

@ -1989,7 +1989,6 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
<string name="mark_point">Target</string> <string name="mark_point">Target</string>
<string name="show_osm_bugs_descr">Show OpenStreetBugs on map</string> <string name="show_osm_bugs_descr">Show OpenStreetBugs on map</string>
<string name="show_osm_bugs">Show OpenStreetBugs</string> <string name="show_osm_bugs">Show OpenStreetBugs</string>
<string name="favourites_activity">Favorites</string>
<string name="add_to_favourite">Add to Favorites</string> <string name="add_to_favourite">Add to Favorites</string>
<string name="use_english_names_descr">Select between native and English names</string> <string name="use_english_names_descr">Select between native and English names</string>
<string name="use_english_names">Use English names in maps</string> <string name="use_english_names">Use English names in maps</string>

View file

@ -735,7 +735,7 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
adjustIndicator(groupPosition, isExpanded, row, getMyApplication().getSettings().isLightContent()); adjustIndicator(groupPosition, isExpanded, row, getMyApplication().getSettings().isLightContent());
TextView label = (TextView) row.findViewById(R.id.category_name); TextView label = (TextView) row.findViewById(R.id.category_name);
final FavoriteGroup model = getGroup(groupPosition); 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) { if (selectionMode) {
final CheckBox ch = (CheckBox) row.findViewById(R.id.check_item); final CheckBox ch = (CheckBox) row.findViewById(R.id.check_item);