diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index e689e51476..2e9583eac0 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -2858,4 +2858,5 @@ Nautical Copy Point/POI name Location has no name + Copied to clipboard diff --git a/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java b/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java index ad2cac6079..67d54ebe15 100644 --- a/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java +++ b/OsmAnd/src/net/osmand/plus/activities/actions/ShareDialog.java @@ -216,7 +216,7 @@ public class ShareDialog { public static void sendToClipboard(Activity activity, String text) { ClipboardManager clipboard = (ClipboardManager) activity.getSystemService(Activity.CLIPBOARD_SERVICE); clipboard.setText(text); - Toast.makeText(activity, "Copied to clipboard", Toast.LENGTH_LONG) + Toast.makeText(activity, R.string.clipboard_message, Toast.LENGTH_LONG) .show(); } }