another correction to menu text

This commit is contained in:
sonora 2011-12-06 02:18:51 +01:00
parent 3275387f0c
commit ea80074160

View file

@ -407,7 +407,7 @@ public class MapActivityActions implements DialogProvider {
builder.setTitle(R.string.show_route);
builder.setMessage(mapActivity.getRoutingHelper().getGeneralRouteInformation());
builder.setPositiveButton(R.string.default_buttons_save, saveDirections);
builder.setNeutralButton(R.string.show_gpx_route, showRoute);
builder.setNeutralButton(R.string.route_about, showRoute);
builder.setNegativeButton(R.string.close, null);
return builder.create();
}
@ -533,7 +533,7 @@ public class MapActivityActions implements DialogProvider {
} else {
builder.setTitle(R.string.show_route);
view.findViewById(R.id.TextView).setVisibility(View.GONE);
builder.setPositiveButton(R.string.show_route, onlyShowCall);
builder.setPositiveButton(R.string.show_gpx_route, onlyShowCall);
builder.setNegativeButton(R.string.default_buttons_cancel, null);
}
builder.show();