stream-chat-react-native-core 5.26.0 → 5.26.1-beta.2
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.
- package/lib/commonjs/components/Channel/Channel.js +399 -359
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +2 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +4 -4
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/es.json +51 -51
- package/lib/commonjs/i18n/fr.json +51 -51
- package/lib/commonjs/i18n/he.json +51 -51
- package/lib/commonjs/i18n/hi.json +51 -51
- package/lib/commonjs/i18n/it.json +51 -51
- package/lib/commonjs/i18n/ja.json +51 -51
- package/lib/commonjs/i18n/ko.json +51 -51
- package/lib/commonjs/i18n/nl.json +51 -51
- package/lib/commonjs/i18n/pt-BR.json +51 -51
- package/lib/commonjs/i18n/ru.json +51 -51
- package/lib/commonjs/i18n/tr.json +51 -51
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +399 -359
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +2 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +4 -4
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/es.json +51 -51
- package/lib/module/i18n/fr.json +51 -51
- package/lib/module/i18n/he.json +51 -51
- package/lib/module/i18n/hi.json +51 -51
- package/lib/module/i18n/it.json +51 -51
- package/lib/module/i18n/ja.json +51 -51
- package/lib/module/i18n/ko.json +51 -51
- package/lib/module/i18n/nl.json +51 -51
- package/lib/module/i18n/pt-BR.json +51 -51
- package/lib/module/i18n/ru.json +51 -51
- package/lib/module/i18n/tr.json +51 -51
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +2 -1
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/es.json +51 -51
- package/lib/typescript/i18n/fr.json +51 -51
- package/lib/typescript/i18n/he.json +51 -51
- package/lib/typescript/i18n/hi.json +51 -51
- package/lib/typescript/i18n/it.json +51 -51
- package/lib/typescript/i18n/ja.json +51 -51
- package/lib/typescript/i18n/ko.json +51 -51
- package/lib/typescript/i18n/nl.json +51 -51
- package/lib/typescript/i18n/pt-BR.json +51 -51
- package/lib/typescript/i18n/ru.json +51 -51
- package/lib/typescript/i18n/tr.json +51 -51
- package/package.json +1 -1
- package/src/components/Channel/Channel.tsx +52 -34
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +1 -0
- package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +3 -1
- package/src/i18n/en.json +1 -1
- package/src/i18n/es.json +51 -51
- package/src/i18n/fr.json +51 -51
- package/src/i18n/he.json +51 -51
- package/src/i18n/hi.json +51 -51
- package/src/i18n/it.json +51 -51
- package/src/i18n/ja.json +51 -51
- package/src/i18n/ko.json +51 -51
- package/src/i18n/nl.json +51 -51
- package/src/i18n/pt-BR.json +51 -51
- package/src/i18n/ru.json +51 -51
- package/src/i18n/tr.json +51 -51
- package/src/version.json +1 -1
|
@@ -3,77 +3,77 @@
|
|
|
3
3
|
"1 Thread Reply": "1 Resposta de Thread",
|
|
4
4
|
"Allow access to your Gallery": "Permitir acesso à sua Galeria",
|
|
5
5
|
"Allow camera access in device settings": "Permitir acesso à câmera nas configurações do dispositivo",
|
|
6
|
-
"Also send to channel": "
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "
|
|
8
|
-
"Are you sure?": "
|
|
9
|
-
"Block User": "
|
|
10
|
-
"Cancel": "
|
|
11
|
-
"Cannot Flag Message": "
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "
|
|
13
|
-
"Copy Message": "
|
|
14
|
-
"Delete": "
|
|
15
|
-
"Delete Message": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
+
"Are you sure?": "",
|
|
9
|
+
"Block User": "",
|
|
10
|
+
"Cancel": "",
|
|
11
|
+
"Cannot Flag Message": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
13
|
+
"Copy Message": "",
|
|
14
|
+
"Delete": "",
|
|
15
|
+
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "A câmera do dispositivo é usada para tirar fotos ou vídeos.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "
|
|
18
|
-
"Edit Message": "
|
|
17
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
+
"Edit Message": "",
|
|
19
19
|
"Editing Message": "Editando Mensagem",
|
|
20
|
-
"Emoji matching": "
|
|
21
|
-
"Empty message...": "
|
|
20
|
+
"Emoji matching": "",
|
|
21
|
+
"Empty message...": "",
|
|
22
22
|
"Error loading": "Erro ao carregar",
|
|
23
|
-
"Error loading channel list...": "
|
|
24
|
-
"Error loading messages for this channel...": "
|
|
25
|
-
"Error while loading, please reload/refresh": "
|
|
26
|
-
"File type not supported": "
|
|
27
|
-
"Flag": "
|
|
28
|
-
"Flag Message": "
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
30
|
-
"How about sending your first message to a friend?": "
|
|
31
|
-
"Instant Commands": "
|
|
32
|
-
"Let's start chatting!": "
|
|
33
|
-
"Links are disabled": "
|
|
34
|
-
"Loading channels...": "
|
|
35
|
-
"Loading messages...": "
|
|
36
|
-
"Loading...": "
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
38
|
-
"Message Reactions": "
|
|
39
|
-
"Message deleted": "
|
|
40
|
-
"Message flagged": "
|
|
41
|
-
"Mute User": "
|
|
23
|
+
"Error loading channel list...": "",
|
|
24
|
+
"Error loading messages for this channel...": "",
|
|
25
|
+
"Error while loading, please reload/refresh": "",
|
|
26
|
+
"File type not supported": "",
|
|
27
|
+
"Flag": "",
|
|
28
|
+
"Flag Message": "",
|
|
29
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
30
|
+
"How about sending your first message to a friend?": "",
|
|
31
|
+
"Instant Commands": "",
|
|
32
|
+
"Let's start chatting!": "",
|
|
33
|
+
"Links are disabled": "",
|
|
34
|
+
"Loading channels...": "",
|
|
35
|
+
"Loading messages...": "",
|
|
36
|
+
"Loading...": "",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
+
"Message Reactions": "",
|
|
39
|
+
"Message deleted": "",
|
|
40
|
+
"Message flagged": "",
|
|
41
|
+
"Mute User": "",
|
|
42
42
|
"Not supported": "Não suportado",
|
|
43
|
-
"Nothing yet...": "
|
|
44
|
-
"Ok": "
|
|
43
|
+
"Nothing yet...": "",
|
|
44
|
+
"Ok": "",
|
|
45
45
|
"Only visible to you": "Apenas visível para você",
|
|
46
46
|
"Open Settings": "Abrir Configurações",
|
|
47
|
-
"Photo": "
|
|
47
|
+
"Photo": "",
|
|
48
48
|
"Photos and Videos": "Fotos e Vídeos",
|
|
49
|
-
"Pin to Conversation": "
|
|
49
|
+
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "Fixado por",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "Por favor, habilite o acesso às suas fotos e vídeos para poder compartilhá-los.",
|
|
52
|
-
"Please select a channel first": "
|
|
53
|
-
"Reconnecting...": "
|
|
54
|
-
"Reply": "
|
|
52
|
+
"Please select a channel first": "",
|
|
53
|
+
"Reconnecting...": "",
|
|
54
|
+
"Reply": "",
|
|
55
55
|
"Reply to Message": "Responder à Mensagem",
|
|
56
|
-
"Resend": "
|
|
56
|
+
"Resend": "",
|
|
57
57
|
"Search GIFs": "Pesquisar GIFs",
|
|
58
58
|
"Select More Photos": "Selecionar Mais Fotos",
|
|
59
|
-
"Send Anyway": "
|
|
59
|
+
"Send Anyway": "",
|
|
60
60
|
"Send a message": "Enviar uma mensagem",
|
|
61
|
-
"Sending links is not allowed in this conversation": "
|
|
61
|
+
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "Modo Lento ATIVADO",
|
|
63
|
-
"The message has been reported to a moderator.": "
|
|
64
|
-
"Thread Reply": "
|
|
65
|
-
"Unblock User": "
|
|
63
|
+
"The message has been reported to a moderator.": "",
|
|
64
|
+
"Thread Reply": "",
|
|
65
|
+
"Unblock User": "",
|
|
66
66
|
"Unknown User": "Usuário Desconhecido",
|
|
67
|
-
"Unmute User": "
|
|
68
|
-
"Unpin from Conversation": "
|
|
67
|
+
"Unmute User": "",
|
|
68
|
+
"Unpin from Conversation": "",
|
|
69
69
|
"Unread Messages": "Mensagens não lidas",
|
|
70
|
-
"Video": "
|
|
71
|
-
"You": "
|
|
70
|
+
"Video": "",
|
|
71
|
+
"You": "",
|
|
72
72
|
"You can't send messages in this channel": "Você não pode enviar mensagens neste canal",
|
|
73
73
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e mais {{ nonSelfUserLength }} pessoa(s) estão digitando",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} de {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Respostas",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "{{ replyCount }} Respostas de Thread",
|
|
77
77
|
"{{ user }} is typing": "{{ user }} está digitando",
|
|
78
|
-
"🏙 Attachment...": "
|
|
78
|
+
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -3,77 +3,77 @@
|
|
|
3
3
|
"1 Thread Reply": "1 тема Ответить",
|
|
4
4
|
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
5
|
"Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
|
|
6
|
-
"Also send to channel": "
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "
|
|
8
|
-
"Are you sure?": "
|
|
9
|
-
"Block User": "
|
|
10
|
-
"Cancel": "
|
|
11
|
-
"Cannot Flag Message": "
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "
|
|
13
|
-
"Copy Message": "
|
|
14
|
-
"Delete": "
|
|
15
|
-
"Delete Message": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
+
"Are you sure?": "",
|
|
9
|
+
"Block User": "",
|
|
10
|
+
"Cancel": "",
|
|
11
|
+
"Cannot Flag Message": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
13
|
+
"Copy Message": "",
|
|
14
|
+
"Delete": "",
|
|
15
|
+
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "
|
|
18
|
-
"Edit Message": "
|
|
17
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
+
"Edit Message": "",
|
|
19
19
|
"Editing Message": "Редактирование сообщения",
|
|
20
|
-
"Emoji matching": "
|
|
21
|
-
"Empty message...": "
|
|
20
|
+
"Emoji matching": "",
|
|
21
|
+
"Empty message...": "",
|
|
22
22
|
"Error loading": "Ошибка при загрузке",
|
|
23
|
-
"Error loading channel list...": "
|
|
24
|
-
"Error loading messages for this channel...": "
|
|
25
|
-
"Error while loading, please reload/refresh": "
|
|
26
|
-
"File type not supported": "
|
|
27
|
-
"Flag": "
|
|
28
|
-
"Flag Message": "
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
30
|
-
"How about sending your first message to a friend?": "
|
|
31
|
-
"Instant Commands": "
|
|
32
|
-
"Let's start chatting!": "
|
|
33
|
-
"Links are disabled": "
|
|
34
|
-
"Loading channels...": "
|
|
35
|
-
"Loading messages...": "
|
|
36
|
-
"Loading...": "
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
38
|
-
"Message Reactions": "
|
|
39
|
-
"Message deleted": "
|
|
40
|
-
"Message flagged": "
|
|
41
|
-
"Mute User": "
|
|
23
|
+
"Error loading channel list...": "",
|
|
24
|
+
"Error loading messages for this channel...": "",
|
|
25
|
+
"Error while loading, please reload/refresh": "",
|
|
26
|
+
"File type not supported": "",
|
|
27
|
+
"Flag": "",
|
|
28
|
+
"Flag Message": "",
|
|
29
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
30
|
+
"How about sending your first message to a friend?": "",
|
|
31
|
+
"Instant Commands": "",
|
|
32
|
+
"Let's start chatting!": "",
|
|
33
|
+
"Links are disabled": "",
|
|
34
|
+
"Loading channels...": "",
|
|
35
|
+
"Loading messages...": "",
|
|
36
|
+
"Loading...": "",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
+
"Message Reactions": "",
|
|
39
|
+
"Message deleted": "",
|
|
40
|
+
"Message flagged": "",
|
|
41
|
+
"Mute User": "",
|
|
42
42
|
"Not supported": "не поддерживается",
|
|
43
|
-
"Nothing yet...": "
|
|
44
|
-
"Ok": "
|
|
43
|
+
"Nothing yet...": "",
|
|
44
|
+
"Ok": "",
|
|
45
45
|
"Only visible to you": "Видно только вам",
|
|
46
46
|
"Open Settings": "Открыть настройки",
|
|
47
|
-
"Photo": "
|
|
47
|
+
"Photo": "",
|
|
48
48
|
"Photos and Videos": "Фото и видео",
|
|
49
|
-
"Pin to Conversation": "
|
|
49
|
+
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "Закреплено пользователем",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
|
|
52
|
-
"Please select a channel first": "
|
|
53
|
-
"Reconnecting...": "
|
|
54
|
-
"Reply": "
|
|
52
|
+
"Please select a channel first": "",
|
|
53
|
+
"Reconnecting...": "",
|
|
54
|
+
"Reply": "",
|
|
55
55
|
"Reply to Message": "Ответить на сообщение",
|
|
56
|
-
"Resend": "
|
|
56
|
+
"Resend": "",
|
|
57
57
|
"Search GIFs": "Поиск GIF",
|
|
58
58
|
"Select More Photos": "Выбрать больше фотографий",
|
|
59
|
-
"Send Anyway": "
|
|
59
|
+
"Send Anyway": "",
|
|
60
60
|
"Send a message": "Отправить сообщение",
|
|
61
|
-
"Sending links is not allowed in this conversation": "
|
|
61
|
+
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "Медленный режим включен",
|
|
63
|
-
"The message has been reported to a moderator.": "
|
|
64
|
-
"Thread Reply": "
|
|
65
|
-
"Unblock User": "
|
|
63
|
+
"The message has been reported to a moderator.": "",
|
|
64
|
+
"Thread Reply": "",
|
|
65
|
+
"Unblock User": "",
|
|
66
66
|
"Unknown User": "Неизвестный пользователь",
|
|
67
|
-
"Unmute User": "
|
|
68
|
-
"Unpin from Conversation": "
|
|
67
|
+
"Unmute User": "",
|
|
68
|
+
"Unpin from Conversation": "",
|
|
69
69
|
"Unread Messages": "Непрочитанные Сообщения",
|
|
70
|
-
"Video": "
|
|
71
|
-
"You": "
|
|
70
|
+
"Video": "",
|
|
71
|
+
"You": "",
|
|
72
72
|
"You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
|
|
73
73
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
|
|
77
77
|
"{{ user }} is typing": "{{ user }} пишет",
|
|
78
|
-
"🏙 Attachment...": "
|
|
78
|
+
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -3,77 +3,77 @@
|
|
|
3
3
|
"1 Thread Reply": "1 Konu Yanıtı",
|
|
4
4
|
"Allow access to your Gallery": "Galerinize erişime izin verin",
|
|
5
5
|
"Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
|
|
6
|
-
"Also send to channel": "
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "
|
|
8
|
-
"Are you sure?": "
|
|
9
|
-
"Block User": "
|
|
10
|
-
"Cancel": "
|
|
11
|
-
"Cannot Flag Message": "
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "
|
|
13
|
-
"Copy Message": "
|
|
14
|
-
"Delete": "
|
|
15
|
-
"Delete Message": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
+
"Are you sure?": "",
|
|
9
|
+
"Block User": "",
|
|
10
|
+
"Cancel": "",
|
|
11
|
+
"Cannot Flag Message": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
13
|
+
"Copy Message": "",
|
|
14
|
+
"Delete": "",
|
|
15
|
+
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "
|
|
18
|
-
"Edit Message": "
|
|
17
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
+
"Edit Message": "",
|
|
19
19
|
"Editing Message": "Mesaj Düzenleniyor",
|
|
20
|
-
"Emoji matching": "
|
|
21
|
-
"Empty message...": "
|
|
20
|
+
"Emoji matching": "",
|
|
21
|
+
"Empty message...": "",
|
|
22
22
|
"Error loading": "Yükleme hatası",
|
|
23
|
-
"Error loading channel list...": "
|
|
24
|
-
"Error loading messages for this channel...": "
|
|
25
|
-
"Error while loading, please reload/refresh": "
|
|
26
|
-
"File type not supported": "
|
|
27
|
-
"Flag": "
|
|
28
|
-
"Flag Message": "
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
30
|
-
"How about sending your first message to a friend?": "
|
|
31
|
-
"Instant Commands": "
|
|
32
|
-
"Let's start chatting!": "
|
|
33
|
-
"Links are disabled": "
|
|
34
|
-
"Loading channels...": "
|
|
35
|
-
"Loading messages...": "
|
|
36
|
-
"Loading...": "
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
38
|
-
"Message Reactions": "
|
|
39
|
-
"Message deleted": "
|
|
40
|
-
"Message flagged": "
|
|
41
|
-
"Mute User": "
|
|
23
|
+
"Error loading channel list...": "",
|
|
24
|
+
"Error loading messages for this channel...": "",
|
|
25
|
+
"Error while loading, please reload/refresh": "",
|
|
26
|
+
"File type not supported": "",
|
|
27
|
+
"Flag": "",
|
|
28
|
+
"Flag Message": "",
|
|
29
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
30
|
+
"How about sending your first message to a friend?": "",
|
|
31
|
+
"Instant Commands": "",
|
|
32
|
+
"Let's start chatting!": "",
|
|
33
|
+
"Links are disabled": "",
|
|
34
|
+
"Loading channels...": "",
|
|
35
|
+
"Loading messages...": "",
|
|
36
|
+
"Loading...": "",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
+
"Message Reactions": "",
|
|
39
|
+
"Message deleted": "",
|
|
40
|
+
"Message flagged": "",
|
|
41
|
+
"Mute User": "",
|
|
42
42
|
"Not supported": "Desteklenmiyor",
|
|
43
|
-
"Nothing yet...": "
|
|
44
|
-
"Ok": "
|
|
43
|
+
"Nothing yet...": "",
|
|
44
|
+
"Ok": "",
|
|
45
45
|
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
46
46
|
"Open Settings": "Ayarları aç",
|
|
47
|
-
"Photo": "
|
|
47
|
+
"Photo": "",
|
|
48
48
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
49
|
-
"Pin to Conversation": "
|
|
49
|
+
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "Tarafından sabitlendi",
|
|
51
51
|
"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.",
|
|
52
|
-
"Please select a channel first": "
|
|
53
|
-
"Reconnecting...": "
|
|
54
|
-
"Reply": "
|
|
52
|
+
"Please select a channel first": "",
|
|
53
|
+
"Reconnecting...": "",
|
|
54
|
+
"Reply": "",
|
|
55
55
|
"Reply to Message": "Mesajı Yanıtla",
|
|
56
|
-
"Resend": "
|
|
56
|
+
"Resend": "",
|
|
57
57
|
"Search GIFs": "GIF Ara",
|
|
58
58
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
59
|
-
"Send Anyway": "
|
|
59
|
+
"Send Anyway": "",
|
|
60
60
|
"Send a message": "Mesaj gönder",
|
|
61
|
-
"Sending links is not allowed in this conversation": "
|
|
61
|
+
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "Yavaş Mod Açık",
|
|
63
|
-
"The message has been reported to a moderator.": "
|
|
64
|
-
"Thread Reply": "
|
|
65
|
-
"Unblock User": "
|
|
63
|
+
"The message has been reported to a moderator.": "",
|
|
64
|
+
"Thread Reply": "",
|
|
65
|
+
"Unblock User": "",
|
|
66
66
|
"Unknown User": "Bilinmeyen kullanıcı",
|
|
67
|
-
"Unmute User": "
|
|
68
|
-
"Unpin from Conversation": "
|
|
67
|
+
"Unmute User": "",
|
|
68
|
+
"Unpin from Conversation": "",
|
|
69
69
|
"Unread Messages": "Okunmamış Mesajlar",
|
|
70
|
-
"Video": "
|
|
71
|
-
"You": "
|
|
70
|
+
"Video": "",
|
|
71
|
+
"You": "",
|
|
72
72
|
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
73
73
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
77
77
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
78
|
-
"🏙 Attachment...": "
|
|
78
|
+
"🏙 Attachment...": ""
|
|
79
79
|
}
|
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.26.
|
|
4
|
+
"version": "5.26.1-beta.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -972,42 +972,60 @@ const ChannelWithContext = <
|
|
|
972
972
|
* @param messageId If undefined, channel will be loaded at most recent message.
|
|
973
973
|
*/
|
|
974
974
|
const loadChannelAroundMessage: ChannelContextValue<StreamChatGenerics>['loadChannelAroundMessage'] =
|
|
975
|
-
({ messageId: messageIdToLoadAround }) =>
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
if (currentMessageSet && !currentMessageSet?.isLatest) {
|
|
984
|
-
// if the current message set is not the latest, we will throw away the latest messages
|
|
985
|
-
// in order to attempt to not throw away, will attempt to merge it by loading 25 more messages
|
|
986
|
-
const recentCurrentSetMsgId =
|
|
987
|
-
currentMessageSet.messages[currentMessageSet.messages.length - 1].id;
|
|
988
|
-
await channel.query(
|
|
989
|
-
{
|
|
990
|
-
messages: {
|
|
991
|
-
id_gte: recentCurrentSetMsgId,
|
|
992
|
-
limit: 25,
|
|
993
|
-
},
|
|
994
|
-
},
|
|
995
|
-
'current',
|
|
996
|
-
);
|
|
997
|
-
// if the gap is more than 25, we will unfortunately have to throw away the latest messages
|
|
998
|
-
}
|
|
999
|
-
} else {
|
|
1000
|
-
await loadLatestMessagesRef.current();
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
|
-
() => {
|
|
1004
|
-
if (messageIdToLoadAround) {
|
|
1005
|
-
clearInterval(mergeSetsIntervalRef.current); // do not merge sets as we will scroll/highlight to the message
|
|
975
|
+
async ({ messageId: messageIdToLoadAround }) => {
|
|
976
|
+
if (thread) {
|
|
977
|
+
if (messageIdToLoadAround) {
|
|
978
|
+
setThreadLoadingMore(true);
|
|
979
|
+
try {
|
|
980
|
+
await channel.state.loadMessageIntoState(messageIdToLoadAround, thread.id);
|
|
981
|
+
setThreadLoadingMore(false);
|
|
982
|
+
setThreadMessages(channel.state.threads[thread.id]);
|
|
1006
983
|
setTargetedMessage(messageIdToLoadAround);
|
|
984
|
+
} catch (err) {
|
|
985
|
+
if (err instanceof Error) {
|
|
986
|
+
setError(err);
|
|
987
|
+
} else {
|
|
988
|
+
setError(true);
|
|
989
|
+
}
|
|
990
|
+
setThreadLoadingMore(false);
|
|
1007
991
|
}
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
|
|
992
|
+
}
|
|
993
|
+
} else {
|
|
994
|
+
await channelQueryCallRef.current(
|
|
995
|
+
async () => {
|
|
996
|
+
setLoading(true);
|
|
997
|
+
if (messageIdToLoadAround) {
|
|
998
|
+
setMessages([]);
|
|
999
|
+
await channel.state.loadMessageIntoState(messageIdToLoadAround);
|
|
1000
|
+
const currentMessageSet = channel.state.messageSets.find((set) => set.isCurrent);
|
|
1001
|
+
if (currentMessageSet && !currentMessageSet?.isLatest) {
|
|
1002
|
+
// if the current message set is not the latest, we will throw away the latest messages
|
|
1003
|
+
// in order to attempt to not throw away, will attempt to merge it by loading 25 more messages
|
|
1004
|
+
const recentCurrentSetMsgId =
|
|
1005
|
+
currentMessageSet.messages[currentMessageSet.messages.length - 1].id;
|
|
1006
|
+
await channel.query(
|
|
1007
|
+
{
|
|
1008
|
+
messages: {
|
|
1009
|
+
id_gte: recentCurrentSetMsgId,
|
|
1010
|
+
limit: 25,
|
|
1011
|
+
},
|
|
1012
|
+
},
|
|
1013
|
+
'current',
|
|
1014
|
+
);
|
|
1015
|
+
// if the gap is more than 25, we will unfortunately have to throw away the latest messages
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
() => {
|
|
1020
|
+
if (messageIdToLoadAround) {
|
|
1021
|
+
clearInterval(mergeSetsIntervalRef.current); // do not merge sets as we will scroll/highlight to the message
|
|
1022
|
+
setTargetedMessage(messageIdToLoadAround);
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
messageIdToLoadAround,
|
|
1026
|
+
);
|
|
1027
|
+
}
|
|
1028
|
+
};
|
|
1011
1029
|
|
|
1012
1030
|
useEffect(() => {
|
|
1013
1031
|
if (!targetedMessage && prevTargetedMessage) {
|
|
@@ -174,6 +174,7 @@ const ChannelPreviewMessengerWithContext = <
|
|
|
174
174
|
<View style={[styles.row, row]}>
|
|
175
175
|
<PreviewMessage latestMessagePreview={latestMessagePreview} />
|
|
176
176
|
<PreviewStatus
|
|
177
|
+
channel={channel}
|
|
177
178
|
formatLatestMessageDate={formatLatestMessageDate}
|
|
178
179
|
latestMessagePreview={latestMessagePreview}
|
|
179
180
|
/>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
3
|
|
|
4
|
+
import { ChannelPreviewProps } from './ChannelPreview';
|
|
4
5
|
import type { ChannelPreviewMessengerPropsWithContext } from './ChannelPreviewMessenger';
|
|
5
6
|
import { MessageReadStatus } from './hooks/useLatestMessagePreview';
|
|
6
7
|
|
|
@@ -25,7 +26,8 @@ export type ChannelPreviewStatusProps<
|
|
|
25
26
|
> = Pick<
|
|
26
27
|
ChannelPreviewMessengerPropsWithContext<StreamChatGenerics>,
|
|
27
28
|
'latestMessagePreview' | 'formatLatestMessageDate'
|
|
28
|
-
|
|
29
|
+
> &
|
|
30
|
+
Pick<ChannelPreviewProps<StreamChatGenerics>, 'channel'>;
|
|
29
31
|
|
|
30
32
|
export const ChannelPreviewStatus = <
|
|
31
33
|
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
|
package/src/i18n/en.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"File type not supported": "File type not supported",
|
|
27
27
|
"Flag": "Flag",
|
|
28
28
|
"Flag Message": "Flag Message",
|
|
29
|
-
"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
|
|
29
|
+
"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",
|
|
30
30
|
"How about sending your first message to a friend?": "How about sending your first message to a friend?",
|
|
31
31
|
"Instant Commands": "Instant Commands",
|
|
32
32
|
"Let's start chatting!": "Let's start chatting!",
|