stream-chat-react-native-core 5.22.2-beta.8 → 5.23.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  2. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  3. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +31 -15
  4. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  5. package/lib/commonjs/i18n/en.json +1 -1
  6. package/lib/commonjs/i18n/fr.json +49 -49
  7. package/lib/commonjs/i18n/hi.json +51 -51
  8. package/lib/commonjs/i18n/it.json +51 -51
  9. package/lib/commonjs/i18n/nl.json +51 -51
  10. package/lib/commonjs/i18n/ru.json +49 -49
  11. package/lib/commonjs/i18n/tr.json +49 -49
  12. package/lib/commonjs/version.json +1 -1
  13. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  14. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  15. package/lib/module/contexts/messageInputContext/MessageInputContext.js +31 -15
  16. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  17. package/lib/module/i18n/en.json +1 -1
  18. package/lib/module/i18n/fr.json +49 -49
  19. package/lib/module/i18n/hi.json +51 -51
  20. package/lib/module/i18n/it.json +51 -51
  21. package/lib/module/i18n/nl.json +51 -51
  22. package/lib/module/i18n/ru.json +49 -49
  23. package/lib/module/i18n/tr.json +49 -49
  24. package/lib/module/version.json +1 -1
  25. package/lib/typescript/i18n/en.json +1 -1
  26. package/lib/typescript/i18n/fr.json +49 -49
  27. package/lib/typescript/i18n/hi.json +51 -51
  28. package/lib/typescript/i18n/it.json +51 -51
  29. package/lib/typescript/i18n/nl.json +51 -51
  30. package/lib/typescript/i18n/ru.json +49 -49
  31. package/lib/typescript/i18n/tr.json +49 -49
  32. package/package.json +1 -1
  33. package/src/contexts/__tests__/index.test.tsx +1 -1
  34. package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +1 -1
  35. package/src/contexts/messageInputContext/MessageInputContext.tsx +7 -1
  36. package/src/i18n/en.json +1 -1
  37. package/src/i18n/fr.json +49 -49
  38. package/src/i18n/hi.json +51 -51
  39. package/src/i18n/it.json +51 -51
  40. package/src/i18n/nl.json +51 -51
  41. package/src/i18n/ru.json +49 -49
  42. package/src/i18n/tr.json +49 -49
  43. package/src/version.json +1 -1
