X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=src%2Ftim%2Fprune%2Ffunction%2FInterpolateFunction.java;h=ce0dad59faa1603d2831c8cbe2f6579dfb120dfe;hp=221fdaf989c6c62141d0dfbe7ac29cfb66b069f0;hb=HEAD;hpb=2302358503c38817e19f6e529f6c9e530aac0e86 diff --git a/src/tim/prune/function/InterpolateFunction.java b/src/tim/prune/function/InterpolateFunction.java index 221fdaf..ce0dad5 100644 --- a/src/tim/prune/function/InterpolateFunction.java +++ b/src/tim/prune/function/InterpolateFunction.java @@ -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); }