mirror of https://github.com/GNOME/gimp.git
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:
parent
735429d3c1
commit
71e384aadf
|
@ -649,10 +649,10 @@ 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"),
|
||||
g_string_append_printf (str,
|
||||
ngettext ("%d Layer",
|
||||
"%d Layers",
|
||||
thumbnail->image_num_layers),
|
||||
thumbnail->image_num_layers);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue