diff options
Diffstat (limited to 'addressbook/gui/widgets/eab-vcard-control.c')
-rw-r--r-- | addressbook/gui/widgets/eab-vcard-control.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/addressbook/gui/widgets/eab-vcard-control.c b/addressbook/gui/widgets/eab-vcard-control.c index c161333f15..7289851113 100644 --- a/addressbook/gui/widgets/eab-vcard-control.c +++ b/addressbook/gui/widgets/eab-vcard-control.c @@ -136,11 +136,9 @@ pstream_load (BonoboPersistStream *ps, const Bonobo_Stream stream, if (list && list->next) { char *message; int length = g_list_length (list) - 1; - if (length > 1) { - message = g_strdup_printf (_("and %d other contacts."), length); - } else { - message = g_strdup_printf (_("and one other contact.")); - } + message = g_strdup_printf (ngettext("and one other contact.", + "and %d other contacts.", length), + length); gtk_label_set_text (GTK_LABEL (vcard_control->label), message); g_free (message); gtk_widget_show (vcard_control->label); |