@@ -1,76 +1,76 @@
1
1
  {
2
- "1 Reply": "1 Antwoord",
3
- "1 Thread Reply": "1 thread antwoord",
4
- "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
- "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
2
+ "1 Reply": "",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
6
  "Also send to channel": "Stuur ook naar kanaal",
7
- "Are you sure you want to permanently delete this message?": "",
8
- "Block User": "",
9
- "Cancel": "",
10
- "Cannot Flag Message": "",
11
- "Copy Message": "",
12
- "Delete": "",
13
- "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
- "Edit Message": "",
17
- "Editing Message": "Bericht aanpassen",
7
+ "Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
8
+ "Block User": "Blokkeer Gebruiker",
9
+ "Cancel": "Annuleer",
10
+ "Cannot Flag Message": "Kan bericht niet rapporteren",
11
+ "Copy Message": "Bericht kopiëren",
12
+ "Delete": "Verwijderen",
13
+ "Delete Message": "Verwijder bericht",
14
+ "Device camera is used to take photos or videos.": "",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Wil je een kopie van dit bericht naar een moderator sturen voor verder onderzoek?",
16
+ "Edit Message": "Pas bericht aan",
17
+ "Editing Message": "",
18
18
  "Emoji matching": "Emoji-overeenkomsten",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "",
26
- "Flag Message": "",
27
- "Flag action failed either due to a network issue or the message is already flagged": "",
24
+ "File type not supported": "Bestandstype niet ondersteund",
25
+ "Flag": "Markeer",
26
+ "Flag Message": "Markeer bericht",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "Rapporteren mislukt door een netwerk fout of het berich is al gerapporteerd",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "Directe Opdrachten",
30
30
  "Let's start chatting!": "",
31
- "Links are disabled": "Het versturen van links staat uit",
31
+ "Links are disabled": "",
32
32
  "Loading channels...": "Kanalen aan het laden...",
33
33
  "Loading messages...": "Berichten aan het laden...",
34
34
  "Loading...": "Aan het laden...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Bericht Reacties",
37
37
  "Message deleted": "",
38
- "Message flagged": "",
39
- "Mute User": "",
38
+ "Message flagged": "Bericht gemarkeerd",
39
+ "Mute User": "Gebruiker dempen",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "",
44
- "Open Settings": "Open instellingen",
45
- "Photo": "",
46
- "Photos and Videos": "Foto's en video's",
47
- "Pin to Conversation": "",
48
- "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
42
+ "Ok": "Oké",
43
+ "Only visible to you": "Alleen zichtbaar voor jou",
44
+ "Open Settings": "",
45
+ "Photo": "Foto",
46
+ "Photos and Videos": "",
47
+ "Pin to Conversation": "Vastmaken aan gesprek",
48
+ "Pinned by": "Vastgemaakt door",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
50
  "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
- "Reply": "",
52
+ "Reply": "Antwoord",
53
53
  "Reply to Message": "",
54
- "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Selecteer Meer foto's",
57
- "Send a message": "",
58
- "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "",
61
- "Thread Reply": "",
62
- "Unblock User": "",
63
- "Unknown User": "Onbekende gebruiker",
64
- "Unmute User": "",
65
- "Unpin from Conversation": "",
54
+ "Resend": "Opnieuw versturen",
55
+ "Search GIFs": "Zoek GIF's",
56
+ "Select More Photos": "",
57
+ "Send a message": "Stuur een bericht",
58
+ "Sending links is not allowed in this conversation": "",
59
+ "Slow mode ON": "Langzame modus aan",
60
+ "The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
61
+ "Thread Reply": "Discussie beantwoorden",
62
+ "Unblock User": "Deblokkeer gebruiker",
63
+ "Unknown User": "",
64
+ "Unmute User": "Dempen van gebruiker opheffen",
65
+ "Unpin from Conversation": "Losmaken van gesprek",
66
66
  "Unread Messages": "",
67
- "Video": "",
67
+ "Video": "Video",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
74
- "{{ user }} is typing": "{{ user }} is aan het typen",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,76 +1,76 @@
1
1
  {
2
- "1 Reply": "1 Ответ",
3
- "1 Thread Reply": "1 тема Ответить",
4
- "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
- "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
2
+ "1 Reply": "",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
6
  "Also send to channel": "Также отправить на канал",
7
- "Are you sure you want to permanently delete this message?": "",
8
- "Block User": "",
9
- "Cancel": "",
10
- "Cannot Flag Message": "",
11
- "Copy Message": "",
12
- "Delete": "",
13
- "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
- "Edit Message": "",
17
- "Editing Message": "Редактирование сообщения",
7
+ "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
8
+ "Block User": "Заблокировать пользователя",
9
+ "Cancel": "Отмена",
10
+ "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
11
+ "Copy Message": "Копировать сообщение",
12
+ "Delete": "удалять",
13
+ "Delete Message": "Удалить сообщение",
14
+ "Device camera is used to take photos or videos.": "",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
16
+ "Edit Message": "Редактировать сообщение",
17
+ "Editing Message": "",
18
18
  "Emoji matching": "Соответствие эмодзи",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "",
26
- "Flag Message": "",
27
- "Flag action failed either due to a network issue or the message is already flagged": "",
24
+ "File type not supported": "Тип файла не поддерживается",
25
+ "Flag": "Пометить",
26
+ "Flag Message": "Пометить сообщение",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "Мгновенные Команды",
30
30
  "Let's start chatting!": "",
31
- "Links are disabled": "Ссылки отключены",
31
+ "Links are disabled": "",
32
32
  "Loading channels...": "Загружаю каналы...",
33
33
  "Loading messages...": "Загружаю сообщения...",
34
34
  "Loading...": "Загружаю...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} МБ.",
36
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Сообщения Реакции",
37
37
  "Message deleted": "",
38
- "Message flagged": "",
39
- "Mute User": "",
38
+ "Message flagged": "Сообщение отмечено",
39
+ "Mute User": "Отключить пользователя",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "",
44
- "Open Settings": "Открыть настройки",
45
- "Photo": "",
46
- "Photos and Videos": "Фото и видео",
47
- "Pin to Conversation": "",
48
- "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
42
+ "Ok": "",
43
+ "Only visible to you": "Видно только вам",
44
+ "Open Settings": "",
45
+ "Photo": "Фото",
46
+ "Photos and Videos": "",
47
+ "Pin to Conversation": "Закрепить к беседе",
48
+ "Pinned by": "Закреплено пользователем",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
50
  "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
- "Reply": "",
52
+ "Reply": "Ответить",
53
53
  "Reply to Message": "",
54
- "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Выбрать больше фотографий",
57
- "Send a message": "",
58
- "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "",
61
- "Thread Reply": "",
62
- "Unblock User": "",
63
- "Unknown User": "Неизвестный пользователь",
64
- "Unmute User": "",
65
- "Unpin from Conversation": "",
54
+ "Resend": "Отправить",
55
+ "Search GIFs": "Поиск GIF",
56
+ "Select More Photos": "",
57
+ "Send a message": "Отправить сообщение",
58
+ "Sending links is not allowed in this conversation": "",
59
+ "Slow mode ON": "Медленный режим включен",
60
+ "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
61
+ "Thread Reply": "Тема Ответить",
62
+ "Unblock User": "Разблокировать пользователя",
63
+ "Unknown User": "",
64
+ "Unmute User": "Включить микрофон",
65
+ "Unpin from Conversation": "Открепить от беседы",
66
66
  "Unread Messages": "",
67
- "Video": "",
67
+ "Video": "видео",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} пишет",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,76 +1,76 @@
1
1
  {
2
- "1 Reply": "1 Cevap",
3
- "1 Thread Reply": "1 Konu Yanıtı",
4
- "Allow access to your Gallery": "Galerinize erişime izin verin",
5
- "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
2
+ "1 Reply": "",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
6
  "Also send to channel": "Kanala da gönder",
7
- "Are you sure you want to permanently delete this message?": "",
8
- "Block User": "",
9
- "Cancel": "",
10
- "Cannot Flag Message": "",
11
- "Copy Message": "",
12
- "Delete": "",
13
- "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
- "Edit Message": "",
17
- "Editing Message": "Mesaj Düzenleniyor",
7
+ "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
8
+ "Block User": "Kullanıcıyı engelle",
9
+ "Cancel": "İptal",
10
+ "Cannot Flag Message": "Raporlama Başarısız",
11
+ "Copy Message": "Mesajı Kopyala",
12
+ "Delete": "Sil",
13
+ "Delete Message": "Mesajı Sil",
14
+ "Device camera is used to take photos or videos.": "",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
16
+ "Edit Message": "Mesajı Düzenle",
17
+ "Editing Message": "",
18
18
  "Emoji matching": "Emoji eşleştirme",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "",
26
- "Flag Message": "",
27
- "Flag action failed either due to a network issue or the message is already flagged": "",
24
+ "File type not supported": "Dosya türü desteklenmiyor",
25
+ "Flag": "Raporla",
26
+ "Flag Message": "Mesajı Raporla",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "Anlık Komutlar",
30
30
  "Let's start chatting!": "",
31
- "Links are disabled": "Bağlantılar devre dışı",
31
+ "Links are disabled": "",
32
32
  "Loading channels...": "Kanallar yükleniyor...",
33
33
  "Loading messages...": "Mesajlar yükleniyor...",
34
34
  "Loading...": "Yükleniyor...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maksimum dosya boyutu yükleme sınırına ulaşıldı. Lütfen {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB'ın altında bir dosya yükleyin.",
36
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Mesaj Tepkileri",
37
37
  "Message deleted": "",
38
- "Message flagged": "",
39
- "Mute User": "",
38
+ "Message flagged": "Mesaj işaretlendi",
39
+ "Mute User": "Kullanıcıyı sessize al",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "",
44
- "Open Settings": "Ayarları aç",
45
- "Photo": "",
46
- "Photos and Videos": "Fotoğraflar ve Videolar",
47
- "Pin to Conversation": "",
48
- "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
42
+ "Ok": "Tamam",
43
+ "Only visible to you": "Sadece siz görebilirsiniz",
44
+ "Open Settings": "",
45
+ "Photo": "Fotoğraf",
46
+ "Photos and Videos": "",
47
+ "Pin to Conversation": "Konuşmaya sabitle",
48
+ "Pinned by": "Tarafından sabitlendi",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
50
  "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
- "Reply": "",
52
+ "Reply": "Yanıtla",
53
53
  "Reply to Message": "",
54
- "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Daha Fazla Fotoğraf Seçin",
57
- "Send a message": "",
58
- "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "",
61
- "Thread Reply": "",
62
- "Unblock User": "",
63
- "Unknown User": "Bilinmeyen kullanıcı",
64
- "Unmute User": "",
65
- "Unpin from Conversation": "",
54
+ "Resend": "Yeniden gönder",
55
+ "Search GIFs": "GIF Ara",
56
+ "Select More Photos": "",
57
+ "Send a message": "Mesaj gönder",
58
+ "Sending links is not allowed in this conversation": "",
59
+ "Slow mode ON": "Yavaş Mod Açık",
60
+ "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
61
+ "Thread Reply": "Konu Yanıtı",
62
+ "Unblock User": "Kullanıcının engelini kaldır",
63
+ "Unknown User": "",
64
+ "Unmute User": "Kullanıcının sesini aç",
65
+ "Unpin from Conversation": "Sabitlemeyi kaldır",
66
66
  "Unread Messages": "",
67
- "Video": "",
67
+ "Video": "Video",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
73
- "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} yazıyor",
75
75
  "🏙 Attachment...": ""
76
76
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "5.22.2-beta.8",
4
+ "version": "5.23.0-beta.1",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -40,7 +40,7 @@ describe('contexts hooks in a component throws an error with message when not wr
40
40
  ],
41
41
  [
42
42
  useChannelsStateContext,
43
- `The useChannelStateContext hook was called outside the ChannelStateContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,
43
+ `The useChannelsStateContext hook was called outside the ChannelStateContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,
44
44
  ],
45
45
  [
46
46
  useOwnCapabilitiesContext,
@@ -191,7 +191,7 @@ export const useChannelsStateContext = <
191
191
 
192
192
  if (contextValue === DEFAULT_BASE_CONTEXT_VALUE && !isTestEnvironment()) {
193
193
  throw new Error(
194
- `The useChannelStateContext hook was called outside the ChannelStateContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,
194
+ `The useChannelsStateContext hook was called outside the ChannelStateContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,
195
195
  );
196
196
  }
197
197
 
@@ -960,7 +960,13 @@ export const MessageInputProvider = <
960
960
  file.name,
961
961
  client.createAbortControllerForNextRequest(),
962
962
  );
963
- response = await channel.sendFile(file.uri, file.name, file.mimeType);
963
+ // Compress images selected through file picker when uploading them
964
+ if (file.mimeType?.includes('image')) {
965
+ const compressedUri = await compressedImageURI(file, value.compressImageQuality);
966
+ response = await channel.sendFile(compressedUri, file.name, file.mimeType);
967
+ } else {
968
+ response = await channel.sendFile(file.uri, file.name, file.mimeType);
969
+ }
964
970
  uploadAbortControllerRef.current.delete(file.name);
965
971
  }
966
972
  const extraData: Partial<FileUpload> = { thumb_url: response.thumb_url, url: response.file };
package/src/i18n/en.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "File type not supported": "File type not supported",
25
25
  "Flag": "Flag",
26
26
  "Flag Message": "Flag Message",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged.",
28
28
  "How about sending your first message to a friend?": "How about sending your first message to a friend?",
29
29
  "Instant Commands": "Instant Commands",
30
30
  "Let's start chatting!": "Let's start chatting!",
package/src/i18n/fr.json CHANGED
@@ -1,76 +1,76 @@
1
1
  {
2
- "1 Reply": "1 Réponse",
3
- "1 Thread Reply": "Réponse à 1 fil",
4
- "Allow access to your Gallery": "Autoriser l'accès à votre galerie",
5
- "Allow camera access in device settings": "Autoriser l'accès à la caméra dans les paramètres de l'appareil",
2
+ "1 Reply": "",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
6
  "Also send to channel": "Envoyer également à la chaîne",
7
- "Are you sure you want to permanently delete this message?": "",
8
- "Block User": "",
9
- "Cancel": "",
10
- "Cannot Flag Message": "",
11
- "Copy Message": "",
12
- "Delete": "",
13
- "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "L'appareil photo de l'appareil est utilisé pour prendre des photos ou des vidéos.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
- "Edit Message": "",
17
- "Editing Message": "Édite un message",
7
+ "Are you sure you want to permanently delete this message?": "Êtes-vous sûr de vouloir supprimer définitivement ce message?",
8
+ "Block User": "Bloquer un utilisateur",
9
+ "Cancel": "Annuler",
10
+ "Cannot Flag Message": "Impossible de signaler le message",
11
+ "Copy Message": "Copier le message",
12
+ "Delete": "Supprimer",
13
+ "Delete Message": "Supprimer un message",
14
+ "Device camera is used to take photos or videos.": "",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Voulez-vous envoyer une copie de ce message à un modérateur pour une enquête plus approfondie?",
16
+ "Edit Message": "Éditer un message",
17
+ "Editing Message": "",
18
18
  "Emoji matching": "Correspondance Emoji",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "",
26
- "Flag Message": "",
27
- "Flag action failed either due to a network issue or the message is already flagged": "",
24
+ "File type not supported": "Le type de fichier n'est pas pris en charge",
25
+ "Flag": "Signaler",
26
+ "Flag Message": "Signaler le message",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "L'action de signalisation a échoué en raison d'un problème de réseau ou le message est déjà signalé.",
28
28
  "How about sending your first message to a friend?": "",
29
29
  "Instant Commands": "Commandes Instantanées",
30
30
  "Let's start chatting!": "",
31
- "Links are disabled": "Links are disabled",
31
+ "Links are disabled": "",
32
32
  "Loading channels...": "Chargement des canaux...",
33
33
  "Loading messages...": "Chargement des messages...",
34
34
  "Loading...": "Chargement...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Taille maximale de téléchargement de fichier atteinte. Veuillez télécharger un fichier inférieur à {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} Mo.",
36
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Réactions aux messages",
37
37
  "Message deleted": "",
38
- "Message flagged": "",
39
- "Mute User": "",
38
+ "Message flagged": "Message signalé",
39
+ "Mute User": "Utilisateur muet",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "",
44
- "Open Settings": "Ouvrir les paramètres",
45
- "Photo": "",
46
- "Photos and Videos": "Photos et vidéos",
47
- "Pin to Conversation": "",
48
- "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Veuillez autoriser l'accès à vos photos et vidéos afin de pouvoir les partager.",
42
+ "Ok": "Ok",
43
+ "Only visible to you": "Seulement visible par vous",
44
+ "Open Settings": "",
45
+ "Photo": "Photo",
46
+ "Photos and Videos": "",
47
+ "Pin to Conversation": "Épingler à la conversation",
48
+ "Pinned by": "Épinglé par",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
50
  "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
- "Reply": "",
52
+ "Reply": "Répondre",
53
53
  "Reply to Message": "",
54
- "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Sélectionner plus de photos",
57
- "Send a message": "",
58
- "Sending links is not allowed in this conversation": "Sending links is not allowed in this conversation",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "",
61
- "Thread Reply": "",
62
- "Unblock User": "",
63
- "Unknown User": "Utilisateur inconnu",
64
- "Unmute User": "",
65
- "Unpin from Conversation": "",
54
+ "Resend": "Renvoyer",
55
+ "Search GIFs": "Rechercher des GIF",
56
+ "Select More Photos": "",
57
+ "Send a message": "Envoyer un message",
58
+ "Sending links is not allowed in this conversation": "",
59
+ "Slow mode ON": "Mode lent activé",
60
+ "The message has been reported to a moderator.": "Le message a été signalé à un modérateur.",
61
+ "Thread Reply": "Réponse à la discussion",
62
+ "Unblock User": "Débloquer Utilisateur",
63
+ "Unknown User": "",
64
+ "Unmute User": "Activer le son de Utilisateur",
65
+ "Unpin from Conversation": "Décrocher de la conversation",
66
66
  "Unread Messages": "",
67
- "Video": "",
67
+ "Video": "Vidéo",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "You can't send messages in this channel",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} sur {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Réponses",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Réponses à la discussion",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} est en train d'écrire",
75
75
  "🏙 Attachment...": ""
76
76
  }