| 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 } |