Mercurial > pidgin
comparison libpurple/protocols/jabber/jabber.c @ 26436:28f1512b0f94
Minor grammatical message fixes.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 04 Apr 2009 07:20:10 +0000 |
parents | 0adf41b3de79 |
children | 81b30f96250e 2b8c161c9d7b 5391094529c6 |
comparison
equal
deleted
inserted
replaced
26435:4c1af7f30af8 | 26436:28f1512b0f94 |
---|---|
2689 * whose presence we're not subscribed to, or | 2689 * whose presence we're not subscribed to, or |
2690 * someone who is offline. Let's inform the user */ | 2690 * someone who is offline. Let's inform the user */ |
2691 char *msg; | 2691 char *msg; |
2692 | 2692 |
2693 if(!jb) { | 2693 if(!jb) { |
2694 msg = g_strdup_printf(_("Unable to initiate media with %s, invalid JID"), who); | 2694 msg = g_strdup_printf(_("Unable to initiate media with %s: invalid JID"), who); |
2695 } else if(jb->subscription & JABBER_SUB_TO) { | 2695 } else if(jb->subscription & JABBER_SUB_TO) { |
2696 msg = g_strdup_printf(_("Unable to initiate media with %s, user is not online"), who); | 2696 msg = g_strdup_printf(_("Unable to initiate media with %s: user is not online"), who); |
2697 } else { | 2697 } else { |
2698 msg = g_strdup_printf(_("Unable to initiate media with %s, not subscribed to user presence"), who); | 2698 msg = g_strdup_printf(_("Unable to initiate media with %s: not subscribed to user presence"), who); |
2699 } | 2699 } |
2700 | 2700 |
2701 purple_notify_error(js->gc, _("Media Initiation Failed"), | 2701 purple_notify_error(js->gc, _("Media Initiation Failed"), |
2702 _("Media Initiation Failed"), msg); | 2702 _("Media Initiation Failed"), msg); |
2703 g_free(msg); | 2703 g_free(msg); |
2767 result = jabber_initiate_media(gc, name, type); | 2767 result = jabber_initiate_media(gc, name, type); |
2768 g_free(name); | 2768 g_free(name); |
2769 return result; | 2769 return result; |
2770 } | 2770 } |
2771 | 2771 |
2772 msg = g_strdup_printf(_("Please select the resource of %s to which you would like to start a media session with."), who); | 2772 msg = g_strdup_printf(_("Please select the resource of %s with which you would like to start a media session."), who); |
2773 fields = purple_request_fields_new(); | 2773 fields = purple_request_fields_new(); |
2774 group = purple_request_field_group_new(NULL); | 2774 group = purple_request_field_group_new(NULL); |
2775 request = g_new0(JabberMediaRequest, 1); | 2775 request = g_new0(JabberMediaRequest, 1); |
2776 request->pc = gc; | 2776 request->pc = gc; |
2777 request->who = g_strdup(who); | 2777 request->who = g_strdup(who); |