stream-chat-react-native-core 5.20.0 → 5.20.1-beta.1
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/Message/MessageSimple/utils/generateMarkdownText.js +32 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js +3 -3
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +24 -41
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +4 -4
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/fr.json +60 -60
- package/lib/commonjs/i18n/hi.json +60 -60
- package/lib/commonjs/i18n/it.json +60 -60
- package/lib/commonjs/i18n/nl.json +60 -60
- package/lib/commonjs/i18n/ru.json +60 -60
- package/lib/commonjs/i18n/tr.json +60 -60
- package/lib/commonjs/utils/utils.js +2 -1
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +32 -0
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -0
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.js +3 -3
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +24 -41
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +4 -4
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/fr.json +60 -60
- package/lib/module/i18n/hi.json +60 -60
- package/lib/module/i18n/it.json +60 -60
- package/lib/module/i18n/nl.json +60 -60
- package/lib/module/i18n/ru.json +60 -60
- package/lib/module/i18n/tr.json +60 -60
- package/lib/module/utils/utils.js +2 -1
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +3 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +1 -1
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/fr.json +60 -60
- package/lib/typescript/i18n/hi.json +60 -60
- package/lib/typescript/i18n/it.json +60 -60
- package/lib/typescript/i18n/nl.json +60 -60
- package/lib/typescript/i18n/ru.json +60 -60
- package/lib/typescript/i18n/tr.json +60 -60
- package/lib/typescript/utils/Streami18n.d.ts +4 -0
- package/package.json +1 -1
- package/src/components/Message/MessageSimple/utils/generateMarkdownText.ts +43 -0
- package/src/components/Message/MessageSimple/utils/parseLinks.ts +5 -5
- package/src/components/Message/MessageSimple/utils/renderText.tsx +10 -26
- package/src/components/Reply/Reply.tsx +16 -14
- package/src/i18n/en.json +1 -1
- package/src/i18n/fr.json +60 -60
- package/src/i18n/hi.json +60 -60
- package/src/i18n/it.json +60 -60
- package/src/i18n/nl.json +60 -60
- package/src/i18n/ru.json +60 -60
- package/src/i18n/tr.json +60 -60
- package/src/utils/utils.ts +2 -1
- package/src/version.json +1 -1
package/src/i18n/tr.json
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
5
|
-
"Also send to channel": "
|
|
6
|
-
"Are you sure you want to permanently delete this message?": "
|
|
7
|
-
"Block User": "
|
|
8
|
-
"Cancel": "
|
|
9
|
-
"Cannot Flag Message": "
|
|
10
|
-
"Copy Message": "
|
|
11
|
-
"Delete": "
|
|
12
|
-
"Delete Message": "
|
|
13
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "
|
|
14
|
-
"Edit Message": "
|
|
15
|
-
"Editing Message": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Also send to channel": "",
|
|
6
|
+
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Block User": "",
|
|
8
|
+
"Cancel": "",
|
|
9
|
+
"Cannot Flag Message": "",
|
|
10
|
+
"Copy Message": "",
|
|
11
|
+
"Delete": "",
|
|
12
|
+
"Delete Message": "",
|
|
13
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
|
+
"Edit Message": "",
|
|
15
|
+
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Emoji eşleştirme",
|
|
17
|
-
"Empty message...": "
|
|
17
|
+
"Empty message...": "",
|
|
18
18
|
"Error loading": "Yükleme hatası",
|
|
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
|
-
"Flag": "
|
|
24
|
-
"Flag Message": "
|
|
25
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
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
|
+
"Flag": "",
|
|
24
|
+
"Flag Message": "",
|
|
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": "
|
|
28
|
-
"Loading channels...": "
|
|
29
|
-
"Loading messages...": "
|
|
30
|
-
"Loading...": "
|
|
27
|
+
"Links are disabled": "",
|
|
28
|
+
"Loading channels...": "",
|
|
29
|
+
"Loading messages...": "",
|
|
30
|
+
"Loading...": "",
|
|
31
31
|
"Message Reactions": "Mesaj Tepkileri",
|
|
32
32
|
"Message deleted": "Mesaj silindi",
|
|
33
|
-
"Message flagged": "
|
|
34
|
-
"Mute User": "
|
|
33
|
+
"Message flagged": "",
|
|
34
|
+
"Mute User": "",
|
|
35
35
|
"Not supported": "Desteklenmiyor",
|
|
36
|
-
"Nothing yet...": "
|
|
37
|
-
"Ok": "
|
|
38
|
-
"Only visible to you": "
|
|
39
|
-
"Photo": "
|
|
40
|
-
"Photos and Videos": "
|
|
41
|
-
"Pin to Conversation": "
|
|
42
|
-
"Pinned by": "
|
|
43
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
44
|
-
"Please select a channel first": "
|
|
45
|
-
"Reconnecting...": "
|
|
46
|
-
"Reply": "
|
|
47
|
-
"Reply to Message": "
|
|
48
|
-
"Resend": "
|
|
49
|
-
"Search GIFs": "
|
|
50
|
-
"Send a message": "
|
|
51
|
-
"Sending links is not allowed in this conversation": "
|
|
52
|
-
"Slow mode ON": "
|
|
53
|
-
"The message has been reported to a moderator.": "
|
|
54
|
-
"Thread Reply": "
|
|
55
|
-
"Unblock User": "
|
|
56
|
-
"Unknown User": "
|
|
57
|
-
"Unmute User": "
|
|
58
|
-
"Unpin from Conversation": "
|
|
59
|
-
"Unread Messages": "
|
|
60
|
-
"Video": "
|
|
61
|
-
"You": "
|
|
36
|
+
"Nothing yet...": "",
|
|
37
|
+
"Ok": "",
|
|
38
|
+
"Only visible to you": "",
|
|
39
|
+
"Photo": "",
|
|
40
|
+
"Photos and Videos": "",
|
|
41
|
+
"Pin to Conversation": "",
|
|
42
|
+
"Pinned by": "",
|
|
43
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
44
|
+
"Please select a channel first": "",
|
|
45
|
+
"Reconnecting...": "",
|
|
46
|
+
"Reply": "",
|
|
47
|
+
"Reply to Message": "",
|
|
48
|
+
"Resend": "",
|
|
49
|
+
"Search GIFs": "",
|
|
50
|
+
"Send a message": "",
|
|
51
|
+
"Sending links is not allowed in this conversation": "",
|
|
52
|
+
"Slow mode ON": "",
|
|
53
|
+
"The message has been reported to a moderator.": "",
|
|
54
|
+
"Thread Reply": "",
|
|
55
|
+
"Unblock User": "",
|
|
56
|
+
"Unknown User": "",
|
|
57
|
+
"Unmute User": "",
|
|
58
|
+
"Unpin from Conversation": "",
|
|
59
|
+
"Unread Messages": "",
|
|
60
|
+
"Video": "",
|
|
61
|
+
"You": "",
|
|
62
62
|
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
63
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
64
|
-
"{{ index }} of {{ photoLength }}": "
|
|
65
|
-
"{{ replyCount }} Replies": "
|
|
66
|
-
"{{ replyCount }} Thread Replies": "
|
|
67
|
-
"{{ user }} is typing": "
|
|
68
|
-
"🏙 Attachment...": "
|
|
63
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
64
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
65
|
+
"{{ replyCount }} Replies": "",
|
|
66
|
+
"{{ replyCount }} Thread Replies": "",
|
|
67
|
+
"{{ user }} is typing": "",
|
|
68
|
+
"🏙 Attachment...": ""
|
|
69
69
|
}
|
package/src/utils/utils.ts
CHANGED
|
@@ -557,9 +557,10 @@ const stringifyMessage = <
|
|
|
557
557
|
latest_reactions,
|
|
558
558
|
reply_count,
|
|
559
559
|
status,
|
|
560
|
+
type,
|
|
560
561
|
updated_at,
|
|
561
562
|
}: FormatMessageResponse<StreamChatGenerics>): string =>
|
|
562
|
-
`${deleted_at}${
|
|
563
|
+
`${type}${deleted_at}${
|
|
563
564
|
latest_reactions ? latest_reactions.map(({ type }) => type).join() : ''
|
|
564
565
|
}${reply_count}${status}${updated_at?.toISOString?.() || updated_at}`;
|
|
565
566
|
|
package/src/version.json
CHANGED