Make res.getQuantityString replace placeholder with value

This commit is contained in:
Martin Fietz 2015-08-15 21:16:51 +02:00
parent 928c438268
commit 5f175c6e1f
1 changed files with 1 additions and 1 deletions

View File

@ -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);