stream-chat-react-native-core 5.27.0-beta.1 → 5.27.0-beta.11
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/Attachment/Gallery.js +6 -7
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +30 -5
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +25 -16
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js +18 -12
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +40 -22
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingIndicator.js +8 -2
- package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +3 -1
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +45 -40
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +73 -56
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/i18n/es.json +21 -21
- package/lib/commonjs/i18n/fr.json +21 -21
- package/lib/commonjs/i18n/he.json +21 -21
- package/lib/commonjs/i18n/hi.json +22 -22
- package/lib/commonjs/i18n/it.json +22 -22
- package/lib/commonjs/i18n/ja.json +23 -23
- package/lib/commonjs/i18n/ko.json +23 -23
- package/lib/commonjs/i18n/nl.json +23 -23
- package/lib/commonjs/i18n/pt-BR.json +23 -23
- package/lib/commonjs/i18n/ru.json +23 -23
- package/lib/commonjs/i18n/tr.json +23 -23
- package/lib/commonjs/utils/addReactionToLocalState.js +3 -2
- package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Gallery.js +6 -7
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +30 -5
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +25 -16
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/useAppSettings.js +18 -12
- package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +40 -22
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/Indicators/LoadingIndicator.js +8 -2
- package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/SendButton.js +1 -1
- package/lib/module/components/MessageInput/SendButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +3 -1
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +45 -40
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +73 -56
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/i18n/es.json +21 -21
- package/lib/module/i18n/fr.json +21 -21
- package/lib/module/i18n/he.json +21 -21
- package/lib/module/i18n/hi.json +22 -22
- package/lib/module/i18n/it.json +22 -22
- package/lib/module/i18n/ja.json +23 -23
- package/lib/module/i18n/ko.json +23 -23
- package/lib/module/i18n/nl.json +23 -23
- package/lib/module/i18n/pt-BR.json +23 -23
- package/lib/module/i18n/ru.json +23 -23
- package/lib/module/i18n/tr.json +23 -23
- package/lib/module/utils/addReactionToLocalState.js +3 -2
- package/lib/module/utils/addReactionToLocalState.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +3 -1
- package/lib/typescript/i18n/es.json +21 -21
- package/lib/typescript/i18n/fr.json +21 -21
- package/lib/typescript/i18n/he.json +21 -21
- package/lib/typescript/i18n/hi.json +22 -22
- package/lib/typescript/i18n/it.json +22 -22
- package/lib/typescript/i18n/ja.json +23 -23
- package/lib/typescript/i18n/ko.json +23 -23
- package/lib/typescript/i18n/nl.json +23 -23
- package/lib/typescript/i18n/pt-BR.json +23 -23
- package/lib/typescript/i18n/ru.json +23 -23
- package/lib/typescript/i18n/tr.json +23 -23
- package/package.json +1 -1
- package/src/components/Attachment/Gallery.tsx +9 -9
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +1 -1
- package/src/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.tsx +24 -2
- package/src/components/Chat/Chat.tsx +17 -6
- package/src/components/Chat/hooks/useAppSettings.ts +3 -1
- package/src/components/ImageGallery/ImageGallery.tsx +26 -3
- package/src/components/Indicators/LoadingIndicator.tsx +3 -3
- package/src/components/MessageInput/SendButton.tsx +1 -1
- package/src/components/MessageInput/SendMessageDisallowedIndicator.tsx +2 -1
- package/src/components/MessageList/MessageList.tsx +19 -13
- package/src/contexts/messageInputContext/MessageInputContext.tsx +9 -3
- package/src/i18n/es.json +21 -21
- package/src/i18n/fr.json +21 -21
- package/src/i18n/he.json +21 -21
- package/src/i18n/hi.json +22 -22
- package/src/i18n/it.json +22 -22
- package/src/i18n/ja.json +23 -23
- package/src/i18n/ko.json +23 -23
- package/src/i18n/nl.json +23 -23
- package/src/i18n/pt-BR.json +23 -23
- package/src/i18n/ru.json +23 -23
- package/src/i18n/tr.json +23 -23
- package/src/utils/addReactionToLocalState.ts +7 -2
- package/src/version.json +1 -1
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Antwoord",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 thread antwoord",
|
|
4
4
|
"Allow access to your Gallery": "",
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Weet je het zeker?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Denk na over hoe jouw opmerking anderen zou kunnen laten voelen en zorg ervoor dat je onze Community-richtlijnen volgt",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Bericht aanpassen",
|
|
20
|
+
"Emoji matching": "Emoji-overeenkomsten",
|
|
21
21
|
"Empty message...": "Leeg bericht...",
|
|
22
22
|
"Error loading": "Probleem bij het laden",
|
|
23
23
|
"Error loading channel list...": "Probleem bij het laden van de kanalen...",
|
|
24
24
|
"Error loading messages for this channel...": "Probleem bij het laden van de berichten in dit kanaal...",
|
|
25
25
|
"Error while loading, please reload/refresh": "Probleem bij het laden, probeer opnieuw",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"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?": "Wat dacht je ervan om je eerste bericht naar een vriend te sturen?",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Directe Opdrachten",
|
|
32
32
|
"Let's start chatting!": "Laten we beginnen met chatten!",
|
|
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": "
|
|
33
|
+
"Links are disabled": "Het versturen van links staat uit",
|
|
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.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
|
|
38
|
+
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "Bericht verwijderd",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
@@ -47,33 +47,33 @@
|
|
|
47
47
|
"Photo": "Foto",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "Opnieuw Verbinding Maken...",
|
|
54
54
|
"Reply": "",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "",
|
|
57
|
-
"Search GIFs": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
59
|
+
"Send Anyway": "Toch verzenden",
|
|
60
|
+
"Send a message": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
|
|
62
|
+
"Slow mode ON": "",
|
|
63
63
|
"The message has been reported to a moderator.": "",
|
|
64
64
|
"Thread Reply": "",
|
|
65
65
|
"Unblock User": "",
|
|
66
66
|
"Unknown User": "",
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "Video",
|
|
71
71
|
"You": "U",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
73
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
|
|
77
77
|
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
78
78
|
"🏙 Attachment...": "🏙 Bijlage..."
|
|
79
79
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Resposta",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 Resposta de Thread",
|
|
4
4
|
"Allow access to your Gallery": "",
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Tem certeza?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Considere como seu comentário pode fazer os outros se sentirem e certifique-se de seguir nossas Diretrizes da Comunidade",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Editando Mensagem",
|
|
20
|
+
"Emoji matching": "Correspondência de Emoji",
|
|
21
21
|
"Empty message...": "Mensagem vazia...",
|
|
22
22
|
"Error loading": "Erro ao carregar",
|
|
23
23
|
"Error loading channel list...": "Erro ao carregar lista de canais...",
|
|
24
24
|
"Error loading messages for this channel...": "Erro ao carregar mensagens para este canal...",
|
|
25
25
|
"Error while loading, please reload/refresh": "Erro ao carregar, por favor recarregue/atualize",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"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?": "Que tal enviar sua primeira mensagem para um amigo?",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Comandos Instantâneos",
|
|
32
32
|
"Let's start chatting!": "Vamos começar a conversar!",
|
|
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": "
|
|
33
|
+
"Links are disabled": "Links estão desabilitados",
|
|
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.": "Limite máximo de tamanho de arquivo atingido. Por favor, faça o upload de um arquivo abaixo de {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
|
|
38
|
+
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "Mensagem excluída",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
@@ -47,33 +47,33 @@
|
|
|
47
47
|
"Photo": "Foto",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "Reconectando...",
|
|
54
54
|
"Reply": "",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "",
|
|
57
|
-
"Search GIFs": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
59
|
+
"Send Anyway": "Enviar de qualquer maneira",
|
|
60
|
+
"Send a message": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "Não é permitido enviar links nesta conversa",
|
|
62
|
+
"Slow mode ON": "",
|
|
63
63
|
"The message has been reported to a moderator.": "",
|
|
64
64
|
"Thread Reply": "",
|
|
65
65
|
"Unblock User": "",
|
|
66
66
|
"Unknown User": "",
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "Vídeo",
|
|
71
71
|
"You": "Você",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
73
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e mais {{ nonSelfUserLength }} pessoa(s) estão digitando",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Respostas",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{ replyCount }} Respostas de Thread",
|
|
77
77
|
"{{ user }} is typing": "{{ user }} está digitando",
|
|
78
78
|
"🏙 Attachment...": "🏙 Anexo..."
|
|
79
79
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Ответ",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 тема Ответить",
|
|
4
4
|
"Allow access to your Gallery": "",
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Вы уверены?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Обдумайте, как ваш комментарий может повлиять на других, и убедитесь, что вы следуете нашим правилам сообщества",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Редактирование сообщения",
|
|
20
|
+
"Emoji matching": "Соответствие эмодзи",
|
|
21
21
|
"Empty message...": "Пустое сообщение...",
|
|
22
22
|
"Error loading": "Ошибка при загрузке",
|
|
23
23
|
"Error loading channel list...": "Ошибка загрузки списка каналов...",
|
|
24
24
|
"Error loading messages for this channel...": "Ошибка загрузки сообщений для этого канала...",
|
|
25
25
|
"Error while loading, please reload/refresh": "Ошибка загрузки, пожалуйста перезагрузите или обновите",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"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?": "Как насчет отправки первого сообщения другу?",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Мгновенные Команды",
|
|
32
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": "
|
|
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.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} МБ.",
|
|
38
|
+
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "Сообщение удалено",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
@@ -47,33 +47,33 @@
|
|
|
47
47
|
"Photo": "Фото",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "Переподключение...",
|
|
54
54
|
"Reply": "",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "",
|
|
57
|
-
"Search GIFs": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
59
|
+
"Send Anyway": "Всё равно отправить",
|
|
60
|
+
"Send a message": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
|
|
62
|
+
"Slow mode ON": "",
|
|
63
63
|
"The message has been reported to a moderator.": "",
|
|
64
64
|
"Thread Reply": "",
|
|
65
65
|
"Unblock User": "",
|
|
66
66
|
"Unknown User": "",
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "видео",
|
|
71
71
|
"You": "Вы",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
73
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
|
|
77
77
|
"{{ user }} is typing": "{{ user }} пишет",
|
|
78
78
|
"🏙 Attachment...": "🏙 Вложение..."
|
|
79
79
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Cevap",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 Konu Yanıtı",
|
|
4
4
|
"Allow access to your Gallery": "",
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Emin misiniz?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Yorumunuzun diğerlerini nasıl hissettirebileceğini düşünün ve topluluk kurallarımızı takip ettiğinizden emin olun",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Mesaj Düzenleniyor",
|
|
20
|
+
"Emoji matching": "Emoji eşleştirme",
|
|
21
21
|
"Empty message...": "Boş mesaj...",
|
|
22
22
|
"Error loading": "Yükleme hatası",
|
|
23
23
|
"Error loading channel list...": "Kanal listesi yüklenirken hata oluştu...",
|
|
24
24
|
"Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
|
|
25
25
|
"Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"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?": "İlk mesajınızı bir arkadaşınıza göndermeye ne dersiniz?",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Anlık Komutlar",
|
|
32
32
|
"Let's start chatting!": "Haydi sohbete başlayalım!",
|
|
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": "
|
|
33
|
+
"Links are disabled": "Bağlantılar devre dışı",
|
|
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.": "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.",
|
|
38
|
+
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "Mesaj silindi",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
@@ -47,33 +47,33 @@
|
|
|
47
47
|
"Photo": "Fotoğraf",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "Yeniden Bağlanılıyor...",
|
|
54
54
|
"Reply": "",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "",
|
|
57
|
-
"Search GIFs": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
59
|
+
"Send Anyway": "Yine de Gönder",
|
|
60
|
+
"Send a message": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
|
|
62
|
+
"Slow mode ON": "",
|
|
63
63
|
"The message has been reported to a moderator.": "",
|
|
64
64
|
"Thread Reply": "",
|
|
65
65
|
"Unblock User": "",
|
|
66
66
|
"Unknown User": "",
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "Video",
|
|
71
71
|
"You": "Sen",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
73
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
77
77
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
78
78
|
"🏙 Attachment...": "🏙 Ek..."
|
|
79
79
|
}
|
|
@@ -42,7 +42,7 @@ var addReactionToLocalState = function addReactionToLocalState(_ref) {
|
|
|
42
42
|
message.latest_reactions = message.latest_reactions.filter(function (r) {
|
|
43
43
|
return r.user_id !== user.id;
|
|
44
44
|
});
|
|
45
|
-
if (currentReaction && message.reaction_counts) {
|
|
45
|
+
if (currentReaction && message.reaction_counts && message.reaction_counts[currentReaction.type] && message.reaction_counts[currentReaction.type] > 0) {
|
|
46
46
|
message.reaction_counts[currentReaction.type] = message.reaction_counts[currentReaction.type] - 1;
|
|
47
47
|
}
|
|
48
48
|
if (!message.reaction_counts) {
|
|
@@ -55,7 +55,8 @@ var addReactionToLocalState = function addReactionToLocalState(_ref) {
|
|
|
55
55
|
if (!message.reaction_counts) {
|
|
56
56
|
message.reaction_counts = (0, _defineProperty2["default"])({}, reactionType, 1);
|
|
57
57
|
} else {
|
|
58
|
-
|
|
58
|
+
var _message$reaction_cou4;
|
|
59
|
+
message.reaction_counts[reactionType] = (((_message$reaction_cou4 = message.reaction_counts) == null ? void 0 : _message$reaction_cou4[reactionType]) || 0) + 1;
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
message.own_reactions = [].concat((0, _toConsumableArray2["default"])(message.own_reactions), [reaction]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_apis","require","_insertReaction","addReactionToLocalState","_ref","channel","enforceUniqueReaction","messageId","reactionType","user","message","state","messages","find","_ref2","id","reaction","created_at","Date","toISOString","message_id","type","updated_at","user_id","hasOwnReaction","own_reactions","length","latest_reactions","currentReaction","filter","r","reaction_counts","_defineProperty2","_message$reaction_cou2","concat","_toConsumableArray2","updateReaction","insertReaction","exports"],"sources":["addReactionToLocalState.ts"],"sourcesContent":["import type { Channel, ReactionResponse, UserResponse } from 'stream-chat';\n\nimport { updateReaction } from '../store/apis';\nimport { insertReaction } from '../store/apis/insertReaction';\n\nimport type { DefaultStreamChatGenerics } from '../types/types';\n\nexport const addReactionToLocalState = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n channel,\n enforceUniqueReaction,\n messageId,\n reactionType,\n user,\n}: {\n channel: Channel<StreamChatGenerics>;\n enforceUniqueReaction: boolean;\n messageId: string;\n reactionType: string;\n user: UserResponse<StreamChatGenerics>;\n}) => {\n const message = channel.state.messages.find(({ id }) => id === messageId);\n\n if (!message) return;\n\n const reaction: ReactionResponse = {\n created_at: new Date().toISOString(),\n message_id: messageId,\n type: reactionType,\n updated_at: new Date().toISOString(),\n user,\n user_id: user?.id,\n };\n\n const hasOwnReaction = message.own_reactions && message.own_reactions.length > 0;\n if (!message.own_reactions) {\n message.own_reactions = [];\n }\n\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n\n if (enforceUniqueReaction) {\n const currentReaction = message.own_reactions[0];\n message.own_reactions = [];\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n message.latest_reactions = message.latest_reactions.filter((r) => r.user_id !== user.id);\n if (currentReaction
|
|
1
|
+
{"version":3,"names":["_apis","require","_insertReaction","addReactionToLocalState","_ref","channel","enforceUniqueReaction","messageId","reactionType","user","message","state","messages","find","_ref2","id","reaction","created_at","Date","toISOString","message_id","type","updated_at","user_id","hasOwnReaction","own_reactions","length","latest_reactions","currentReaction","filter","r","reaction_counts","_defineProperty2","_message$reaction_cou2","_message$reaction_cou4","concat","_toConsumableArray2","updateReaction","insertReaction","exports"],"sources":["addReactionToLocalState.ts"],"sourcesContent":["import type { Channel, ReactionResponse, UserResponse } from 'stream-chat';\n\nimport { updateReaction } from '../store/apis';\nimport { insertReaction } from '../store/apis/insertReaction';\n\nimport type { DefaultStreamChatGenerics } from '../types/types';\n\nexport const addReactionToLocalState = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n channel,\n enforceUniqueReaction,\n messageId,\n reactionType,\n user,\n}: {\n channel: Channel<StreamChatGenerics>;\n enforceUniqueReaction: boolean;\n messageId: string;\n reactionType: string;\n user: UserResponse<StreamChatGenerics>;\n}) => {\n const message = channel.state.messages.find(({ id }) => id === messageId);\n\n if (!message) return;\n\n const reaction: ReactionResponse = {\n created_at: new Date().toISOString(),\n message_id: messageId,\n type: reactionType,\n updated_at: new Date().toISOString(),\n user,\n user_id: user?.id,\n };\n\n const hasOwnReaction = message.own_reactions && message.own_reactions.length > 0;\n if (!message.own_reactions) {\n message.own_reactions = [];\n }\n\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n\n if (enforceUniqueReaction) {\n const currentReaction = message.own_reactions[0];\n message.own_reactions = [];\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n message.latest_reactions = message.latest_reactions.filter((r) => r.user_id !== user.id);\n if (\n currentReaction &&\n message.reaction_counts &&\n message.reaction_counts[currentReaction.type] &&\n message.reaction_counts[currentReaction.type] > 0\n ) {\n message.reaction_counts[currentReaction.type] =\n message.reaction_counts[currentReaction.type] - 1;\n }\n\n if (!message.reaction_counts) {\n message.reaction_counts = {\n [reactionType]: 1,\n };\n } else {\n message.reaction_counts[reactionType] = (message.reaction_counts?.[reactionType] || 0) + 1;\n }\n } else {\n if (!message.reaction_counts) {\n message.reaction_counts = {\n [reactionType]: 1,\n };\n } else {\n message.reaction_counts[reactionType] = (message.reaction_counts?.[reactionType] || 0) + 1;\n }\n }\n\n message.own_reactions = [...message.own_reactions, reaction];\n message.latest_reactions = [...message.latest_reactions, reaction];\n\n if (enforceUniqueReaction && hasOwnReaction) {\n updateReaction({\n message,\n reaction,\n });\n } else {\n insertReaction({\n reaction,\n });\n }\n};\n"],"mappings":";;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAIO,IAAME,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAAC,IAAA,EAc9B;EAAA,IAXJC,OAAO,GAAAD,IAAA,CAAPC,OAAO;IACPC,qBAAqB,GAAAF,IAAA,CAArBE,qBAAqB;IACrBC,SAAS,GAAAH,IAAA,CAATG,SAAS;IACTC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BAAqB,IAAIkB,cAAc,EAAE;IAC3C,IAAAa,oBAAc,EAAC;MACb3B,OAAO,EAAPA,OAAO;MACPM,QAAQ,EAARA;IACF,CAAC,CAAC;EACJ,CAAC,MAAM;IACL,IAAAsB,8BAAc,EAAC;MACbtB,QAAQ,EAARA;IACF,CAAC,CAAC;EACJ;AACF,CAAC;AAACuB,OAAA,CAAApC,uBAAA,GAAAA,uBAAA"}
|
|
@@ -207,13 +207,12 @@ var GalleryThumbnail = function GalleryThumbnail(_ref) {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
var defaultOnPress = function defaultOnPress() {
|
|
210
|
-
if (thumbnail.
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
openImageViewer();
|
|
210
|
+
if (thumbnail.url) {
|
|
211
|
+
if (thumbnail.type === 'video' && !(0, _native.isVideoPackageAvailable)()) {
|
|
212
|
+
(0, _openUrlSafely.openUrlSafely)(thumbnail.url);
|
|
213
|
+
} else {
|
|
214
|
+
openImageViewer();
|
|
215
|
+
}
|
|
217
216
|
}
|
|
218
217
|
};
|
|
219
218
|
return _react["default"].createElement(_reactNative.TouchableOpacity, (0, _extends2["default"])({
|