[anjuta] symbol-db: bgo #656123 - plural forms needed



commit 5f4522ac28fcf052ccd02b0d29e97638e36fd212
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Wed Aug 31 22:55:00 2011 +0200

    symbol-db: bgo #656123 - plural forms needed

 plugins/symbol-db/plugin.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/symbol-db/plugin.c b/plugins/symbol-db/plugin.c
index 5c76996..10407b8 100644
--- a/plugins/symbol-db/plugin.c
+++ b/plugins/symbol-db/plugin.c
@@ -1034,7 +1034,8 @@ on_system_single_file_scan_end (SymbolDBEngine *dbe, gpointer data)
 	}
 	else
 	{
-		message = g_strdup_printf (_("%s: %d files scanned out of %d"), 
+		/* Translators: %s is the name of a system library */
+		message = g_strdup_printf (ngettext ("%s: %d file scanned out of %d", "%s: %d files scanned out of %d", sdb_plugin->files_count_system_done), 
 							sdb_plugin->current_scanned_package,
 							sdb_plugin->files_count_system_done, 
 							sdb_plugin->files_count_system);
@@ -1067,7 +1068,7 @@ on_project_single_file_scan_end (SymbolDBEngine *dbe, gpointer data)
 	if (sdb_plugin->files_count_project_done >= sdb_plugin->files_count_project)
 		message = g_strdup_printf (_("Generating inheritancesâ"));
 	else
-		message = g_strdup_printf (_("%d files scanned out of %d"), 
+		message = g_strdup_printf (ngettext ("%d file scanned out of %d", "%d files scanned out of %d", sdb_plugin->files_count_project_done), 
 							   sdb_plugin->files_count_project_done, sdb_plugin->files_count_project);
 
 	if (sdb_plugin->files_count_project > 0)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]