nautilus r13657 - in trunk: . libnautilus-private



Author: alexl
Date: Mon Jan 28 10:38:55 2008
New Revision: 13657
URL: http://svn.gnome.org/viewvc/nautilus?rev=13657&view=rev

Log:
2008-01-28  Alexander Larsson  <alexl redhat com>

        * libnautilus-private/nautilus-file-operations.c:
        (report_count_progress):
	Use ngettext for number of files strings. (#512203)
	Patch from Vasiliy Faronov



Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-file-operations.c

Modified: trunk/libnautilus-private/nautilus-file-operations.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file-operations.c	(original)
+++ trunk/libnautilus-private/nautilus-file-operations.c	Mon Jan 28 10:38:55 2008
@@ -2004,19 +2004,27 @@
 	switch (source_info->op) {
 	default:
 	case OP_KIND_COPY:
-		s = f (_("Preparing to copy %'d files (%S)"),
+		s = f (ngettext("Preparing to copy %'d file (%S)",
+		                "Preparing to copy %'d files (%S)",
+		                source_info->num_files),
 		       source_info->num_files, source_info->num_bytes);
 		break;
 	case OP_KIND_MOVE:
-		s = f (_("Preparing to move %'d files (%S)"),
+		s = f (ngettext("Preparing to move %'d file (%S)",
+		                "Preparing to move %'d files (%S)",
+		                source_info->num_files),
 		       source_info->num_files, source_info->num_bytes);
 		break;
 	case OP_KIND_DELETE:
-		s = f (_("Preparing to delete %'d files (%S)"),
+		s = f (ngettext("Preparing to delete %'d file (%S)",
+		                "Preparing to delete %'d files (%S)",
+		                source_info->num_files),
 		       source_info->num_files, source_info->num_bytes);
 		break;
 	case OP_KIND_TRASH:
-		s = f (_("Preparing to trash %'d files"),
+		s = f (ngettext("Preparing to trash %'d file",
+		                "Preparing to trash %'d files",
+		                source_info->num_files),
 		       source_info->num_files);
 		break;
 	} 



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