diff options
| author | Andrius Ramanauskas <knutux@gmail.com> | 2006-03-24 07:35:46 +0000 |
|---|---|---|
| committer | knutux <knutux@users.sourceforge.net> | 2006-03-24 07:35:46 +0000 |
| commit | d3ad63f253c47cd4031b2db40f20097a1dd09138 (patch) | |
| tree | f5fffdbef8d590a04275f1432f918017285818f5 /src/selection-describer.cpp | |
| parent | Bringing in new color class (diff) | |
| download | inkscape-d3ad63f253c47cd4031b2db40f20097a1dd09138.tar.gz inkscape-d3ad63f253c47cd4031b2db40f20097a1dd09138.zip | |
fixing crash in situations where locale language has many plural forms (example - Lithuanian) and translation is not yet provided
(bzr r280)
Diffstat (limited to 'src/selection-describer.cpp')
| -rw-r--r-- | src/selection-describer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp index 4f8e2459a..ea927f7f9 100644 --- a/src/selection-describer.cpp +++ b/src/selection-describer.cpp @@ -181,27 +181,27 @@ void SelectionDescriber::_updateMessageFromSelection(Inkscape::Selection *select if (n_terms == 0) { objects_str = g_strdup_printf ( // this is only used with 2 or more objects - ngettext("", "<b>%i</b> objects selected", object_count), + ngettext("<b>%i</b> object selected", "<b>%i</b> objects selected", object_count), object_count); } else if (n_terms == 1) { objects_str = g_strdup_printf ( // this is only used with 2 or more objects - ngettext("", "<b>%i</b> objects of type <b>%s</b>", object_count), + ngettext("<b>%i</b> object of type <b>%s</b>", "<b>%i</b> objects of type <b>%s</b>", object_count), object_count, (gchar *) terms->data); } else if (n_terms == 2) { objects_str = g_strdup_printf ( // this is only used with 2 or more objects - ngettext("", "<b>%i</b> objects of types <b>%s</b>, <b>%s</b>", object_count), + ngettext("<b>%i</b> object of types <b>%s</b>, <b>%s</b>", "<b>%i</b> objects of types <b>%s</b>, <b>%s</b>", object_count), object_count, (gchar *) terms->data, (gchar *) terms->next->data); } else if (n_terms == 3) { objects_str = g_strdup_printf ( // this is only used with 2 or more objects - ngettext("", "<b>%i</b> objects of types <b>%s</b>, <b>%s</b>, <b>%s</b>", object_count), + ngettext("<b>%i</b> object of types <b>%s</b>, <b>%s</b>, <b>%s</b>", "<b>%i</b> objects of types <b>%s</b>, <b>%s</b>, <b>%s</b>", object_count), object_count, (gchar *) terms->data, (gchar *) terms->next->data, (gchar *) terms->next->next->data); } else { objects_str = g_strdup_printf ( // this is only used with 2 or more objects - ngettext("", "<b>%i</b> objects of <b>%i</b> types", object_count), + ngettext("<b>%i</b> object of <b>%i</b> types", "<b>%i</b> objects of <b>%i</b> types", object_count), object_count, n_terms); } g_slist_free (terms); |
