stream-chat-react-native-core 5.27.0-beta.2 → 5.27.0-beta.4

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/Chat/Chat.js +25 -16
  2. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  3. package/lib/commonjs/components/Chat/hooks/useAppSettings.js +18 -12
  4. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  5. package/lib/commonjs/i18n/es.json +16 -16
  6. package/lib/commonjs/i18n/fr.json +16 -16
  7. package/lib/commonjs/i18n/he.json +16 -16
  8. package/lib/commonjs/i18n/hi.json +16 -16
  9. package/lib/commonjs/i18n/it.json +16 -16
  10. package/lib/commonjs/i18n/ja.json +16 -16
  11. package/lib/commonjs/i18n/ko.json +16 -16
  12. package/lib/commonjs/i18n/nl.json +16 -16
  13. package/lib/commonjs/i18n/pt-BR.json +16 -16
  14. package/lib/commonjs/i18n/ru.json +16 -16
  15. package/lib/commonjs/i18n/tr.json +16 -16
  16. package/lib/commonjs/version.json +1 -1
  17. package/lib/module/components/Chat/Chat.js +25 -16
  18. package/lib/module/components/Chat/Chat.js.map +1 -1
  19. package/lib/module/components/Chat/hooks/useAppSettings.js +18 -12
  20. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  21. package/lib/module/i18n/es.json +16 -16
  22. package/lib/module/i18n/fr.json +16 -16
  23. package/lib/module/i18n/he.json +16 -16
  24. package/lib/module/i18n/hi.json +16 -16
  25. package/lib/module/i18n/it.json +16 -16
  26. package/lib/module/i18n/ja.json +16 -16
  27. package/lib/module/i18n/ko.json +16 -16
  28. package/lib/module/i18n/nl.json +16 -16
  29. package/lib/module/i18n/pt-BR.json +16 -16
  30. package/lib/module/i18n/ru.json +16 -16
  31. package/lib/module/i18n/tr.json +16 -16
  32. package/lib/module/version.json +1 -1
  33. package/lib/typescript/i18n/es.json +16 -16
  34. package/lib/typescript/i18n/fr.json +16 -16
  35. package/lib/typescript/i18n/he.json +16 -16
  36. package/lib/typescript/i18n/hi.json +16 -16
  37. package/lib/typescript/i18n/it.json +16 -16
  38. package/lib/typescript/i18n/ja.json +16 -16
  39. package/lib/typescript/i18n/ko.json +16 -16
  40. package/lib/typescript/i18n/nl.json +16 -16
  41. package/lib/typescript/i18n/pt-BR.json +16 -16
  42. package/lib/typescript/i18n/ru.json +16 -16
  43. package/lib/typescript/i18n/tr.json +16 -16
  44. package/package.json +1 -1
  45. package/src/components/Chat/Chat.tsx +17 -6
  46. package/src/components/Chat/hooks/useAppSettings.ts +3 -1
  47. package/src/i18n/es.json +16 -16
  48. package/src/i18n/fr.json +16 -16
  49. package/src/i18n/he.json +16 -16
  50. package/src/i18n/hi.json +16 -16
  51. package/src/i18n/it.json +16 -16
  52. package/src/i18n/ja.json +16 -16
  53. package/src/i18n/ko.json +16 -16
  54. package/src/i18n/nl.json +16 -16
  55. package/src/i18n/pt-BR.json +16 -16
  56. package/src/i18n/ru.json +16 -16
  57. package/src/i18n/tr.json +16 -16
  58. package/src/version.json +1 -1
@@ -5,25 +5,25 @@
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "このメッセージを完全に削除してもよろしいですか?",
8
- "Are you sure?": "本当によろしいですか?",
8
+ "Are you sure?": "",
9
9
  "Block User": "ユーザをブロックする",
10
10
  "Cancel": "キャンセル",
11
11
  "Cannot Flag Message": "メッセージをフラグできません",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "あなたのコメントが他の人にどのように影響するか考え、必ずコミュニティガイドラインに従ってください",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "メッセージのコピー",
