stream-chat-react-native-core 5.22.0-beta.5 → 5.22.0-beta.6

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/AttachmentPicker/components/AttachmentSelectionBar.js +26 -11
  2. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  3. package/lib/commonjs/i18n/en.json +3 -0
  4. package/lib/commonjs/i18n/es.json +4 -1
  5. package/lib/commonjs/i18n/fr.json +19 -16
  6. package/lib/commonjs/i18n/he.json +4 -1
  7. package/lib/commonjs/i18n/hi.json +19 -16
  8. package/lib/commonjs/i18n/it.json +19 -16
  9. package/lib/commonjs/i18n/ja.json +4 -1
  10. package/lib/commonjs/i18n/ko.json +4 -1
  11. package/lib/commonjs/i18n/nl.json +19 -16
  12. package/lib/commonjs/i18n/ru.json +19 -16
  13. package/lib/commonjs/i18n/tr.json +19 -16
  14. package/lib/commonjs/native.js.map +1 -1
  15. package/lib/commonjs/version.json +1 -1
  16. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +26 -11
  17. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  18. package/lib/module/i18n/en.json +3 -0
  19. package/lib/module/i18n/es.json +4 -1
  20. package/lib/module/i18n/fr.json +19 -16
  21. package/lib/module/i18n/he.json +4 -1
  22. package/lib/module/i18n/hi.json +19 -16
  23. package/lib/module/i18n/it.json +19 -16
  24. package/lib/module/i18n/ja.json +4 -1
  25. package/lib/module/i18n/ko.json +4 -1
  26. package/lib/module/i18n/nl.json +19 -16
  27. package/lib/module/i18n/ru.json +19 -16
  28. package/lib/module/i18n/tr.json +19 -16
  29. package/lib/module/native.js.map +1 -1
  30. package/lib/module/version.json +1 -1
  31. package/lib/typescript/i18n/en.json +3 -0
  32. package/lib/typescript/i18n/es.json +4 -1
  33. package/lib/typescript/i18n/fr.json +19 -16
  34. package/lib/typescript/i18n/he.json +4 -1
  35. package/lib/typescript/i18n/hi.json +19 -16
  36. package/lib/typescript/i18n/it.json +19 -16
  37. package/lib/typescript/i18n/ja.json +4 -1
  38. package/lib/typescript/i18n/ko.json +4 -1
  39. package/lib/typescript/i18n/nl.json +19 -16
  40. package/lib/typescript/i18n/ru.json +19 -16
  41. package/lib/typescript/i18n/tr.json +19 -16
  42. package/lib/typescript/native.d.ts +2 -0
  43. package/lib/typescript/utils/Streami18n.d.ts +3 -5
  44. package/package.json +1 -1
  45. package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +13 -1
  46. package/src/i18n/en.json +3 -0
  47. package/src/i18n/es.json +4 -1
  48. package/src/i18n/fr.json +19 -16
  49. package/src/i18n/he.json +4 -1
  50. package/src/i18n/hi.json +19 -16
  51. package/src/i18n/it.json +19 -16
  52. package/src/i18n/ja.json +4 -1
  53. package/src/i18n/ko.json +4 -1
  54. package/src/i18n/nl.json +19 -16
  55. package/src/i18n/ru.json +19 -16
  56. package/src/i18n/tr.json +19 -16
  57. package/src/native.ts +5 -1
  58. package/src/version.json +1 -1
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- import { StyleSheet, TouchableOpacity, View } from 'react-native';
2
+ import { Alert, Linking, StyleSheet, TouchableOpacity, View } from 'react-native';
3
3
 
4
4
  import { useAttachmentPickerContext } from '../../../contexts/attachmentPickerContext/AttachmentPickerContext';
5
5
  import { useMessageInputContext } from '../../../contexts/messageInputContext/MessageInputContext';
6
6
  import { useTheme } from '../../../contexts/themeContext/ThemeContext';
7
+ import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
7
8
 
8
9
  import { takePhoto } from '../../../native';
9
10
 
@@ -29,6 +30,7 @@ export const AttachmentSelectionBar: React.FC = () => {
29
30
  setSelectedImages,
30
31
  setSelectedPicker,
31
32
  } = useAttachmentPickerContext();
33
+ const { t } = useTranslationContext();
32
34
 
33
35
  const { compressImageQuality, hasFilePicker, imageUploads, pickFile } = useMessageInputContext();
