File tree 13 files changed +26
-3
lines changed
13 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import { useTranslationContext } from '../../context';
10
10
import type { DefaultStreamChatGenerics } from '../../types' ;
11
11
12
12
const rootClassName = 'str-chat__message-attachment__voice-recording-widget' ;
13
- const FALLBACK_TITLE = 'Voice message' ;
14
13
15
14
export type VoiceRecordingPlayerProps <
16
15
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics
@@ -25,7 +24,7 @@ export const VoiceRecordingPlayer = ({ attachment, playbackRates }: VoiceRecordi
25
24
asset_url,
26
25
duration,
27
26
mime_type,
28
- title = t < string > ( FALLBACK_TITLE ) ,
27
+ title = t < string > ( 'Voice message' ) ,
29
28
waveform_data,
30
29
} = attachment ;
31
30
@@ -89,7 +88,7 @@ export type QuotedVoiceRecordingProps<
89
88
90
89
export const QuotedVoiceRecording = ( { attachment } : QuotedVoiceRecordingProps ) => {
91
90
const { t } = useTranslationContext ( ) ;
92
- const title = attachment . title || t < string > ( FALLBACK_TITLE ) ;
91
+ const title = attachment . title || t < string > ( 'Voice message' ) ;
93
92
return (
94
93
< div className = { rootClassName } data-testid = 'quoted-voice-recording-widget' >
95
94
< div className = 'str-chat__message-attachment__voice-recording-widget__metadata' >
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Fehler beim Stummschalten eines Nutzers." ,
23
23
"Error pinning message" : " Fehler beim Pinnen der Nachricht" ,
24
24
"Error removing message pin" : " Fehler beim Entfernen der gepinnten Nachricht" ,
25
+ "Error reproducing the recording" : " Fehler bei der Wiedergabe der Aufnahme" ,
25
26
"Error unmuting a user ..." : " Stummschaltung des Nutzers fehlgeschlagen ..." ,
26
27
"Error uploading file" : " Fehler beim Hochladen der Datei" ,
27
28
"Error uploading image" : " Hochladen des Bildes fehlgeschlagen" ,
70
71
"Unread messages" : " Ungelesene Nachrichten" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Upload-Typ: \" {{ type }}\" ist nicht erlaubt" ,
72
73
"User uploaded content" : " Benutzer hochgeladenen Inhalts" ,
74
+ "Voice message" : " Sprachnachricht" ,
73
75
"Wait until all attachments have uploaded" : " Bitte warten, bis alle Anhänge hochgeladen wurden" ,
74
76
"You have no channels currently" : " Du hast momentan noch keinen Channels" ,
75
77
"You've reached the maximum number of files" : " Die maximale Dateianzahl ist erreicht" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Error muting a user ..." ,
23
23
"Error pinning message" : " Error pinning message" ,
24
24
"Error removing message pin" : " Error removing message pin" ,
25
+ "Error reproducing the recording" : " Error reproducing the recording" ,
25
26
"Error unmuting a user ..." : " Error unmuting a user ..." ,
26
27
"Error uploading file" : " Error uploading file" ,
27
28
"Error uploading image" : " Error uploading image" ,
70
71
"Unread messages" : " Unread messages" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Upload type: \" {{ type }}\" is not allowed" ,
72
73
"User uploaded content" : " User uploaded content" ,
74
+ "Voice message" : " Voice message" ,
73
75
"Wait until all attachments have uploaded" : " Wait until all attachments have uploaded" ,
74
76
"You have no channels currently" : " You have no channels currently" ,
75
77
"You've reached the maximum number of files" : " You've reached the maximum number of files" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Error al silenciar a un usuario ..." ,
23
23
"Error pinning message" : " Mensaje de error al fijar" ,
24
24
"Error removing message pin" : " Error al quitar el pin del mensaje" ,
25
+ "Error reproducing the recording" : " Error al reproducir la grabación" ,
25
26
"Error unmuting a user ..." : " Error al activar el silencio de un usuario ..." ,
26
27
"Error uploading file" : " Error al cargar el archivo" ,
27
28
"Error uploading image" : " Error subiendo imagen" ,
70
71
"Unread messages" : " Mensajes no leídos" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Tipo de carga: \" {{ type }}\" no está permitido" ,
72
73
"User uploaded content" : " Contenido subido por el usuario" ,
74
+ "Voice message" : " Mensaje de voz" ,
73
75
"Wait until all attachments have uploaded" : " Espere hasta que se hayan cargado todos los archivos adjuntos" ,
74
76
"You have no channels currently" : " Actualmente no tienes canales" ,
75
77
"You've reached the maximum number of files" : " Has alcanzado el número máximo de archivos" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Erreur de mise en sourdine d'un utilisateur ..." ,
23
23
"Error pinning message" : " Erreur d'épinglage du message" ,
24
24
"Error removing message pin" : " Erreur lors de la suppression du code PIN du message" ,
25
+ "Error reproducing the recording" : " Erreur lors de la reproduction de l'enregistrement" ,
25
26
"Error unmuting a user ..." : " Erreur de désactivation de la fonction sourdine pour un utilisateur ..." ,
26
27
"Error uploading file" : " Erreur lors du téléchargement du fichier" ,
27
28
"Error uploading image" : " Erreur lors de l'envoi de l'image" ,
70
71
"Unread messages" : " Messages non lus" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Le type de téléchargement: \" {{ type }}\" n'est pas autorisé" ,
72
73
"User uploaded content" : " Contenu téléchargé par l'utilisateur" ,
74
+ "Voice message" : " Message vocal" ,
73
75
"Wait until all attachments have uploaded" : " Attendez que toutes les pièces jointes soient téléchargées" ,
74
76
"You have no channels currently" : " Vous n'avez actuellement aucun canal" ,
75
77
"You've reached the maximum number of files" : " Vous avez atteint le nombre maximum de fichiers" ,
Original file line number Diff line number Diff line change 23
23
"Error muting a user ..." : " यूजर को म्यूट करने का प्रयास फेल हुआ" ,
24
24
"Error pinning message" : " संदेश को पिन करने में त्रुटि" ,
25
25
"Error removing message pin" : " संदेश पिन निकालने में त्रुटि" ,
26
+ "Error reproducing the recording" : " रिकॉर्डिंग पुन: उत्पन्न करने में त्रुटि" ,
26
27
"Error unmuting a user ..." : " यूजर को अनम्यूट करने का प्रयास फेल हुआ" ,
27
28
"Error uploading file" : " फ़ाइल अपलोड करने में त्रुटि" ,
28
29
"Error uploading image" : " छवि अपलोड करने में त्रुटि" ,
71
72
"Unread messages" : " अपठित संदेश" ,
72
73
"Upload type: \" {{ type }}\" is not allowed" : " अपलोड प्रकार: \" {{ type }}\" की अनुमति नहीं है" ,
73
74
"User uploaded content" : " उपयोगकर्ता अपलोड की गई सामग्री" ,
75
+ "Voice message" : " आवाज संदेश" ,
74
76
"Wait until all attachments have uploaded" : " सभी अटैचमेंट अपलोड होने तक प्रतीक्षा करें" ,
75
77
"You have no channels currently" : " आपके पास कोई चैनल नहीं है" ,
76
78
"You've reached the maximum number of files" : " आप अधिकतम फ़ाइलों तक पहुँच गए हैं" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Errore silenziando un utente ..." ,
23
23
"Error pinning message" : " Errore durante il blocco del messaggio" ,
24
24
"Error removing message pin" : " Errore durante la rimozione del PIN del messaggio" ,
25
+ "Error reproducing the recording" : " Errore durante la riproduzione della registrazione" ,
25
26
"Error unmuting a user ..." : " Errore riattivando le notifiche per l'utente ..." ,
26
27
"Error uploading file" : " Errore durante il caricamento del file" ,
27
28
"Error uploading image" : " Errore durante il caricamento dell'immagine" ,
70
71
"Unread messages" : " Messaggi non letti" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Tipo di caricamento: \" {{ type }}\" non è consentito" ,
72
73
"User uploaded content" : " Contenuto caricato dall'utente" ,
74
+ "Voice message" : " Messaggio vocale" ,
73
75
"Wait until all attachments have uploaded" : " Attendi il caricamento di tutti gli allegati" ,
74
76
"You have no channels currently" : " Al momento non sono presenti canali" ,
75
77
"You've reached the maximum number of files" : " Hai raggiunto il numero massimo di file" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " ユーザーを無音するエラーが発生しました..." ,
23
23
"Error pinning message" : " メッセージをピンのエラーが発生しました" ,
24
24
"Error removing message pin" : " メッセージのピンを削除のエラーが発生しました" ,
25
+ "Error reproducing the recording" : " 録音の再生中にエラーが発生しました" ,
25
26
"Error unmuting a user ..." : " ユーザーの無音解除のエラーが発生しました..." ,
26
27
"Error uploading file" : " ファイルをアップロードのエラーが発生しました" ,
27
28
"Error uploading image" : " 画像をアップロードのエラーが発生しました" ,
70
71
"Unread messages" : " 未読メッセージ" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " アップロードタイプ:\" {{ type }}\" は許可されていません" ,
72
73
"User uploaded content" : " ユーザーがアップロードしたコンテンツ" ,
74
+ "Voice message" : " ボイスメッセージ" ,
73
75
"Wait until all attachments have uploaded" : " すべての添付ファイルがアップロードされるまでお待ちください" ,
74
76
"You have no channels currently" : " 現在チャンネルはありません" ,
75
77
"You've reached the maximum number of files" : " ファイルの最大数に達しました" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " 사용자를 음소거하는 중에 오류가 발생했습니다..." ,
23
23
"Error pinning message" : " 메시지를 핀하는 중에 오류가 발생했습니다." ,
24
24
"Error removing message pin" : " 메시지 핀을 제거하는 중에 오류가 발생했습니다." ,
25
+ "Error reproducing the recording" : " 녹음 재생 중 오류 발생" ,
25
26
"Error unmuting a user ..." : " 사용자 음소거 해제 중 오류 발생..." ,
26
27
"Error uploading file" : " 파일 업로드 오류" ,
27
28
"Error uploading image" : " 이미지를 업로드하는 동안 오류가 발생했습니다." ,
70
71
"Unread messages" : " 읽지 않은 메시지" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " 업로드 유형: \" {{ type }}\" 은(는) 허용되지 않습니다." ,
72
73
"User uploaded content" : " 사용자 업로드 콘텐츠" ,
74
+ "Voice message" : " 음성 메시지" ,
73
75
"Wait until all attachments have uploaded" : " 모든 첨부 파일이 업로드될 때까지 기다립니다." ,
74
76
"You have no channels currently" : " 현재 채널이 없습니다." ,
75
77
"You've reached the maximum number of files" : " 최대 파일 수에 도달했습니다." ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Fout bij het muten van de gebruiker" ,
23
23
"Error pinning message" : " Fout bij vastzetten van bericht" ,
24
24
"Error removing message pin" : " Fout bij verwijderen van berichtpin" ,
25
+ "Error reproducing the recording" : " Fout bij het afspelen van de opname" ,
25
26
"Error unmuting a user ..." : " Fout bij het unmuten van de gebruiker" ,
26
27
"Error uploading file" : " Fout bij uploaden bestand" ,
27
28
"Error uploading image" : " Fout bij uploaden afbeelding" ,
70
71
"Unread messages" : " Ongelezen berichten" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Uploadtype: \" {{ type }}\" is niet toegestaan" ,
72
73
"User uploaded content" : " Gebruikersgeüploade inhoud" ,
74
+ "Voice message" : " Voicemail" ,
73
75
"Wait until all attachments have uploaded" : " Wacht tot alle bijlagen zijn geüpload" ,
74
76
"You have no channels currently" : " Er zijn geen chats beschikbaar" ,
75
77
"You've reached the maximum number of files" : " Je hebt het maximale aantal bestanden bereikt" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Erro ao silenciar um usuário..." ,
23
23
"Error pinning message" : " Erro ao fixar mensagem" ,
24
24
"Error removing message pin" : " Erro ao remover o PIN da mensagem" ,
25
+ "Error reproducing the recording" : " Erro ao reproduzir a gravação" ,
25
26
"Error unmuting a user ..." : " Erro ao ativar o som de um usuário..." ,
26
27
"Error uploading file" : " Erro ao enviar arquivo" ,
27
28
"Error uploading image" : " Erro ao carregar a imagem" ,
70
71
"Unread messages" : " Mensagens não lidas" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Tipo de upload: \" {{ type }}\" não é permitido" ,
72
73
"User uploaded content" : " Conteúdo enviado pelo usuário" ,
74
+ "Voice message" : " Mensagem de voz" ,
73
75
"Wait until all attachments have uploaded" : " Espere até que todos os anexos tenham sido carregados" ,
74
76
"You have no channels currently" : " Você não tem canais atualmente" ,
75
77
"You've reached the maximum number of files" : " Você atingiu o número máximo de arquivos" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Ошибка отключения уведомлений от пользователя..." ,
23
23
"Error pinning message" : " Сообщение об ошибке при закреплении" ,
24
24
"Error removing message pin" : " Ошибка при удалении булавки сообщения" ,
25
+ "Error reproducing the recording" : " Ошибка воспроизведения записи" ,
25
26
"Error unmuting a user ..." : " Ошибка включения уведомлений..." ,
26
27
"Error uploading file" : " Ошибка при загрузке файла" ,
27
28
"Error uploading image" : " Ошибка загрузки изображения" ,
70
71
"Unread messages" : " Непрочитанные сообщения" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Тип загрузки: \" {{ type }}\" не разрешен" ,
72
73
"User uploaded content" : " Пользователь загрузил контент" ,
74
+ "Voice message" : " Голосовое сообщение" ,
73
75
"Wait until all attachments have uploaded" : " Подождите, пока все вложения загрузятся" ,
74
76
"You have no channels currently" : " У вас нет каналов в данный момент" ,
75
77
"You've reached the maximum number of files" : " Вы достигли максимального количества файлов" ,
Original file line number Diff line number Diff line change 22
22
"Error muting a user ..." : " Kullanıcıyı sessize alırken hata oluştu ..." ,
23
23
"Error pinning message" : " Mesaj sabitlenirken hata oluştu" ,
24
24
"Error removing message pin" : " Mesaj PIN'i kaldırılırken hata oluştu" ,
25
+ "Error reproducing the recording" : " Kaydı yeniden üretme hatası" ,
25
26
"Error unmuting a user ..." : " Kullanıcının sesini açarken hata oluştu ..." ,
26
27
"Error uploading file" : " Dosya yüklenirken hata oluştu" ,
27
28
"Error uploading image" : " Resmi yüklerken hata" ,
70
71
"Unread messages" : " Okunmamış mesajlar" ,
71
72
"Upload type: \" {{ type }}\" is not allowed" : " Yükleme türü: \" {{ type }}\" izin verilmez" ,
72
73
"User uploaded content" : " Kullanıcı tarafından yüklenen içerik" ,
74
+ "Voice message" : " Sesli mesaj" ,
73
75
"Wait until all attachments have uploaded" : " Tüm ekler yüklenene kadar bekleyin" ,
74
76
"You have no channels currently" : " Henüz kanalınız yok" ,
75
77
"You've reached the maximum number of files" : " Maksimum dosya sayısına ulaştınız" ,
You can’t perform that action at this time.
0 commit comments