stream-chat-react-native-core 5.22.2-beta.4 → 5.22.2-beta.6
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 +112 -84
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +58 -40
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +2 -2
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/fr.json +49 -49
- package/lib/commonjs/i18n/hi.json +49 -49
- package/lib/commonjs/i18n/it.json +49 -49
- package/lib/commonjs/i18n/nl.json +49 -49
- package/lib/commonjs/i18n/ru.json +49 -49
- package/lib/commonjs/i18n/tr.json +49 -49
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +112 -84
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +58 -40
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionListItem.js +2 -2
- package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/fr.json +49 -49
- package/lib/module/i18n/hi.json +49 -49
- package/lib/module/i18n/it.json +49 -49
- package/lib/module/i18n/nl.json +49 -49
- package/lib/module/i18n/ru.json +49 -49
- package/lib/module/i18n/tr.json +49 -49
- package/lib/module/version.json +1 -1
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/fr.json +49 -49
- package/lib/typescript/i18n/hi.json +49 -49
- package/lib/typescript/i18n/it.json +49 -49
- package/lib/typescript/i18n/nl.json +49 -49
- package/lib/typescript/i18n/ru.json +49 -49
- package/lib/typescript/i18n/tr.json +49 -49
- package/package.json +1 -1
- package/src/components/Channel/Channel.tsx +32 -6
- package/src/components/MessageList/MessageList.tsx +44 -9
- package/src/components/MessageOverlay/MessageActionListItem.tsx +1 -1
- package/src/i18n/en.json +1 -1
- package/src/i18n/fr.json +49 -49
- package/src/i18n/hi.json +49 -49
- package/src/i18n/it.json +49 -49
- package/src/i18n/nl.json +49 -49
- package/src/i18n/ru.json +49 -49
- package/src/i18n/tr.json +49 -49
- package/src/version.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Allow camera access in device settings": "",
|
|
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": "",
|
|
2
|
+
"1 Reply": "1 Risposta",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
|
|
5
|
+
"Allow camera access in device settings": "Consenti l'accesso alla fotocamera nelle impostazioni del dispositivo",
|
|
6
|
+
"Also send to channel": "Invia anche al canale",
|
|
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.": "La fotocamera del dispositivo viene utilizzata per scattare foto o video.",
|
|
15
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
|
+
"Edit Message": "",
|
|
17
|
+
"Editing Message": "Modificando il Messaggio",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -22,55 +22,55 @@
|
|
|
22
22
|
"Error loading messages for this channel...": "",
|
|
23
23
|
"Error while loading, please reload/refresh": "",
|
|
24
24
|
"File type not supported": "Tipo di file non supportato",
|
|
25
|
-
"Flag": "
|
|
26
|
-
"Flag Message": "
|
|
27
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
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
31
|
"Links are disabled": "I link sono disabilitati",
|
|
32
|
-
"Loading channels...": "",
|
|
33
|
-
"Loading messages...": "",
|
|
34
|
-
"Loading...": "",
|
|
32
|
+
"Loading channels...": "Caricamento canali in corso...",
|
|
33
|
+
"Loading messages...": "Caricamento messaggi...",
|
|
34
|
+
"Loading...": "Caricamento...",
|
|
35
35
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "È stato raggiunto il limite massimo di caricamento delle dimensioni del file. Carica un file inferiore a {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
|
|
36
|
-
"Message Reactions": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
|
-
"Message flagged": "
|
|
39
|
-
"Mute User": "
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
40
|
"Not supported": "non supportato",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
|
-
"Ok": "
|
|
43
|
-
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "",
|
|
42
|
+
"Ok": "",
|
|
43
|
+
"Only visible to you": "Visibile solo a te",
|
|
44
|
+
"Open Settings": "Apri Impostazioni",
|
|
45
45
|
"Photo": "",
|
|
46
|
-
"Photos and Videos": "",
|
|
47
|
-
"Pin to Conversation": "
|
|
46
|
+
"Photos and Videos": "Foto e Video",
|
|
47
|
+
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "Fissato da",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
|
|
50
50
|
"Please select a channel first": "Seleziona un canale",
|
|
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": "
|
|
54
|
+
"Resend": "",
|
|
55
|
+
"Search GIFs": "",
|
|
56
|
+
"Select More Photos": "Seleziona Altre foto",
|
|
57
|
+
"Send a message": "",
|
|
58
58
|
"Sending links is not allowed in this conversation": "L'invio di link non è consentito in questa conversazione",
|
|
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": "
|
|
59
|
+
"Slow mode ON": "",
|
|
60
|
+
"The message has been reported to a moderator.": "",
|
|
61
|
+
"Thread Reply": "",
|
|
62
|
+
"Unblock User": "",
|
|
63
|
+
"Unknown User": "Utente sconosciuto",
|
|
64
|
+
"Unmute User": "",
|
|
65
|
+
"Unpin from Conversation": "",
|
|
66
66
|
"Unread Messages": "",
|
|
67
67
|
"Video": "",
|
|
68
68
|
"You": "",
|
|
69
|
-
"You can't send messages in this channel": "",
|
|
70
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
-
"{{ replyCount }} Replies": "",
|
|
73
|
-
"{{ replyCount }} Thread Replies": "
|
|
74
|
-
"{{ user }} is typing": "",
|
|
69
|
+
"You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
|
|
72
|
+
"{{ replyCount }} Replies": "{{ replyCount }} Risposte",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} sta scrivendo",
|
|
75
75
|
"🏙 Attachment...": ""
|
|
76
76
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Allow camera access in device settings": "",
|
|
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": "",
|
|
2
|
+
"1 Reply": "1 Antwoord",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "Geef toegang tot uw galerij",
|
|
5
|
+
"Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
|
|
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",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -22,55 +22,55 @@
|
|
|
22
22
|
"Error loading messages for this channel...": "",
|
|
23
23
|
"Error while loading, please reload/refresh": "",
|
|
24
24
|
"File type not supported": "Bestandstype niet ondersteund",
|
|
25
|
-
"Flag": "
|
|
26
|
-
"Flag Message": "
|
|
27
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
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
31
|
"Links are disabled": "Het versturen van links staat uit",
|
|
32
|
-
"Loading channels...": "",
|
|
33
|
-
"Loading messages...": "",
|
|
34
|
-
"Loading...": "",
|
|
32
|
+
"Loading channels...": "Kanalen aan het laden...",
|
|
33
|
+
"Loading messages...": "Berichten aan het laden...",
|
|
34
|
+
"Loading...": "Aan het laden...",
|
|
35
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": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
|
-
"Message flagged": "
|
|
39
|
-
"Mute User": "
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
40
|
"Not supported": "niet ondersteund",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
|
-
"Ok": "
|
|
43
|
-
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "",
|
|
42
|
+
"Ok": "",
|
|
43
|
+
"Only visible to you": "Alleen zichtbaar voor jou",
|
|
44
|
+
"Open Settings": "Open instellingen",
|
|
45
45
|
"Photo": "",
|
|
46
|
-
"Photos and Videos": "",
|
|
47
|
-
"Pin to Conversation": "
|
|
46
|
+
"Photos and Videos": "Foto's en video's",
|
|
47
|
+
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "Vastgemaakt door",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
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.",
|
|
50
50
|
"Please select a channel first": "Selecteer eerst een kanaal",
|
|
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": "
|
|
54
|
+
"Resend": "",
|
|
55
|
+
"Search GIFs": "",
|
|
56
|
+
"Select More Photos": "Selecteer Meer foto's",
|
|
57
|
+
"Send a message": "",
|
|
58
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": "",
|
|
64
|
-
"Unmute User": "
|
|
65
|
-
"Unpin from Conversation": "
|
|
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": "",
|
|
66
66
|
"Unread Messages": "",
|
|
67
67
|
"Video": "",
|
|
68
68
|
"You": "",
|
|
69
|
-
"You can't send messages in this channel": "",
|
|
70
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
-
"{{ replyCount }} Replies": "",
|
|
73
|
-
"{{ replyCount }} Thread Replies": "
|
|
74
|
-
"{{ user }} is typing": "",
|
|
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": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
75
75
|
"🏙 Attachment...": ""
|
|
76
76
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Allow camera access in device settings": "",
|
|
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": "",
|
|
2
|
+
"1 Reply": "1 Ответ",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
|
+
"Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
|
|
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": "Редактирование сообщения",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -22,55 +22,55 @@
|
|
|
22
22
|
"Error loading messages for this channel...": "",
|
|
23
23
|
"Error while loading, please reload/refresh": "",
|
|
24
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": "
|
|
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
31
|
"Links are disabled": "Ссылки отключены",
|
|
32
|
-
"Loading channels...": "",
|
|
33
|
-
"Loading messages...": "",
|
|
34
|
-
"Loading...": "",
|
|
32
|
+
"Loading channels...": "Загружаю каналы...",
|
|
33
|
+
"Loading messages...": "Загружаю сообщения...",
|
|
34
|
+
"Loading...": "Загружаю...",
|
|
35
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": "
|
|
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": "",
|
|
42
|
+
"Ok": "",
|
|
43
|
+
"Only visible to you": "Видно только вам",
|
|
44
|
+
"Open Settings": "Открыть настройки",
|
|
45
45
|
"Photo": "",
|
|
46
|
-
"Photos and Videos": "",
|
|
47
|
-
"Pin to Conversation": "
|
|
46
|
+
"Photos and Videos": "Фото и видео",
|
|
47
|
+
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "Закреплено пользователем",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
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": "
|
|
54
|
+
"Resend": "",
|
|
55
|
+
"Search GIFs": "",
|
|
56
|
+
"Select More Photos": "Выбрать больше фотографий",
|
|
57
|
+
"Send a message": "",
|
|
58
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": "
|
|
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
67
|
"Video": "",
|
|
68
68
|
"You": "",
|
|
69
|
-
"You can't send messages in this channel": "",
|
|
70
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
-
"{{ replyCount }} Replies": "",
|
|
73
|
-
"{{ replyCount }} Thread Replies": "
|
|
74
|
-
"{{ user }} is typing": "",
|
|
69
|
+
"You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
72
|
+
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} пишет",
|
|
75
75
|
"🏙 Attachment...": ""
|
|
76
76
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Allow camera access in device settings": "",
|
|
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": "",
|
|
2
|
+
"1 Reply": "1 Cevap",
|
|
3
|
+
"1 Thread Reply": "",
|
|
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",
|
|
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",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -22,55 +22,55 @@
|
|
|
22
22
|
"Error loading messages for this channel...": "",
|
|
23
23
|
"Error while loading, please reload/refresh": "",
|
|
24
24
|
"File type not supported": "Dosya türü desteklenmiyor",
|
|
25
|
-
"Flag": "
|
|
26
|
-
"Flag Message": "
|
|
27
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
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
31
|
"Links are disabled": "Bağlantılar devre dışı",
|
|
32
|
-
"Loading channels...": "",
|
|
33
|
-
"Loading messages...": "",
|
|
34
|
-
"Loading...": "",
|
|
32
|
+
"Loading channels...": "Kanallar yükleniyor...",
|
|
33
|
+
"Loading messages...": "Mesajlar yükleniyor...",
|
|
34
|
+
"Loading...": "Yükleniyor...",
|
|
35
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": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
|
-
"Message flagged": "
|
|
39
|
-
"Mute User": "
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
40
|
"Not supported": "Desteklenmiyor",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
|
-
"Ok": "
|
|
43
|
-
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "",
|
|
42
|
+
"Ok": "",
|
|
43
|
+
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
44
|
+
"Open Settings": "Ayarları aç",
|
|
45
45
|
"Photo": "",
|
|
46
|
-
"Photos and Videos": "",
|
|
47
|
-
"Pin to Conversation": "
|
|
46
|
+
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
47
|
+
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "Tarafından sabitlendi",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
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.",
|
|
50
50
|
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
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": "
|
|
54
|
+
"Resend": "",
|
|
55
|
+
"Search GIFs": "",
|
|
56
|
+
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
57
|
+
"Send a message": "",
|
|
58
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": "",
|
|
64
|
-
"Unmute User": "
|
|
65
|
-
"Unpin from Conversation": "
|
|
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": "",
|
|
66
66
|
"Unread Messages": "",
|
|
67
67
|
"Video": "",
|
|
68
68
|
"You": "",
|
|
69
|
-
"You can't send messages in this channel": "",
|
|
70
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
-
"{{ replyCount }} Replies": "",
|
|
73
|
-
"{{ replyCount }} Thread Replies": "
|
|
74
|
-
"{{ user }} is typing": "",
|
|
69
|
+
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
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": "",
|
|
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.
|
|
4
|
+
"version": "5.22.2-beta.6",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -817,12 +817,43 @@ const ChannelWithContext = <
|
|
|
817
817
|
async (
|
|
818
818
|
queryCall: () => Promise<void>,
|
|
819
819
|
onAfterQueryCall: (() => void) | undefined = undefined,
|
|
820
|
+
// if we are targeting a message after the query, pass it here
|
|
821
|
+
targetMessageId: string | undefined = undefined,
|
|
820
822
|
) => {
|
|
821
823
|
setError(false);
|
|
822
824
|
try {
|
|
823
825
|
await queryCall();
|
|
824
826
|
setLastRead(new Date());
|
|
825
827
|
setHasMore(true);
|
|
828
|
+
if (channel && targetMessageId) {
|
|
829
|
+
// 30 is the maxToRenderPerBatch in MessageList
|
|
830
|
+
const limit = 30 * 3; // we allow 3 batches of messages to be rendered
|
|
831
|
+
const currentMessages = channel.state.messages;
|
|
832
|
+
// number of messages are over the limit, limit the length of messages
|
|
833
|
+
if (currentMessages.length > limit) {
|
|
834
|
+
const targetMessageIndex = currentMessages.findIndex(
|
|
835
|
+
({ id }) => id === targetMessageId,
|
|
836
|
+
);
|
|
837
|
+
let startIndex = Math.max(targetMessageIndex - Math.floor(limit / 2), 0);
|
|
838
|
+
const endIndex = targetMessageIndex + Math.floor(limit / 2);
|
|
839
|
+
if (endIndex > currentMessages.length) {
|
|
840
|
+
startIndex = Math.max(startIndex - (endIndex - currentMessages.length - 1) - 1, 0);
|
|
841
|
+
}
|
|
842
|
+
const hadLatestMessages = channel.state.messages === channel.state.latestMessages;
|
|
843
|
+
const recentMessage = currentMessages[currentMessages.length - 1];
|
|
844
|
+
channel.state.clearMessages();
|
|
845
|
+
channel.state.messages = currentMessages.slice(startIndex, endIndex);
|
|
846
|
+
const stillHasLatestMessages =
|
|
847
|
+
hadLatestMessages &&
|
|
848
|
+
channel.state.messages[channel.state.messages.length - 1] === recentMessage;
|
|
849
|
+
setHasNoMoreRecentMessagesToLoad(stillHasLatestMessages);
|
|
850
|
+
channel.state.setIsUpToDate(stillHasLatestMessages);
|
|
851
|
+
}
|
|
852
|
+
} else {
|
|
853
|
+
const areLatestMessages = channel.state.messages === channel.state.latestMessages;
|
|
854
|
+
setHasNoMoreRecentMessagesToLoad(areLatestMessages);
|
|
855
|
+
channel.state.setIsUpToDate(areLatestMessages);
|
|
856
|
+
}
|
|
826
857
|
copyChannelState();
|
|
827
858
|
onAfterQueryCall?.();
|
|
828
859
|
} catch (err) {
|
|
@@ -851,7 +882,6 @@ const ChannelWithContext = <
|
|
|
851
882
|
// if last read date is present we can just fetch messages around that date
|
|
852
883
|
// last read date not being present is an edge case if somewhere the user of SDK deletes the read state (this will usually never happen)
|
|
853
884
|
if (lastReadDate) {
|
|
854
|
-
setHasNoMoreRecentMessagesToLoad(false); // we are jumping to a message, hence we do not know for sure anymore if there are no more recent messages
|
|
855
885
|
// get totally 30 messages... max 15 before last read date and max 15 after last read date
|
|
856
886
|
// ref: https://github.com/GetStream/chat/pull/2588
|
|
857
887
|
await channel.query(
|
|
@@ -870,7 +900,6 @@ const ChannelWithContext = <
|
|
|
870
900
|
// we just load the latest messages (25 is the default) and we cant scroll to first unread message
|
|
871
901
|
await channel.state.loadMessageIntoState('latest');
|
|
872
902
|
}
|
|
873
|
-
setLoading(false);
|
|
874
903
|
},
|
|
875
904
|
() => {
|
|
876
905
|
if (unreadMessageIdToScrollTo) {
|
|
@@ -895,16 +924,13 @@ const ChannelWithContext = <
|
|
|
895
924
|
} else {
|
|
896
925
|
await channel.state.loadMessageIntoState('latest');
|
|
897
926
|
}
|
|
898
|
-
const areLatestMessages = channel.state.messages === channel.state.latestMessages;
|
|
899
|
-
setHasNoMoreRecentMessagesToLoad(areLatestMessages);
|
|
900
|
-
channel.state.setIsUpToDate(areLatestMessages);
|
|
901
|
-
setLoading(false);
|
|
902
927
|
},
|
|
903
928
|
() => {
|
|
904
929
|
if (messageIdToLoadAround) {
|
|
905
930
|
setTargetedMessage(messageIdToLoadAround);
|
|
906
931
|
}
|
|
907
932
|
},
|
|
933
|
+
messageIdToLoadAround,
|
|
908
934
|
);
|
|
909
935
|
|
|
910
936
|
/**
|