From 50d1ac4b721077c4f8c1dad825df3ee1c64a3e72 Mon Sep 17 00:00:00 2001 From: Dima-1 Date: Tue, 30 Jun 2020 12:16:57 +0300 Subject: [PATCH] Fix error string --- OsmAnd/res/values/strings.xml | 1 + .../plus/mapcontextmenu/editors/PointEditorFragmentNew.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 6eacd5c202..7ff492d045 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -11,6 +11,7 @@ Thx - Hardy --> + Please provide a name for the point Volume buttons as zoom Enable to control the map zoom level with device volume buttons. Inline skates diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/PointEditorFragmentNew.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/PointEditorFragmentNew.java index 647f249de7..96c464bd39 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/PointEditorFragmentNew.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/PointEditorFragmentNew.java @@ -202,7 +202,7 @@ public abstract class PointEditorFragmentNew extends BaseOsmAndFragment { @Override public void afterTextChanged(Editable s) { if (s.toString().trim().isEmpty()) { - nameCaption.setError(app.getString(R.string.please_provide_profile_name_message)); + nameCaption.setError(app.getString(R.string.please_provide_point_name_error)); saveButton.setEnabled(false); } else { nameCaption.setError(null);