Sfoglia il codice sorgente

i18n: Fix pluralized strings

Danilo Bargen 6 anni fa
parent
commit
5f3e77ea4b
3 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. 2 2
      public/i18n/de.json
  2. 2 2
      public/i18n/en.json
  3. 2 2
      public/i18n/fr.json

+ 2 - 2
public/i18n/de.json

@@ -110,7 +110,7 @@
         "DECLINE": "Ablehnen",
         "DELETE": "L\u00f6schen",
         "QUOTE": "Zitieren",
-        "MESSAGE_NOTIFICATION_SUBJECT": "{messageCount, plural, one {Threema Nachricht von} other {# Threema Nachrichten von}}",
+        "MESSAGE_NOTIFICATION_SUBJECT": "{messageCount, plural, one {Threema Nachricht von} other {{messageCount} Threema Nachrichten von}}",
         "MY_THREEMA_ID": "Meine Threema ID",
         "MY_PUBLIC_NICKNAME": "Nickname",
         "MEMBER_OF_GROUPS": "Mitglied in diesen Gruppen",
@@ -178,7 +178,7 @@
         "THREEMA_HOME_CONTACT": "Privater Threema-Kontakt",
         "THREEMA_BLOCKED_RECEIVER": "blockiert",
         "DELETE_THREAD": "Chat löschen",
-        "DELETE_THREAD_MESSAGE": "{count, plural, one {Möchten Sie wirklich diesen Chat löschen? Die Nachrichten können nicht wiederhergestellt werden.} other {Möchten Sie wirklich # Chats löschen? Die Nachrichten können nicht wiederhergestellt werden.}}",
+        "DELETE_THREAD_MESSAGE": "{count, plural, one {Möchten Sie wirklich diesen Chat löschen? Die Nachrichten können nicht wiederhergestellt werden.} other {Möchten Sie wirklich {count} Chats löschen? Die Nachrichten können nicht wiederhergestellt werden.}}",
         "MUTED": "Keine Benachrichtigungen",
         "MUTED_NONE": "Keine Benachrichtigungen",
         "MUTED_MENTION_ONLY": "Nur bei Erwähnung benachrichtigen",

+ 2 - 2
public/i18n/en.json

@@ -110,7 +110,7 @@
         "DECLINE": "Disagree",
         "DELETE": "Delete",
         "QUOTE": "Quote",
-        "MESSAGE_NOTIFICATION_SUBJECT": "{messageCount, plural, one {Threema message from} other {# Threema messages from}}",
+        "MESSAGE_NOTIFICATION_SUBJECT": "{messageCount, plural, one {Threema message from} other {{messageCount} Threema messages from}}",
         "MY_THREEMA_ID": "My Threema ID",
         "MY_PUBLIC_NICKNAME": "Public nickname",
         "MEMBER_OF_GROUPS": "Member of these groups",
@@ -178,7 +178,7 @@
         "THREEMA_HOME_CONTACT": "Private Threema contact",
         "THREEMA_BLOCKED_RECEIVER": "blocked",
         "DELETE_THREAD": "Delete chat",
-        "DELETE_THREAD_MESSAGE": "{count, plural, one {Do you really want to delete this chat? You will not be able to recover the messages.} other {Do you really want to delete # chat(s)? You will not be able to recover the messages.}}",
+        "DELETE_THREAD_MESSAGE": "{count, plural, one {Do you really want to delete this chat? You will not be able to recover the messages.} other {Do you really want to delete {count} chat(s)? You will not be able to recover the messages.}}",
         "MUTED_NONE": "No notifications",
         "MUTED_MENTION_ONLY": "Only show notification when mentioned",
         "MUTED_SILENT": "Silent notifications",

+ 2 - 2
public/i18n/fr.json

@@ -110,7 +110,7 @@
         "DECLINE": "Refuser",
         "DELETE": "Supprimer",
         "QUOTE": "Indiquer",
-        "MESSAGE_NOTIFICATION_SUBJECT": "{messageCount, plural, one {Message Threema de} other {# messages Threema de}}",
+        "MESSAGE_NOTIFICATION_SUBJECT": "{messageCount, plural, one {Message Threema de} other {{count} messages Threema de}}",
         "MY_THREEMA_ID": "Mon ID Threema",
         "MY_PUBLIC_NICKNAME": "Surnom public",
         "MEMBER_OF_GROUPS": "Les membres de ces groupes",
@@ -178,7 +178,7 @@
         "THREEMA_HOME_CONTACT": "Contact privé Threema",
         "THREEMA_BLOCKED_RECEIVER": "Bloqué",
         "DELETE_THREAD": "Discussion supprimée",
-        "DELETE_THREAD_MESSAGE": "{count, plural, one {Voulez-vous vraiment supprimer cette discussion? Vous ne pourrez plus récupérer ces messages.} other {Voulez-vous vraiment supprimer # discussion(s)? Vous ne pourrez plus récupérer ces messages.}}",
+        "DELETE_THREAD_MESSAGE": "{count, plural, one {Voulez-vous vraiment supprimer cette discussion? Vous ne pourrez plus récupérer ces messages.} other {Voulez-vous vraiment supprimer {messageCount} discussion(s)? Vous ne pourrez plus récupérer ces messages.}}",
         "MUTED_NONE": "Pas de notifications",
         "MUTED_MENTION_ONLY": "Afficher seulement les nouvelles notifications ",
         "MUTED_SILENT": "Modifications muettes",