stream-chat-react-native-core 5.22.0-beta.6 → 5.22.0-beta.8
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/components/AttachmentPickerItem.js +4 -4
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js +7 -5
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js +8 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +25 -17
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js +30 -20
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +7 -7
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/i18n/fr.json +23 -23
- package/lib/commonjs/i18n/hi.json +23 -23
- package/lib/commonjs/i18n/it.json +23 -23
- package/lib/commonjs/i18n/nl.json +23 -23
- package/lib/commonjs/i18n/ru.json +23 -23
- package/lib/commonjs/i18n/tr.json +23 -23
- package/lib/commonjs/types/types.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +4 -4
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +7 -5
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js +8 -0
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -0
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +25 -17
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/MessageInput/FileUploadPreview.js +30 -20
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +1 -1
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +7 -7
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/i18n/fr.json +23 -23
- package/lib/module/i18n/hi.json +23 -23
- package/lib/module/i18n/it.json +23 -23
- package/lib/module/i18n/nl.json +23 -23
- package/lib/module/i18n/ru.json +23 -23
- package/lib/module/i18n/tr.json +23 -23
- package/lib/module/types/types.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -3
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts +1 -0
- package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +5 -2
- package/lib/typescript/i18n/fr.json +23 -23
- package/lib/typescript/i18n/hi.json +23 -23
- package/lib/typescript/i18n/it.json +23 -23
- package/lib/typescript/i18n/nl.json +23 -23
- package/lib/typescript/i18n/ru.json +23 -23
- package/lib/typescript/i18n/tr.json +23 -23
- package/lib/typescript/types/types.d.ts +8 -11
- package/package.json +1 -1
- package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +4 -4
- package/src/components/Message/MessageSimple/utils/generateMarkdownText.test.ts +23 -0
- package/src/components/Message/MessageSimple/utils/generateMarkdownText.ts +12 -13
- package/src/components/Message/MessageSimple/utils/renderText.tsx +12 -2
- package/src/components/MessageInput/FileUploadPreview.tsx +16 -1
- package/src/components/MessageInput/MessageInput.tsx +1 -1
- package/src/components/MessageInput/UploadProgressIndicator.tsx +2 -2
- package/src/components/MessageInput/__tests__/MessageInput.test.js +2 -2
- package/src/contexts/messageInputContext/MessageInputContext.tsx +2 -2
- package/src/i18n/fr.json +23 -23
- package/src/i18n/hi.json +23 -23
- package/src/i18n/it.json +23 -23
- package/src/i18n/nl.json +23 -23
- package/src/i18n/ru.json +23 -23
- package/src/i18n/tr.json +23 -23
- package/src/types/types.ts +8 -12
- package/src/version.json +1 -1
|
@@ -641,7 +641,7 @@ export const MessageInputProvider = <
|
|
|
641
641
|
};
|
|
642
642
|
|
|
643
643
|
const mapImageUploadToAttachment = (image: ImageUpload) => {
|
|
644
|
-
const mime_type: string | boolean = lookup(image.file.
|
|
644
|
+
const mime_type: string | boolean = lookup(image.file.name as string);
|
|
645
645
|
return {
|
|
646
646
|
fallback: image.file.name,
|
|
647
647
|
image_url: image.url,
|
|
@@ -1006,7 +1006,7 @@ export const MessageInputProvider = <
|
|
|
1006
1006
|
uri,
|
|
1007
1007
|
width: file.width,
|
|
1008
1008
|
}));
|
|
1009
|
-
const filename = file.
|
|
1009
|
+
const filename = file.name ?? uri.replace(/^(file:\/\/|content:\/\/)/, '');
|
|
1010
1010
|
const contentType = lookup(filename) || 'multipart/form-data';
|
|
1011
1011
|
if (value.doImageUploadRequest) {
|
|
1012
1012
|
response = await value.doImageUploadRequest(file, channel);
|
package/src/i18n/fr.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
2
|
+
"1 Reply": "",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
6
|
-
"Also send to channel": "
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"Copy Message": "",
|
|
12
12
|
"Delete": "",
|
|
13
13
|
"Delete Message": "",
|
|
14
|
-
"Device camera is used to take photos or videos.": "
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
17
|
"Editing Message": "",
|
|
18
|
-
"Emoji matching": "",
|
|
18
|
+
"Emoji matching": "Correspondance Emoji",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
21
21
|
"Error loading channel list...": "",
|
|
@@ -26,50 +26,50 @@
|
|
|
26
26
|
"Flag Message": "",
|
|
27
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
|
-
"Instant Commands": "",
|
|
29
|
+
"Instant Commands": "Commandes Instantanées",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
31
|
"Links are disabled": "",
|
|
32
32
|
"Loading channels...": "",
|
|
33
33
|
"Loading messages...": "",
|
|
34
34
|
"Loading...": "",
|
|
35
35
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
36
|
-
"Message Reactions": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "",
|
|
39
39
|
"Mute User": "",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "Non pris en charge",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "",
|
|
43
43
|
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "
|
|
45
|
-
"Photo": "",
|
|
46
|
-
"Photos and Videos": "
|
|
44
|
+
"Open Settings": "",
|
|
45
|
+
"Photo": "Photo",
|
|
46
|
+
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
50
|
-
"Please select a channel first": "
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "",
|
|
55
|
-
"Search GIFs": "",
|
|
56
|
-
"Select More Photos": "
|
|
57
|
-
"Send a message": "",
|
|
55
|
+
"Search GIFs": "Rechercher des GIF",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "Envoyer un message",
|
|
58
58
|
"Sending links is not allowed in this conversation": "",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "Mode lent activé",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
62
62
|
"Unblock User": "",
|
|
63
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
64
64
|
"Unmute User": "",
|
|
65
65
|
"Unpin from Conversation": "",
|
|
66
|
-
"Unread Messages": "
|
|
67
|
-
"Video": "",
|
|
66
|
+
"Unread Messages": "",
|
|
67
|
+
"Video": "Vidéo",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "
|
|
72
|
-
"{{ replyCount }} Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
73
|
"{{ replyCount }} Thread Replies": "",
|
|
74
74
|
"{{ user }} is typing": "{{ user }} est en train d'écrire",
|
|
75
75
|
"🏙 Attachment...": ""
|
package/src/i18n/hi.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
2
|
+
"1 Reply": "",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
6
|
-
"Also send to channel": "
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"Copy Message": "",
|
|
12
12
|
"Delete": "",
|
|
13
13
|
"Delete Message": "",
|
|
14
|
-
"Device camera is used to take photos or videos.": "
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
17
|
"Editing Message": "",
|
|
18
|
-
"Emoji matching": "",
|
|
18
|
+
"Emoji matching": "इमोजी मिलान",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
21
21
|
"Error loading channel list...": "",
|
|
@@ -26,50 +26,50 @@
|
|
|
26
26
|
"Flag Message": "",
|
|
27
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
|
-
"Instant Commands": "",
|
|
29
|
+
"Instant Commands": "त्वरित कमांड",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
31
|
"Links are disabled": "",
|
|
32
32
|
"Loading channels...": "",
|
|
33
33
|
"Loading messages...": "",
|
|
34
34
|
"Loading...": "",
|
|
35
35
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
36
|
-
"Message Reactions": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "",
|
|
39
39
|
"Mute User": "",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "समर्थित नहीं",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "",
|
|
43
43
|
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "
|
|
45
|
-
"Photo": "",
|
|
46
|
-
"Photos and Videos": "
|
|
44
|
+
"Open Settings": "",
|
|
45
|
+
"Photo": "तस्वीर",
|
|
46
|
+
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
50
|
-
"Please select a channel first": "
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "",
|
|
55
|
-
"Search GIFs": "",
|
|
56
|
-
"Select More Photos": "
|
|
57
|
-
"Send a message": "",
|
|
55
|
+
"Search GIFs": "GIF खोजें",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "एक संदेश भेजें",
|
|
58
58
|
"Sending links is not allowed in this conversation": "",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "स्लो मोड चालू",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
62
62
|
"Unblock User": "",
|
|
63
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
64
64
|
"Unmute User": "",
|
|
65
65
|
"Unpin from Conversation": "",
|
|
66
|
-
"Unread Messages": "
|
|
67
|
-
"Video": "",
|
|
66
|
+
"Unread Messages": "",
|
|
67
|
+
"Video": "वीडियो",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "
|
|
72
|
-
"{{ replyCount }} Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
73
|
"{{ replyCount }} Thread Replies": "",
|
|
74
74
|
"{{ user }} is typing": "{{ user }} टाइप कर रहा है",
|
|
75
75
|
"🏙 Attachment...": ""
|
package/src/i18n/it.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
2
|
+
"1 Reply": "",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
6
|
-
"Also send to channel": "
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"Copy Message": "",
|
|
12
12
|
"Delete": "",
|
|
13
13
|
"Delete Message": "",
|
|
14
|
-
"Device camera is used to take photos or videos.": "
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
17
|
"Editing Message": "",
|
|
18
|
-
"Emoji matching": "",
|
|
18
|
+
"Emoji matching": "Abbinamento emoji",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
21
21
|
"Error loading channel list...": "",
|
|
@@ -26,50 +26,50 @@
|
|
|
26
26
|
"Flag Message": "",
|
|
27
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
|
-
"Instant Commands": "",
|
|
29
|
+
"Instant Commands": "Comandi Istantanei",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
31
|
"Links are disabled": "",
|
|
32
32
|
"Loading channels...": "",
|
|
33
33
|
"Loading messages...": "",
|
|
34
34
|
"Loading...": "",
|
|
35
35
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
36
|
-
"Message Reactions": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "",
|
|
39
39
|
"Mute User": "",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "non supportato",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "",
|
|
43
43
|
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "
|
|
45
|
-
"Photo": "",
|
|
46
|
-
"Photos and Videos": "
|
|
44
|
+
"Open Settings": "",
|
|
45
|
+
"Photo": "Foto",
|
|
46
|
+
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
50
|
-
"Please select a channel first": "
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "",
|
|
55
|
-
"Search GIFs": "",
|
|
56
|
-
"Select More Photos": "
|
|
57
|
-
"Send a message": "",
|
|
55
|
+
"Search GIFs": "Cerca GIF",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "Mandare un messaggio",
|
|
58
58
|
"Sending links is not allowed in this conversation": "",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "Slowmode attiva",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
62
62
|
"Unblock User": "",
|
|
63
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
64
64
|
"Unmute User": "",
|
|
65
65
|
"Unpin from Conversation": "",
|
|
66
|
-
"Unread Messages": "
|
|
67
|
-
"Video": "",
|
|
66
|
+
"Unread Messages": "",
|
|
67
|
+
"Video": "Video",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "
|
|
72
|
-
"{{ replyCount }} Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
73
|
"{{ replyCount }} Thread Replies": "",
|
|
74
74
|
"{{ user }} is typing": "{{ user }} sta scrivendo",
|
|
75
75
|
"🏙 Attachment...": ""
|
package/src/i18n/nl.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
2
|
+
"1 Reply": "",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
6
|
-
"Also send to channel": "
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"Copy Message": "",
|
|
12
12
|
"Delete": "",
|
|
13
13
|
"Delete Message": "",
|
|
14
|
-
"Device camera is used to take photos or videos.": "
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
17
|
"Editing Message": "",
|
|
18
|
-
"Emoji matching": "",
|
|
18
|
+
"Emoji matching": "Emoji-overeenkomsten",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
21
21
|
"Error loading channel list...": "",
|
|
@@ -26,50 +26,50 @@
|
|
|
26
26
|
"Flag Message": "",
|
|
27
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
|
-
"Instant Commands": "",
|
|
29
|
+
"Instant Commands": "Directe Opdrachten",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
31
|
"Links are disabled": "",
|
|
32
32
|
"Loading channels...": "",
|
|
33
33
|
"Loading messages...": "",
|
|
34
34
|
"Loading...": "",
|
|
35
35
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
36
|
-
"Message Reactions": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "",
|
|
39
39
|
"Mute User": "",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "niet ondersteund",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "",
|
|
43
43
|
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "
|
|
45
|
-
"Photo": "",
|
|
46
|
-
"Photos and Videos": "
|
|
44
|
+
"Open Settings": "",
|
|
45
|
+
"Photo": "Foto",
|
|
46
|
+
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
50
|
-
"Please select a channel first": "
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "",
|
|
55
|
-
"Search GIFs": "",
|
|
56
|
-
"Select More Photos": "
|
|
57
|
-
"Send a message": "",
|
|
55
|
+
"Search GIFs": "Zoek GIF's",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "Stuur een bericht",
|
|
58
58
|
"Sending links is not allowed in this conversation": "",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "Langzame modus aan",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
62
62
|
"Unblock User": "",
|
|
63
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
64
64
|
"Unmute User": "",
|
|
65
65
|
"Unpin from Conversation": "",
|
|
66
|
-
"Unread Messages": "
|
|
67
|
-
"Video": "",
|
|
66
|
+
"Unread Messages": "",
|
|
67
|
+
"Video": "Video",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "
|
|
72
|
-
"{{ replyCount }} Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
73
|
"{{ replyCount }} Thread Replies": "",
|
|
74
74
|
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
75
75
|
"🏙 Attachment...": ""
|
package/src/i18n/ru.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
2
|
+
"1 Reply": "",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
6
|
-
"Also send to channel": "
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"Copy Message": "",
|
|
12
12
|
"Delete": "",
|
|
13
13
|
"Delete Message": "",
|
|
14
|
-
"Device camera is used to take photos or videos.": "
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
17
|
"Editing Message": "",
|
|
18
|
-
"Emoji matching": "",
|
|
18
|
+
"Emoji matching": "Соответствие эмодзи",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
21
21
|
"Error loading channel list...": "",
|
|
@@ -26,50 +26,50 @@
|
|
|
26
26
|
"Flag Message": "",
|
|
27
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
|
-
"Instant Commands": "",
|
|
29
|
+
"Instant Commands": "Мгновенные Команды",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
31
|
"Links are disabled": "",
|
|
32
32
|
"Loading channels...": "",
|
|
33
33
|
"Loading messages...": "",
|
|
34
34
|
"Loading...": "",
|
|
35
35
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
36
|
-
"Message Reactions": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "",
|
|
39
39
|
"Mute User": "",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "не поддерживается",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "",
|
|
43
43
|
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "
|
|
45
|
-
"Photo": "",
|
|
46
|
-
"Photos and Videos": "
|
|
44
|
+
"Open Settings": "",
|
|
45
|
+
"Photo": "Фото",
|
|
46
|
+
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
50
|
-
"Please select a channel first": "
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "",
|
|
55
|
-
"Search GIFs": "",
|
|
56
|
-
"Select More Photos": "
|
|
57
|
-
"Send a message": "",
|
|
55
|
+
"Search GIFs": "Поиск GIF",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "Отправить сообщение",
|
|
58
58
|
"Sending links is not allowed in this conversation": "",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "Медленный режим включен",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
62
62
|
"Unblock User": "",
|
|
63
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
64
64
|
"Unmute User": "",
|
|
65
65
|
"Unpin from Conversation": "",
|
|
66
|
-
"Unread Messages": "
|
|
67
|
-
"Video": "",
|
|
66
|
+
"Unread Messages": "",
|
|
67
|
+
"Video": "видео",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "
|
|
72
|
-
"{{ replyCount }} Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
73
|
"{{ replyCount }} Thread Replies": "",
|
|
74
74
|
"{{ user }} is typing": "{{ user }} пишет",
|
|
75
75
|
"🏙 Attachment...": ""
|
package/src/i18n/tr.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
2
|
+
"1 Reply": "",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Allow camera access in device settings": "
|
|
6
|
-
"Also send to channel": "
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"Copy Message": "",
|
|
12
12
|
"Delete": "",
|
|
13
13
|
"Delete Message": "",
|
|
14
|
-
"Device camera is used to take photos or videos.": "
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
17
|
"Editing Message": "",
|
|
18
|
-
"Emoji matching": "",
|
|
18
|
+
"Emoji matching": "Emoji eşleştirme",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
21
21
|
"Error loading channel list...": "",
|
|
@@ -26,50 +26,50 @@
|
|
|
26
26
|
"Flag Message": "",
|
|
27
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
|
-
"Instant Commands": "",
|
|
29
|
+
"Instant Commands": "Anlık Komutlar",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
31
|
"Links are disabled": "",
|
|
32
32
|
"Loading channels...": "",
|
|
33
33
|
"Loading messages...": "",
|
|
34
34
|
"Loading...": "",
|
|
35
35
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
36
|
-
"Message Reactions": "
|
|
36
|
+
"Message Reactions": "",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "",
|
|
39
39
|
"Mute User": "",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "Desteklenmiyor",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "",
|
|
43
43
|
"Only visible to you": "",
|
|
44
|
-
"Open Settings": "
|
|
45
|
-
"Photo": "",
|
|
46
|
-
"Photos and Videos": "
|
|
44
|
+
"Open Settings": "",
|
|
45
|
+
"Photo": "Fotoğraf",
|
|
46
|
+
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
48
|
"Pinned by": "",
|
|
49
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
50
|
-
"Please select a channel first": "
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "",
|
|
55
|
-
"Search GIFs": "",
|
|
56
|
-
"Select More Photos": "
|
|
57
|
-
"Send a message": "",
|
|
55
|
+
"Search GIFs": "GIF Ara",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "Mesaj gönder",
|
|
58
58
|
"Sending links is not allowed in this conversation": "",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "Yavaş Mod Açık",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
62
62
|
"Unblock User": "",
|
|
63
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
64
64
|
"Unmute User": "",
|
|
65
65
|
"Unpin from Conversation": "",
|
|
66
|
-
"Unread Messages": "
|
|
67
|
-
"Video": "",
|
|
66
|
+
"Unread Messages": "",
|
|
67
|
+
"Video": "Video",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
71
|
-
"{{ index }} of {{ photoLength }}": "
|
|
72
|
-
"{{ replyCount }} Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
73
|
"{{ replyCount }} Thread Replies": "",
|
|
74
74
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
75
75
|
"🏙 Attachment...": ""
|
package/src/types/types.ts
CHANGED
|
@@ -1,33 +1,29 @@
|
|
|
1
1
|
import type { ExtendableGenerics, LiteralStringForUnion } from 'stream-chat';
|
|
2
2
|
|
|
3
3
|
export type Asset = {
|
|
4
|
-
duration: number
|
|
5
|
-
filename: string;
|
|
4
|
+
duration: number;
|
|
6
5
|
height: number;
|
|
6
|
+
name: string;
|
|
7
7
|
source: 'camera' | 'picker';
|
|
8
8
|
type: string;
|
|
9
9
|
uri: string;
|
|
10
10
|
width: number;
|
|
11
|
-
fileSize?: number;
|
|
12
11
|
id?: string;
|
|
13
|
-
size?: number
|
|
12
|
+
size?: number;
|
|
14
13
|
};
|
|
15
14
|
|
|
16
|
-
export type
|
|
15
|
+
export type File = {
|
|
17
16
|
name: string;
|
|
17
|
+
duration?: number;
|
|
18
|
+
id?: string;
|
|
18
19
|
mimeType?: string;
|
|
19
|
-
size?: number
|
|
20
|
+
size?: number;
|
|
20
21
|
// The uri should be of type `string`. But is `string|undefined` because the same type is used for the response from Stream's Attachment. This shall be fixed.
|
|
21
22
|
uri?: string;
|
|
22
23
|
};
|
|
23
24
|
|
|
24
|
-
export type File = FileAssetType & {
|
|
25
|
-
duration?: string | null;
|
|
26
|
-
id?: string;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
25
|
export type DefaultAttachmentType = UnknownType & {
|
|
30
|
-
file_size?: number
|
|
26
|
+
file_size?: number;
|
|
31
27
|
mime_type?: string;
|
|
32
28
|
originalFile?: File;
|
|
33
29
|
};
|
package/src/version.json
CHANGED