stream-chat-react-native-core 5.24.0-beta.1 → 5.24.0-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/ChannelList/hooks/usePaginatedChannels.js +52 -18
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +4 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +31 -30
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +37 -35
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/i18n/fr.json +12 -12
- package/lib/commonjs/i18n/hi.json +12 -12
- package/lib/commonjs/i18n/it.json +12 -12
- package/lib/commonjs/i18n/nl.json +12 -12
- package/lib/commonjs/i18n/ru.json +12 -12
- package/lib/commonjs/i18n/tr.json +12 -12
- package/lib/commonjs/utils/utils.js +1 -3
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +52 -18
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +4 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +31 -30
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +37 -35
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/i18n/fr.json +12 -12
- package/lib/module/i18n/hi.json +12 -12
- package/lib/module/i18n/it.json +12 -12
- package/lib/module/i18n/nl.json +12 -12
- package/lib/module/i18n/ru.json +12 -12
- package/lib/module/i18n/tr.json +12 -12
- package/lib/module/utils/utils.js +1 -3
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -1
- package/lib/typescript/i18n/fr.json +12 -12
- package/lib/typescript/i18n/hi.json +12 -12
- package/lib/typescript/i18n/it.json +12 -12
- package/lib/typescript/i18n/nl.json +12 -12
- package/lib/typescript/i18n/ru.json +12 -12
- package/lib/typescript/i18n/tr.json +12 -12
- package/lib/typescript/utils/utils.d.ts +0 -1
- package/package.json +1 -1
- package/src/components/ChannelList/hooks/usePaginatedChannels.ts +6 -3
- package/src/components/ChannelPreview/ChannelPreview.tsx +5 -5
- package/src/components/MessageList/MessageList.tsx +11 -3
- package/src/contexts/messageInputContext/MessageInputContext.tsx +3 -2
- package/src/i18n/fr.json +12 -12
- package/src/i18n/hi.json +12 -12
- package/src/i18n/it.json +12 -12
- package/src/i18n/nl.json +12 -12
- package/src/i18n/ru.json +12 -12
- package/src/i18n/tr.json +12 -12
- package/src/utils/utils.ts +0 -2
- package/src/version.json +1 -1
|
@@ -110,7 +110,6 @@ export declare const getUrlWithoutParams: (url?: string | undefined) => string |
|
|
|
110
110
|
export declare const isLocalUrl: (url: string) => boolean;
|
|
111
111
|
export declare const generateRandomId: (a?: string) => string;
|
|
112
112
|
export declare const hasOnlyEmojis: (text: string) => boolean;
|
|
113
|
-
export declare const urlRegex: RegExp;
|
|
114
113
|
/**
|
|
115
114
|
* Reduces a list of messages to strings that are used in useEffect & useMemo
|
|
116
115
|
* @param {messages} messages - the array of messages to be compared
|
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.24.0-beta.
|
|
4
|
+
"version": "5.24.0-beta.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -168,7 +168,9 @@ export const usePaginatedChannels = <
|
|
|
168
168
|
await queryChannels('refresh');
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
const reloadList = () =>
|
|
171
|
+
const reloadList = async () => {
|
|
172
|
+
await queryChannels('reload');
|
|
173
|
+
};
|
|
172
174
|
|
|
173
175
|
/**
|
|
174
176
|
* Equality check using stringified filters/sort ensure that we don't make un-necessary queryChannels api calls
|
|
@@ -219,10 +221,11 @@ export const usePaginatedChannels = <
|
|
|
219
221
|
if (enableOfflineSupport) {
|
|
220
222
|
// Any time DB is synced, we need to update the UI with local DB channels first,
|
|
221
223
|
// and then call queryChannels to ensure any new channels are added to UI.
|
|
222
|
-
listener = DBSyncManager.onSyncStatusChange((syncStatus) => {
|
|
224
|
+
listener = DBSyncManager.onSyncStatusChange(async (syncStatus) => {
|
|
223
225
|
if (syncStatus) {
|
|
224
226
|
loadOfflineChannels();
|
|
225
|
-
reloadList();
|
|
227
|
+
await reloadList();
|
|
228
|
+
setForceUpdate((u) => u + 1);
|
|
226
229
|
}
|
|
227
230
|
});
|
|
228
231
|
// On start, load the channels from local db.
|
|
@@ -16,7 +16,7 @@ import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
|
16
16
|
export type ChannelPreviewPropsWithContext<
|
|
17
17
|
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
|
|
18
18
|
> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> &
|
|
19
|
-
Pick<ChannelsContextValue<StreamChatGenerics>, 'Preview'> & {
|
|
19
|
+
Pick<ChannelsContextValue<StreamChatGenerics>, 'Preview' | 'forceUpdate'> & {
|
|
20
20
|
/**
|
|
21
21
|
* The previewed channel
|
|
22
22
|
*/
|
|
@@ -32,7 +32,7 @@ const ChannelPreviewWithContext = <
|
|
|
32
32
|
>(
|
|
33
33
|
props: ChannelPreviewPropsWithContext<StreamChatGenerics>,
|
|
34
34
|
) => {
|
|
35
|
-
const { channel, client, Preview } = props;
|
|
35
|
+
const { channel, client, forceUpdate: channelListForceUpdate, Preview } = props;
|
|
36
36
|
|
|
37
37
|
const [lastMessage, setLastMessage] = useState<
|
|
38
38
|
| ReturnType<ChannelState<StreamChatGenerics>['formatMessage']>
|
|
@@ -70,7 +70,7 @@ const ChannelPreviewWithContext = <
|
|
|
70
70
|
|
|
71
71
|
const newUnreadCount = channel.countUnread();
|
|
72
72
|
setUnread(newUnreadCount);
|
|
73
|
-
}, [channelLastMessageString]);
|
|
73
|
+
}, [channelLastMessageString, channelListForceUpdate]);
|
|
74
74
|
|
|
75
75
|
useEffect(() => {
|
|
76
76
|
const handleNewMessageEvent = (event: Event<StreamChatGenerics>) => {
|
|
@@ -126,7 +126,7 @@ export const ChannelPreview = <
|
|
|
126
126
|
props: ChannelPreviewProps<StreamChatGenerics>,
|
|
127
127
|
) => {
|
|
128
128
|
const { client } = useChatContext<StreamChatGenerics>();
|
|
129
|
-
const { Preview } = useChannelsContext<StreamChatGenerics>();
|
|
129
|
+
const { forceUpdate, Preview } = useChannelsContext<StreamChatGenerics>();
|
|
130
130
|
|
|
131
|
-
return <ChannelPreviewWithContext {...{ client, Preview }} {...props} />;
|
|
131
|
+
return <ChannelPreviewWithContext {...{ client, forceUpdate, Preview }} {...props} />;
|
|
132
132
|
};
|
|
@@ -489,10 +489,18 @@ const MessageListWithContext = <
|
|
|
489
489
|
if (!client || !channel || rawMessageList.length === 0) {
|
|
490
490
|
return;
|
|
491
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* Condition to check if a message is removed from MessageList.
|
|
494
|
+
* Eg: This would happen when giphy search is cancelled, etc.
|
|
495
|
+
* If such a case arises, we scroll to bottom.
|
|
496
|
+
*/
|
|
497
|
+
const isMessageRemovedFromMessageList =
|
|
498
|
+
messageListLengthAfterUpdate < messageListLengthBeforeUpdate.current;
|
|
492
499
|
if (
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
500
|
+
isMessageRemovedFromMessageList ||
|
|
501
|
+
(topMessageBeforeUpdate.current?.created_at &&
|
|
502
|
+
topMessageAfterUpdate?.created_at &&
|
|
503
|
+
topMessageBeforeUpdate.current.created_at < topMessageAfterUpdate.created_at)
|
|
496
504
|
) {
|
|
497
505
|
channelResyncScrollSet.current = false;
|
|
498
506
|
setScrollToBottomButtonVisible(false);
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
import { useCreateMessageInputContext } from './hooks/useCreateMessageInputContext';
|
|
21
21
|
import { isEditingBoolean, useMessageDetailsForState } from './hooks/useMessageDetailsForState';
|
|
22
22
|
|
|
23
|
+
import { parseLinksFromText } from '../../components/Message/MessageSimple/utils/parseLinks';
|
|
23
24
|
import type { AttachButtonProps } from '../../components/MessageInput/AttachButton';
|
|
24
25
|
import type { CommandsButtonProps } from '../../components/MessageInput/CommandsButton';
|
|
25
26
|
import type { InputEditingStateHeaderProps } from '../../components/MessageInput/components/InputEditingStateHeader';
|
|
@@ -53,7 +54,6 @@ import {
|
|
|
53
54
|
FileStateValue,
|
|
54
55
|
generateRandomId,
|
|
55
56
|
TriggerSettings,
|
|
56
|
-
urlRegex,
|
|
57
57
|
} from '../../utils/utils';
|
|
58
58
|
import { useAttachmentPickerContext } from '../attachmentPickerContext/AttachmentPickerContext';
|
|
59
59
|
import { ChannelContextValue, useChannelContext } from '../channelContext/ChannelContext';
|
|
@@ -689,8 +689,9 @@ export const MessageInputProvider = <
|
|
|
689
689
|
if (sending.current) {
|
|
690
690
|
return;
|
|
691
691
|
}
|
|
692
|
+
const linkInfos = parseLinksFromText(text);
|
|
692
693
|
|
|
693
|
-
if (!channelCapabities.sendLinks &&
|
|
694
|
+
if (!channelCapabities.sendLinks && linkInfos.length > 0) {
|
|
694
695
|
Alert.alert(t('Links are disabled'), t('Sending links is not allowed in this conversation'));
|
|
695
696
|
|
|
696
697
|
return;
|
package/src/i18n/fr.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"1 Thread Reply": "",
|
|
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
|
-
"Also send to channel": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"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.",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
29
|
"Instant Commands": "",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
|
-
"Links are disabled": "",
|
|
31
|
+
"Links are disabled": "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
|
-
"Only visible to you": "",
|
|
43
|
+
"Only visible to you": "Seulement visible par vous",
|
|
44
44
|
"Open Settings": "Ouvrir les paramètres",
|
|
45
|
-
"Photo": "
|
|
45
|
+
"Photo": "",
|
|
46
46
|
"Photos and Videos": "Photos et vidéos",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
|
-
"Pinned by": "",
|
|
48
|
+
"Pinned by": "Épinglé par",
|
|
49
49
|
"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.",
|
|
50
|
-
"Please select a channel first": "",
|
|
50
|
+
"Please select a channel first": "Veuillez d'abord selectionnez un canal",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "Répondre au message",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"Search GIFs": "Rechercher des GIF",
|
|
56
56
|
"Select More Photos": "Sélectionner plus de photos",
|
|
57
57
|
"Send a message": "Envoyer un message",
|
|
58
|
-
"Sending links is not allowed in this conversation": "",
|
|
58
|
+
"Sending links is not allowed in this conversation": "Sending links is not allowed in this conversation",
|
|
59
59
|
"Slow mode ON": "Mode lent activé",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"Unknown User": "Utilisateur inconnu",
|
|
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": "",
|
package/src/i18n/hi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
4
|
"Allow access to your Gallery": "अपनी गैलरी तक पहुँचने की अनुमति दें",
|
|
5
5
|
"Allow camera access in device settings": "डिवाइस सेटिंग्स में कैमरा एक्सेस की अनुमति दें",
|
|
6
|
-
"Also send to channel": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
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
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
29
|
"Instant Commands": "",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
|
-
"Links are disabled": "",
|
|
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
|
-
"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
|
-
"Please select a channel first": "",
|
|
50
|
+
"Please select a channel first": "कृपया पहले एक चैनल चुनें",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "संदेश का जवाब दें",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"Search GIFs": "GIF खोजें",
|
|
56
56
|
"Select More Photos": "अधिक फ़ोटो चुनें",
|
|
57
57
|
"Send a message": "एक संदेश भेजें",
|
|
58
|
-
"Sending links is not allowed in this conversation": "",
|
|
58
|
+
"Sending links is not allowed in this conversation": "इस बातचीत में लिंक भेजने की अनुमति नहीं है",
|
|
59
59
|
"Slow mode ON": "स्लो मोड चालू",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
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": "",
|
package/src/i18n/it.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
4
|
"Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
|
|
5
5
|
"Allow camera access in device settings": "Consenti l'accesso alla fotocamera nelle impostazioni del dispositivo",
|
|
6
|
-
"Also send to channel": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"Device camera is used to take photos or videos.": "La fotocamera del dispositivo viene utilizzata per scattare foto o video.",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
29
|
"Instant Commands": "",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
|
-
"Links are disabled": "",
|
|
31
|
+
"Links are disabled": "I link sono disabilitati",
|
|
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
|
-
"Only visible to you": "",
|
|
43
|
+
"Only visible to you": "Visibile solo a te",
|
|
44
44
|
"Open Settings": "Apri Impostazioni",
|
|
45
|
-
"Photo": "
|
|
45
|
+
"Photo": "",
|
|
46
46
|
"Photos and Videos": "Foto e Video",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
|
-
"Pinned by": "",
|
|
48
|
+
"Pinned by": "Fissato da",
|
|
49
49
|
"Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
|
|
50
|
-
"Please select a channel first": "",
|
|
50
|
+
"Please select a channel first": "Seleziona un canale",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "Rispondi al messaggio",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"Search GIFs": "Cerca GIF",
|
|
56
56
|
"Select More Photos": "Seleziona Altre foto",
|
|
57
57
|
"Send a message": "Mandare un messaggio",
|
|
58
|
-
"Sending links is not allowed in this conversation": "",
|
|
58
|
+
"Sending links is not allowed in this conversation": "L'invio di link non è consentito in questa conversazione",
|
|
59
59
|
"Slow mode ON": "Slowmode attiva",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"Unknown User": "Utente sconosciuto",
|
|
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": "",
|
package/src/i18n/nl.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
4
|
"Allow access to your Gallery": "Geef toegang tot uw galerij",
|
|
5
5
|
"Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
|
|
6
|
-
"Also send to channel": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
29
|
"Instant Commands": "",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
|
-
"Links are disabled": "",
|
|
31
|
+
"Links are disabled": "Het versturen van links staat uit",
|
|
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
|
-
"Only visible to you": "",
|
|
43
|
+
"Only visible to you": "Alleen zichtbaar voor jou",
|
|
44
44
|
"Open Settings": "Open instellingen",
|
|
45
|
-
"Photo": "
|
|
45
|
+
"Photo": "",
|
|
46
46
|
"Photos and Videos": "Foto's en video's",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
|
-
"Pinned by": "",
|
|
48
|
+
"Pinned by": "Vastgemaakt door",
|
|
49
49
|
"Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
|
|
50
|
-
"Please select a channel first": "",
|
|
50
|
+
"Please select a channel first": "Selecteer eerst een kanaal",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "Beantwoord bericht",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"Search GIFs": "Zoek GIF's",
|
|
56
56
|
"Select More Photos": "Selecteer Meer foto's",
|
|
57
57
|
"Send a message": "Stuur een bericht",
|
|
58
|
-
"Sending links is not allowed in this conversation": "",
|
|
58
|
+
"Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
|
|
59
59
|
"Slow mode ON": "Langzame modus aan",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"Unknown User": "Onbekende gebruiker",
|
|
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": "",
|
package/src/i18n/ru.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
4
|
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
5
|
"Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
|
|
6
|
-
"Also send to channel": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
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
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
29
|
"Instant Commands": "",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
|
-
"Links are disabled": "",
|
|
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
|
-
"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
|
-
"Please select a channel first": "",
|
|
50
|
+
"Please select a channel first": "Пожалуйста, сначала выберите канал",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "Ответить на сообщение",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"Search GIFs": "Поиск GIF",
|
|
56
56
|
"Select More Photos": "Выбрать больше фотографий",
|
|
57
57
|
"Send a message": "Отправить сообщение",
|
|
58
|
-
"Sending links is not allowed in this conversation": "",
|
|
58
|
+
"Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
|
|
59
59
|
"Slow mode ON": "Медленный режим включен",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
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": "",
|
package/src/i18n/tr.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"1 Thread Reply": "",
|
|
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
|
-
"Also send to channel": "
|
|
6
|
+
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
8
|
"Block User": "",
|
|
9
9
|
"Cancel": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
|
|
15
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
16
|
"Edit Message": "",
|
|
17
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
18
18
|
"Emoji matching": "",
|
|
19
19
|
"Empty message...": "",
|
|
20
20
|
"Error loading": "",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"How about sending your first message to a friend?": "",
|
|
29
29
|
"Instant Commands": "",
|
|
30
30
|
"Let's start chatting!": "",
|
|
31
|
-
"Links are disabled": "",
|
|
31
|
+
"Links are disabled": "Bağlantılar devre dışı",
|
|
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
|
-
"Only visible to you": "",
|
|
43
|
+
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
44
44
|
"Open Settings": "Ayarları aç",
|
|
45
|
-
"Photo": "
|
|
45
|
+
"Photo": "",
|
|
46
46
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
47
47
|
"Pin to Conversation": "",
|
|
48
|
-
"Pinned by": "",
|
|
48
|
+
"Pinned by": "Tarafından sabitlendi",
|
|
49
49
|
"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.",
|
|
50
|
-
"Please select a channel first": "",
|
|
50
|
+
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
51
51
|
"Reconnecting...": "",
|
|
52
52
|
"Reply": "",
|
|
53
53
|
"Reply to Message": "Mesajı Yanıtla",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"Search GIFs": "GIF Ara",
|
|
56
56
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
57
57
|
"Send a message": "Mesaj gönder",
|
|
58
|
-
"Sending links is not allowed in this conversation": "",
|
|
58
|
+
"Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
|
|
59
59
|
"Slow mode ON": "Yavaş Mod Açık",
|
|
60
60
|
"The message has been reported to a moderator.": "",
|
|
61
61
|
"Thread Reply": "",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"Unknown User": "Bilinmeyen kullanıcı",
|
|
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": "",
|
package/src/utils/utils.ts
CHANGED
package/src/version.json
CHANGED