comparison finch/gntft.c @ 23334:19ab21882b38

"This patch pluralizes a few strings that should be pluralized for translation." Fixes #5898 committer: Richard Laager <rlaager@wiktel.com>
author Laurynas Biveinis <laurynas.biveinis@gmail.com>
date Mon, 09 Jun 2008 02:22:33 +0000
parents bcc355f38ba4
children 3da0957e7821
comparison
equal deleted inserted replaced
23333:4537fe9b93e7 23334:19ab21882b38
115 115
116 if (total_file_size > 0) { 116 if (total_file_size > 0) {
117 total_pct = 100 * total_bytes_xferred / total_file_size; 117 total_pct = 100 * total_bytes_xferred / total_file_size;
118 } 118 }
119 119
120 title = g_strdup_printf(_("File Transfers - %d%% of %d files"), 120 title = g_strdup_printf(ngettext("File Transfers - %d%% of %d file",
121 "File Transfers - %d%% of %d files",
122 num_active_xfers),
121 total_pct, num_active_xfers); 123 total_pct, num_active_xfers);
122 gnt_screen_rename_widget((xfer_dialog->window), title); 124 gnt_screen_rename_widget((xfer_dialog->window), title);
123 g_free(title); 125 g_free(title);
124 } else { 126 } else {
125 gnt_screen_rename_widget((xfer_dialog->window), _("File Transfers")); 127 gnt_screen_rename_widget((xfer_dialog->window), _("File Transfers"));