stream-chat-react-native-core 5.25.0-beta.3 → 5.25.0-beta.5
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/ImageGallery/ImageGallery.js +22 -21
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +2 -0
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +12 -8
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -0
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/es.json +36 -36
- package/lib/commonjs/i18n/fr.json +36 -36
- package/lib/commonjs/i18n/he.json +36 -36
- package/lib/commonjs/i18n/hi.json +36 -36
- package/lib/commonjs/i18n/it.json +36 -36
- package/lib/commonjs/i18n/ja.json +36 -36
- package/lib/commonjs/i18n/ko.json +36 -36
- package/lib/commonjs/i18n/nl.json +36 -36
- package/lib/commonjs/i18n/ru.json +36 -36
- package/lib/commonjs/i18n/tr.json +36 -36
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +22 -21
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGrid.js +2 -0
- package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/module/components/MessageInput/UploadProgressIndicator.js +12 -8
- package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +1 -0
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/es.json +36 -36
- package/lib/module/i18n/fr.json +36 -36
- package/lib/module/i18n/he.json +36 -36
- package/lib/module/i18n/hi.json +36 -36
- package/lib/module/i18n/it.json +36 -36
- package/lib/module/i18n/ja.json +36 -36
- package/lib/module/i18n/ko.json +36 -36
- package/lib/module/i18n/nl.json +36 -36
- package/lib/module/i18n/ru.json +36 -36
- package/lib/module/i18n/tr.json +36 -36
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +1 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -0
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/es.json +36 -36
- package/lib/typescript/i18n/fr.json +36 -36
- package/lib/typescript/i18n/he.json +36 -36
- package/lib/typescript/i18n/hi.json +36 -36
- package/lib/typescript/i18n/it.json +36 -36
- package/lib/typescript/i18n/ja.json +36 -36
- package/lib/typescript/i18n/ko.json +36 -36
- package/lib/typescript/i18n/nl.json +36 -36
- package/lib/typescript/i18n/ru.json +36 -36
- package/lib/typescript/i18n/tr.json +36 -36
- package/package.json +1 -1
- package/src/components/ImageGallery/ImageGallery.tsx +3 -1
- package/src/components/ImageGallery/components/ImageGrid.tsx +2 -2
- package/src/components/MessageInput/UploadProgressIndicator.tsx +8 -2
- package/src/contexts/themeContext/utils/theme.ts +2 -0
- package/src/i18n/en.json +1 -1
- package/src/i18n/es.json +36 -36
- package/src/i18n/fr.json +36 -36
- package/src/i18n/he.json +36 -36
- package/src/i18n/hi.json +36 -36
- package/src/i18n/it.json +36 -36
- package/src/i18n/ja.json +36 -36
- package/src/i18n/ko.json +36 -36
- package/src/i18n/nl.json +36 -36
- package/src/i18n/ru.json +36 -36
- package/src/i18n/tr.json +36 -36
- package/src/version.json +1 -1
|
@@ -3,77 +3,77 @@
|
|
|
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": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
6
|
+
"Also send to channel": "Также отправить на канал",
|
|
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
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!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
33
|
+
"Links are disabled": "Ссылки отключены",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
37
|
+
"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}} МБ.",
|
|
38
|
+
"Message Reactions": "Сообщения Реакции",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
40
|
+
"Message flagged": "Сообщение отмечено",
|
|
41
|
+
"Mute User": "Отключить пользователя",
|
|
42
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": "",
|
|
49
|
+
"Pin to Conversation": "Закрепить к беседе",
|
|
50
50
|
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
-
"Please select a channel first": "",
|
|
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": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
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 }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -3,77 +3,77 @@
|
|
|
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": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
6
|
+
"Also send to channel": "Kanala da gönder",
|
|
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.": "",
|
|
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": "Emoji eşleştirme",
|
|
21
21
|
"Empty message...": "",
|
|
22
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": "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": "Anlık Komutlar",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
33
|
+
"Links are disabled": "Bağlantılar devre dışı",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
37
|
+
"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.",
|
|
38
|
+
"Message Reactions": "Mesaj Tepkileri",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
40
|
+
"Message flagged": "Mesaj işaretlendi",
|
|
41
|
+
"Mute User": "Kullanıcıyı sessize al",
|
|
42
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": "",
|
|
47
47
|
"Photo": "Fotoğraf",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
|
-
"Pin to Conversation": "",
|
|
49
|
+
"Pin to Conversation": "Konuşmaya sabitle",
|
|
50
50
|
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
-
"Please select a channel first": "",
|
|
52
|
+
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
54
|
+
"Reply": "Yanıtla",
|
|
55
55
|
"Reply to Message": "",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Yeniden gönder",
|
|
57
57
|
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
|
|
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.": "Mesaj moderatöre bildirildi.",
|
|
64
|
+
"Thread Reply": "Konu Yanıtı",
|
|
65
|
+
"Unblock User": "Kullanıcının engelini kaldır",
|
|
66
66
|
"Unknown User": "",
|
|
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": "Okunmamış Mesajlar",
|
|
70
70
|
"Video": "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": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
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.25.0-beta.
|
|
4
|
+
"version": "5.25.0-beta.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -272,7 +272,7 @@ export const ImageGallery = <
|
|
|
272
272
|
!attachment.title_link &&
|
|
273
273
|
!attachment.og_scrape_url &&
|
|
274
274
|
getUrlOfImageAttachment(attachment)) ||
|
|
275
|
-
(isVideoPackageAvailable() && attachment.type === 'video'),
|
|
275
|
+
((isVideoPackageAvailable() && attachment.type) === 'video' && attachment.thumb_url),
|
|
276
276
|
)
|
|
277
277
|
.reverse() || [];
|
|
278
278
|
|
|
@@ -292,6 +292,7 @@ export const ImageGallery = <
|
|
|
292
292
|
original_width: a.original_width,
|
|
293
293
|
paused: isInitiallyPaused,
|
|
294
294
|
progress: 0,
|
|
295
|
+
thumb_url: a.thumb_url,
|
|
295
296
|
type: a.type,
|
|
296
297
|
uri:
|
|
297
298
|
a.type === 'giphy'
|
|
@@ -728,6 +729,7 @@ export type Photo<
|
|
|
728
729
|
original_width?: number;
|
|
729
730
|
paused?: boolean;
|
|
730
731
|
progress?: number;
|
|
732
|
+
thumb_url?: string;
|
|
731
733
|
type?: string;
|
|
732
734
|
user?: UserResponse<StreamChatGenerics> | null;
|
|
733
735
|
user_id?: string;
|
|
@@ -74,7 +74,7 @@ const GridImage = <
|
|
|
74
74
|
const { vw } = useViewport();
|
|
75
75
|
const { imageComponent, ...restItem } = item;
|
|
76
76
|
|
|
77
|
-
const { numberOfImageGalleryGridColumns, selectAndClose, type, uri } = restItem;
|
|
77
|
+
const { numberOfImageGalleryGridColumns, selectAndClose, thumb_url, type, uri } = restItem;
|
|
78
78
|
|
|
79
79
|
const size = vw(100) / (numberOfImageGalleryGridColumns || 3) - 2;
|
|
80
80
|
|
|
@@ -86,7 +86,7 @@ const GridImage = <
|
|
|
86
86
|
<TouchableOpacity accessibilityLabel='Grid Image' onPress={selectAndClose}>
|
|
87
87
|
{type === 'video' ? (
|
|
88
88
|
<View style={[styles.image, { height: size, width: size }, gridImage]}>
|
|
89
|
-
<VideoThumbnail />
|
|
89
|
+
<VideoThumbnail thumb_url={thumb_url} />
|
|
90
90
|
</View>
|
|
91
91
|
) : (
|
|
92
92
|
<Image source={{ uri }} style={[styles.image, { height: size, width: size }]} />
|
|
@@ -62,12 +62,15 @@ const InProgressIndicator = () => {
|
|
|
62
62
|
const {
|
|
63
63
|
theme: {
|
|
64
64
|
colors: { white_smoke },
|
|
65
|
+
messageInput: {
|
|
66
|
+
uploadProgressIndicator: { indicatorColor },
|
|
67
|
+
},
|
|
65
68
|
},
|
|
66
69
|
} = useTheme();
|
|
67
70
|
|
|
68
71
|
return (
|
|
69
72
|
<View style={styles.activityIndicatorContainer}>
|
|
70
|
-
<ActivityIndicator color={white_smoke} testID='upload-progress-indicator' />
|
|
73
|
+
<ActivityIndicator color={indicatorColor || white_smoke} testID='upload-progress-indicator' />
|
|
71
74
|
</View>
|
|
72
75
|
);
|
|
73
76
|
};
|
|
@@ -76,6 +79,9 @@ const RetryIndicator = ({ action }: Pick<UploadProgressIndicatorProps, 'action'>
|
|
|
76
79
|
const {
|
|
77
80
|
theme: {
|
|
78
81
|
colors: { white_smoke },
|
|
82
|
+
messageInput: {
|
|
83
|
+
uploadProgressIndicator: { indicatorColor },
|
|
84
|
+
},
|
|
79
85
|
},
|
|
80
86
|
} = useTheme();
|
|
81
87
|
|
|
@@ -83,7 +89,7 @@ const RetryIndicator = ({ action }: Pick<UploadProgressIndicatorProps, 'action'>
|
|
|
83
89
|
<TouchableOpacity onPress={action} style={styles.retryButtonContainer}>
|
|
84
90
|
<Refresh
|
|
85
91
|
height={REFRESH_ICON_SIZE}
|
|
86
|
-
pathFill={white_smoke}
|
|
92
|
+
pathFill={indicatorColor || white_smoke}
|
|
87
93
|
testID='retry-upload-progress-indicator'
|
|
88
94
|
width={REFRESH_ICON_SIZE}
|
|
89
95
|
/>
|
|
@@ -325,6 +325,7 @@ export type Theme = {
|
|
|
325
325
|
};
|
|
326
326
|
uploadProgressIndicator: {
|
|
327
327
|
container: ViewStyle;
|
|
328
|
+
indicatorColor: string;
|
|
328
329
|
overlay: ViewStyle;
|
|
329
330
|
};
|
|
330
331
|
};
|
|
@@ -831,6 +832,7 @@ export const defaultTheme: Theme = {
|
|
|
831
832
|
},
|
|
832
833
|
uploadProgressIndicator: {
|
|
833
834
|
container: {},
|
|
835
|
+
indicatorColor: '',
|
|
834
836
|
overlay: {},
|
|
835
837
|
},
|
|
836
838
|
},
|
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
|
@@ -3,77 +3,77 @@
|
|
|
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": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
6
|
+
"Also send to channel": "También enviar al canal",
|
|
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.": "",
|
|
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": "Coincidencia de emoji",
|
|
21
21
|
"Empty message...": "",
|
|
22
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": "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": "Comandos instantáneos",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
33
|
+
"Links are disabled": "Los enlaces están desactivados",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "El archivo supera el tamaño máximo permitido. Por favor, selecciona un archivo menor a {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
|
|
38
|
+
"Message Reactions": "Reacciones al mensaje",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
40
|
+
"Message flagged": "Mensaje reportado",
|
|
41
|
+
"Mute User": "Silenciar usuario",
|
|
42
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": "",
|
|
47
47
|
"Photo": "Foto",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
|
-
"Pin to Conversation": "",
|
|
49
|
+
"Pin to Conversation": "Fijar a la conversación",
|
|
50
50
|
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
-
"Please select a channel first": "",
|
|
52
|
+
"Please select a channel first": "Por favor, selecciona primero un canal",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
54
|
+
"Reply": "Responder",
|
|
55
55
|
"Reply to Message": "",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Reenviar",
|
|
57
57
|
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "No está permitido enviar enlaces en esta conversación",
|
|
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.": "El mensaje ha sido reportado a un moderador.",
|
|
64
|
+
"Thread Reply": "Respuesta de hilo",
|
|
65
|
+
"Unblock User": "Desbloquear usuario",
|
|
66
66
|
"Unknown User": "",
|
|
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": "Mensajes no leídos",
|
|
70
70
|
"Video": "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": "No puedes enviar mensajes en este canal",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
package/src/i18n/fr.json
CHANGED
|
@@ -3,77 +3,77 @@
|
|
|
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": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
6
|
+
"Also send to channel": "Envoyer également à la chaîne",
|
|
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.": "",
|
|
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": "Correspondance Emoji",
|
|
21
21
|
"Empty message...": "",
|
|
22
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": "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": "Commandes Instantanées",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
33
|
+
"Links are disabled": "Links are disabled",
|
|
34
34
|
"Loading channels...": "",
|
|
35
35
|
"Loading messages...": "",
|
|
36
36
|
"Loading...": "",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Taille maximale de téléchargement de fichier atteinte. Veuillez télécharger un fichier inférieur à {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} Mo.",
|
|
38
|
+
"Message Reactions": "Réactions aux messages",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
40
|
+
"Message flagged": "Message signalé",
|
|
41
|
+
"Mute User": "Utilisateur muet",
|
|
42
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": "",
|
|
47
47
|
"Photo": "Photo",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
|
-
"Pin to Conversation": "",
|
|
49
|
+
"Pin to Conversation": "Épingler à la conversation",
|
|
50
50
|
"Pinned by": "",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
-
"Please select a channel first": "",
|
|
52
|
+
"Please select a channel first": "Veuillez d'abord selectionnez un canal",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
54
|
+
"Reply": "Répondre",
|
|
55
55
|
"Reply to Message": "",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Renvoyer",
|
|
57
57
|
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
59
|
"Send Anyway": "",
|
|
60
60
|
"Send a message": "",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "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.": "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": "",
|
|
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": "Messages non lus",
|
|
70
70
|
"Video": "Vidéo",
|
|
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": "You can't send messages in this channel",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "
|
|
77
|
+
"{{ user }} is typing": "",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|