libpurple/protocols/mxit/profile.c

changeset 31866
5d3065054efd
parent 31844
57277e9c2049
child 32088
4c1b703def6f
child 32166
7408361876cc
equal deleted inserted replaced
31865:45de7fb7719f 31866:5d3065054efd
320 320
321 /* button */ 321 /* button */
322 purple_notify_searchresults_button_add( results, PURPLE_NOTIFY_BUTTON_INVITE, mxit_search_results_add_cb ); 322 purple_notify_searchresults_button_add( results, PURPLE_NOTIFY_BUTTON_INVITE, mxit_search_results_add_cb );
323 323
324 if ( searchType == CP_SUGGEST_FRIENDS ) 324 if ( searchType == CP_SUGGEST_FRIENDS )
325 text = g_strdup_printf( _( "You have %i suggested friends." ), maxResults ); 325 text = g_strdup_printf( dngettext( PACKAGE, "You have %i suggested friend.", "You have %i suggested friends.", maxResults ), maxResults );
326 else 326 else
327 text = g_strdup_printf( _( "We found %i contacts that match your search." ), maxResults ); 327 text = g_strdup_printf( dngettext( PACKAGE, "We found %i contact that matches your search.", "We found %i contacts that match your search.", maxResults ), maxResults );
328 328
329 purple_notify_searchresults( session->con, NULL, text, NULL, results, NULL, NULL ); 329 purple_notify_searchresults( session->con, NULL, text, NULL, results, NULL, NULL );
330 330
331 g_free( text); 331 g_free( text);
332 } 332 }

mercurial