34
36
 
@@ -57,6 +59,16 @@ export const AttachmentSelectionBar: React.FC = () => {
57
59
  setSelectedPicker(undefined);
58
60
  closePicker();
59
61
  const photo = await takePhoto({ compressImageQuality });
62
+ if (photo.askToOpenSettings) {
63
+ Alert.alert(
64
+ t('Allow camera access in device settings'),
65
+ t('Device camera is used to take photos or videos.'),
66
+ [
67
+ { style: 'cancel', text: t('Cancel') },
68
+ { onPress: () => Linking.openSettings(), style: 'default', text: t('Open Settings') },
69
+ ],
70
+ );
71
+ }
60
72
  if (!photo.cancelled) {
61
73
  setSelectedImages((images) => [...images, photo]);
62
74
  }
package/src/i18n/en.json CHANGED
@@ -2,6 +2,7 @@
2
2
  "1 Reply": "1 Reply",
3
3
  "1 Thread Reply": "1 Thread Reply",
4
4
  "Allow access to your Gallery": "Allow access to your Gallery",
5
+ "Allow camera access in device settings": "Allow camera access in device settings",
5
6
  "Also send to channel": "Also send to channel",
6
7
  "Are you sure you want to permanently delete this message?": "Are you sure you want to permanently delete this message?",
7
8
  "Block User": "Block User",
@@ -10,6 +11,7 @@
10
11
  "Copy Message": "Copy Message",
11
12
  "Delete": "Delete",
12
13
  "Delete Message": "Delete Message",
14
+ "Device camera is used to take photos or videos.": "Device camera is used to take photos or videos.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "Do you want to send a copy of this message to a moderator for further investigation?",
14
16
  "Edit Message": "Edit Message",
15
17
  "Editing Message": "Editing Message",
@@ -39,6 +41,7 @@
39
41
  "Nothing yet...": "Nothing yet...",
40
42
  "Ok": "Ok",
41
43
  "Only visible to you": "Only visible to you",
44
+ "Open Settings": "Open Settings",
42
45
  "Photo": "Photo",
43
46
  "Photos and Videos": "Photos and Videos",
44
47
  "Pin to Conversation": "Pin to Conversation",
package/src/i18n/es.json CHANGED
@@ -70,5 +70,8 @@
70
70
  "🏙 Attachment...": "🏙 Adjunto...",
71
71
  "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.",
72
72
  "Let's start chatting!": "¡Empecemos a charlar!",
73
- "How about sending your first message to a friend?": "¿Qué tal enviar tu primer mensaje a un amigo?"
73
+ "How about sending your first message to a friend?": "¿Qué tal enviar tu primer mensaje a un amigo?",
74
+ "Allow camera access in device settings": "Permitir el acceso a la cámara en la configuración del dispositivo",
75
+ "Device camera is used to take photos or videos.": "La cámara del dispositivo se utiliza para tomar fotografías o vídeos.",
76
+ "Open Settings": "Configuración abierta"
74
77
  }
package/src/i18n/fr.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "1 Reply": "1 Réponse",
3
- "1 Thread Reply": "Réponse à 1 fil",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Autoriser l'accès à votre galerie",
5
- "Also send to channel": "",
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": "Envoyer également à la chaîne",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,9 +11,10 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
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.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Édite un message",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
@@ -26,23 +28,24 @@
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Links are disabled",
31
+ "Links are disabled": "",
30
32
  "Loading channels...": "",
31
33
  "Loading messages...": "",
32
34
  "Loading...": "",
33
- "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.",
34
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Réactions aux messages",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
40
  "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
- "Only visible to you": "Seulement visible par vous",
42
- "Photo": "Photo",
43
+ "Only visible to you": "",
44
+ "Open Settings": "Ouvrir les paramètres",
45
+ "Photo": "",
43
46
  "Photos and Videos": "Photos et vidéos",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Épinglé par",
48
+ "Pinned by": "",
46
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.",
47
50
  "Please select a channel first": "Veuillez d'abord selectionnez un canal",
48
51
  "Reconnecting...": "",
@@ -52,7 +55,7 @@
52
55
  "Search GIFs": "",
53
56
  "Select More Photos": "Sélectionner plus de photos",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "Sending links is not allowed in this conversation",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
@@ -60,14 +63,14 @@
60
63
  "Unknown User": "Utilisateur inconnu",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
