From 39c2ad1ac90913d032c127b276c7986ed721c767 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 7 Jun 2015 22:34:14 +0200 Subject: [PATCH] Rename string --- OsmAnd/res/values/strings.xml | 3 ++- OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java | 2 +- OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java | 2 +- .../net/osmand/plus/activities/search/SearchPOIActivity.java | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 6566002605..2ac246462c 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -9,6 +9,7 @@ 3. All your modified/created strings are in the top of the file (to make easier find what\'s translated). PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + Show details Delete OSM Edit Disabled Coloring according to route scope @@ -1408,7 +1409,7 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Display ruler Info Back to position - Display position details + Accessibility extensions for old Android versions Accessibility extensions Accessibility mode diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index a5ca8701d6..8612790c83 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -725,7 +725,7 @@ public class MapActivityActions implements DialogProvider { public void whereAmIDialog() { final List items = new ArrayList(); items.add(getString(R.string.show_location)); - items.add(getString(R.string.show_details)); + items.add(getString(R.string.shared_string_show_details)); AlertDialog.Builder menu = new AlertDialog.Builder(mapActivity); menu.setItems(items.toArray(new String[items.size()]), new DialogInterface.OnClickListener() { @Override diff --git a/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java b/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java index 464ef745d0..68f62293c3 100644 --- a/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java +++ b/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java @@ -96,7 +96,7 @@ public class ShareDialog { if(type == ACTION) { return content; } else if(type == VIEW) { - return ctx.getString(R.string.show_details); + return ctx.getString(R.string.shared_string_show_details); } else if(type == EMAIL) { return "Email"; } else if(type == SMS) { diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java index 2f93068337..71dce0a998 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java @@ -568,7 +568,7 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa }); } if (((OsmandApplication) getApplication()).accessibilityEnabled()) { - MenuItem item = optionsMenu.getMenu().add(R.string.show_details); + MenuItem item = optionsMenu.getMenu().add(R.string.shared_string_show_details); item.setOnMenuItemClickListener(new OnMenuItemClickListener() { @Override public boolean onMenuItemClick(MenuItem item) {