14
14
  "Delete": "消去",
15
15
  "Delete Message": "メッセージを削除",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "このメッセージのコピーをモデレーターに送信して、さらに調査しますか?",
18
18
  "Edit Message": "メッセージを編集",
19
- "Editing Message": "メッセージを編集中",
19
+ "Editing Message": "",
20
20
  "Emoji matching": "絵文字マッチング",
21
21
  "Empty message...": "",
22
- "Error loading": "",
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": "",
26
+ "File type not supported": "サポートされていないファイルです",
27
27
  "Flag": "フラグ",
28
28
  "Flag Message": "メッセージをフラグする",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "ネットワーク接続に問題があるか、すでにフラグが設定されているため、フラグが失敗しました。",
@@ -31,9 +31,9 @@
31
31
  "Instant Commands": "インスタントコマンド",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "リンク機能が無効になっています",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "チャネルを読み込み中。。。",
35
+ "Loading messages...": "メッセージを読み込み中。。。",
36
+ "Loading...": "読み込み中。。。",
37
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}} MB 以下のファイルをアップロードしてください",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "メッセージが削除されました",
@@ -44,19 +44,19 @@
44
44
  "Ok": "確認",
45
45
  "Only visible to you": "",
46
46
  "Open Settings": "",
47
- "Photo": "写真",
47
+ "Photo": "",
48
48
  "Photos and Videos": "",
49
49
  "Pin to Conversation": "会話にピンする",
50
- "Pinned by": "",
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
54
  "Reply": "返事",
55
55
  "Reply to Message": "",
56
56
  "Resend": "再送",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
- "Send Anyway": "とにかく送信",
59
+ "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "この会話ではリンク機能を使用できません。",
62
62
  "Slow mode ON": "",
@@ -67,13 +67,13 @@
67
67
  "Unmute User": "ユーザーのミュートを解除する",
68
68
  "Unpin from Conversation": "会話のピンを外す",
69
69
  "Unread Messages": "",
70
- "Video": "ビデオ",
70
+ "Video": "",
71
71
  "You": "あなた",
72
- "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
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": "{{ user }}はタイピング中",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -5,25 +5,25 @@
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "이 메시지를 영구적으로 삭제하시겠습니까?",
8
- "Are you sure?": "확실합니까?",
8
+ "Are you sure?": "",
9
9
  "Block User": "사용자 차단",
10
10
  "Cancel": "취소",
11
11
  "Cannot Flag Message": "메세지를 플래그 할 수 없습니다",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "당신의 댓글이 다른 사람들에게 어떤 영향을 줄지 고려하고 반드시 우리의 커뮤니티 가이드라인을 따르십시오",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "메시지 복사",
14
14
  "Delete": "삭제",
15
15
  "Delete Message": "메시지 삭제",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "이 메시지의 복사본을 운영자에게 보내 추가 조사를합니까?",
18
18
  "Edit Message": "메시지 수정",
19
- "Editing Message": "메시지 편집중",
19
+ "Editing Message": "",
20
20
  "Emoji matching": "이모티콘 매칭",
21
21
  "Empty message...": "",
22
- "Error loading": "",
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": "",
26
+ "File type not supported": "지원하지 않는 파일입니다.",
27
27
  "Flag": "플래그",
28
28
  "Flag Message": "메시지를 플래그하기",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "네트워크 연결에 문제가 있거나 이미 플래그 되어서 플래그에 실패했습니다.",
@@ -31,9 +31,9 @@
31
31
  "Instant Commands": "인스턴트 명령",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "링크 기능이 비활성화되었습니다",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "채널을 로딩 중...",
35
+ "Loading messages...": "메시지를 로딩 중...",
36
+ "Loading...": "로딩 중...",
37
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}}MB 미만의 파일을 업로드하세요.",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "메시지가 삭제되었습니다.",
@@ -44,19 +44,19 @@
44
44
  "Ok": "확인",
