Added internationalization for notification unread messages text
This commit is contained in:
parent
902d4c7101
commit
9e887a9679
5 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue