From 3d13b0ba9d8a51c53cc9ed65f61292900e606564 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 2 Sep 2016 19:18:48 +0200 Subject: [PATCH] Fix upload dialog text --- OsmAnd/res/values/strings.xml | 2 +- OsmAnd/src/net/osmand/plus/osmedit/DashOsmEditsFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 9ec5d556a1..0068d5a1bb 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -488,7 +488,7 @@ Mark to delete Group name should be at least 3 characters long! You are going to delete %1$d notes. Are you sure? - You are going to upload %1$d changes to OSM. Are you sure? + You are going to upload %1$d change(s) to OSM. Are you sure? Do you want to clear the history? Specify wait time to remain on the route planning screen Start turn-by-turn navigation after… diff --git a/OsmAnd/src/net/osmand/plus/osmedit/DashOsmEditsFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/DashOsmEditsFragment.java index 2eecbdb466..fdcd4718f3 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/DashOsmEditsFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/DashOsmEditsFragment.java @@ -141,7 +141,7 @@ public class DashOsmEditsFragment extends DashBaseFragment // TODO: 9/7/15 Redesign osm notes. private void uploadItem(final OsmPoint point) { 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() { @Override public void onClick(DialogInterface dialog, int which) {