stream-chat-react-native-core 5.26.1-beta.3 → 5.27.0-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/AttachmentPicker/AttachmentPicker.js +7 -11
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +27 -0
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -0
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +15 -11
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/i18n/es.json +38 -38
- package/lib/commonjs/i18n/fr.json +38 -38
- package/lib/commonjs/i18n/he.json +38 -38
- package/lib/commonjs/i18n/hi.json +38 -38
- package/lib/commonjs/i18n/it.json +38 -38
- package/lib/commonjs/i18n/ja.json +38 -38
- package/lib/commonjs/i18n/ko.json +38 -38
- package/lib/commonjs/i18n/nl.json +38 -38
- package/lib/commonjs/i18n/pt-BR.json +38 -38
- package/lib/commonjs/i18n/ru.json +38 -38
- package/lib/commonjs/i18n/tr.json +38 -38
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- 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/AttachmentPicker/AttachmentPicker.js +7 -11
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +27 -0
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -0
- package/lib/module/contexts/overlayContext/OverlayProvider.js +15 -11
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/i18n/es.json +38 -38
- package/lib/module/i18n/fr.json +38 -38
- package/lib/module/i18n/he.json +38 -38
- package/lib/module/i18n/hi.json +38 -38
- package/lib/module/i18n/it.json +38 -38
- package/lib/module/i18n/ja.json +38 -38
- package/lib/module/i18n/ko.json +38 -38
- package/lib/module/i18n/nl.json +38 -38
- package/lib/module/i18n/pt-BR.json +38 -38
- package/lib/module/i18n/ru.json +38 -38
- package/lib/module/i18n/tr.json +38 -38
- package/lib/module/index.js +7 -0
- package/lib/module/index.js.map +1 -1
- 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/components/AttachmentPicker/AttachmentPicker.d.ts +4 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts +2 -0
- package/lib/typescript/i18n/es.json +38 -38
- package/lib/typescript/i18n/fr.json +38 -38
- package/lib/typescript/i18n/he.json +38 -38
- package/lib/typescript/i18n/hi.json +38 -38
- package/lib/typescript/i18n/it.json +38 -38
- package/lib/typescript/i18n/ja.json +38 -38
- package/lib/typescript/i18n/ko.json +38 -38
- package/lib/typescript/i18n/nl.json +38 -38
- package/lib/typescript/i18n/pt-BR.json +38 -38
- package/lib/typescript/i18n/ru.json +38 -38
- package/lib/typescript/i18n/tr.json +38 -38
- package/lib/typescript/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +8 -19
- package/src/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.tsx +10 -0
- package/src/contexts/overlayContext/OverlayProvider.tsx +3 -0
- package/src/i18n/es.json +38 -38
- package/src/i18n/fr.json +38 -38
- package/src/i18n/he.json +38 -38
- package/src/i18n/hi.json +38 -38
- package/src/i18n/it.json +38 -38
- package/src/i18n/ja.json +38 -38
- package/src/i18n/ko.json +38 -38
- package/src/i18n/nl.json +38 -38
- package/src/i18n/pt-BR.json +38 -38
- package/src/i18n/ru.json +38 -38
- package/src/i18n/tr.json +38 -38
- package/src/index.ts +1 -1
- package/src/utils/addReactionToLocalState.ts +7 -2
- package/src/version.json +1 -1
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "Tem certeza de que deseja excluir esta mensagem permanentemente?",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Tem certeza?",
|
|
9
9
|
"Block User": "Bloquear Usuário",
|
|
10
10
|
"Cancel": "Cancelar",
|
|
11
11
|
"Cannot Flag Message": "Não é possível reportar a mensagem",
|
|
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": "Copiar Mensagem",
|
|
14
14
|
"Delete": "Excluir",
|
|
15
15
|
"Delete Message": "Excluir Mensagem",
|
|
16
|
-
"Device camera is used to take photos or videos.": "
|
|
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?": "Deseja enviar uma cópia desta mensagem para um moderador para investigação adicional?",
|
|
18
18
|
"Edit Message": "Editar Mensagem",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Editando Mensagem",
|
|
20
|
+
"Emoji matching": "Correspondência de Emoji",
|
|
21
21
|
"Empty message...": "",
|
|
22
22
|
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
|
-
"Error loading messages for this channel...": "",
|
|
24
|
+
"Error loading messages for this channel...": "Erro ao carregar mensagens para este canal...",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "Reportar",
|
|
28
28
|
"Flag Message": "Reportar Mensagem",
|
|
29
29
|
"Flag action failed either due to a network issue or the message is already flagged": "A ação para reportar a mensagem falhou devido a um problema de rede ou a mensagem já foi reportada.",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Comandos Instantâneos",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
33
|
+
"Links are disabled": "Links estão desabilitados",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
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": "",
|
|
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
|
+
"Message deleted": "Mensagem excluída",
|
|
40
40
|
"Message flagged": "Mensagem sinalizada",
|
|
41
41
|
"Mute User": "Silenciar Usuário",
|
|
42
|
-
"Not supported": "",
|
|
42
|
+
"Not supported": "Não suportado",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "Ok",
|
|
45
45
|
"Only visible to you": "",
|
|
46
|
-
"Open Settings": "
|
|
47
|
-
"Photo": "",
|
|
48
|
-
"Photos and Videos": "
|
|
46
|
+
"Open Settings": "",
|
|
47
|
+
"Photo": "Foto",
|
|
48
|
+
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "Fixar na Conversa",
|
|
50
50
|
"Pinned by": "",
|
|
51
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
52
|
-
"Please select a channel first": "",
|
|
53
|
-
"Reconnecting...": "",
|
|
51
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
+
"Please select a channel first": "Por favor, selecione um canal primeiro",
|
|
53
|
+
"Reconnecting...": "Reconectando...",
|
|
54
54
|
"Reply": "Responder",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "Reenviar",
|
|
57
|
-
"Search GIFs": "
|
|
58
|
-
"Select More Photos": "
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
|
+
"Select More Photos": "",
|
|
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.": "A mensagem foi relatada a um moderador.",
|
|
64
64
|
"Thread Reply": "Respostas de Tópico",
|
|
65
65
|
"Unblock User": "Desbloquear Usuário",
|
|
66
|
-
"Unknown User": "
|
|
66
|
+
"Unknown User": "",
|
|
67
67
|
"Unmute User": "Remover usuário do modo silencioso",
|
|
68
68
|
"Unpin from Conversation": "Desmarcar como fixado na conversa",
|
|
69
69
|
"Unread Messages": "",
|
|
70
|
-
"Video": "",
|
|
71
|
-
"You": "",
|
|
70
|
+
"Video": "Vídeo",
|
|
71
|
+
"You": "Você",
|
|
72
72
|
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
|
-
"{{ index }} of {{ photoLength }}": "
|
|
75
|
-
"{{ replyCount }} Replies": "
|
|
76
|
-
"{{ replyCount }} Thread Replies": "
|
|
77
|
-
"{{ user }} is typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e mais {{ nonSelfUserLength }} pessoa(s) estão digitando",
|
|
74
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
75
|
+
"{{ replyCount }} Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} está digitando",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
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
|
-
"Device camera is used to take photos or videos.": "
|
|
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
|
-
"Error loading messages for this channel...": "",
|
|
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": "",
|
|
33
|
+
"Links are disabled": "Ссылки отключены",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
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": "",
|
|
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
|
+
"Message deleted": "Сообщение удалено",
|
|
40
40
|
"Message flagged": "Сообщение отмечено",
|
|
41
41
|
"Mute User": "Отключить пользователя",
|
|
42
|
-
"Not supported": "",
|
|
42
|
+
"Not supported": "не поддерживается",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "Oк",
|
|
45
45
|
"Only visible to you": "",
|
|
46
|
-
"Open Settings": "
|
|
47
|
-
"Photo": "",
|
|
48
|
-
"Photos and Videos": "
|
|
46
|
+
"Open Settings": "",
|
|
47
|
+
"Photo": "Фото",
|
|
48
|
+
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "Закрепить к беседе",
|
|
50
50
|
"Pinned by": "",
|
|
51
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
52
|
-
"Please select a channel first": "",
|
|
53
|
-
"Reconnecting...": "",
|
|
51
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
+
"Please select a channel first": "Пожалуйста, сначала выберите канал",
|
|
53
|
+
"Reconnecting...": "Переподключение...",
|
|
54
54
|
"Reply": "Ответить",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "Отправить",
|
|
57
|
-
"Search GIFs": "
|
|
58
|
-
"Select More Photos": "
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
|
+
"Select More Photos": "",
|
|
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
|
-
"Unknown User": "
|
|
66
|
+
"Unknown User": "",
|
|
67
67
|
"Unmute User": "Включить микрофон",
|
|
68
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
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
|
-
"{{ index }} of {{ photoLength }}": "
|
|
75
|
-
"{{ replyCount }} Replies": "
|
|
76
|
-
"{{ replyCount }} Thread Replies": "
|
|
77
|
-
"{{ user }} is typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
74
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
75
|
+
"{{ replyCount }} Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} пишет",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Emin misiniz?",
|
|
9
9
|
"Block User": "Kullanıcıyı engelle",
|
|
10
10
|
"Cancel": "İptal",
|
|
11
11
|
"Cannot Flag Message": "Raporlama Başarısız",
|
|
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": "Mesajı Kopyala",
|
|
14
14
|
"Delete": "Sil",
|
|
15
15
|
"Delete Message": "Mesajı Sil",
|
|
16
|
-
"Device camera is used to take photos or videos.": "
|
|
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?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
|
|
18
18
|
"Edit Message": "Mesajı Düzenle",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Mesaj Düzenleniyor",
|
|
20
|
+
"Emoji matching": "Emoji eşleştirme",
|
|
21
21
|
"Empty message...": "",
|
|
22
22
|
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
|
-
"Error loading messages for this channel...": "",
|
|
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": "",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "Raporla",
|
|
28
28
|
"Flag Message": "Mesajı Raporla",
|
|
29
29
|
"Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Anlık Komutlar",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
33
|
+
"Links are disabled": "Bağlantılar devre dışı",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
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": "",
|
|
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
|
+
"Message deleted": "Mesaj silindi",
|
|
40
40
|
"Message flagged": "Mesaj işaretlendi",
|
|
41
41
|
"Mute User": "Kullanıcıyı sessize al",
|
|
42
|
-
"Not supported": "",
|
|
42
|
+
"Not supported": "Desteklenmiyor",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "Tamam",
|
|
45
45
|
"Only visible to you": "",
|
|
46
|
-
"Open Settings": "
|
|
47
|
-
"Photo": "",
|
|
48
|
-
"Photos and Videos": "
|
|
46
|
+
"Open Settings": "",
|
|
47
|
+
"Photo": "Fotoğraf",
|
|
48
|
+
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "Konuşmaya sabitle",
|
|
50
50
|
"Pinned by": "",
|
|
51
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
52
|
-
"Please select a channel first": "",
|
|
53
|
-
"Reconnecting...": "",
|
|
51
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
+
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
53
|
+
"Reconnecting...": "Yeniden Bağlanılıyor...",
|
|
54
54
|
"Reply": "Yanıtla",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "Yeniden gönder",
|
|
57
|
-
"Search GIFs": "
|
|
58
|
-
"Select More Photos": "
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
|
+
"Select More Photos": "",
|
|
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.": "Mesaj moderatöre bildirildi.",
|
|
64
64
|
"Thread Reply": "Konu Yanıtı",
|
|
65
65
|
"Unblock User": "Kullanıcının engelini kaldır",
|
|
66
|
-
"Unknown User": "
|
|
66
|
+
"Unknown User": "",
|
|
67
67
|
"Unmute User": "Kullanıcının sesini aç",
|
|
68
68
|
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
69
69
|
"Unread Messages": "",
|
|
70
|
-
"Video": "",
|
|
71
|
-
"You": "",
|
|
70
|
+
"Video": "Video",
|
|
71
|
+
"You": "Sen",
|
|
72
72
|
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
|
-
"{{ index }} of {{ photoLength }}": "
|
|
75
|
-
"{{ replyCount }} Replies": "
|
|
76
|
-
"{{ replyCount }} Thread Replies": "
|
|
77
|
-
"{{ user }} is typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
74
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
75
|
+
"{{ replyCount }} Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './components';
|
|
2
2
|
export * from './hooks';
|
|
3
|
-
export { registerNativeHandlers, NetInfo } from './native';
|
|
3
|
+
export { registerNativeHandlers, NetInfo, iOS14RefreshGallerySelection } from './native';
|
|
4
4
|
export * from './contexts';
|
|
5
5
|
export * from './emoji-data';
|
|
6
6
|
export * from './icons';
|
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.
|
|
4
|
+
"version": "5.27.0-beta.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
BackHandler,
|
|
4
|
-
Button,
|
|
5
|
-
Dimensions,
|
|
6
|
-
Keyboard,
|
|
7
|
-
Platform,
|
|
8
|
-
StatusBar,
|
|
9
|
-
StyleSheet,
|
|
10
|
-
} from 'react-native';
|
|
2
|
+
import { BackHandler, Dimensions, Keyboard, Platform, StatusBar, StyleSheet } from 'react-native';
|
|
11
3
|
|
|
12
4
|
import BottomSheet, { BottomSheetFlatList, BottomSheetHandleProps } from '@gorhom/bottom-sheet';
|
|
13
5
|
import dayjs from 'dayjs';
|
|
@@ -19,13 +11,8 @@ import { renderAttachmentPickerItem } from './components/AttachmentPickerItem';
|
|
|
19
11
|
|
|
20
12
|
import { useAttachmentPickerContext } from '../../contexts/attachmentPickerContext/AttachmentPickerContext';
|
|
21
13
|
import { useTheme } from '../../contexts/themeContext/ThemeContext';
|
|
22
|
-
import { useTranslationContext } from '../../contexts/translationContext/TranslationContext';
|
|
23
14
|
import { useViewport } from '../../hooks/useViewport';
|
|
24
|
-
import {
|
|
25
|
-
getPhotos,
|
|
26
|
-
iOS14RefreshGallerySelection,
|
|
27
|
-
oniOS14GalleryLibrarySelectionChange,
|
|
28
|
-
} from '../../native';
|
|
15
|
+
import { getPhotos, oniOS14GalleryLibrarySelectionChange } from '../../native';
|
|
29
16
|
import type { Asset } from '../../types/types';
|
|
30
17
|
|
|
31
18
|
dayjs.extend(duration);
|
|
@@ -57,6 +44,10 @@ export type AttachmentPickerProps = {
|
|
|
57
44
|
* **Default** [AttachmentPickerErrorImage](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerErrorImage.tsx)
|
|
58
45
|
*/
|
|
59
46
|
AttachmentPickerErrorImage: React.ComponentType;
|
|
47
|
+
/**
|
|
48
|
+
* Custom UI Component to render select more photos for selected gallery access in iOS.
|
|
49
|
+
*/
|
|
50
|
+
AttachmentPickerIOSSelectMorePhotos: React.ComponentType;
|
|
60
51
|
/**
|
|
61
52
|
* Custom UI component to render overlay component, that shows up on top of [selected image](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) (with tick mark)
|
|
62
53
|
*
|
|
@@ -82,6 +73,7 @@ export const AttachmentPicker = React.forwardRef(
|
|
|
82
73
|
attachmentPickerErrorButtonText,
|
|
83
74
|
AttachmentPickerErrorImage,
|
|
84
75
|
attachmentPickerErrorText,
|
|
76
|
+
AttachmentPickerIOSSelectMorePhotos,
|
|
85
77
|
ImageOverlaySelectedComponent,
|
|
86
78
|
numberOfAttachmentImagesToLoadPerCall,
|
|
87
79
|
numberOfAttachmentPickerImageColumns,
|
|
@@ -117,7 +109,6 @@ export const AttachmentPicker = React.forwardRef(
|
|
|
117
109
|
const [loadingPhotos, setLoadingPhotos] = useState(false);
|
|
118
110
|
const [photos, setPhotos] = useState<Asset[]>([]);
|
|
119
111
|
const attemptedToLoadPhotosOnOpenRef = useRef(false);
|
|
120
|
-
const { t } = useTranslationContext();
|
|
121
112
|
|
|
122
113
|
const getMorePhotos = useCallback(async () => {
|
|
123
114
|
if (
|
|
@@ -323,9 +314,7 @@ export const AttachmentPicker = React.forwardRef(
|
|
|
323
314
|
ref={ref}
|
|
324
315
|
snapPoints={snapPoints}
|
|
325
316
|
>
|
|
326
|
-
{iOSLimited &&
|
|
327
|
-
<Button onPress={iOS14RefreshGallerySelection} title={t('Select More Photos')} />
|
|
328
|
-
)}
|
|
317
|
+
{iOSLimited && <AttachmentPickerIOSSelectMorePhotos />}
|
|
329
318
|
<BottomSheetFlatList
|
|
330
319
|
contentContainerStyle={[
|
|
331
320
|
styles.container,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Button } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
5
|
+
import { iOS14RefreshGallerySelection } from '../../../native';
|
|
6
|
+
|
|
7
|
+
export const AttachmentPickerIOSSelectMorePhotos = () => {
|
|
8
|
+
const { t } = useTranslationContext();
|
|
9
|
+
return <Button onPress={iOS14RefreshGallerySelection} title={t('Select More Photos')} />;
|
|
10
|
+
};
|
|
@@ -18,6 +18,7 @@ import { AttachmentPicker } from '../../components/AttachmentPicker/AttachmentPi
|
|
|
18
18
|
import { AttachmentPickerBottomSheetHandle as DefaultAttachmentPickerBottomSheetHandle } from '../../components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle';
|
|
19
19
|
import { AttachmentPickerError as DefaultAttachmentPickerError } from '../../components/AttachmentPicker/components/AttachmentPickerError';
|
|
20
20
|
import { AttachmentPickerErrorImage as DefaultAttachmentPickerErrorImage } from '../../components/AttachmentPicker/components/AttachmentPickerErrorImage';
|
|
21
|
+
import { AttachmentPickerIOSSelectMorePhotos as DefaultAttachmentPickerIOSSelectMorePhotos } from '../../components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos';
|
|
21
22
|
import { CameraSelectorIcon as DefaultCameraSelectorIcon } from '../../components/AttachmentPicker/components/CameraSelectorIcon';
|
|
22
23
|
import { FileSelectorIcon as DefaultFileSelectorIcon } from '../../components/AttachmentPicker/components/FileSelectorIcon';
|
|
23
24
|
import { ImageOverlaySelectedComponent as DefaultImageOverlaySelectedComponent } from '../../components/AttachmentPicker/components/ImageOverlaySelectedComponent';
|
|
@@ -73,6 +74,7 @@ export const OverlayProvider = <
|
|
|
73
74
|
AttachmentPickerErrorImage = DefaultAttachmentPickerErrorImage,
|
|
74
75
|
attachmentPickerErrorText,
|
|
75
76
|
attachmentSelectionBarHeight,
|
|
77
|
+
AttachmentPickerIOSSelectMorePhotos = DefaultAttachmentPickerIOSSelectMorePhotos,
|
|
76
78
|
bottomInset,
|
|
77
79
|
CameraSelectorIcon = DefaultCameraSelectorIcon,
|
|
78
80
|
children,
|
|
@@ -132,6 +134,7 @@ export const OverlayProvider = <
|
|
|
132
134
|
attachmentPickerErrorButtonText,
|
|
133
135
|
AttachmentPickerErrorImage,
|
|
134
136
|
attachmentPickerErrorText,
|
|
137
|
+
AttachmentPickerIOSSelectMorePhotos,
|
|
135
138
|
attachmentSelectionBarHeight,
|
|
136
139
|
ImageOverlaySelectedComponent,
|
|
137
140
|
numberOfAttachmentImagesToLoadPerCall,
|
package/src/i18n/es.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "¿Estás seguro de que deseas eliminar permanentemente este mensaje?",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "¿Estás seguro?",
|
|
9
9
|
"Block User": "Bloquear usuario",
|
|
10
10
|
"Cancel": "Cancelar",
|
|
11
11
|
"Cannot Flag Message": "No se puede reportar el mensaje",
|
|
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": "Considera cómo tu comentario podría hacer sentir a los demás y asegúrate de seguir nuestras Normas de la Comunidad",
|
|
13
13
|
"Copy Message": "Copiar mensaje",
|
|
14
14
|
"Delete": "Eliminar",
|
|
15
15
|
"Delete Message": "Eliminar mensaje",
|
|
16
|
-
"Device camera is used to take photos or videos.": "
|
|
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?": "¿Deseas enviar una copia de este mensaje a un moderador para una investigación adicional?",
|
|
18
18
|
"Edit Message": "Editar mensaje",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Editando mensaje",
|
|
20
|
+
"Emoji matching": "Coincidencia de emoji",
|
|
21
21
|
"Empty message...": "",
|
|
22
22
|
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
|
-
"Error loading messages for this channel...": "",
|
|
24
|
+
"Error loading messages for this channel...": "Error al cargar los mensajes de este canal...",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "Reportar",
|
|
28
28
|
"Flag Message": "Reportar mensaje",
|
|
29
29
|
"Flag action failed either due to a network issue or the message is already flagged": "El reporte falló debido a un problema de red o el mensaje ya fue reportado.",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Comandos instantáneos",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
33
|
+
"Links are disabled": "Los enlaces están desactivados",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
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": "",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "El archivo supera el tamaño máximo permitido. Por favor, selecciona un archivo menor a {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
|
|
38
|
+
"Message Reactions": "",
|
|
39
|
+
"Message deleted": "Mensaje eliminado",
|
|
40
40
|
"Message flagged": "Mensaje reportado",
|
|
41
41
|
"Mute User": "Silenciar usuario",
|
|
42
|
-
"Not supported": "",
|
|
42
|
+
"Not supported": "No admitido",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "Aceptar",
|
|
45
45
|
"Only visible to you": "",
|
|
46
|
-
"Open Settings": "
|
|
47
|
-
"Photo": "",
|
|
48
|
-
"Photos and Videos": "
|
|
46
|
+
"Open Settings": "",
|
|
47
|
+
"Photo": "Foto",
|
|
48
|
+
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "Fijar a la conversación",
|
|
50
50
|
"Pinned by": "",
|
|
51
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
52
|
-
"Please select a channel first": "",
|
|
53
|
-
"Reconnecting...": "",
|
|
51
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
+
"Please select a channel first": "Por favor, selecciona primero un canal",
|
|
53
|
+
"Reconnecting...": "Reconectando...",
|
|
54
54
|
"Reply": "Responder",
|
|
55
|
-
"Reply to Message": "
|
|
55
|
+
"Reply to Message": "",
|
|
56
56
|
"Resend": "Reenviar",
|
|
57
|
-
"Search GIFs": "
|
|
58
|
-
"Select More Photos": "
|
|
59
|
-
"Send Anyway": "",
|
|
60
|
-
"Send a message": "
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
62
|
-
"Slow mode ON": "
|
|
57
|
+
"Search GIFs": "",
|
|
58
|
+
"Select More Photos": "",
|
|
59
|
+
"Send Anyway": "Enviar de todos modos",
|
|
60
|
+
"Send a message": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "No está permitido enviar enlaces en esta conversación",
|
|
62
|
+
"Slow mode ON": "",
|
|
63
63
|
"The message has been reported to a moderator.": "El mensaje ha sido reportado a un moderador.",
|
|
64
64
|
"Thread Reply": "Respuesta de hilo",
|
|
65
65
|
"Unblock User": "Desbloquear usuario",
|
|
66
|
-
"Unknown User": "
|
|
66
|
+
"Unknown User": "",
|
|
67
67
|
"Unmute User": "Activar sonido del usuario",
|
|
68
68
|
"Unpin from Conversation": "Desmarcar de la conversación",
|
|
69
69
|
"Unread Messages": "",
|
|
70
|
-
"Video": "",
|
|
71
|
-
"You": "",
|
|
70
|
+
"Video": "Video",
|
|
71
|
+
"You": "Tú",
|
|
72
72
|
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
|
-
"{{ index }} of {{ photoLength }}": "
|
|
75
|
-
"{{ replyCount }} Replies": "
|
|
76
|
-
"{{ replyCount }} Thread Replies": "
|
|
77
|
-
"{{ user }} is typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} y {{ nonSelfUserLength }} más están escribiendo",
|
|
74
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
75
|
+
"{{ replyCount }} Replies": "",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} está escribiendo",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|