use ngettext for plural forms.

2005-09-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c: use ngettext for plural forms.
This commit is contained in:
Sven Neumann 2005-09-20 23:09:51 +00:00 committed by Sven Neumann
parent 735429d3c1
commit 71e384aadf
1 changed files with 5 additions and 5 deletions

View File

@ -649,11 +649,11 @@ gimp_imagefile_get_desc_string (GimpImagefile *imagefile)
if (thumbnail->image_type)
g_string_append_len (str, ", ", 2);
if (thumbnail->image_num_layers == 1)
g_string_append (str, _("1 Layer"));
else
g_string_append_printf (str, _("%d Layers"),
thumbnail->image_num_layers);
g_string_append_printf (str,
ngettext ("%d Layer",
"%d Layers",
thumbnail->image_num_layers),
thumbnail->image_num_layers);
}
}
break;