stream-chat-react-native-core 5.21.0-beta.2 → 5.21.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.
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +34 -17
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +17 -13
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -0
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +22 -42
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageError.js +50 -0
- package/lib/commonjs/components/Message/MessageSimple/MessageError.js.map +1 -0
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -2
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/i18n/en.json +2 -1
- package/lib/commonjs/i18n/fr.json +36 -35
- package/lib/commonjs/i18n/he.json +1 -0
- package/lib/commonjs/i18n/hi.json +36 -35
- package/lib/commonjs/i18n/it.json +36 -35
- package/lib/commonjs/i18n/ja.json +1 -0
- package/lib/commonjs/i18n/ko.json +1 -0
- package/lib/commonjs/i18n/nl.json +36 -35
- package/lib/commonjs/i18n/ru.json +36 -35
- package/lib/commonjs/i18n/tr.json +36 -35
- package/lib/commonjs/native.js +6 -1
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +34 -17
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +17 -13
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -0
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +22 -42
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageError.js +50 -0
- package/lib/module/components/Message/MessageSimple/MessageError.js.map +1 -0
- package/lib/module/components/index.js +11 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js +2 -2
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/i18n/en.json +2 -1
- package/lib/module/i18n/fr.json +36 -35
- package/lib/module/i18n/he.json +1 -0
- package/lib/module/i18n/hi.json +36 -35
- package/lib/module/i18n/it.json +36 -35
- package/lib/module/i18n/ja.json +1 -0
- package/lib/module/i18n/ko.json +1 -0
- package/lib/module/i18n/nl.json +36 -35
- package/lib/module/i18n/ru.json +36 -35
- package/lib/module/i18n/tr.json +36 -35
- package/lib/module/native.js +6 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts +6 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +5 -0
- package/lib/typescript/i18n/en.json +2 -1
- package/lib/typescript/i18n/fr.json +36 -35
- package/lib/typescript/i18n/he.json +1 -0
- package/lib/typescript/i18n/hi.json +36 -35
- package/lib/typescript/i18n/it.json +36 -35
- package/lib/typescript/i18n/ja.json +1 -0
- package/lib/typescript/i18n/ko.json +1 -0
- package/lib/typescript/i18n/nl.json +36 -35
- package/lib/typescript/i18n/ru.json +36 -35
- package/lib/typescript/i18n/tr.json +36 -35
- package/lib/typescript/native.d.ts +4 -0
- package/lib/typescript/utils/Streami18n.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +21 -2
- package/src/components/Channel/Channel.tsx +4 -0
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +2 -0
- package/src/components/Message/MessageSimple/MessageContent.tsx +6 -11
- package/src/components/Message/MessageSimple/MessageError.tsx +28 -0
- package/src/components/index.ts +1 -0
- package/src/contexts/messagesContext/MessagesContext.tsx +5 -0
- package/src/i18n/en.json +2 -1
- package/src/i18n/fr.json +36 -35
- package/src/i18n/he.json +1 -0
- package/src/i18n/hi.json +36 -35
- package/src/i18n/it.json +36 -35
- package/src/i18n/ja.json +1 -0
- package/src/i18n/ko.json +1 -0
- package/src/i18n/nl.json +36 -35
- package/src/i18n/ru.json +36 -35
- package/src/i18n/tr.json +36 -35
- package/src/native.ts +9 -0
- package/src/version.json +1 -1
package/lib/module/native.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","fail","Error","compressImage","exports","deleteFile","getLocalAssetUri","oniOS14GalleryLibrarySelectionChange","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","setClipboardString","shareImage","takePhoto","triggerHaptic","SDK","Sound","Video","registerNativeHandlers","handlers","undefined","isVideoPackageAvailable","isAudioPackageAvailable","Player","initializeSound"],"sources":["native.ts"],"sourcesContent":["import type React from 'react';\nimport { FlatList as DefaultFlatList, StyleProp, ViewStyle } from 'react-native';\n\nimport type { NetInfoSubscription } from '@react-native-community/netinfo';\n\nimport type { Asset, File } from './types/types';\n\nconst fail = () => {\n throw Error(\n 'Native handler was not registered, you should import stream-chat-expo or stream-chat-react-native',\n );\n};\n\ntype CompressImage = ({\n compressImageQuality,\n height,\n uri,\n width,\n}: {\n compressImageQuality: number;\n height: number;\n uri: string;\n width: number;\n}) => Promise<string> | never;\nexport let compressImage: CompressImage = fail;\n\ntype DeleteFile = ({ uri }: { uri: string }) => Promise<boolean> | never;\nexport let deleteFile: DeleteFile = fail;\n\ntype GetLocalAssetUri = (uriOrAssetId: string) => Promise<string | undefined> | never;\nexport let getLocalAssetUri: GetLocalAssetUri = fail;\n\ntype OniOS14LibrarySelectionChange = (callback: () => void) => { unsubscribe: () => void };\nexport let oniOS14GalleryLibrarySelectionChange: OniOS14LibrarySelectionChange = fail;\n\ntype GetPhotos = ({ after, first }: { first: number; after?: string }) =>\n | Promise<{\n assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;\n endCursor: string;\n hasNextPage: boolean;\n }>\n | never;\nexport let getPhotos: GetPhotos = fail;\n\ntype NetInfo = {\n addEventListener: (listener: (isConnected: boolean) => void) => NetInfoSubscription | never;\n fetch: (requestedInterface?: string | undefined) => Promise<boolean> | never;\n};\n\nexport let FlatList = DefaultFlatList;\n\nexport let NetInfo: NetInfo = {\n addEventListener: fail,\n fetch: fail,\n};\n\ntype PickDocument = ({ maxNumberOfFiles }: { maxNumberOfFiles?: number }) =>\n | Promise<{\n cancelled: boolean;\n assets?: File[];\n }>\n | never;\nexport let pickDocument: PickDocument = fail;\n\ntype SaveFileOptions = {\n fileName: string;\n fromUrl: string;\n};\ntype SaveFile = (options: SaveFileOptions) => Promise<string> | never;\nexport let saveFile: SaveFile = fail;\n\ntype SetClipboardString = (text: string) => Promise<void> | never;\nexport let setClipboardString: SetClipboardString = fail;\n\ntype ShareOptions = {\n type?: string;\n url?: string;\n};\ntype ShareImage = (options: ShareOptions) => Promise<boolean> | never;\nexport let shareImage: ShareImage = fail;\n\ntype Photo =\n | (Omit<Asset, 'source'> & {\n cancelled: false;\n source: 'camera';\n })\n | { cancelled: true };\ntype TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;\nexport let takePhoto: TakePhoto = fail;\n\ntype HapticFeedbackMethod =\n | 'impactHeavy'\n | 'impactLight'\n | 'impactMedium'\n | 'notificationError'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'selection';\ntype TriggerHaptic = (method: HapticFeedbackMethod) => void | never;\nexport let triggerHaptic: TriggerHaptic = fail;\n\nexport type PlaybackStatus = {\n didJustFinish: boolean;\n durationMillis: number;\n error: string;\n isBuffering: boolean;\n isLoaded: boolean;\n isLooping: boolean;\n isPlaying: boolean;\n positionMillis: number;\n};\n\nexport type AVPlaybackStatusToSet = {\n isLooping: boolean;\n isMuted: boolean;\n positionMillis: number;\n progressUpdateIntervalMillis: number;\n rate: number;\n shouldCorrectPitch: boolean;\n shouldPlay: boolean;\n volume: number;\n};\n\nexport let SDK: string;\n\nexport type SoundOptions = {\n basePathOrCallback?: string;\n callback?: () => void;\n filenameOrFile?: string;\n initialStatus?: Partial<AVPlaybackStatusToSet>;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n source?: { uri: string };\n};\n\nexport type SoundReturnType = {\n paused: boolean;\n testID: string;\n getDuration?: () => number;\n isPlaying?: () => boolean;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n pauseAsync?: () => void;\n play?: () => void;\n playAsync?: () => void;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (millis: number) => void;\n soundRef?: React.RefObject<SoundReturnType>;\n stopAsync?: () => void;\n style?: StyleProp<ViewStyle>;\n unloadAsync?: () => void;\n uri?: string;\n};\n\nexport type SoundType = {\n initializeSound: (\n source?: { uri: string },\n initialStatus?: Partial<AVPlaybackStatusToSet>,\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void,\n ) => Promise<SoundReturnType | null>;\n Player: React.ComponentType<SoundReturnType> | null;\n};\n\nexport let Sound: SoundType;\n\nexport type VideoProgressData = {\n currentTime: number;\n seekableDuration: number;\n playableDuration?: number;\n};\n\nexport type VideoPayloadData = {\n duration: number;\n audioTracks?: { index: number; language: string; title: string; type: string }[];\n currentPosition?: number;\n naturalSize?: { height: number; orientation: 'portrait' | 'landscape'; width: number };\n textTracks?: { index: number; language: string; title: string; type: string }[];\n videoTracks?: {\n bitrate: number;\n codecs: string;\n height: number;\n trackId: number;\n width: number;\n }[];\n};\n\nexport type VideoType = {\n paused: boolean;\n testID: string;\n uri: string;\n videoRef: React.RefObject<VideoType>;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n repeat?: boolean;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (position: number) => void;\n style?: StyleProp<ViewStyle>;\n};\n\nexport let Video: React.ComponentType<VideoType>;\n\ntype Handlers = {\n compressImage?: CompressImage;\n deleteFile?: DeleteFile;\n FlatList?: typeof DefaultFlatList;\n getLocalAssetUri?: GetLocalAssetUri;\n getPhotos?: GetPhotos;\n NetInfo?: NetInfo;\n oniOS14GalleryLibrarySelectionChange?: OniOS14LibrarySelectionChange;\n pickDocument?: PickDocument;\n saveFile?: SaveFile;\n SDK?: string;\n setClipboardString?: SetClipboardString;\n shareImage?: ShareImage;\n Sound?: SoundType;\n takePhoto?: TakePhoto;\n triggerHaptic?: TriggerHaptic;\n Video?: React.ComponentType<VideoType>;\n};\n\nexport const registerNativeHandlers = (handlers: Handlers) => {\n if (handlers.compressImage) {\n compressImage = handlers.compressImage;\n }\n\n if (handlers.deleteFile) {\n deleteFile = handlers.deleteFile;\n }\n\n if (handlers.FlatList) {\n FlatList = handlers.FlatList;\n }\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.getLocalAssetUri) {\n getLocalAssetUri = handlers.getLocalAssetUri;\n }\n\n if (handlers.getPhotos) {\n getPhotos = handlers.getPhotos;\n }\n\n if (handlers.oniOS14GalleryLibrarySelectionChange) {\n oniOS14GalleryLibrarySelectionChange = handlers.oniOS14GalleryLibrarySelectionChange;\n }\n\n if (handlers.pickDocument !== undefined) {\n pickDocument = handlers.pickDocument;\n }\n\n if (handlers.saveFile) {\n saveFile = handlers.saveFile;\n }\n\n if (handlers.SDK) {\n SDK = handlers.SDK;\n }\n\n if (handlers.shareImage !== undefined) {\n shareImage = handlers.shareImage;\n }\n\n if (handlers.Sound) {\n Sound = handlers.Sound;\n }\n\n if (handlers.takePhoto) {\n takePhoto = handlers.takePhoto;\n }\n\n if (handlers.triggerHaptic) {\n triggerHaptic = handlers.triggerHaptic;\n }\n\n if (handlers.Video) {\n Video = handlers.Video;\n }\n\n if (handlers.setClipboardString !== undefined) {\n setClipboardString = handlers.setClipboardString;\n }\n};\n\nexport const isVideoPackageAvailable = () => !!Video;\nexport const isAudioPackageAvailable = () => !!Sound.Player || !!Sound.initializeSound;\n"],"mappings":";;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAMC,IAAI,GAAG,SAAPA,IAAIA,CAAA,EAAS;EACjB,MAAMC,KAAK,CACT,mGACF,CAAC;AACH,CAAC;AAaM,IAAIC,aAA4B,GAAGF,IAAI;AAACG,OAAA,CAAAD,aAAA,GAAAA,aAAA;AAGxC,IAAIE,UAAsB,GAAGJ,IAAI;AAACG,OAAA,CAAAC,UAAA,GAAAA,UAAA;AAGlC,IAAIC,gBAAkC,GAAGL,IAAI;AAACG,OAAA,CAAAE,gBAAA,GAAAA,gBAAA;AAG9C,IAAIC,oCAAmE,GAAGN,IAAI;AAACG,OAAA,CAAAG,oCAAA,GAAAA,oCAAA;AAS/E,IAAIC,SAAoB,GAAGP,IAAI;AAACG,OAAA,CAAAI,SAAA,GAAAA,SAAA;AAOhC,IAAIC,QAAQ,GAAGC,qBAAe;AAACN,OAAA,CAAAK,QAAA,GAAAA,QAAA;AA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Aa;EACxC;EAEA,IAAIK,QAAQ,CAACF,KAAK,EAAE;IAClBlB,OAAA,CAAAkB,KAAA,GAAAA,KAAK,GAAGE,QAAQ,CAACF,KAAK;EACxB;EAEA,IAAIE,QAAQ,CAACR,kBAAkB,KAAKS,SAAS,EAAE;IAC7CrB,OAAA,CAAAY,kBAAA,GAAAA,kBAAkB,GAAGQ,QAAQ,CAACR,kBAAkB;EAClD;AACF,CAAC;AAACZ,OAAA,CAAAmB,sBAAA,GAAAA,sBAAA;AAEK,IAAMG,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA;EAAA,OAAS,CAAC,CAACJ,KAAK;AAAA;AAAClB,OAAA,CAAAsB,uBAAA,GAAAA,uBAAA;AAC9C,IAAMC,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA;EAAA,OAAS,CAAC,CAACN,KAAK,CAACO,MAAM,IAAI,CAAC,CAACP,KAAK,CAACQ,eAAe;AAAA;AAACzB,OAAA,CAAAuB,uBAAA,GAAAA,uBAAA"}
|
|
1
|
+
{"version":3,"names":["_reactNative","require","fail","Error","compressImage","exports","deleteFile","getLocalAssetUri","oniOS14GalleryLibrarySelectionChange","iOS14RefreshGallerySelection","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","setClipboardString","shareImage","takePhoto","triggerHaptic","SDK","Sound","Video","registerNativeHandlers","handlers","undefined","isVideoPackageAvailable","isAudioPackageAvailable","Player","initializeSound"],"sources":["native.ts"],"sourcesContent":["import type React from 'react';\nimport { FlatList as DefaultFlatList, StyleProp, ViewStyle } from 'react-native';\n\nimport type { NetInfoSubscription } from '@react-native-community/netinfo';\n\nimport type { Asset, File } from './types/types';\n\nconst fail = () => {\n throw Error(\n 'Native handler was not registered, you should import stream-chat-expo or stream-chat-react-native',\n );\n};\n\ntype CompressImage = ({\n compressImageQuality,\n height,\n uri,\n width,\n}: {\n compressImageQuality: number;\n height: number;\n uri: string;\n width: number;\n}) => Promise<string> | never;\nexport let compressImage: CompressImage = fail;\n\ntype DeleteFile = ({ uri }: { uri: string }) => Promise<boolean> | never;\nexport let deleteFile: DeleteFile = fail;\n\ntype GetLocalAssetUri = (uriOrAssetId: string) => Promise<string | undefined> | never;\nexport let getLocalAssetUri: GetLocalAssetUri = fail;\n\ntype OniOS14LibrarySelectionChange = (callback: () => void) => { unsubscribe: () => void };\nexport let oniOS14GalleryLibrarySelectionChange: OniOS14LibrarySelectionChange = fail;\n\ntype iOS14RefreshGallerySelection = () => Promise<void>;\nexport let iOS14RefreshGallerySelection: iOS14RefreshGallerySelection = fail;\n\ntype GetPhotos = ({ after, first }: { first: number; after?: string }) =>\n | Promise<{\n assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;\n endCursor: string;\n hasNextPage: boolean;\n iOSLimited: boolean;\n }>\n | never;\nexport let getPhotos: GetPhotos = fail;\n\ntype NetInfo = {\n addEventListener: (listener: (isConnected: boolean) => void) => NetInfoSubscription | never;\n fetch: (requestedInterface?: string | undefined) => Promise<boolean> | never;\n};\n\nexport let FlatList = DefaultFlatList;\n\nexport let NetInfo: NetInfo = {\n addEventListener: fail,\n fetch: fail,\n};\n\ntype PickDocument = ({ maxNumberOfFiles }: { maxNumberOfFiles?: number }) =>\n | Promise<{\n cancelled: boolean;\n assets?: File[];\n }>\n | never;\nexport let pickDocument: PickDocument = fail;\n\ntype SaveFileOptions = {\n fileName: string;\n fromUrl: string;\n};\ntype SaveFile = (options: SaveFileOptions) => Promise<string> | never;\nexport let saveFile: SaveFile = fail;\n\ntype SetClipboardString = (text: string) => Promise<void> | never;\nexport let setClipboardString: SetClipboardString = fail;\n\ntype ShareOptions = {\n type?: string;\n url?: string;\n};\ntype ShareImage = (options: ShareOptions) => Promise<boolean> | never;\nexport let shareImage: ShareImage = fail;\n\ntype Photo =\n | (Omit<Asset, 'source'> & {\n cancelled: false;\n source: 'camera';\n })\n | { cancelled: true };\ntype TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;\nexport let takePhoto: TakePhoto = fail;\n\ntype HapticFeedbackMethod =\n | 'impactHeavy'\n | 'impactLight'\n | 'impactMedium'\n | 'notificationError'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'selection';\ntype TriggerHaptic = (method: HapticFeedbackMethod) => void | never;\nexport let triggerHaptic: TriggerHaptic = fail;\n\nexport type PlaybackStatus = {\n didJustFinish: boolean;\n durationMillis: number;\n error: string;\n isBuffering: boolean;\n isLoaded: boolean;\n isLooping: boolean;\n isPlaying: boolean;\n positionMillis: number;\n};\n\nexport type AVPlaybackStatusToSet = {\n isLooping: boolean;\n isMuted: boolean;\n positionMillis: number;\n progressUpdateIntervalMillis: number;\n rate: number;\n shouldCorrectPitch: boolean;\n shouldPlay: boolean;\n volume: number;\n};\n\nexport let SDK: string;\n\nexport type SoundOptions = {\n basePathOrCallback?: string;\n callback?: () => void;\n filenameOrFile?: string;\n initialStatus?: Partial<AVPlaybackStatusToSet>;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n source?: { uri: string };\n};\n\nexport type SoundReturnType = {\n paused: boolean;\n testID: string;\n getDuration?: () => number;\n isPlaying?: () => boolean;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n pauseAsync?: () => void;\n play?: () => void;\n playAsync?: () => void;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (millis: number) => void;\n soundRef?: React.RefObject<SoundReturnType>;\n stopAsync?: () => void;\n style?: StyleProp<ViewStyle>;\n unloadAsync?: () => void;\n uri?: string;\n};\n\nexport type SoundType = {\n initializeSound: (\n source?: { uri: string },\n initialStatus?: Partial<AVPlaybackStatusToSet>,\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void,\n ) => Promise<SoundReturnType | null>;\n Player: React.ComponentType<SoundReturnType> | null;\n};\n\nexport let Sound: SoundType;\n\nexport type VideoProgressData = {\n currentTime: number;\n seekableDuration: number;\n playableDuration?: number;\n};\n\nexport type VideoPayloadData = {\n duration: number;\n audioTracks?: { index: number; language: string; title: string; type: string }[];\n currentPosition?: number;\n naturalSize?: { height: number; orientation: 'portrait' | 'landscape'; width: number };\n textTracks?: { index: number; language: string; title: string; type: string }[];\n videoTracks?: {\n bitrate: number;\n codecs: string;\n height: number;\n trackId: number;\n width: number;\n }[];\n};\n\nexport type VideoType = {\n paused: boolean;\n testID: string;\n uri: string;\n videoRef: React.RefObject<VideoType>;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n repeat?: boolean;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (position: number) => void;\n style?: StyleProp<ViewStyle>;\n};\n\nexport let Video: React.ComponentType<VideoType>;\n\ntype Handlers = {\n iOS14RefreshGallerySelection: iOS14RefreshGallerySelection;\n compressImage?: CompressImage;\n deleteFile?: DeleteFile;\n FlatList?: typeof DefaultFlatList;\n getLocalAssetUri?: GetLocalAssetUri;\n getPhotos?: GetPhotos;\n NetInfo?: NetInfo;\n oniOS14GalleryLibrarySelectionChange?: OniOS14LibrarySelectionChange;\n pickDocument?: PickDocument;\n saveFile?: SaveFile;\n SDK?: string;\n setClipboardString?: SetClipboardString;\n shareImage?: ShareImage;\n Sound?: SoundType;\n takePhoto?: TakePhoto;\n triggerHaptic?: TriggerHaptic;\n Video?: React.ComponentType<VideoType>;\n};\n\nexport const registerNativeHandlers = (handlers: Handlers) => {\n if (handlers.compressImage) {\n compressImage = handlers.compressImage;\n }\n\n if (handlers.deleteFile) {\n deleteFile = handlers.deleteFile;\n }\n\n if (handlers.FlatList) {\n FlatList = handlers.FlatList;\n }\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.getLocalAssetUri) {\n getLocalAssetUri = handlers.getLocalAssetUri;\n }\n\n if (handlers.getPhotos) {\n getPhotos = handlers.getPhotos;\n }\n\n if (handlers.iOS14RefreshGallerySelection) {\n iOS14RefreshGallerySelection = handlers.iOS14RefreshGallerySelection;\n }\n\n if (handlers.oniOS14GalleryLibrarySelectionChange) {\n oniOS14GalleryLibrarySelectionChange = handlers.oniOS14GalleryLibrarySelectionChange;\n }\n\n if (handlers.pickDocument !== undefined) {\n pickDocument = handlers.pickDocument;\n }\n\n if (handlers.saveFile) {\n saveFile = handlers.saveFile;\n }\n\n if (handlers.SDK) {\n SDK = handlers.SDK;\n }\n\n if (handlers.shareImage !== undefined) {\n shareImage = handlers.shareImage;\n }\n\n if (handlers.Sound) {\n Sound = handlers.Sound;\n }\n\n if (handlers.takePhoto) {\n takePhoto = handlers.takePhoto;\n }\n\n if (handlers.triggerHaptic) {\n triggerHaptic = handlers.triggerHaptic;\n }\n\n if (handlers.Video) {\n Video = handlers.Video;\n }\n\n if (handlers.setClipboardString !== undefined) {\n setClipboardString = handlers.setClipboardString;\n }\n};\n\nexport const isVideoPackageAvailable = () => !!Video;\nexport const isAudioPackageAvailable = () => !!Sound.Player || !!Sound.initializeSound;\n"],"mappings":";;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAMC,IAAI,GAAG,SAAPA,IAAIA,CAAA,EAAS;EACjB,MAAMC,KAAK,CACT,mGACF,CAAC;AACH,CAAC;AAaM,IAAIC,aAA4B,GAAGF,IAAI;AAACG,OAAA,CAAAD,aAAA,GAAAA,aAAA;AAGxC,IAAIE,UAAsB,GAAGJ,IAAI;AAACG,OAAA,CAAAC,UAAA,GAAAA,UAAA;AAGlC,IAAIC,gBAAkC,GAAGL,IAAI;AAACG,OAAA,CAAAE,gBAAA,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A,IAAII,QAAQ,CAACP,UAAU,KAAKQ,SAAS,EAAE;IACrCtB,OAAA,CAAAc,UAAA,GAAAA,UAAU,GAAGO,QAAQ,CAACP,UAAU;EAClC;EAEA,IAAIO,QAAQ,CAACH,KAAK,EAAE;IAClBlB,OAAA,CAAAkB,KAAA,GAAAA,KAAK,GAAGG,QAAQ,CAACH,KAAK;EACxB;EAEA,IAAIG,QAAQ,CAACN,SAAS,EAAE;IACtBf,OAAA,CAAAe,SAAA,GAAAA,SAAS,GAAGM,QAAQ,CAACN,SAAS;EAChC;EAEA,IAAIM,QAAQ,CAACL,aAAa,EAAE;IAC1BhB,OAAA,CAAAgB,aAAA,GAAAA,aAAa,GAAGK,QAAQ,CAACL,aAAa;EACxC;EAEA,IAAIK,QAAQ,CAACF,KAAK,EAAE;IAClBnB,OAAA,CAAAmB,KAAA,GAAAA,KAAK,GAAGE,QAAQ,CAACF,KAAK;EACxB;EAEA,IAAIE,QAAQ,CAACR,kBAAkB,KAAKS,SAAS,EAAE;IAC7CtB,OAAA,CAAAa,kBAAA,GAAAA,kBAAkB,GAAGQ,QAAQ,CAACR,kBAAkB;EAClD;AACF,CAAC;AAACb,OAAA,CAAAoB,sBAAA,GAAAA,sBAAA;AAEK,IAAMG,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA;EAAA,OAAS,CAAC,CAACJ,KAAK;AAAA;AAACnB,OAAA,CAAAuB,uBAAA,GAAAA,uBAAA;AAC9C,IAAMC,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA;EAAA,OAAS,CAAC,CAACN,KAAK,CAACO,MAAM,IAAI,CAAC,CAACP,KAAK,CAACQ,eAAe;AAAA;AAAC1B,OAAA,CAAAwB,uBAAA,GAAAA,uBAAA"}
|
package/lib/module/version.json
CHANGED
|
@@ -15,7 +15,7 @@ import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
|
15
15
|
import { ReactionData } from '../../utils/utils';
|
|
16
16
|
import { LoadingErrorProps } from '../Indicators/LoadingErrorIndicator';
|
|
17
17
|
export declare const reactionData: ReactionData[];
|
|
18
|
-
export declare type ChannelPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'channel'> & Partial<Pick<ChannelContextValue<StreamChatGenerics>, 'EmptyStateIndicator' | 'enableMessageGroupingByUser' | 'enforceUniqueReaction' | 'giphyEnabled' | 'hideStickyDateHeader' | 'hideDateSeparators' | 'LoadingIndicator' | 'maxTimeBetweenGroupedMessages' | 'NetworkDownIndicator' | 'StickyHeader'>> & Pick<ChatContextValue<StreamChatGenerics>, 'client' | 'enableOfflineSupport'> & Partial<Omit<InputMessageInputContextValue<StreamChatGenerics>, 'quotedMessage' | 'editing' | 'clearEditingState' | 'clearQuotedMessageState' | 'sendMessage'>> & Partial<Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList'>> & Pick<TranslationContextValue, 't'> & Partial<Pick<PaginatedMessageListContextValue<StreamChatGenerics>, 'messages' | 'loadingMore' | 'loadingMoreRecent'>> & UseChannelStateValue<StreamChatGenerics> & Partial<Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'Attachment' | 'AttachmentActions' | 'AudioAttachment' | 'Card' | 'CardCover' | 'CardFooter' | 'CardHeader' | 'DateHeader' | 'deletedMessagesVisibilityType' | 'disableTypingIndicator' | 'dismissKeyboardOnMessageTouch' | 'FileAttachment' | 'FileAttachmentIcon' | 'FileAttachmentGroup' | 'FlatList' | 'forceAlignMessages' | 'formatDate' | 'Gallery' | 'getMessagesGroupStyles' | 'Giphy' | 'giphyVersion' | 'handleBlock' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleMute' | 'handlePinMessage' | 'handleReaction' | 'handleQuotedReply' | 'handleRetry' | 'handleThreadReply' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'isAttachmentEqual' | 'legacyImageViewerSwipeBehaviour' | 'ImageLoadingFailedIndicator' | 'ImageLoadingIndicator' | 'markdownRules' | 'Message' | 'messageActions' | 'MessageAvatar' | 'MessageContent' | 'messageContentOrder' | 'MessageDeleted' | 'MessageFooter' | 'MessageHeader' | 'MessageList' | 'MessagePinnedHeader' | 'MessageReplies' | 'MessageRepliesAvatars' | 'MessageSimple' | 'MessageStatus' | 'MessageSystem' | 'MessageText' | 'myMessageTheme' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'OverlayReactionList' | 'ReactionList' | 'Reply' | 'ScrollToBottomButton' | 'selectReaction' | 'supportedReactions' | 'TypingIndicator' | 'TypingIndicatorContainer' | 'UrlPreview' | 'VideoThumbnail'>> & Partial<Pick<ThreadContextValue<StreamChatGenerics>, 'allowThreadMessagesInChannel' | 'thread'>> & {
|
|
18
|
+
export declare type ChannelPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'channel'> & Partial<Pick<ChannelContextValue<StreamChatGenerics>, 'EmptyStateIndicator' | 'enableMessageGroupingByUser' | 'enforceUniqueReaction' | 'giphyEnabled' | 'hideStickyDateHeader' | 'hideDateSeparators' | 'LoadingIndicator' | 'maxTimeBetweenGroupedMessages' | 'NetworkDownIndicator' | 'StickyHeader'>> & Pick<ChatContextValue<StreamChatGenerics>, 'client' | 'enableOfflineSupport'> & Partial<Omit<InputMessageInputContextValue<StreamChatGenerics>, 'quotedMessage' | 'editing' | 'clearEditingState' | 'clearQuotedMessageState' | 'sendMessage'>> & Partial<Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList'>> & Pick<TranslationContextValue, 't'> & Partial<Pick<PaginatedMessageListContextValue<StreamChatGenerics>, 'messages' | 'loadingMore' | 'loadingMoreRecent'>> & UseChannelStateValue<StreamChatGenerics> & Partial<Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'Attachment' | 'AttachmentActions' | 'AudioAttachment' | 'Card' | 'CardCover' | 'CardFooter' | 'CardHeader' | 'DateHeader' | 'deletedMessagesVisibilityType' | 'disableTypingIndicator' | 'dismissKeyboardOnMessageTouch' | 'FileAttachment' | 'FileAttachmentIcon' | 'FileAttachmentGroup' | 'FlatList' | 'forceAlignMessages' | 'formatDate' | 'Gallery' | 'getMessagesGroupStyles' | 'Giphy' | 'giphyVersion' | 'handleBlock' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleMute' | 'handlePinMessage' | 'handleReaction' | 'handleQuotedReply' | 'handleRetry' | 'handleThreadReply' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'isAttachmentEqual' | 'legacyImageViewerSwipeBehaviour' | 'ImageLoadingFailedIndicator' | 'ImageLoadingIndicator' | 'markdownRules' | 'Message' | 'messageActions' | 'MessageAvatar' | 'MessageContent' | 'messageContentOrder' | 'MessageDeleted' | 'MessageError' | 'MessageFooter' | 'MessageHeader' | 'MessageList' | 'MessagePinnedHeader' | 'MessageReplies' | 'MessageRepliesAvatars' | 'MessageSimple' | 'MessageStatus' | 'MessageSystem' | 'MessageText' | 'myMessageTheme' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'OverlayReactionList' | 'ReactionList' | 'Reply' | 'ScrollToBottomButton' | 'selectReaction' | 'supportedReactions' | 'TypingIndicator' | 'TypingIndicatorContainer' | 'UrlPreview' | 'VideoThumbnail'>> & Partial<Pick<ThreadContextValue<StreamChatGenerics>, 'allowThreadMessagesInChannel' | 'thread'>> & {
|
|
19
19
|
shouldSyncChannel: boolean;
|
|
20
20
|
/**
|
|
21
21
|
* Additional props passed to keyboard avoiding view
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
2
2
|
import type { DefaultStreamChatGenerics } from '../../../types/types';
|
|
3
|
-
export declare const useCreateMessagesContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ additionalTouchableProps, Attachment, AttachmentActions, AudioAttachment, Card, CardCover, CardFooter, CardHeader, channelId, DateHeader, deletedMessagesVisibilityType, deleteMessage, deleteReaction, disableTypingIndicator, dismissKeyboardOnMessageTouch, enableMessageGroupingByUser, FileAttachment, FileAttachmentGroup, FileAttachmentIcon, FlatList, forceAlignMessages, formatDate, Gallery, getMessagesGroupStyles, Giphy, giphyVersion, handleBlock, handleCopy, handleDelete, handleEdit, handleFlag, handleMute, handlePinMessage, handleQuotedReply, handleReaction, handleRetry, handleThreadReply, ImageLoadingFailedIndicator, ImageLoadingIndicator, initialScrollToFirstUnreadMessage, InlineDateSeparator, InlineUnreadIndicator, isAttachmentEqual, legacyImageViewerSwipeBehaviour, markdownRules, Message, messageActions, MessageAvatar, MessageContent, messageContentOrder, MessageDeleted, MessageFooter, MessageHeader, MessageList, MessagePinnedHeader, MessageReplies, MessageRepliesAvatars, MessageSimple, MessageStatus, MessageSystem, MessageText, myMessageTheme, onLongPressMessage, onPressInMessage, onPressMessage, OverlayReactionList, ReactionList, removeMessage, Reply, retrySendMessage, ScrollToBottomButton, selectReaction, sendReaction, setEditingState, setQuotedMessageState, supportedReactions, targetedMessage, TypingIndicator, TypingIndicatorContainer, updateMessage, UrlPreview, VideoThumbnail, }: MessagesContextValue<StreamChatGenerics> & {
|
|
3
|
+
export declare const useCreateMessagesContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ additionalTouchableProps, Attachment, AttachmentActions, AudioAttachment, Card, CardCover, CardFooter, CardHeader, channelId, DateHeader, deletedMessagesVisibilityType, deleteMessage, deleteReaction, disableTypingIndicator, dismissKeyboardOnMessageTouch, enableMessageGroupingByUser, FileAttachment, FileAttachmentGroup, FileAttachmentIcon, FlatList, forceAlignMessages, formatDate, Gallery, getMessagesGroupStyles, Giphy, giphyVersion, handleBlock, handleCopy, handleDelete, handleEdit, handleFlag, handleMute, handlePinMessage, handleQuotedReply, handleReaction, handleRetry, handleThreadReply, ImageLoadingFailedIndicator, ImageLoadingIndicator, initialScrollToFirstUnreadMessage, InlineDateSeparator, InlineUnreadIndicator, isAttachmentEqual, legacyImageViewerSwipeBehaviour, markdownRules, Message, messageActions, MessageAvatar, MessageContent, messageContentOrder, MessageDeleted, MessageError, MessageFooter, MessageHeader, MessageList, MessagePinnedHeader, MessageReplies, MessageRepliesAvatars, MessageSimple, MessageStatus, MessageSystem, MessageText, myMessageTheme, onLongPressMessage, onPressInMessage, onPressMessage, OverlayReactionList, ReactionList, removeMessage, Reply, retrySendMessage, ScrollToBottomButton, selectReaction, sendReaction, setEditingState, setQuotedMessageState, supportedReactions, targetedMessage, TypingIndicator, TypingIndicatorContainer, updateMessage, UrlPreview, VideoThumbnail, }: MessagesContextValue<StreamChatGenerics> & {
|
|
4
4
|
/**
|
|
5
5
|
* To ensure we allow re-render, when channel is changed
|
|
6
6
|
*/
|
|
@@ -3,7 +3,7 @@ import { MessageContextValue } from '../../../contexts/messageContext/MessageCon
|
|
|
3
3
|
import { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
4
4
|
import { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
|
|
5
5
|
import type { DefaultStreamChatGenerics } from '../../../types/types';
|
|
6
|
-
export declare type MessageContentPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'disabled' | 'goToMessage' | 'groupStyles' | 'hasReactions' | 'isMyMessage' | 'lastGroupMessage' | 'members' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'showMessageStatus' | 'threadList'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'Attachment' | 'FileAttachmentGroup' | 'formatDate' | 'Gallery' | 'isAttachmentEqual' | 'MessageFooter' | 'MessageHeader' | 'MessageDeleted' | 'MessageReplies' | 'MessageStatus' | 'onPressInMessage' | 'Reply'> & Pick<TranslationContextValue, 't' | 'tDateTimeParser'> & {
|
|
6
|
+
export declare type MessageContentPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'disabled' | 'goToMessage' | 'groupStyles' | 'hasReactions' | 'isMyMessage' | 'lastGroupMessage' | 'members' | 'message' | 'messageContentOrder' | 'onLongPress' | 'onlyEmojis' | 'onPress' | 'onPressIn' | 'otherAttachments' | 'preventPress' | 'showMessageStatus' | 'threadList'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'Attachment' | 'FileAttachmentGroup' | 'formatDate' | 'Gallery' | 'isAttachmentEqual' | 'MessageFooter' | 'MessageHeader' | 'MessageDeleted' | 'MessageError' | 'MessageReplies' | 'MessageStatus' | 'onPressInMessage' | 'Reply'> & Pick<TranslationContextValue, 't' | 'tDateTimeParser'> & {
|
|
7
7
|
setMessageContentWidth: React.Dispatch<React.SetStateAction<number>>;
|
|
8
8
|
};
|
|
9
9
|
export declare type MessageContentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<MessageContentPropsWithContext<StreamChatGenerics>, 'setMessageContentWidth'>> & Pick<MessageContentPropsWithContext<StreamChatGenerics>, 'setMessageContentWidth'>;
|
|
@@ -87,6 +87,7 @@ export * from './Message/Message';
|
|
|
87
87
|
export * from './Message/MessageSimple/MessageAvatar';
|
|
88
88
|
export * from './Message/MessageSimple/MessageContent';
|
|
89
89
|
export * from './Message/MessageSimple/MessageDeleted';
|
|
90
|
+
export * from './Message/MessageSimple/MessageError';
|
|
90
91
|
export * from './Message/MessageSimple/MessageFooter';
|
|
91
92
|
export * from './Message/MessageSimple/MessagePinnedHeader';
|
|
92
93
|
export * from './Message/MessageSimple/MessageReplies';
|
|
@@ -18,6 +18,7 @@ import type { MessageProps, MessageTouchableHandlerPayload } from '../../compone
|
|
|
18
18
|
import type { MessageAvatarProps } from '../../components/Message/MessageSimple/MessageAvatar';
|
|
19
19
|
import type { MessageContentProps } from '../../components/Message/MessageSimple/MessageContent';
|
|
20
20
|
import type { MessageDeletedProps } from '../../components/Message/MessageSimple/MessageDeleted';
|
|
21
|
+
import type { MessageErrorProps } from '../../components/Message/MessageSimple/MessageError';
|
|
21
22
|
import type { MessageFooterProps } from '../../components/Message/MessageSimple/MessageFooter';
|
|
22
23
|
import type { MessageRepliesProps } from '../../components/Message/MessageSimple/MessageReplies';
|
|
23
24
|
import type { MessageRepliesAvatarsProps } from '../../components/Message/MessageSimple/MessageRepliesAvatars';
|
|
@@ -145,6 +146,10 @@ export declare type MessagesContextValue<StreamChatGenerics extends DefaultStrea
|
|
|
145
146
|
* Defaults to: [MessageDeleted](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageSimple/MessageDeleted.tsx)
|
|
146
147
|
*/
|
|
147
148
|
MessageDeleted: React.ComponentType<MessageDeletedProps<StreamChatGenerics>>;
|
|
149
|
+
/**
|
|
150
|
+
* UI component for the MessageError.
|
|
151
|
+
*/
|
|
152
|
+
MessageError: React.ComponentType<MessageErrorProps>;
|
|
148
153
|
/**
|
|
149
154
|
* Custom message footer component
|
|
150
155
|
*/
|
|
@@ -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...",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"Reply to Message": "Reply to Message",
|
|
49
49
|
"Resend": "Resend",
|
|
50
50
|
"Search GIFs": "Search GIFs",
|
|
51
|
+
"Select More Photos": "Select More Photos",
|
|
51
52
|
"Send a message": "Send a message",
|
|
52
53
|
"Sending links is not allowed in this conversation": "Sending links is not allowed in this conversation",
|
|
53
54
|
"Slow mode ON": "Slow mode ON",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Réponse",
|
|
3
3
|
"1 Thread Reply": "Réponse à 1 fil",
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
4
|
+
"Allow access to your Gallery": "Autoriser l'accès à votre galerie",
|
|
5
5
|
"Also send to channel": "Envoyer également à la chaîne",
|
|
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": "",
|
|
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
16
|
"Emoji matching": "Correspondance Emoji",
|
|
17
17
|
"Empty message...": "Message vide...",
|
|
18
18
|
"Error loading": "Erreur lors du chargement",
|
|
@@ -20,51 +20,52 @@
|
|
|
20
20
|
"Error loading messages for this channel...": "Erreur lors du chargement des messages de ce canal...",
|
|
21
21
|
"Error while loading, please reload/refresh": "Erreur lors du chargement, veuillez recharger/rafraîchir",
|
|
22
22
|
"File type not supported": "Le type de fichier n'est pas pris en charge",
|
|
23
|
-
"Flag": "",
|
|
24
|
-
"Flag Message": "",
|
|
25
|
-
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
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
26
|
"Instant Commands": "Commandes Instantanées",
|
|
27
27
|
"Links are disabled": "Links are disabled",
|
|
28
|
-
"Loading channels...": "",
|
|
29
|
-
"Loading messages...": "",
|
|
30
|
-
"Loading...": "",
|
|
28
|
+
"Loading channels...": "Chargement des canaux...",
|
|
29
|
+
"Loading messages...": "Chargement des messages...",
|
|
30
|
+
"Loading...": "Chargement...",
|
|
31
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.",
|
|
32
32
|
"Message Reactions": "Réactions aux messages",
|
|
33
33
|
"Message deleted": "Message supprimé",
|
|
34
|
-
"Message flagged": "",
|
|
35
|
-
"Mute User": "",
|
|
36
|
-
"Not supported": "",
|
|
34
|
+
"Message flagged": "Message signalé",
|
|
35
|
+
"Mute User": "Utilisateur muet",
|
|
36
|
+
"Not supported": "Non pris en charge",
|
|
37
37
|
"Nothing yet...": "Aucun message...",
|
|
38
|
-
"Ok": "",
|
|
38
|
+
"Ok": "Ok",
|
|
39
39
|
"Only visible to you": "Seulement visible par vous",
|
|
40
40
|
"Photo": "Photo",
|
|
41
|
-
"Photos and Videos": "",
|
|
42
|
-
"Pin to Conversation": "",
|
|
41
|
+
"Photos and Videos": "Photos et vidéos",
|
|
42
|
+
"Pin to Conversation": "Épingler à la conversation",
|
|
43
43
|
"Pinned by": "Épinglé par",
|
|
44
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
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
45
|
"Please select a channel first": "Veuillez d'abord selectionnez un canal",
|
|
46
46
|
"Reconnecting...": "Se Reconnecter...",
|
|
47
|
-
"Reply": "",
|
|
47
|
+
"Reply": "Répondre",
|
|
48
48
|
"Reply to Message": "Répondre au message",
|
|
49
|
-
"Resend": "",
|
|
49
|
+
"Resend": "Renvoyer",
|
|
50
50
|
"Search GIFs": "Rechercher des GIF",
|
|
51
|
+
"Select More Photos": "Sélectionner plus de photos",
|
|
51
52
|
"Send a message": "Envoyer un message",
|
|
52
53
|
"Sending links is not allowed in this conversation": "Sending links is not allowed in this conversation",
|
|
53
54
|
"Slow mode ON": "Mode lent activé",
|
|
54
|
-
"The message has been reported to a moderator.": "",
|
|
55
|
-
"Thread Reply": "",
|
|
56
|
-
"Unblock User": "",
|
|
57
|
-
"Unknown User": "",
|
|
58
|
-
"Unmute User": "",
|
|
59
|
-
"Unpin from Conversation": "",
|
|
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",
|
|
58
|
+
"Unknown User": "Utilisateur inconnu",
|
|
59
|
+
"Unmute User": "Activer le son de Utilisateur",
|
|
60
|
+
"Unpin from Conversation": "Décrocher de la conversation",
|
|
60
61
|
"Unread Messages": "Messages non lus",
|
|
61
62
|
"Video": "Vidéo",
|
|
62
63
|
"You": "Toi",
|
|
63
64
|
"You can't send messages in this channel": "You can't send messages in this channel",
|
|
64
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
65
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
65
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} sur {{ photoLength }}",
|
|
66
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Réponses",
|
|
67
68
|
"{{ replyCount }} Thread Replies": "{{replyCount}} Réponses à la discussion",
|
|
68
|
-
"{{ user }} is typing": "",
|
|
69
|
+
"{{ user }} is typing": "{{ user }} est en train d'écrire",
|
|
69
70
|
"🏙 Attachment...": "🏙 Pièce jointe..."
|
|
70
71
|
}
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"{{ replyCount }} Replies": "{{ replyCount }} תגובות",
|
|
67
67
|
"{{ replyCount }} Thread Replies": "{{ replyCount }} תגובות שרשור",
|
|
68
68
|
"{{ user }} is typing": "{{ user }} מקליד/ה",
|
|
69
|
+
"Select More Photos": "בחר עוד תמונות",
|
|
69
70
|
"🏙 Attachment...": "🏙 קובץ מצורף...",
|
|
70
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"
|
|
71
72
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 रिप्लाई",
|
|
3
3
|
"1 Thread Reply": "1 धागा उत्तर",
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
4
|
+
"Allow access to your Gallery": "अपनी गैलरी तक पहुँचने की अनुमति दें",
|
|
5
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": "",
|
|
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
16
|
"Emoji matching": "इमोजी मिलान",
|
|
17
17
|
"Empty message...": "खाली संदेश...",
|
|
18
18
|
"Error loading": "लोड होने मे त्रुटि",
|
|
@@ -20,51 +20,52 @@
|
|
|
20
20
|
"Error loading messages for this channel...": "इस चैनल के लिए मेसेजेस लोड करने में त्रुटि हुई...",
|
|
21
21
|
"Error while loading, please reload/refresh": "एरर, रिफ्रेश करे",
|
|
22
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": "",
|
|
23
|
+
"Flag": "झंडा",
|
|
24
|
+
"Flag Message": "झंडा संदेश",
|
|
25
|
+
"Flag action failed either due to a network issue or the message is already flagged": "फ़्लैग कार्रवाई या तो नेटवर्क समस्या के कारण विफल हो गई या संदेश पहले से फ़्लैग किया गया है।",
|
|
26
26
|
"Instant Commands": "त्वरित कमांड",
|
|
27
27
|
"Links are disabled": "लिंक अक्षम हैं",
|
|
28
|
-
"Loading channels...": "",
|
|
29
|
-
"Loading messages...": "",
|
|
30
|
-
"Loading...": "",
|
|
28
|
+
"Loading channels...": "चैनल लोड हो रहे हैं...",
|
|
29
|
+
"Loading messages...": "मेसेजस लोड हो रहे हैं...",
|
|
30
|
+
"Loading...": "लोड हो रहा है...",
|
|
31
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}} एमबी से नीचे की फ़ाइल अपलोड करें।",
|
|
32
32
|
"Message Reactions": "संदेश प्रतिक्रियाएँ",
|
|
33
33
|
"Message deleted": "मैसेज हटा दिया गया",
|
|
34
|
-
"Message flagged": "",
|
|
35
|
-
"Mute User": "",
|
|
36
|
-
"Not supported": "",
|
|
34
|
+
"Message flagged": "संदेश को ध्वजांकित किया गया",
|
|
35
|
+
"Mute User": "उपयोगकर्ता को म्यूट करें",
|
|
36
|
+
"Not supported": "समर्थित नहीं",
|
|
37
37
|
"Nothing yet...": "कोई मैसेज नहीं है...",
|
|
38
|
-
"Ok": "",
|
|
38
|
+
"Ok": "ठीक",
|
|
39
39
|
"Only visible to you": "केवल आपको दिखाई दे रहा है",
|
|
40
40
|
"Photo": "तस्वीर",
|
|
41
|
-
"Photos and Videos": "",
|
|
42
|
-
"Pin to Conversation": "",
|
|
41
|
+
"Photos and Videos": "तस्वीरें और वीडियों",
|
|
42
|
+
"Pin to Conversation": "बातचीत में पिन करें",
|
|
43
43
|
"Pinned by": "द्वारा पिन किया गया",
|
|
44
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
44
|
+
"Please enable access to your photos and videos so you can share them.": "कृपया अपनी फ़ोटो और वीडियो तक पहुंच सक्षम करें ताकि आप उन्हें साझा कर सकें।",
|
|
45
45
|
"Please select a channel first": "कृपया पहले एक चैनल चुनें",
|
|
46
46
|
"Reconnecting...": "पुनः कनेक्ट हो...",
|
|
47
|
-
"Reply": "",
|
|
47
|
+
"Reply": "मैसेज को रिप्लाई करे",
|
|
48
48
|
"Reply to Message": "संदेश का जवाब दें",
|
|
49
|
-
"Resend": "",
|
|
49
|
+
"Resend": "पुन: भेजें",
|
|
50
50
|
"Search GIFs": "GIF खोजें",
|
|
51
|
+
"Select More Photos": "अधिक फ़ोटो चुनें",
|
|
51
52
|
"Send a message": "एक संदेश भेजें",
|
|
52
53
|
"Sending links is not allowed in this conversation": "इस बातचीत में लिंक भेजने की अनुमति नहीं है",
|
|
53
54
|
"Slow mode ON": "स्लो मोड चालू",
|
|
54
|
-
"The message has been reported to a moderator.": "",
|
|
55
|
-
"Thread Reply": "",
|
|
56
|
-
"Unblock User": "",
|
|
57
|
-
"Unknown User": "",
|
|
58
|
-
"Unmute User": "",
|
|
59
|
-
"Unpin from Conversation": "",
|
|
55
|
+
"The message has been reported to a moderator.": "संदेश एक मॉडरेटर को सूचित किया गया है।",
|
|
56
|
+
"Thread Reply": "धागा जवाब",
|
|
57
|
+
"Unblock User": "उपयोगकर्ता को अनब्लॉक करें",
|
|
58
|
+
"Unknown User": "अज्ञात उपयोगकर्ता",
|
|
59
|
+
"Unmute User": "उपयोगकर्ता को अनम्यूट करें",
|
|
60
|
+
"Unpin from Conversation": "बातचीत से अनपिन करें",
|
|
60
61
|
"Unread Messages": "अपठित संदेश",
|
|
61
62
|
"Video": "वीडियो",
|
|
62
63
|
"You": "आप",
|
|
63
64
|
"You can't send messages in this channel": "आप इस चैनल में संदेश नहीं भेज सकते",
|
|
64
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
65
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
65
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
66
67
|
"{{ replyCount }} Replies": "{{ replyCount }} रिप्लाई",
|
|
67
68
|
"{{ replyCount }} Thread Replies": "{{ replyCount }}} थ्रेड उत्तर",
|
|
68
|
-
"{{ user }} is typing": "",
|
|
69
|
+
"{{ user }} is typing": "{{ user }} टाइप कर रहा है",
|
|
69
70
|
"🏙 Attachment...": "🏙 अटैचमेंट..."
|
|
70
71
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Risposta",
|
|
3
3
|
"1 Thread Reply": "1 Risposta alla Discussione",
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
4
|
+
"Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
|
|
5
5
|
"Also send to channel": "Invia anche al canale",
|
|
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": "",
|
|
6
|
+
"Are you sure you want to permanently delete this message?": "Sei sicuro di voler eliminare definitivamente questo messaggio?",
|
|
7
|
+
"Block User": "Blocca Utente",
|
|
8
|
+
"Cancel": "Annulla",
|
|
9
|
+
"Cannot Flag Message": "Impossibile Segnalare Messaggio",
|
|
10
|
+
"Copy Message": "Copia Messaggio",
|
|
11
|
+
"Delete": "Elimina",
|
|
12
|
+
"Delete Message": "Cancella il Messaggio",
|
|
13
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "Vuoi inviare una copia di questo messaggio a un moderatore per ulteriori indagini?",
|
|
14
|
+
"Edit Message": "Modifica Messaggio",
|
|
15
|
+
"Editing Message": "Modificando il Messaggio",
|
|
16
16
|
"Emoji matching": "Abbinamento emoji",
|
|
17
17
|
"Empty message...": "Message vuoto...",
|
|
18
18
|
"Error loading": "Errore di caricamento",
|
|
@@ -20,51 +20,52 @@
|
|
|
20
20
|
"Error loading messages for this channel...": "Errore durante il caricamento dei messaggi per questo canale...",
|
|
21
21
|
"Error while loading, please reload/refresh": "Errore durante il caricamento, per favore ricarica la pagina",
|
|
22
22
|
"File type not supported": "Tipo di file non supportato",
|
|
23
|
-
"Flag": "",
|
|
24
|
-
"Flag Message": "",
|
|
25
|
-
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
23
|
+
"Flag": "Contrassegna",
|
|
24
|
+
"Flag Message": "Contrassegna Messaggio",
|
|
25
|
+
"Flag action failed either due to a network issue or the message is already flagged": "L'azione di segnalazione non è riuscita a causa di un problema di rete o il messaggio è già segnalato.",
|
|
26
26
|
"Instant Commands": "Comandi Istantanei",
|
|
27
27
|
"Links are disabled": "I link sono disabilitati",
|
|
28
|
-
"Loading channels...": "",
|
|
29
|
-
"Loading messages...": "",
|
|
30
|
-
"Loading...": "",
|
|
28
|
+
"Loading channels...": "Caricamento canali in corso...",
|
|
29
|
+
"Loading messages...": "Caricamento messaggi...",
|
|
30
|
+
"Loading...": "Caricamento...",
|
|
31
31
|
"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.",
|
|
32
32
|
"Message Reactions": "Reazioni ai Messaggi",
|
|
33
33
|
"Message deleted": "Messaggio cancellato",
|
|
34
|
-
"Message flagged": "",
|
|
35
|
-
"Mute User": "",
|
|
36
|
-
"Not supported": "",
|
|
34
|
+
"Message flagged": "Messaggio contrassegnato",
|
|
35
|
+
"Mute User": "Utente Muto",
|
|
36
|
+
"Not supported": "non supportato",
|
|
37
37
|
"Nothing yet...": "Ancora niente...",
|
|
38
|
-
"Ok": "",
|
|
38
|
+
"Ok": "Ok",
|
|
39
39
|
"Only visible to you": "Visibile solo a te",
|
|
40
40
|
"Photo": "Foto",
|
|
41
|
-
"Photos and Videos": "",
|
|
42
|
-
"Pin to Conversation": "",
|
|
41
|
+
"Photos and Videos": "Foto e Video",
|
|
42
|
+
"Pin to Conversation": "Metti in evidenza",
|
|
43
43
|
"Pinned by": "Fissato da",
|
|
44
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
44
|
+
"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.",
|
|
45
45
|
"Please select a channel first": "Seleziona un canale",
|
|
46
46
|
"Reconnecting...": "Ricollegarsi...",
|
|
47
|
-
"Reply": "",
|
|
47
|
+
"Reply": "Rispondi",
|
|
48
48
|
"Reply to Message": "Rispondi al messaggio",
|
|
49
|
-
"Resend": "",
|
|
49
|
+
"Resend": "Invia di nuovo",
|
|
50
50
|
"Search GIFs": "Cerca GIF",
|
|
51
|
+
"Select More Photos": "Seleziona Altre foto",
|
|
51
52
|
"Send a message": "Mandare un messaggio",
|
|
52
53
|
"Sending links is not allowed in this conversation": "L'invio di link non è consentito in questa conversazione",
|
|
53
54
|
"Slow mode ON": "Slowmode attiva",
|
|
54
|
-
"The message has been reported to a moderator.": "",
|
|
55
|
-
"Thread Reply": "",
|
|
56
|
-
"Unblock User": "",
|
|
57
|
-
"Unknown User": "",
|
|
58
|
-
"Unmute User": "",
|
|
59
|
-
"Unpin from Conversation": "",
|
|
55
|
+
"The message has been reported to a moderator.": "Il messaggio è stato segnalato a un moderatore.",
|
|
56
|
+
"Thread Reply": "Rispondi alla Discussione",
|
|
57
|
+
"Unblock User": "Sblocca utente",
|
|
58
|
+
"Unknown User": "Utente sconosciuto",
|
|
59
|
+
"Unmute User": "Riattiva utente",
|
|
60
|
+
"Unpin from Conversation": "Rimuovi dagli elementi in evidenza",
|
|
60
61
|
"Unread Messages": "Messaggi non letti",
|
|
61
62
|
"Video": "Video",
|
|
62
63
|
"You": "Tu",
|
|
63
64
|
"You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
|
|
64
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
65
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
65
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
|
|
66
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Risposte",
|
|
67
68
|
"{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
|
|
68
|
-
"{{ user }} is typing": "",
|
|
69
|
+
"{{ user }} is typing": "{{ user }} sta scrivendo",
|
|
69
70
|
"🏙 Attachment...": "🏙 Allegato..."
|
|
70
71
|
}
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"Reply to Message": "メッセージに返信",
|
|
70
70
|
"🏙 Attachment...": "🏙 アタッチメント...",
|
|
71
71
|
"Not supported": "サポートしていません",
|
|
72
|
+
"Select More Photos": "さらに写真を選択",
|
|
72
73
|
"File type not supported": "サポートされていないファイルです",
|
|
73
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 以下のファイルをアップロードしてください"
|
|
74
75
|
}
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"Reply to Message": "메시지에 답장",
|
|
69
69
|
"🏙 Attachment...": "🏙 부착...",
|
|
70
70
|
"File type not supported": "지원하지 않는 파일입니다.",
|
|
71
|
+
"Select More Photos": "추가 사진 선택",
|
|
71
72
|
"Not supported": "지원하지 않습니다",
|
|
72
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 미만의 파일을 업로드하세요."
|
|
73
74
|
}
|