stream-chat-react-native-core 5.22.2-beta.3 → 5.22.2-beta.4
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/Channel/Channel.js +11 -11
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +26 -27
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/i18n/fr.json +9 -9
- package/lib/commonjs/i18n/hi.json +9 -9
- package/lib/commonjs/i18n/it.json +9 -9
- package/lib/commonjs/i18n/nl.json +9 -9
- package/lib/commonjs/i18n/ru.json +9 -9
- package/lib/commonjs/i18n/tr.json +9 -9
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +11 -11
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +26 -27
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/i18n/fr.json +9 -9
- package/lib/module/i18n/hi.json +9 -9
- package/lib/module/i18n/it.json +9 -9
- package/lib/module/i18n/nl.json +9 -9
- package/lib/module/i18n/ru.json +9 -9
- package/lib/module/i18n/tr.json +9 -9
- package/lib/module/version.json +1 -1
- package/lib/typescript/i18n/fr.json +9 -9
- package/lib/typescript/i18n/hi.json +9 -9
- package/lib/typescript/i18n/it.json +9 -9
- package/lib/typescript/i18n/nl.json +9 -9
- package/lib/typescript/i18n/ru.json +9 -9
- package/lib/typescript/i18n/tr.json +9 -9
- package/package.json +1 -1
- package/src/components/Channel/Channel.tsx +3 -3
- package/src/components/MessageList/MessageList.tsx +9 -8
- package/src/i18n/fr.json +9 -9
- package/src/i18n/hi.json +9 -9
- package/src/i18n/it.json +9 -9
- package/src/i18n/nl.json +9 -9
- package/src/i18n/ru.json +9 -9
- package/src/i18n/tr.json +9 -9
- package/src/version.json +1 -1
|
@@ -33,30 +33,30 @@
|
|
|
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.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
|
|
36
|
-
"Message Reactions": "",
|
|
36
|
+
"Message Reactions": "Bericht Reacties",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "Bericht gemarkeerd",
|
|
39
39
|
"Mute User": "Gebruiker dempen",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "niet ondersteund",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "Oké",
|
|
43
|
-
"Only visible to you": "
|
|
43
|
+
"Only visible to you": "",
|
|
44
44
|
"Open Settings": "",
|
|
45
|
-
"Photo": "
|
|
45
|
+
"Photo": "",
|
|
46
46
|
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "Vastmaken aan gesprek",
|
|
48
|
-
"Pinned by": "",
|
|
48
|
+
"Pinned by": "Vastgemaakt door",
|
|
49
49
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
50
|
"Please select a channel first": "Selecteer eerst een kanaal",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "Antwoord",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "Opnieuw versturen",
|
|
55
|
-
"Search GIFs": "",
|
|
55
|
+
"Search GIFs": "Zoek GIF's",
|
|
56
56
|
"Select More Photos": "",
|
|
57
|
-
"Send a message": "",
|
|
57
|
+
"Send a message": "Stuur een bericht",
|
|
58
58
|
"Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "Langzame modus aan",
|
|
60
60
|
"The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
|
|
61
61
|
"Thread Reply": "Discussie beantwoorden",
|
|
62
62
|
"Unblock User": "Deblokkeer gebruiker",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"Unmute User": "Dempen van gebruiker opheffen",
|
|
65
65
|
"Unpin from Conversation": "Losmaken van gesprek",
|
|
66
66
|
"Unread Messages": "",
|
|
67
|
-
"Video": "
|
|
67
|
+
"Video": "",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
@@ -33,30 +33,30 @@
|
|
|
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.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_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": "Oк",
|
|
43
|
-
"Only visible to you": "
|
|
43
|
+
"Only visible to you": "",
|
|
44
44
|
"Open Settings": "",
|
|
45
|
-
"Photo": "
|
|
45
|
+
"Photo": "",
|
|
46
46
|
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "Закрепить к беседе",
|
|
48
|
-
"Pinned by": "",
|
|
48
|
+
"Pinned by": "Закреплено пользователем",
|
|
49
49
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
50
|
"Please select a channel first": "Пожалуйста, сначала выберите канал",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "Ответить",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "Отправить",
|
|
55
|
-
"Search GIFs": "",
|
|
55
|
+
"Search GIFs": "Поиск GIF",
|
|
56
56
|
"Select More Photos": "",
|
|
57
|
-
"Send a message": "",
|
|
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": "Разблокировать пользователя",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"Unmute User": "Включить микрофон",
|
|
65
65
|
"Unpin from Conversation": "Открепить от беседы",
|
|
66
66
|
"Unread Messages": "",
|
|
67
|
-
"Video": "
|
|
67
|
+
"Video": "",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
@@ -33,30 +33,30 @@
|
|
|
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.": "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.",
|
|
36
|
-
"Message Reactions": "",
|
|
36
|
+
"Message Reactions": "Mesaj Tepkileri",
|
|
37
37
|
"Message deleted": "",
|
|
38
38
|
"Message flagged": "Mesaj işaretlendi",
|
|
39
39
|
"Mute User": "Kullanıcıyı sessize al",
|
|
40
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "Desteklenmiyor",
|
|
41
41
|
"Nothing yet...": "",
|
|
42
42
|
"Ok": "Tamam",
|
|
43
|
-
"Only visible to you": "
|
|
43
|
+
"Only visible to you": "",
|
|
44
44
|
"Open Settings": "",
|
|
45
|
-
"Photo": "
|
|
45
|
+
"Photo": "",
|
|
46
46
|
"Photos and Videos": "",
|
|
47
47
|
"Pin to Conversation": "Konuşmaya sabitle",
|
|
48
|
-
"Pinned by": "",
|
|
48
|
+
"Pinned by": "Tarafından sabitlendi",
|
|
49
49
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
50
50
|
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "Yanıtla",
|
|
53
53
|
"Reply to Message": "",
|
|
54
54
|
"Resend": "Yeniden gönder",
|
|
55
|
-
"Search GIFs": "",
|
|
55
|
+
"Search GIFs": "GIF Ara",
|
|
56
56
|
"Select More Photos": "",
|
|
57
|
-
"Send a message": "",
|
|
57
|
+
"Send a message": "Mesaj gönder",
|
|
58
58
|
"Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
|
|
59
|
-
"Slow mode ON": "",
|
|
59
|
+
"Slow mode ON": "Yavaş Mod Açık",
|
|
60
60
|
"The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
|
|
61
61
|
"Thread Reply": "Konu Yanıtı",
|
|
62
62
|
"Unblock User": "Kullanıcının engelini kaldır",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"Unmute User": "Kullanıcının sesini aç",
|
|
65
65
|
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
66
66
|
"Unread Messages": "",
|
|
67
|
-
"Video": "
|
|
67
|
+
"Video": "",
|
|
68
68
|
"You": "",
|
|
69
69
|
"You can't send messages in this channel": "",
|
|
70
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
@@ -670,27 +670,27 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
670
670
|
var loadChannelAroundMessage = function loadChannelAroundMessage(_ref3) {
|
|
671
671
|
var messageIdToLoadAround = _ref3.messageId;
|
|
672
672
|
return channelQueryCallRef.current((0, _asyncToGenerator2["default"])(_regenerator["default"].mark(function _callee3() {
|
|
673
|
+
var areLatestMessages;
|
|
673
674
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
674
675
|
while (1) switch (_context3.prev = _context3.next) {
|
|
675
676
|
case 0:
|
|
676
677
|
setLoading(true);
|
|
677
678
|
if (!messageIdToLoadAround) {
|
|
678
|
-
_context3.next =
|
|
679
|
+
_context3.next = 6;
|
|
679
680
|
break;
|
|
680
681
|
}
|
|
681
|
-
|
|
682
|
-
channel.state.setIsUpToDate(false);
|
|
683
|
-
_context3.next = 6;
|
|
682
|
+
_context3.next = 4;
|
|
684
683
|
return channel.state.loadMessageIntoState(messageIdToLoadAround);
|
|
685
|
-
case
|
|
686
|
-
_context3.next =
|
|
684
|
+
case 4:
|
|
685
|
+
_context3.next = 8;
|
|
687
686
|
break;
|
|
688
|
-
case
|
|
689
|
-
_context3.next =
|
|
687
|
+
case 6:
|
|
688
|
+
_context3.next = 8;
|
|
690
689
|
return channel.state.loadMessageIntoState('latest');
|
|
691
|
-
case
|
|
692
|
-
channel.state.
|
|
693
|
-
|
|
690
|
+
case 8:
|
|
691
|
+
areLatestMessages = channel.state.messages === channel.state.latestMessages;
|
|
692
|
+
setHasNoMoreRecentMessagesToLoad(areLatestMessages);
|
|
693
|
+
channel.state.setIsUpToDate(areLatestMessages);
|
|
694
694
|
setLoading(false);
|
|
695
695
|
case 12:
|
|
696
696
|
case "end":
|