45
45
  "Only visible to you": "",
46
46
  "Open Settings": "",
47
- "Photo": "사진",
47
+ "Photo": "",
48
48
  "Photos and Videos": "",
49
49
  "Pin to Conversation": "대화에 고정합니다",
50
- "Pinned by": "",
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
54
  "Reply": "답장",
55
55
  "Reply to Message": "",
56
56
  "Resend": "재전송",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
- "Send Anyway": "그래도 보내기",
59
+ "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "이 대화에서는 링크 기능을 사용할 수 없습니다",
62
62
  "Slow mode ON": "",
@@ -67,13 +67,13 @@
67
67
  "Unmute User": "사용자 음소거 해제",
68
68
  "Unpin from Conversation": "대화의 핀을 분리합니다",
69
69
  "Unread Messages": "",
70
- "Video": "동영상",
70
+ "Video": "",
71
71
  "You": "당신",
72
- "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} 외 {{ nonSelfUserLength }}명이 입력 중입니다",
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": "{{ user }} 타이핑 중",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -5,25 +5,25 @@
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
8
- "Are you sure?": "Weet je het zeker?",
8
+ "Are you sure?": "",
9
9
  "Block User": "Blokkeer Gebruiker",
10
10
  "Cancel": "Annuleer",
11
11
  "Cannot Flag Message": "Kan bericht niet rapporteren",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Denk na over hoe jouw opmerking anderen zou kunnen laten voelen en zorg ervoor dat je onze Community-richtlijnen volgt",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "Bericht kopiëren",
14
14
  "Delete": "Verwijderen",
15
15
  "Delete Message": "Verwijder bericht",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "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?",
18
18
  "Edit Message": "Pas bericht aan",
19
- "Editing Message": "Bericht aanpassen",
19
+ "Editing Message": "",
20
20
  "Emoji matching": "Emoji-overeenkomsten",
21
21
  "Empty message...": "",
22
- "Error loading": "",
22
+ "Error loading": "Probleem bij het laden",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "Probleem bij het laden van de berichten in dit kanaal...",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "",
26
+ "File type not supported": "Bestandstype niet ondersteund",
27
27
  "Flag": "Markeer",
28
28
  "Flag Message": "Markeer bericht",
29
29
  "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",
@@ -31,9 +31,9 @@
31
31
  "Instant Commands": "Directe Opdrachten",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Het versturen van links staat uit",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Kanalen aan het laden...",
35
+ "Loading messages...": "Berichten aan het laden...",
36
+ "Loading...": "Aan het laden...",
37
37
  "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.",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "Bericht verwijderd",
@@ -44,19 +44,19 @@
44
44
  "Ok": "Oké",
45
45
  "Only visible to you": "",
46
46
  "Open Settings": "",
47
- "Photo": "Foto",
47
+ "Photo": "",
48
48
  "Photos and Videos": "",
49
49
  "Pin to Conversation": "Vastmaken aan gesprek",
50
- "Pinned by": "",
50
+ "Pinned by": "Vastgemaakt door",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "Selecteer eerst een kanaal",
52
+ "Please select a channel first": "",
53
53
  "Reconnecting...": "Opnieuw Verbinding Maken...",
54
54
  "Reply": "Antwoord",
55
55
  "Reply to Message": "",
56
56
  "Resend": "Opnieuw versturen",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
- "Send Anyway": "Toch verzenden",
59
+ "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
62
62
  "Slow mode ON": "",
@@ -67,13 +67,13 @@
67
67
  "Unmute User": "Dempen van gebruiker opheffen",
68
68
  "Unpin from Conversation": "Losmaken van gesprek",
69
69
  "Unread Messages": "",
70
- "Video": "Video",
70
+ "Video": "",
71
71
  "You": "U",
72
- "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
72
+ "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
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": "{{ user }} is aan het typen",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -5,25 +5,25 @@
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "Tem certeza de que deseja excluir esta mensagem permanentemente?",
8
- "Are you sure?": "Tem certeza?",
8
+ "Are you sure?": "",
9
9
  "Block User": "Bloquear Usuário",
