mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	fix: Use plural string in translation
This commit is contained in:
		
							parent
							
								
									1c7f93e54e
								
							
						
					
					
						commit
						0e998c824e
					
				@ -2283,18 +2283,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} dalších událostí",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count, plural, =1{1 další událost} other{{count} dalších událostí}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 další událost",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "goToTheNewRoom": "Přejít do nové místnost",
 | 
			
		||||
  "@goToTheNewRoom": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2248,18 +2248,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} weitere Ereignisse",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 weiteres Ereignis} other{{count} weitere Ereignisse}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 weiteres Ereignis",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Chat-Backup entsperren",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -676,13 +676,8 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 more event",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} more events",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 more event} other{{count} more events}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
 | 
			
		||||
@ -2210,18 +2210,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} pliaj eventoj",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 plia evento} other{{count} pliaj eventoj}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 plia evento",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "noEncryptionForPublicRooms": "Vi nur povas aktivigi ĉifradon kiam la ĉambro ne plu estas publike alirebla.",
 | 
			
		||||
  "@noEncryptionForPublicRooms": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -1836,18 +1836,13 @@
 | 
			
		||||
      "supportedVersions": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} más eventos",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 evento más} other{{count} más eventos}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 evento más",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "chatBackupDescription": "Tu copia de seguridad del chat está protegida con una clave de seguridad. Por favor, asegúrate de no perderla.",
 | 
			
		||||
  "@chatBackupDescription": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2248,18 +2248,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "Veel {count} sündmust",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{Veel 1 sündmus}, other{Veel {count} sündmust}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "Veel 1 sündmus",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Krüpti lahti oma vestluste varukoopia",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2248,18 +2248,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} évènements en plus",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 évènement en plus} other{{count} évènements en plus}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 évènement en plus",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Déverrouiller la sauvegarde de la discussion",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2248,18 +2248,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} eventos máis",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{Un evento máis} other{{count} eventos máis}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "Un evento máis",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Desbloquear copia do chat",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2278,18 +2278,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "Još {count} događaja",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{Još jedan događaj} other{Još {count} događaja}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "Još jedan događaj",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "chats": "Chatovi",
 | 
			
		||||
  "@chats": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2246,18 +2246,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} altri eventi",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural =1{1 altro evento} other{{count} altri eventi}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 altro evento",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Sblocca il backup della discussione",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2125,10 +2125,12 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "もう1つのイベント",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{もう1つのイベント} other{{count}個のイベント}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "chatBackupDescription": "チャットのバックアップは秘密鍵によって保存されます。失くさないように気をつけてください。",
 | 
			
		||||
  "@chatBackupDescription": {
 | 
			
		||||
@ -2280,13 +2282,6 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count}個のイベント",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "pleaseEnterSecurityKey": "セキュリティーキーを入力してください:",
 | 
			
		||||
  "@pleaseEnterSecurityKey": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2239,18 +2239,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "Nog {count} gebeurtenissen",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{Nog 1 gebeurtenis} other{Nog {count} gebeurtenissen}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "Nog 1 gebeurtenis",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Chatback-up ontgrendelen",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -1587,18 +1587,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count}  więcej wydarzeń",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 kolejne wydarzenie} other{{count}  więcej wydarzeń}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 kolejne wydarzenie",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "chatBackupDescription": "Twoja kopia zapasowa Rozmów jest zabezpieczona kluczem bezpieczeństwa. Uważaj żeby go nie zgubić.",
 | 
			
		||||
  "@chatBackupDescription": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2191,18 +2191,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "Mais {count} eventos",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{Mais 1 evento} other{Mais {count} eventos}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "Mais 1 evento",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "chatBackupDescription": "O backup da sua conversa é protegido com sua chave de segurança. Por favor, evite perdê-la.",
 | 
			
		||||
  "@chatBackupDescription": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2248,18 +2248,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "ещё {count} событий",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{Еще 1 событие} other{ещё {count} событий}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "Еще 1 событие",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Разблокировать резервную копию чата",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2248,18 +2248,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} etkinlik daha",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 etkinlik daha} other{{count} etkinlik daha}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 etkinlik daha",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "unlockChatBackup": "Sohbet yedeklemesinin kilidini aç",
 | 
			
		||||
  "@unlockChatBackup": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -2475,18 +2475,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "{count} 个更多事件",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{1 个更多事件} other{{count} 个更多事件}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "1 个更多事件",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "commandHintReact": "将回复作为响应发送",
 | 
			
		||||
  "@commandHintReact": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -263,18 +263,13 @@
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "xMoreEvents": "還有{count}個事件",
 | 
			
		||||
  "@xMoreEvents": {
 | 
			
		||||
  "moreEvents": "{count,plural, =1{還有1個事件} other{還有{count}個事件}}",
 | 
			
		||||
  "@moreEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {
 | 
			
		||||
      "count": {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "oneMoreEvent": "還有1個事件",
 | 
			
		||||
  "@oneMoreEvent": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
    "placeholders": {}
 | 
			
		||||
  },
 | 
			
		||||
  "hideUnknownEvents": "隱藏未知事件",
 | 
			
		||||
  "@hideUnknownEvents": {
 | 
			
		||||
    "type": "text",
 | 
			
		||||
 | 
			
		||||
@ -50,9 +50,7 @@ class StateMessage extends StatelessWidget {
 | 
			
		||||
                ),
 | 
			
		||||
                if (counter != 0)
 | 
			
		||||
                  Text(
 | 
			
		||||
                    counter == 1
 | 
			
		||||
                        ? L10n.of(context).oneMoreEvent
 | 
			
		||||
                        : L10n.of(context).xMoreEvents(counter.toString()),
 | 
			
		||||
                    L10n.of(context).moreEvents(counter),
 | 
			
		||||
                    style: TextStyle(
 | 
			
		||||
                      fontWeight: FontWeight.bold,
 | 
			
		||||
                    ),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user