Commit c38cb201 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

use dngettext() for plural form.

2005-11-02  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpmemsize.c (gimp_memsize_to_string): use
	dngettext() for plural form.
parent 81de4303
2005-11-02 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpmemsize.c (gimp_memsize_to_string): use
dngettext() for plural form.
2005-11-02 Sven Neumann <sven@gimp.org>
* app/core/gimppattern.c: rephrased error message for consistency
......
......@@ -174,7 +174,11 @@ gimp_memsize_to_string (guint64 memsize)
if (memsize < 1024)
{
return g_strdup_printf (_("%d Bytes"), (gint) memsize);
gint bytes = (gint) memsize;
return g_strdup_printf (dngettext (GETTEXT_PACKAGE "-libgimp",
"%d Byte",
"%d Bytes", bytes), bytes);
}
if (memsize < 1024 * 10)
......
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