From 30d148b9d22fa240956d1ef4ff13c4cab494c51b Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 30 Dec 2014 21:15:37 +0100 Subject: [PATCH] remove obsolete string --- OsmAnd/res/values-de/strings.xml | 1 - OsmAnd/res/values/strings.xml | 1 - .../net/osmand/plus/activities/search/SearchActivity.java | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/OsmAnd/res/values-de/strings.xml b/OsmAnd/res/values-de/strings.xml index e9f07cffcf..a77b1e0d76 100644 --- a/OsmAnd/res/values-de/strings.xml +++ b/OsmAnd/res/values-de/strings.xml @@ -612,7 +612,6 @@ Adresse… Favorit… Undefiniert - Aktueller Standort… Letzte Kartenposition Ausgangspunkt: diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index a36d860e4a..7c3da0cce8 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -1474,7 +1474,6 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Address… Favorites… Undefined - Current position… Last map view Origin: diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java index c2a18f93fc..5d76b78043 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java @@ -169,7 +169,7 @@ public class SearchActivity extends SherlockFragmentActivity implements OsmAndLo LatLon l = new LatLon(lat, lon); if(!Algorithms.objectEquals(reqSearchPoint, l)){ reqSearchPoint = l; - updateSearchPoint(reqSearchPoint, getString(R.string.select_search_position) + " " + getString(R.string.search_position_fixed), true); + updateSearchPoint(reqSearchPoint, getString(R.string.select_search_position) + " "), true); } } } @@ -239,7 +239,7 @@ public class SearchActivity extends SherlockFragmentActivity implements OsmAndLo searchAroundCurrentLocation = false; endSearchCurrentLocation(); if (position == POSITION_LAST_MAP_VIEW) { - updateSearchPoint(settings.getLastKnownMapLocation(), getString(R.string.select_search_position) + " " + getString(R.string.search_position_fixed), true); + updateSearchPoint(settings.getLastKnownMapLocation(), getString(R.string.select_search_position) + " "), true); } else if (position == POSITION_FAVORITES) { Intent intent = new Intent(SearchActivity.this, FavouritesListActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); @@ -286,7 +286,7 @@ public class SearchActivity extends SherlockFragmentActivity implements OsmAndLo if(name != null){ updateSearchPoint(latLon, getString(R.string.select_search_position) + " " + name, false); } else { - updateSearchPoint(latLon, getString(R.string.select_search_position) + " " + getString(R.string.search_position_fixed), true); + updateSearchPoint(latLon, getString(R.string.select_search_position) + " "), true); } } }