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.
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
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
5
  exports.ImageGalleryVideoControl = void 0;
6
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
7
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
6
8
  var _react = _interopRequireDefault(require("react"));
7
9
  var _reactNative = require("react-native");
8
10
  var _dayjs = _interopRequireDefault(require("dayjs"));
@@ -37,7 +39,8 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
37
39
  var duration = props.duration,
38
40
  onPlayPause = props.onPlayPause,
39
41
  paused = props.paused,
40
- progress = props.progress;
42
+ progress = props.progress,
43
+ videoRef = props.videoRef;
41
44
  var videoDuration = duration ? duration / 3600 >= 1 ? _dayjs["default"].duration(duration, 'second').format('HH:mm:ss') : _dayjs["default"].duration(duration, 'second').format('mm:ss') : null;
42
45
  var progressValueInSeconds = progress * duration;
43
46
  var progressDuration = progressValueInSeconds ? progressValueInSeconds / 3600 >= 1 ? _dayjs["default"].duration(progressValueInSeconds, 'second').format('HH:mm:ss') : _dayjs["default"].duration(progressValueInSeconds, 'second').format('mm:ss') : null;
@@ -52,23 +55,49 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
52
55
  durationTextStyle = _useTheme$theme$image.durationTextStyle,
53
56
  roundedView = _useTheme$theme$image.roundedView,
54
57
  videoContainer = _useTheme$theme$image.videoContainer;
