Mercurial > pidgin.yaz
changeset 32115:3a3af6ad3166
Use dngettext() for two strings in the MXit protocol so that we handle
the plural case(s) correctly
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 12 Jun 2011 17:52:59 +0000 |
parents | 16e3485f336b |
children | 2a47dc416d07 ac3867fbd61f 3e4b6ffbb551 |
files | libpurple/protocols/mxit/profile.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/profile.c Sun Jun 12 17:45:46 2011 +0000 +++ b/libpurple/protocols/mxit/profile.c Sun Jun 12 17:52:59 2011 +0000 @@ -322,9 +322,9 @@ purple_notify_searchresults_button_add( results, PURPLE_NOTIFY_BUTTON_INVITE, mxit_search_results_add_cb ); if ( searchType == CP_SUGGEST_FRIENDS ) - text = g_strdup_printf( _( "You have %i suggested friends." ), maxResults ); + text = g_strdup_printf( dngettext( PACKAGE, "You have %i suggested friend.", "You have %i suggested friends.", maxResults ), maxResults ); else - text = g_strdup_printf( _( "We found %i contacts that match your search." ), maxResults ); + text = g_strdup_printf( dngettext( PACKAGE, "We found %i contact that matches your search.", "We found %i contacts that match your search.", maxResults ), maxResults ); purple_notify_searchresults( session->con, NULL, text, NULL, results, NULL, NULL );