X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgunixconnection.c;h=b5da60a4edeb082469e5adc99d0a0a9e606f3a25;hb=c3842d1969feace4bfb12919be730e75e53877d9;hp=1c94051bf2721fda97ff115ad5e59fb08125ac11;hpb=211ed1775dfc514077984d0fea5d2529dcc5036e;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gunixconnection.c b/gio/gunixconnection.c index 1c94051..b5da60a 100644 --- a/gio/gunixconnection.c +++ b/gio/gunixconnection.c @@ -39,9 +39,9 @@ * It contains functions to do some of the UNIX socket specific * functionality like passing file descriptors. * - * Note that <gio/gunixconnection.h> belongs to - * the UNIX-specific GIO interfaces, thus you have to use the - * gio-unix-2.0.pc pkg-config file when using it. + * Note that `` belongs to the UNIX-specific + * GIO interfaces, thus you have to use the `gio-unix-2.0.pc` + * pkg-config file when using it. * * Since: 2.22 */ @@ -156,7 +156,10 @@ g_unix_connection_receive_fd (GUnixConnection *connection, gint i; g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Expecting 1 control message, got %d"), nscm); + ngettext("Expecting 1 control message, got %d", + "Expecting 1 control message, got %d", + nscm), + nscm); for (i = 0; i < nscm; i++) g_object_unref (scms[i]); @@ -187,7 +190,10 @@ g_unix_connection_receive_fd (GUnixConnection *connection, gint i; g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Expecting one fd, but got %d\n"), nfd); + ngettext("Expecting one fd, but got %d\n", + "Expecting one fd, but got %d\n", + nfd), + nfd); for (i = 0; i < nfd; i++) close (fds[i]); @@ -545,7 +551,9 @@ g_unix_connection_receive_credentials (GUnixConnection *connection, g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Expecting 1 control message, got %d"), + ngettext("Expecting 1 control message, got %d", + "Expecting 1 control message, got %d", + nscm), nscm); goto out; }