remove obsolete string

This commit is contained in:
sonora 2014-12-30 21:15:37 +01:00
parent c8726ef134
commit 30d148b9d2
3 changed files with 3 additions and 5 deletions

View file

@ -612,7 +612,6 @@
<string name="search_position_address">Adresse…</string>
<string name="search_position_favorites">Favorit…</string>
<string name="search_position_undefined">Undefiniert</string>
<string name="search_position_fixed"></string>
<string name="search_position_current_location">Aktueller Standort…</string>
<string name="search_position_map_view">Letzte Kartenposition</string>
<string name="select_search_position">Ausgangspunkt:</string>

View file

@ -1474,7 +1474,6 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
<string name="search_position_address">Address&#8230;</string>
<string name="search_position_favorites">Favorites&#8230;</string>
<string name="search_position_undefined">Undefined</string>
<string name="search_position_fixed"></string>
<string name="search_position_current_location">Current position&#8230;</string>
<string name="search_position_map_view">Last map view</string>
<string name="select_search_position">Origin:</string>

View file

@ -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);
}
}
}