diff --git a/OsmAnd/res/values-de/strings.xml b/OsmAnd/res/values-de/strings.xml index d6a42a9299..e9f07cffcf 100644 --- a/OsmAnd/res/values-de/strings.xml +++ b/OsmAnd/res/values-de/strings.xml @@ -610,12 +610,12 @@ Standort wird ermittelt… Standort (gefunden) Adresse… - Favoriten… + Favorit… Undefiniert - Festgelegt + Aktueller Standort… Letzte Kartenposition - Suchen in der Nähe von: + Ausgangspunkt: In der Nähe suchen Route als GPX-Track speichern Route erfolgreich gespeichert als \'%1$s\'. diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index a61623b6f7..309e2b2730 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -1474,10 +1474,10 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Address… Favorites… Undefined - Fixed + Current position… Last map view - Search near: + Origin: Search near here Recent changes for 0.6.7: \n\t- Offline data manager (download, delete, activate / deactivate offline data directly in OsmAnd) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java index fab5215a23..8805abb714 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.search_position_fixed), true); + updateSearchPoint(reqSearchPoint, getString(R.string.select_search_position) + " " + getString(R.string.search_position_fixed), 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.search_position_fixed), true); + updateSearchPoint(settings.getLastKnownMapLocation(), getString(R.string.select_search_position) + " " + getString(R.string.search_position_fixed), true); } else if (position == POSITION_FAVORITES) { Intent intent = new Intent(SearchActivity.this, FavouritesListActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); @@ -276,7 +276,7 @@ public class SearchActivity extends SherlockFragmentActivity implements OsmAndLo FavouritePoint p = (FavouritePoint) data.getSerializableExtra(FavouritesListFragment.SELECT_FAVORITE_POINT_INTENT_KEY); if (p != null) { LatLon latLon = new LatLon(p.getLatitude(), p.getLongitude()); - updateSearchPoint(latLon, p.getName(), false); + updateSearchPoint(latLon, getString(R.string.select_search_position) + " " + p.getName(), false); } } else if(requestCode == REQUEST_ADDRESS_SELECT && resultCode == SearchAddressFragment.SELECT_ADDRESS_POINT_RESULT_OK){ String name = data.getStringExtra(SearchAddressFragment.SELECT_ADDRESS_POINT_INTENT_KEY); @@ -284,9 +284,9 @@ public class SearchActivity extends SherlockFragmentActivity implements OsmAndLo data.getDoubleExtra(SearchAddressFragment.SELECT_ADDRESS_POINT_LAT, 0), data.getDoubleExtra(SearchAddressFragment.SELECT_ADDRESS_POINT_LON, 0)); if(name != null){ - updateSearchPoint(latLon, name, false); + updateSearchPoint(latLon, getString(R.string.select_search_position) + " " + name, false); } else { - updateSearchPoint(latLon, getString(R.string.search_position_fixed), true); + updateSearchPoint(latLon, getString(R.string.select_search_position) + " " + getString(R.string.search_position_fixed), true); } } } @@ -295,7 +295,7 @@ public class SearchActivity extends SherlockFragmentActivity implements OsmAndLo public void updateLocation(net.osmand.Location location){ if (location != null) { updateSearchPoint(new LatLon(location.getLatitude(), location.getLongitude()), - getString(R.string.search_position_current_location_found), false); + getString(R.string.select_search_position) + " " + getString(R.string.search_position_current_location_found), false); if (location.getAccuracy() < 20) { endSearchCurrentLocation(); }