Rename string

This commit is contained in:
Victor Shcherb 2015-06-07 22:34:14 +02:00
parent 25f2a726de
commit 39c2ad1ac9
4 changed files with 5 additions and 4 deletions

View file

@ -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
-->
<string name="shared_string_show_details">Show details</string>
<string name="osm_edit_context_menu_delete">Delete OSM Edit</string>
<string name="rendering_value_disabled_name">Disabled</string>
<string name="rendering_value_walkingRoutesScopeOSMC_name">Coloring according to route scope</string>
@ -1408,7 +1409,7 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
<string name="show_ruler_level">Display ruler</string>
<string name="info_button">Info</string>
<string name="back_to_location">Back to position</string>
<string name="show_details">Display position details</string>
<string name="accessibility_extensions_descr">Accessibility extensions for old Android versions</string>
<string name="accessibility_extensions">Accessibility extensions</string>
<string name="accessibility_mode">Accessibility mode</string>

View file

@ -725,7 +725,7 @@ public class MapActivityActions implements DialogProvider {
public void whereAmIDialog() {
final List<String> items = new ArrayList<String>();
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

View file

@ -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) {

View file

@ -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) {