64
- "Video": "Vidéo",
66
+ "Unread Messages": "Messages non lus",
67
+ "Video": "",
65
68
  "You": "",
66
- "You can't send messages in this channel": "You can't send messages in this channel",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
68
71
  "{{ index }} of {{ photoLength }}": "{{ index }} sur {{ photoLength }}",
69
72
  "{{ replyCount }} Replies": "{{ replyCount }} Réponses",
70
- "{{ replyCount }} Thread Replies": "{{replyCount}} Réponses à la discussion",
71
- "{{ user }} is typing": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} est en train d'écrire",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/he.json CHANGED
@@ -70,5 +70,8 @@
70
70
  "🏙 Attachment...": "🏙 קובץ מצורף...",
71
71
  "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}} MB",
72
72
  "Let's start chatting!": "בואו נתחיל לשוחח!",
73
- "How about sending your first message to a friend?": "מה דעתך לשלוח את ההודעה הראשונה שלך לחבר?"
73
+ "How about sending your first message to a friend?": "מה דעתך לשלוח את ההודעה הראשונה שלך לחבר?",
74
+ "Allow camera access in device settings": "אפשר גישה למצלמה בהגדרות המכשיר",
75
+ "Device camera is used to take photos or videos.": "מצלמת המכשיר משמשת לצילום תמונות או סרטונים.",
76
+ "Open Settings": "פתח את ההגדרות"
74
77
  }
package/src/i18n/hi.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "1 Reply": "1 रिप्लाई",
3
- "1 Thread Reply": "1 धागा उत्तर",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "अपनी गैलरी तक पहुँचने की अनुमति दें",
5
- "Also send to channel": "",
5
+ "Allow camera access in device settings": "डिवाइस सेटिंग्स में कैमरा एक्सेस की अनुमति दें",
6
+ "Also send to channel": "चैनल को भी भेजें",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,9 +11,10 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "डिवाइस कैमरे का उपयोग फ़ोटो या वीडियो लेने के लिए किया जाता है।",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "मैसेज बदला जा रहा है",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
@@ -26,23 +28,24 @@
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "लिंक अक्षम हैं",
31
+ "Links are disabled": "",
30
32
  "Loading channels...": "",
31
33
  "Loading messages...": "",
32
34
  "Loading...": "",
33
- "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}} एमबी से नीचे की फ़ाइल अपलोड करें।",
34
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "संदेश प्रतिक्रियाएँ",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
40
  "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
- "Only visible to you": "केवल आपको दिखाई दे रहा है",
42
- "Photo": "तस्वीर",
43
+ "Only visible to you": "",
44
+ "Open Settings": "सेटिंग्स खोलें",
45
+ "Photo": "",
43
46
  "Photos and Videos": "तस्वीरें और वीडियों",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "द्वारा पिन किया गया",
48
+ "Pinned by": "",
46
49
  "Please enable access to your photos and videos so you can share them.": "कृपया अपनी फ़ोटो और वीडियो तक पहुंच सक्षम करें ताकि आप उन्हें साझा कर सकें।",
47
50
  "Please select a channel first": "कृपया पहले एक चैनल चुनें",
48
51
  "Reconnecting...": "",
@@ -52,7 +55,7 @@
52
55
  "Search GIFs": "",
53
56
  "Select More Photos": "अधिक फ़ोटो चुनें",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "इस बातचीत में लिंक भेजने की अनुमति नहीं है",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
@@ -60,14 +63,14 @@
60
63
  "Unknown User": "अज्ञात उपयोगकर्ता",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
64
- "Video": "वीडियो",
66
+ "Unread Messages": "अपठित संदेश",
67
+ "Video": "",
65
68
  "You": "",
66
- "You can't send messages in this channel": "आप इस चैनल में संदेश नहीं भेज सकते",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
68
71
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
69
72
  "{{ replyCount }} Replies": "{{ replyCount }} रिप्लाई",
70
- "{{ replyCount }} Thread Replies": "{{ replyCount }}} थ्रेड उत्तर",
71
- "{{ user }} is typing": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} टाइप कर रहा है",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/it.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "1 Reply": "1 Risposta",
3
- "1 Thread Reply": "1 Risposta alla Discussione",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
5
- "Also send to channel": "",
5
+ "Allow camera access in device settings": "Consenti l'accesso alla fotocamera nelle impostazioni del dispositivo",
6
+ "Also send to channel": "Invia anche al canale",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,9 +11,10 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "La fotocamera del dispositivo viene utilizzata per scattare foto o video.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Modificando il Messaggio",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
@@ -26,23 +28,24 @@
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "I link sono disabilitati",
31
+ "Links are disabled": "",
30
32
  "Loading channels...": "",
