stream-chat-react-native-core 5.20.0 → 5.21.0-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/fr.json +24 -24
- package/lib/commonjs/i18n/he.json +2 -1
- package/lib/commonjs/i18n/hi.json +24 -24
- package/lib/commonjs/i18n/it.json +24 -24
- package/lib/commonjs/i18n/ja.json +2 -1
- package/lib/commonjs/i18n/ko.json +2 -1
- package/lib/commonjs/i18n/nl.json +24 -24
- package/lib/commonjs/i18n/ru.json +24 -24
- package/lib/commonjs/i18n/tr.json +24 -24
- 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/fr.json +24 -24
- package/lib/module/i18n/he.json +2 -1
- package/lib/module/i18n/hi.json +24 -24
- package/lib/module/i18n/it.json +24 -24
- package/lib/module/i18n/ja.json +2 -1
- package/lib/module/i18n/ko.json +2 -1
- package/lib/module/i18n/nl.json +24 -24
- package/lib/module/i18n/ru.json +24 -24
- package/lib/module/i18n/tr.json +24 -24
- 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/fr.json +24 -24
- package/lib/typescript/i18n/he.json +2 -1
- package/lib/typescript/i18n/hi.json +24 -24
- package/lib/typescript/i18n/it.json +24 -24
- package/lib/typescript/i18n/ja.json +2 -1
- package/lib/typescript/i18n/ko.json +2 -1
- package/lib/typescript/i18n/nl.json +24 -24
- package/lib/typescript/i18n/ru.json +24 -24
- package/lib/typescript/i18n/tr.json +24 -24
- 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/fr.json +24 -24
- package/src/i18n/he.json +2 -1
- package/src/i18n/hi.json +24 -24
- package/src/i18n/it.json +24 -24
- package/src/i18n/ja.json +2 -1
- package/src/i18n/ko.json +2 -1
- package/src/i18n/nl.json +24 -24
- package/src/i18n/ru.json +24 -24
- package/src/i18n/tr.json +24 -24
- package/src/utils/utils.ts +2 -1
- package/src/version.json +1 -1
package/src/i18n/ru.json
CHANGED
|
@@ -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": "Отмена",
|
|
@@ -12,58 +12,58 @@
|
|
|
12
12
|
"Delete Message": "Удалить сообщение",
|
|
13
13
|
"Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
|
|
14
14
|
"Edit Message": "Редактировать сообщение",
|
|
15
|
-
"Editing Message": "
|
|
15
|
+
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Соответствие эмодзи",
|
|
17
17
|
"Empty message...": "Пустое сообщение...",
|
|
18
18
|
"Error loading": "Ошибка при загрузке",
|
|
19
19
|
"Error loading channel list...": "Ошибка загрузки списка каналов...",
|
|
20
20
|
"Error loading messages for this channel...": "Ошибка загрузки сообщений для этого канала...",
|
|
21
21
|
"Error while loading, please reload/refresh": "Ошибка загрузки, пожалуйста перезагрузите или обновите",
|
|
22
|
-
"File type not supported": "
|
|
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
|
-
"Message Reactions": "
|
|
31
|
+
"Message Reactions": "",
|
|
32
32
|
"Message deleted": "Сообщение удалено",
|
|
33
33
|
"Message flagged": "Сообщение отмечено",
|
|
34
34
|
"Mute User": "Отключить пользователя",
|
|
35
35
|
"Not supported": "не поддерживается",
|
|
36
36
|
"Nothing yet...": "Пока ничего нет...",
|
|
37
37
|
"Ok": "Oк",
|
|
38
|
-
"Only visible to you": "
|
|
39
|
-
"Photo": "
|
|
40
|
-
"Photos and Videos": "
|
|
38
|
+
"Only visible to you": "",
|
|
39
|
+
"Photo": "",
|
|
40
|
+
"Photos and Videos": "",
|
|
41
41
|
"Pin to Conversation": "Закрепить к беседе",
|
|
42
42
|
"Pinned by": "Закреплено пользователем",
|
|
43
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
44
|
-
"Please select a channel first": "
|
|
43
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
44
|
+
"Please select a channel first": "",
|
|
45
45
|
"Reconnecting...": "Переподключение...",
|
|
46
46
|
"Reply": "Ответить",
|
|
47
|
-
"Reply to Message": "
|
|
47
|
+
"Reply to Message": "",
|
|
48
48
|
"Resend": "Отправить",
|
|
49
|
-
"Search GIFs": "
|
|
50
|
-
"Send a message": "
|
|
51
|
-
"Sending links is not allowed in this conversation": "
|
|
52
|
-
"Slow mode ON": "
|
|
49
|
+
"Search GIFs": "",
|
|
50
|
+
"Send a message": "",
|
|
51
|
+
"Sending links is not allowed in this conversation": "",
|
|
52
|
+
"Slow mode ON": "",
|
|
53
53
|
"The message has been reported to a moderator.": "Сообщение отправлено модератору.",
|
|
54
54
|
"Thread Reply": "Тема Ответить",
|
|
55
55
|
"Unblock User": "Разблокировать пользователя",
|
|
56
|
-
"Unknown User": "
|
|
56
|
+
"Unknown User": "",
|
|
57
57
|
"Unmute User": "Включить микрофон",
|
|
58
58
|
"Unpin from Conversation": "Открепить от беседы",
|
|
59
59
|
"Unread Messages": "Непрочитанные Сообщения",
|
|
60
|
-
"Video": "
|
|
60
|
+
"Video": "",
|
|
61
61
|
"You": "Вы",
|
|
62
|
-
"You can't send messages in this channel": "
|
|
63
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
64
|
-
"{{ index }} of {{ photoLength }}": "
|
|
62
|
+
"You can't send messages in this channel": "",
|
|
63
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
64
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
65
65
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
66
|
-
"{{ replyCount }} Thread Replies": "
|
|
67
|
-
"{{ user }} is typing": "
|
|
66
|
+
"{{ replyCount }} Thread Replies": "",
|
|
67
|
+
"{{ user }} is typing": "",
|
|
68
68
|
"🏙 Attachment...": "🏙 Вложение..."
|
|
69
69
|
}
|
package/src/i18n/tr.json
CHANGED
|
@@ -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": "",
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
|
|
7
7
|
"Block User": "Kullanıcıyı engelle",
|
|
8
8
|
"Cancel": "İptal",
|
|
@@ -12,58 +12,58 @@
|
|
|
12
12
|
"Delete Message": "Mesajı Sil",
|
|
13
13
|
"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?",
|
|
14
14
|
"Edit Message": "Mesajı Düzenle",
|
|
15
|
-
"Editing Message": "
|
|
15
|
+
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Emoji eşleştirme",
|
|
17
17
|
"Empty message...": "Boş mesaj...",
|
|
18
18
|
"Error loading": "Yükleme hatası",
|
|
19
19
|
"Error loading channel list...": "Kanal listesi yüklenirken hata oluştu...",
|
|
20
20
|
"Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
|
|
21
21
|
"Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
|
|
22
|
-
"File type not supported": "
|
|
22
|
+
"File type not supported": "",
|
|
23
23
|
"Flag": "Raporla",
|
|
24
24
|
"Flag Message": "Mesajı Raporla",
|
|
25
25
|
"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.",
|
|
26
26
|
"Instant Commands": "Anlık Komutlar",
|
|
27
|
-
"Links are disabled": "
|
|
27
|
+
"Links are disabled": "",
|
|
28
28
|
"Loading channels...": "Kanallar yükleniyor...",
|
|
29
29
|
"Loading messages...": "Mesajlar yükleniyor...",
|
|
30
30
|
"Loading...": "Yükleniyor...",
|
|
31
|
-
"Message Reactions": "
|
|
31
|
+
"Message Reactions": "",
|
|
32
32
|
"Message deleted": "Mesaj silindi",
|
|
33
33
|
"Message flagged": "Mesaj işaretlendi",
|
|
34
34
|
"Mute User": "Kullanıcıyı sessize al",
|
|
35
35
|
"Not supported": "Desteklenmiyor",
|
|
36
36
|
"Nothing yet...": "Henüz değil...",
|
|
37
37
|
"Ok": "Tamam",
|
|
38
|
-
"Only visible to you": "
|
|
39
|
-
"Photo": "
|
|
40
|
-
"Photos and Videos": "
|
|
38
|
+
"Only visible to you": "",
|
|
39
|
+
"Photo": "",
|
|
40
|
+
"Photos and Videos": "",
|
|
41
41
|
"Pin to Conversation": "Konuşmaya sabitle",
|
|
42
42
|
"Pinned by": "Tarafından sabitlendi",
|
|
43
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
44
|
-
"Please select a channel first": "
|
|
43
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
44
|
+
"Please select a channel first": "",
|
|
45
45
|
"Reconnecting...": "Yeniden Bağlanılıyor...",
|
|
46
46
|
"Reply": "Yanıtla",
|
|
47
|
-
"Reply to Message": "
|
|
47
|
+
"Reply to Message": "",
|
|
48
48
|
"Resend": "Yeniden gönder",
|
|
49
|
-
"Search GIFs": "
|
|
50
|
-
"Send a message": "
|
|
51
|
-
"Sending links is not allowed in this conversation": "
|
|
52
|
-
"Slow mode ON": "
|
|
49
|
+
"Search GIFs": "",
|
|
50
|
+
"Send a message": "",
|
|
51
|
+
"Sending links is not allowed in this conversation": "",
|
|
52
|
+
"Slow mode ON": "",
|
|
53
53
|
"The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
|
|
54
54
|
"Thread Reply": "Konu Yanıtı",
|
|
55
55
|
"Unblock User": "Kullanıcının engelini kaldır",
|
|
56
|
-
"Unknown User": "
|
|
56
|
+
"Unknown User": "",
|
|
57
57
|
"Unmute User": "Kullanıcının sesini aç",
|
|
58
58
|
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
59
59
|
"Unread Messages": "Okunmamış Mesajlar",
|
|
60
|
-
"Video": "
|
|
60
|
+
"Video": "",
|
|
61
61
|
"You": "Sen",
|
|
62
|
-
"You can't send messages in this channel": "
|
|
63
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
64
|
-
"{{ index }} of {{ photoLength }}": "
|
|
62
|
+
"You can't send messages in this channel": "",
|
|
63
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
64
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
65
65
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
66
|
-
"{{ replyCount }} Thread Replies": "
|
|
67
|
-
"{{ user }} is typing": "
|
|
66
|
+
"{{ replyCount }} Thread Replies": "",
|
|
67
|
+
"{{ user }} is typing": "",
|
|
68
68
|
"🏙 Attachment...": "🏙 Ek..."
|
|
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