X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Fsrtm%2FDownloadSrtmFunction.java;h=d0d92bb152062a7515a67410746643397a715173;hp=8517cd0e88e083aa78d763e38754219e04b1e590;hb=88f2c3647ed9e055090484f01a959d4581f85e7d;hpb=326f489e36aa7f235bc19409a57bf4955cd50f24 diff --git a/tim/prune/function/srtm/DownloadSrtmFunction.java b/tim/prune/function/srtm/DownloadSrtmFunction.java index 8517cd0..d0d92bb 100644 --- a/tim/prune/function/srtm/DownloadSrtmFunction.java +++ b/tim/prune/function/srtm/DownloadSrtmFunction.java @@ -175,7 +175,12 @@ public class DownloadSrtmFunction extends GenericFunction implements Runnable if (errorMessage != null) { _app.showErrorMessageNoLookup(getNameKey(), errorMessage); } - else if (numDownloaded > 0) + else if (numDownloaded == 1) + { + JOptionPane.showMessageDialog(_parentFrame, I18nManager.getTextWithNumber("confirm.downloadsrtm.1", numDownloaded), + I18nManager.getText(getNameKey()), JOptionPane.INFORMATION_MESSAGE); + } + else if (numDownloaded > 1) { JOptionPane.showMessageDialog(_parentFrame, I18nManager.getTextWithNumber("confirm.downloadsrtm", numDownloaded), I18nManager.getText(getNameKey()), JOptionPane.INFORMATION_MESSAGE);