31
33
  "Loading messages...": "",
32
34
  "Loading...": "",
33
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "È stato raggiunto il limite massimo di caricamento delle dimensioni del file. Carica un file inferiore a {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
34
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Reazioni ai Messaggi",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
40
  "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
- "Only visible to you": "Visibile solo a te",
42
- "Photo": "Foto",
43
+ "Only visible to you": "",
44
+ "Open Settings": "Apri Impostazioni",
45
+ "Photo": "",
43
46
  "Photos and Videos": "Foto e Video",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Fissato da",
48
+ "Pinned by": "",
46
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.",
47
50
  "Please select a channel first": "Seleziona un canale",
48
51
  "Reconnecting...": "",
@@ -52,7 +55,7 @@
52
55
  "Search GIFs": "",
53
56
  "Select More Photos": "Seleziona Altre foto",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "L'invio di link non è consentito in questa conversazione",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
@@ -60,14 +63,14 @@
60
63
  "Unknown User": "Utente sconosciuto",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
64
- "Video": "Video",
66
+ "Unread Messages": "Messaggi non letti",
67
+ "Video": "",
65
68
  "You": "",
66
- "You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
68
71
  "{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
69
72
  "{{ replyCount }} Replies": "{{ replyCount }} Risposte",
70
- "{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
71
- "{{ user }} is typing": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} sta scrivendo",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/ja.json CHANGED
@@ -73,5 +73,8 @@
73
73
  "File type not supported": "サポートされていないファイルです",
74
74
  "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}} MB 以下のファイルをアップロードしてください",
75
75
  "Let's start chatting!": "チャットを始めましょう!",
76
- "How about sending your first message to a friend?": "初めてのメッセージを友達に送ってみてはいかがでしょうか?"
76
+ "How about sending your first message to a friend?": "初めてのメッセージを友達に送ってみてはいかがでしょうか?",
77
+ "Allow camera access in device settings": "デバイス設定でカメラへのアクセスを許可する",
78
+ "Device camera is used to take photos or videos.": "デバイスのカメラは写真やビデオの撮影に使用されます。",
79
+ "Open Settings": "設定を開く"
77
80
  }
package/src/i18n/ko.json CHANGED
@@ -72,5 +72,8 @@
72
72
  "Not supported": "지원하지 않습니다",
73
73
  "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}}MB 미만의 파일을 업로드하세요.",
74
74
  "Let's start chatting!": "채팅을 시작합시다!",
75
- "How about sending your first message to a friend?": "친구에게 첫 번째 메시지를 보내는 것은 어떻습니까?"
75
+ "How about sending your first message to a friend?": "친구에게 첫 번째 메시지를 보내는 것은 어떻습니까?",
76
+ "Allow camera access in device settings": "기기 설정에서 카메라 액세스를 허용하세요.",
77
+ "Device camera is used to take photos or videos.": "기기 카메라는 사진이나 동영상을 촬영하는 데 사용됩니다.",
78
+ "Open Settings": "설정 열기"
76
79
  }
package/src/i18n/nl.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "1 Reply": "1 Antwoord",
3
- "1 Thread Reply": "1 thread antwoord",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
- "Also send to channel": "",
5
+ "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
+ "Also send to channel": "Stuur ook naar kanaal",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,9 +11,10 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
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.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Bericht aanpassen",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
@@ -26,23 +28,24 @@
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Het versturen van links staat uit",
31
+ "Links are disabled": "",
30
32
  "Loading channels...": "",
31
33
  "Loading messages...": "",
32
34
  "Loading...": "",
33
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
34
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Bericht Reacties",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
40
  "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
- "Only visible to you": "Alleen zichtbaar voor jou",
42
- "Photo": "Foto",
43
+ "Only visible to you": "",
44
+ "Open Settings": "Open instellingen",
45
+ "Photo": "",
43
46
  "Photos and Videos": "Foto's en video's",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Vastgemaakt door",
48
+ "Pinned by": "",
46
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.",
47
50
  "Please select a channel first": "Selecteer eerst een kanaal",
