Fix upload dialog text

This commit is contained in:
sonora 2016-09-02 19:18:48 +02:00
parent 41360dc19c
commit 3d13b0ba9d
2 changed files with 2 additions and 2 deletions

View file

@ -488,7 +488,7 @@
<string name="mark_to_delete">Mark to delete</string> <string name="mark_to_delete">Mark to delete</string>
<string name="osmo_grop_name_length_alert">Group name should be at least 3 characters long!</string> <string name="osmo_grop_name_length_alert">Group name should be at least 3 characters long!</string>
<string name="local_recordings_delete_all_confirm">You are going to delete %1$d notes. Are you sure?</string> <string name="local_recordings_delete_all_confirm">You are going to delete %1$d notes. Are you sure?</string>
<string name="local_osm_changes_upload_all_confirm">You are going to upload %1$d changes to OSM. Are you sure?</string> <string name="local_osm_changes_upload_all_confirm">You are going to upload %1$d change(s) to OSM. Are you sure?</string>
<string name="confirmation_to_clear_history">Do you want to clear the history?</string> <string name="confirmation_to_clear_history">Do you want to clear the history?</string>
<string name="delay_to_start_navigation_descr">Specify wait time to remain on the route planning screen</string> <string name="delay_to_start_navigation_descr">Specify wait time to remain on the route planning screen</string>
<string name="delay_to_start_navigation">Start turn-by-turn navigation after…</string> <string name="delay_to_start_navigation">Start turn-by-turn navigation after…</string>

View file

@ -141,7 +141,7 @@ public class DashOsmEditsFragment extends DashBaseFragment
// TODO: 9/7/15 Redesign osm notes. // TODO: 9/7/15 Redesign osm notes.
private void uploadItem(final OsmPoint point) { private void uploadItem(final OsmPoint point) {
AlertDialog.Builder b = new AlertDialog.Builder(getActivity()); AlertDialog.Builder b = new AlertDialog.Builder(getActivity());
b.setMessage(getString(R.string.local_osm_changes_upload_all_confirm)); b.setMessage(getString(R.string.local_osm_changes_upload_all_confirm), 1);
b.setPositiveButton(R.string.shared_string_yes, new DialogInterface.OnClickListener() { b.setPositiveButton(R.string.shared_string_yes, new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {