translation: Plural forms support

This commit is contained in:
Nikita Zlobin 2010-12-18 03:02:53 +05:00
parent 9314c44fb4
commit fa041118ca
1 changed files with 5 additions and 1 deletions

View File

@ -118,7 +118,11 @@ static void update_load(void)
if (jack_proxy_get_xruns(&xruns))
{
snprintf(tmp_buf, sizeof(tmp_buf), _("%" PRIu32 " dropouts"), xruns);
snprintf(tmp_buf, sizeof(tmp_buf),
ngettext("%"PRIu32" dropout",
"%"PRIu32" dropouts",
xruns), xruns);
set_xruns_text(tmp_buf);
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(g_xrun_progress_bar), tmp_buf);
}