diff --git a/res/values/strings.xml b/res/values/strings.xml
index a7c6eacfc0..9174a2376e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -280,8 +280,14 @@
Heart
Invitations sent!
Invite to Signal
- SEND TO %1$s FRIEND(S)
- Send %1$s SMS invite(s)?
+
+ - SEND TO ONE FRIEND
+ - SEND TO %d FRIENDS
+
+
+ - Send one SMS invite?
+ - Send %d SMS invites?
+
Let\'s switch to Signal: %1$s
It looks like you don\'t have any apps to share to.
Friends don\'t let friends chat unencrypted.
diff --git a/src/org/thoughtcrime/securesms/InviteActivity.java b/src/org/thoughtcrime/securesms/InviteActivity.java
index 3003567d1c..ccb0873b2b 100644
--- a/src/org/thoughtcrime/securesms/InviteActivity.java
+++ b/src/org/thoughtcrime/securesms/InviteActivity.java
@@ -115,7 +115,9 @@ public class InviteActivity extends PassphraseRequiredActionBarActivity implemen
}
private void updateSmsButtonText() {
- smsSendButton.setText(getString(R.string.InviteActivity_send_to_friends, contactsFragment.getSelectedContacts().size()));
+ smsSendButton.setText(getResources().getQuantityString(R.plurals.InviteActivity_send_to_friends,
+ contactsFragment.getSelectedContacts().size(),
+ contactsFragment.getSelectedContacts().size()));
smsSendButton.setEnabled(!contactsFragment.getSelectedContacts().isEmpty());
}
@@ -166,7 +168,9 @@ public class InviteActivity extends PassphraseRequiredActionBarActivity implemen
@Override
public void onClick(View v) {
new AlertDialog.Builder(InviteActivity.this)
- .setTitle(getString(R.string.InviteActivity_send_sms_invites, contactsFragment.getSelectedContacts().size()))
+ .setTitle(getResources().getQuantityString(R.plurals.InviteActivity_send_sms_invites,
+ contactsFragment.getSelectedContacts().size(),
+ contactsFragment.getSelectedContacts().size()))
.setMessage(inviteText.getText().toString())
.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
@Override public void onClick(DialogInterface dialog, int which) {