summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrius Ramanauskas <knutux@gmail.com>2006-03-27 09:13:49 +0000
committerknutux <knutux@users.sourceforge.net>2006-03-27 09:13:49 +0000
commite51ffe4ba7239d82f88f9bdbe9b20c5f0d0222a2 (patch)
tree47f3e056b4ef5e0c1e0577b98cd7c6ced4329b5e /src
parentA little XCF export script (diff)
downloadinkscape-e51ffe4ba7239d82f88f9bdbe9b20c5f0d0222a2.tar.gz
inkscape-e51ffe4ba7239d82f88f9bdbe9b20c5f0d0222a2.zip
applying ngettext for 2 strings (for languages with multiple plural forms)
(bzr r306)
Diffstat (limited to 'src')
-rw-r--r--src/selection-describer.cpp4
1 files changed, 2 insertions, 2 deletions
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 <b>%i</b> parents (%s)"), num_parents, layer_name);
+ in_phrase = g_strdup_printf(ngettext(" in <b>%i</b> parents (%s)", " in <b>%i</b> parents (%s)", num_parents), num_parents, layer_name);
}
} else {
- in_phrase = g_strdup_printf(_(" in <b>%i</b> layers"), num_layers);
+ in_phrase = g_strdup_printf(ngettext(" in <b>%i</b> layers", " in <b>%i</b> layers", num_layers), num_layers);
}
g_free (layer_name);
g_free (parent_name);