Commit 2b1de636 authored by Tijmen de Mes's avatar Tijmen de Mes

Updated syntax for translations

parent a8e71e4a
......@@ -2599,12 +2599,12 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
if is_audio_message:
text = translate('chat_window', 'You sent an audio message. Fetching and processing...')
else:
text = translate('chat_window', 'You sent an image: %s. Fetching and processing...' % file.decrypted_filename)
text = translate('chat_window', 'You sent an image: %s. Fetching and processing...') % file.decrypted_filename
else:
if is_audio_message:
text = translate('chat_window', 'Sent you an audio message. Processing...')
else:
text = translate('chat_window', 'Sent you an image: %s. Processing...' % file.decrypted_filename)
text = translate('chat_window', 'Sent you an image: %s. Processing...') % file.decrypted_filename
content = f'<img src={session.chat_widget.encrypted_icon.filename} class="inline-message-icon">{text}'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment