This commit is contained in:
Nikos Kouremenos 2005-11-21 07:58:24 +00:00
parent 1b8b6a435e
commit 0a74f2ee61
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ def dbus_notify(event_type, jid, account, msg_type = '', file_props = None):
# get the name of the contact, as it is in the roster
name = gajim.get_first_contact_instance_from_jid(
account, receiver).name
filename = os.path.basename(file_props['file-name'])
if event_type == _('File Transfer Completed'):
txt = _('You successfully sent %(filename)s to %(name)s.')\
% {'filename': filename, 'name': name}