]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - src/tim/prune/function/InterpolateFunction.java
Version 20.4, May 2021
[GpsPrune.git] / src / tim / prune / function / InterpolateFunction.java
index 221fdaf989c6c62141d0dfbe7ac29cfb66b069f0..ce0dad59faa1603d2831c8cbe2f6579dfb120dfe 100644 (file)
@@ -122,7 +122,8 @@ public class InterpolateFunction extends SingleNumericParameterFunction
                // Replace track with new points array
                if (track.replaceContents(newPoints))
                {
-                       _app.completeFunction(undo, I18nManager.getText("confirm.interpolate"));
+                       final String confirmMessage = I18nManager.getTextWithNumber("confirm.pointsadded", totalInserted);
+                       _app.completeFunction(undo, confirmMessage);
                        // Alter selection
                        _app.getTrackInfo().getSelection().selectRange(startIndex, endIndex + totalInserted);
                }