From 98d45b1b817169498489e82fcfaa012712f28bcd Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 8 May 2023 10:38:52 +0100 Subject: [PATCH] Chore: Make text translatable --- .../components/voiceTyping/VoiceTypingDialog.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/app-mobile/components/voiceTyping/VoiceTypingDialog.tsx b/packages/app-mobile/components/voiceTyping/VoiceTypingDialog.tsx index d4a1ee69c..fa8e9435c 100644 --- a/packages/app-mobile/components/voiceTyping/VoiceTypingDialog.tsx +++ b/packages/app-mobile/components/voiceTyping/VoiceTypingDialog.tsx @@ -64,9 +64,9 @@ export default (props: Props) => { const renderContent = () => { const components: Record = { - [RecorderState.Loading]: Loading..., - [RecorderState.Recording]: Please record your voice..., - [RecorderState.Processing]: Converting speech to text..., + [RecorderState.Loading]: {_('Loading...')}, + [RecorderState.Recording]: {_('Please record your voice...')}, + [RecorderState.Processing]: {_('Converting speech to text...')}, }; return components[recorderState]; @@ -77,8 +77,8 @@ export default (props: Props) => { [RecorderState.Loading]: null, [RecorderState.Recording]: ( - - + + ), [RecorderState.Processing]: null,