Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
2b1de636
Commit
2b1de636
authored
Jul 10, 2023
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated syntax for translations
parent
a8e71e4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
chatwindow.py
blink/chatwindow.py
+2
-2
No files found.
blink/chatwindow.py
View file @
2b1de636
...
@@ -2599,12 +2599,12 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
...
@@ -2599,12 +2599,12 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
if
is_audio_message
:
if
is_audio_message
:
text
=
translate
(
'chat_window'
,
'You sent an audio message. Fetching and processing...'
)
text
=
translate
(
'chat_window'
,
'You sent an audio message. Fetching and processing...'
)
else
:
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
:
else
:
if
is_audio_message
:
if
is_audio_message
:
text
=
translate
(
'chat_window'
,
'Sent you an audio message. Processing...'
)
text
=
translate
(
'chat_window'
,
'Sent you an audio message. Processing...'
)
else
:
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}'
content
=
f
'<img src={session.chat_widget.encrypted_icon.filename} class="inline-message-icon">{text}'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment