Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sophie Herold
gajim
Commits
9bafd769
Commit
9bafd769
authored
7 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
fix some Q_() call
parent
4ffc1cf8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gajim/message_window.py
+2
-1
2 additions, 1 deletion
gajim/message_window.py
gajim/tooltips.py
+3
-3
3 additions, 3 deletions
gajim/tooltips.py
with
5 additions
and
4 deletions
gajim/message_window.py
+
2
−
1
View file @
9bafd769
...
...
@@ -43,6 +43,7 @@ from gajim.chat_control import ChatControl
from
gajim.common
import
app
from
gajim.gtkgui_helpers
import
get_action
from
gajim.common.i18n
import
Q_
####################
...
...
@@ -527,7 +528,7 @@ class MessageWindow(object):
if
window_mode
==
MessageWindowMgr
.
ONE_MSG_WINDOW_PERTYPE
:
# Show the plural form since number of tabs > 1
if
self
.
type_
==
'
chat
'
:
label
=
_
(
'
?Noun:Chats
'
)
label
=
Q
_
(
'
?Noun:Chats
'
)
elif
self
.
type_
==
'
gc
'
:
label
=
_
(
'
Groupchats
'
)
else
:
...
...
This diff is collapsed.
Click to expand it.
gajim/tooltips.py
+
3
−
3
View file @
9bafd769
...
...
@@ -776,13 +776,13 @@ class FileTransfersTooltip(BaseTooltip):
file_name
=
file_props
.
name
properties
.
append
((
_
(
'
Name:
'
),
GLib
.
markup_escape_text
(
file_name
)))
if
file_props
.
type_
==
'
r
'
:
type_
=
_
(
'
?Noun:Download
'
)
type_
=
Q
_
(
'
?Noun:Download
'
)
actor
=
_
(
'
Sender:
'
)
sender
=
file_props
.
sender
.
split
(
'
/
'
)[
0
]
name
=
app
.
contacts
.
get_first_contact_from_jid
(
file_props
.
tt_account
,
sender
).
get_shown_name
()
else
:
type_
=
_
(
'
?Noun:Upload
'
)
type_
=
Q
_
(
'
?Noun:Upload
'
)
actor
=
_
(
'
Recipient:
'
)
receiver
=
file_props
.
receiver
if
hasattr
(
receiver
,
'
name
'
):
...
...
@@ -808,7 +808,7 @@ class FileTransfersTooltip(BaseTooltip):
status
=
_
(
'
Completed
'
)
else
:
if
file_props
.
paused
==
True
:
status
=
_
(
'
?transfer status:Paused
'
)
status
=
Q
_
(
'
?transfer status:Paused
'
)
elif
file_props
.
stalled
==
True
:
#stalled is not paused. it is like 'frozen' it stopped alone
status
=
_
(
'
Stalled
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment