~dobey/ubuntu/precise/ubuntuone-client-gnome/release-2-99-2

« back to all changes in this revision

Viewing changes to nautilus/u1-contacts-picker.c

  • Committer: Sebastien Bacher
  • Date: 2011-09-27 18:58:57 UTC
  • mfrom: (4.1.1 ubuntuone-client-gnome)
  • Revision ID: seb128@ubuntu.com-20110927185857-ol7fo1na0eah2lra
Tags: 2.0.0-0ubuntu1
releasing version 2.0.0-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        U1ContactsPicker *picker = U1_CONTACTS_PICKER (user_data);
112
112
 
113
113
        if (strlen (gtk_entry_get_text (GTK_ENTRY (picker->priv->search_entry))) > 0)
114
 
                label = g_strdup_printf (ngettext ("Found %d match", "Found %d matches", total), total);
 
114
                label = g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, "Found %d match", "Found %d matches", total), total);
115
115
        else
116
 
                label = g_strdup_printf (ngettext ("%d contact", "%d contacts", total), total);
 
116
                label = g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, "%d contact", "%d contacts", total), total);
117
117
        gtk_label_set_text (GTK_LABEL (picker->priv->total_label), label);
118
118
 
119
119
        g_free (label);
188
188
                          G_CALLBACK (add_contact_cb), picker);
189
189
        gtk_table_attach (GTK_TABLE (table), picker->priv->add_contact_button, 1, 2, 0, 1, GTK_FILL, GTK_FILL, 3, 3);
190
190
 
191
 
        picker->priv->total_label = gtk_label_new (ngettext ("0 contact", "0 contacts", 0));
 
191
        picker->priv->total_label = gtk_label_new (g_dngettext (GETTEXT_PACKAGE, "0 contact", "0 contacts", 0));
192
192
        gtk_widget_show (picker->priv->total_label);
193
193
        gtk_table_attach (GTK_TABLE (table), picker->priv->total_label, 2, 3, 0, 1, GTK_FILL, GTK_FILL, 3, 3);
194
194