Mercurial > pidgin
diff libgaim/protocols/qq/send_file.c @ 14740:a169177ffa4e
[gaim-migrate @ 17496]
Better error messages, in my opinion. Now we don't need
to worry about defuzzing anything...
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 17 Oct 2006 14:16:46 +0000 |
parents | acd886ea473e |
children | dfd272ab67e7 |
line wrap: on
line diff
--- a/libgaim/protocols/qq/send_file.c Tue Oct 17 08:13:41 2006 +0000 +++ b/libgaim/protocols/qq/send_file.c Tue Oct 17 14:16:46 2006 +0000 @@ -703,10 +703,8 @@ return; } filename = strrchr(gaim_xfer_get_local_filename(qd->xfer), '/') + 1; - msg = g_strdup_printf - (_ - ("Your request to send file[%s] has been rejected by buddy[%d]"), - filename, sender_uid); + msg = g_strdup_printf(_("%d has declined the file %s"), + sender_uid, filename); gaim_notify_warning (gc, _("File Send"), msg, NULL); gaim_xfer_request_denied(qd->xfer); @@ -734,8 +732,8 @@ } filename = strrchr(gaim_xfer_get_local_filename(qd->xfer), '/') + 1; msg = g_strdup_printf - (_("The sending process of file[%s] has been canceled by buddy[%d]"), - filename, sender_uid); + (_("%d canceled the transfer of %s"), + sender_uid, filename); gaim_notify_warning (gc, _("File Send"), msg, NULL); gaim_xfer_cancel_remote(qd->xfer);