aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-06-29 15:34:44 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-06-29 15:34:44 +0200
commit08bc9c91ff14ef8b62726769b30b9d4fcff9a8ee (patch)
treee485a2986064cb8b818e72f8b61ff526a157d00b /main/src/cgeo/geocaching/maps
parentb0be00d3f7317d4bdd4350db3000a787fe17b239 (diff)
downloadcgeo-08bc9c91ff14ef8b62726769b30b9d4fcff9a8ee.zip
cgeo-08bc9c91ff14ef8b62726769b30b9d4fcff9a8ee.tar.gz
cgeo-08bc9c91ff14ef8b62726769b30b9d4fcff9a8ee.tar.bz2
fix android plurals warning
Diffstat (limited to 'main/src/cgeo/geocaching/maps')
-rw-r--r--main/src/cgeo/geocaching/maps/CGeoMap.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java
index 4524dec..736b3fd 100644
--- a/main/src/cgeo/geocaching/maps/CGeoMap.java
+++ b/main/src/cgeo/geocaching/maps/CGeoMap.java
@@ -352,7 +352,7 @@ public class CGeoMap extends AbstractMap implements ViewFactory {
waitDialog.setMessage(res.getString(R.string.caches_downloading) + " " + res.getString(R.string.caches_eta_ltm));
} else {
final int minsRemaining = secondsRemaining / 60;
- waitDialog.setMessage(res.getString(R.string.caches_downloading) + " " + minsRemaining + " " + res.getQuantityString(R.plurals.caches_eta_mins, minsRemaining));
+ waitDialog.setMessage(res.getString(R.string.caches_downloading) + " " + res.getQuantityString(R.plurals.caches_eta_mins, minsRemaining, minsRemaining));
}
}
} else if (msg.what == FINISHED_LOADING_DETAILS) {
@@ -1461,7 +1461,7 @@ public class CGeoMap extends AbstractMap implements ViewFactory {
if (etaTime < 0.4) {
waitDialog.setMessage(res.getString(R.string.caches_downloading) + " " + res.getString(R.string.caches_eta_ltm));
} else {
- waitDialog.setMessage(res.getString(R.string.caches_downloading) + " " + roundedEta + " " + res.getQuantityString(R.plurals.caches_eta_mins, roundedEta));
+ waitDialog.setMessage(res.getString(R.string.caches_downloading) + " " + res.getQuantityString(R.plurals.caches_eta_mins, roundedEta, roundedEta));
}
waitDialog.show();