10
10
  "Cancel": "Cancelar",
11
11
  "Cannot Flag Message": "Não é possível reportar a mensagem",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Considere como seu comentário pode fazer os outros se sentirem e certifique-se de seguir nossas Diretrizes da Comunidade",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "Copiar Mensagem",
14
14
  "Delete": "Excluir",
15
15
  "Delete Message": "Excluir Mensagem",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "Deseja enviar uma cópia desta mensagem para um moderador para investigação adicional?",
18
18
  "Edit Message": "Editar Mensagem",
19
- "Editing Message": "Editando Mensagem",
19
+ "Editing Message": "",
20
20
  "Emoji matching": "Correspondência de Emoji",
21
21
  "Empty message...": "",
22
- "Error loading": "",
22
+ "Error loading": "Erro ao carregar",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "Erro ao carregar mensagens para este canal...",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "",
26
+ "File type not supported": "Tipo de arquivo não suportado",
27
27
  "Flag": "Reportar",
28
28
  "Flag Message": "Reportar Mensagem",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "A ação para reportar a mensagem falhou devido a um problema de rede ou a mensagem já foi reportada.",
@@ -31,9 +31,9 @@
31
31
  "Instant Commands": "Comandos Instantâneos",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Links estão desabilitados",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Carregando canais...",
