diff --git a/vector/src/main/java/im/vector/app/features/notifications/NotificationDrawerManager.kt b/vector/src/main/java/im/vector/app/features/notifications/NotificationDrawerManager.kt index 7399f595b3..d7a077b8bf 100644 --- a/vector/src/main/java/im/vector/app/features/notifications/NotificationDrawerManager.kt +++ b/vector/src/main/java/im/vector/app/features/notifications/NotificationDrawerManager.kt @@ -492,7 +492,7 @@ class NotificationDrawerManager @Inject constructor(private val context: Context val messageStr = stringProvider.getQuantityString(R.plurals.room_new_messages_notification, simpleNotificationMessageCounter, simpleNotificationMessageCounter) if (simpleNotificationRoomCounter > 1) { // In several rooms - val roomStr = stringProvider.getQuantityString(R.plurals.notification_unread_notified_messages_in_room_rooms, simpleNotificationMessageCounter, simpleNotificationMessageCounter) + val roomStr = stringProvider.getQuantityString(R.plurals.notification_unread_notified_messages_in_room_rooms, simpleNotificationRoomCounter, simpleNotificationRoomCounter) stringProvider.getString(R.string.notification_unread_notified_messages_in_room, messageStr, roomStr) } else { // In one room diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml index 3795aa8336..eaf87dc6b7 100644 --- a/vector/src/main/res/values/strings.xml +++ b/vector/src/main/res/values/strings.xml @@ -1143,24 +1143,24 @@ - 1 unread notified message + %d unread notified message %d unread notified messages - 1 unread notified message + %d unread notified message %d unread notified messages - 1 room + %d room %d rooms - 1 invitation + %d invitation %d invitations - %1$s: 1 message + %1$s: %2$d message %1$s: %2$d messages