Commit 0e08ebc7 authored by Christian Neumair's avatar Christian Neumair

Use ngettext for plurals (#123847).

parent 88ca97c8
2003-12-31 Christian Neumair <chris@gnome-de.org>
* gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata):
* gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for
plurals (#123847).
Wed Dec 31 02:05:39 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
......
2003-12-31 Christian Neumair <chris@gnome-de.org>
* gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata):
* gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for
plurals (#123847).
Wed Dec 31 02:05:39 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
......
2003-12-31 Christian Neumair <chris@gnome-de.org>
* gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata):
* gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for
plurals (#123847).
Wed Dec 31 02:05:39 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
......
2003-12-31 Christian Neumair <chris@gnome-de.org>
* gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata):
* gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for
plurals (#123847).
Wed Dec 31 02:05:39 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
......
2003-12-31 Christian Neumair <chris@gnome-de.org>
* gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata):
* gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for
plurals (#123847).
Wed Dec 31 02:05:39 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
......
......@@ -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;
}
......
......@@ -2946,7 +2946,7 @@ list_size_data_func (GtkTreeViewColumn *tree_column,
return;
if (size < (gint64)1024)
str = g_strdup_printf (_("%d bytes"), (gint)size);
str = g_strdup_printf (ngettext ("%d byte", "%d bytes", (gint)size), (gint)size);
else if (size < (gint64)1024*1024)
str = g_strdup_printf (_("%.1f K"), size / (1024.));
else if (size < (gint64)1024*1024*1024)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment