Added internationalization for notification unread messages text

This commit is contained in:
Sylvain Berfini 2014-02-06 17:56:02 +01:00
parent 902d4c7101
commit 9e887a9679
5 changed files with 5 additions and 2 deletions

View file

@ -391,4 +391,5 @@
<string name="zrtp_help">Vous ne devriez accepter que si vous avez le même code (ci-dessus) que votre contact</string>
<string name="remote_composing">Votre correspondant est en train de taper...</string>
<string name="unread_messages">%i messages non lus</string>
</resources>

View file

@ -446,4 +446,5 @@
<string name="zrtp_help">You should only accept if you have the same code (see above) as your correspondent</string>
<string name="remote_composing">Remote is writing...</string>
<string name="unread_messages">%i unread messages</string>
</resources>

View file

@ -443,4 +443,5 @@
<string name="zrtp_help">You should only accept if you have the same code (see above) as your correspondent</string>
<string name="remote_composing">Remote is writing...</string>
<string name="unread_messages">%i unread messages</string>
</resources>

View file

@ -53,7 +53,7 @@ public class ApiElevenPlus {
if (msgCount == 1) {
title = msgSender;
} else {
title = "%i unread messages"
title = context.getString(R.string.unread_messages)
.replace("%i", String.valueOf(msgCount));
}

View file

@ -40,7 +40,7 @@ public class ApiSixteenPlus {
if (msgCount == 1) {
title = msgSender;
} else {
title = "%i unread messages"
title = context.getString(R.string.unread_messages)
.replace("%i", String.valueOf(msgCount));
}