From 3148b8835b126b1afa5fc65653b07f9909b7582d Mon Sep 17 00:00:00 2001 From: Martin Fietz Date: Sat, 15 Aug 2015 21:16:51 +0200 Subject: [PATCH] Make res.getQuantityString replace placeholder with value --- .../de/danoeh/antennapod/preferences/PreferenceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java index 39edfe582..4d4b2be63 100644 --- a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java +++ b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java @@ -428,7 +428,7 @@ public class PreferenceController { entries[x] = res.getString(R.string.pref_smart_mark_as_played_disabled); } else { Integer v = Integer.parseInt(values[x]); - entries[x] = res.getQuantityString(R.plurals.time_seconds_quantified, v); + entries[x] = res.getQuantityString(R.plurals.time_seconds_quantified, v, v); } } pref.setEntries(entries);