From 0e08ebc7d4c37b454546bccbbc4d2dd08ca784c8 Mon Sep 17 00:00:00 2001 From: Christian Neumair Date: Wed, 31 Dec 2003 16:02:22 +0000 Subject: Use ngettext for plurals (#123847). --- gdk-pixbuf/gdk-pixdata.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdk-pixbuf/gdk-pixdata.c') diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c index 445e7adf7f..cc17de48f1 100644 --- a/gdk-pixbuf/gdk-pixdata.c +++ b/gdk-pixbuf/gdk-pixdata.c @@ -399,7 +399,9 @@ gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata, { g_set_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY, - _("failed to allocate image buffer of %u bytes"), + ngettext("failed to allocate image buffer of %u byte", + "failed to allocate image buffer of %u bytes", + pixdata->rowstride * pixdata->height), pixdata->rowstride * pixdata->height); return NULL; } -- cgit v1.2.1