stream-chat-react-native-core 5.21.0-beta.4 → 5.22.0-beta.1
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/i18n/en.json +1 -1
- package/lib/commonjs/i18n/es.json +72 -0
- package/lib/commonjs/i18n/fr.json +51 -51
- package/lib/commonjs/i18n/hi.json +51 -51
- package/lib/commonjs/i18n/it.json +51 -51
- package/lib/commonjs/i18n/nl.json +51 -51
- package/lib/commonjs/i18n/ru.json +51 -51
- package/lib/commonjs/i18n/tr.json +51 -51
- 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/i18n/en.json +1 -1
- package/lib/module/i18n/es.json +72 -0
- package/lib/module/i18n/fr.json +51 -51
- package/lib/module/i18n/hi.json +51 -51
- package/lib/module/i18n/it.json +51 -51
- package/lib/module/i18n/nl.json +51 -51
- package/lib/module/i18n/ru.json +51 -51
- package/lib/module/i18n/tr.json +51 -51
- 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/i18n/en.json +1 -1
- package/lib/typescript/i18n/es.json +72 -0
- package/lib/typescript/i18n/fr.json +51 -51
- package/lib/typescript/i18n/hi.json +51 -51
- package/lib/typescript/i18n/it.json +51 -51
- package/lib/typescript/i18n/nl.json +51 -51
- package/lib/typescript/i18n/ru.json +51 -51
- package/lib/typescript/i18n/tr.json +51 -51
- package/lib/typescript/utils/Streami18n.d.ts +7 -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/i18n/en.json +1 -1
- package/src/i18n/es.json +72 -0
- package/src/i18n/fr.json +51 -51
- package/src/i18n/hi.json +51 -51
- package/src/i18n/it.json +51 -51
- package/src/i18n/nl.json +51 -51
- package/src/i18n/ru.json +51 -51
- package/src/i18n/tr.json +51 -51
- package/src/utils/Streami18n.ts +13 -6
- package/src/version.json +1 -1
package/src/i18n/tr.json
CHANGED
|
@@ -2,70 +2,70 @@
|
|
|
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": "
|
|
6
|
-
"Are you sure you want to permanently delete this message?": "
|
|
7
|
-
"Block User": "
|
|
8
|
-
"Cancel": "
|
|
9
|
-
"Cannot Flag Message": "
|
|
10
|
-
"Copy Message": "
|
|
11
|
-
"Delete": "
|
|
12
|
-
"Delete Message": "
|
|
13
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "
|
|
14
|
-
"Edit Message": "
|
|
15
|
-
"Editing Message": "
|
|
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": "
|
|
22
|
-
"File type not supported": "
|
|
23
|
-
"Flag": "
|
|
24
|
-
"Flag Message": "
|
|
25
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
26
|
-
"Instant Commands": "
|
|
27
|
-
"Links are disabled": "
|
|
28
|
-
"Loading channels...": "
|
|
29
|
-
"Loading messages...": "
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
5
|
+
"Also send to channel": "",
|
|
6
|
+
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Block User": "",
|
|
8
|
+
"Cancel": "",
|
|
9
|
+
"Cannot Flag Message": "",
|
|
10
|
+
"Copy Message": "",
|
|
11
|
+
"Delete": "",
|
|
12
|
+
"Delete Message": "",
|
|
13
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
|
+
"Edit Message": "",
|
|
15
|
+
"Editing Message": "",
|
|
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": "",
|
|
22
|
+
"File type not supported": "",
|
|
23
|
+
"Flag": "",
|
|
24
|
+
"Flag Message": "",
|
|
25
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
|
+
"Instant Commands": "",
|
|
27
|
+
"Links are disabled": "",
|
|
28
|
+
"Loading channels...": "",
|
|
29
|
+
"Loading messages...": "",
|
|
30
|
+
"Loading...": "",
|
|
31
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
32
32
|
"Message Reactions": "Mesaj Tepkileri",
|
|
33
|
-
"Message deleted": "
|
|
34
|
-
"Message flagged": "
|
|
35
|
-
"Mute User": "
|
|
36
|
-
"Not supported": "
|
|
37
|
-
"Nothing yet...": "
|
|
38
|
-
"Ok": "
|
|
33
|
+
"Message deleted": "",
|
|
34
|
+
"Message flagged": "",
|
|
35
|
+
"Mute User": "",
|
|
36
|
+
"Not supported": "",
|
|
37
|
+
"Nothing yet...": "",
|
|
38
|
+
"Ok": "",
|
|
39
39
|
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
40
40
|
"Photo": "Fotoğraf",
|
|
41
41
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
42
|
-
"Pin to Conversation": "
|
|
42
|
+
"Pin to Conversation": "",
|
|
43
43
|
"Pinned by": "Tarafından sabitlendi",
|
|
44
44
|
"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
|
-
"Reply": "
|
|
48
|
-
"Reply to Message": "
|
|
49
|
-
"Resend": "
|
|
50
|
-
"Search GIFs": "
|
|
45
|
+
"Please select a channel first": "",
|
|
46
|
+
"Reconnecting...": "",
|
|
47
|
+
"Reply": "",
|
|
48
|
+
"Reply to Message": "",
|
|
49
|
+
"Resend": "",
|
|
50
|
+
"Search GIFs": "",
|
|
51
51
|
"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": "
|
|
55
|
-
"The message has been reported to a moderator.": "
|
|
56
|
-
"Thread Reply": "
|
|
57
|
-
"Unblock User": "
|
|
52
|
+
"Send a message": "",
|
|
53
|
+
"Sending links is not allowed in this conversation": "",
|
|
54
|
+
"Slow mode ON": "",
|
|
55
|
+
"The message has been reported to a moderator.": "",
|
|
56
|
+
"Thread Reply": "",
|
|
57
|
+
"Unblock User": "",
|
|
58
58
|
"Unknown User": "Bilinmeyen kullanıcı",
|
|
59
|
-
"Unmute User": "
|
|
60
|
-
"Unpin from Conversation": "
|
|
59
|
+
"Unmute User": "",
|
|
60
|
+
"Unpin from Conversation": "",
|
|
61
61
|
"Unread Messages": "Okunmamış Mesajlar",
|
|
62
62
|
"Video": "Video",
|
|
63
|
-
"You": "
|
|
64
|
-
"You can't send messages in this channel": "
|
|
63
|
+
"You": "",
|
|
64
|
+
"You can't send messages in this channel": "",
|
|
65
65
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
66
66
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
67
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
68
68
|
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
69
69
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
70
|
-
"🏙 Attachment...": "
|
|
70
|
+
"🏙 Attachment...": ""
|
|
71
71
|
}
|
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