stream-chat-react-native-core 5.26.1-beta.2 → 5.26.1-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/Chat/Chat.js +12 -5
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +2 -0
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js +2 -2
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/es.json +34 -34
- package/lib/commonjs/i18n/fr.json +34 -34
- package/lib/commonjs/i18n/he.json +34 -34
- package/lib/commonjs/i18n/hi.json +34 -34
- package/lib/commonjs/i18n/it.json +34 -34
- package/lib/commonjs/i18n/ja.json +34 -34
- package/lib/commonjs/i18n/ko.json +34 -34
- package/lib/commonjs/i18n/nl.json +34 -34
- package/lib/commonjs/i18n/pt-BR.json +34 -34
- package/lib/commonjs/i18n/ru.json +34 -34
- package/lib/commonjs/i18n/tr.json +34 -34
- package/lib/commonjs/utils/StreamChatRN.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Chat/Chat.js +12 -5
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js +2 -0
- package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js +2 -2
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/es.json +34 -34
- package/lib/module/i18n/fr.json +34 -34
- package/lib/module/i18n/he.json +34 -34
- package/lib/module/i18n/hi.json +34 -34
- package/lib/module/i18n/it.json +34 -34
- package/lib/module/i18n/ja.json +34 -34
- package/lib/module/i18n/ko.json +34 -34
- package/lib/module/i18n/nl.json +34 -34
- package/lib/module/i18n/pt-BR.json +34 -34
- package/lib/module/i18n/ru.json +34 -34
- package/lib/module/i18n/tr.json +34 -34
- package/lib/module/utils/StreamChatRN.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Chat/Chat.d.ts +1 -1
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -1
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts +4 -0
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/es.json +34 -34
- package/lib/typescript/i18n/fr.json +34 -34
- package/lib/typescript/i18n/he.json +34 -34
- package/lib/typescript/i18n/hi.json +34 -34
- package/lib/typescript/i18n/it.json +34 -34
- package/lib/typescript/i18n/ja.json +34 -34
- package/lib/typescript/i18n/ko.json +34 -34
- package/lib/typescript/i18n/nl.json +34 -34
- package/lib/typescript/i18n/pt-BR.json +34 -34
- package/lib/typescript/i18n/ru.json +34 -34
- package/lib/typescript/i18n/tr.json +34 -34
- package/lib/typescript/utils/StreamChatRN.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +7 -1
- package/src/components/Chat/hooks/useCreateChatContext.ts +2 -0
- package/src/contexts/chatContext/ChatContext.tsx +4 -0
- package/src/i18n/en.json +1 -1
- package/src/i18n/es.json +34 -34
- package/src/i18n/fr.json +34 -34
- package/src/i18n/he.json +34 -34
- package/src/i18n/hi.json +34 -34
- package/src/i18n/it.json +34 -34
- package/src/i18n/ja.json +34 -34
- package/src/i18n/ko.json +34 -34
- package/src/i18n/nl.json +34 -34
- package/src/i18n/pt-BR.json +34 -34
- package/src/i18n/ru.json +34 -34
- package/src/i18n/tr.json +34 -34
- package/src/utils/StreamChatRN.ts +2 -0
- package/src/version.json +1 -1
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
5
|
"Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
|
|
6
6
|
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
|
|
8
8
|
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
9
|
+
"Block User": "Заблокировать пользователя",
|
|
10
|
+
"Cancel": "Отмена",
|
|
11
|
+
"Cannot Flag Message": "Невозможно пожаловаться на сообщение",
|
|
12
12
|
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
13
|
-
"Copy Message": "",
|
|
14
|
-
"Delete": "",
|
|
15
|
-
"Delete Message": "",
|
|
13
|
+
"Copy Message": "Копировать сообщение",
|
|
14
|
+
"Delete": "удалять",
|
|
15
|
+
"Delete Message": "Удалить сообщение",
|
|
16
16
|
"Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
-
"Edit Message": "",
|
|
19
|
-
"Editing Message": "
|
|
17
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
|
|
18
|
+
"Edit Message": "Редактировать сообщение",
|
|
19
|
+
"Editing Message": "",
|
|
20
20
|
"Emoji matching": "",
|
|
21
21
|
"Empty message...": "",
|
|
22
|
-
"Error loading": "
|
|
22
|
+
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "",
|
|
27
|
-
"Flag": "",
|
|
28
|
-
"Flag Message": "",
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
|
+
"File type not supported": "Тип файла не поддерживается",
|
|
27
|
+
"Flag": "Пометить",
|
|
28
|
+
"Flag Message": "Пометить сообщение",
|
|
29
|
+
"Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
31
|
"Instant Commands": "",
|
|
32
32
|
"Let's start chatting!": "",
|
|
@@ -35,45 +35,45 @@
|
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
37
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
38
|
+
"Message Reactions": "Сообщения Реакции",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
40
|
+
"Message flagged": "Сообщение отмечено",
|
|
41
|
+
"Mute User": "Отключить пользователя",
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "
|
|
44
|
+
"Ok": "Oк",
|
|
45
|
+
"Only visible to you": "",
|
|
46
46
|
"Open Settings": "Открыть настройки",
|
|
47
47
|
"Photo": "",
|
|
48
48
|
"Photos and Videos": "Фото и видео",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
49
|
+
"Pin to Conversation": "Закрепить к беседе",
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
54
|
+
"Reply": "Ответить",
|
|
55
55
|
"Reply to Message": "Ответить на сообщение",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Отправить",
|
|
57
57
|
"Search GIFs": "Поиск GIF",
|
|
58
58
|
"Select More Photos": "Выбрать больше фотографий",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "Отправить сообщение",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "Медленный режим включен",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
63
|
+
"The message has been reported to a moderator.": "Сообщение отправлено модератору.",
|
|
64
|
+
"Thread Reply": "Тема Ответить",
|
|
65
|
+
"Unblock User": "Разблокировать пользователя",
|
|
66
66
|
"Unknown User": "Неизвестный пользователь",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
67
|
+
"Unmute User": "Включить микрофон",
|
|
68
|
+
"Unpin from Conversation": "Открепить от беседы",
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "",
|
|
71
71
|
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
"Allow access to your Gallery": "Galerinize erişime izin verin",
|
|
5
5
|
"Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
|
|
6
6
|
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
|
|
8
8
|
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
9
|
+
"Block User": "Kullanıcıyı engelle",
|
|
10
|
+
"Cancel": "İptal",
|
|
11
|
+
"Cannot Flag Message": "Raporlama Başarısız",
|
|
12
12
|
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
13
|
-
"Copy Message": "",
|
|
14
|
-
"Delete": "",
|
|
15
|
-
"Delete Message": "",
|
|
13
|
+
"Copy Message": "Mesajı Kopyala",
|
|
14
|
+
"Delete": "Sil",
|
|
15
|
+
"Delete Message": "Mesajı Sil",
|
|
16
16
|
"Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
-
"Edit Message": "",
|
|
19
|
-
"Editing Message": "
|
|
17
|
+
"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?",
|
|
18
|
+
"Edit Message": "Mesajı Düzenle",
|
|
19
|
+
"Editing Message": "",
|
|
20
20
|
"Emoji matching": "",
|
|
21
21
|
"Empty message...": "",
|
|
22
|
-
"Error loading": "
|
|
22
|
+
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "",
|
|
27
|
-
"Flag": "",
|
|
28
|
-
"Flag Message": "",
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
|
+
"File type not supported": "Dosya türü desteklenmiyor",
|
|
27
|
+
"Flag": "Raporla",
|
|
28
|
+
"Flag Message": "Mesajı Raporla",
|
|
29
|
+
"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.",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
31
|
"Instant Commands": "",
|
|
32
32
|
"Let's start chatting!": "",
|
|
@@ -35,45 +35,45 @@
|
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
37
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
38
|
+
"Message Reactions": "Mesaj Tepkileri",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
40
|
+
"Message flagged": "Mesaj işaretlendi",
|
|
41
|
+
"Mute User": "Kullanıcıyı sessize al",
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "
|
|
44
|
+
"Ok": "Tamam",
|
|
45
|
+
"Only visible to you": "",
|
|
46
46
|
"Open Settings": "Ayarları aç",
|
|
47
47
|
"Photo": "",
|
|
48
48
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
49
|
+
"Pin to Conversation": "Konuşmaya sabitle",
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"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.",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
54
|
+
"Reply": "Yanıtla",
|
|
55
55
|
"Reply to Message": "Mesajı Yanıtla",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Yeniden gönder",
|
|
57
57
|
"Search GIFs": "GIF Ara",
|
|
58
58
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "Mesaj gönder",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "Yavaş Mod Açık",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
63
|
+
"The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
|
|
64
|
+
"Thread Reply": "Konu Yanıtı",
|
|
65
|
+
"Unblock User": "Kullanıcının engelini kaldır",
|
|
66
66
|
"Unknown User": "Bilinmeyen kullanıcı",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
67
|
+
"Unmute User": "Kullanıcının sesini aç",
|
|
68
|
+
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "",
|
|
71
71
|
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -4,6 +4,8 @@ type StreamConfig = {
|
|
|
4
4
|
/**
|
|
5
5
|
* StreamChatRN - Global config for the RN Chat SDK
|
|
6
6
|
* This config is used to enable/disable features and options for the SDK.
|
|
7
|
+
*
|
|
8
|
+
* @deprecated Use the `resizableCDNHosts` prop in the `Chat` component, instead. StreamChatRN will not be exposed starting the next major release.
|
|
7
9
|
*/
|
|
8
10
|
export declare class StreamChatRN {
|
|
9
11
|
/**
|
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.26.1-beta.
|
|
4
|
+
"version": "5.26.1-beta.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -27,6 +27,7 @@ import { SDK } from '../../native';
|
|
|
27
27
|
import { QuickSqliteClient } from '../../store/QuickSqliteClient';
|
|
28
28
|
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
29
29
|
import { DBSyncManager } from '../../utils/DBSyncManager';
|
|
30
|
+
import { StreamChatRN } from '../../utils/StreamChatRN';
|
|
30
31
|
import type { Streami18n } from '../../utils/Streami18n';
|
|
31
32
|
import { version } from '../../version.json';
|
|
32
33
|
|
|
@@ -35,7 +36,7 @@ init();
|
|
|
35
36
|
export type ChatProps<
|
|
36
37
|
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
|
|
37
38
|
> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> &
|
|
38
|
-
Partial<Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'>> & {
|
|
39
|
+
Partial<Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent' | 'resizableCDNHosts'>> & {
|
|
39
40
|
/**
|
|
40
41
|
* When false, ws connection won't be disconnection upon backgrounding the app.
|
|
41
42
|
* To receive push notifications, its necessary that user doesn't have active
|
|
@@ -142,6 +143,7 @@ const ChatWithContext = <
|
|
|
142
143
|
enableOfflineSupport = false,
|
|
143
144
|
i18nInstance,
|
|
144
145
|
ImageComponent = Image,
|
|
146
|
+
resizableCDNHosts = ['.stream-io-cdn.com'],
|
|
145
147
|
style,
|
|
146
148
|
} = props;
|
|
147
149
|
|
|
@@ -169,6 +171,9 @@ const ChatWithContext = <
|
|
|
169
171
|
const debugRef = useDebugContext();
|
|
170
172
|
const isDebugModeEnabled = __DEV__ && debugRef && debugRef.current;
|
|
171
173
|
|
|
174
|
+
// Set the `resizableCDNHosts` as per the prop.
|
|
175
|
+
StreamChatRN.setConfig({ resizableCDNHosts });
|
|
176
|
+
|
|
172
177
|
useEffect(() => {
|
|
173
178
|
if (client) {
|
|
174
179
|
client.setUserAgent(`${SDK}-${Platform.OS}-${version}`);
|
|
@@ -209,6 +214,7 @@ const ChatWithContext = <
|
|
|
209
214
|
ImageComponent,
|
|
210
215
|
isOnline,
|
|
211
216
|
mutedUsers,
|
|
217
|
+
resizableCDNHosts,
|
|
212
218
|
setActiveChannel,
|
|
213
219
|
});
|
|
214
220
|
|
|
@@ -14,6 +14,7 @@ export const useCreateChatContext = <
|
|
|
14
14
|
ImageComponent,
|
|
15
15
|
isOnline,
|
|
16
16
|
mutedUsers,
|
|
17
|
+
resizableCDNHosts,
|
|
17
18
|
setActiveChannel,
|
|
18
19
|
}: ChatContextValue<StreamChatGenerics>) => {
|
|
19
20
|
const channelId = channel?.id;
|
|
@@ -34,6 +35,7 @@ export const useCreateChatContext = <
|
|
|
34
35
|
ImageComponent,
|
|
35
36
|
isOnline,
|
|
36
37
|
mutedUsers,
|
|
38
|
+
resizableCDNHosts,
|
|
37
39
|
setActiveChannel,
|
|
38
40
|
}),
|
|
39
41
|
[channelId, clientValues, connectionRecovering, isOnline, mutedUsersLength],
|
|
@@ -65,6 +65,10 @@ export type ChatContextValue<
|
|
|
65
65
|
* @overrideType Channel
|
|
66
66
|
*/
|
|
67
67
|
channel?: Channel<StreamChatGenerics>;
|
|
68
|
+
/**
|
|
69
|
+
* This option allows you to specify a list of CDNs that offer image resizing.
|
|
70
|
+
*/
|
|
71
|
+
resizableCDNHosts?: string[];
|
|
68
72
|
};
|
|
69
73
|
|
|
70
74
|
export const ChatContext = React.createContext(DEFAULT_BASE_CONTEXT_VALUE as ChatContextValue);
|
package/src/i18n/en.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"File type not supported": "File type not supported",
|
|
27
27
|
"Flag": "Flag",
|
|
28
28
|
"Flag Message": "Flag Message",
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged",
|
|
29
|
+
"Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged.",
|
|
30
30
|
"How about sending your first message to a friend?": "How about sending your first message to a friend?",
|
|
31
31
|
"Instant Commands": "Instant Commands",
|
|
32
32
|
"Let's start chatting!": "Let's start chatting!",
|
package/src/i18n/es.json
CHANGED
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
"Allow access to your Gallery": "Permitir acceso a tu galería",
|
|
5
5
|
"Allow camera access in device settings": "Permitir el acceso a la cámara en la configuración del dispositivo",
|
|
6
6
|
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "¿Estás seguro de que deseas eliminar permanentemente este mensaje?",
|
|
8
8
|
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
9
|
+
"Block User": "Bloquear usuario",
|
|
10
|
+
"Cancel": "Cancelar",
|
|
11
|
+
"Cannot Flag Message": "No se puede reportar el mensaje",
|
|
12
12
|
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
13
|
-
"Copy Message": "",
|
|
14
|
-
"Delete": "",
|
|
15
|
-
"Delete Message": "",
|
|
13
|
+
"Copy Message": "Copiar mensaje",
|
|
14
|
+
"Delete": "Eliminar",
|
|
15
|
+
"Delete Message": "Eliminar mensaje",
|
|
16
16
|
"Device camera is used to take photos or videos.": "La cámara del dispositivo se utiliza para tomar fotografías o vídeos.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
-
"Edit Message": "",
|
|
19
|
-
"Editing Message": "
|
|
17
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "¿Deseas enviar una copia de este mensaje a un moderador para una investigación adicional?",
|
|
18
|
+
"Edit Message": "Editar mensaje",
|
|
19
|
+
"Editing Message": "",
|
|
20
20
|
"Emoji matching": "",
|
|
21
21
|
"Empty message...": "",
|
|
22
|
-
"Error loading": "
|
|
22
|
+
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "",
|
|
27
|
-
"Flag": "",
|
|
28
|
-
"Flag Message": "",
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
|
+
"File type not supported": "Tipo de archivo no admitido",
|
|
27
|
+
"Flag": "Reportar",
|
|
28
|
+
"Flag Message": "Reportar mensaje",
|
|
29
|
+
"Flag action failed either due to a network issue or the message is already flagged": "El reporte falló debido a un problema de red o el mensaje ya fue reportado.",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
31
|
"Instant Commands": "",
|
|
32
32
|
"Let's start chatting!": "",
|
|
@@ -35,45 +35,45 @@
|
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
37
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
38
|
+
"Message Reactions": "Reacciones al mensaje",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
40
|
+
"Message flagged": "Mensaje reportado",
|
|
41
|
+
"Mute User": "Silenciar usuario",
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "
|
|
44
|
+
"Ok": "Aceptar",
|
|
45
|
+
"Only visible to you": "",
|
|
46
46
|
"Open Settings": "Configuración abierta",
|
|
47
47
|
"Photo": "",
|
|
48
48
|
"Photos and Videos": "Fotos y videos",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
49
|
+
"Pin to Conversation": "Fijar a la conversación",
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "Por favor, habilita el acceso a tus fotos y videos para poder compartirlos.",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
54
|
+
"Reply": "Responder",
|
|
55
55
|
"Reply to Message": "Responder al mensaje",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Reenviar",
|
|
57
57
|
"Search GIFs": "Buscar GIFs",
|
|
58
58
|
"Select More Photos": "Seleccionar más fotos",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "Enviar un mensaje",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "Modo lento ACTIVADO",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
63
|
+
"The message has been reported to a moderator.": "El mensaje ha sido reportado a un moderador.",
|
|
64
|
+
"Thread Reply": "Respuesta de hilo",
|
|
65
|
+
"Unblock User": "Desbloquear usuario",
|
|
66
66
|
"Unknown User": "Usuario desconocido",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
67
|
+
"Unmute User": "Activar sonido del usuario",
|
|
68
|
+
"Unpin from Conversation": "Desmarcar de la conversación",
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "",
|
|
71
71
|
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} de {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Respuestas",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "{{ replyCount }} respuestas de hilo",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
package/src/i18n/fr.json
CHANGED
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
"Allow access to your Gallery": "Autoriser l'accès à votre galerie",
|
|
5
5
|
"Allow camera access in device settings": "Autoriser l'accès à la caméra dans les paramètres de l'appareil",
|
|
6
6
|
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "Êtes-vous sûr de vouloir supprimer définitivement ce message?",
|
|
8
8
|
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
9
|
+
"Block User": "Bloquer un utilisateur",
|
|
10
|
+
"Cancel": "Annuler",
|
|
11
|
+
"Cannot Flag Message": "Impossible de signaler le message",
|
|
12
12
|
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
13
|
-
"Copy Message": "",
|
|
14
|
-
"Delete": "",
|
|
15
|
-
"Delete Message": "",
|
|
13
|
+
"Copy Message": "Copier le message",
|
|
14
|
+
"Delete": "Supprimer",
|
|
15
|
+
"Delete Message": "Supprimer un message",
|
|
16
16
|
"Device camera is used to take photos or videos.": "L'appareil photo de l'appareil est utilisé pour prendre des photos ou des vidéos.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
-
"Edit Message": "",
|
|
19
|
-
"Editing Message": "
|
|
17
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "Voulez-vous envoyer une copie de ce message à un modérateur pour une enquête plus approfondie?",
|
|
18
|
+
"Edit Message": "Éditer un message",
|
|
19
|
+
"Editing Message": "",
|
|
20
20
|
"Emoji matching": "",
|
|
21
21
|
"Empty message...": "",
|
|
22
|
-
"Error loading": "
|
|
22
|
+
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "",
|
|
27
|
-
"Flag": "",
|
|
28
|
-
"Flag Message": "",
|
|
29
|
-
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
|
+
"File type not supported": "Le type de fichier n'est pas pris en charge",
|
|
27
|
+
"Flag": "Signaler",
|
|
28
|
+
"Flag Message": "Signaler le message",
|
|
29
|
+
"Flag action failed either due to a network issue or the message is already flagged": "L'action de signalisation a échoué en raison d'un problème de réseau ou le message est déjà signalé.",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
31
|
"Instant Commands": "",
|
|
32
32
|
"Let's start chatting!": "",
|
|
@@ -35,45 +35,45 @@
|
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
37
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
38
|
+
"Message Reactions": "Réactions aux messages",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
40
|
+
"Message flagged": "Message signalé",
|
|
41
|
+
"Mute User": "Utilisateur muet",
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "
|
|
44
|
+
"Ok": "Ok",
|
|
45
|
+
"Only visible to you": "",
|
|
46
46
|
"Open Settings": "Ouvrir les paramètres",
|
|
47
47
|
"Photo": "",
|
|
48
48
|
"Photos and Videos": "Photos et vidéos",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "
|
|
49
|
+
"Pin to Conversation": "Épingler à la conversation",
|
|
50
|
+
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "Veuillez autoriser l'accès à vos photos et vidéos afin de pouvoir les partager.",
|
|
52
52
|
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
54
|
+
"Reply": "Répondre",
|
|
55
55
|
"Reply to Message": "Répondre au message",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Renvoyer",
|
|
57
57
|
"Search GIFs": "Rechercher des GIF",
|
|
58
58
|
"Select More Photos": "Sélectionner plus de photos",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "Envoyer un message",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "Mode lent activé",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
63
|
+
"The message has been reported to a moderator.": "Le message a été signalé à un modérateur.",
|
|
64
|
+
"Thread Reply": "Réponse à la discussion",
|
|
65
|
+
"Unblock User": "Débloquer Utilisateur",
|
|
66
66
|
"Unknown User": "Utilisateur inconnu",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "
|
|
67
|
+
"Unmute User": "Activer le son de Utilisateur",
|
|
68
|
+
"Unpin from Conversation": "Décrocher de la conversation",
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "",
|
|
71
71
|
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} sur {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Réponses",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "{{replyCount}} Réponses à la discussion",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|