48
51
  "Reconnecting...": "",
@@ -52,7 +55,7 @@
52
55
  "Search GIFs": "",
53
56
  "Select More Photos": "Selecteer Meer foto's",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
@@ -60,14 +63,14 @@
60
63
  "Unknown User": "Onbekende gebruiker",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
64
- "Video": "Video",
66
+ "Unread Messages": "Ongelezen Berichten",
67
+ "Video": "",
65
68
  "You": "",
66
- "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
68
71
  "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
69
72
  "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
70
- "{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
71
- "{{ user }} is typing": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} is aan het typen",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/ru.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "1 Reply": "1 Ответ",
3
- "1 Thread Reply": "1 тема Ответить",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
- "Also send to channel": "",
5
+ "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
+ "Also send to channel": "Также отправить на канал",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,9 +11,10 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Редактирование сообщения",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
@@ -26,23 +28,24 @@
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Ссылки отключены",
31
+ "Links are disabled": "",
30
32
  "Loading channels...": "",
31
33
  "Loading messages...": "",
32
34
  "Loading...": "",
33
- "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}} МБ.",
34
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Сообщения Реакции",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
40
  "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
- "Only visible to you": "Видно только вам",
42
- "Photo": "Фото",
43
+ "Only visible to you": "",
44
+ "Open Settings": "Открыть настройки",
45
+ "Photo": "",
43
46
  "Photos and Videos": "Фото и видео",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Закреплено пользователем",
48
+ "Pinned by": "",
46
49
  "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
47
50
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
48
51
  "Reconnecting...": "",
@@ -52,7 +55,7 @@
52
55
  "Search GIFs": "",
53
56
  "Select More Photos": "Выбрать больше фотографий",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
@@ -60,14 +63,14 @@
60
63
  "Unknown User": "Неизвестный пользователь",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
64
- "Video": "видео",
66
+ "Unread Messages": "Непрочитанные Сообщения",
67
+ "Video": "",
65
68
  "You": "",
66
- "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
68
71
  "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
69
72
  "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
70
- "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
71
- "{{ user }} is typing": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} пишет",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/tr.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "1 Reply": "1 Cevap",
3
- "1 Thread Reply": "1 Konu Yanıtı",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Galerinize erişime izin verin",
5
- "Also send to channel": "",
5
+ "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
+ "Also send to channel": "Kanala da gönder",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,9 +11,10 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Mesaj Düzenleniyor",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
@@ -26,23 +28,24 @@
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Bağlantılar devre dışı",
31
+ "Links are disabled": "",
30
32
  "Loading channels...": "",
31
33
  "Loading messages...": "",
32
34
  "Loading...": "",
33
- "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.",
34
- "Message Reactions": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "Mesaj Tepkileri",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
40
  "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
- "Only visible to you": "Sadece siz görebilirsiniz",
42
- "Photo": "Fotoğraf",
43
+ "Only visible to you": "",
44
+ "Open Settings": "Ayarları aç",
45
+ "Photo": "",
43
46
  "Photos and Videos": "Fotoğraflar ve Videolar",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Tarafından sabitlendi",
48
+ "Pinned by": "",
46
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.",
47
50
  "Please select a channel first": "Lütfen önce bir kanal seçiniz",
48
51
  "Reconnecting...": "",
@@ -52,7 +55,7 @@
52
55
  "Search GIFs": "",
53
56
  "Select More Photos": "Daha Fazla Fotoğraf Seçin",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
@@ -60,14 +63,14 @@
60
63
  "Unknown User": "Bilinmeyen kullanıcı",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
64
- "Video": "Video",
66
+ "Unread Messages": "Okunmamış Mesajlar",
67
+ "Video": "",
65
68
  "You": "",
66
- "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
68
71
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
69
72
  "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
70
- "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
71
- "{{ user }} is typing": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} yazıyor",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/native.ts CHANGED
@@ -87,8 +87,12 @@ type Photo =
87
87
  | (Omit<Asset, 'source'> & {
88
88
  cancelled: false;
89
89
  source: 'camera';
90
+ askToOpenSettings?: boolean;
90
91
  })
91
- | { cancelled: true };
92
+ | {
93
+ cancelled: true;
94
+ askToOpenSettings?: boolean;
95
+ };
92
96
  type TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;
93
97
  export let takePhoto: TakePhoto = fail;
94
98