stream-chat-react-native-core 5.21.0 → 5.22.0-beta.2
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 +6 -5
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +18 -15
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +41 -12
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +10 -7
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +18 -17
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.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 +2 -0
- package/lib/commonjs/i18n/es.json +74 -0
- package/lib/commonjs/i18n/fr.json +30 -28
- package/lib/commonjs/i18n/he.json +3 -1
- package/lib/commonjs/i18n/hi.json +30 -28
- package/lib/commonjs/i18n/it.json +30 -28
- package/lib/commonjs/i18n/ja.json +3 -1
- package/lib/commonjs/i18n/ko.json +3 -1
- package/lib/commonjs/i18n/nl.json +30 -28
- package/lib/commonjs/i18n/ru.json +30 -28
- package/lib/commonjs/i18n/tr.json +30 -28
- package/lib/commonjs/utils/Streami18n.js +4 -1
- package/lib/commonjs/utils/Streami18n.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +6 -5
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +18 -15
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +41 -12
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +10 -7
- package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList.js +18 -17
- package/lib/module/components/Message/MessageSimple/ReactionList.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 +2 -0
- package/lib/module/i18n/es.json +74 -0
- package/lib/module/i18n/fr.json +30 -28
- package/lib/module/i18n/he.json +3 -1
- package/lib/module/i18n/hi.json +30 -28
- package/lib/module/i18n/it.json +30 -28
- package/lib/module/i18n/ja.json +3 -1
- package/lib/module/i18n/ko.json +3 -1
- package/lib/module/i18n/nl.json +30 -28
- package/lib/module/i18n/ru.json +30 -28
- package/lib/module/i18n/tr.json +30 -28
- package/lib/module/utils/Streami18n.js +4 -1
- package/lib/module/utils/Streami18n.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +3 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -0
- package/lib/typescript/i18n/en.json +2 -0
- package/lib/typescript/i18n/es.json +74 -0
- package/lib/typescript/i18n/fr.json +30 -28
- package/lib/typescript/i18n/he.json +3 -1
- package/lib/typescript/i18n/hi.json +30 -28
- package/lib/typescript/i18n/it.json +30 -28
- package/lib/typescript/i18n/ja.json +3 -1
- package/lib/typescript/i18n/ko.json +3 -1
- package/lib/typescript/i18n/nl.json +30 -28
- package/lib/typescript/i18n/ru.json +30 -28
- package/lib/typescript/i18n/tr.json +30 -28
- package/lib/typescript/utils/Streami18n.d.ts +13 -1
- package/package.json +1 -1
- package/src/components/ImageGallery/ImageGallery.tsx +1 -0
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +6 -2
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +12 -7
- package/src/components/Indicators/EmptyStateIndicator.tsx +4 -2
- package/src/components/Message/MessageSimple/ReactionList.tsx +2 -1
- package/src/contexts/themeContext/utils/theme.ts +2 -0
- package/src/i18n/en.json +2 -0
- package/src/i18n/es.json +74 -0
- package/src/i18n/fr.json +30 -28
- package/src/i18n/he.json +3 -1
- package/src/i18n/hi.json +30 -28
- package/src/i18n/it.json +30 -28
- package/src/i18n/ja.json +3 -1
- package/src/i18n/ko.json +3 -1
- package/src/i18n/nl.json +30 -28
- package/src/i18n/ru.json +30 -28
- package/src/i18n/tr.json +30 -28
- package/src/utils/Streami18n.ts +13 -6
- package/src/version.json +1 -1
package/src/i18n/nl.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"1 Reply": "1 Antwoord",
|
|
3
3
|
"1 Thread Reply": "1 thread antwoord",
|
|
4
4
|
"Allow access to your Gallery": "Geef toegang tot uw galerij",
|
|
5
|
-
"Also send to channel": "
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
|
|
7
7
|
"Block User": "Blokkeer Gebruiker",
|
|
8
8
|
"Cancel": "Annuleer",
|
|
@@ -12,60 +12,62 @@
|
|
|
12
12
|
"Delete Message": "Verwijder bericht",
|
|
13
13
|
"Do you want to send a copy of this message to a moderator for further investigation?": "Wil je een kopie van dit bericht naar een moderator sturen voor verder onderzoek?",
|
|
14
14
|
"Edit Message": "Pas bericht aan",
|
|
15
|
-
"Editing Message": "
|
|
15
|
+
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Emoji-overeenkomsten",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
22
|
"File type not supported": "Bestandstype niet ondersteund",
|
|
23
23
|
"Flag": "Markeer",
|
|
24
24
|
"Flag Message": "Markeer bericht",
|
|
25
25
|
"Flag action failed either due to a network issue or the message is already flagged": "Rapporteren mislukt door een netwerk fout of het berich is al gerapporteerd",
|
|
26
|
+
"How about sending your first message to a friend?": "",
|
|
26
27
|
"Instant Commands": "Directe Opdrachten",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"Loading
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"Message
|
|
28
|
+
"Let's start chatting!": "",
|
|
29
|
+
"Links are disabled": "",
|
|
30
|
+
"Loading channels...": "",
|
|
31
|
+
"Loading messages...": "",
|
|
32
|
+
"Loading...": "",
|
|
33
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
|
+
"Message Reactions": "",
|
|
35
|
+
"Message deleted": "",
|
|
34
36
|
"Message flagged": "Bericht gemarkeerd",
|
|
35
37
|
"Mute User": "Gebruiker dempen",
|
|
36
|
-
"Not supported": "
|
|
37
|
-
"Nothing yet...": "
|
|
38
|
+
"Not supported": "",
|
|
39
|
+
"Nothing yet...": "",
|
|
38
40
|
"Ok": "Oké",
|
|
39
|
-
"Only visible to you": "
|
|
41
|
+
"Only visible to you": "",
|
|
40
42
|
"Photo": "Foto",
|
|
41
43
|
"Photos and Videos": "Foto's en video's",
|
|
42
44
|
"Pin to Conversation": "Vastmaken aan gesprek",
|
|
43
45
|
"Pinned by": "Vastgemaakt door",
|
|
44
46
|
"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.",
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
47
|
+
"Please select a channel first": "",
|
|
48
|
+
"Reconnecting...": "",
|
|
47
49
|
"Reply": "Antwoord",
|
|
48
|
-
"Reply to Message": "
|
|
50
|
+
"Reply to Message": "",
|
|
49
51
|
"Resend": "Opnieuw versturen",
|
|
50
|
-
"Search GIFs": "
|
|
52
|
+
"Search GIFs": "",
|
|
51
53
|
"Select More Photos": "Selecteer Meer foto's",
|
|
52
|
-
"Send a message": "
|
|
53
|
-
"Sending links is not allowed in this conversation": "
|
|
54
|
-
"Slow mode ON": "
|
|
54
|
+
"Send a message": "",
|
|
55
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
|
+
"Slow mode ON": "",
|
|
55
57
|
"The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
|
|
56
58
|
"Thread Reply": "Discussie beantwoorden",
|
|
57
59
|
"Unblock User": "Deblokkeer gebruiker",
|
|
58
60
|
"Unknown User": "Onbekende gebruiker",
|
|
59
61
|
"Unmute User": "Dempen van gebruiker opheffen",
|
|
60
62
|
"Unpin from Conversation": "Losmaken van gesprek",
|
|
61
|
-
"Unread Messages": "
|
|
63
|
+
"Unread Messages": "",
|
|
62
64
|
"Video": "Video",
|
|
63
|
-
"You": "
|
|
64
|
-
"You can't send messages in this channel": "
|
|
65
|
+
"You": "",
|
|
66
|
+
"You can't send messages in this channel": "",
|
|
65
67
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
66
68
|
"{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
|
|
67
69
|
"{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
|
|
68
70
|
"{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
|
|
69
71
|
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
70
|
-
"🏙 Attachment...": "
|
|
72
|
+
"🏙 Attachment...": ""
|
|
71
73
|
}
|
package/src/i18n/ru.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"1 Reply": "1 Ответ",
|
|
3
3
|
"1 Thread Reply": "1 тема Ответить",
|
|
4
4
|
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
|
-
"Also send to channel": "
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
|
|
7
7
|
"Block User": "Заблокировать пользователя",
|
|
8
8
|
"Cancel": "Отмена",
|
|
@@ -12,60 +12,62 @@
|
|
|
12
12
|
"Delete Message": "Удалить сообщение",
|
|
13
13
|
"Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
|
|
14
14
|
"Edit Message": "Редактировать сообщение",
|
|
15
|
-
"Editing Message": "
|
|
15
|
+
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Соответствие эмодзи",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
22
|
"File type not supported": "Тип файла не поддерживается",
|
|
23
23
|
"Flag": "Пометить",
|
|
24
24
|
"Flag Message": "Пометить сообщение",
|
|
25
25
|
"Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
|
|
26
|
+
"How about sending your first message to a friend?": "",
|
|
26
27
|
"Instant Commands": "Мгновенные Команды",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"Loading
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"Message
|
|
28
|
+
"Let's start chatting!": "",
|
|
29
|
+
"Links are disabled": "",
|
|
30
|
+
"Loading channels...": "",
|
|
31
|
+
"Loading messages...": "",
|
|
32
|
+
"Loading...": "",
|
|
33
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
|
+
"Message Reactions": "",
|
|
35
|
+
"Message deleted": "",
|
|
34
36
|
"Message flagged": "Сообщение отмечено",
|
|
35
37
|
"Mute User": "Отключить пользователя",
|
|
36
|
-
"Not supported": "
|
|
37
|
-
"Nothing yet...": "
|
|
38
|
+
"Not supported": "",
|
|
39
|
+
"Nothing yet...": "",
|
|
38
40
|
"Ok": "Oк",
|
|
39
|
-
"Only visible to you": "
|
|
41
|
+
"Only visible to you": "",
|
|
40
42
|
"Photo": "Фото",
|
|
41
43
|
"Photos and Videos": "Фото и видео",
|
|
42
44
|
"Pin to Conversation": "Закрепить к беседе",
|
|
43
45
|
"Pinned by": "Закреплено пользователем",
|
|
44
46
|
"Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
47
|
+
"Please select a channel first": "",
|
|
48
|
+
"Reconnecting...": "",
|
|
47
49
|
"Reply": "Ответить",
|
|
48
|
-
"Reply to Message": "
|
|
50
|
+
"Reply to Message": "",
|
|
49
51
|
"Resend": "Отправить",
|
|
50
|
-
"Search GIFs": "
|
|
52
|
+
"Search GIFs": "",
|
|
51
53
|
"Select More Photos": "Выбрать больше фотографий",
|
|
52
|
-
"Send a message": "
|
|
53
|
-
"Sending links is not allowed in this conversation": "
|
|
54
|
-
"Slow mode ON": "
|
|
54
|
+
"Send a message": "",
|
|
55
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
|
+
"Slow mode ON": "",
|
|
55
57
|
"The message has been reported to a moderator.": "Сообщение отправлено модератору.",
|
|
56
58
|
"Thread Reply": "Тема Ответить",
|
|
57
59
|
"Unblock User": "Разблокировать пользователя",
|
|
58
60
|
"Unknown User": "Неизвестный пользователь",
|
|
59
61
|
"Unmute User": "Включить микрофон",
|
|
60
62
|
"Unpin from Conversation": "Открепить от беседы",
|
|
61
|
-
"Unread Messages": "
|
|
63
|
+
"Unread Messages": "",
|
|
62
64
|
"Video": "видео",
|
|
63
|
-
"You": "
|
|
64
|
-
"You can't send messages in this channel": "
|
|
65
|
+
"You": "",
|
|
66
|
+
"You can't send messages in this channel": "",
|
|
65
67
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
66
68
|
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
67
69
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
68
70
|
"{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
|
|
69
71
|
"{{ user }} is typing": "{{ user }} пишет",
|
|
70
|
-
"🏙 Attachment...": "
|
|
72
|
+
"🏙 Attachment...": ""
|
|
71
73
|
}
|
package/src/i18n/tr.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"1 Reply": "1 Cevap",
|
|
3
3
|
"1 Thread Reply": "1 Konu Yanıtı",
|
|
4
4
|
"Allow access to your Gallery": "Galerinize erişime izin verin",
|
|
5
|
-
"Also send to channel": "
|
|
5
|
+
"Also send to channel": "",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
|
|
7
7
|
"Block User": "Kullanıcıyı engelle",
|
|
8
8
|
"Cancel": "İptal",
|
|
@@ -12,60 +12,62 @@
|
|
|
12
12
|
"Delete Message": "Mesajı Sil",
|
|
13
13
|
"Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
|
|
14
14
|
"Edit Message": "Mesajı Düzenle",
|
|
15
|
-
"Editing Message": "
|
|
15
|
+
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Emoji eşleştirme",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
22
|
"File type not supported": "Dosya türü desteklenmiyor",
|
|
23
23
|
"Flag": "Raporla",
|
|
24
24
|
"Flag Message": "Mesajı Raporla",
|
|
25
25
|
"Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
|
|
26
|
+
"How about sending your first message to a friend?": "",
|
|
26
27
|
"Instant Commands": "Anlık Komutlar",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"Loading
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"Message
|
|
28
|
+
"Let's start chatting!": "",
|
|
29
|
+
"Links are disabled": "",
|
|
30
|
+
"Loading channels...": "",
|
|
31
|
+
"Loading messages...": "",
|
|
32
|
+
"Loading...": "",
|
|
33
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
|
+
"Message Reactions": "",
|
|
35
|
+
"Message deleted": "",
|
|
34
36
|
"Message flagged": "Mesaj işaretlendi",
|
|
35
37
|
"Mute User": "Kullanıcıyı sessize al",
|
|
36
|
-
"Not supported": "
|
|
37
|
-
"Nothing yet...": "
|
|
38
|
+
"Not supported": "",
|
|
39
|
+
"Nothing yet...": "",
|
|
38
40
|
"Ok": "Tamam",
|
|
39
|
-
"Only visible to you": "
|
|
41
|
+
"Only visible to you": "",
|
|
40
42
|
"Photo": "Fotoğraf",
|
|
41
43
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
42
44
|
"Pin to Conversation": "Konuşmaya sabitle",
|
|
43
45
|
"Pinned by": "Tarafından sabitlendi",
|
|
44
46
|
"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.",
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
47
|
+
"Please select a channel first": "",
|
|
48
|
+
"Reconnecting...": "",
|
|
47
49
|
"Reply": "Yanıtla",
|
|
48
|
-
"Reply to Message": "
|
|
50
|
+
"Reply to Message": "",
|
|
49
51
|
"Resend": "Yeniden gönder",
|
|
50
|
-
"Search GIFs": "
|
|
52
|
+
"Search GIFs": "",
|
|
51
53
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
52
|
-
"Send a message": "
|
|
53
|
-
"Sending links is not allowed in this conversation": "
|
|
54
|
-
"Slow mode ON": "
|
|
54
|
+
"Send a message": "",
|
|
55
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
|
+
"Slow mode ON": "",
|
|
55
57
|
"The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
|
|
56
58
|
"Thread Reply": "Konu Yanıtı",
|
|
57
59
|
"Unblock User": "Kullanıcının engelini kaldır",
|
|
58
60
|
"Unknown User": "Bilinmeyen kullanıcı",
|
|
59
61
|
"Unmute User": "Kullanıcının sesini aç",
|
|
60
62
|
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
61
|
-
"Unread Messages": "
|
|
63
|
+
"Unread Messages": "",
|
|
62
64
|
"Video": "Video",
|
|
63
|
-
"You": "
|
|
64
|
-
"You can't send messages in this channel": "
|
|
65
|
+
"You": "",
|
|
66
|
+
"You can't send messages in this channel": "",
|
|
65
67
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
66
68
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
67
69
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
68
70
|
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
69
71
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
70
|
-
"🏙 Attachment...": "
|
|
72
|
+
"🏙 Attachment...": ""
|
|
71
73
|
}
|
package/src/utils/Streami18n.ts
CHANGED
|
@@ -10,6 +10,7 @@ import type moment from 'moment';
|
|
|
10
10
|
|
|
11
11
|
import type { TDateTimeParser } from '../contexts/translationContext/TranslationContext';
|
|
12
12
|
import enTranslations from '../i18n/en.json';
|
|
13
|
+
import esTranslations from '../i18n/es.json';
|
|
13
14
|
import frTranslations from '../i18n/fr.json';
|
|
14
15
|
import heTranslations from '../i18n/he.json';
|
|
15
16
|
import hiTranslations from '../i18n/hi.json';
|
|
@@ -20,7 +21,9 @@ import nlTranslations from '../i18n/nl.json';
|
|
|
20
21
|
import ruTranslations from '../i18n/ru.json';
|
|
21
22
|
import trTranslations from '../i18n/tr.json';
|
|
22
23
|
|
|
24
|
+
import 'dayjs/locale/es';
|
|
23
25
|
import 'dayjs/locale/fr';
|
|
26
|
+
import 'dayjs/locale/he';
|
|
24
27
|
import 'dayjs/locale/hi';
|
|
25
28
|
import 'dayjs/locale/it';
|
|
26
29
|
import 'dayjs/locale/ja';
|
|
@@ -28,7 +31,6 @@ import 'dayjs/locale/ko';
|
|
|
28
31
|
import 'dayjs/locale/nl';
|
|
29
32
|
import 'dayjs/locale/ru';
|
|
30
33
|
import 'dayjs/locale/tr';
|
|
31
|
-
import 'dayjs/locale/he';
|
|
32
34
|
|
|
33
35
|
/**
|
|
34
36
|
* These locale imports also set these locales globally.
|
|
@@ -192,12 +194,16 @@ type I18NextConfig = {
|
|
|
192
194
|
* Instance of this class should be provided to Chat component to handle translations.
|
|
193
195
|
* Stream provides following list of in-built translations:
|
|
194
196
|
* 1. English (en)
|
|
195
|
-
* 2.
|
|
196
|
-
* 3.
|
|
197
|
-
* 4.
|
|
198
|
-
* 5.
|
|
197
|
+
* 2. Spanish (es)
|
|
198
|
+
* 3. French (fr)
|
|
199
|
+
* 4. Hebrew (he)
|
|
200
|
+
* 5. Hindi (hi)
|
|
199
201
|
* 6. Italian (it)
|
|
200
|
-
* 7.
|
|
202
|
+
* 7. Japanese (ja)
|
|
203
|
+
* 8. Korean (ko)
|
|
204
|
+
* 9. Dutch (nl)
|
|
205
|
+
* 10. Russian (ru)
|
|
206
|
+
* 11. Turkish (tr)
|
|
201
207
|
*
|
|
202
208
|
* Simplest way to start using chat components in one of the in-built languages would be following:
|
|
203
209
|
*
|
|
@@ -370,6 +376,7 @@ export class Streami18n {
|
|
|
370
376
|
};
|
|
371
377
|
} = {
|
|
372
378
|
en: { [defaultNS]: enTranslations },
|
|
379
|
+
es: { [defaultNS]: esTranslations },
|
|
373
380
|
fr: { [defaultNS]: frTranslations },
|
|
374
381
|
he: { [defaultNS]: heTranslations },
|
|
375
382
|
hi: { [defaultNS]: hiTranslations },
|
package/src/version.json
CHANGED