Plural group join message

Closes #4535
Fixes #4521
// FREEBIE
This commit is contained in:
Christian Ascheberg
2015-11-14 13:30:33 +01:00
committed by Moxie Marlinspike
parent cca38ddf3f
commit 1d8aef1669
2 changed files with 6 additions and 2 deletions

View File

@@ -74,7 +74,8 @@ public class GroupUtil {
String title = groupContext.getName();
if (members != null) {
description.append(context.getString(R.string.GroupUtil_joined_the_group, members.toShortString()));
description.append(context.getResources().getQuantityString(R.plurals.GroupUtil_joined_the_group,
members.getRecipientsList().size(), members.toShortString()));
}
if (title != null && !title.trim().isEmpty()) {