stream-chat-react-native-core 5.21.0 → 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.
Files changed (58) hide show
  1. package/lib/commonjs/components/ImageGallery/ImageGallery.js +6 -5
  2. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  3. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +18 -15
  4. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  5. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +41 -12
  6. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  7. package/lib/commonjs/i18n/en.json +1 -1
  8. package/lib/commonjs/i18n/es.json +72 -0
  9. package/lib/commonjs/i18n/fr.json +51 -51
  10. package/lib/commonjs/i18n/hi.json +51 -51
  11. package/lib/commonjs/i18n/it.json +51 -51
  12. package/lib/commonjs/i18n/nl.json +51 -51
  13. package/lib/commonjs/i18n/ru.json +51 -51
  14. package/lib/commonjs/i18n/tr.json +51 -51
  15. package/lib/commonjs/utils/Streami18n.js +4 -1
  16. package/lib/commonjs/utils/Streami18n.js.map +1 -1
  17. package/lib/commonjs/version.json +1 -1
  18. package/lib/module/components/ImageGallery/ImageGallery.js +6 -5
  19. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  20. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +18 -15
  21. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  22. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +41 -12
  23. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  24. package/lib/module/i18n/en.json +1 -1
  25. package/lib/module/i18n/es.json +72 -0
  26. package/lib/module/i18n/fr.json +51 -51
  27. package/lib/module/i18n/hi.json +51 -51
  28. package/lib/module/i18n/it.json +51 -51
  29. package/lib/module/i18n/nl.json +51 -51
  30. package/lib/module/i18n/ru.json +51 -51
  31. package/lib/module/i18n/tr.json +51 -51
  32. package/lib/module/utils/Streami18n.js +4 -1
  33. package/lib/module/utils/Streami18n.js.map +1 -1
  34. package/lib/module/version.json +1 -1
  35. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +3 -0
  36. package/lib/typescript/i18n/en.json +1 -1
  37. package/lib/typescript/i18n/es.json +72 -0
  38. package/lib/typescript/i18n/fr.json +51 -51
  39. package/lib/typescript/i18n/hi.json +51 -51
  40. package/lib/typescript/i18n/it.json +51 -51
  41. package/lib/typescript/i18n/nl.json +51 -51
  42. package/lib/typescript/i18n/ru.json +51 -51
  43. package/lib/typescript/i18n/tr.json +51 -51
  44. package/lib/typescript/utils/Streami18n.d.ts +7 -1
  45. package/package.json +1 -1
  46. package/src/components/ImageGallery/ImageGallery.tsx +1 -0
  47. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +6 -2
  48. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +12 -7
  49. package/src/i18n/en.json +1 -1
  50. package/src/i18n/es.json +72 -0
  51. package/src/i18n/fr.json +51 -51
  52. package/src/i18n/hi.json +51 -51
  53. package/src/i18n/it.json +51 -51
  54. package/src/i18n/nl.json +51 -51
  55. package/src/i18n/ru.json +51 -51
  56. package/src/i18n/tr.json +51 -51
  57. package/src/utils/Streami18n.ts +13 -6
  58. 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": "Kanala da gönder",
6
- "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
7
- "Block User": "Kullanıcıyı engelle",
8
- "Cancel": "İptal",
9
- "Cannot Flag Message": "Raporlama Başarısız",
10
- "Copy Message": "Mesajı Kopyala",
11
- "Delete": "Sil",
12
- "Delete Message": "Mesajı Sil",
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
- "Edit Message": "Mesajı Düzenle",
15
- "Editing Message": "Mesaj Düzenleniyor",
16
- "Emoji matching": "Emoji eşleştirme",
17
- "Empty message...": "Boş mesaj...",
18
- "Error loading": "Yükleme hatası",
19
- "Error loading channel list...": "Kanal listesi yüklenirken hata oluştu...",
20
- "Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
21
- "Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
22
- "File type not supported": "Dosya türü desteklenmiyor",
23
- "Flag": "Raporla",
24
- "Flag Message": "Mesajı Raporla",
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
- "Instant Commands": "Anlık Komutlar",
27
- "Links are disabled": "Bağlantılar devre dışı",
28
- "Loading channels...": "Kanallar yükleniyor...",
29
- "Loading messages...": "Mesajlar yükleniyor...",
30
- "Loading...": "Yükleniyor...",
31
- "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.",
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": "Mesaj silindi",
34
- "Message flagged": "Mesaj işaretlendi",
35
- "Mute User": "Kullanıcıyı sessize al",
36
- "Not supported": "Desteklenmiyor",
37
- "Nothing yet...": "Henüz değil...",
38
- "Ok": "Tamam",
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": "Konuşmaya sabitle",
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": "Lütfen önce bir kanal seçiniz",
46
- "Reconnecting...": "Yeniden Bağlanılıyor...",
47
- "Reply": "Yanıtla",
48
- "Reply to Message": "Mesajı Yanıtla",
49
- "Resend": "Yeniden gönder",
50
- "Search GIFs": "GIF Ara",
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": "Mesaj gönder",
53
- "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
54
- "Slow mode ON": "Yavaş Mod Açık",
55
- "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
56
- "Thread Reply": "Konu Yanıtı",
57
- "Unblock User": "Kullanıcının engelini kaldır",
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": "Kullanıcının sesini aç",
60
- "Unpin from Conversation": "Sabitlemeyi kaldır",
59
+ "Unmute User": "",
60
+ "Unpin from Conversation": "",
61
61
  "Unread Messages": "Okunmamış Mesajlar",
62
62
  "Video": "Video",
63
- "You": "Sen",
64
- "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
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...": "🏙 Ek..."
70
+ "🏙 Attachment...": ""
71
71
  }
@@ -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. Dutch (nl)
196
- * 3. Russian (ru)
197
- * 4. Turkish (tr)
198
- * 5. French (fr)
197
+ * 2. Spanish (es)
198
+ * 3. French (fr)
199
+ * 4. Hebrew (he)
200
+ * 5. Hindi (hi)
199
201
  * 6. Italian (it)
200
- * 7. Hindi (hi)
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
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.21.0"
2
+ "version": "5.22.0-beta.1"
3
3
  }