stream-chat-react-native-core 5.21.0-beta.2 → 5.21.0-beta.3
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 +34 -17
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -0
- package/lib/commonjs/i18n/fr.json +33 -32
- package/lib/commonjs/i18n/he.json +1 -0
- package/lib/commonjs/i18n/hi.json +33 -32
- package/lib/commonjs/i18n/it.json +33 -32
- package/lib/commonjs/i18n/ja.json +1 -0
- package/lib/commonjs/i18n/ko.json +1 -0
- package/lib/commonjs/i18n/nl.json +33 -32
- package/lib/commonjs/i18n/ru.json +33 -32
- package/lib/commonjs/i18n/tr.json +33 -32
- package/lib/commonjs/native.js +6 -1
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +34 -17
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/i18n/en.json +1 -0
- package/lib/module/i18n/fr.json +33 -32
- package/lib/module/i18n/he.json +1 -0
- package/lib/module/i18n/hi.json +33 -32
- package/lib/module/i18n/it.json +33 -32
- package/lib/module/i18n/ja.json +1 -0
- package/lib/module/i18n/ko.json +1 -0
- package/lib/module/i18n/nl.json +33 -32
- package/lib/module/i18n/ru.json +33 -32
- package/lib/module/i18n/tr.json +33 -32
- package/lib/module/native.js +6 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/i18n/en.json +1 -0
- package/lib/typescript/i18n/fr.json +33 -32
- package/lib/typescript/i18n/he.json +1 -0
- package/lib/typescript/i18n/hi.json +33 -32
- package/lib/typescript/i18n/it.json +33 -32
- package/lib/typescript/i18n/ja.json +1 -0
- package/lib/typescript/i18n/ko.json +1 -0
- package/lib/typescript/i18n/nl.json +33 -32
- package/lib/typescript/i18n/ru.json +33 -32
- package/lib/typescript/i18n/tr.json +33 -32
- package/lib/typescript/native.d.ts +4 -0
- package/lib/typescript/utils/Streami18n.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +21 -2
- package/src/i18n/en.json +1 -0
- package/src/i18n/fr.json +33 -32
- package/src/i18n/he.json +1 -0
- package/src/i18n/hi.json +33 -32
- package/src/i18n/it.json +33 -32
- package/src/i18n/ja.json +1 -0
- package/src/i18n/ko.json +1 -0
- package/src/i18n/nl.json +33 -32
- package/src/i18n/ru.json +33 -32
- package/src/i18n/tr.json +33 -32
- package/src/native.ts +9 -0
- package/src/version.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Risposta",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Also send to channel": "
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
7
|
"Block User": "",
|
|
8
8
|
"Cancel": "",
|
|
@@ -14,57 +14,58 @@
|
|
|
14
14
|
"Edit Message": "",
|
|
15
15
|
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Abbinamento emoji",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
22
|
-
"File type not supported": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
|
+
"File type not supported": "",
|
|
23
23
|
"Flag": "",
|
|
24
24
|
"Flag Message": "",
|
|
25
25
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
26
|
"Instant Commands": "Comandi Istantanei",
|
|
27
|
-
"Links are disabled": "
|
|
27
|
+
"Links are disabled": "",
|
|
28
28
|
"Loading channels...": "",
|
|
29
29
|
"Loading messages...": "",
|
|
30
30
|
"Loading...": "",
|
|
31
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
32
32
|
"Message Reactions": "Reazioni ai Messaggi",
|
|
33
|
-
"Message deleted": "
|
|
33
|
+
"Message deleted": "",
|
|
34
34
|
"Message flagged": "",
|
|
35
35
|
"Mute User": "",
|
|
36
|
-
"Not supported": "",
|
|
37
|
-
"Nothing yet...": "
|
|
36
|
+
"Not supported": "non supportato",
|
|
37
|
+
"Nothing yet...": "",
|
|
38
38
|
"Ok": "",
|
|
39
|
-
"Only visible to you": "
|
|
39
|
+
"Only visible to you": "",
|
|
40
40
|
"Photo": "Foto",
|
|
41
|
-
"Photos and Videos": "",
|
|
41
|
+
"Photos and Videos": "Foto e Video",
|
|
42
42
|
"Pin to Conversation": "",
|
|
43
|
-
"Pinned by": "
|
|
44
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
43
|
+
"Pinned by": "",
|
|
44
|
+
"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.",
|
|
45
|
+
"Please select a channel first": "",
|
|
46
|
+
"Reconnecting...": "",
|
|
47
47
|
"Reply": "",
|
|
48
|
-
"Reply to Message": "
|
|
48
|
+
"Reply to Message": "",
|
|
49
49
|
"Resend": "",
|
|
50
|
-
"Search GIFs": "
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
50
|
+
"Search GIFs": "",
|
|
51
|
+
"Select More Photos": "Seleziona Altre foto",
|
|
52
|
+
"Send a message": "",
|
|
53
|
+
"Sending links is not allowed in this conversation": "",
|
|
54
|
+
"Slow mode ON": "",
|
|
54
55
|
"The message has been reported to a moderator.": "",
|
|
55
56
|
"Thread Reply": "",
|
|
56
57
|
"Unblock User": "",
|
|
57
|
-
"Unknown User": "",
|
|
58
|
+
"Unknown User": "Utente sconosciuto",
|
|
58
59
|
"Unmute User": "",
|
|
59
60
|
"Unpin from Conversation": "",
|
|
60
|
-
"Unread Messages": "
|
|
61
|
+
"Unread Messages": "",
|
|
61
62
|
"Video": "Video",
|
|
62
|
-
"You": "
|
|
63
|
-
"You can't send messages in this channel": "
|
|
63
|
+
"You": "",
|
|
64
|
+
"You can't send messages in this channel": "",
|
|
64
65
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
65
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
|
|
66
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Risposte",
|
|
67
|
-
"{{ replyCount }} Thread Replies": "
|
|
68
|
+
"{{ replyCount }} Thread Replies": "",
|
|
68
69
|
"{{ user }} is typing": "",
|
|
69
|
-
"🏙 Attachment...": "
|
|
70
|
+
"🏙 Attachment...": ""
|
|
70
71
|
}
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"Reply to Message": "メッセージに返信",
|
|
70
70
|
"🏙 Attachment...": "🏙 アタッチメント...",
|
|
71
71
|
"Not supported": "サポートしていません",
|
|
72
|
+
"Select More Photos": "さらに写真を選択",
|
|
72
73
|
"File type not supported": "サポートされていないファイルです",
|
|
73
74
|
"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}} MB 以下のファイルをアップロードしてください"
|
|
74
75
|
}
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"Reply to Message": "메시지에 답장",
|
|
69
69
|
"🏙 Attachment...": "🏙 부착...",
|
|
70
70
|
"File type not supported": "지원하지 않는 파일입니다.",
|
|
71
|
+
"Select More Photos": "추가 사진 선택",
|
|
71
72
|
"Not supported": "지원하지 않습니다",
|
|
72
73
|
"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}}MB 미만의 파일을 업로드하세요."
|
|
73
74
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Antwoord",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Also send to channel": "
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "Geef toegang tot uw galerij",
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
7
|
"Block User": "",
|
|
8
8
|
"Cancel": "",
|
|
@@ -14,57 +14,58 @@
|
|
|
14
14
|
"Edit Message": "",
|
|
15
15
|
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Emoji-overeenkomsten",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
22
|
-
"File type not supported": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
|
+
"File type not supported": "",
|
|
23
23
|
"Flag": "",
|
|
24
24
|
"Flag Message": "",
|
|
25
25
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
26
|
"Instant Commands": "Directe Opdrachten",
|
|
27
|
-
"Links are disabled": "
|
|
27
|
+
"Links are disabled": "",
|
|
28
28
|
"Loading channels...": "",
|
|
29
29
|
"Loading messages...": "",
|
|
30
30
|
"Loading...": "",
|
|
31
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
32
32
|
"Message Reactions": "Bericht Reacties",
|
|
33
|
-
"Message deleted": "
|
|
33
|
+
"Message deleted": "",
|
|
34
34
|
"Message flagged": "",
|
|
35
35
|
"Mute User": "",
|
|
36
|
-
"Not supported": "",
|
|
37
|
-
"Nothing yet...": "
|
|
36
|
+
"Not supported": "niet ondersteund",
|
|
37
|
+
"Nothing yet...": "",
|
|
38
38
|
"Ok": "",
|
|
39
|
-
"Only visible to you": "
|
|
39
|
+
"Only visible to you": "",
|
|
40
40
|
"Photo": "Foto",
|
|
41
|
-
"Photos and Videos": "",
|
|
41
|
+
"Photos and Videos": "Foto's en video's",
|
|
42
42
|
"Pin to Conversation": "",
|
|
43
|
-
"Pinned by": "
|
|
44
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
43
|
+
"Pinned by": "",
|
|
44
|
+
"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.",
|
|
45
|
+
"Please select a channel first": "",
|
|
46
|
+
"Reconnecting...": "",
|
|
47
47
|
"Reply": "",
|
|
48
|
-
"Reply to Message": "
|
|
48
|
+
"Reply to Message": "",
|
|
49
49
|
"Resend": "",
|
|
50
|
-
"Search GIFs": "
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
50
|
+
"Search GIFs": "",
|
|
51
|
+
"Select More Photos": "Selecteer Meer foto's",
|
|
52
|
+
"Send a message": "",
|
|
53
|
+
"Sending links is not allowed in this conversation": "",
|
|
54
|
+
"Slow mode ON": "",
|
|
54
55
|
"The message has been reported to a moderator.": "",
|
|
55
56
|
"Thread Reply": "",
|
|
56
57
|
"Unblock User": "",
|
|
57
|
-
"Unknown User": "",
|
|
58
|
+
"Unknown User": "Onbekende gebruiker",
|
|
58
59
|
"Unmute User": "",
|
|
59
60
|
"Unpin from Conversation": "",
|
|
60
|
-
"Unread Messages": "
|
|
61
|
+
"Unread Messages": "",
|
|
61
62
|
"Video": "Video",
|
|
62
|
-
"You": "
|
|
63
|
-
"You can't send messages in this channel": "
|
|
63
|
+
"You": "",
|
|
64
|
+
"You can't send messages in this channel": "",
|
|
64
65
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
65
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
|
|
66
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
|
|
67
|
-
"{{ replyCount }} Thread Replies": "
|
|
68
|
+
"{{ replyCount }} Thread Replies": "",
|
|
68
69
|
"{{ user }} is typing": "",
|
|
69
|
-
"🏙 Attachment...": "
|
|
70
|
+
"🏙 Attachment...": ""
|
|
70
71
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Ответ",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Also send to channel": "
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
7
|
"Block User": "",
|
|
8
8
|
"Cancel": "",
|
|
@@ -14,57 +14,58 @@
|
|
|
14
14
|
"Edit Message": "",
|
|
15
15
|
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Соответствие эмодзи",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
22
|
-
"File type not supported": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
|
+
"File type not supported": "",
|
|
23
23
|
"Flag": "",
|
|
24
24
|
"Flag Message": "",
|
|
25
25
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
26
|
"Instant Commands": "Мгновенные Команды",
|
|
27
|
-
"Links are disabled": "
|
|
27
|
+
"Links are disabled": "",
|
|
28
28
|
"Loading channels...": "",
|
|
29
29
|
"Loading messages...": "",
|
|
30
30
|
"Loading...": "",
|
|
31
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
32
32
|
"Message Reactions": "Сообщения Реакции",
|
|
33
|
-
"Message deleted": "
|
|
33
|
+
"Message deleted": "",
|
|
34
34
|
"Message flagged": "",
|
|
35
35
|
"Mute User": "",
|
|
36
|
-
"Not supported": "",
|
|
37
|
-
"Nothing yet...": "
|
|
36
|
+
"Not supported": "не поддерживается",
|
|
37
|
+
"Nothing yet...": "",
|
|
38
38
|
"Ok": "",
|
|
39
|
-
"Only visible to you": "
|
|
39
|
+
"Only visible to you": "",
|
|
40
40
|
"Photo": "Фото",
|
|
41
|
-
"Photos and Videos": "",
|
|
41
|
+
"Photos and Videos": "Фото и видео",
|
|
42
42
|
"Pin to Conversation": "",
|
|
43
|
-
"Pinned by": "
|
|
44
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
43
|
+
"Pinned by": "",
|
|
44
|
+
"Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
|
|
45
|
+
"Please select a channel first": "",
|
|
46
|
+
"Reconnecting...": "",
|
|
47
47
|
"Reply": "",
|
|
48
|
-
"Reply to Message": "
|
|
48
|
+
"Reply to Message": "",
|
|
49
49
|
"Resend": "",
|
|
50
|
-
"Search GIFs": "
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
50
|
+
"Search GIFs": "",
|
|
51
|
+
"Select More Photos": "Выбрать больше фотографий",
|
|
52
|
+
"Send a message": "",
|
|
53
|
+
"Sending links is not allowed in this conversation": "",
|
|
54
|
+
"Slow mode ON": "",
|
|
54
55
|
"The message has been reported to a moderator.": "",
|
|
55
56
|
"Thread Reply": "",
|
|
56
57
|
"Unblock User": "",
|
|
57
|
-
"Unknown User": "",
|
|
58
|
+
"Unknown User": "Неизвестный пользователь",
|
|
58
59
|
"Unmute User": "",
|
|
59
60
|
"Unpin from Conversation": "",
|
|
60
|
-
"Unread Messages": "
|
|
61
|
+
"Unread Messages": "",
|
|
61
62
|
"Video": "видео",
|
|
62
|
-
"You": "
|
|
63
|
-
"You can't send messages in this channel": "
|
|
63
|
+
"You": "",
|
|
64
|
+
"You can't send messages in this channel": "",
|
|
64
65
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
65
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
66
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
67
|
-
"{{ replyCount }} Thread Replies": "
|
|
68
|
+
"{{ replyCount }} Thread Replies": "",
|
|
68
69
|
"{{ user }} is typing": "",
|
|
69
|
-
"🏙 Attachment...": "
|
|
70
|
+
"🏙 Attachment...": ""
|
|
70
71
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Cevap",
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
5
|
-
"Also send to channel": "
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "Galerinize erişime izin verin",
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
7
|
"Block User": "",
|
|
8
8
|
"Cancel": "",
|
|
@@ -14,57 +14,58 @@
|
|
|
14
14
|
"Edit Message": "",
|
|
15
15
|
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Emoji eşleştirme",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
22
|
-
"File type not supported": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
|
+
"File type not supported": "",
|
|
23
23
|
"Flag": "",
|
|
24
24
|
"Flag Message": "",
|
|
25
25
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
26
|
"Instant Commands": "Anlık Komutlar",
|
|
27
|
-
"Links are disabled": "
|
|
27
|
+
"Links are disabled": "",
|
|
28
28
|
"Loading channels...": "",
|
|
29
29
|
"Loading messages...": "",
|
|
30
30
|
"Loading...": "",
|
|
31
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
32
32
|
"Message Reactions": "Mesaj Tepkileri",
|
|
33
|
-
"Message deleted": "
|
|
33
|
+
"Message deleted": "",
|
|
34
34
|
"Message flagged": "",
|
|
35
35
|
"Mute User": "",
|
|
36
|
-
"Not supported": "",
|
|
37
|
-
"Nothing yet...": "
|
|
36
|
+
"Not supported": "Desteklenmiyor",
|
|
37
|
+
"Nothing yet...": "",
|
|
38
38
|
"Ok": "",
|
|
39
|
-
"Only visible to you": "
|
|
39
|
+
"Only visible to you": "",
|
|
40
40
|
"Photo": "Fotoğraf",
|
|
41
|
-
"Photos and Videos": "",
|
|
41
|
+
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
42
42
|
"Pin to Conversation": "",
|
|
43
|
-
"Pinned by": "
|
|
44
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
43
|
+
"Pinned by": "",
|
|
44
|
+
"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.",
|
|
45
|
+
"Please select a channel first": "",
|
|
46
|
+
"Reconnecting...": "",
|
|
47
47
|
"Reply": "",
|
|
48
|
-
"Reply to Message": "
|
|
48
|
+
"Reply to Message": "",
|
|
49
49
|
"Resend": "",
|
|
50
|
-
"Search GIFs": "
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
50
|
+
"Search GIFs": "",
|
|
51
|
+
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
52
|
+
"Send a message": "",
|
|
53
|
+
"Sending links is not allowed in this conversation": "",
|
|
54
|
+
"Slow mode ON": "",
|
|
54
55
|
"The message has been reported to a moderator.": "",
|
|
55
56
|
"Thread Reply": "",
|
|
56
57
|
"Unblock User": "",
|
|
57
|
-
"Unknown User": "",
|
|
58
|
+
"Unknown User": "Bilinmeyen kullanıcı",
|
|
58
59
|
"Unmute User": "",
|
|
59
60
|
"Unpin from Conversation": "",
|
|
60
|
-
"Unread Messages": "
|
|
61
|
+
"Unread Messages": "",
|
|
61
62
|
"Video": "Video",
|
|
62
|
-
"You": "
|
|
63
|
-
"You can't send messages in this channel": "
|
|
63
|
+
"You": "",
|
|
64
|
+
"You can't send messages in this channel": "",
|
|
64
65
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
65
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
66
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
67
|
-
"{{ replyCount }} Thread Replies": "
|
|
68
|
+
"{{ replyCount }} Thread Replies": "",
|
|
68
69
|
"{{ user }} is typing": "",
|
|
69
|
-
"🏙 Attachment...": "
|
|
70
|
+
"🏙 Attachment...": ""
|
|
70
71
|
}
|
|
@@ -19,6 +19,8 @@ declare type OniOS14LibrarySelectionChange = (callback: () => void) => {
|
|
|
19
19
|
unsubscribe: () => void;
|
|
20
20
|
};
|
|
21
21
|
export declare let oniOS14GalleryLibrarySelectionChange: OniOS14LibrarySelectionChange;
|
|
22
|
+
declare type iOS14RefreshGallerySelection = () => Promise<void>;
|
|
23
|
+
export declare let iOS14RefreshGallerySelection: iOS14RefreshGallerySelection;
|
|
22
24
|
declare type GetPhotos = ({ after, first }: {
|
|
23
25
|
first: number;
|
|
24
26
|
after?: string;
|
|
@@ -28,6 +30,7 @@ declare type GetPhotos = ({ after, first }: {
|
|
|
28
30
|
}>;
|
|
29
31
|
endCursor: string;
|
|
30
32
|
hasNextPage: boolean;
|
|
33
|
+
iOSLimited: boolean;
|
|
31
34
|
}> | never;
|
|
32
35
|
export declare let getPhotos: GetPhotos;
|
|
33
36
|
declare type NetInfo = {
|
|
@@ -191,6 +194,7 @@ export declare type VideoType = {
|
|
|
191
194
|
};
|
|
192
195
|
export declare let Video: React.ComponentType<VideoType>;
|
|
193
196
|
declare type Handlers = {
|
|
197
|
+
iOS14RefreshGallerySelection: iOS14RefreshGallerySelection;
|
|
194
198
|
compressImage?: CompressImage;
|
|
195
199
|
deleteFile?: DeleteFile;
|
|
196
200
|
FlatList?: typeof DefaultFlatList;
|
|
@@ -161,6 +161,7 @@ export declare class Streami18n {
|
|
|
161
161
|
"Reply to Message": string;
|
|
162
162
|
Resend: string;
|
|
163
163
|
"Search GIFs": string;
|
|
164
|
+
"Select More Photos": string;
|
|
164
165
|
"Send a message": string;
|
|
165
166
|
"Sending links is not allowed in this conversation": string;
|
|
166
167
|
"Slow mode ON": string;
|
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.21.0-beta.
|
|
4
|
+
"version": "5.21.0-beta.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
BackHandler,
|
|
4
|
+
Button,
|
|
5
|
+
Dimensions,
|
|
6
|
+
Keyboard,
|
|
7
|
+
Platform,
|
|
8
|
+
StatusBar,
|
|
9
|
+
StyleSheet,
|
|
10
|
+
} from 'react-native';
|
|
3
11
|
|
|
4
12
|
import BottomSheet, { BottomSheetFlatList, BottomSheetHandleProps } from '@gorhom/bottom-sheet';
|
|
5
13
|
import dayjs from 'dayjs';
|
|
@@ -11,7 +19,12 @@ import { renderAttachmentPickerItem } from './components/AttachmentPickerItem';
|
|
|
11
19
|
|
|
12
20
|
import { useAttachmentPickerContext } from '../../contexts/attachmentPickerContext/AttachmentPickerContext';
|
|
13
21
|
import { useTheme } from '../../contexts/themeContext/ThemeContext';
|
|
14
|
-
import {
|
|
22
|
+
import { useTranslationContext } from '../../contexts/translationContext/TranslationContext';
|
|
23
|
+
import {
|
|
24
|
+
getPhotos,
|
|
25
|
+
iOS14RefreshGallerySelection,
|
|
26
|
+
oniOS14GalleryLibrarySelectionChange,
|
|
27
|
+
} from '../../native';
|
|
15
28
|
import type { Asset } from '../../types/types';
|
|
16
29
|
import { vh } from '../../utils/utils';
|
|
17
30
|
|
|
@@ -97,10 +110,12 @@ export const AttachmentPicker = React.forwardRef(
|
|
|
97
110
|
const [currentIndex, setCurrentIndex] = useState(-1);
|
|
98
111
|
const endCursorRef = useRef<string>();
|
|
99
112
|
const [photoError, setPhotoError] = useState(false);
|
|
113
|
+
const [iOSLimited, setIosLimited] = useState(false);
|
|
100
114
|
const hasNextPageRef = useRef(true);
|
|
101
115
|
const [loadingPhotos, setLoadingPhotos] = useState(false);
|
|
102
116
|
const [photos, setPhotos] = useState<Asset[]>([]);
|
|
103
117
|
const attemptedToLoadPhotosOnOpenRef = useRef(false);
|
|
118
|
+
const { t } = useTranslationContext();
|
|
104
119
|
|
|
105
120
|
const getMorePhotos = useCallback(async () => {
|
|
106
121
|
if (
|
|
@@ -121,6 +136,7 @@ export const AttachmentPicker = React.forwardRef(
|
|
|
121
136
|
setPhotos((prevPhotos) =>
|
|
122
137
|
endCursor ? [...prevPhotos, ...results.assets] : results.assets,
|
|
123
138
|
);
|
|
139
|
+
setIosLimited(results.iOSLimited);
|
|
124
140
|
hasNextPageRef.current = !!results.hasNextPage;
|
|
125
141
|
} catch (error) {
|
|
126
142
|
setPhotoError(true);
|
|
@@ -299,6 +315,9 @@ export const AttachmentPicker = React.forwardRef(
|
|
|
299
315
|
ref={ref}
|
|
300
316
|
snapPoints={snapPoints}
|
|
301
317
|
>
|
|
318
|
+
{iOSLimited && (
|
|
319
|
+
<Button onPress={iOS14RefreshGallerySelection} title={t('Select More Photos')} />
|
|
320
|
+
)}
|
|
302
321
|
<BottomSheetFlatList
|
|
303
322
|
contentContainerStyle={[
|
|
304
323
|
styles.container,
|
package/src/i18n/en.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"Reply to Message": "Reply to Message",
|
|
49
49
|
"Resend": "Resend",
|
|
50
50
|
"Search GIFs": "Search GIFs",
|
|
51
|
+
"Select More Photos": "Select More Photos",
|
|
51
52
|
"Send a message": "Send a message",
|
|
52
53
|
"Sending links is not allowed in this conversation": "Sending links is not allowed in this conversation",
|
|
53
54
|
"Slow mode ON": "Slow mode ON",
|