58
+ var handlePlayPause = function () {
59
+ var _ref = (0, _asyncToGenerator2["default"])(_regenerator["default"].mark(function _callee() {
60
+ var _videoRef$current;
61
+ return _regenerator["default"].wrap(function _callee$(_context) {
62
+ while (1) switch (_context.prev = _context.next) {
63
+ case 0:
64
+ if (!(progress === 1)) {
65
+ _context.next = 4;
66
+ break;
67
+ }
68
+ if (!((_videoRef$current = videoRef.current) != null && _videoRef$current.setPositionAsync)) {
69
+ _context.next = 4;
70
+ break;
71
+ }
72
+ _context.next = 4;
73
+ return videoRef.current.setPositionAsync(0);
74
+ case 4:
75
+ onPlayPause();
76
+ case 5:
77
+ case "end":
78
+ return _context.stop();
79
+ }
80
+ }, _callee);
81
+ }));
82
+ return function handlePlayPause() {
83
+ return _ref.apply(this, arguments);
84
+ };
85
+ }();
55
86
  return _react["default"].createElement(_reactNative.View, {
56
87
  style: [styles.videoContainer, videoContainer],
57
88
  __self: _this,
58
89
  __source: {
59
90
  fileName: _jsxFileName,
60
- lineNumber: 64,
91
+ lineNumber: 74,
61
92
  columnNumber: 7
62
93
  }
63
94
  }, _react["default"].createElement(_reactNative.TouchableOpacity, {
64
95
  accessibilityLabel: "Play Pause Button",
65
- onPress: function onPress() {
66
- onPlayPause();
67
- },
96
+ onPress: handlePlayPause,
68
97
  __self: _this,
69
98
  __source: {
70
99
  fileName: _jsxFileName,
71
- lineNumber: 65,
100
+ lineNumber: 75,
72
101
  columnNumber: 9
73
102
  }
74
103
  }, _react["default"].createElement(_reactNative.View, {
@@ -78,7 +107,7 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
78
107
  __self: _this,
79
108
  __source: {
80
109
  fileName: _jsxFileName,
81
- lineNumber: 71,
110
+ lineNumber: 76,
82
111
  columnNumber: 11
83
112
  }
84
113
  }, paused ? _react["default"].createElement(_icons.Play, {
@@ -89,7 +118,7 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
89
118
  __self: _this,
90
119
  __source: {
91
120
  fileName: _jsxFileName,
92
- lineNumber: 73,
121
+ lineNumber: 78,
93
122
  columnNumber: 15
94
123
  }
95
124
  }) : _react["default"].createElement(_icons.Pause, {
@@ -100,7 +129,7 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
100
129
  __self: _this,
101
130
  __source: {
102
131
  fileName: _jsxFileName,
103
- lineNumber: 75,
132
+ lineNumber: 80,
104
133
  columnNumber: 15
105
134
  }
106
135
  }))), _react["default"].createElement(_reactNative.Text, {
@@ -111,7 +140,7 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
111
140
  __self: _this,
112
141
  __source: {
113
142
  fileName: _jsxFileName,
114
- lineNumber: 84,
143
+ lineNumber: 89,
115
144
  columnNumber: 9
116
145
  }
117
146
  }, progressDuration ? progressDuration : '00:00'), _react["default"].createElement(_ProgressControl.ProgressControl, {
@@ -124,7 +153,7 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
124
153
  __self: _this,
125
154
  __source: {
126
155
  fileName: _jsxFileName,
127
- lineNumber: 90,
156
+ lineNumber: 95,
128
157
  columnNumber: 9
129
158
  }
130
159
  }), _react["default"].createElement(_reactNative.Text, {
@@ -135,7 +164,7 @@ var ImageGalleryVideoControl = _react["default"].memo(function (props) {
135
164
  __self: _this,
136
165
  __source: {
137
166
  fileName: _jsxFileName,
138
- lineNumber: 98,
167
+ lineNumber: 103,
139
168
  columnNumber: 9
140
169
  }
141
170
  }, videoDuration ? videoDuration : '00:00'));
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_dayjs","_ThemeContext","_icons","_ProgressControl","_this","_jsxFileName","styles","StyleSheet","create","durationTextStyle","fontWeight","roundedView","alignItems","borderRadius","display","elevation","height","justifyContent","width","videoContainer","backgroundColor","flexDirection","padding","ImageGalleryVideoControl","React","memo","props","duration","onPlayPause","paused","progress","videoDuration","dayjs","format","progressValueInSeconds","progressDuration","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$color","colors","accent_blue","black","static_black","static_white","_useTheme$theme$image","imageGallery","videoControl","createElement","View","style","__self","__source","fileName","lineNumber","columnNumber","TouchableOpacity","accessibilityLabel","onPress","Play","pathFill","Pause","Text","color","ProgressControl","filledColor","testID","prevProps","nextProps","exports","displayName"],"sources":["ImageGalleryVideoControl.tsx"],"sourcesContent":["import React from 'react';\nimport { StyleSheet, Text, TouchableOpacity, View } from 'react-native';\n\nimport dayjs from 'dayjs';\n\nimport type { ImageGalleryFooterVideoControlProps } from './ImageGalleryFooter';\n\nimport { useTheme } from '../../../contexts/themeContext/ThemeContext';\n\nimport { Pause, Play } from '../../../icons';\nimport { ProgressControl } from '../../ProgressControl/ProgressControl';\n\nconst styles = StyleSheet.create({\n durationTextStyle: {\n fontWeight: 'bold',\n },\n roundedView: {\n alignItems: 'center',\n borderRadius: 50,\n display: 'flex',\n elevation: 2,\n height: 36,\n justifyContent: 'center',\n width: 36,\n },\n videoContainer: {\n alignItems: 'center',\n backgroundColor: 'rgba(52, 52, 52, 0.1)',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n padding: 10,\n },\n});\n\nexport const ImageGalleryVideoControl: React.FC<ImageGalleryFooterVideoControlProps> = React.memo(\n (props) => {\n const { duration, onPlayPause, paused, progress } = props;\n\n const videoDuration = duration\n ? duration / 3600 >= 1\n ? dayjs.duration(duration, 'second').format('HH:mm:ss')\n : dayjs.duration(duration, 'second').format('mm:ss')\n : null;\n\n const progressValueInSeconds = progress * duration;\n\n const progressDuration = progressValueInSeconds\n ? progressValueInSeconds / 3600 >= 1\n ? dayjs.duration(progressValueInSeconds, 'second').format('HH:mm:ss')\n : dayjs.duration(progressValueInSeconds, 'second').format('mm:ss')\n : null;\n\n const {\n theme: {\n colors: { accent_blue, black, static_black, static_white },\n imageGallery: {\n videoControl: { durationTextStyle, roundedView, videoContainer },\n },\n },\n } = useTheme();\n\n return (\n <View style={[styles.videoContainer, videoContainer]}>\n <TouchableOpacity\n accessibilityLabel='Play Pause Button'\n onPress={() => {\n onPlayPause();\n }}\n >\n <View style={[styles.roundedView, roundedView, { backgroundColor: static_white }]}>\n {paused ? (\n <Play accessibilityLabel='Play Icon' height={24} pathFill={static_black} width={24} />\n ) : (\n <Pause\n accessibilityLabel='Pause Icon'\n height={24}\n pathFill={static_black}\n width={24}\n />\n )}\n </View>\n </TouchableOpacity>\n <Text\n accessibilityLabel='Progress Duration'\n style={[styles.durationTextStyle, durationTextStyle, { color: black }]}\n >\n {progressDuration ? progressDuration : '00:00'}\n </Text>\n <ProgressControl\n duration={duration}\n filledColor={accent_blue}\n onPlayPause={onPlayPause}\n progress={progress}\n testID={'progress-control'}\n width={180}\n />\n <Text\n accessibilityLabel='Video Duration'\n style={[styles.durationTextStyle, durationTextStyle, { color: black }]}\n >\n {videoDuration ? videoDuration : '00:00'}\n </Text>\n </View>\n );\n },\n (prevProps, nextProps) => {\n if (\n prevProps.duration === nextProps.duration &&\n prevProps.paused === nextProps.paused &&\n prevProps.progress === nextProps.progress\n ) {\n return true;\n } else {\n return false;\n }\n },\n);\n\nImageGalleryVideoControl.displayName = 'ImageGalleryVideoControl{im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,sDAAsD"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_dayjs","_ThemeContext","_icons","_ProgressControl","_this","_jsxFileName","styles","StyleSheet","create","durationTextStyle","fontWeight","roundedView","alignItems","borderRadius","display","elevation","height","justifyContent","width","videoContainer","backgroundColor","flexDirection","padding","ImageGalleryVideoControl","React","memo","props","duration","onPlayPause","paused","progress","videoRef","videoDuration","dayjs","format","progressValueInSeconds","progressDuration","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$color","colors","accent_blue","black","static_black","static_white","_useTheme$theme$image","imageGallery","videoControl","handlePlayPause","_ref","_asyncToGenerator2","_regenerator","mark","_callee","_videoRef$current","wrap","_callee$","_context","prev","next","current","setPositionAsync","stop","apply","arguments","createElement","View","style","__self","__source","fileName","lineNumber","columnNumber","TouchableOpacity","accessibilityLabel","onPress","Play","pathFill","Pause","Text","color","ProgressControl","filledColor","testID","prevProps","nextProps","exports","displayName"],"sources":["ImageGalleryVideoControl.tsx"],"sourcesContent":["import React from 'react';\nimport { StyleSheet, Text, TouchableOpacity, View } from 'react-native';\n\nimport dayjs from 'dayjs';\n\nimport type { ImageGalleryFooterVideoControlProps } from './ImageGalleryFooter';\n\nimport { useTheme } from '../../../contexts/themeContext/ThemeContext';\n\nimport { Pause, Play } from '../../../icons';\nimport { ProgressControl } from '../../ProgressControl/ProgressControl';\n\nconst styles = StyleSheet.create({\n durationTextStyle: {\n fontWeight: 'bold',\n },\n roundedView: {\n alignItems: 'center',\n borderRadius: 50,\n display: 'flex',\n elevation: 2,\n height: 36,\n justifyContent: 'center',\n width: 36,\n },\n videoContainer: {\n alignItems: 'center',\n backgroundColor: 'rgba(52, 52, 52, 0.1)',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n padding: 10,\n },\n});\n\nexport const ImageGalleryVideoControl: React.FC<ImageGalleryFooterVideoControlProps> = React.memo(\n (props) => {\n const { duration, onPlayPause, paused, progress, videoRef } = props;\n\n const videoDuration = duration\n ? duration / 3600 >= 1\n ? dayjs.duration(duration, 'second').format('HH:mm:ss')\n : dayjs.duration(duration, 'second').format('mm:ss')\n : null;\n\n const progressValueInSeconds = progress * duration;\n\n const progressDuration = progressValueInSeconds\n ? progressValueInSeconds / 3600 >= 1\n ? dayjs.duration(progressValueInSeconds, 'second').format('HH:mm:ss')\n : dayjs.duration(progressValueInSeconds, 'second').format('mm:ss')\n : null;\n\n const {\n theme: {\n colors: { accent_blue, black, static_black, static_white },\n imageGallery: {\n videoControl: { durationTextStyle, roundedView, videoContainer },\n },\n },\n } = useTheme();\n\n const handlePlayPause = async () => {\n if (progress === 1) {\n // For expo CLI\n if (videoRef.current?.setPositionAsync) {\n await videoRef.current.setPositionAsync(0);\n }\n }\n onPlayPause();\n };\n\n return (\n <View style={[styles.videoContainer, videoContainer]}>\n <TouchableOpacity accessibilityLabel='Play Pause Button' onPress={handlePlayPause}>\n <View style={[styles.roundedView, roundedView, { backgroundColor: static_white }]}>\n {paused ? (\n <Play accessibilityLabel='Play Icon' height={24} pathFill={static_black} width={24} />\n ) : (\n <Pause\n accessibilityLabel='Pause Icon'\n height={24}\n pathFill={static_black}\n width={24}\n />\n )}\n </View>\n </TouchableOpacity>\n <Text\n accessibilityLabel='Progress Duration'\n style={[styles.durationTextStyle, durationTextStyle, { color: black }]}\n >\n {progressDuration ? progressDuration : '00:00'}\n </Text>\n <ProgressControl\n duration={duration}\n filledColor={accent_blue}\n onPlayPause={onPlayPause}\n progress={progress}\n testID={'progress-control'}\n width={180}\n />\n <Text\n accessibilityLabel='Video Duration'\n style={[styles.durationTextStyle, durationTextStyle, { color: black }]}\n >\n {videoDuration ? videoDuration : '00:00'}\n </Text>\n </View>\n );\n },\n (prevProps, nextProps) => {\n if (\n prevProps.duration === nextProps.duration &&\n prevProps.paused === nextProps.paused &&\n prevProps.progress === nextProps.progress\n ) {\n return true;\n } else {\n return false;\n }\n },\n);\n\nImageGalleryVideoControl.displayName = 'ImageGalleryVideoControl{imageGallery{videoControl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A,YAAAuE,aAAA,CAACpE,YAAA,CAAAkF,IAAI;IACHL,kBAAkB,EAAC,gBAAgB;IACnCP,KAAK,EAAE,CAAC/D,MAAM,CAACG,iBAAiB,EAAEA,iBAAiB,EAAE;MAAEyE,KAAK,EAAEtC;IAAM,CAAC,CAAE;IAAA0B,MAAA,EAAAlE,KAAA;IAAAmE,QAAA;MAAAC,QAAA,EAAAnE,YAAA;MAAAoE,UAAA;MAAAC,YAAA;IAAA;EAAA,GAEtE1C,aAAa,GAAGA,aAAa,GAAG,OAC7B,CACF,CAAC;AAEX,CAAC,EACD,UAACsD,SAAS,EAAEC,SAAS,EAAK;EACxB,IACED,SAAS,CAAC3D,QAAQ,KAAK4D,SAAS,CAAC5D,QAAQ,IACzC2D,SAAS,CAACzD,MAAM,KAAK0D,SAAS,CAAC1D,MAAM,IACrCyD,SAAS,CAACxD,QAAQ,KAAKyD,SAAS,CAACzD,QAAQ,EACzC;IACA,OAAO,IAAI;EACb,CAAC,MAAM;IACL,OAAO,KAAK;EACd;AACF,CACF,CAAC;AAAC0D,OAAA,CAAAjE,wBAAA,GAAAA,wBAAA;AAEFA,wBAAwB,CAACkE,WAAW,GAAG,sDAAsD"}
@@ -22,7 +22,7 @@
22
22
  "File type not supported": "File type not supported",
23
23
  "Flag": "Flag",
24
24
  "Flag Message": "Flag Message",
25
- "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged.",
25
+ "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged",
26
26
  "Instant Commands": "Instant Commands",
27
27
  "Links are disabled": "Links are disabled",
28
28
  "Loading channels...": "Loading channels...",
@@ -0,0 +1,72 @@
1
+ {
2
+ "1 Reply": "1 respuesta",
3
+ "1 Thread Reply": "1 respuesta de hilo",
4
+ "Allow access to your Gallery": "Permitir acceso a tu galería",
5
+ "Also send to channel": "También enviar al canal",
6
+ "Are you sure you want to permanently delete this message?": "¿Estás seguro de que deseas eliminar permanentemente este mensaje?",
7
+ "Block User": "Bloquear usuario",
8
+ "Cancel": "Cancelar",
9
+ "Cannot Flag Message": "No se puede reportar el mensaje",
10
+ "Copy Message": "Copiar mensaje",
11
+ "Delete": "Eliminar",
12
+ "Delete Message": "Eliminar mensaje",
13
+ "Do you want to send a copy of this message to a moderator for further investigation?": "¿Deseas enviar una copia de este mensaje a un moderador para una investigación adicional?",
14
+ "Edit Message": "Editar mensaje",
15
+ "Editing Message": "Editando mensaje",
16
+ "Emoji matching": "Coincidencia de emoji",
17
+ "Empty message...": "Mensaje vacío...",
18
+ "Error loading": "Error al cargar",
19
+ "Error loading channel list...": "Error al cargar la lista de canales...",
20
+ "Error loading messages for this channel...": "Error al cargar los mensajes de este canal...",
21
+ "Error while loading, please reload/refresh": "Error al cargar, por favor recarga/actualiza",
22
+ "File type not supported": "Tipo de archivo no admitido",
23
+ "Flag": "Reportar",
24
+ "Flag Message": "Reportar mensaje",
25
+ "Flag action failed either due to a network issue or the message is already flagged": "El reporte falló debido a un problema de red o el mensaje ya fue reportado.",
26
+ "Instant Commands": "Comandos instantáneos",
27
+ "Links are disabled": "Los enlaces están desactivados",
28
+ "Loading channels...": "Cargando canales...",
29
+ "Loading messages...": "Cargando mensajes...",
30
+ "Loading...": "Cargando...",
31
+ "Message Reactions": "Reacciones al mensaje",
32
+ "Message deleted": "Mensaje eliminado",
33
+ "Message flagged": "Mensaje reportado",
34
+ "Mute User": "Silenciar usuario",
35
+ "Not supported": "No admitido",
36
+ "Nothing yet...": "Aún no hay nada...",
37
+ "Ok": "Aceptar",
38
+ "Only visible to you": "Solo visible para ti",
39
+ "Photo": "Foto",
40
+ "Photos": "Fotos",
41
+ "Photos and Videos": "Fotos y videos",
42
+ "Pin to Conversation": "Fijar a la conversación",
43
+ "Pinned by": "Fijado por",
44
+ "Please enable access to your photos and videos so you can share them.": "Por favor, habilita el acceso a tus fotos y videos para poder compartirlos.",
45
+ "Please select a channel first": "Por favor, selecciona primero un canal",
46
+ "Reconnecting...": "Reconectando...",
47
+ "Reply": "Responder",
48
+ "Reply to Message": "Responder al mensaje",
49
+ "Resend": "Reenviar",
50
+ "Search GIFs": "Buscar GIFs",
51
+ "Send a message": "Enviar un mensaje",
52
+ "Sending links is not allowed in this conversation": "No está permitido enviar enlaces en esta conversación",
53
+ "Slow mode ON": "Modo lento ACTIVADO",
54
+ "The message has been reported to a moderator.": "El mensaje ha sido reportado a un moderador.",
55
+ "Thread Reply": "Respuesta de hilo",
56
+ "Unblock User": "Desbloquear usuario",
57
+ "Unknown User": "Usuario desconocido",
58
+ "Unmute User": "Activar sonido del usuario",
59
+ "Unpin from Conversation": "Desmarcar de la conversación",
60
+ "Unread Messages": "Mensajes no leídos",
61
+ "Video": "Video",
62
+ "You": "Tú",
63
+ "You can't send messages in this channel": "No puedes enviar mensajes en este canal",
64
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} y {{ nonSelfUserLength }} más están escribiendo",
65
+ "{{ index }} of {{ photoLength }}": "{{ index }} de {{ photoLength }}",
66
+ "{{ replyCount }} Replies": "{{ replyCount }} Respuestas",
67
+ "{{ replyCount }} Thread Replies": "{{ replyCount }} respuestas de hilo",
68
+ "{{ user }} is typing": "{{ user }} está escribiendo",
69
+ "Select More Photos": "Seleccionar más fotos",
70
+ "🏙 Attachment...": "🏙 Adjunto...",
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
+ }
@@ -2,70 +2,70 @@
2
2
  "1 Reply": "1 Réponse",
3
3
  "1 Thread Reply": "Réponse à 1 fil",
4
4
  "Allow access to your Gallery": "Autoriser l'accès à votre galerie",
5
- "Also send to channel": "Envoyer également à la chaîne",
6
- "Are you sure you want to permanently delete this message?": "Êtes-vous sûr de vouloir supprimer définitivement ce message?",
7
- "Block User": "Bloquer un utilisateur",
8
- "Cancel": "Annuler",
9
- "Cannot Flag Message": "Impossible de signaler le message",
10
- "Copy Message": "Copier le message",
11
- "Delete": "Supprimer",
12
- "Delete Message": "Supprimer un message",
13
- "Do you want to send a copy of this message to a moderator for further investigation?": "Voulez-vous envoyer une copie de ce message à un modérateur pour une enquête plus approfondie?",
14
- "Edit Message": "Éditer un message",
15
- "Editing Message": "Édite un message",
16
- "Emoji matching": "Correspondance Emoji",
17
- "Empty message...": "Message vide...",
18
- "Error loading": "Erreur lors du chargement",
19
- "Error loading channel list...": "Erreur lors du chargement de la liste de canaux...",
20
- "Error loading messages for this channel...": "Erreur lors du chargement des messages de ce canal...",
21
- "Error while loading, please reload/refresh": "Erreur lors du chargement, veuillez recharger/rafraîchir",
22
- "File type not supported": "Le type de fichier n'est pas pris en charge",
23
- "Flag": "Signaler",
24
- "Flag Message": "Signaler le message",
25
- "Flag action failed either due to a network issue or the message is already flagged": "L'action de signalisation a échoué en raison d'un problème de réseau ou le message est déjà signalé.",
26
- "Instant Commands": "Commandes Instantanées",
27
- "Links are disabled": "Links are disabled",
28
- "Loading channels...": "Chargement des canaux...",
29
- "Loading messages...": "Chargement des messages...",
30
- "Loading...": "Chargement...",
31
- "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.",
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": "Réactions aux messages",
33
- "Message deleted": "Message supprimé",
34
- "Message flagged": "Message signalé",
35
- "Mute User": "Utilisateur muet",
36
- "Not supported": "Non pris en charge",
37
- "Nothing yet...": "Aucun message...",
38
- "Ok": "Ok",
33
+ "Message deleted": "",
34
+ "Message flagged": "",
35
+ "Mute User": "",
36
+ "Not supported": "",
37
+ "Nothing yet...": "",
38
+ "Ok": "",
39
39
  "Only visible to you": "Seulement visible par vous",
40
40
  "Photo": "Photo",
41
41
  "Photos and Videos": "Photos et vidéos",
42
- "Pin to Conversation": "Épingler à la conversation",
42
+ "Pin to Conversation": "",
43
43
  "Pinned by": "Épinglé par",
44
44
  "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.",
45
- "Please select a channel first": "Veuillez d'abord selectionnez un canal",
46
- "Reconnecting...": "Se Reconnecter...",
47
- "Reply": "Répondre",
48
- "Reply to Message": "Répondre au message",
49
- "Resend": "Renvoyer",
50
- "Search GIFs": "Rechercher des GIF",
45
+ "Please select a channel first": "",
46
+ "Reconnecting...": "",
47
+ "Reply": "",
48
+ "Reply to Message": "",
49
+ "Resend": "",
50
+ "Search GIFs": "",
51
51
  "Select More Photos": "Sélectionner plus de photos",
52
- "Send a message": "Envoyer un message",
53
- "Sending links is not allowed in this conversation": "Sending links is not allowed in this conversation",
54
- "Slow mode ON": "Mode lent activé",
55
- "The message has been reported to a moderator.": "Le message a été signalé à un modérateur.",
56
- "Thread Reply": "Réponse à la discussion",
57
- "Unblock User": "Débloquer Utilisateur",
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": "Utilisateur inconnu",
59
- "Unmute User": "Activer le son de Utilisateur",
60
- "Unpin from Conversation": "Décrocher de la conversation",
59
+ "Unmute User": "",
60
+ "Unpin from Conversation": "",
61
61
  "Unread Messages": "Messages non lus",
62
62
  "Video": "Vidéo",
63
- "You": "Toi",
64
- "You can't send messages in this channel": "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 }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
66
66
  "{{ index }} of {{ photoLength }}": "{{ index }} sur {{ photoLength }}",
67
67
  "{{ replyCount }} Replies": "{{ replyCount }} Réponses",
68
68
  "{{ replyCount }} Thread Replies": "{{replyCount}} Réponses à la discussion",
69
69
  "{{ user }} is typing": "{{ user }} est en train d'écrire",
70
- "🏙 Attachment...": "🏙 Pièce jointe..."
70
+ "🏙 Attachment...": ""
71
71
  }
@@ -2,70 +2,70 @@
2
2
  "1 Reply": "1 रिप्लाई",
3
3
  "1 Thread Reply": "1 धागा उत्तर",
4
4
  "Allow access to your Gallery": "अपनी गैलरी तक पहुँचने की अनुमति दें",
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.": "अधिकतम फ़ाइल आकार अपलोड सीमा पूरी हो गई। कृपया {{MAX_FILE_SIZE_TO_UPLOAD_IN_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": "संदेश प्रतिक्रियाएँ",
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": "केवल आपको दिखाई दे रहा है",
40
40
  "Photo": "तस्वीर",
41
41
  "Photos and Videos": "तस्वीरें और वीडियों",
42
- "Pin to Conversation": "बातचीत में पिन करें",
42
+ "Pin to Conversation": "",
43
43
  "Pinned by": "द्वारा पिन किया गया",
44
44
  "Please enable access to your photos and videos so you can share them.": "कृपया अपनी फ़ोटो और वीडियो तक पहुंच सक्षम करें ताकि आप उन्हें साझा कर सकें।",
45
- "Please select a channel first": "कृपया पहले एक चैनल चुनें",
46
- "Reconnecting...": "पुनः कनेक्ट हो...",
47
- "Reply": "मैसेज को रिप्लाई करे",
48
- "Reply to Message": "संदेश का जवाब दें",
49
- "Resend": "पुन: भेजें",
50
- "Search GIFs": "GIF खोजें",
45
+ "Please select a channel first": "",
46
+ "Reconnecting...": "",
47
+ "Reply": "",
48
+ "Reply to Message": "",
49
+ "Resend": "",
50
+ "Search GIFs": "",
51
51
  "Select More Photos": "अधिक फ़ोटो चुनें",
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": "अज्ञात उपयोगकर्ता",
59
- "Unmute User": "उपयोगकर्ता को अनम्यूट करें",
60
- "Unpin from Conversation": "बातचीत से अनपिन करें",
59
+ "Unmute User": "",
60
+ "Unpin from Conversation": "",
61
61
  "Unread Messages": "अपठित संदेश",
62
62
  "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 }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
66
66
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
67
67
  "{{ replyCount }} Replies": "{{ replyCount }} रिप्लाई",
68
68
  "{{ replyCount }} Thread Replies": "{{ replyCount }}} थ्रेड उत्तर",
69
69
  "{{ user }} is typing": "{{ user }} टाइप कर रहा है",
70
- "🏙 Attachment...": "🏙 अटैचमेंट..."
70
+ "🏙 Attachment...": ""
71
71
  }