From: knutux Date: Mon, 27 Mar 2006 09:13:49 +0000 (+0000) Subject: applying ngettext for 2 strings (for languages with multiple plural forms) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e89be32c99c4305468138078cb1e7649155630b;p=inkscape.git applying ngettext for 2 strings (for languages with multiple plural forms) --- diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp index ea927f7f9..6395f2ebc 100644 --- a/src/selection-describer.cpp +++ b/src/selection-describer.cpp @@ -145,10 +145,10 @@ void SelectionDescriber::_updateMessageFromSelection(Inkscape::Selection *select else in_phrase = g_strdup_printf(_(" in group %s (%s)"), parent_name, layer_name); } else { - in_phrase = g_strdup_printf(_(" in %i parents (%s)"), num_parents, layer_name); + in_phrase = g_strdup_printf(ngettext(" in %i parents (%s)", " in %i parents (%s)", num_parents), num_parents, layer_name); } } else { - in_phrase = g_strdup_printf(_(" in %i layers"), num_layers); + in_phrase = g_strdup_printf(ngettext(" in %i layers", " in %i layers", num_layers), num_layers); } g_free (layer_name); g_free (parent_name);