35
+ "Loading messages...": "Carregando mensagens...",
36
+ "Loading...": "Carregando...",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Limite máximo de tamanho de arquivo atingido. Por favor, faça o upload de um arquivo abaixo de {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
38
38
  "Message Reactions": "",
39
39
  "Message deleted": "Mensagem excluída",
@@ -44,19 +44,19 @@
44
44
  "Ok": "Ok",
45
45
  "Only visible to you": "",
46
46
  "Open Settings": "",
47
- "Photo": "Foto",
47
+ "Photo": "",
48
48
  "Photos and Videos": "",
49
49
  "Pin to Conversation": "Fixar na Conversa",
50
- "Pinned by": "",
50
+ "Pinned by": "Fixado por",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "Por favor, selecione um canal primeiro",
52
+ "Please select a channel first": "",
53
53
  "Reconnecting...": "Reconectando...",
54
54
  "Reply": "Responder",
55
55
  "Reply to Message": "",
56
56
  "Resend": "Reenviar",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
- "Send Anyway": "Enviar de qualquer maneira",
59
+ "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Não é permitido enviar links nesta conversa",
62
62
  "Slow mode ON": "",
@@ -67,13 +67,13 @@
67
67
  "Unmute User": "Remover usuário do modo silencioso",
68
68
  "Unpin from Conversation": "Desmarcar como fixado na conversa",
69
69
  "Unread Messages": "",
70
- "Video": "Vídeo",
70
+ "Video": "",
71
71
  "You": "Você",
72
- "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e mais {{ nonSelfUserLength }} pessoa(s) estão digitando",
72
+ "You can't send messages in this channel": "Você não pode enviar mensagens neste 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": "{{ user }} está digitando",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -5,25 +5,25 @@
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
8
- "Are you sure?": "Вы уверены?",
8
+ "Are you sure?": "",
9
9
  "Block User": "Заблокировать пользователя",
10
10
  "Cancel": "Отмена",
11
11
  "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Обдумайте, как ваш комментарий может повлиять на других, и убедитесь, что вы следуете нашим правилам сообщества",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "Копировать сообщение",
14
14
  "Delete": "удалять",
15
15
  "Delete Message": "Удалить сообщение",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
18
18
  "Edit Message": "Редактировать сообщение",
19
- "Editing Message": "Редактирование сообщения",
19
+ "Editing Message": "",
20
20
  "Emoji matching": "Соответствие эмодзи",
21
21
  "Empty message...": "",
22
- "Error loading": "",
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": "",
26
+ "File type not supported": "Тип файла не поддерживается",
27
27
  "Flag": "Пометить",
28
28
  "Flag Message": "Пометить сообщение",
29
29
  "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
@@ -31,9 +31,9 @@
31
31
  "Instant Commands": "Мгновенные Команды",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Ссылки отключены",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Загружаю каналы...",
35
+ "Loading messages...": "Загружаю сообщения...",
36
+ "Loading...": "Загружаю...",
37
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
38
  "Message Reactions": "",
39
39
  "Message deleted": "Сообщение удалено",
@@ -44,19 +44,19 @@
44
44
  "Ok": "Oк",
45
45
  "Only visible to you": "",
46
46
  "Open Settings": "",
47
- "Photo": "Фото",
47
+ "Photo": "",
48
48
  "Photos and Videos": "",
49
49
  "Pin to Conversation": "Закрепить к беседе",
50
- "Pinned by": "",
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
54
  "Reply": "Ответить",
55
55
  "Reply to Message": "",
56
56
  "Resend": "Отправить",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
- "Send Anyway": "Всё равно отправить",
59
+ "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
62
62
  "Slow mode ON": "",
@@ -67,13 +67,13 @@
67
67
  "Unmute User": "Включить микрофон",
68
68
  "Unpin from Conversation": "Открепить от беседы",
69
69
  "Unread Messages": "",
70
- "Video": "видео",
70
+ "Video": "",
71
71
  "You": "Вы",
72
- "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
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": "{{ user }} пишет",
77
+ "{{ user }} is typing": "",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -5,25 +5,25 @@
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
8
- "Are you sure?": "Emin misiniz?",
8
+ "Are you sure?": "",
9
9
  "Block User": "Kullanıcıyı engelle",
10
10
  "Cancel": "İptal",
11
11
  "Cannot Flag Message": "Raporlama Başarısız",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Yorumunuzun diğerlerini nasıl hissettirebileceğini düşünün ve topluluk kurallarımızı takip ettiğinizden emin olun",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "Mesajı Kopyala",
14
14
  "Delete": "Sil",
15
15
  "Delete Message": "Mesajı Sil",
16
16
  "Device camera is used to take photos or videos.": "",
17
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
18
  "Edit Message": "Mesajı Düzenle",
19
- "Editing Message": "Mesaj Düzenleniyor",
19
+ "Editing Message": "",
20
20
  "Emoji matching": "Emoji eşleştirme",
21
21
  "Empty message...": "",
22
- "Error loading": "",
22
+ "Error loading": "Yükleme hatası",
23
23
  "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
25
25
  "Error while loading, please reload/refresh": "",
26
- "File type not supported": "",
26
+ "File type not supported": "Dosya türü desteklenmiyor",
27
27
  "Flag": "Raporla",
28
28
  "Flag Message": "Mesajı Raporla",
29
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.",
@@ -31,9 +31,9 @@
31
31
  "Instant Commands": "Anlık Komutlar",
32
32
  "Let's start chatting!": "",
33
33
  "Links are disabled": "Bağlantılar devre dışı",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
34
+ "Loading channels...": "Kanallar yükleniyor...",
35
+ "Loading messages...": "Mesajlar yükleniyor...",
36
+ "Loading...": "Yükleniyor...",
37
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
38
  "Message Reactions": "",
39
39
  "Message deleted": "Mesaj silindi",
@@ -44,19 +44,19 @@
44
44
  "Ok": "Tamam",
45
45
  "Only visible to you": "",
46
46
  "Open Settings": "",
47
- "Photo": "Fotoğraf",
47
+ "Photo": "",
48
48
  "Photos and Videos": "",
49
49
  "Pin to Conversation": "Konuşmaya sabitle",
50
- "Pinned by": "",
50
+ "Pinned by": "Tarafından sabitlendi",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "Lütfen önce bir kanal seçiniz",
52
+ "Please select a channel first": "",
53
53
  "Reconnecting...": "Yeniden Bağlanılıyor...",
54
54
  "Reply": "Yanıtla",
55
55
  "Reply to Message": "",
56
56
  "Resend": "Yeniden gönder",
57
57
  "Search GIFs": "",
58
58
  "Select More Photos": "",
59
- "Send Anyway": "Yine de Gönder",
59
+ "Send Anyway": "",
60
60
  "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
62
62
  "Slow mode ON": "",
@@ -67,13 +67,13 @@
67
67
  "Unmute User": "Kullanıcının sesini aç",
68
68
  "Unpin from Conversation": "Sabitlemeyi kaldır",
69
69
  "Unread Messages": "",
70
- "Video": "Video",
70
+ "Video": "",
71
71
  "You": "Sen",
72
- "You can't send messages in this channel": "",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
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": "{{ user }} yazıyor",
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.27.0-beta.2",
4
+ "version": "5.27.0-beta.4",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -160,7 +160,12 @@ const ChatWithContext = <
160
160
  closeConnectionOnBackground,
161
161
  );
162
162
 
163
- const [initialisedDatabase, setInitialisedDatabase] = useState(false);
163
+ const [initialisedDatabaseConfig, setInitialisedDatabaseConfig] = useState<{
164
+ initialised: boolean;
165
+ userID?: string;
166
+ }>({
167
+ initialised: false,
168
+ });
164
169
 
165
170
  /**
166
171
  * Setup muted user listener
@@ -171,6 +176,8 @@ const ChatWithContext = <
171
176
  const debugRef = useDebugContext();
172
177
  const isDebugModeEnabled = __DEV__ && debugRef && debugRef.current;
173
178
 
179
+ const userID = client.userID;
180
+
174
181
  // Set the `resizableCDNHosts` as per the prop.
175
182
  StreamChatRN.setConfig({ resizableCDNHosts });
176
183
 
@@ -195,13 +202,16 @@ const ChatWithContext = <
195
202
  const setActiveChannel = (newChannel?: Channel<StreamChatGenerics>) => setChannel(newChannel);
196
203
 
197
204
  useEffect(() => {
198
- if (client.user?.id && enableOfflineSupport) {
199
- setInitialisedDatabase(false);
205
+ if (userID && enableOfflineSupport) {
206
+ setInitialisedDatabaseConfig({ initialised: false, userID });
200
207
  QuickSqliteClient.initializeDatabase();
201
208
  DBSyncManager.init(client as unknown as StreamChat);
202
- setInitialisedDatabase(true);
209
+ setInitialisedDatabaseConfig({ initialised: true, userID });
203
210
  }
204
- }, [client?.user?.id, enableOfflineSupport]);
211
+ }, [userID, enableOfflineSupport]);
212
+
213
+ const initialisedDatabase =
214
+ initialisedDatabaseConfig.initialised && userID === initialisedDatabaseConfig.userID;
205
215
 
206
216
  const appSettings = useAppSettings(client, isOnline, enableOfflineSupport, initialisedDatabase);
207
217
 
@@ -224,7 +234,8 @@ const ChatWithContext = <
224
234
  initialisedDatabase,
225
235
  });
226
236
 
227
- if (enableOfflineSupport && !initialisedDatabase) {
237
+ if (userID && enableOfflineSupport && !initialisedDatabase) {
238
+ // if user id has been set and offline support is enabled, we need to wait for database to be initialised
228
239
  return null;
229
240
  }
230
241
 
@@ -19,7 +19,9 @@ export const useAppSettings = <
19
19
  async function enforeAppSettings() {
20
20
  if (!client.userID) return;
21
21
 
22
- if (!isOnline && enableOfflineSupport && initialisedDatabase) {
22
+ if (enableOfflineSupport && !initialisedDatabase) return;
23
+
24
+ if (!isOnline && enableOfflineSupport) {
23
25
  const appSettings = dbApi.getAppSettings({ currentUserId: client.userID });
24
26
  setAppSettings(appSettings);
25
27
  return;